1. A packet switch for interfacing between a WAN and a LAN accommodating a terminal, said packet switch comprising:
a plurality of LAN interface units for interfacing with said LAN;
an address table for storing a relation between an address of the terminal and an input port receiving a packet transmitted from the terminal;
an address learning unit for storing in said address table the relation between the source address of the received packet and the input port receiving the received packet; and
an SW unit for effecting control to receive a packet transmitted from a terminal accommodated in said LAN and received by a first LAN interface unit of said plurality of LAN interface units, and transmit the received packet to a corresponding output port according to a relation between a destination address of the received packet and the input port when the destination address is stored in said address table, and effecting control to transmit the received packet to the LAN through all of the LAN interface units different from the first LAN interface unit when the destination address of the received packet is not stored in said address table, and then transmit the received packet to the WAN when a packet having a source address identical with the destination address of the received packet has not been received from the LAN in a certain time after transmitting the received packet to the LAN.
2. A packet switch as claimed in claim 1, further including a plurality of output ports for interfacing the WAN,
wherein when the received packet is transmitted to the WAN, said SW unit selects one of said plurality of output ports and transmits the received packet from the selected output port, and when a packet having a source address identical with the destination address of the received packet has not been received from the WAN in a certain time after transmitting the received packet from the selected output port, said SW unit effects control to transmit the received packet from another output port connected to the WAN.
3. A packet switch for interfacing between a WAN and a LAN accommodating a terminal, said packet switch comprising:
an address table for storing a correspondence between an address of the terminal and an input port receiving a packet transmitted from the terminal;
an address learning unit for not storing in said address table a source address of a packet received from the WAN when the source address is stored in said address table and an input port corresponding to the source address is on the LAN side, and otherwise storing in said address table a relation between a source address of a packet received from the LAN or the WAN and an input port receiving the packet;
an aging processing unit for deleting each of the addresses from said address table when there has been no update relating to the address in a certain time; and
an SW unit for effecting control to transmit the packet received from the LAN side to a corresponding output port according to a relation between a destination address of the packet and the input port when the destination address is stored in said address table, and discarding the packet received from the WAN side when the source address of the packet is stored in said address table and the input port corresponding to the source address of the packet is on the LAN side.
4. A packet switch for interfacing between a WAN and a LAN accommodating a terminal, said packet switch comprising:
an address table for storing a relation between an address of the terminal and an input port receiving a packet transmitted from the terminal;
an address learning unit for storing in said address table a relation between a source address of a packet received from the LAN or the WAN and an input port receiving the packet;
a temporary storage memory; and
an SW unit for effecting control to transmit the packet to a corresponding output port according to a relation between a destination address of the packet and the input port when the destination address of the packet is stored in said address table, storing information on a received packet received from the LAN in said temporary storage memory when the received packet is transmitted to the WAN, and discarding a received packet received from the WAN side when information on the received packet coincides with the information stored in said temporary storage memory.
5. A packet switch as claimed in claim 4,
wherein the information on the received packet is a source address and a destination address of the received packet.
6. A packet switch as claimed in claim 4,
wherein the information on the received packet is error-detecting data of the received packet.
7. A packet switch for interfacing between a WAN and a LAN accommodating a terminal, said packet switch comprising:
a plurality of LAN interface units for interfacing with said LAN;
an address table for storing a relation between an address of the terminal and an input port receiving a packet transmitted from the terminal;
an address learning unit for storing in said address table the relation between the source address of the received packet and the input port receiving the received packet;
a first buffer and a second buffer for storing received packets received by said plurality of LAN interface units provided for each of output ports connected to the WAN;
an SW unit for writing the received packet to said first buffer provided for the output port connected to the WAN side when a destination address of the received packet is stored in said address table and when a corresponding output port according to a relation between the destination address and the input port is connected to the WAN side, and effecting control to transmit the received packet to the LAN through all of the LAN interface units different from the LAN interface unit which has received the received packet and writing the received packet to said second buffer provided for all of the output ports connected to the WAN side when the destination address of the received packet is not stored in said address table; and
a priority control unit for preferentially reading the packet written to said first buffer to reading the packet written to said second buffer and transmitting the packet written to said first buffer to the WAN side.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method comprising:
identifying a selected file recipient device based on a location of the file recipient device, a location of a file transmitting device, and an orientation of a file transmitting device;
transmitting a file transfer request to the selected file recipient device;
receiving an acknowledgement from the selected file recipient device based on the orientation of the selected file recipient device being approximately 180 degrees offset from the orientation of the file transmitting device; and
transmitting a selected file to the file recipient device following receipt of the acknowledgement.
2. The method of claim 1, wherein identifying the selected file recipient device comprises:
identifying a number of available file recipient devices;
determining, a geographic locations of the number of available file recipient devices;
determining the orientation of the file transmitting device;
determining a geographic location of the file transmitting device; and
identifying the selected file recipient device based on the geographic locations of the number of available file recipient devices, the geographic location of a file transmitting device, and an orientation of the file transmitting device.
3. The method of claim 2, further comprising:
generating a pointing line based on the geographic location and the orientation of the file transmitting device;
determining whether at least one of the number of available file recipient devices is within a predetermined distance of a location on the pointing line based on the geographic locations of the number of available file recipient devices; and
identifying the selected file recipient device when the selected file recipient device is within the predetermined distance of the location on the pointing line.
4. The method of claim 3, further comprising:
identifying the selected file recipient device as the closest of a second number of available file recipient devices located within the predetermined distance of the location on the pointing line.
5. The method of claim 3, wherein the predetermined distance of the location on the pointing line is based on a distance from the file transmitting device.
6. The method of claim 3, wherein the predetermined distance of the location on the pointing line is based on a tolerance value associated with locations on the pointing line.
7. The method of claim 1, wherein the file transfer request includes the orientation of the file transmitting device.
8. The method of claim 7, wherein the acknowledgement includes the orientation of the file recipient device.
9. The method of claim 8, wherein transmitting the selected file to the file recipient device comprises:
comparing the orientation of the file recipient device with the orientation of the file transmitting device; and
transmitting the selected file to the file recipient device when the orientation of the file recipient device substantially matches an angle 180 degrees offset from the orientation of the file transmitting device.
10. The method of claim 8, further comprising:
encrypting the selected filed based on the orientation of the file recipient device, wherein the selected file is decrypted by the file recipient device based on the orientation of the file recipient device.
11. The method of claim 1, further comprising:
generating an audible, visual, or haptic notification at the file transmitting device when the file transmitting device is pointed at one of the number of available file recipient devices.
12. A method, comprising:
providing identification and geographic location information for a destination device to a source device via a network;
receiving a file transfer request that includes a geographic location of the source device, and an orientation of the source device via the network;
determining whether an orientation of the destination device substantially matches an angle 180 degrees offset from the orientation of the source device;
transmitting a file transfer acknowledgement to the source device via the network when an orientation of the destination device substantially matches an angle 180 degrees offset from the orientation of the source device; and
receiving a selected file from the source device via the network.
13. The method of claim 12, wherein providing identification and geographic location information for a destination device comprises transmitting the identification and geographic location information to a location-aware service.
14. The method of claim 12, wherein providing identification and geographic location information for a destination device comprises transmitting the identification and geographic location information to devices connected to the network, wherein the network comprises a local wireless network.
15. The method of claim 12, further comprising:
generating an audible, visual, or haptic notification upon receipt of the file transfer request.
16. The method of claim 15, wherein the notification indicates a direction of the source device.
17. The method of claim 12, wherein the file transfer acknowledgement includes the orientation of the destination device.
18. The method of claim 12, wherein the selected file comprises an encrypted file, the method further comprising:
decrypting the selected file based on the orientation of the destination device.
19. A mobile device comprising:
a communication interface to receive geographic location and identification information associated with a number of destination devices via a computer network;
a location-determining device to determine a geographic location of the mobile device;
an orientation-determining device to determine an orientation of the mobile device; and
a processor to:
receive a user selection of a file;
identify a selected destination device from the number of destination devices based on the geographic location of the destination devices, the location of the mobile device, and the orientation of the mobile device;
transmit a file transfer request to the selected destination device via the communication interface;
receive an acknowledgement from the selected destination device based on the orientation of the selected destination device being approximately 180 degrees offset from the orientation of the mobile device; and
transmit the selected file to the destination device via the communication interface following receipt of the acknowledgement.
20. The mobile device of claim 19, wherein the processor is further configured to:
encrypt the selected file based on the orientation of the selected destination device; and
transmit the encrypted file to the selected destination device via the communication interface.