CN1387345A - Communication method between digital home network gateway and main gateway - Google Patents

Communication method between digital home network gateway and main gateway Download PDF

Info

Publication number
CN1387345A
CN1387345A CN 02124249 CN02124249A CN1387345A CN 1387345 A CN1387345 A CN 1387345A CN 02124249 CN02124249 CN 02124249 CN 02124249 A CN02124249 A CN 02124249A CN 1387345 A CN1387345 A CN 1387345A
Authority
CN
China
Prior art keywords
gateway
equipment
data packet
network
communication
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 02124249
Other languages
Chinese (zh)
Other versions
CN1177440C (en
Inventor
曹京伟
王陆冰
王晓娟
于志杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Technology Co.,Ltd.
The Great Wall, Beijing Kerry Jia Information Technology Co.,Ltd.
Original Assignee
CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING
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
Application filed by CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING filed Critical CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING
Priority to CNB021242496A priority Critical patent/CN1177440C/en
Publication of CN1387345A publication Critical patent/CN1387345A/en
Application granted granted Critical
Publication of CN1177440C publication Critical patent/CN1177440C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a communication method between gateways of the digital home networks. The method and its characters include follows. (1) The gateway of the home control sub-network obtains IP address from the main gateway through dynamic host control protocol. (2) Through sending the registering command data package, the main gateway applies the gateway of the sub-network for the registration. (3) By using the setup command and the read command, the gateway reads out the state parameter of each device from the gateway of the sub-network or sets up the state parameter of each device. (4) By using the report command, the gateway of the sub-network provides information for the main gateway, making the main gateway realize the whole state of the home control sub-network.

Description

The means of communication between the digital home network gateway
Technical field
The present invention relates to the means of communication between the digital home network gateway.
Background technology
Along with improving constantly of people's consumption demand, also to have higher requirement for the ease for use and the affinity of household appliances, safe, easy-to-use, comfortable product more and more is subjected to people's favor, the product demand of hommization thereby day by day displayed.Following household appliances will more and more be tending towards networking, intelligent, personalized, hommization, become information terminal, provide services on the Internet.
International, domestic well-known IT enterprises and traditional home appliance manufacturer jointly open up network home appliance one after another, and information technology, network technology are introduced the household electrical appliances production field, and information-based household electrical appliances new products such as network refrigerator, network microwave oven, network air-conditioner emerge in an endless stream.
The network home appliance product has driven the development of related industries such as wired home, intelligent residential district, has the repayment of considerable market prospects and interests.
The network home appliance product is because its very high technology content and huge market potential have become one of household appliances enterprise's high-tech and the prospective standard weighed.
Domestic network electrical appliance industry some problems under current development situation:
Because the influence of media and communications guiding, ordinary consumer is when mentioning " network home appliance ", what at first expect is exactly the product of set-top box and so on, and the application of information technology in field of household appliances should be more extensive in fact, also should be actual and far-reaching more to people's life influence.
Successfully develop cooperatively the example of network home appliance from external many well-known manufacturers, IT enterprises and traditional home appliance enterprise have his own strong points as can be seen, and in this emerging field, both sides should close cooperation, gives full play to advantage separately, expansion development space separately.
Current standard and the agreement that the multiple network household electrical appliances are arranged in the world, we can not follow a certain standard blindly, but should make according to actual conditions, meet the standard and the agreement of current household electrical appliances developing direction, make oneself to stand on the favourable relatively competitive position.
The digital home network solution is arisen at the historic moment under such a case.It is the application for a patent for invention (application number: 02103815.5) of " digital family network system " that the applicant proposes denomination of invention on March 27th, 2002 to Intellectual Property Right Bureau of the RPC.The digital home network solution is a cover solution that meets current household electrical appliances development situation, realizes the family digital network, scheme has embodied a concentrated reflection of digital home network will meet the certain standard agreement, realize the method that portable terminal control combines with network terminal control, be that many intelligent appliances can perhaps can be controlled by net control terminal on INTERNET with a mobile control terminal.
The applicant proposes the application for a patent for invention (application number: 02103816.3) that denomination of invention is " method of the control of information household appliances and mutual visit in the digital home network " on March 27th, 2002 to Intellectual Property Right Bureau of the RPC.This method can make in the digital home network information household appliances keep versatility, makes the information household appliances that different vendor produces can seamless adding digital home network, and makes product have the ability of adding new function, can visit mutually between the information household appliances simultaneously.
The content that relates to digital home network and device file among the application sees also above-mentioned two patent applications.
Summary of the invention
The object of the present invention is to provide a kind of method of carrying out communication between the digital home network gateway.
The means of communication between the digital home network gateway, its characteristics are:
This method comprises the steps:
(1) the home automation control network gateway obtains the IP address by DHCP (Dynamic Host Control Protocol) from primary gateway;
(2) primary gateway is applied for the registration of to subnet gateway by sending the log-in command packet, and subnet gateway receives this order back and sends confirmation, then succeeds in registration.After succeeding in registration, primary gateway in all communication data packet numbering then be the sign that subnet gateway and primary gateway are confirmed the other side's identity, and subnet gateway only accepts to number from primary gateway IP address and major network the request of correct packet;
(3) primary gateway by be provided with, reading order reads the state parameter of each equipment or the state parameter of each equipment is set from subnet gateway;
(4) subnet gateway provides the device description file of each equipment, the state parameter of each equipment, the contents such as device registry of each equipment connection status by reporting order to primary gateway, makes primary gateway understand the state of whole home automation control network;
(5) subnet gateway sends the device file of certain equipment in its home automation control network of controlling or represents that each equipment of whole home automation control network connects the device registry of situation to primary gateway by embarkation order.Primary gateway is carried out the maintenance of the equipment control form of the conversion of device file and webpage and self inside after receiving home appliance file or device registry;
(6) before primary gateway, subnet gateway are closed, then before closing, initiate log off procedure by the side of closing.Confirm that if de-registration request obtains the other side then the numbering of the major network in this registering communication is invalid, before registration next time, subnet gateway is not accepted the request of any primary gateway.
Digital home network is made up of net control terminal, mobile control terminal and a plurality of communication module transmission and reception apparatus, and the main effect of net control terminal is by Internet network control intelligent appliance, also can carry out tame electric control by local computer.Net control terminal has following characteristics:
(1) net control terminal has provided man-machine interface clearly, can enter the control options interface of any electrical equipment, controls all controlled function of each household electrical appliances, operates very simply, and is that the user comes into plain view.
(2) net control terminal also has the function of the various household electrical appliances of management, join in the domestic network system as new household electrical appliances, net control terminal has the increase option, can add new equipment by adding the device file of being formulated by the DEVICEFILE agreement.Net control terminal also has deletion can not use the function of device option.
(3) communication module that net control terminal and each household electrical appliances had can carry out exchanges data by wired RS485 communication and wireless telecommunications dual mode, has improved the versatility of itself.Communications protocol between net control terminal and each communication module is digital home network (DHN) communications protocol standard.
The effect of mobile control terminal is by the mode of wireless telecommunications existing intelligent appliance in the present family to be carried out centralized control.Mobile control terminal has following characteristics:
(1) mobile control terminal has a man-machine interface clearly, can show the electrical equipment that family is all by the screen on it, by the button on the mobile control terminal keyboard, can enter the control options interface of any electrical equipment, all controlled function that comprise these household electrical appliances in the control options interface, selecting each controlled function option can control this function of these household electrical appliances, operate very simply, and is that the user comes into plain view.
(2) mobile control terminal is to carry out communication by wireless communication modes, can not be subjected to the restriction of barrier, can control each home appliance that moves on the control terminal in coverage, and control is more reliable.
(3) mobile control terminal also has the function of the various household electrical appliances of management, join in the domestic network system as new household electrical appliances, mobile control terminal has the increase option, can add new equipment by adding the device file of being formulated by the DEVICEFILE agreement.Mobile control terminal also has deletion can not use the function of device option.
(4) communication module that mobile control terminal and each household electrical appliances had can carry out exchanges data by wireless communication mode, and the communications protocol between mobile control terminal and each communication module is digital home network (DHN) network communication protocol standard.
A communication module is set in each home appliance, this communication module comprises wired RS485 communication and two kinds of communication modes of wireless telecommunications, it mainly acts on is by using digital home network (DHN) communications protocol standard and net control terminal and mobile control terminal to carry out exchanges data, realize that with this household electrical appliances that this equipment is connected control, transmission meets the device file of DEVICEFILE protocol specification when increasing equipment.
Description of drawings
Fig. 1 is a digital family network system structrual description block diagram
Fig. 2 is the digital family network system block diagram
Embodiment
Digital home network is made up of net control terminal, mobile control terminal and a plurality of communication module transmission and reception apparatus, sees Fig. 1.The effect of various piece is respectively:
The main effect of net control terminal is by Internet network control intelligent appliance, also can carry out tame electric control by local computer.
After the user steps on the Internet network, open the home control network interface, according to each household electrical appliances option that shows on the interface, enter some families electric control interface, control this household electrical appliances.
The net control terminal of native system has following characteristics:
(1) net control terminal has provided man-machine interface clearly, can enter the control options interface of any electrical equipment, controls all controlled function of each household electrical appliances, operates very simply, and is that the user comes into plain view.
(2) net control terminal also has the function of the various household electrical appliances of management, join in the domestic network system as new household electrical appliances, net control terminal has the increase option, can add new equipment by adding the device file of being formulated by the DEVICEFILE agreement.Net control terminal also has deletion can not use the function of device option.
(3) communication module that net control terminal and each household electrical appliances had can carry out exchanges data by wired RS485 communication and wireless telecommunications dual mode, has improved the versatility of itself.Communications protocol between net control terminal and each communication module is digital home network (DHN) communications protocol standard.
The effect of mobile control terminal is by the mode of wireless telecommunications existing intelligent appliance in the present family to be carried out centralized control.
In the present family if household electrical appliances are carried out the words of remote control, want the corresponding remote controller of household electrical appliances, a lot of people are obscured each remote controller, to such an extent as to when controlling an electrical equipment mutually, which goes to differentiate is the remote controller of these household electrical appliances, and does not have display interface clearly.
The mobile control terminal of native system has following characteristics:
(1) mobile control terminal has a man-machine interface clearly, can show the electrical equipment that family is all by the screen on it, by the button on the mobile control terminal keyboard, can enter the control options interface of any electrical equipment, all controlled function that comprise these household electrical appliances in the control options interface, selecting each controlled function option can control this function of these household electrical appliances, operate very simply, and is that the user comes into plain view.
(2) mobile control terminal is to carry out communication by wireless communication modes, can not be subjected to the restriction of barrier, can control each home appliance that moves on the control terminal in coverage, and control is more reliable.
(3) mobile control terminal also has the function of the various household electrical appliances of management, join in the domestic network system as new household electrical appliances, mobile control terminal has the increase option, can add new equipment by adding the device file of being formulated by the DEVICEFILE agreement.Mobile control terminal also has deletion can not use the function of device option.
(4) communication module that mobile control terminal and each household electrical appliances had can carry out exchanges data by wireless communication mode, and the communications protocol between mobile control terminal and each communication module is digital home network (DHN) network communication protocol standard.
A communication module is set in each home appliance, this communication module comprises wired RS485 communication and two kinds of communication modes of wireless telecommunications, it mainly acts on is by using digital home network (DHN) communications protocol standard and net control terminal and mobile control terminal to carry out exchanges data, realize that with this household electrical appliances that this equipment is connected control, transmission meets the device file of DEVICEFILE protocol specification when increasing equipment.
As shown in Figure 2, the user visits primary gateway by Internet, the various device in visit and the control family major network.The home automation control network gateway is communicated by letter with primary gateway with ICP/IP protocol by ethernet network interface as an equipment in the major network, provides the state of various device in the home automation control network to primary gateway; The report new equipment adding, withdraw from situation.The user visits primary gateway by Internet, and primary gateway is carried out authentication to remote access person; The user carries out operation of equipment and control by the Web page on the primary gateway; Primary gateway is monitored all devices by subnet gateway and home automation control network.
Subnet gateway is as an equipment in the major network, and it need support DHCP (Dynamic Host Control Protocol) (RFC2131), and primary gateway also need be supported DHCP (Dynamic Host Control Protocol).Subnet gateway is communicated by letter with the DHCP service end on the primary gateway as the client of DHCP, obtains the IP address automatically.
Communication protocol between primary gateway and the subnet gateway is based on the application protocol of TCP, and its port numbers is 1088, realizes communicating by letter between primary gateway and the subnet gateway.In addition, consider the safety issue of user by Internet remote access, control appliance the time, the remote equipment access control can only be undertaken by primary gateway.That is: remote access control is directly to the visit of primary gateway, to the control of the equipment in the home automation control network, by between primary gateway and the subnet gateway communicate by letter and subnet gateway and equipment between the realization of communicating by letter.Subnet gateway is as the communication interface of home automation control network in major network, only accept the communication request of primary gateway, this agreement has stipulated that primary gateway is at the subnet gateway registering functional, subnet gateway only responds the communication request of registered primary gateway, thus the primary gateway visit that the information in the home automation control network that guarantees can only be authorized to.Describe the form of communication data packet below in detail, see the following form.
Protocol version Keep Type of data packet Data packet length The major network numbering Data
????2bits ??2bits 4bits ???2Bytes ??2Bytes ??0-512K ???Bytes
Frame head Frame data
Wherein: protocol version: 2, the expression communication protocol version is 1 at present.Keep: 2, be used for later protocol extension, there is not definition at present.Type of data packet: 4, be used for the type of presentation protocol packet, concrete definition sees table: described type of data packet comprises registration, nullifies, is provided with, reads, reports, uploads, affirmation and reserved part.
Type of data packet Explanation Function
?????0 Registration Primary gateway is registered to subnet gateway
?????1 Nullify Primary gateway is nullified to subnet gateway
?????2 Be provided with Primary gateway is to the parameter that is provided with of subnet
?????3 Read Primary gateway reads the parameter of subnet
?????4 Report Subnet gateway is reported parameter to primary gateway
?????5 Upload Subnet gateway sends home appliance file or household electrical appliances registration table to primary gateway
?????6 Confirm The affirmation of communication
????7-15 Reserve
Data packet length: 2 bytes, represent that this packet does not comprise the length of the frame data of frame head, unit is 8 bytes.
The major network numbering: 2 bytes, selected at random by primary gateway, in the primary gateway and subnet gateway communication process of primary gateway after the subnet gateway registration, be used to confirm the identity of primary gateway.
Data: the data in the packet.
The data packet format of log-in command is: type of data packet is 0, and packet data comprises the IP of primary gateway of 6 bytes and the major network numbering of 2 bytes.
The log-on data packet format sees the following form:
Type of data packet The data of packet
?????0 The IP 6Bytes of primary gateway Major network numbering 2Bytes
This packet is connected in the major network at subnet gateway, and by primary gateway with DHCP (Dynamic Host Control Protocol) distributing IP address after, send to the registration packet of subnet gateway by primary gateway, after subnet gateway request of receiving and the affirmation, in the communication afterwards, subnet gateway is only accepted the communication request from primary gateway IP address and the major network numbering primary gateway consistent with registration first.
The major network numbering is selected at random by primary gateway, and the length of 2 bytes is mainly for fear of visit, the control of unauthorized primary gateway to subnet gateway.In case selected, effective before the registration next time after primary gateway is nullified.When re-registering, the major network numbering can be selected again at random.
The data packet format of nullifying order is: type of data packet is 1, and packet data comprises the IP of primary gateway of 6 bytes and the major network numbering of 2 bytes.
Nullify data packet format such as following table:
Type of data packet The data of packet
????1 The IP 6Bytes of primary gateway Major network numbering 2Bytes
Close in primary gateway, subnet gateway closes, or when changing primary gateway, send to subnet gateway by primary gateway, or subnet gateway sends to the cancellation packet of primary gateway.Receive this packet the recipient, and under the situation that the affirmation major network is numbered, primary gateway IP is correct, provide the affirmation packet.After cancellation came into force, before registration next time, subnet gateway was not accepted the communication request from any equipment.After the cancellation, the major network numbering lost efficacy simultaneously, when registering, reselected the major network numbering next time.
The data packet format that order is set is: type of data packet is 2, packet data comprise the UDS of the equipment that will be provided with of 6 bytes, 1 byte order number and corresponding equipment file be set order (each is provided with order is 32 bytes) is set.
Data packet format is set to see the following form:
Type of data packet The data of packet
?????2 The UDS 6Bytes of the equipment that is provided with Order number 1Bytes is set The corresponding equipment file 32 bytes of order are set Corresponding equipment 32 bytes of order are set Corresponding equipment 32 bytes of order are set
This packet is used for the parameter by certain equipment of control home automation control network of primary gateway transmission.Comprising the order that is provided with of: the sign of corresponding equipment and the parameter correspondence that will be provided with, this order is provided by the device file of this equipment.One is provided with a plurality of parameters that command packet can be provided with certain equipment simultaneously, and the number of parameter indicates with the integer of 1 byte, and promptly one is provided with command packet and simultaneously 255 parameters can be set at most.Each parameter is provided with order no longer than 32 bytes.
After subnet gateway receives this order, carry out corresponding operation, and return to the affirmation of primary gateway operation success or not by home automation control network.
The data packet format of reading order is: type of data packet is 3, and packet data comprises the reading order number of the UDS of the equipment that will read of 6 bytes, 1 byte and the reading order of corresponding equipment file (each reading order is 32 bytes).
The reading of data packet format sees the following form.
Type of data packet The data of packet
????3 The UDS 6Bytes of the equipment that reads Reading order number 1Bytes 32 bytes of the reading order of corresponding equipment file 32 bytes of the reading order of corresponding equipment 32 bytes of the reading order of corresponding equipment
This packet is used for the parameter that reads certain equipment of home automation control network by the primary gateway transmission.Comprising the reading order of: the sign of corresponding equipment and the parameter correspondence that will be provided with, this order is by the device file explanation of this equipment.
A read command packet can read a plurality of parameters of certain equipment simultaneously, and the number of parameter is by the integer explanation of 1 byte, and promptly a read command packet can read 255 parameters at most simultaneously.Each parameter reading order is no longer than 32 bytes.
Subnet gateway is operated accordingly by home automation control network after receiving this packet, and the parameter that reads sends to primary gateway to report packet.
The data packet format of reporting order is: type of data packet is 4, and packet data comprises the report number of parameters of the UDS of the equipment of being reported of 6 bytes, 1 byte and the parameter of corresponding equipment file (each reading order is 32 bytes)
The report data packet format sees the following form:
Type of data packet The data of packet
?????4 The UDS 6Bytes of the equipment of being reported Report the number 1Bytes of parameter 32 bytes of the parameter of corresponding equipment file 32 bytes of the parameter of corresponding equipment file 32 bytes of the parameter of corresponding equipment file
This packet is used for the parameter by certain equipment of home automation control network of controlling of subnet gateway transmission.Comprising: the sign of corresponding equipment and the parameter that will report and various abnormal information, this parameter is by the device file explanation of equipment.
Report a plurality of parameters that packet can be reported certain equipment simultaneously for one, the number of parameter is by the integer explanation of 1 byte, and promptly a report command packet can be reported 255 parameters simultaneously at most.Each parameter is no longer than 32 bytes.
This packet both can sent by subnet gateway by the reading order request of primary gateway.Also can initiatively send by subnet gateway.
The data packet format of embarkation order is: type of data packet is 5, and packet data comprises the UDS of the equipment that will upload of 6 bytes and the device file of corresponding device.
The packet format that uploads data sees the following form.
Type of data packet The data of packet
?????5 The UDS 6Bytes of the equipment of uploading The device file of corresponding device
This packet is used for the institute's device file of certain equipment of home automation control network of controlling that is sent by subnet gateway or represents the device registry of each equipment connection situation of whole home automation control network.Device file and device registry are distinguished by the equipment UDS in the packet, if UDS is the UDS of subnet gateway, upload device registration table then if the UDS of miscellaneous equipment, is then uploaded the device file of this equipment.
Primary gateway is carried out the maintenance of the equipment control form of the conversion of device file and webpage and self inside behind the device file that receives device registry or equipment.
The data packet format of confirming order is: type of data packet is 6, and packet data comprises the data content of affirmation type and 1 byte of 1 byte.
Confirm that data packet format sees the following form.
Type of data packet The data of packet
?????6 Confirm Class1 Byte Data content 1Byte
The recipient of packets such as this packet is used for above-mentioned registration, cancellation, be provided with, read handles the affirmation of received packet.Concrete definition sees the following form.
Confirm type Data content Explanation
?????0 The data of 1 byte 0 the expression succeed in registration 1 the expression registration failure
?????1 The data of 1 byte 0 expression is nullified successfully 1 expression and is nullified failure
?????2 The data of 1 byte 0 expression is provided with success 1 expression failure is set
?????3 The data of 1 byte 0 expression is read success 1 expression and is read failure
???4-255 The data of 1 byte Reserve
The means of communication between the digital home network gateway are:
(1) the home automation control network gateway obtains the IP address by DHCP (Dynamic Host Control Protocol) from primary gateway;
(2) primary gateway is applied for the registration of to subnet gateway by sending the log-in command packet, and subnet gateway receives this order back and sends confirmation, then succeeds in registration.After succeeding in registration, primary gateway in all communication data packet numbering then be the sign that subnet gateway and primary gateway are confirmed the other side's identity, and subnet gateway only accepts to number from primary gateway IP address and major network the request of correct packet;
(3) primary gateway by be provided with, reading order reads the state parameter of each equipment or the state parameter of each equipment is set from subnet gateway;
(4) subnet gateway provides the device description file of each equipment, the state parameter of each equipment, the contents such as device registry of each equipment connection status by reporting order to primary gateway, makes primary gateway understand the state of whole home automation control network;
(5) subnet gateway sends the device file of certain equipment in its home automation control network of controlling or represents that each equipment of whole home automation control network connects the device registry of situation to primary gateway by embarkation order.Primary gateway is carried out the maintenance of the equipment control form of the conversion of device file and webpage and self inside after receiving home appliance file or device registry;
(6) before primary gateway, subnet gateway are closed, then before closing, initiate log off procedure by the side of closing.Confirm that if de-registration request obtains the other side then the numbering of the major network in this registering communication is invalid, before registration next time, subnet gateway is not accepted the request of any primary gateway.
Primary gateway is communicated by letter with subnet gateway if desired, and then the equipment in the control home automation control network, need be registered on the subnet gateway.In case be registered on the subnet gateway, subnet gateway is only communicated by letter with a unique primary gateway that is registered to self, does not accept the communication request of other IP network equipment.
The process of registration is initiated by primary gateway.Primary gateway sends the log-in command packet, comprising the IP address of primary gateway, and the major network numbering of 2 bytes that generate at random by primary gateway, after subnet gateway received this order, subnet gateway then succeeded in registration after sending affirmation.After succeeding in registration, primary gateway in all communication data packet numbering then be the sign that subnet gateway and primary gateway are confirmed the other side's identity, and subnet gateway only accepts to number from primary gateway IP address and major network the request of correct packet.
Before primary gateway, subnet gateway are closed, then before closing, initiate log off procedure by the side of closing.Confirm that if de-registration request obtains the other side then the numbering of the major network in this registering communication is invalid, before registration next time, subnet gateway is not accepted the request of any primary gateway.
Communicating by letter between primary gateway and the subnet gateway mainly is the connection status of transmitting home automation control network, the state of each equipment etc.Primary gateway by be provided with, reading order reads the state parameter of each equipment or the state parameter of each equipment is set from subnet gateway.Subnet gateway provides the device description file of each equipment, the state parameter of each equipment, the contents such as device registry of each equipment connection status by reporting order to primary gateway, makes primary gateway understand the state of whole home automation control network.
Because this communication protocol operates on the reliable TCP transmission basis, the unfailing performance of its transmission accesses assurance, success or failure that the affirmation function of this agreement is used to describe registration, nullify, be provided with, read etc. operates, and the correctness of transmission itself is not described.

Claims (10)

1, the means of communication between the digital home network gateway is characterized in that:
This method comprises the steps:
(1) the home automation control network gateway obtains the IP address by DHCP (Dynamic Host Control Protocol) from primary gateway;
(2) primary gateway is applied for the registration of to subnet gateway by sending the log-in command packet, and subnet gateway receives this order back and sends confirmation, then succeeds in registration.After succeeding in registration, primary gateway in all communication data packet numbering then be the sign that subnet gateway and primary gateway are confirmed the other side's identity, and subnet gateway only accepts to number from primary gateway IP address and major network the request of correct packet;
(3) primary gateway by be provided with, reading order reads the state parameter of each equipment or the state parameter of each equipment is set from subnet gateway;
(4) subnet gateway provides the device description file of each equipment, the state parameter of each equipment, the contents such as device registry of each equipment connection status by reporting order to primary gateway, makes primary gateway understand the state of whole home automation control network;
(5) subnet gateway sends the device file of certain equipment in its home automation control network of controlling or represents that each equipment of whole home automation control network connects the device registry of situation to primary gateway by embarkation order; Primary gateway is carried out the maintenance of the equipment control form of the conversion of device file and webpage and self inside after receiving home appliance file or device registry;
(6) before primary gateway, subnet gateway are closed, then before closing, initiate log off procedure by the side of closing; Confirm that if de-registration request obtains the other side then the numbering of the major network in this registering communication is invalid, before registration next time, subnet gateway is not accepted the request of any primary gateway.
2, the means of communication between the digital home network gateway as claimed in claim 1 is characterized in that:
The employed communication data packet of this method comprises frame head part and frame data part, and wherein the frame header branch comprises protocol version: 2, reservation: 2, type of data packet: 4, data packet length: 2, major network numbering: 2; Frame data partly comprise data 0-512k byte.
3, the means of communication between the digital home network gateway as claimed in claim 2 is characterized in that:
Described type of data packet comprises registration, nullifies, is provided with, reads, reports, uploads, affirmation and reserved part.
4, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described log-in command is: type of data packet is 0, and packet data comprises the IP of primary gateway of 6 bytes and the major network numbering of 2 bytes.
5, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described cancellation order is: type of data packet is 1, and packet data comprises the IP of primary gateway of 6 bytes and the major network numbering of 2 bytes.
6, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the described data packet format that order is set is: type of data packet is 2, packet data comprise the UDS of the equipment that will be provided with of 6 bytes, 1 byte order number and corresponding equipment file be set order (each is provided with order is 32 bytes) is set.
7, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described reading order is: type of data packet is 3, and packet data comprises the reading order number of the UDS of the equipment that will read of 6 bytes, 1 byte and the reading order of corresponding equipment file (each reading order is 32 bytes).
8, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described report order is: type of data packet is 4, and packet data comprises the report number of parameters of the UDS of the equipment of being reported of 6 bytes, 1 byte and the parameter of corresponding equipment file (each reading order is 32 bytes).
9, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described embarkation order is: type of data packet is 5, and packet data comprises the UDS of the equipment that will upload of 6 bytes and the device file of corresponding device.
10, the means of communication between the digital home network gateway as claimed in claim 1 or 2, it is characterized in that: the data packet format of described affirmation order is: type of data packet is 6, and packet data comprises the data content of affirmation type and 1 byte of 1 byte.
CNB021242496A 2002-07-12 2002-07-12 Communication method between digital home network gateway and main gateway Expired - Fee Related CN1177440C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021242496A CN1177440C (en) 2002-07-12 2002-07-12 Communication method between digital home network gateway and main gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021242496A CN1177440C (en) 2002-07-12 2002-07-12 Communication method between digital home network gateway and main gateway

Publications (2)

Publication Number Publication Date
CN1387345A true CN1387345A (en) 2002-12-25
CN1177440C CN1177440C (en) 2004-11-24

Family

ID=4745368

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021242496A Expired - Fee Related CN1177440C (en) 2002-07-12 2002-07-12 Communication method between digital home network gateway and main gateway

Country Status (1)

Country Link
CN (1) CN1177440C (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324857C (en) * 2003-09-25 2007-07-04 三星电子株式会社 Managing internet protocol address based on dynamic host configuration protocol
CN100454862C (en) * 2004-06-24 2009-01-21 长城科技股份有限公司 Method of intercommunicating access for short distance wireless communication network and trunk communication network
CN101252552B (en) * 2008-03-18 2010-11-17 熊猫电子集团有限公司 Embedded type household network gateway supporting wireless audio and video transmissions
CN101212428B (en) * 2006-12-27 2012-07-11 海尔集团公司 Home gateway applied in digital home system
CN103227740A (en) * 2013-04-22 2013-07-31 东莞中山大学研究院 Equipment registration method based on digital home network
CN103841459A (en) * 2012-11-26 2014-06-04 鸿富锦精密工业(深圳)有限公司 System and method for controlling multiple TV sets
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN104935484A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Method and apparatus for calling appliance service via gateways
CN104935485A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Appliance service calling method, appliance service calling request forwarding method and apparatus
WO2016101545A1 (en) * 2014-12-24 2016-06-30 小米科技有限责任公司 Device management method, apparatus, and system
CN109363385A (en) * 2018-10-31 2019-02-22 湖南金码智能设备制造有限公司 A kind of method and self-help shopping system carrying out group cabinet based on mobile terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450114C (en) * 2006-08-24 2009-01-07 华为技术有限公司 Automatic configuration method and system for digital household terminal
CN101141422B (en) * 2007-10-26 2010-06-09 中国电信股份有限公司 Method and system to access family gateway and family gateway

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324857C (en) * 2003-09-25 2007-07-04 三星电子株式会社 Managing internet protocol address based on dynamic host configuration protocol
CN100454862C (en) * 2004-06-24 2009-01-21 长城科技股份有限公司 Method of intercommunicating access for short distance wireless communication network and trunk communication network
CN101212428B (en) * 2006-12-27 2012-07-11 海尔集团公司 Home gateway applied in digital home system
CN101252552B (en) * 2008-03-18 2010-11-17 熊猫电子集团有限公司 Embedded type household network gateway supporting wireless audio and video transmissions
CN103841459A (en) * 2012-11-26 2014-06-04 鸿富锦精密工业(深圳)有限公司 System and method for controlling multiple TV sets
CN103841459B (en) * 2012-11-26 2017-12-22 鸿富锦精密工业(深圳)有限公司 Control the system and method for multiple TV set
CN103227740A (en) * 2013-04-22 2013-07-31 东莞中山大学研究院 Equipment registration method based on digital home network
WO2016101545A1 (en) * 2014-12-24 2016-06-30 小米科技有限责任公司 Device management method, apparatus, and system
JP2017508226A (en) * 2014-12-24 2017-03-23 小米科技有限責任公司Xiaomi Inc. Device management method, apparatus, system, program, and recording medium
US10298446B2 (en) 2014-12-24 2019-05-21 Xiaomi Inc. Methods, apparatuses, and system for device management
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN104811358B (en) * 2015-04-03 2019-04-23 九阳股份有限公司 A kind of wireless communication method of network home appliance
CN104935485A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Appliance service calling method, appliance service calling request forwarding method and apparatus
CN104935484A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Method and apparatus for calling appliance service via gateways
CN109363385A (en) * 2018-10-31 2019-02-22 湖南金码智能设备制造有限公司 A kind of method and self-help shopping system carrying out group cabinet based on mobile terminal

Also Published As

Publication number Publication date
CN1177440C (en) 2004-11-24

Similar Documents

Publication Publication Date Title
CN110830333B (en) Intelligent household equipment access authentication method, device, gateway and storage medium
CN1177440C (en) Communication method between digital home network gateway and main gateway
US11032739B2 (en) Dynamic header compression for constrained networks
EP1441483B1 (en) Gateway for supporting communications between network devices of different private networks
JP4068094B2 (en) Method for realizing dynamic network configuration and resource sharing between devices
CN104348903B (en) It is a kind of to establish point-to-point online communication system and its device
WO2011144067A2 (en) Message handling method and apparatus
CN105306264A (en) Network configuration and remote registration binding method and system for intelligent household appliance
CN1160909C (en) Digital home network system
JP6078876B2 (en) Wireless communication system, wireless device, and address setting method thereof
CN1820464A (en) Home network system
CN101478403A (en) UPnP digital household gateway apparatus having security mechanism
WO2012103721A1 (en) Method and device for terminal to visit digital household devices
CN103428303A (en) Method and system for IPv6 host to have access to IPv4 server
CN1992637A (en) Wimax network control and management system and method
CN103716189A (en) Configuration management method for local area network terminal gateway equipment
CN113068181B (en) Multi-type intelligent terminal safety network access method
KR101795598B1 (en) Method for network setting, server apparatus thereof, and network system thereof
CN102307249A (en) IP address automatic configuration method based on link layer topology
Haseeb et al. Connectivity, interoperability and manageability challenges in internet of things
CN106292313A (en) The control method of intelligent appliance, Apparatus and system
CN102857953B (en) Self-configuration method and device of base station
CN101931661B (en) Serial bus-based terminal device in streaming media transmission system
TW201434294A (en) System of wireless communication, and method of management
CN104052717A (en) Message sending method and apparatus

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Xu Lin

Document name: Notification that Application Deemed not to be Proposed

ASS Succession or assignment of patent right

Owner name: GREAT WALL TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIJING GREAT WALL XINJIA INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20081031

C41 Transfer of patent application or patent right or utility model
C56 Change in the name or address of the patentee

Owner name: BEIJING GREAT WALL XINJIA INFORMATION TECHNOLOGY C

Free format text: FORMER NAME OR ADDRESS: CHANGXINJIA INFORMATION TECHNOLOGY CO LTD, BEIJING

CP03 Change of name, title or address

Address after: No. forty, Zhongguancun Avenue, Haidian District, Beijing, nine floor, contemporary shopping mall

Patentee after: The Great Wall, Beijing Kerry Jia Information Technology Co.,Ltd.

Address before: No. forty, Zhongguancun Avenue, Haidian District, Beijing, nine floor, contemporary shopping mall

Patentee before: CHANGXINJIA INFORMATION TECHNO

TR01 Transfer of patent right

Effective date of registration: 20081031

Address after: Shenzhen City, Nanshan District science and Technology Industrial Park Keyuan Road No. 2

Patentee after: Great Wall Technology Co.,Ltd.

Address before: No. forty, Zhongguancun Avenue, Haidian District, Beijing, nine floor, contemporary shopping mall

Patentee before: The Great Wall, Beijing Kerry Jia Information Technology Co.,Ltd.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20041124

Termination date: 20130712