FIELD OF THE INVENTION
[0001] The present invention relates to a home gateway device. In particular, the present
invention relates to a home gateway device which separates the Internet channel from
the information household appliances control channel by distinguishing external signals
from internal access signals.
BACKGROUND OF THE INVENTION
[0002] With the arrival of the "information age" and the popularization of computer networks,
intellectualizing and networking inside households are gradually becoming realities.
Presently there are various researches on the subject of an intelligent household
network. Most of these researches are based on existing computer network technologies,
where different household appliances and devices are connected into a network to provide
a diversity of services that are convenient, comfortable, safe and efficient to use
through the network. An important subject of these researches is how to implement
information exchange between the exterior and interior of a household, namely how
to enable a user to manage and control interior devices of a household by using exterior
devices and a highly developed network. An optimal home gateway is necessary for carrying
out such management and control operations.
[0003] A home gateway is a physical interface that connects interior network of a household
to exterior networks, while at the same time it is also a platform that enables a
household user to receive various household services (including existing services
and services that may appear in the future). A home gateway can receive communication
signals from exterior networks, and pass these signals to some consumer appliances
through a household network. The application of a home gateway is not limited in high-speed
Internet access, in the future when broadband becomes a standard for most households,
more services and contents will be made available, for example video phones that mixes
video and audio information streams, interactive entertainment services such as network
gaming, etc. A home gateway can execute intelligent routing algorithms, so as to distribute
information streams (data) to different devices such as telephones, intelligent electrical
appliances, digital TVs and audios, etc. For example, an advanced home gateway can
send a phone call to one particular phone in a household based on the caller's ID,
so that a phone call for the children will be sent to their room, or phone calls (besides
urgent calls) can only be sent to places that are far away from the bed room after
10pm in the night.
[0004] Existing home gateways generally support Internet access as well as intelligent household
appliances control, but still have the following shortcomings: Firstly, when a user
is controlling an intelligent household appliance through an exterior communication
network, the control scheme utilized is to directly control the specific household
device. If there are a relatively greater number of devices in the household, this
control scheme will increase the operational complexity and manufacturing cost of
the home gateway. Secondly, it is hard to effectively isolate information when Internet
access signals of a computer and control signals of intelligent household appliances
both entering a home gateway, hence creating security risks such as illegal users
outside a house using the Internet to control intelligent household appliances inside
the house or to conduct destructive operations, thus causing property loss and moral
damages to the user. Finally, when control signals of an interior intelligent appliance
are entering a home gateway, the home gateway may not be able to effectively distinguish
between Internet access signals and household appliance control signals, thus causing
Internet access interruption or errors in control information.
SUMMARY
[0005] In view of the many disadvantages of current home gateways, the aim of the present
invention is to provide a home gateway device, in order to reduce the complexity of
controlling interior networking devices, ensure the safety of a household interior
network, prevent access and control from external illegal users, and differentiate
between Internet signals and household appliance control signals, so as to avoid the
probabilities of networking interruptions and control information errors.
[0006] In order to achieve the above aims, the present invention provides a home gateway
device, comprising:
[0007] a main processor, for generating information process signals and control signals;
[0008] a computer bus signal Ethernet adapter unit, connected to the main processor, for
translating the signals between computer bus signals and Ethernet signals;
[0009] an Ethernet frame process unit, connected to the computer bus signal Ethernet adapter
unit, for forwarding the received Ethernet frame based on a prearranged frame processing
policy;
[0010] an inner interface unit, connected to the Ethernet frame process unit, for connecting
interior networking devices;
[0011] an outer communication module, connected to the main processor and the Ethernet frame
process unit, for address translation and data transfer between an interior network
and an exterior communication network.
[0012] In one embodiment of the present invention, the inner interface unit is any one of
the following: a power line communication modulation and demodulation unit, an Ethernet
interface unit, a wireless local area network access point, or any combination of
the above; the power line communication modulation and demodulation unit is used for
performing modulation and demodulation operations between power line carrier signals
and data signals; the Ethernet interface unit is used for connecting interior networking
devices through Ethernet connection; the wireless local area network access point
is used for connecting interior networking devices through wireless connection.
[0013] In another embodiment of the present invention, the computer bus signal Ethernet
adapter unit is a USB signal Ethernet adapter unit or a PCI bus Ethernet adapter unit;
the USB signal Ethernet adapter unit is used for performing signal transformation
between USB signals and Ethernet signals; the PCI bus Ethernet adapter unit is used
for performing signal transformation between PCI signals and Ethernet signals.
[0014] In another embodiment of the present invention, the home gateway device further comprising
a USB signal logic signal adapter unit, connected to the power line communication
modulation and demodulation unit and the main processor, for performing transformation
between USB signals and serial logic signals.
[0015] In another embodiment of the present invention, the Ethernet frame process unit including:
[0016] a first port connected to the outer communication module, for transferring Ethernet
signals through the outer communication module;
[0017] a second port connected to the USB signal Ethernet adapter unit, for transferring
USB format encapsulated Ethernet signals;
[0018] a third port connected to the power line communication modulation and demodulation
unit, for transferring Ethernet signals between interior networking devices and the
main processor.
[0019] In another embodiment of the present invention, the Ethernet frame process unit forwards
the received Ethernet frame based on a pre-arranged frame processing policy. The processing
policy is as follows:
[0020] 1) Ethernet frames received from the first port are only to be forwarded to the third
port. These Ethernet frames are not to be forwarded to the second port.
[0021] 2) Ethernet frames received from the second port are only to be forwarded to the
third port. These Ethernet frames are not to be forwarded to the first port.
[0022] 3) For Ethernet frames received from the third port, the Ethernet frame process unit
is to read the data format (i.e. encapsulation format) of the data content encapsulated
in these Ethernet frames. If the encapsulation format of an Ethernet frame is USB
frame, then this Ethernet frame is only to be forwarded to the second port. If the
encapsulation format of an Ethernet frame is IP grouping, then this Ethernet frame
is only to be forwarded to the first port.
[0023] In another embodiment of the present invention, the outer communication module comprising:
[0024] a PCI bus Ethernet adapter unit, connected to the main processor through a PCI bus,
for signal transformation between PCI signals and Ethernet signals;
[0025] an exterior communication Ethernet frame processing unit, connected to the PCI bus
Ethernet adapter unit, for forwarding received Ethernet frames according to a prearranged
port control forwarding policy;
[0026] an exterior communication adapter unit, which is connected to the exterior communication
Ethernet frame processing unit, for communicating with an exterior communication network.
[0027] In another embodiment of the present invention, the exterior communication Ethernet
frame processing unit including:
[0028] a fourth port connected to the exterior communication adapter unit, for transferring
Ethernet signals through the exterior communication adapter unit;
[0029] a fifth port connected to the PCI bus Ethernet adapter unit, for transferring PCI
encapsulated Ethernet signals;
[0030] a sixth port connected to the Ethernet frame process unit, for transferring Ethernet
signals between an exterior communication network and a personal computer.
[0031] Before an exterior communication network communicates with an interior network of
a household, it is necessary to perform network address translation (NAT). The exterior
communication adapter unit configures the address translation, where a relation table
of corresponding relations between public IP addresses/exterior network ports and
specific IP addresses/interior network ports is generated. Hence a unique device in
an interior network may be identified through an exterior network port, accomplishing
the translation between a unique IP address in a public network and a specific IP
address in an interior network.
[0032] When a packet of an exterior communication network passes through an exterior communication
adapter unit, the unit analyzes the port information of the transport layer of the
packet, then by checking the relation table of corresponding relations, translates
the destination IP address to the IP address of an interior network device or a networking
computer. The exterior network port may also be transformed to an interior network
port at the same time.
[0033] When a packet of an interior network passes through an exterior communication adapter
unit, the unit also translates specific IP addresses and specific ports of an interior
network to public IP addresses and exterior network ports, by checking the relation
table of corresponding relations.
[0034] In addition to NAT address translation, it is also necessary to perform MAC address
translation:
[0035] By analyzing packet information of a packet entering from the fourth port, the exterior
communication adapter unit learns the source MAC address and source IP address of
the packet, then store the corresponding relations of these addresses into an IP/MAC
relation table.
[0036] When a packet of the exterior communication network passes through the exterior communication
adapter unit, the unit firstly gets a specific IP address in the interior network
through above mentioned NAT translation, then by looking up in the IP/MAC relation
table, translates the destination MAC address of the packet into a device MAC address
corresponding to the IP address in the interior network. On the other hand, when a
packet of the interior network passes through the exterior communication adapter unit,
the unit translates the source MAC address of the packet into the MAC address of the
exterior communication adapter unit.
[0037] Through the above mentioned NAT address translation and MAC address translation,
an exterior communication adapter unit achieves correct forwarding of interior network
packets and exterior network packets.
[0038] For the exterior communication Ethernet frame processing unit, its frame processing
policy is as follows:
[0039] For a frame entering the exterior communication Ethernet frame processing unit by
the sixth port, the exterior communication Ethernet frame processing unit is to directly
forward the frame through the fourth port without making any change to the frame.
[0040] For a frame entering the exterior communication Ethernet frame processing unit by
the fifth port, the exterior communication Ethernet frame processing unit is to directly
forward the frame through the fourth port without making any change to the frame.
[0041] For a frame entering the exterior communication Ethernet frame processing unit by
the fourth port, the exterior communication Ethernet frame processing unit is to decide:
1. if the destination address of the frame is the MAC address of a computer, the frame
is to be forwarded directly through the sixth port; 2. if the destination address
of the frame is the MAC address of a main processor, the frame is to be forwarded
directly through the fifth port.
[0042] In the situation where there are several networking computers connected to a home
gateway device, the frame processing policy of an exterior communication Ethernet
frame processing unit includes:
[0043] For frames entering the exterior communication Ethernet frame processing unit by
the fourth port, as long as the destination address is the MAC address of a computer,
these frames are to be forwarded through the sixth port and enter a communication
connection configuration selection unit.
[0044] Based on the above technical scheme, the present invention has the following advantages:
[0045] 1. The centralized control of the home gateway device of the present invention is
able to reduce the requirements for the intellectualization of information household
appliances, thus achieving easier control and lower configuration cost of intellectualized
household appliances.
[0046] 2. The home gateway device of the present invention utilizes prearranged frame processing
policy and port control forwarding policy to control uplink and downlink Ethernet
signals, achieving the isolation between the Ethernet signals for computer networking
and Ethernet signals for information household appliances, thus avoiding the threats
caused by unsafe exterior factors.
[0047] The technical scheme of the present invention will be further illustrated in detail
through the following drawings and embodiments.
BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 1 of the present invention;
[0049] Figure 2 is a schematic illustration showing the ports of an Ethernet frame process
unit of a home gateway device as described in the present invention;
[0050] Figure 3 is a schematic illustration showing the structure of an outer communication
module of a home gateway device as described in the present invention;
[0051] Figure 4 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 2 of the present invention;
[0052] Figure 5 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 3 of the present invention;
[0053] Figure 6 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 4 of the present invention;
[0054] Figure 7 is a schematic illustration showing an application system of the home gateway
device provided by Embodiment 4 of the present invention.
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0055] According to the present invention, a home gateway device utilizes a prearranged
frame processing policy and a prearranged port control forwarding policy to control
uplink and downlink Ethernet signals, thus separating Ethernet signals used for networking
from Ethernet signals used by information household appliances. The separation of
signals allows an operational signal used by information household appliances of an
interior network to enter a main processor easily, and a Internet signal to enter
an exterior communication network directly, so that these two signals do not interference
with each other.
[0056] A home gateway device mainly comprising: a main processor for generating information
process signals and control signals; a computer bus signal Ethernet adapter unit connected
with the main processor, for translating the signals between computer bus signals
and Ethernet signals; an Ethernet frame process unit connected with the computer bus
signal Ethernet adapter unit, for forwarding the received Ethernet frame based on
a prearranged frame processing policy; an inner interface unit connected with the
Ethernet frame process unit, for connecting household appliances in an interior network;
an outer communication module connected to the main processor and the Ethernet frame
process unit, for address translation and data transfer between an interior network
and an exterior communication network.
[0057] In a computer bus signal Ethernet adapter unit of a home gateway device, a variety
of computer buses may be used to connect to an Ethernet, such as a Peripheral Component
Interface (PCI) bus, an Integrated Drive Electronics (IDE) bus, a Universal Serial
Bus (USB), etc. Since the USB has many advantages, including but not limited to: plug-and-play,
high transfer rate, low resource usage, support of more than one hundred ports, etc,
the USB has become a universal computer bus. The following embodiments of the present
invention use USB as an example to explain the computer bus. The following embodiments
of the present invention give detailed description of the home gateway device.
[0059] As shown in Figure 1, a schematic illustration showing the structure of a home gateway
device provided by Embodiment 1 of the present invention, the home gateway device
comprising: a main processor 1, a USB signal Ethernet adapter unit 2, an outer communication
module 3, an Ethernet frame process unit 4, a power line communication (PLC) modulation
and demodulation (modem) unit 5. The main processor 1 is used for generating information
process signals and control signals; the main processor 1 has USB ports and is connected
to other modules of the home gateway device by a USB bus. The USB signal Ethernet
adapter unit 2 is connected to a USB port of the main processor 1, and is used for
signal translation between USB signals and Ethernet signals; for information household
appliances inside a house, a main control computer is a host device, while the information
household appliances inside the house are USB based exterior computer devices of the
host device. The above host device and the host device mentioned in the following
embodiments of the present invention both refer to the home gateway device described
in the embodiments of the present invention. Hence, communication between a device
inside a house and a main processor is ultimately transformed to USB-based communication,
thus centralized communication and management for interior networking devices may
be conveniently implemented, the isolation between a household interior network and
an exterior network may also be achieved.
[0060] An outer communication module 3 is connected to an Ethernet frame process unit 4
and a main processor 1, and is used for address translation and data transfer between
an interior network and an exterior communication network. The outer communication
module 3 may utilize an integrated circuit board (ICB) design, and may be connected
to the main processor through a computer bus (PCI, PCI-E or USB). The communication
between the host device and the exterior communication network is based on the Internet
Protocol (IP). The physical layer connection may be implemented using several different
methods, including: the wireless method (such as High Speed Downlink Packet Access
(HSDPA), Worldwide Interoperability for Microwave Access (WiMax), etc), the Category
5 cable method, the optical fiber method, the cable TV coaxial cable method, the Digital
Subscriber Line (DSL) method, and the power line based Power Line Communication (PLC)
method, etc. The outer communication module utilizes the ICB design in order to improve
the modularity of the home gateway, to enhance the maintainability of the system,
and to make upgrades/modifications more convenient. When a household network is establishing
or changing the implementation method of the physical layer connection that connects
to the exterior communication network, the hardware configuration requirements may
be satisfied by plugging/drawing corresponding communication ICB boards into/from
the host device. In Embodiment 1, an inner interface unit only comprises a PLC modem
unit 5 which is connected to the Ethernet frame process unit 4. The PLC modem unit
5 is used for demodulating a power line carrier signal transferred by a power line
into a Ethernet signal, and sending the Ethernet signal to the Ethernet frame process
unit 4; the PLC modem unit 5 is also used for modulating an Ethernet signal sent by
the Ethernet frame process unit 4 and transferring the modulated signal on the power
line. Since households usually have power lines that cover the entire house, in practice
it is very convenient to use power lines for data transfer, as long as the room has
a power socket. The PLC modem unit 5 is able to demodulate a power line carrier signal
into an Ethernet signal, as well as modulate an Ethernet signal into a power line
carrier signal; hence the PLC modem unit 5 implements the modulation and demodulation
operations between power line carrier signals and Ethernet signals.
[0061] An Ethernet frame process unit 4 is connected to a USB signal Ethernet adapter unit
2, an outer communication module 3 and a PLC modem unit 5, respectively. The Ethernet
frame process unit 4 forwards received Ethernet frames according to a prearranged
policy. In accordance with the three connection methods described above, Figure 2
is a schematic illustration showing the ports of an Ethernet frame process unit of
a home gateway device as described in the present invention. The Ethernet frame process
unit 4 is configured to have three ports, including: a first port 4a connected to
the outer communication module 3, for transferring Ethernet signals to an exterior
communication network through the outer communication module 3; a second port 4b connected
to the USB signal Ethernet adapter unit 2, for transferring USB-encapsulated Ethernet
signals; a third port 4c connected to the PLC modem unit 5, for transferring Ethernet
signals between interior networking devices and the main processor.
[0062] In Embodiment 1, all information household appliances that need to communicate with
a host device only encapsulate USB frames into their Ethernet frames. The Ethernet
frames sent by all of these information household appliances are only sent to the
main processor of the host device. All of these information household appliances do
not support the IP protocol, the Ethernet frames sent by these information household
appliances can not be transferred to any exterior communication networks.
[0063] All computers (including PC and handheld computers) that need to communicate with
an exterior communication network only encapsulate IP group into their Ethernet frames.
The Ethernet frames sent by all of the networking computers can not be sent to the
main processor of the host device, but can only be sent to the outer communication
module.
[0064] In order to improve the safety of an interior network of a household, an Ethernet
frame processing policy is as follows:
[0065] 1) There is only one destination address for Ethernet frames sent by information
household appliances, that one destination address is the Media Access Control (MAC)
address of the USB signal Ethernet adapter unit 2 connected to the Ethernet frame
process unit 4 through the second port 4b. USB signal Ethernet adapter unit 2 is connected
to the main processor 1 through a USB.
[0066] 2) There is only one source address for Ethernet frames received by information household
appliances, that one source address is the MAC address of the USB signal Ethernet
adapter unit 2 connected to the Ethernet frame process unit 4 through the second port
4b. If the monitored MAC source address of an Ethernet frame is not the MAC address
of the USB signal Ethernet adapter unit, then this Ethernet frame should be discarded
by an information household appliance, even if the destination address is the address
of the information household appliance.
[0067] In detail, for an Ethernet frame process unit, its frame processing policy is as
follows:
[0068] 1) Ethernet frames received from the first port 4a are only to be forwarded to the
third port 4c. These Ethernet frames are not to be forwarded to the second port 4b.
[0069] 2) Ethernet frames received from the second port 4b are only to be forwarded to the
third port 4c. These Ethernet frames are not to be forwarded to the first port 4a.
[0070] 3) For Ethernet frames received from the third port 4c, an Ethernet frame process
unit is to read the data format (i.e. encapsulation format) of the data content encapsulated
in these Ethernet frames. If the encapsulation format of an Ethernet frame is USB
frame, then this Ethernet frame is only to be forwarded to the second port 4b. If
the encapsulation format of an Ethernet frame is IP grouping, then this Ethernet frame
is only to be forwarded to the first port 4a.
[0071] In this way, through the frame processing policy of an Ethernet frame process unit,
the isolation of information is implemented between an interior network of a household
and an exterior network.
[0072] An outer communication module 3 is connected to the main processor through a computer
bus, as shown in Figure 3. Figure 3 is a schematic illustration showing the structure
of an outer communication module of a home gateway device of the present invention.
The outer communication module 3 comprising: PCI bus Ethernet adapter unit 33, which
is connected to the main processor through a PCI bus, for signal transformation between
PCI signals and Ethernet signals; exterior communication Ethernet frame processing
unit 32, which is connected to the PCI bus Ethernet adapter unit, for forwarding received
Ethernet frames according to a prearranged port control forwarding policy; exterior
communication adapter unit 31, which is connected to the exterior communication Ethernet
frame processing unit, for communicating with an exterior communication network.
[0073] The exterior communication Ethernet frame processing unit 32 has three ports: a fourth
port 3a, a fifth port 3b, a sixth port 3c. The fourth port 3a is connected to the
exterior communication adapter unit 31, for transferring Ethernet signals through
the exterior communication adapter unit; the fifth port 3b is connected to the PCI
bus Ethernet adapter unit, for transferring PCI encapsulated Ethernet signals; the
sixth port 3c is connected to the Ethernet frame process unit, for transferring Ethernet
signals between an exterior communication network and a personal computer.
[0074] Before an exterior communication network communicates with an interior network of
a household, it is necessary to perform network address translation (NAT). The exterior
communication adapter unit configures the address translation, where a relation table
of corresponding relations between public IP addresses/exterior network ports and
specific IP addresses/interior network ports is generated. This relation table of
corresponding relations may be configured in the exterior communication adapter unit,
or configured in an independent module. Hence a unique device in an interior network
may be identified through an exterior network port, accomplishing the translation
between a unique IP address in a public network and a specific IP address in an interior
network.
[0075] When a packet of an exterior communication network passes through an exterior communication
adapter unit, the unit analyzes the port information of the transport layer of the
packet, then by checking the relation table of corresponding relations, translates
the destination IP address to the IP address of an interior network device or a networking
computer. The exterior network port may also be transformed to an interior network
port at the same time.
[0076] When a packet of an interior network passes through an exterior communication adapter
unit, the unit also translates specific IP addresses and specific ports of an interior
network to public IP addresses and exterior network ports, by checking the relation
table of corresponding relations.
[0077] In addition to NAT address translation, it is also necessary to perform MAC address
translation:
[0078] By analyzing packet information of a packet entering from the fourth port 3a, the
exterior communication adapter unit learns the source MAC address and source IP address
of the packet, then store the corresponding relations of these addresses into an IP/MAC
relation table.
[0079] When a packet of the exterior communication network passes through the exterior communication
adapter unit, the unit firstly gets a specific IP address in the interior network
through above mentioned NAT translation, then by looking up in the IP/MAC relation
table, translates the destination MAC address of the packet into a device MAC address
corresponding to the IP address in the interior network. On the other hand, when a
packet of the interior network passes through the exterior communication adapter unit,
the unit translates the source MAC address of the packet into the MAC address of the
exterior communication adapter unit.
[0080] Through the above mentioned NAT address translation and MAC address translation,
an exterior communication adapter unit achieves correct forwarding of interior network
packets and exterior network packets.
[0081] During actual operation, before a home gateway device is powered up, a relation table
of corresponding relations between MAC addresses and ports is stored in an exterior
communication Ethernet frame processing unit. This relation table is empty at the
start, and will use a process of self learning to record source MAC addresses of frames
sent up by various ports, and correspond to these ports.
[0082] For example, based on different methods of address allocation when connecting to
a network, a main processor may automatically obtain an IP address, or be manually
configured an IP address. The fifth port 3b may learn the MAC address of the main
processor. An exterior communication Ethernet frame processing unit is to record the
MAC address of the main processor, and write the corresponding relation between the
MAC address and the fifth port 3b to a relation table.
[0083] When a packet sent by a networking computer enters by the sixth port 3c, an exterior
communication Ethernet frame processing unit is to record corresponding relation between
the MAC address of the computer and the sixth port 3c, and write the corresponding
relation to a relation table. When there are several networking computers in a given
time, the sixth port 3c is to record the MAC address of every networking computer,
and write the corresponding relations between the addresses and the sixth port 3c
to a relation table.
[0084] When a packet of exterior communication network enters an exterior communication
Ethernet frame processing unit through an exterior communication adapter unit, the
corresponding relation between the source MAC address of the packet and the fourth
port 3a is to be recorded, and written to a relation table.
[0085] Through the above mentioned self learning process, a relation table recorded by an
exterior communication Ethernet frame processing unit is as follows:
[0086]
| Source MAC Address |
Port No. |
| Main processor module MAC address |
3b |
| Exterior communication adapter unit MAC address |
3a |
| computer 1 MAC address |
3c |
| computer k MAC address |
3c |
[0087] While performing frame processing, the detailed processing policy of the exterior
communication Ethernet frame processing unit 32 includes: For a frame entering the
exterior communication Ethernet frame processing unit by the sixth port 3c, the exterior
communication Ethernet frame processing unit is to directly forward the frame through
the fourth port 3a without making any change to the frame.
[0088] For a frame entering the exterior communication Ethernet frame processing unit by
the fifth port 3b, the exterior communication Ethernet frame processing unit is to
directly forward the frame through the fourth port 3a without making any change to
the frame.
[0089] For a frame entering the exterior communication Ethernet frame processing unit by
the fourth port 3a, the exterior communication Ethernet frame processing unit is to
decide: 1. if the destination address of the frame is the MAC address of a computer,
the frame is to be forwarded directly through the sixth port 3c; 2. if the destination
address of the frame is the MAC address of a main processor, the frame is to be forwarded
directly through the fifth port 3b.
[0090] In the situation where there are several networking computers connected to a home
gateway device, the frame processing policy of an exterior communication Ethernet
frame processing unit includes:
[0091] For frames entering the exterior communication Ethernet frame processing unit by
the fourth port 3a, as long as the destination address is the MAC address of a computer,
these frames are to be forwarded through the sixth port 3c and enter a communication
connection configuration selection unit.
[0092] A communication connection configuration selection unit should know which connection
method is currently utilized by a connected networking computer, such as: Category
5 cable networking or wireless local area network (WLAN). Hence the communication
connection configuration selection unit should correctly forward the frames received
from the sixth port 3c to an interface unit currently connected with the networking
computer, such as: an Ethernet interface unit, or a WLAN access point (AP).
[0093] Embodiment 1 provides a basic host device for home gateway control, the host device
acts as the core controller in the entire digital household network system, and provides
general computing resources and communication gateway hub function to a digital household.
For an exterior communication network, the host device is the network access point
of the home gateway device. For all information household appliances in the house,
the host device is the main control computer. All of these information household appliances
in the house are USB-based computer peripheral devices of the main host.
[0095] Figure 4 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 2 of the present invention. Different from Embodiment 1, an
inner interface unit comprising: a PLC modem unit 5, an Ethernet interface unit 6,
a WLAN AP 7 and an optical access unit 8. A communication connection configuration
selection unit is set in between an Ethernet frame process unit 4 and the inner interface
unit. The communication connection configuration selection unit is connected to the
Ethernet frame process unit 4, the PLC modem unit 5, the Ethernet interface unit 6,
WLAN AP 7, and the optical access unit 8, respectively. The Ethernet interface unit
is used for connecting networking devices in an interior network through an Ethernet.
The wireless LAN access point WLAN AP 7 is used for communication with networking
devices in an interior network through wireless connection. The optical access unit
is used for performing optical-to-electric transformation on optical signals, in order
to obtain electric signals for communication. The communication connection configuration
selection unit is used for automatic configuration and switching of communication
connections, in order to coordinate the data communication among the PLC modem unit
5, the Ethernet interface unit 6, WLAN AP 7 , the optical access unit 8 and the Ethernet
frame process unit 4.
[0096] If there are several different connection modes exist in an interior network, for
example, if interior networking devices feature both Ethernet ports and wireless ports,
then an inner interface unit that includes a PLC modem unit 5 and an Ethernet interface
unit 6 may be used, where the Ethernet interface unit 6 connects to networking devices
of an interior network through the Ethernet. A communication connection configuration
selection unit selects between these two connection modes (PLC connection and Ethernet
connection) based on a prearranged priority parameter. Additionally, an inner interface
unit that includes an Ethernet interface unit 6 and a WLAN AP 7 may also be used,
then the communication connection configuration selection unit is to select between
these two connection modes (Ethernet connection and wireless connection), where WLAN
AP 7 is used for communicating with networking devices of an interior network through
wireless connection. If optical fiber connection mode is also configured in networking
devices in a household, then an optical access unit 8 can be added to the inner interface
unit as one of the connection modes that can be selected.
[0097] The system, which comprising a home gateway device and information appliances in
an interior household network, provides several different interior network connection
modes for various information household devices. The system can select one connection
mode from these interior network connection modes, e.g. Ethernet connection, PLC power
line carrier connection, wireless connection and optical access connection. The system
can establish communication connection between interior devices and exterior network
according to the status of interior networking devices. For example, a notebook computer
normally may use a power line to transfer data, but if the notebook computer is using
batteries to supply power, it can not receive data from power lines, and then the
notebook computer may receive data through a wireless LAN access point, or through
an ordinary network cable connected to an Ethernet interface unit.
[0098] A communication connection configuration selection unit may automatically identify
connection modes that are available to each device, and may perform configuration
according to a priority setting. When the connection mode changes (e.g. cables plugged
in/pulled out, power supply interrupted), a host device may automatically switch to
another available connection, and automatically perform configuration. Again using
a notebook computer as an example, when the power supply of the notebook is interrupted,
the host device may automatically switch to a connection mode that receives data from
WLAN AP 7. In addition, a host device used for home gateway control may also implement
forced reversing of connection modes, i.e. forced usage of a low-prioritized connection
mode.
[0099] Priority parameters are usually prearranged. They may be prearranged by the manufacturer
during manufacturing, or configured by a user. The priority level of various connection
modes may be decided according to the layout of a household. The configuration of
these priority levels is stored in a configuration selection file, which can be fetched
by a communication connection selection unit. For example, in an automatic state,
a twisted-pair cable connection has the highest priority, a PLC connection has the
second highest, and a WLAN connection has the lowest priority; in a forced switching
state, the connection mode is selected based on a control word.
[0101] Figure 5 is a schematic illustration showing the structure of a home gateway device
provided by Embodiment 3 of the present invention. Embodiment 3 added a USB signal
logic signal adapter unit 9 to Embodiment 1. The USB signal logic signal adapter unit
9 is connected to a main processor 1 and a PLC modem unit 5, for transforming USB
signals to serial logic control signals. Since apart from those information household
appliances, there are simple appliances that only have a few logic functions, such
as an electric lamp, an electric controlled faucet, etc. For these appliances, it
is only necessary to send a few logic control commands for on/off switching, without
any complicate information interchange. The USB signal logic signal adapter unit transforms
USB control signals sent by the main processor to serial logic control signals, and
modulates these logic control signals into power line carrier signals using the PLC
modem unit 5, so that household appliances may be controlled through a power line.
In conclusion, the PLC modem unit implements the modulation and demodulation operations
between power line carrier signals and data signals, where data signals including
but not limited to Ethernet signals and logic control signals.
[0103] Embodiment 4 is the combination of the previous three embodiments. Figure 6 is a
schematic illustration showing the structure of a home gateway device provided by
Embodiment 4 of the present invention. As a favored implementation for household application,
Embodiment 4 added a USB signal logic signal adapter unit 9 to Embodiment 2. The USB
signal logic signal adapter unit 9 is connected to a main processor 1 and a PLC modem
unit 5, for transforming USB signals to serial logic control signals.
[0104] An application system comprising Embodiment 4, an interior household network and
an exterior communication network is shown in Figure 7. Figure 7 is a schematic illustration
showing an application system of the home gateway device provided by Embodiment 4
of the present invention. The networking devices 10 (including information household
appliances and computers) of an interior household network are connected to the home
gateway device through PLC connection, Ethernet connection, wireless connection and/or
optical fiber connection. For a specific networking device, when using PLC connection
for communication, the networking device needs to perform modulation/demodulation
between electric carrier signals and Ethernet signals by using PLC modem 11. Filtering
and carrying of PLC signals are accomplished by a PLC modem unit 5 in an inner interface
unit. In addition, a PLC signal isolator 12 is set in a power line between an exterior
power grid and an interior household network, in order to achieve the isolation between
low frequency electric current and high frequency PLC signals, so that to prevent
high frequency PLC signals outputting to the exterior network, and exterior high frequency
PLC signals entering the interior household network.
[0105] It should be stated that the above embodiments are only used to describe the technical
solutions of the present invention, and they are not used to impose any restriction
or limit to the present invention. Despite the present invention having been elaborately
described in reference to the above embodiments, it should be understood by a person
skilled in the art: it is still possible to modify the technical solutions described
in the above embodiments, or replace part of the technical features with equivalent
ones, while these modifications and replacements do not detach the essence of corresponding
technical solutions from the spirit and scope of the technical solutions described
in each embodiment of the present invention.
1. A home gateway device, comprising:
a main processor, for generating information process signals and control signals;
a computer bus signal Ethernet adapter unit, connected to the main processor, for
translating the signals between computer bus signals and Ethernet signals;
an Ethernet frame process unit, connected to the computer bus signal Ethernet adapter
unit, for forwarding the received Ethernet frame based on a pre-arranged frame processing
policy;
an inner interface unit, connected to the Ethernet frame process unit, for connecting
interior networking devices;
an outer communication module, connected to the main processor and the Ethernet frame
process unit, for address translation and data transfer between an interior network
and an exterior communication network.
2. The home gateway device of claim 1, wherein the inner interface unit is any one of
the following: a power line communication modulation and demodulation unit, an Ethernet
interface unit, a wireless local area network access point, or any combination of
the above;
the power line communication modulation and demodulation unit is used for performing
modulation and demodulation operations between power line carrier signals and data
signals; the Ethernet interface unit is used for connecting interior networking devices
through Ethernet connection; the wireless local area network access point is used
for connecting interior networking devices through wireless connection.
3. The home gateway device of claim 1, wherein the computer bus signal Ethernet adapter
unit is a USB signal Ethernet adapter unit or a PCI bus Ethernet adapter unit; the
USB signal Ethernet adapter unit is used for performing signal transformation between
USB signals and Ethernet signals; the PCI bus Ethernet adapter unit is used for performing
signal transformation between PCI signals and Ethernet signals.
4. The home gateway device of claim 1, wherein the computer bus signal Ethernet adapter
unit is a USB signal Ethernet adapter unit, the USB signal Ethernet adapter unit is
used for performing signal transformation between USB signals and Ethernet signals;
the inner interface unit is a power line communication modulation and demodulation
unit, the power line communication modulation and demodulation unit is used for performing
modulation and demodulation operations between power line carrier signals and data
signals.
5. The home gateway device of claim 4, wherein the home gateway device further comprising
a USB signal logic signal adapter unit, connected to the power line communication
modulation and demodulation unit and the main processor, for performing transformation
between USB signals and serial logic signals.
6. The home gateway device of claim 4, wherein the Ethernet frame process unit including:
a first port connected to the outer communication module, for transferring Ethernet
signals through the outer communication module;
a second port connected to the USB signal Ethernet adapter unit, for transferring
USB format encapsulated Ethernet signals;
a third port connected to the power line communication modulation and demodulation
unit, for transferring Ethernet signals between interior networking devices and the
main processor.
7. The home gateway device of claim 2 or 4 or 5 or 6, wherein a communication connection
configuration selection unit is provided between the Ethernet frame process unit and
the inner interface unit, which connected to the Ethernet frame process unit and the
inner interface unit respectively, for performing automatic configuration and switching
of connection modes of an interior network and an exterior communication network.
8. The home gateway device of claim 7, wherein the outer communication module comprising:
a PCI bus Ethernet adapter unit, connected to the main processor through a PCI bus,
for signal transformation between PCI signals and Ethernet signals;
an exterior communication Ethernet frame processing unit, connected to the PCI bus
Ethernet adapter unit, for forwarding received Ethernet frames according to a prearranged
port control forwarding policy;
an exterior communication adapter unit, which is connected to the exterior communication
Ethernet frame processing unit, for communicating with an exterior communication network.
9. The home gateway device of claim 8, wherein the exterior communication Ethernet frame
processing unit including:
a fourth port connected to the exterior communication adapter unit, for transferring
Ethernet signals through the exterior communication adapter unit;
a fifth port connected to the PCI bus Ethernet adapter unit, for transferring PCI
encapsulated Ethernet signals;
a sixth port connected to the Ethernet frame process unit, for transferring Ethernet
signals between an exterior communication network and a personal computer.