1. An apparatus comprising:
a wireless telephone with capability to connect to a data network, the wireless telephone including,
an antenna; and
a module configured to implement an access point (AP), a router, and network address translation to thereby create a wireless local area network which, when receiving a packet from a device coupled to said wireless local area network that requests connection to a specified destination address on the data network, replaces a local area network source address of said packet with a network address of said router and inserts a port number in said packet, wherein said module selects said port number from a set of pre-chosen port numbers according to a device type of said device;
wherein devices of a first type on said wireless local area network are assigned respective first port numbers by said wireless telephone, said first port numbers being selected such that a modulo n representation of each of said first port numbers is a first number, n being an integer, and wherein devices of a second type are assigned respective other port numbers by said wireless telephone, said other port numbers being selected such that said modulo n representation of each of said other port numbers is a second number.
2. The apparatus of claim 1 where said data network is the Internet.
3. The apparatus of claim 1 where said module that selects said port number makes the selection independently of identity of an application that said requesting device is executing.
4. The apparatus of claim 1 where said preselected numbers are port numbers that are registered with an Internet Assigned Numbers Authority for use in wireless local area network network address translations.
5. The apparatus of claim 1 where said preselected numbers are between 49152 and 65535.
6. The apparatus of claim 1 where said preselected numbers are port numbers that are registered with an Internet Assigned Numbers Authority for use by applications that flow through said wireless local area network less than 1% of the time.
7. The apparatus of claim 1 where said telephone includes another module for enabling a user of said telephone to specify a type for a device that seeks connection to said wireless local area network.
8. The apparatus of claim 7 further including a quality of service (QoS) module that controls data flow rates of devices connected to said wireless local area network.
9. The apparatus of claim 1 where said telephone includes another module for enabling a user of said telephone to allow or disallow a connection to said wireless local area network of a device that seeks said connection.
10. The apparatus of claim 1 where said telephone includes another module for enabling a user of said telephone to allow access by a device that seeks connection to said wireless local area network, and to specify a type for said device.
11. The apparatus of claim 1 further comprising an element upstream of said module that includes a packet sniffer that:
identifies a port number of incoming packets to thereby obtain data pertaining to network load; and
processes said data to determine which of said incoming packets are from said wireless local area network according said port number.
12. The apparatus of claim 11 where said element is between said module and said data network.
13. The apparatus of claim 11 where said processing computes a percentage of packets incoming to said element from said wireless local area network relative to other packets arriving at said element.
14. The apparatus of claim 11 where said processing focuses on said wireless telephone.
15. The apparatus of claim 1 wherein said first number is 0, said second number is 1, and n is 8.
16. A method for use with a wireless telephone with capability to connect to a data network, said wireless telephone implementing an access point (AP) function, router, and network address translation functions and thereby creating a wireless local area network, the method comprising:
receiving a packet from a device coupled to said wireless local area network, the packet associated with a request for a connection to a destination address on the data network;
inserting a port number in said packet from a set of port numbers, the port number being selected according to a device type of said device;
said wireless telephone assigning devices of a first type on said wireless local area network respective first port numbers, said first port numbers being selected such that a modulo n representation of each of said first port numbers is a first number, n being an integer; and
said wireless telephone assigning devices of a second type other port numbers, said other port numbers being selected such that said modulo n representation of each of said other port numbers is a second number.
17. A method for use with a wireless telephone with capability to connect to a data network, said wireless telephone implementing an access point (AP) function, router, and network address translation functions and thereby creating a wireless local area network, the method comprising:
receiving a packet from a connected device coupled to said wireless local area network, the packet associated with a request for a connection to a destination address on the data network;
inserting a port number in said packet, the port number being selected according to, at least in part, a quality of service class requested by an application of the connected device;
said wireless telephone assigning a first quality of service class a first port number, said first port number being selected such that a modulo n representation of said first port number is a first number, n being an integer; and
said wireless telephone assigning a second quality of service class another port number, said other port number being selected such that said modulo n representation of said other port number is a second number.
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 light emitting device comprising:
a scan line;
a data line;
a first power source line;
a second power source line;
a third power source line;
a first light emitting element electrically connected to the first power source line;
a second light emitting element electrically connected to the second power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the scan line; and
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the third power source line, and
wherein the second transistor and the second light emitting element are electrically connected in series between the second power source line and the third power source line.
2. A light emitting device according to claim 1, wherein each of the first and the second transistors is a thin film transistor.
3. A light emitting device according to claim 1, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
4. A light emitting device according to claim 1, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, and the second electrodes of the first and the second light emitting elements are electrically connected to each other.
5. A light emitting device according to claim 4, wherein the first and the second electrodes are an anode and a cathode respectively.
6. A light emitting device according to claim 5, wherein an electrical potential of the third power source line is higher than that of the second power source line.
7. A light emitting device according to claim 4, wherein the first and the second transistors are N-channel type and P-channel type respectively.
8. A light emitting device according to claim 1, wherein the first light emitting element emits light on a condition that an electrical potential of the third power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the third power source line is lower than that of the second power source line.
9. A light emitting device according to claim 8, wherein an electrical potential of the third power source line is higher than that of the second power source line on a condition that the electrical potential of the third power source line is lower than that of the first power source line, and the electrical potential of the third power source line is higher than that of the first power source line on a condition that the electrical potential of the third power source line is lower than that of the second power source line.
10. A light emitting device according to claim 8, wherein the first and the second transistors are N-channel type and P-channel type respectively.
11. A light emitting device comprising:
a scan line;
a data line;
a first power source line;
a second power source line;
a first light emitting element electrically connected to the second power source line;
a second light emitting element electrically connected to the first power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the scan line;
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor; and
a third transistor, wherein a gate of the third transistor is electrically connected to the data line through the source and the drain of the first transistor,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the second power source line, and
wherein the third transistor and the second light emitting element are electrically connected in series between the first power source line and the second power source line.
12. A light emitting device according to claim 11, wherein each of the first the second and the third transistors is a thin film transistor.
13. A light emitting device according to claim 11, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
14. A light emitting device according to claim 11, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, the first electrode of the first light emitting element is electrically connected to the second electrode of the second light emitting element through the source and the drain of the second transistor, and the second electrode of the first light emitting element is electrically connected to the first electrode of the second light emitting element through the source and the drain of the third transistor.
15. A light emitting device according to claim 14, wherein the first and the second electrodes are an anode and a cathode respectively.
16. A light emitting device according to claim 14, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
17. A light emitting device according to claim 11, wherein the first light emitting element emits light on a condition that an electrical potential of the second power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the second power source line is higher than that of the second power source line.
18. A light emitting device according to claim 17, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
19. A light emitting device comprising:
a first scan line;
a second scan line;
a data line;
a first power source line;
a second power source line;
a first light emitting element electrically connected to the second power source line;
a second light emitting element electrically connected to the first power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the first scan line;
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor;
a third transistor, wherein a gate of the third transistor is electrically connected to the data line through a source and a drain of the first transistor;
a first capacitor whereby a voltage applied to the gate of the second transistor is held;
a second capacitor whereby a voltage applied to the gate of the third transistor is held; and
an erasing element whereby a voltage held by the first capacitor or the second capacitor is erased, wherein the erasing element is located between the source of the first transistor and the second scan line,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the second power source line, and
wherein the third transistor and the second light emitting element are electrically connected in series between the first power source line and the second power source line.
20. A light emitting device according to claim 19, wherein each of the first the second and the third transistors is a thin film transistor.
21. A light emitting device according to claim 19, wherein the erasing element is a transistor or a diode.
22. A light emitting device according to claim 19, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
23. A light emitting device according to claim 19, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, the first electrode of the first light emitting element is electrically connected to the second electrode of the second light emitting element through the source and the drain of the second transistor, and the second electrode of the first light emitting element is electrically connected to the first electrode of the second light emitting element through the source and the drain of the third transistor.
24. A light emitting device according to claim 23, wherein the first and the second electrodes are an anode and a cathode respectively.
25. A light emitting device according to claim 23, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
26. A light emitting device according to claim 23, wherein the erasing element is a transistor or a diode.
27. A light emitting device according to claim 19, wherein the first light emitting element emits light on a condition that an electrical potential of the second power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the second power source line is higher than that of the second power source line.
28. A light emitting device according to claim 27, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
29. A light emitting device according to claim 27, wherein the erasing element is a transistor or a diode.
30. A light source comprising:
a scan line;
a data line;
a first power source line;
a second power source line;
a third power source line;
a first light emitting element electrically connected to the first power source line;
a second light emitting element electrically connected to the second power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the scan line; and
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the third power source line, and
wherein the second transistor and the second light emitting element are electrically connected in series between the second power source line and the third power source line.
31. A light source according to claim 30, wherein each of the first and the second transistors is a thin film transistor.
32. A light source according to claim 30, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
33. A light source according to claim 30, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, and the second electrodes of the first and the second light emitting elements are electrically connected to each other.
34. A light source according to claim 33, wherein the first and the second electrodes are an anode and a cathode respectively.
35. A light source according to claim 34, wherein an electrical potential of the third power source line is higher than that of the second power source line.
36. A light source according to claim 33, wherein the first and the second transistors are N-channel type and P-channel type respectively.
37. A light source according to claim 30, wherein the first light emitting element emits light on a condition that an electrical potential of the third power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the third power source line is lower than that of the second power source line.
38. A light source according to claim 37, wherein an electrical potential of the third power source line is higher than that of the second power source line on a condition that the electrical potential of the third power source line is lower than that of the first power source line, and the electrical potential of the third power source line is higher than that of the first power source line on a condition that the electrical potential of the third power source line is lower than that of the second power source line.
39. A light source according to claim 37, wherein the first and the second transistors are N-channel type and P-channel type respectively.
40. A light source comprising:
a scan line;
a data line;
a first power source line;
a second power source line;
a first light emitting element electrically connected to the second power source line;
a second light emitting element electrically connected to the first power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the scan line;
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor; and
a third transistor, wherein a gate of the third transistor is electrically connected to the data line through the source and the drain of the first transistor,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the second power source line, and
wherein the third transistor and the second light emitting element are electrically connected in series between the first power source line and the second power source line.
41. A light source according to claim 40, wherein each of the first the second and the third transistors is a thin film transistor.
42. A light source according to claim 40, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
43. A light source according to claim 40, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, the first electrode of the first light emitting element is electrically connected to the second electrode of the second light emitting element through the source and the drain of the second transistor, and the second electrode of the first light emitting element is electrically connected to the first electrode of the second light emitting element through the source and the drain of the third transistor.
44. A light source according to claim 43, wherein the first and the second electrodes are an anode and a cathode respectively.
45. A light source according to claim 43, wherein the first the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
46. A light source according to claim 40, wherein the first light emitting element emits light on a condition that an electrical potential of the second power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the second power source line is higher than that of the second power source line.
47. A light source according to claim 46, wherein the first the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
48. A light source comprising:
a first scan line;
a second scan line;
a data line;
a first power source line;
a second power source line;
a first light emitting element electrically connected to the second power source line;
a second light emitting element electrically connected to the first power source line;
a first transistor, wherein a gate of the first transistor is electrically connected to the first scan line;
a second transistor, wherein a gate of the second transistor is electrically connected to the data line through a source and a drain of the first transistor;
a third transistor, wherein a gate of the third transistor is electrically connected to the data line though a source and a drain of the first transistor;
a first capacitor whereby a voltage applied to the gate of the second transistor is held;
a second capacitor whereby a voltage applied to the gate of the third transistor is held; and
an erasing element whereby a voltage held by the first capacitor or the second capacitor is erased, wherein the erasing element is located between the source of the first transistor and the second scan line,
wherein the second transistor and the first light emitting element are electrically connected in series between the first power source line and the second power source line, and wherein the third transistor and the second light emitting element are electrically connected in series between the first power source line and the second power source line.
49. A light source according to claim 48, wherein each of the first the second and the third transistors is a thin film transistor.
50. A light source according to claim 48, wherein the erasing element is a transistor or a diode.
51. A light source according to claim 48, wherein a forward bias voltage is applied to one of the first and the second light emitting elements while a reverse bias voltage is applied to the other of the first and the second light emitting elements.
52. A light source according to claim 48, wherein each of the first and the second light emitting elements is a diode having a first electrode and a second electrode, polarity of the first electrode is opposite to that of the second electrode, the first electrode of the first light emitting element is electrically connected to the second electrode of the second light emitting element through the source and the drain of the second transistor, and the second electrode of the first light emitting element is electrically connected to the first electrode of the second light emitting element through the source and the drain of the third transistor.
53. A light source according to claim 52, wherein the first and the second electrodes are an anode and a cathode respectively.
54. A light source according to claim 52, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
55. A light source according to claim 52, wherein the erasing element is a transistor or a diode.
56. A light source according to claim 48, wherein the first light emitting element emits light on a condition that an electrical potential of the second power source line is lower than that of the first power source line, and wherein the second light emitting element emits light on a condition that an electrical potential of the second power source line is higher than that of the second power source line.
57. A light source according to claim 56, wherein the first, the second, and the third transistors are N-channel type, P-channel type and P-channel type respectively.
58. A light source according to claim 56, wherein the erasing element is a transistor or a diode.