WO2007143912A1 - Procédé pour attribuer une adresse à un appareil domestique d'informations intelligent et sous-équipement dans le réseau domestique - Google Patents

Procédé pour attribuer une adresse à un appareil domestique d'informations intelligent et sous-équipement dans le réseau domestique Download PDF

Info

Publication number
WO2007143912A1
WO2007143912A1 PCT/CN2007/001739 CN2007001739W WO2007143912A1 WO 2007143912 A1 WO2007143912 A1 WO 2007143912A1 CN 2007001739 W CN2007001739 W CN 2007001739W WO 2007143912 A1 WO2007143912 A1 WO 2007143912A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
bus
appliance
information
message
Prior art date
Application number
PCT/CN2007/001739
Other languages
English (en)
French (fr)
Inventor
Jianming Zhou
Congxing Ouyang
Guanghai Zhang
Jinglei Liu
Original Assignee
China Mobile Communications Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CNB2006100815794A external-priority patent/CN100461733C/zh
Priority claimed from CNB2006100815807A external-priority patent/CN100440841C/zh
Application filed by China Mobile Communications Corporation filed Critical China Mobile Communications Corporation
Priority to US12/302,484 priority Critical patent/US8065435B2/en
Priority to JP2009511324A priority patent/JP4818434B2/ja
Priority to EP07721312.2A priority patent/EP2023539B1/en
Publication of WO2007143912A1 publication Critical patent/WO2007143912A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present invention relates to a method for allocating addresses to devices, and more particularly to a method for allocating addresses for intelligent information appliances and their sub-devices by means of active polling at the home network side in a home network.
  • the original simple home appliance can exchange data with the network.
  • This home appliance that can interact with the network is information appliance, also called network appliance.
  • the information appliance can receive the data in the network and feed back the status information to the network.
  • the birth of the information appliance enables the user to know the data of the information appliance in the home through the Internet, so that the user can learn the information appliance without returning home. status.
  • logic information appliances such as electric lights, electronically controlled faucets, etc.
  • logic information appliances such as electric lights, electronically controlled faucets, etc.
  • feedback status information Such as switch state
  • other information appliances are smart information appliances, intelligent information appliances have many functions, and their information interaction and data processing are more complicated, such as television, microwave oven, electric Refrigerators, and composite equipment with hubs.
  • the protocols for device addressing and encoding of the existing home network mostly use the protocol stack of TCP P, and higher-level protocols such as S0AP and HTTP based on TCP/IP.
  • the addressing technology of the device adopts technologies such as automatic configuration of IP address, dynamic DHCP allocation mechanism and DNS resolution.
  • the mutual discovery of devices and the release of service content are mostly based on HTTP protocol and SOAP based on generic XML template. .
  • By issuing various URL addresses such as device information and service information, the device provides access paths to other devices to implement service provisioning functions.
  • the home network is different from any previous network mode. It directly penetrates into all aspects of the user's family life. Users must hope that the network is safe and easy to use for family members and inaccessible to other people or devices.
  • the overall architecture of other home networks is based on TCP/IP.
  • the information appliance has an IP address.
  • the home network is a small local area network that can access the Internet. Information appliances can be connected to the Internet or devices outside the home network (except the user's mobile terminal). Outside) Access to information appliances is extremely dangerous for users. If the information appliance is connected to the outside of the home network, it is very likely to disclose the user's family information; if the external malicious information enters the home network, it may threaten the security of the user's home.
  • the protocol stack of the existing home network emphasizes the instant discovery of the device, but the discovery is also based on a set of discovery mechanisms of the IP protocol stack. Once the devices discover each other, they can communicate separately because the home appliance has This communication and interoperability, some operations can bypass the home gateway, making the home gateway not powerful enough to control the digital home.
  • the existing home network mainly adopts the IPv4 address form.
  • access to a large number of information appliances will inevitably encounter limited restrictions on IPv4 address resources.
  • IPv4 address When the network is popular, or adopt an IPv4 address. Mapping with IPv6 addresses, or upgrading to IPv6 addresses, can cause unnecessary trouble for users. Summary of the invention
  • the object of the present invention is to provide a method for allocating addresses for smart information appliances and their sub-devices in a home network in order to simplify the protocol stack in the existing home network and make the home.
  • the intelligent information appliances in the network of the host communicate with the external network through the main processing module of the host device, are invisible to the external network, effectively shield the security threat of the external network, improve the security of the home network, and lower the cost of the device.
  • the present invention provides a method for assigning an address to an intelligent information appliance in a home network, the method comprising the steps of:
  • Step 1 The smart information appliance sends a broadcast message with a MAC address of the smart information appliance
  • Step 2 After receiving the broadcast message, the adapting unit stores a MAC address of the smart information appliance, converts the broadcast message into a bus signal with device access information, and sends the signal to the main processing module;
  • Step 3 The main processing module sends a bus signal including an idle bus address to the adaptation unit;
  • Step 4 The adaptation unit stores the free bus address, and encapsulates a bus signal with the free bus address into a unicast message with a MAC address of the main processing module, and according to the stored location Transmitting the unicast message to the smart information appliance by using a MAC address of the smart information appliance;
  • Step 5 After receiving the unicast message, the smart information home appliance parses and obtains a MAC address of the main processing module and the free bus address, and stores a MAC address of the main processing module and the idle a bus address, returning an acknowledgement message to the adaptation unit;
  • Step 6 the adapting unit transfers the stored free bus address and the MAC address of the smart information home appliance into a mapping table for recording a mapping relationship between a bus address and a MAC address, and to the main
  • the processing module returns a bus signal with an acknowledgment message
  • Step 7 After receiving the confirmation message, the main processing module stores the free bus address in a bus address table marked as used;
  • the main processing module assigns a bus address to the intelligent information appliance through the adaptation unit, and is simultaneously adapted
  • the unit sends the MAC address of the main processing module to the smart information appliance, so that the smart information appliance that accesses the home network sends the message only with the MAC address of the main processing module as the destination address, and only communicates with the main processing module, and not with other The home appliance communicates.
  • the smart information home appliance may access the adapting unit through a PLC carrier mode and/or a wireless mode and/or a five-wire type.
  • the main processing module can communicate with the adapting unit by using a bus protocol such as a USB protocol and/or a 1394 protocol. Therefore, in the step 2, the adapting unit can convert the broadcast message into a device with a device. Accessing the USB signal of the information or the 1394 bus signal; in the step 3, the main processing module may send a USB signal containing a free USB address or a 1394 signal containing an idle 1394 bus address to The adapting unit; in the step 4, the adapting unit stores the USB address or the 1394 bus address, and the USB signal with the free USB address or the 1394 with a free 1394 bus address The signal is encapsulated into a unicast message; in the step 6, the adapting unit dumps the stored free USB address or 1394 bus address and MAC address into the mapping table; The main processing module stores the free USB address or 1394 bus address in the used USB address table or 1394 address table.
  • a bus protocol such as a USB protocol and/or a 1394 protocol. Therefore, in the step 2, the adapting unit can
  • the adaptation unit may first search for the MAC address of the received smart information appliance from the mapping table, if the MAC address is found. Then, no processing is performed, the whole process is ended or the broadcast message is converted into a bus signal and sent to the main processing module, and the whole process is ended; if the result of the search is empty, the MAC address of the smart information appliance is stored. Thereby, the possibility that the smart information home appliance has been repeatedly allocated the bus address is avoided. Due to the re-access of the main processing module stored in the intelligent information appliance The MAC address may be deleted. Therefore, after the matching unit finds the MAC address of the smart information appliance, it sends a MAC including the main processing module to the smart information appliance before ending the entire process. Message.
  • the smart information appliance that has accessed the adaptation unit determines whether the source MAC address in the broadcast message is related to the stored location.
  • the MAC address of the main processing module is the same, if the same, the broadcast message is received; otherwise, the broadcast message is discarded.
  • the present invention also provides a method for allocating addresses for smart information appliances in a home network, the method comprising the following steps:
  • Step 1 The network side sends a downlink broadcast cancellation data 2 including a MAC address of the host on the network side, and after receiving the network, the intelligent information appliance accesses the network, and receives the downlink broadcast message.
  • Step 3 The smart information appliance parses the downlink broadcast message to obtain a MAC address of the host.
  • Step 4 The smart information appliance stores the MAC address, and sends, by using the MAC address as an destination address, device access information including a MAC address of the smart information appliance to the network side;
  • Step 5 The network side sends, to the smart information home appliance, a bus allocation information including a free bus address, and stores a MAC address of the smart information home appliance and the bus address; Step 6, the smart After receiving the bus allocation address information, the information appliance stores the bus address.
  • the network side realizes the allocation of the bus address for the intelligent information home appliance by establishing the correspondence between the MAC address of the intelligent information home appliance and the bus address, and simplifies the use of other higher layer protocols.
  • the protocol stack makes the intelligent information appliance in the home network become an external device of the host in the home network, but is invisible to the external network, greatly improving the security of the home network, and P is competing for the complexity of the device itself, which is beneficial to reduce Equipment cost.
  • the present invention further provides a method for allocating an address for an intelligent information device electronic device in a home network, the method comprising the following steps:
  • Step 1" After accessing the child device in the smart information home appliance, the device access information is sent to the home network side;
  • Step 2 After receiving the device access information, the home network side sends a bus address to the smart information appliance;
  • Step 3 the smart information home appliance forwards the bus address to the child device, and the child device saves the bus address;
  • Step 4 The smart information appliance returns an acknowledgement message to the home network side
  • Step 5" the home network side saves the bus address to a mapping table of a MAC and a bus address of the smart information appliance.
  • 1 is a schematic diagram of a prior art protocol stack
  • FIG. 1 is a schematic diagram of a protocol stack used in a method for allocating addresses for an intelligent information appliance in a home network of the present invention
  • 3 is a USB tag packet in a method for allocating addresses for smart information appliances in a home network of the present invention
  • 4 is a flowchart of a first preferred embodiment of a method for allocating addresses for an intelligent information appliance in a home network according to the present invention
  • FIG. 5 is a flow chart of a second preferred embodiment of a method for allocating addresses for an intelligent information appliance in a home network according to the present invention
  • FIG. 6 is a flow chart of a third preferred embodiment of a method for allocating addresses for intelligent information appliances in a home network of the present invention.
  • FIG. 7 is a partial flow chart of a fourth preferred embodiment of a method for allocating addresses for intelligent information appliances in a home network of the present invention.
  • FIG. 8 is a flow chart of a preferred embodiment of a method for allocating addresses for an intelligent informant electronic device in a home network of the present invention
  • FIG. 9 is a flow chart of another preferred embodiment of a method for assigning an address to an intelligent informant electronic device in a home network of the present invention. detailed description
  • the communication protocol stack of the home gateway system mainly adopts a mode as shown in FIG. 2, the bottom layer is the physical layer protocol C1, the upper layer is the Ethernet protocol C2, the upper layer is the bus protocol C3, and the upper layer is the application protocol C4. .
  • the access mode of the physical layer may be various, including: a PLC carrier, a wireless mode, a five-category line mode, or any combination thereof, and the smart information home appliance is thus connected to the adaptation unit.
  • the bus protocol preferentially adopts the USB protocol.
  • the Ethernet layer mainly completes the adaptation of the underlying information and the USB layer information to the Ethernet information, shields the upper layer from the specific technology used, and performs some functions based on the Ethernet MAC address addressing.
  • the USB layer mainly provides the plug-and-play function of the device, and the ability of each intelligent information appliance to interact with the host module.
  • the application layer mainly provides more abundant service information, reliable and secure communication guarantee and other capabilities.
  • Ethernet that we usually know is mainly through the existing address resolution technology such as ARP or SARP to complete a certain mapping relationship with the IP address to achieve the correct transmission of the message. But for the home gateway system, it takes the form of a non-IP network, which requires the completion of the Ethernet MAC address and the USB layer. The mapping of addresses, even higher level mappings.
  • the USB layer can implement the information exchange between the host module application and the specified peripheral through a specific packet format.
  • the tag packet format is as shown in FIG. 3, and is composed of a PID field Bl, an ADDR field B2, an ENDP field B3, and a CRC5 field B4.
  • the PID tag B1 field is 8 bits, which are divided into four types: tag, data, handshake, and dedicated.
  • the tag packet can only be sent by the host control module, used for connection with peripherals, designation of input and output directions, and so on.
  • the address field is 7 bits and can be connected to a maximum of 127 USB peripherals.
  • the ENDP field B2 indicates the port number of the smart information appliance, which facilitates the host's ability to flexibly address when communicating with more than one port, and supports up to 16 ports.
  • the CRC5 field B4 guarantees the correctness of the address and port fields.
  • the present invention proposes to set a USB address and MAC address mapping list in the host module.
  • the host needs to communicate with the intelligent information appliance, it can obtain the smart information appliance MAC address by looking up the table, in the MAC.
  • Layers implement unicast.
  • FIG. 4 is a flowchart of a first preferred embodiment of a method for allocating addresses for an intelligent information appliance in a home network according to the present invention, specifically performing the following steps:
  • Step 11 The intelligent information appliance sends a broadcast message with the MAC address of the smart information appliance; for example, when the gateway is operating normally, a new smart information appliance is added, such as a television.
  • a broadcast message with the TV's MAC address (including the Ethernet upstream broadcast message) to the PLC filter via the power line, and then through the PLC modem unit.
  • the Ethernet signal is demodulated and will be sent to the adaptation unit.
  • Step 12 After receiving the broadcast message, the adaptation unit stores a MAC address of the smart information appliance, converts the broadcast message into a bus signal with device access information, and sends the message to the main processing module.
  • Step 121 After receiving the broadcast message, the adapting unit determines, by analyzing a frame header of the broadcast message, that the destination address is an uplink broadcast address, and the source address is a TV address of the television; Step 122: The adaptation unit stores a MAC address of the television set.
  • Step 123 The adapting unit sends a bus signal accessed by the device to the main processing module of the host device.
  • the adaptation unit does not have time to delete the MAC address of the TV set, so that the main processing module re-allocates a bus address for the TV set, in order to avoid being a MAC address.
  • the main processing module re-allocates a bus address for the TV set, in order to avoid being a MAC address.
  • the smart information appliance may also send a bus signal including the MAC address of the main processing module; if there is no MAC address of the television in the mapping table, it indicates that the MAC address is the first time, and then the storage is performed. This address sends a USB device access to the host device's main processing module. Bus signals, transmitted to a main processing module of the host device. In general, since the message sent by the accessed smart information appliance is a unicast message, it is not necessary to perform a search;
  • the smart information appliance that has accessed the host may also receive the broadcast message sent by the smart information appliance, it is first determined whether the source MAC address in the broadcast message is the same as the MAC address of the stored main processing module. If the same, the broadcast message is received; otherwise, the broadcast message is discarded. Thereby, the mutual communication between the information appliances is effectively isolated, and the intelligent information home appliances are uniformly controlled by the host device.
  • Step 13 The main processing module sends a bus signal including an idle bus address to the adapting unit.
  • the following two steps are specifically included:
  • Step 131 After detecting the device access signal, the main processing module in the host device knows that a new device joins and finds an idle USB address.
  • Step 132 The main processing module sends a bus signal including a free USB address to the adaptation unit.
  • Step 14 The adaptation unit of the adaptation unit stores the free USB address in the signal into the buffer, and uses the host's Ethernet address as the source address, and stores the stored TV's MAC address as the destination address to encapsulate the USB signal. Send out in an Ethernet frame;
  • Step 15 After receiving the unicast message, the smart information appliance parses and obtains the MAC address of the main processing module and the allocated USB address, and stores and returns an acknowledgement message to the adapting unit.
  • the smart information appliance parses and obtains the MAC address of the main processing module and the allocated USB address, and stores and returns an acknowledgement message to the adapting unit.
  • it includes the following two steps:
  • Step 151 When an Ethernet frame encapsulating a USB signal is transmitted to the television through the power line, the processing unit of the television device parses out the signal of the autonomous processing module, obtains the MAC address of the main processing module, and the allocated USB address, and stores the signal;
  • Step 152 The processing unit of the television returns an acknowledgement packet to the host device.
  • Step 16 the adapting unit transfers the stored idle bus address and the MAC address of the smart information home appliance into a mapping table for recording a mapping relationship between a bus address and a MAC address, and to the main
  • the processing module returns a bus signal with a confirmation message; in this embodiment, the following two steps are specifically included:
  • Step 161 After receiving the confirmation packet, the adaptation unit stores the previously stored USB address and the MAC address of the television in a mapping table of the bus address and the MAC address;
  • Step 16 2 the adaptation unit returns an acknowledgement packet to the main processing module, and the message that the USB address of the television has been allocated is notified to the main processing module by a USB signal;
  • Step 17 After receiving the confirmation message, the main processing module stores the free bus address in a bus address table marked as used; for example, the main processing module of the host device receives the USB address that has been allocated. After the message, save the USB address in the list of used bus addresses.
  • FIG. 5 is a flowchart of a second preferred embodiment of a method for allocating addresses for an intelligent information appliance in a home network according to the present invention.
  • a microwave oven is taken as an example, and the following steps are specifically performed:
  • Step 21 When the gateway is operating normally, the microwave oven automatically transmits a broadcast message with a MAC address of the microwave oven (including an Ethernet uplink broadcast message) after accessing the adaptation unit of the host device through the Category 5 line, and transmits to the Category 5 line to Adaptation unit.
  • a broadcast message with a MAC address of the microwave oven including an Ethernet uplink broadcast message
  • Step 22 The adaptation unit parses the broadcast message to obtain the MAC address of the microwave oven, and then stores and sends a device access signal to the main processing module.
  • the specific steps include the following three steps:
  • Step 221 After receiving the broadcast message, the adapting unit determines, by analyzing a frame header of the broadcast message, that the destination address is an uplink broadcast address, and the source address is a MAC address of the microwave oven;
  • Step 222 The adaptation unit stores a MAC address of the microwave oven.
  • Step 223 The adapting unit sends a bus signal accessed by the device to the main processing module of the host device.
  • the main processing module When the 1-wave oven is in frequent power-on and power-off situations, there may be an adapter unit that does not have time to delete the MAC address of the microwave oven. This causes the main processing module to reassign a bus address to the microwave oven, in order to avoid duplication of a MAC address. To assign a USB address, you need to first look up the MAC address from the existing MAC address table in the mapping table. If there is, then directly end the process, default the previously assigned bus address, or send a microwave oven to the main processing module to re-access.
  • the bus signal ends; in general, when the smart information appliance is quickly plugged and unplugged, the MAC address of the stored main processing module will not be deleted, but in order to prevent the MAC address from being deleted, the process ends.
  • the smart information appliance can also send a bus signal including the MAC address of the main processing module; if there is no MAC address of the microwave oven in the mapping table, it indicates that the MAC address is the first time, and then the address is stored and Send a USB device access to the main processing module of the host device Line signal, sent to the main processing module of the host device.
  • the message sent by the accessed smart information appliance is a unicast message, it is not necessary to perform a search;
  • the smart information appliance such as the television that has accessed the host device may also receive the broadcast message sent by the newly added microwave oven, first determine whether the source MAC address in the broadcast message is The same as the stored MAC address of the main processing module, if the same, the broadcast message is received; otherwise, the broadcast message is discarded.
  • the mutual communication between the television and the microwave oven is effectively isolated, and the intelligent information appliances such as the television set and the microwave oven are uniformly controlled by the host device.
  • Step 23 The host device encapsulates a bus signal of an idle USB address and sends the bus signal to the adapter unit.
  • the specific steps include the following two steps:
  • Step 231 After detecting the device access signal, the main processing module of the host device knows that a new device joins, and finds an idle USB address.
  • Step 232 The main processing module sends a bus signal including an idle USB address to the adaptation unit.
  • Step 24 The adaptation unit of the adaptation unit stores the free USB address in the signal into the buffer, and uses the Ethernet address of the host as the source address, and uses the stored MAC address of the microwave oven as the destination address to encapsulate the USB signal. Send out in an Ethernet frame;
  • Step 25 The processing unit of the microwave oven parses the MAC address of the main processing module and the USB address allocated by the main processing module, and stores and returns an acknowledgement packet; specifically, the following two steps are included:
  • Step 251 The Ethernet frame encapsulated with the USB signal is transmitted to the microwave oven through the Category 5 line, and the processing unit of the microwave oven parses the signal of the autonomous processing module, obtains the MAC address of the main processing module, and the USB address, and stores the signal;
  • Step 252 The processing unit of the microwave oven returns an acknowledgement packet to the host device; and returns an acknowledgement packet to the main processing module; specifically, the following two steps are performed:
  • Step 2 61 After receiving the confirmation packet, the adaptation unit in the adaptation unit stores the previously stored USB address and the MAC address of the chopper oven into the mapping table of the bus address and the MAC address;
  • Step 262 The adapting unit returns an acknowledgement packet to the main processing module, and the message that the USB address of the microwave oven has been allocated is notified to the main processing module by a USB signal;
  • Step 27 After receiving the message that the USB address has been allocated, the main processing module of the host device stores the USB address in the list of used bus addresses. At this time, the host device allocates the bus address to the microwave oven through the adapting unit by the main processing module, so that it can obtain some simple configuration information of the microwave oven, and learn from the external network server which specific services the microwave oven can provide. So that the user knows this information through the host device in the home. In addition, if the user is outside the home, the purpose of controlling the furnace can also be achieved through the external network server and the gateway.
  • the bus address assigned by the main processing module to the smart information appliance is actually assigned to the hub in the composite device.
  • the bus protocol used in the present invention may be a USB protocol, a 1394 protocol, etc., and the USB protocol is preferably used here.
  • FIG. 6 is a flowchart of a third preferred embodiment of a method for allocating addresses for an intelligent information appliance in a home network according to the present invention. Assume that an air conditioner accesses a home network, and the address of the air conditioner is specifically implemented by the following process:
  • Step 101 The network side sends a downlink broadcast message including a MAC address of the host on the network side.
  • the preferred embodiment provided by the present invention is: The host on the network side periodically sends an Ethernet broadcast frame to the home network system, where the source address contained in the frame header is the host MAC address, and the destination address is a customized host to device. The MAC address of the downlink broadcast.
  • Step 102 After the intelligent information appliance accesses the network, the downlink broadcast message is received. If the air conditioner is connected to the home network through power-on, it will receive the broadcast frame sent by the host.
  • Step 103 The smart information appliance parses the downlink broadcast message to obtain a MAC address of the host. For example, the air conditioner extracts the MAC address of the host from the broadcast frame.
  • Step 104 The smart information appliance stores the MAC address, and sends, by using the MAC address as an destination address, device access information including a MAC address of the smart information appliance to the network side. After the air conditioner obtains the MAC address of the host, the device sends the device access information with the MAC address of the host as the destination address.
  • the device access information is an Ethernet frame containing the MAC address of the air conditioner.
  • the network side may determine whether the MAC address of the smart information appliance is based on the stored MAC address table. Exist, if yes, end, otherwise, go to step 105.
  • Step 105 The network side sends, to the smart information appliance, a bus allocation information including a free USB address, and stores a MAC address of the smart information appliance and the USB address.
  • the present invention provides a preferred embodiment for this step, and specifically includes the following steps:
  • Step 1051 The adapting unit on the network side stores the MAC address of the smart information appliance such as an air conditioner;
  • Step 1053 After receiving the USB signal, the host sends an address assignment USB signal including an idle USB address to the adaptation unit.
  • Step 1054 After receiving the USB signal, the adaptation unit stores the free USB address, and encapsulates the address distribution USB signal into an Ethernet frame and sends the information to the smart information home.
  • Step 106 The smart information appliance, such as an air conditioner, stores the USB address after receiving the bus allocation address information.
  • the intelligent information appliance such as the air conditioner obtains the bus address, so that the smart information appliance is an external device of the host in the home network, which reduces the complexity of the device itself and is advantageous for reducing the cost.
  • the present invention also provides another preferred embodiment.
  • the first six steps of this embodiment are the same as those in FIG. 6, and are omitted here. As described again, as shown in FIG. 7, the following steps are also included:
  • Step 201 After the smart information appliance such as the air conditioner obtains the USB address, the air conditioner returns an acknowledgement message to the network side;
  • Step 202 After receiving the acknowledgement message, the network side transfers the USB address to a mapping table of a MAC address and a USB address of the smart information home appliance.
  • the present invention provides a preferred embodiment for this step, specifically including the following steps:
  • Step 2021 After receiving the confirmation message, the adaptation unit stores the stored smart message.
  • the home appliance such as the MAC address of the air conditioner and the USB address assigned to the smart information appliance are stored in a mapping table of the MAC address and the USB address;
  • Step image 2022 the adapting unit converts the confirmation message into a USB signal and feeds back to the host;
  • Step 2023 The host stores the USB address assigned to the smart information appliance in a list of used USB addresses.
  • the invention establishes the mapping relationship between the MAC address and the bus address of the intelligent information home appliance on the network side, and further strengthens the unified control ability of the network side host for the intelligent information home appliance. Moreover, the bus protocol and the Ethernet protocol are used, which simplifies the protocol stack and ensures the invisibility of the internal network to the external network, thereby ensuring the security of the home gateway system.
  • FIG. 8 is a flowchart of a preferred embodiment of a method for allocating addresses for an intelligent informant electronic device in a home network according to the present invention, and specifically performing the following steps:
  • Step 301 After accessing the child device in the smart information home appliance, the device access information is sent to the home network side.
  • the present invention provides a preferred embodiment for this step, and specifically includes the following steps:
  • Step 3011 After the child device is inserted into the port of the hub in the smart information appliance, such as P2, the hub records the state change information of the port P2.
  • Step 3013 After receiving the state change information of the port P2, the processing unit encapsulates the state change information of the port P2 and the MAC address of the smart information appliance in an Ethernet frame to store the main processing module. The MAC address is sent for the destination address.
  • Step 302 After receiving the device access information, the home network side sends the smart information to the smart information.
  • the appliance sends an idle bus address.
  • the present invention provides a preferred embodiment for this step, specifically including the following steps
  • Step 3021 After receiving the Ethernet frame, the adaptation unit on the network side stores a MAC address of the smart information appliance, and encapsulates the Ethernet frame as a bus message to the main processing module.
  • Step 3022 The main processing module parses the bus message, and learns that the port P2 of the hub has device access;
  • Step 3023 The main processing module sends a bus message including an idle bus address to the adaptation unit.
  • Step 3024 The adaptation unit stores a bus address in a bus message sent by the main processing module, and encapsulates the bus message into an Ethernet frame and sends the message to the processing unit.
  • Step 303 The smart information home appliance forwards the bus address to the child device, and the child device saves the bus address.
  • the present invention provides a preferred embodiment for this step. Specifically, the processing unit converts an Ethernet frame containing the free bus address into a bus message and sends the message to the child device through the hub.
  • Step 304 The smart information home appliance returns an acknowledgement message to the home network side.
  • the present invention provides a preferred embodiment for this step. Specifically, after receiving the bus message including the free bus address, the sub-device stores the free bus address and passes through the hub and The processing unit returns an acknowledgement message to the adaptation unit.
  • Step 305 The home network side saves the free bus address to a mapping table of a MAC address and a bus address of the smart information home appliance.
  • the present invention provides a preferred embodiment for this step, and specifically includes the following steps:
  • Step 3051 After receiving the confirmation message, the adaptation unit stores the free bus address and the MAC address of the smart information appliance in a mapping table of a bus address and a MAC address. Step 3052 The adaptation unit forwards the confirmation message to the main processing module; Step 3053, the main processing module deposits the free bus address into the total used In the line address list.
  • the intelligent information device electronic device obtains the bus address allocated on the home network side, and becomes an external device of the host in the home network, and strengthens the control ability of the host in the home network, so that the smart information home appliance in the home network
  • the external network is invisible, which improves the security of the home network and helps to reduce costs.
  • the address record of the device may not be deleted on the home network side.
  • this embodiment is in addition to step 3022 in FIG.
  • the steps other than the following steps are further added between the steps and the steps 3023, and the other portions are the same as those in FIG. 8, and therefore are omitted here and will not be described again.
  • Step 401 The main processing module determines, according to the stored correspondence table between the port and the bus address of the hub, whether the port accessed by the sub-device is assigned a bus address, and if yes, executing step 402; otherwise, performing step 3023 ;
  • Step 402 The main processing module sends a bus message including a bus address corresponding to the port accessed by the sub-device to the adaptation unit, and then step 3024 is performed. Step 3024 and subsequent steps 305 and 3051 are performed.
  • the bus addresses in 3052, 3053 correspond to the bus addresses in the used list, and step 3053 can be omitted.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Description

家庭网络中为智能信息家电及其子设备分配地址的方法 技术领域
本发明涉及一种为设备分配地址的方法, 尤其涉及一种家庭网络中通过 家庭网络侧主动轮询的方式为智能信息家电及其子设备分配地址的方法。 背景技术
随着网络技术与信息家电产业的发展, 使得原有单纯的家电设备可以与 网络进行数据交换,这种可以与网络进行信息交互的家电设备即为信息家电, 也叫做网絡家电。 信息家电可以接收网络中的数据, 并向网络反馈其状态信 息, 信息家电的诞生使得用户通过互联网就可以获知家庭中的信息家电的数 据, 从而使用户可以不回到家中就可以了解到信息家电的状态。 其中, 有一 些筒单的只具有一些逻辑功能的电器, 为逻辑信息家电, 如电灯、 电控的水 龙头等, 只需接收一些简单的逻辑控制命令(如打开和关闭), 并反馈状态信 息 (如开关状态) 即可, 不需要复杂的信息交互; 除此之外的信息家电为智 能信息家电, 智能信息家电的功能多, 其信息交互及数据处理的比较复杂, 如电视机、 微波炉、 电冰箱, 以及带有集线器的复合设备等。
现有家庭网络的设备寻址和编码的协议多采用的是 TCP P的协议栈, 以 及基于 TCP/IP的更高层的 S0AP、 HTTP等协议。 其设备的寻址的技术多采用的 是 IP地址的自动配置、 动态 DHCP分配机制以及 DNS解析等技术, 设备的相互发 现和服务内容的发布多是采用 HTTP协议以及基于通用 XML模板的 SOAP等协议。 设备通过发布自己的设备信息和服务信息等各种 URL地址,向其它设备提供了 可以访问的路径, 实现服务提供的功能。
现有家庭网络中, 虽然各种编码协议的名称和用途不尽相同, 但这些技 术的编码规则多采用 XML技术。
上述现有技术方案存在的缺陷在于: 1 )对于现有的家庭网络协议栈, 他们大多采用 TCP/IP协议栈。 IP网络本 身很难提供较强的安全保证, 这就需要高层协议来完善各种安全需求, 从而 增加了协议的复杂性。
2 )家庭网络不同于以往任何一种网络模式, 它直接深入到用户家庭生活 的方方面面, 用户必然希望该网络对于家庭成员是安全易用的, 对于其它人 员或设备是不可访问的。 但是其它家庭网络的整体架构都是基于 TCP/IP的, 其信息家电具有 IP地址, 家庭网络就是一个小型局域网, 可以接入 Internet , 信息家电可以上网、 家庭网络外部的设备(除用户的移动终端外)可以访问 信息家电对于用户来说是极其危险的。 如果信息家电联到家庭网络外部, 就 很有可能泄露用户家庭信息; 如果外部恶意信息进入家庭网络内部, 就可能 威胁到用户家庭的安全。
3) 现有家庭网络的协议栈都强调设备的即时发现,但这种发现也是基于 一整套的 IP协议栈的发现机制, 设备之间一旦相互发现, 就可以单独通信, 因为家庭内信息家电具有这种通信和互操作能力, 某些操作就可绕开家庭网 关, 使得家庭网关对于数字家庭的掌控能力不够强。
4 )现有家庭网絡都强调了信息家电的智能性, 为了实现设备的相互发现 和服务提供, 各设备除了要发布自己的信息之外, 还需保留一份其它设备的 服务信息列表, 增加了家电成本。
5 )现有家庭网络主要采用 IPv4的地址形式, 在未来的家庭网络应用中, 大量信息家电的接入, 将不可避免地遇到 IPv4地址资源有限的限制, 当网络 普及后, 或者采取 IPv4地址与 IPv6地址的映射, 或者采用升级为 IPv6地址 的方式, 这都会给用户带来一些不必要的麻烦。 发明内容
本发明的目的在于针对现有技术的不足提出一种家庭网络中为智能信息 家电及其子设备分配地址的方法, 以简化现有家庭网络中协议栈, 并使得家 庭网络中的智能信息家电都通过主机设备的主处理模块与外部网络进行通 信, 对于外部网络不可见, 有效屏蔽外部网络的安全威胁, 提高家庭网络的 安全性, P条低设备成本。
为实现上述目的, 本发明提供了一种家庭网络中为智能信息家电分配地 址的方法, 该方法包括以下步驟:
步骤 1、智能信息家电发送一个带有所述智能信息家电的 MAC地址的广播 消息;
步骤 2、 适配单元接收到所述广播消息后, 存储所述智能信息家电的 MAC 地址, 将所述广播消息转换为带有设备接入信息的总线信号, 并发送给主处 理模块;
步骤 3、所述主处理模块将包含有一个空闲的总线地址的总线信号发送给 所述适配单元;
步驟 4、所述适配单元存储所述空闲的总线地址,将带有所述空闲的总线 地址的总线信号封装为带有所述主处理模块的 MAC地址的单播消息, 并根据 存储的所述智能信息家电的 MAC地址将所述单播消息发送给所述智能信息家 电;
步驟 5、所述智能信息家电接收到所述单播消息后,解析获得所述主处理 模块的 MAC地址及所述空闲的总线地址, 并存储所述主处理模块的 MAC地址 及所述空闲的总线地址, 向所述适配单元返回确认消息;
步骤 6、所述适配单元将所述存储的空闲的总线地址及所述智能信息家电 的 MAC地址转存入用于记录总线地址与 MAC地址的映射关系的映射表中, 并 向所述主处理模块返回带有确认消息的总线信号;
步驟 7、所述主处理模块接收到所述确认消息后,将所述空闲的总线地址 存入标为已使用的总线地址表中;
步驟 8、 结束。
通过适配单元由主处理模块为智能信息家电分配总线地址 , 同时由适配 单元将主处理模块的 MAC地址发送给智能信息家电, 这样接入家庭网络的智 能信息家电发送消息时仅以主处理模块的 MAC地址为目的地址, 只与主处理 模块进行通信, 而不与其他的家电进行通信。 并且将家庭网络中的所有智能 信息家电都接入主机设备中的主处理模块, 这样家庭外部的网络都必须通过 主机设备的主处理模块才能与家庭内的信息家电进行通讯, 有效地屏蔽了外 部网络的安全威胁, 同时增强了主机对智能信息家电的掌控能力; 并且由于 只需为智能信息家电分配总线地址, 因此不存在占用 IP地址资源的问题。
上述方案中,所述智能信息家电可以通过 PLC载波方式和 /或无线方式和 /或五类线方式接入所述适配单元。
所述主处理模块可以采用 USB协议和 /或 1394协议等总线协议与所述适 配单元进行通信, 因此, 所述步骤 2 中, 所述适配单元可以将所述广播消息 转换为带有设备接入信息的 USB信号或 1394总线信号; 所述步骤 3中, 所述 主处理模块可以将包含有一个空闲的 USB地址的 USB信号, 或者将包含有一 个空闲的 1394总线地址的 1394信号发送给所述适配单元; 所述步骤 4中, 所述适配单元存储所述 USB地址或 1394总线地址, 并将带有所述空闲的 USB 地址的 USB信号或带有空闲的 1394总线地址的 1394信号封装为单播消息; 所述步骤 6中 ,所述适配单元将存储的所述空闲的 USB地址或 1394总线地址 及 MAC地址转存入所述映射表中; 所述步驟 7中, 所述主处理模块将所述空 闲的 USB地址或 1394总线地址存入标为已使用的 USB地址表或 1394地址表 中。
作为本发明的一种改进, 当所述适配单元接收到所述广播消息后, 可以 先从所述映射表中查找接收到的所述智能信息家电的 MAC地址, 若查找到所 述 MAC地址, 则不作任何处理, 结束整个流程或者将所述广播消息转换为总 线信号发送给所述主处理模块, 结束整个流程; 若查找的结果为空, 则存储 所迷智能信息家电的 MAC地址。 从而避免了已接入智能信息家电被重复分配 总线地址的可能性。 由于重新接入的智能信息家电中存储的主处理模块的 MAC地址存在被删除的可能, 因此, 所述适配单元查找到所述智能信息家电 的 MAC地址后在结束整个流程之前, 还要向所述智能信息家电发送包含有 所述主处理模块的 MAC的消息。
作为本发明的另一种改进, 在所述适配单元处理所述广播消息的同时, 已接入所述适配单元的智能信息家电判断所述广播消息中的源 MAC地址是否 与存储的所述主处理模块的 MAC地址相同, 若相同, 则接收所述广播消息; 否则, 丟弃所述广播消息。 这样排除了新接入的智能信息家电发出的广播消 息对其他已接入的智能信息家电的千扰, 更加有效隔离了信息家电之间的相 互通信, 智能信息家电之间不进行通讯, 也不需要保留其他智能信息家电的 服务信息列表, 节省了家电成本。
为实现上述目的, 本发明还提供了一种家庭网络中为智能信息家电分配 地址的方法, 该方法包括以下步骤:
步骤 1,、 网络侧发送包含有所述网络侧的主机的 MAC地址的下行广播消 步據 2,、 智能信息家电接入网络后, 接收所述下行广播消息;
步骤 3,、所述智能信息家电解析所述下行广播消息,获取所述主机的 MAC 地址;
步骤 4,、 所述智能信息家电存储所述 MAC地址, 并以所述 MAC地址为目 的地址向所述网络侧发送包含有所述智能信息家电的 MAC地址的设备接入信 息;
步驟 5,、 所述网络侧为所述智能信息家电发送一个包含有空闲的总线地 址的总线分配信息, 并存储所述智能信息家电的 MAC地址和所述总线地址; 步骤 6,、 所述智能信息家电接收到所述总线分配地址信息后, 存储所述 总线地址。
网络侧通过在智能信息家电的 MAC地址与总线地址建立对应关系, 实现 了为智能信息家电分配总线地址, 并且无需使用其他更高层的协议, 简化了 协议栈, 使得家庭网络中的智能信息家电成为了家庭网络中主机的一个外部 设备, 而对于外部网络不可见, 大大提高了家庭网络的安全, P争低了设备本 身的复杂性, 有利于降低设备成本。
为实现上述目的, 本发明又提供了一种家庭网络中为智能信息家电子设 备分配地址的方法, 该方法包括以下步骤:
步骤 1"、 所迷智能信息家电中接入子设备后, 向家庭网络侧发送设备接 入信息;
步驟 2"、 所述家庭网络侧接收到所述设备接入信息后, 向所述智能信息 家电发送一个总线地址;
步骤 3"、 所述智能信息家电将所述总线地址转发送给所述子设备, 所述 子设备保存所述总线地址;
步骤 4"、 所述智能信息家电向所述家庭网络侧返回确认消息;
步驟 5"、所述家庭网络侧将所述总线地址保存到所述智能信息家电的 MAC 和总线地址的映射表中。
实现了为智能信息家子设备分配总线地址, 并且无需使用其他更高层的 协议, 简化了协议栈, 使得家庭网络中的智能信息家电子设备也成为了家庭 网络中主机的一个外部设备, 而对于外部网络不可见, 大大提高了家庭网络 的安全, 降低了设备本身的复杂性, 有利于降低设备成本。
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 附图说明
图 1为现有技术的协议栈示意图;
图 1为本发明家庭网络中为智能信息家电分配地址方法使用的协议栈示 意图;
图 3为本发明家庭网络中为智能信息家电分配地址方法中 USB标记包格 图 4为本发明家庭网络中为智能信息家电分配地址方法的第一较佳实施 例的流程图;
图 5为本发明家庭网络中为智能信息家电分配地址方法的第二较佳实施 例的流程图;
图 6为本发明家庭网络中为智能信息家电分配地址的方法的第三较佳实 施例的流程图;
图 7为本发明家庭网络中为智能信息家电分配地址的方法的第四较佳实 施例的部分流程图;
图 8为本发明家庭网络中为智能信息家电子设备分配地址的方法的较佳 实施例的流程图;
图 9为本发明家庭网络中为智能信息家电子设备分配地址的方法的另一 较佳实施例的流程图。 具体实施方式
家庭网关系统的通信协议栈主要采取如图 2所示的一种方式, 底层为物 理层协议 C1 , 上一层为以太网协议 C2, 再上一层为总线协议 C3, 最高层为 应用协议 C4。 其中, 物理层的接入方式可以有多种, 包括: PLC载波、 无线 方式、 五类线方式等, 也可以其任意组合, 智能信息家电由此接入适配单元。 总线协议优先采用 USB协议, 以太网层主要完成底层信息和 USB层信息与以 太网信息的适配, 向高层屏蔽底层所采用的具体技术, 并且完成某些基于以 太网 MAC地址寻址的功能。 USB层主要提供了设备即插即用的功能, 以及各 智能信息家电与主机模块交互信息的能力。 应用层主要提供更为丰富的服务 信息, 可靠安全的通信保证等能力。
我们通常所了解的以太网主要都是通过现有的 ARP或 SARP等地址解析技 术完成与 IP地址的某种映射关系从而实现消息的正确传送。但是对于家庭网 关系统来说, 采取了非 IP网的形式, 这就需要完成以太网 MAC地址与 USB层 地址的映射关系, 甚至是更高层的映射。
USB层通过特定的包格式可以实现主机模块的应用程序与指定外设的信 息交互, 其标记包格式如图 3所示, 由 PID字段 Bl、 ADDR字段 B2、 ENDP字 段 B3和 CRC5字段 B4组成。 其中, PID标记 B1字段为 8个比特, 分为标记、 数据、 握手、 专用四个类型, 其中标记包只能由主机控制模块发出, 用于与 外设的连接和输入输出方向的指定等。 地址字段为 7个比特, 最大可以连接 127个 USB外设。 ENDP字段 B2指明了智能信息家电的端口号, 方便主机需要 与一个以上端口通信时灵活寻址的能力, 最多可支持 16个端口。 CRC5字段 B4保证了地址和端口字段的正确性。
针对 USB的此种标记包格式, 本发明提出了在主机模块中设置 USB地址 与 MAC地址映射列表, 当主机需要与智能信息家电通信时, 它可通过查表获 取智能信息家电 MAC地址, 在 MAC层实现单播。 此外还可以根据实际需求, 实现基于某些智能信息家电的组 4番模式。 具体实施例如图 5所示。
图 4为本发明家庭网络中为智能信息家电分配地址方法的第一较佳实施 例的流程图, 具体执行以下步骤:
步骤 11、 智能信息家电发送一个带有所述智能信息家电的 MAC地址的广 播消息; 例如, 网关运行正常时, 有一台新智能信息家电加入, 比如是电视 机。 当电视机的电源线插进插座后, 它将自动发送一个带有电视机的 MAC地 址的广播消息(其中包括以太网上行广播消息)经电力线传输到 PLC滤波器, 然后经 PLC调制解调单元解调出以太网信号, 该信号将被送至适配单元。
步骤 12、适配单元接收到所述广播消息后,存储所述智能信息家电的 MAC 地址, 将所述广播消息转换为带有设备接入信息的总线信号, 并发送给主处 理模块;
本实施例中具体包括以下三步:
步骤 121、 适配单元接收到所述广播消息后, 通过分析广播消息的帧头 判断出目的地址是上行广播地址, 源地址是电视机 MAC地址; 步骤 122、 适配单元存储电视机的 MAC地址;
步驟 123、 适配单元向主机设备的主处理模块发送一个设备接入的总线 信号。
当电视机处于频繁上下电情况时, 可能存在适配单元没有来得及删除这 台电视机的 MAC地址, 这样就会发生主处理模块为这台电视机重新分配一个 总线地址, 为了避免为一个 MAC地址重复分配 USB地址, 就需要首先从映射 表中已有的 MAC地址表里查找此 MAC地址, 若有, 则直接结束流程, 默认以 前分配的总线地址,或者向主处理模块发送一个电视机重新接入的总线信号, 然后结束流程; 一般情况下, 智能信息家电快速上下电的情况下, 其存储的 主处理模块的 MAC地址不会被删除,但是为了以防 MAC地址被删除带来问题, 在结束流程前, 还可以向智能信息家电发送一个包含有主处理模块的 MAC地 址的总线信号; 若映射表中没有电视机的 MAC地址, 则表明此 MAC地址是第 一次出现, 这时才存储此地址并向主机设备的主处理模块发送一个 USB设备 接入的总线信号, 发送给主机设备的主处理模块。 一般情况下, 由于已接入 的智能信息家电发出的消息为单播消息, 因此, 可以不必进行查找;
此时, 如果已接入主机的智能信息家电可能也会收到新加入智能信息家 电发送的广播消息, 就首先判断所述广播消息中的源 MAC地址是否与存储的 主处理模块的 MAC地址相同, 若相同, 则接收所述广播消息; 否则, 就丟弃 这个广播消息。 从而就有效隔离了信息家电之间的相互通信, 使智能信息家 电统一受控于主机设备。
步骤 13、 所述主处理模块将包含有一个空闲的总线地址的总线信号发送 给所述适配单元; 本实施例中具体包括以下两步:
步骤 131、主机设备中的主处理模块检测到设备接入信号后,知道一个新 的设备加入, 找出一个空闲的 USB地址;
步骤 132、主处理模块将包含有空闲的 USB地址的总线信号发送给适配单 元; 步骤 14、 适配单元的适配单元将此信号中空闲的 USB地址存入緩存中, 并且把主机的以太网地址作为源地址, 把存储的电视机的 MAC地址作为目的 地址, 将 USB信号封装在以太网帧中发送出去;
步骤 15、 所述智能信息家电接收到所述单播消息后, 解析获得所述主处 理模块的 MAC地址以及分配的 USB地址, 并存储, 向所述适配单元返回确认 消息; 本实施例中, 具体包括以下两步:
步骤 151、 当封装有 USB信号的以太网帧经电力线传输到达电视机, 电视 机的处理单元会解析出来自主处理模块的信号, 获得主处理模块的 MAC地址 以及分配的 USB地址, 并存储;
步骤 152、 电视机的处理单元返回确认包给主机设备;
步骤 16、 所述适配单元将所述存储的空闲的总线地址及所述智能信息家 电的 MAC地址转存入用于记录总线地址与 MAC地址的映射关系的映射表中, 并向所述主处理模块返回带有确认消息的总线信号; 本实施例中, 具体包括 以下两步:
步驟 161、适配单元接收到确认包后, 将先前存储的 USB地址和电视机的 MAC地址存入总线地址与 MAC地址的映射表中;
步聚 162、适配单元向主处理模块返回一个确认包,将电视机的 USB地址 已经分配完毕的消息通过一个 USB信号告知主处理模块;
步骤 17、 所述主处理模块接收到所述确认消息后, 将所述空闲的总线地 址存入标为已使用的总线地址表中;例如,主机设备的主处理模块接收到 USB 地址已分配完毕的消息后, 将 USB地址存入标为已使用的总线地址列表中。
这时主机设备就通过适配单元由主处理模块为电视机分配了总线地址, 这样, 接下来它就可以获取电视机的一些简单配置信息, 从外网服务器上得 知此电视机可以提供哪些具体的服务, 从而用户在家庭内通过主机设备得知 此信息。 此外, 如果用户在家庭外面, 还可以通过外网服务器以及网关达到 控制电视机的目的。 图 5为本发明家庭网络中为智能信息家电分配地址方法的第二较佳实施 例的流程图, 本实施例以微波炉为例, 具体执行以下步骤:
步骤 21、 网关运行正常时, 微波炉通过五类线接入主机设备的适配单元 后, 自动发送一个带有微波炉的 MAC地址的广播消息(其中包括以太网上行 广播消息) 经五类线传输至适配单元。
步骤 22、 适配单元解析广播消息得到微波炉的 MAC地址, 然后存储, 向主处理模块发送一个设备接入信号; 具体包括以下三步:
步骤 221、 适配单元接收到所述广播消息后, 通过分析广播消息的帧头 判断出目的地址是上行广播地址, 源地址是微波炉的 MAC地址;
步骤 222、 适配单元存储微波炉的 MAC地址;
步骤 223、 适配单元向主机设备的主处理模块发送一个设备接入的总线 信号。
当 1波炉处于频繁上下电情况时, 可能存在适配单元没有来得及删除这 台微波炉的 MAC地址, 这样就会发生主处理模块为这台微波炉重新分配一个 总线地址, 为了避免为一个 MAC地址重复分配 USB地址, 就需要首先从映射 表中已有的 MAC地址表里查找此 MAC地址, 若有, 则直接结束流程, 默认以 前分配的总线地址,或者向主处理模块发送一个微波炉重新接入的总线信号, 然后结束流程; 一般情况下, 智能信息家电快速插拔的情况下, 其存储的主 处理模块的 MAC地址不会被删除, 但是为了以防 MAC地址被删除带来问题, 在结束流程前, 还可以向智能信息家电发送一个包含有主处理模块的 MAC地 址的总线信号; 若映射表中没有微波炉的 MAC地址, 则表明此 MAC地址是第 一次出现, 这时才存储此地址并向主机设备的主处理模块发送一个 USB设备 接入的总线信号, 发送给主机设备的主处理模块。 一般情况下, 由于已接入 的智能信息家电发出的消息为单播消息, 因此, 可以不必进行查找;
此时, 如果已接入主机设备的智能信息家电如电视机可能也会收到新加 入的微波炉发送的广播消息, 就首先判断所述广播消息中的源 MAC地址是否 与存储的主处理模块的 MAC地址相同, 若相同, 则接收所述广播消息; 否则, 就丢弃这个广播消息。 从而就有效隔离了电视机和微波炉之间的相互通信, 使电视机和微波炉等智能信息家电统一受控于主机设备。
步骤 23、 主机设备封装一个空闲的 USB地址的总线信号并发送给适配单 元; 具体包括以下两步:
步驟 231、主机设备的主处理模块检测到设备接入信号后,知道一个新的 设备加入, 找出一个空闲的 USB地址;
步骤 232、 主处理模块将包含有空闲的 USB地址的总线信号发送适配单 元;
步骤 24、 适配单元的适配单元将此信号中空闲的 USB地址存入緩存中, 并且把主机的以太网地址作为源地址, 把存储的微波炉的 MAC地址作为目的 地址, 将 USB信号封装在以太网帧中发送出去;
步骤 25、 微波炉的处理单元解析获得主处理模块的 MAC地址以及主处理 模块分配的 USB地址, 并存储, 返回确认包; 具体包括以下两步:
步驟 251、封装有 USB信号的以太网帧经五类线传输到达微波炉,微波炉 的处理单元会解析出来自主处理模块的信号, 获得主处理模块的 MAC地址以 及 USB地址, 并存储;
步骤 252、 微波炉的处理单元返回确认包给主机设备; 并向主处理模块返回确认包; 具体包括以下两步:
步骤 261、 当适配单元中的适配单元接收到确认包后, 将先前存储的 USB 地址和敫波炉的 MAC地址存入总线地址与 MAC地址的映射表中;
步骤 262、适配单元给主处理模块返回确认包,将微波炉的 USB地址已经 分配完毕的消息通过一个 USB信号告知主处理模块;
步骤 27、 主机设备的主处理模块接收到 USB地址已分配完毕的消息后, 将 USB地址存入标为已使用的总线地址列表中。 这时主机设备就通过适配单元由主处理模块为微波炉分配了总线地址, 这样, 接下来它就可以获取微波炉的一些简单配置信息, 从外网服务器上得 知此微波炉可以提供哪些具体的服务, 从而用户在家庭内通过主机设备得知 此信息。 此外, 如果用户在家庭外面, 还可以通过外网服务器以及网关达到 控制 波炉的目的。
需要说明的是, 当智能信息家电为带有集线器的复合设备时, 主处理模 块给智能信息家电分配的总线地址实际上分配给了复合设备中的集线器。
本发明采用的总线协议可以为 USB协议、 1394协议等,这里较佳选用 USB 协议。
图 6为本发明家庭网絡中为智能信息家电分配地址的方法的第三较佳实 施例的流程图, 假设有一空调接入家庭网络中, 空调得到地址具体通过以下 流程来实现:
步骤 101、网络侧发送包含有所述网络侧的主机的 MAC地址的下行广播消 息。 本发明中提供的较佳的实施方式是: 网络侧的主机定期向家庭网络系统 发送以太网的广播帧, 其中帧头包含的源地址为主机 MAC地址, 目的地址是 自定义的主机到设备的下行广播的 MAC地址。
步骤 102、 智能信息家电接入网絡后, 接收所述下行广播消息。 如空调通 过上电接入到家庭网络中时, 就会接收到主机下发的广播帧。
步驟 103、 所述智能信息家电解析所述下行广播消息, 获取所述主机的 MAC地址。 如, 空调会从广播帧中提取主机的 MAC地址。
步骤 104、所述智能信息家电存储所述 MAC地址, 并以所述 MAC地址为目 的地址向所述网络侧发送包含有所述智能信息家电的 MAC地址的设备接入信 息。 空调得到主机的 MAC地址后, 以主机的 MAC地址为目的地址发送设备接 入信息, 该设备接入信息为包含有空调的 MAC地址的以太网帧。
为了避免为同一台设备重复分配地址, 可以在网络侧接收到所述设备接 入信息后, 根据已存储的 MAC地址表判断所述智能信息家电的 MAC地址是否 存在, 若是, 结束, 否则, 执行步驟 105。
步骤 105、 所述网络侧为所述智能信息家电发送一个包含有空闲的 USB 地址的总线分配信息,并存储所述智能信息家电的 MAC地址和所述 USB地址。 本发明为此步骤提供了较佳的实施方式, 具体包括以下步骤:
步骤 1051、网络侧的适配单元存储所述智能信息家电如空调的 MAC地址; 步骤 1052、 适配单元将所述设备接入信息转换为 USB信号反馈给网络侧 的主机;
步骤 1053、 主机接收到所述 USB信号后, 向适配单元发送包含有空闲的 USB地址的地址分配 USB信号;
步骤 1054、 适配单元接收到所述地址分配 USB信号后, 存储所述空闲的 USB地址, 并将该地址分配 USB信号封装为以太网帧发送给所述智能信息家 电。
步骤 106、 所述智能信息家电如空调接收到所述总线分配地址信息后, 存储所述 USB地址。
这时, 智能信息家电如空调就获得了总线地址, 使得智能信息家电作为 家庭网络中的主机的一个外部设备, 降低了设备本身的复杂性, 有利于降低 成本。
此外为了完善家庭网络中主机的对整个家庭网络中的智能信息家电的掌 控能力, 本发明还提供了另一较佳实施例, 本实施例的前六步骤与图 6相同, 在此省略, 不再贅述, 如图 7所示, 还包括以下步骤:
步骤 201、智能信息家电如空调获得了 USB地址后, 空调向所述网络侧返 回确认消息;
步骤 202、 所述网络侧接收到所述确认消息后, 将所述 USB地址转存到 智能信息家电设备的 MAC地址与 USB地址的映射表中。 本发明为此步錄提供 了较佳的实施方式, 具体包括以下步骤:
步骤 2021、 所述适配单元接收到所述确认消息后, 将存储的所述智能信 息家电如空调的 MAC地址和分配给所述智能信息家电的 USB地址存入 MAC地 址与 USB地址的映射表中;
步像 2022、 所述适配单元将所述确认消息转换为 USB信号反馈给所述主 机;
步骤 2023、 所述主机将分配给所述智能信息家电的 USB地址存入标为已 使用的 USB地址列表中。
本发明通过在网络侧建立智能信息家电的 MAC地址与总线地址的映射关 系, 进一步加强网络侧主机对智能信息家电的统一掌控能力。 并且采用总线 协议与以太网协议, 简化了协议栈的同时又保证了内部网络对外部网絡的不 可见性, 保证了家庭网关系统的安全。
对于带有集线器的复合设备, 集线器上插入如鼠标、 键盘等子设备时, 除了通过上述方案为复合设备分配地址外, 还需要进一步为其子设备分配地 址, 下面通过实施例作详细说明。
图 8为本发明家庭网络中为智能信息家电子设备分配地址的方法的较佳 实施例的流程图, 具体执行以下步驟:
步骤 301、所述智能信息家电中接入子设备后, 向家庭网络侧发送设备接 入信息。 本发明为此步骤提供了较佳的实施方式, 具体包括以下步骤:
步骤 3011、 子设备如鼠标插入到所述智能信息家电中的集线器的端口如 P2后, 所述集线器记录所述端口 P2的状态变化信息;
步骤 3012、 所述集线器在接收到由家庭网络侧通过所述处理单元发送的 读取信息后, 将所述端口 P2 的状态变化信息反馈给智能信息家电的处理单 元;
步骤 3013、所述处理单元接收到所述端口 P2的状态变化信息后,将所述 端口 P2 的状态变化信息以及所述智能信息家电的 MAC地址封装在以太网帧 中, 以存储的主处理模块的 MAC地址为目的地址进行发送。
步驟 302、所述家庭网络侧接收到所述设备接入信息后, 向所述智能信息 家电发送一个空闲的总线地址。 本发明为此步骤提供了较佳的实施方式, 具 体包括以下步
步骤 3021、 所述网路侧的适配单元接收到所述以太网帧后, 存储所述智 能信息家电的 MAC地址, 将所述以太网帧封装为总线消息发送给所述主处理 模块;
步驟 3022、 所述主处理模块解析所述总线消息, 获知所述集线器的端口 P2有设备接入;
步骤 3023、 所述主处理模块将包含有一个空闲的总线地址的总线消息发 送给所述适配单元;
步骤 3024、 所述适配单元存储所述主处理模块发送的总线消息中的总线 地址, 并将该总线消息封装为以太网帧发送给所述处理单元。
步骤 303、所述智能信息家电将所述总线地址转发送给所述子设备, 所述 子设备保存所述总线地址。 本发明为此步骤提供了较佳的实施方式, 具体为: 所述处理单元将包含有所述空闲的总线地址的以太网帧转换为总线消息通过 所述集线器发送给所述子设备。
步骤 304、所述智能信息家电向所述家庭网络侧返回确认消息。本发明为 此步骤提供了较佳的实施方式, 具体为: 所述子设备接收到包含有所述空闲 的总线地址的总线消息后, 存储所述空闲的总线地址, 并向通过所述集线器 和处理单元向所述适配单元返回确认消息。
步骤 305、所述家庭网络侧将所述空闲的总线地址保存到所述智能信息家 电的 MAC和总线地址的映射表中。 本发明为此步骤提供了较佳的实施方式, 具体包括以下步骤:
步骤 3051、 所述适配单元接收到所述确认消息后, 将所述空闲的总线地 址与所述智能信息家电的 MAC地址对应存入总线地址和 MAC地址的映射表中; 步骤 3052、 所述适配单元将所述确认消息转发给所述主处理模块; 步骤 3053、 所述主处理模块将所述空闲的总线地址存入标为已使用的总 线地址列表中。
这时, 智能信息家电子设备就获得了家庭网络侧分配的总线地址, 并成 为了家庭网络中主机的外部设备, 加强了家庭网络中主机的掌控能力, 使得 家庭网络中的智能信息家电设备对于外部网络不可见, 提高了家庭网络的安 全性, 有利于降低成本。
此外, 在子设备快速反复插拔的情况下, 家庭网络侧可能未删除设备的 地址记录, 这里提供另一较佳实施例, 如图 9所示, 本实施例除了在图 8中 的步骤 3022和步骤 3023之间进一步增加了以下步骤之外, 其佘部分与图 8 中的步骤相同, 因此在此省略, 不再赘述。
步骤 401、所述主处理模块根据存储的所述集线器的端口与总线地址的对 应关系表, 判断所述子设备接入的端口是否分配有总线地址, 若是, 执行步 骤 402; 否则, 执行步骤 3023;
步骤 402、 所述主处理模块将包含有所述子设备接入的端口对应的总线 地址的总线消息发送给所述适配单元, 然后执行步骤 3024 , 此时步驟 3024 以及之后的步 305、 3051、 3052、 3053中的总线地址相应的为已使用列表 中的总线地址, 并且步骤 3053可以省去。
最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制, 尽管参照较佳实施例对本发明进行了详细说明, 本领域的普通技术人员应当 理解, 可以对本发明的技术方案进行修改或者等同替换, 而不脱离本发明技 术方案的精神和范围。

Claims

权利 要 求
1、 一种家庭网络中为智能信息家电分配地址的方法, 其特征在于包括以 下步骤:
步骤 1、智能信息家电发送一个带有所述智能信息家电的 MAC地址的广播 消息;
步骤 2、 适配单元接收到所述广播消息后, 存储所述智能信息家电的 MAC 地址, 将所述广播消息转换为带有设备接入信息的总线信号, 并发送给主处 理模块;
步驟 3、所述主处理模块将包含有一个空闲的总线地址的总线信号发送给 所述适配单元;
步骤 4、所述适配单元存储所述空闲的总线地址,将带有所述空闲的总线 地址的总线信号封装为带有所述主处理模块的 MAC地址的单播消息, 并根据 存储的所述智能信息家电的 MAC地址将所述单播消息发送给所述智能信息家 电;
步骤 5、所述智能信息家电接收到所述单播消息后,解析获得所述主处理 模块的 MAC地址及所述空闲的总线地址, 并存储所述主处理模块的 MAC地址 及所述空闲的总线地址, 向所述适配单元返回确认消息;
步骤 6、所述适配单元将所述存储的空闲的总线地址及所述智能信息家电 的 MAC地址转存入用于记录总线地址与 MAC地址的映射关系的映射表中, 并 向所述主处理模块返回带有确认消息的总线信号;
步骤 7、所述主处理模块接收到所迷确认消息后,将所述空闲的总线地址 存入标为已使用的总线地址表中;
步骤 8、 结束。
1、 根据权利要求 1所述的方法, 其特征在于: 所述步骤 1中, 所述智能 信息家电通过 PLC载波方式和 /或无线方式和 /或五类线方式接入所述适配单 元》
3、 才 据权利要求 1或 2所述的方法, 其特征在于: 所述步驟 2中, 所述 适配单元将所述广播消息转换为带有设备接入信息的 USB信号。
4、 居权利要求 1或 2所述的方法, 其特征在于: 所述步骤 2中, 所述 适配单元接收到所述广播消息后, 存储所述智能信息家电的 MAC地址前, 从 所述映射表中查找接收到的所述智能信息家电的 MAC地址,若查找到所述 MAC 地址, 则执行所述步骤 8, 或者将所述广播消息转换为总线信号发送给所述 主处理模块, 执行所述步骤 8; 若查找的结果为空, 则存储所述智能信息家 电的 MAC地址。
5、 根据权利要求 4所述的方法, 其特征在于: 所述步骤 2中, 在所述适 配单元查找到所述 MAC地址后结束整个流程之前, 还要向所述智能信息家电 返回一个包含有所述主处理模块的 MAC地址的消息。
6、 根据权利要求 1或 2所述的方法, 其特征在于: 在执行所述步驟 2的 同时, 已接入所述适配单元的智能信息家电判断所述广播消息中的源 MAC地 址是否与存储的所述主处理模块的 MAC地址相同, 若相同, 则接收所述广播 消息; 否则, 丢弃所述广播消息。
7、 才艮据权利要求 1或 2所述的方法, 其特征在于: 所述步驟 3中, 所述 主处理模块将包含有一个空闲的 USB地址的 USB信号发送给所述适配单元。
8、 根据权利要求 1或 2所述的方法, 其特征在于: 所述步骤 4中, 所述 适配单元存储所述 USB地址, 并将带有所述空闲的 USB地址的 USB信号封装 为单播消息。
9、 根据权利要求 1或 2所述的方法, 其特征在于: 所述步骤 6中, 所述 适配单元将存储的所述空闲的 USB地址及 MAC地址转存入所述映射表中。
10、 据权利要求 1或 2所述的方法, 其特征在于: 所述步骤 7中, 所 迷主处理模块将所述空闲的 USB地址存入标为已使用的 USB地址表中。
11、 一种家庭网络中为智能信息家电分配地址的方法, 其特征在于, 包 括以下步骤:
步骤 al、 网络侧发送包含有所述网络侧的主机的 MAC地址的下行广播消 息;
步骤 a2、 智能信息家电接入网络后, 接收所述下行广播消息;
步驟 a3、所述智能信息家电解析所述下行广播消息,获取所述主机的 MAC 地址;
步錄 a4、 所述智能信息家电存储所述 MAC地址, 并以所述 MAC地址为目 的地址向所述网络侧发送包含有所述智能信息家电的 MAC地址的设备接入信 息;
步驟 a5、 所述网络侧为所述智能信息家电发送一个包含有空闲的总线地 址的总线分配信息, 并存储所述智能信息家电的 MAC地址和所述总线地址; 步骤 a6、 所述智能信息家电接收到所述总线分配地址信息后, 存储所述 总线地址。
12、根据权利要求 11所述的家庭网络中为智能信息家电分配地址的方法, 其特征在于, 所述步骤 al中, 所述网络侧中的主机定期向家庭网络系统中发 送所述下行广播消息。
13、 才艮据权利要求 11或 12所述的家庭网絡中为智能信息家电分配地址 的方法, 其特征在于, 所述步驟 a4和步骤 a5之间进一步包括: 所述网络侧 接收到所述设备接入信息后, 根据已存储的 MAC地址表判断所述智能信息家 电的 MAC地址是否存在, 若是, 结束, 否则, 执行步骤 a5。
14、 根据权利要求 11或 12所述的家庭网絡中为智能信息家电分配地址 的方法, 其特征在于, 所述步骤 a5具体包括:
步骤 a5l、 所述网络侧的适配单元存储所述智能信息家电的 MAC地址; 步驟 a52、所述适配单元将所述设备接入信息转换为总线信号反馈给所述 网络侧的主机;
步骤 a53、所述主机接收到所述总线信号后, 向所迷适配单元发送包含有 空闲的总线地址的地址分配总线信号;
步驟 a54、所述适配单元接收到所述地址分配总线信号后,存储所述空闲 的总线地址, 并将该地址分配总线信号封装为以太网帧发送给所述智能信息 家电。
15、 根据权利要求 11或 12所述的家庭网络中为智能信息家电分配地址 的方法, 其特征在于, 所述步骤 a6之后进一步包括步骤 a:
步骤 a61、 所述智能信息家电向所述网珞侧返回确认消息;
步驟 a62、所述网络侧接收到所述确认消息后, 将所述总线地址转存到智 能信息家电设备的 MAC地址与总线地址的映射表中。
16、根据权利要求 15所述的家庭网络中为智能信息家电分配地址的方法, 其特征在于, 所述步骤 a62具体包括以下步骤 a:
步驟 a71、所述适配单元接收到所述确认消息后,将存储的所述智能信息 家电的 MAC地址和分配给所述智能信息家电的总线地址存入 MAC地址与总线 地址的映射表中;
步驟 a72、 所述适配单元将所述确认消息转换为总线消息反馈给所述主 机;
步驟 a73、 所述主机将分配给所述智能信息家电的总线地址存入标为已 使用的总线地址列表中。
17、 一种家庭网络中为智能信息家电子设备分配地址的方法, 其特征在 于, 包括以下步驟:
步驟 bl、 所述智能信息家电中接入子设备后, 向家庭网络侧发送设备接 入信息;
步骤 b2、 所述家庭网络侧接收到所述设备接入信息后, 向所述智能信息 家电发送一个总线地址;
步骤 b3、 所述智能信息家电将所述总线地址转发送给所述子设备, 所述 子设备保存所述总线地址; 步骤 b4、 所述智能信息家电向所述家庭网络侧返回确认消息; 步骤 b 5、所述家庭网絡侧将所述总线地址保存到所述智能信息家电的 MAC 和总线地址的映射表中。
18、根据权利要求 17所述的家庭网络中为智能信息家电子设备分配地址 的方法, 其特征在于, 所述步骤 bl具体包括以下步探 b:
步驟 bll、所述子设备插入到所述智能信息家电中的集线器的端口后,所 述集线器记录所述端口的状态变化信息;
步驟 bl2、所述集线器在接收到由家庭网络侧通过所述处理单元发送的读 取信息后, 将所述状态变化信息反馈给智能信息家电的处理单元;
步驟 bl 3、所述处理单元接收到所述状态变化信息后,将所述状态变化信 息以及所述智能信息家电的 MAC地址封装在以太网帧中, 以存储的主处理模 块的 MAC地址为目的地址进行发送。
19、 根据权利要求 17或 18所述的家庭网络中为智能信息家电子设备分 配地址的方法, 其特征在于, 所述步骤 b2具体包括以下步驟 b:
步驟 b21、所述网路侧的适配单元接收到所述以太网帧后,存储所述智能 信息家电的 MAC地址, 将所述以太网帧封装为总线消息发送给所述主处理模 块;
步驟 b22、所述主处理模块解析所述总线消息,获知所述集线器的端口有 设备接入;
步驟 b23、所述主处理模块将包含有一个空闲的总线地址的总线消息发送 给所述适配单元;
步骤 b24、所述适配单元存储所述主处理模块发送的总线消息中的总线地 址, 并将该总线消息封装为以太网帧发送给所述处理单元。
20、根据权利要求 19所述的家庭网络中为智能信息家电子设备分配地址 的方法, 其特征在于, 所述步骤 b22和步驟 ½3之间进一步包括:
步橡 b21,、 所述主处理模块根据存储的所述集线器的端口与总线地址的 对应关系表, 判断所述子设备接入的端口是否分配有总线地址, 若是, 执行 步驟 b22,; 否则, 执行步骤 b23;
步骤 b22,、 所述主处理模块将包含有所述子设备接入的端口对应的总线 地址的总线消息发送给所述适配单元, 然后执行步糠 b24。
21、 根据权利要求 17或 18所述的家庭网络中为智能信息家电子设备分 配地址的方法, 其特征在于, 所述步骤 b3具体为: 所述处理单元将包含有所 述总线地址的以太网桢转换为总线消息通过所述集线器发送给所述子设备。
22、 根据权利要求 17或 18所述的家庭网络中为智能信息家电子设备分 配地址的方法, 其特征在于, 所述步骤 b4具体为: 所述子设备接收到包含有 所述总线地址的总线消息后, 存储所述总线地址, 并通过所述集线器和处理 单元向所述适配单元返回确认消息。
23、 根据权利要求 17或 18所述的家庭网络中为智能信息家电子设备分 配地址的方法, 其特征在于, 所述步骤 b5具体包括以下步驟 b:
步骤 b51、所述适配单元接收到所述确认消息后,将所述总线地址与所述 智能信息家电的 MAC地址对应存入总线地址和 MAC地址的映射表中;
步骤 b52、 所述适配单元将所述确认消息转发给所述主处理模块。
24、根据权利要求 23所述的家庭网络中为智能信息家电子设备分配地址 的方法, 其特征在于, 所述步骤 b52之后还进一步包括: 所述主处理模块将 所述总线地址存入标为已使用的总线地址列表中。
PCT/CN2007/001739 2006-05-29 2007-05-29 Procédé pour attribuer une adresse à un appareil domestique d'informations intelligent et sous-équipement dans le réseau domestique WO2007143912A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US12/302,484 US8065435B2 (en) 2006-05-29 2007-05-29 Method for assigning address to the intelligent information household appliance and the sub-equipment in the household network
JP2009511324A JP4818434B2 (ja) 2006-05-29 2007-05-29 ホームネットワークにおけるインテリジェント情報家電及びそのサブ設備に対するアドレス割当方法
EP07721312.2A EP2023539B1 (en) 2006-05-29 2007-05-29 A method for assigning address to the intelligent information household appliance and the sub-equipment in the household network

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200610081580.7 2006-05-29
CNB2006100815794A CN100461733C (zh) 2006-05-29 2006-05-29 家庭网络中为智能信息家电子设备分配地址的方法
CN200610081579.4 2006-05-29
CNB2006100815807A CN100440841C (zh) 2006-05-29 2006-05-29 家庭网络中为智能信息家电分配地址的方法

Publications (1)

Publication Number Publication Date
WO2007143912A1 true WO2007143912A1 (fr) 2007-12-21

Family

ID=38831407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001739 WO2007143912A1 (fr) 2006-05-29 2007-05-29 Procédé pour attribuer une adresse à un appareil domestique d'informations intelligent et sous-équipement dans le réseau domestique

Country Status (5)

Country Link
US (1) US8065435B2 (zh)
EP (1) EP2023539B1 (zh)
JP (1) JP4818434B2 (zh)
KR (1) KR101028138B1 (zh)
WO (1) WO2007143912A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157638A (zh) * 2021-12-17 2022-03-08 江苏三口井信息科技有限公司 一种新型配置智能断路器通信地址的系统及其方法

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7885205B2 (en) * 2007-04-17 2011-02-08 Hewlett-Packard Development Company, L.P. Media access control (MAC) address management system and method
KR101563195B1 (ko) 2009-08-18 2015-10-27 삼성전자주식회사 호스트 장치 및 슬레이브 장치 제어 방법
CN102130977A (zh) * 2011-01-24 2011-07-20 中国第一汽车集团公司 点焊过程质量监控系统网络通讯方法
JP5474233B1 (ja) * 2013-04-26 2014-04-16 三菱電機株式会社 通信装置、アドレス管理方法、プログラム及び通信システム
CN103365283B (zh) * 2013-07-24 2016-03-30 管仲博 数字家庭控制的方法及装置
US9667486B2 (en) * 2013-08-30 2017-05-30 Vmware, Inc. System and method for network address administration and management in federated cloud computing networks
CN105182761B (zh) * 2015-07-31 2018-10-12 小米科技有限责任公司 指定操作触发方法及装置
US10862861B2 (en) 2016-01-07 2020-12-08 Hewlett-Packard Development Company, L.P. Use of a network address by a network accessory
BE1025606B1 (nl) * 2017-09-08 2019-04-29 Leen Geebelen Werkwijze voor het identificeren van modules gekoppeld aan een bussysteem, en een gebouwautomatiseringssysteem
JP6922814B2 (ja) * 2018-03-27 2021-08-18 オムロン株式会社 サポート装置、サポートプログラム、設定方法
CN113194462B (zh) * 2021-03-30 2023-03-21 北京和峰科技有限公司 节点地址分配方法、装置、存储介质及电子设备
CN113347048B (zh) * 2021-07-28 2021-11-02 浙江国利信安科技有限公司 自适应调整网络组态的方法、节点设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002054682A1 (fr) * 2000-12-27 2002-07-11 Matsushita Electric Industrial Co., Ltd. Traitement de routage et procede pour systeme de bus domestique
US6658517B1 (en) * 1999-08-10 2003-12-02 Panasonic Communications Co., Ltd. Communication controlling apparatus and serial bus managing apparatus
CN1476201A (zh) * 2002-08-19 2004-02-18 乐金电子(天津)电器有限公司 家庭网络系统的产品地址设定方法

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4773005A (en) * 1984-09-07 1988-09-20 Tektronix, Inc. Dynamic address assignment system
FR2671884A1 (fr) * 1991-01-17 1992-07-24 Moulinex Sa Procede d'attribution d'adresses dans un reseau domotique.
US6006261A (en) * 1997-08-29 1999-12-21 International Business Machines Corporation Internet protocol assists using multi-path channel protocol
US6496862B1 (en) * 1998-08-25 2002-12-17 Mitsubishi Electric Research Laboratories, Inc. Remote monitoring and control of devices connected to an IEEE 1394 bus via a gateway device
JP3359594B2 (ja) 1999-07-13 2002-12-24 松下電器産業株式会社 ホームバスシステムにおけるルーティング方法
US6611525B1 (en) * 1999-10-07 2003-08-26 3Com Corporation Apparatus for and method of learning MAC addresses in a LAN emulation network
US20030037166A1 (en) 2000-12-27 2003-02-20 Reiko Ueno Routing processing and method for home bus system
US6977939B2 (en) * 2001-01-26 2005-12-20 Microsoft Corporation Method and apparatus for emulating ethernet functionality over a serial bus
JP2002368776A (ja) * 2001-06-07 2002-12-20 Sony Corp 情報処理装置および方法、情報処理システム、記録媒体、並びにプログラム
US6596108B2 (en) 2001-10-10 2003-07-22 Curt G. Joa, Inc. Web velocity modulator
US7428586B2 (en) * 2002-03-12 2008-09-23 Intel Corporation System and method for discovering undiscovered nodes using a registry bit in a point-to-multipoint network
KR100420526B1 (ko) * 2002-03-15 2004-03-02 엘지전자 주식회사 가전기기 네트워크 시스템 및 그 제어방법
US20040098504A1 (en) 2002-08-27 2004-05-20 Matsushita Electric Industrial Co., Ltd. Routing processing and method in home bus system
EP1625696B1 (en) * 2003-05-13 2012-08-08 TELEFONAKTIEBOLAGET LM ERICSSON (publ) An arrangement and a method relating to ethernet access systems
JP2005250881A (ja) * 2004-03-04 2005-09-15 Sony Corp 情報処理装置、および情報処理方法、並びにコンピュータ・プログラム
JP3960321B2 (ja) * 2004-04-30 2007-08-15 ソニー株式会社 電子機器
US8601159B2 (en) * 2005-09-27 2013-12-03 Microsoft Corporation Distributing and arbitrating media access control addresses on ethernet network
US8391354B2 (en) * 2007-05-14 2013-03-05 Broadcom Corporation Method and system for transforming uncompressed video traffic to network-aware ethernet traffic with A/V bridging capabilities and A/V bridging extensions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658517B1 (en) * 1999-08-10 2003-12-02 Panasonic Communications Co., Ltd. Communication controlling apparatus and serial bus managing apparatus
WO2002054682A1 (fr) * 2000-12-27 2002-07-11 Matsushita Electric Industrial Co., Ltd. Traitement de routage et procede pour systeme de bus domestique
CN1476201A (zh) * 2002-08-19 2004-02-18 乐金电子(天津)电器有限公司 家庭网络系统的产品地址设定方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2023539A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157638A (zh) * 2021-12-17 2022-03-08 江苏三口井信息科技有限公司 一种新型配置智能断路器通信地址的系统及其方法

Also Published As

Publication number Publication date
JP2009538067A (ja) 2009-10-29
US20090182858A1 (en) 2009-07-16
US8065435B2 (en) 2011-11-22
EP2023539A4 (en) 2010-04-28
KR101028138B1 (ko) 2011-04-08
EP2023539B1 (en) 2013-11-06
JP4818434B2 (ja) 2011-11-16
KR20090016681A (ko) 2009-02-17
EP2023539A1 (en) 2009-02-11

Similar Documents

Publication Publication Date Title
WO2007143912A1 (fr) Procédé pour attribuer une adresse à un appareil domestique d'informations intelligent et sous-équipement dans le réseau domestique
CN100450058C (zh) 家庭网络中为智能信息家电分配地址的方法
EP1863189B1 (en) Network control system for home appliances
JP4851675B2 (ja) デバイス相互運用性向上のための装置および方法
EP1345381B1 (en) Apparatus and method for providing information on home network devices via internet
CN1181677C (zh) 用于经数字总线控制外围设备的数字电视设备
US8036235B2 (en) Home gateway device
US20060159110A1 (en) Open service gateway initiative-based home gateway apparatus and device registration method thereof
US20020040397A1 (en) IP based network system and networking method thereof
KR100512959B1 (ko) 멀티홈 서비스 시스템
JP2002501251A (ja) ユニバーサル・データ交換ゲートウエイのための方法および装置
JP2004513562A (ja) デバイスのリモートグループを相互運用するためのブリッジングシステム
JP2003204345A (ja) 通信システム、パケット中継装置、パケット中継方法、及び中継プログラム
CN100461733C (zh) 家庭网络中为智能信息家电子设备分配地址的方法
JP2007513403A (ja) デュアルスタックUPnP装置の帯域節約の発見
WO2013023429A1 (zh) 子网关装置、系统及处理终端设备数据的方法
US6298069B1 (en) System and method for implementing self-device control modules in an electronic network
CN100440841C (zh) 家庭网络中为智能信息家电分配地址的方法
CN110045705A (zh) 采用异构无线网络的智能家居控制方法、装置及系统
US20060072618A1 (en) Packet-sending communication apparatus with forwarding-address automatic-recognition function, communication system and programs thereof
CN101655271B (zh) 一种基于蓝牙技术的网络空调控制系统
KR100455125B1 (ko) 유피엔피(UPnP) 네트워크 상의 컨트롤 포인트 기능분산 시스템
Park et al. Multimedia room bridge adapter for seamless interoperability between heterogeneous home network devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721312

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2007721312

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 12302484

Country of ref document: US

Ref document number: 2009511324

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 1020087029314

Country of ref document: KR

NENP Non-entry into the national phase

Ref country code: DE