CN1767464A - Household network system - Google Patents

Household network system Download PDF

Info

Publication number
CN1767464A
CN1767464A CN 200410072411 CN200410072411A CN1767464A CN 1767464 A CN1767464 A CN 1767464A CN 200410072411 CN200410072411 CN 200410072411 CN 200410072411 A CN200410072411 A CN 200410072411A CN 1767464 A CN1767464 A CN 1767464A
Authority
CN
China
Prior art keywords
operating state
slave
network
network system
control device
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.)
Pending
Application number
CN 200410072411
Other languages
Chinese (zh)
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.)
LG Electronics Tianjin Appliances Co Ltd
Original Assignee
LG Electronics Tianjin Appliances Co Ltd
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 LG Electronics Tianjin Appliances Co Ltd filed Critical LG Electronics Tianjin Appliances Co Ltd
Priority to CN 200410072411 priority Critical patent/CN1767464A/en
Publication of CN1767464A publication Critical patent/CN1767464A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

This invention discloses a family network system including more than one slave devices, more than one primary control devices and a communication protocol communicating between them, in which, the primary control device sends the working state required information to the slave device periodically according to the set periods related to the number with the slave device, which sends the working state response information to the primary, which provides a family network system applying the living network control protocol to get the information of the current working state of the devices without adding network communication flows.

Description

Domestic network system
Technical field
The present invention relates to a kind of domestic network system, particularly relate to the domestic network system of a kind of employing living network control protocol (LnCP).
Background technology
Home network (home Network) is meant various digitlizations is coupled together the network that forms.Can control the household electrical appliances in the family whenever and wherever possible by home network, bring facility in life.In recent years, along with the development of Digital Signal Processing, the digitlization gradually of electric equipments such as refrigerator and washing machine becomes digital home appliance; Along with the fast development of electric equipment utilization system technology and high-speed digital communication technology, the information household appliances of above-mentioned technology have appearred fully utilizing on the market.Under above-mentioned background, domestic network system arises at the historic moment.
As shown in table 1, home network can be divided into data network according to the type of the service that it provided
Three types of network, entertainment network and living networks.Table 1
Classification Function COS
Data network Network between PC and the peripheral hardware Exchanges data, Internet service
Entertainment network Network between A/V (audio/video) equipment Audio frequency, Video service
Living network The network of control apparatus equipment The control of electric equipment, home automation, remote monitoring, information service etc.
Data network (data network) to be meant in order making and to carry out exchanges data between PC and the peripheral hardware or provide Internet service and the network constructed; Entertainment network (entertainment network) is meant the network of constructing between the home appliance with audio or video processing capacity; Living network (living network) is meant the network of constructing for control apparatus equipment, realization home automation and remote monitoring function.
Home network generally comprises: as the main control device and the slave of electric equipment; Main control device controls or shows the state of other electric equipments to other electric equipments; Slave is replied the requirement of main control device by characteristic or other key elements of electric equipment, and exports the state change information of self.Described electric equipment (or new equipment) not only comprises the electric equipment that washing machine and refrigerator etc. are served in living network, also be included in all electric equipments of serving and in entertainment network, serving in the data network, also comprise: devices such as burnt gas valve, control device, automatic door device and electric light.
But there is following shortcoming in above-mentioned existing domestic network system: in the above-mentioned existing domestic network system, go back the general communication control processor of neither one, to the order of electric equipment execution monitoring and the control command of domestic network system inside.
Summary of the invention
Technical problem to be solved by this invention is, overcomes the shortcoming of above-mentioned existing domestic network system, and a kind of domestic network system is provided, and uses general communication control processor, to the order of electric equipment execution monitoring and the control command of domestic network system inside.
Another object of the present invention is, a kind of domestic network system is provided, and this domestic network system adopts living network control protocol (living network control protocol:LnCP) as communication control processor.
Another object of the present invention is that a kind of domestic network system that can obtain the work at present state information of the electric equipment in the domestic network system is provided.
Another purpose of the present invention is, a kind of domestic network system is provided, and under the situation that does not increase network traffic, obtains the work at present state information of electric equipment.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: domestic network system of the present invention comprises: at least more than one slave, at least more than one main control device and the communication protocol that is used for communicating between them; The setting cycle that described main control device adapts according to the number with slave, regularly send the operating state solicited message to described slave, described slave sends the operating state response message to described main control device corresponding to described operating state solicited message.
Described main control device stores the home network program file (HomNet profile) that comprises slave information, with the login of the operating state of described slave on family's network program file and store.
Described setting cycle is greater than the event notice time limit of the event information of described slave.
Described slave login is on described home network program file (HomNet profile).
Described communication protocol is living network control communication protocol (LnCP).
Domestic network system operating state confirmation method of the present invention, domestic network system is made up of at least more than one slave, at least more than one main control device and the communication protocol that is used for communicating between them, comprising:
Stage 1: the described setting cycle that adapts according to the number with slave regularly sends the operating state solicited message to described slave; With
Stage 2: described slave sends the operating state response message to described main control device corresponding to described operating state solicited message; Simultaneously, described main control device stores the operating state that comprises the operating state response message.
Described main control device stores the home network program file (HomNet profile) that comprises described slave information; In the described stage 2, main control device is gone up the operating state login of described slave and store at family's network program file (HomNet profile).
Described setting cycle is greater than the event notice time limit of described slave event information.
Described communication protocol is living network control communication protocol (LnCP).
The total part of described main control device and slave comprises: interface arrangement, storage device and control device; Described interface arrangement is used for being connected with other electric equipments by the network of certain communication protocol; Described storage device is used to store the operating state of other electric equipments; The setting cycle that described control device adapts according to the number with other electric equipments, generation comprises the operating state solicited message of work state information, send other electric equipments to by interface arrangement, and reception is stored in the work state information that is included in the operating state response message in the storage device from the operating state response message of other electric equipments.
Described storing device for storing comprises the home network program file (HomNet profile) of other electric equipment information; In above-mentioned storage stage, control device is gone up the operating state login of other electric equipments and store at family's network program file (HomNet profile).
Described setting cycle is greater than the event notice time limit of other electric equipment event information.
Described communication protocol is living network control communication protocol (LnCP).
Beneficial effect of the present invention is: the invention provides a kind of domestic network system that is applicable to all purpose communication standard-control communication protocol, described all purpose communication standard provides control and monitors the function of each electric equipment in the domestic network system.
The present invention also provides the domestic network system of a kind of employing living network control communication protocol (Living networkControl Protocol:LnCP).
The present invention also provides a kind of domestic network system that can obtain the work at present state information of electric equipment in the domestic network system.
The present invention also provides a kind of domestic network system, under the situation that does not increase network traffic, can obtain the work at present state information of electric equipment.
Description of drawings
Fig. 1 is the structured flowchart of domestic network system of the present invention;
Fig. 2 is the structured flowchart of living network control protocol (LnCP) storehouse of domestic network system of the present invention;
Fig. 3 a and Fig. 3 b are the structured flowchart of the interface of each interlayer in the structured flowchart of the living network control protocol that adopts of domestic network system shown in Figure 2;
Fig. 4 a~Fig. 4 f is the detailed composition diagram of interface shown in Fig. 3 a and Fig. 3 b;
The address system schematic diagram that Fig. 5 a~Fig. 5 b uses for domestic network system of the present invention;
The structured flowchart of the common ground between Fig. 6 network manager and the electric equipment;
Fig. 7 is the flow chart of the embodiment 1 of domestic network system operating state confirmation method of the present invention;
Fig. 8 is home network program file (HomNet profile) example of domestic network system of the present invention;
Fig. 9 is the flow chart of the operating state confirmation method embodiment 2 of domestic network system of the present invention.
Among the figure:
1: domestic network system 2: internet
3:LnCP server 4: client device
10: gateway 20~23: network manager
30, the 31:LnCP router four 0~49: electric equipment
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail:
It is worthy of note that protection scope of the present invention is not limited to hereinafter described embodiment and accompanying drawing, and be as the criterion with the scope of claims record.
Fig. 1 is the structured flowchart of domestic network system of the present invention.
As shown in Figure 1, domestic network system 1 of the present invention is connected with LnCP server 3 by internet 2, and client device 4 also is connected with LnCP server 3 by internet 2; Therefore, domestic network system 1 can communicate with LnCP server 3 and/or client device 4.
The external network of described domestic network system 1 comprises internet network 2; According to the kind of client device 4, described external network need be equipped with different equipment; With internet network 2 is example, and when client device 4 was computer, internet network 2 needed to be equipped with Web server (Websever) (not shown); When client device 4 was the networking telephone, internet network 2 needed to be equipped with wireless application protocol server (Wap sever) (not shown).
Described LnCP server 3 logging program according to the rules is communicated with domestic network system 1 and client device 4 respectively, receive monitor command and control command from client device 4, and be converted into the information of prescribed form, send domestic network system 1 to by internet 2.Meanwhile, LnCP server 3 receives the information of prescribed form from domestic network system 1, preserve or send it to client device 4, and the information that LnCP server 3 is preserved self or generate sends domestic network system 1 to; In other words, when family's network system 1 is communicated with LnCP server 3, can download the content that internet 2 provides.
Described domestic network system 1 comprises: gateway 10, network manager 20~23, LnCP router three 0~31, LnCP adapter 35~36 and electric equipment 40~49; Described gateway 10 is used for connecting the internet; Described network manager 20~23 is used for electric equipment 40~49 is carried out environment set and management; The connection that described LnCP router three 0,31 is used between the transmission medium; Described LnCP adapter 35,36 can make network manager 22 and electric equipment 46 be connected on the transmission medium.
Network in the described domestic network system 1 is to constitute by connecting circuit equipment 40~49 and the shared transmission medium of these electric equipments; This transmission medium adopts the radio frequency datalink layer connection nonstandardized technique transmission mediums such as (RF) as RS-485 or low power output, perhaps utilizes standardization transmission mediums such as power line or IEEE802.11.
Network in the described domestic network system 1 is to be made of the network that is separated from each other with internet 2, promptly constitute one and utilize separate network wired or that wireless medium connects, physically connect the network that separates in logic though separate network described here comprises being in.
Described domestic network system 1 comprises: main control device and slave; Described main control device can control apparatus equipment 40~49 or is monitored its operating state; Described slave can be responded the request of main control device and the information that the announcement oneself state changes; Described main control device comprises network manager 20~23; Described slave comprises electric equipment 40~49; Described network manager 20~23 comprises the information and the control code of the electric equipment 40~49 that will control, thereby programmed mode carries out control operation or receive after the information of LnCP server and/or client device 4 inputs carrying out control operation.As shown in Figure 1, when being connected with a plurality of network manager 20~23, for and other network manager 20~23 between exchange message, simultaneously for the synchronization that realizes information and control, these network managers 20~23 play the effect of slave when playing the main control device effect, in other words, these network managers 20~23 should be a kind of in view of physical significance equipment just, but be used for seeing to be to have master control function simultaneously and from the equipment (being compatible equipment) of the function of dominant from it.
Described network manager 20~23 can directly be connected with network (illustrated power line network, RS-485 network or radio frequency (RF) network) with electric equipment 40~49, also can be connected with network by LnCP router three 0,31 and/or LnCP adapter 35,36.
Described electric equipment 40~49 and/or LnCP router three 0,31 and/or LnCP adapter 35,36 sign in on the network manager 20~23, and according to facility information, receive unique logical address (for example 0x00,0x01 etc.).(for example air conditioner is " 0x02 " for this logical address and device code; Washing machine is " 0x01 ") be used as node address (NodeAddress) in conjunction with the back.Address system (address system) as for LnCP will be described below.
Fig. 2 is the structured flowchart of living network control protocol (LnCP) storehouse of domestic network system of the present invention.Described domestic network system 1 can make mutual transmission information between network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and the electric equipment 40~49 by living network control protocol shown in Figure 2 (LnCP); And then, carry out network communication operations according to this living network control protocol (LnCP) between network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and the electric equipment 40~49.
As shown in Figure 2, described LnCP comprises: application software 50, application layer 60, network layer 70, data relay layer 80, physical layer 90 and node parameter management level 100; Described application software 50 is carried out the inherent function of network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and electric equipment 40~49, and the function that is connected with application layer 60 is provided, so that on network, carry out remote operation and supervisory work; Described application layer 60 provides service to the user, and has the function that sends lower layer after information that the user is provided or the order composition information to; Described network layer 70 can will connect into reliable network between network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and the electric equipment 40~49; Described data relay layer 80 provides connection control function, is used to connect shared transmission medium; Described physical layer 90 provides the physical interface between network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and the electric equipment 40~49 and the rule of the bit that will transmit; The node parameter that uses in described node parameter management level 100 each layers of management configuration.
In more detail, described application software 50 also comprises network management subsidiary layer 51, and network management subsidiary layer 51 has the function that management node node parameter and management are connected network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and electric equipment 40~49 on the network.In other words, described network management subsidiary layer 51 has a kind of function, can set the node parameter value or utilize the node parameter value that node parameter is managed by node parameter management level 100, when the equipment that is used for LnCP was main control device, this network management subsidiary layer 51 also has carried out the function that constitutes network or supervising the network.
In addition, described network layer 70 also comprises home network sign indicating number control subsidiary layer 71, and network is connected with network manager 20~23, LnCP router three 0~31, LnCP network adapter 35~36 and electric equipment 40~49; When utilize power line, IEEE 802.11 or wireless non-self transmission medium (for example LnCP comprise power line communication (PLC) agreement/or during wireless (wireless) agreement) when constituting described network, in order to divide each network in theory, described home network sign indicating number control subsidiary layer 71 has the function of setting home network sign indicating number and managing family network code; Described home network sign indicating number control subsidiary layer 71, is not included among the LnCP during from physical significance separation individual networks by as self transmission mediums such as RS-485; Described home network sign indicating number is random value or the user's set point of being made up of 4 bytes.
Fig. 3 a and Fig. 3 b are the structured flowchart of the interface of each interlayer in the structured flowchart of the living network control protocol that adopts of domestic network system shown in Figure 2.
The structured flowchart of the interface of each interlayer when Fig. 3 a shows physical layer 90 and is connected to non-self transmission medium; The structured flowchart of the interface of each interlayer when Fig. 3 b shows physical layer 90 and is connected to the self transmission medium.
Described domestic network system 1 is added to the title and the ending information of each layer needs from the Internet protocol data unit (Protocol Data Unit:PDU) that upper layer receives, and sends lower layer again to.
Shown in Fig. 3 a, APDU (Application layer PDU) is the data value (data) that transmits between application layer 60 and network layer 70; NPDU (Network Layer PDU) is the data value that transmits between network layer 70 and data relay layer 80 or home network sign indicating number subsidiary layer 71; HCNPDU (Home Code Control Sublayer PDU) is the data value that transmits between network layer 70 (the definite home network sign indicating number subsidiary layer 71 of saying so) and data relay layer 80 or home network sign indicating number subsidiary layer 71; Be that unit forms interface with Frame (frame) between datalink layer connection 80 and the physical layer 90.
Fig. 4 a to Fig. 4 f is the detailed composition diagram of interface shown in Fig. 3 a and Fig. 3 b.Fig. 4 a is the structure of the APDU in the application layer 60.
Shown in Fig. 4 a, AL (APDU Length) field (field) is the field of the length (length from AL to the information field) of expression APDU, and its minimum value is 4 bytes, and maximum is 77 bytes.
AHL (APDU Header Length) field is the field of the length (length from AL to ALO) of expression APDU heading code, is 3 bytes when not expanding, and can expand to 7 bytes.For the encipherment and the change application protocol of information, the APDU heading code can expand to 7 bytes in the LnCP procotol.
ALO (Application Layer Option) field is the field of expression packets of information expansion, when for example being set at ' 0 ', ignores information processing containing under the situation of other values.
The frame group is the control information of expression process user or the field of event information, and its structure is along with the variation of the contained value of ALO changes.
Fig. 4 b is the structure of the NPDU in the network layer 70; Fig. 4 c is the structure of the NLC among the NPDU.
Shown in Fig. 4 b, SLP (Start of LnCP Packet) field is the start field of expression packet, and its value is " 0x02 ".
The field of DA (Destination Address) and SA (Source Address) is the destination of the packet that will transmit and the node address of the side of delivering letters, each is made up of 16 bits, wherein upper 1 bit is represented the mark of group address, the kind of ensuing 7 bit indication equipments (device code), the most the next 8 bits are represented the logical address that is assigned with.When the network manager 20~23 with a plurality of same kinds or electric equipment 40~49, the most the next described 8 bits are used to distinguish each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) field is for showing the field of the NPDU total length that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP (Service Priority) field is the field that transmits priority to giving on the information that will transmit, and is made of 3 bytes.The priority such as the table 2 of various information are listed.
When slave is replied the request of main control device, according to the priority of the solicited message that receives from main control device.
Table 2
Priority Value Application layer (Application Layer)
High (High) 0 -when sending emergence message
Medium (Middle) 1 -when sending general information-when being sent in the change events information of line states (Online State) or off-line state (Offline State)
Standard (Normal) 2 -when sending the information construct network-during the general event information of transmission
Low (Low) 3 -carry out data when transmitting according to downloading or upload principle
NHL (NPDU Header Length) field is the field that is used for expanding NPDU heading code (the NLC field of SLP), is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Version) field is 1 byte field that shows the network protocol version that is adopted, and is made of upper 4 bits and the next 4 bits.Upper 4 bits are version field, and the next 4 bits are the child release field; Version and child release are represented with 16 systems respectively.
NPT (Network layer Packet Type) field is 4 bit fields of dividing data bag kind in network layer; LnCP comprises: request data package (Request Packet), response data packet (Response Packet) and notification data bag (Notification Packet); The NPL field of main control device should be set at request data package or notification data bag, and the NPL field of slave then should be set at response data packet or notification data bag.The NPT value such as the table 3 of packet kind are listed.
Table 3
Value Explanation
0 Request packet
1-3 Do not use
4 The response message bag
5-7 Do not use
8 The announcement information bag
9-12 Do not use
13-15 The interface predetermined value that is connected with home code control subsidiary layer
TC (Transmission Counter) field is when network layer generation communication failure can not successfully send request data package or response data packet, in order to improve the success rate that transmits request data package or response data packet, transmission or 2 bit fields of transmission more repeatedly.The destination can utilize the value of TC field, detects duplicate message.The TC field value such as the table 4 of different N PT value are listed.
Table 4
Information bag type Value (scope)
Request packet 1-3
The response message bag 1
The announcement information bag 1-3
PN (Packet Number) field is made of 2 bits, is used with TC in order to detect repetitive data packet PN (Packet Number) field in slave; In main control device, be used in order to handle a plurality of communication cycles; The PN field value such as the table 5 of different N PT value are listed.
Table 5
The packet kind Value (scope)
Request data package 0~3
Response data packet The PN field value of duplicate requests packet
The notification data bag 0~3
The APDU field is the protocol data unit of the application layer that transmitted between application layer 60 and the network layer 70, and its minimum value is 0 byte, and maximum is 88 bytes.
CRC (Cyclic Redundancy Check) field is in order to detect 16 bit fields of the mistake in the data accepted bag (SLP is to the APDU field).
ELP (End of LnCP Packet) field is the field at expression packet end, and its value is 0x03; Do not detect the ELP field if only receive the length data of length of data package field, then be considered as packet error.
Fig. 4 d is the structure of HCNPDU in the home code subsidiary layer 71.
Shown in Fig. 4 d, bit position also comprises HC (Home Code) field on NPDU.
The numerical value of this home network sign indicating number is made up of 4 bytes; This home network sign indicating number has unique value at packet in propagable circuit distance.
Fig. 4 e is the frame structure schematic diagram in the data relay layer.
The heading code and the terminating code of the frame of the data relay layer 80 of LnCP are different according to the transmission medium kind.When described data relay layer used the transmission medium of nonstandardized technique, the heading code of frame and terminating code need contain null field (Null Field); When described data relay layer uses standardized transmission medium, then with the regulation of procotol.The NPDU field is the data unit that upper network layer 70 transmits; The 4 byte home codes that HCNPDU used when being physical layer 90 by non-self transmission medium such as power line or IEEE 802.111 append the data unit in the NPDU previous section.Data relay layer 80 is not distinguished the processing of NPDU and HCNPDU.
Fig. 4 f is the frame structure schematic diagram in the physical layer 90.
The physical layer 90 of LnCP has the function that physical signalling is sent to transmission medium.As the physical layer 90 of LnCP procotol, the transmission medium of the nonstandardized technique data relay layer 80 that can use be equal to RS-485 or low power RF, the standardization transmission medium that also can use be equal to power line or IEEE802.11; In the domestic network system 1 that uses the LnCP agreement, for network manager 20~23 is connected with LnCP adapter 35~36 with RS-485 or LnCP router three 0~31 with electric equipment 40~49, utilized the signal level (level) of UART (UniversalAsynchronous Receiver and Transmitter) frame structure and RS-232; Utilize universal serial bus (serial bus) when being connected between each equipment, UART is the control bit signal flow in communication line.Shown in Fig. 4 f, in LnCP, after the packet that upper layer is sent converts the UART frame unit of 10 bit sizes to, transmit by transmission medium; The UART frame is made up of the start bit (Start Bit) of 1 bit, the data value of 8 bits and the stop bits (Stop Bit) of 1 bit; Described UART frame does not use check digit (Parity Bit); The UART frame begins to transmit from start bit, transmits stop bits at last; When the domestic network system 1 of use LnCP utilizes UART, do not use the frame heading code (frame header) and the End of Frame sign indicating number (frame trailer) that append.
Fig. 5 a is to the address system schematic diagram of Fig. 5 b for domestic network system of the present invention.
Fig. 5 a shows the address structure of arrays that domestic network system 1 of the present invention uses.Shown in Fig. 5 a, product code has unique value, is used for discerning the basic function of product, and this array is the value that is set when product export, is unmodifiable physical address.Same product has same fixed address.Device code is a kind of theoretical address, is used for differentiating each equipment with identical product sign indicating number.The group address is the theoretical address of setting by certain benchmark corresponding to an above equipment.
Fig. 5 b is the detailed structure view of the address array of Fig. 5 a.Shown in Fig. 5 b, the MSB of fixed address array is used as mark (flag), indication equipment sign indicating number when being labeled as " 0 "; Represent group code when being labeled as " 1 ".By the MSB value in the array of whole address differently is set, can recognize the said equipment sign indicating number and group code.In addition, all positions in each auxiliary array all were set to 1 o'clock, the expression group address.For example, when the product code of refrigerator is " 0x01 ", the group address of the various refrigerators of " 0x01FF " expression; " 0x81XX " (" X " expression arbitrary value here) then expression has the group address of all refrigerators of same group code.
In a single day slave is connected on the domestic network system 1, just by device code of main control device automatic setting.Though group code can in most cases because of technical reason, be needed the user to set by the main control device automatic setting equally.
For example, the identical node address of 0x0200 (air conditioner 1) and 0x0201 (air conditioner 2) is by electric equipment 40~49 and/or LnCP router three 0~31 and/or 35~36 identifications of LnCP network adapter.In addition, the group address that can also use in accordance with regulations benchmark (product of the same race, product be provided with position, user etc.) to be provided with can the more than one electric equipment 40~49 of disposable identification and/or LnCP router three 0~31 and/or LnCP network adapter 35~36 when using the group address.In this group address, when being set at " 1 ", this dominance group address is for specifying the group address of a plurality of client devices with address choice value (below be called mark (flag)) in the dominance group address.Recessive group address is added to " 1 " with all bytes (byte) value of theoretical address and/or product code, and then can specify a plurality of client devices.Here, it is to be noted especially, usually the dominance group address is called group code.
For example, if product code is " 0bXXX XXXX ", theoretical address is " 0bYYYYYYYY ", and group code is " 0bZZZZ ZZZZ ", and then equipment is recognized into the address of following several types:
(1) address of all devices is designated as by " 0b1,111 1,111 1,111 1111 " or " 0b0,111 1,111 1,111 1111 " (0xFFFF or 0x7FFF) and forms;
(2) address of product code is designated as by " 0b1XXX XXXX 1,111 1111 " or " 0b0XXX XXXX 1,111 1111 " and forms;
(3) address of group code is designated as by " 0b,111 1111 ZZZZ ZZZZ " and forms;
(4) address of theoretical address is designated as by " 0b0,111 1111 YYYY YYYY " and forms;
(5) address of product code and theoretical address is designated as by 0b0XXX XXXX YYYYYYYY and forms;
(6) address of product code and group code is designated as by " 0b1XXX XXXX ZZZZZZZZ " and forms.
By the node address that product address and initial theory address are formed, the particular memory device that has been stored in main control device and slave when product export has respectively suffered.
Fig. 6 is the structured flowchart of the common ground between network manager and the electric equipment.
As shown in Figure 6, network manager 20~23 (below be called main control device) and electric equipment 40~49 (below become slave) comprising: the interface arrangement 210 that is connected with network, storage device 220, control interface device 210 and control device 230.
In more detail, the storage device 220 of described main control device stores product information and the relevant information of product address with other main control devices and slave.Include the above-mentioned file that is connected the product information (product information and node address information that set or not setting etc.) of all devices on the network, be called as home network program file (HomNet profile).Above-mentioned home network program file is stored in the storage device 220, controlled device 230 read or upgrade after be registered.
At least store self product code and initial theory address in the storage device 220 of described slave.This storage device 220 also stores the theoretical address of interim theoretical address and main control device setting etc.
Described main control device can also have the display unit (not shown); Described display unit comprises: input unit (not shown) and interface arrangement; Described input unit is used for the user and imports certain signal; Described interface arrangement is shown to user with all or a part of electric equipment 40~49 and/or the network manager 20~23 of domestic network system with the icon form according to the home network program file.
Though the control device 230 that is actually by main control device or slave carries out some specific operations.But for the convenience on narrating, hereinafter say to be, carry out some specific operations by main control device or slave.
Fig. 7 is the flow chart of the embodiment 1 of domestic network system operating state confirmation method of the present invention.The a plurality of information that will narrate below not only comprise the APDU information shown in Fig. 4 a, also comprise deliver letters number formulary group and destination's array, are the general names to the transmission data between each equipment.
In more detail, domestic network system operating state confirmation method of the present invention comprised as the next stage:
Stage S51: slave is connected on the domestic network system 1, and energized.
Stage S52: slave judges whether the theoretical address that has been stored in the storage device 230 is the initial theory address; If the theoretical address that has stored is the initial theory address, represent that then this slave is to be connected on the domestic network system 1 for the first time, or this slave is in the state of not logining domestic network system 1 (or main control device), and state confirmation finishes (this slave need be set node address by main control device) at this point; If the theoretical address that has stored is not the initial theory address, then carry out stage S53.
Stage S53: (optimum life is to select a time value in 0~5000ms) at random to slave, delays after making the event information that will transmit wait for the above-mentioned time sending from time limit regular hour.When being connected with a plurality of electric equipments and these equipment on the domestic network system 1 simultaneously and sending event information simultaneously, network traffic can sharply increase, and therefore, makes each electric equipment select a time of delay immediately, carry out corresponding delayed delivery, can the Control Network communication flows.
Stage S54: slave is every through event notice blanking time, just generates an event information automatically, and sends main control device automatically to.Described event notice blanking time (AliveInt) is 5~65565 seconds values in the scope, can be different according to the slave kind.Described event notice is stored in the storage device 230 of read-only memory block blanking time.
Described event information comprises the content shown in the table 6.
Table 6
Data name Explanation Size Value
CommCode Command code 1 byte 0x11
EventCode Event code 2 bytes 0xFF70
StatusVal The product operating state 1 byte 0: waiting for 1: working 2: suspend 3~255: undefined
ErrorStatus Error condition 1 byte 0: normal condition 1: error condition 3~255: undefined
AliveInt The transmission blanking time of event information 2 bytes 5~65565 seconds
The event information that described command code is represented is an announcement information; The information of described event code indication equipment operating state; The work at present state of described state value indication equipment; The current state of described error condition indication equipment is the error condition or the information of normal condition; Described event notice is also included within this event information blanking time, is used in following event notice and sets the stage at interval.
Stage S55: after main control device receives this event information, it is stored in the storage device 230.Described main control device utilization is included in the information such as equipment current state in this event information, upgrades the home network program file.
Stage S56: main control device shows the current operating state that is connected each electric equipment in this domestic network system by domestic network system, allows the user grasp relevant information.
Repeat above-mentioned stage S54 to stage S56, be linked as up to the power-off of slave or contact network and end.
After stage S53 finished, slave can also carry out as the next stage:
Every with above-mentioned event notice different event notice blanking time of blanking time, send event information by certain number of times.Event notice blanking time in this stage, its size was 5 seconds smaller or equal to above-mentioned event notice at interval, and number of times is 2 times.For example, behind the certain random time of wait, slave carries out stage S54 behind 2 event informations of transmission in 5 seconds among the stage S53.
Fig. 8 is home network program file (HomNet profile) example of domestic network system of the present invention.As shown in Figure 8, in main control device and slave, main control device, washing machine, refrigerator, TV all are in the state of working, and microwave oven is in wait state, and dishwasher is in halted state.This home network program file (HomNet profile) utilizes certain user interface (for example icon form) to show foregoing to the user by certain display unit.
Fig. 9 is the flow chart of the operating state confirmation method embodiment 2 of domestic network system of the present invention.As shown in Figure 9, the operating state confirmation method of domestic network system of the present invention can also comprise as the next stage:
Stage S81: main control device transmits the operating state solicited message by certain time interval to the slave (or other main control devices) of login in family's network program file.Here, certain time interval so that make the generation of event information and transmission frequency generate the frequency of finishing that sends less than it, thereby can not increase the communication flows of network greater than above-mentioned event notice blanking time (AliveInt).In addition, this certain time interval is directly proportional with the slave quantity of being logined, and when for example Deng Lu slave was N, the above-mentioned time interval was N minute, increased the communication flows of network not too largely.
Stage S82: after slave (or other main control devices) receives the operating state solicited message, generate corresponding with it operating state response message, and send it to main control device.Main control device receives this operating state response message.The structure such as the table 7 of described operating state response message are listed.
Table 7
Data name Explanation Size of data Value
CommCode Command code 1 byte 0x04
ACK - 1 byte 0x06
NodeAddres s The device node address 2 bytes -
Status Equipment working state 1 byte 0: in the wait 1: in the action 2: in the time-out 3: product error condition 4~255: undefined
Stage S83: main control device is read the related data of the operating state of slave (or other main control devices) from the operating state response message that receives, and upgrades original home network program file in view of the above.As mentioned above, the home network program file can be upgraded by the event information from slave and be upgraded by the operating state solicited message of main control device and response message, thereby the work state information (seeing Table 8) of current device is upgraded.

Claims (13)

1. a domestic network system is characterized in that: comprising: at least more than one slave, at least more than one main control device and the communication protocol that is used for communicating between them; The setting cycle that described main control device adapts according to the number with slave, regularly send the operating state solicited message to described slave, described slave sends the operating state response message to described main control device corresponding to described operating state solicited message.
2. domestic network system according to claim 1, it is characterized in that: described main control device stores the home network program file (HomNetprofile) that comprises slave information, with the login of the operating state of described slave on family's network program file and store.
3. domestic network system according to claim 1 is characterized in that: described setting cycle is greater than the event notice time limit of the event information of described slave.
4. domestic network system according to claim 1 and 2 is characterized in that: described slave login is on described home network program file (HomNet profile).
5. domestic network system according to claim 1 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
6. domestic network system operating state confirmation method, domestic network system is made up of at least more than one slave, at least more than one main control device and the communication protocol that is used for communicating between them, it is characterized in that: comprising:
Stage 1: the described setting cycle that adapts according to the number with slave regularly sends the operating state solicited message to described slave; With
Stage 2: described slave sends the operating state response message to described main control device corresponding to described operating state solicited message; Simultaneously, described main control device stores the operating state that comprises the operating state response message.
7. domestic network system operating state confirmation method according to claim 6 is characterized in that: described main control device stores the home network program file (HomNet profile) that comprises described slave information; In the described stage 2, main control device is gone up the operating state login of described slave and store at family's network program file (HomNet profile).
8. domestic network system operating state confirmation method according to claim 6 is characterized in that: described setting cycle is greater than the event notice time limit of described slave event information.
9. domestic network system operating state confirmation method according to claim 6 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
10. according to claim 1,2,3,4 or 5 described domestic network systems, it is characterized in that: the total part of described main control device and slave comprises: interface arrangement (210), storage device (220) and control device (230); Described interface arrangement (210) is used for being connected with other electric equipments by the network of certain communication protocol; Described storage device (220) is used to store the operating state of other electric equipments; The setting cycle that described control device (230) adapts according to the number with other electric equipments, generation comprises the operating state solicited message of work state information, send other electric equipments to by interface arrangement (210), and reception is stored in the work state information that is included in the operating state response message in the storage device (220) from the operating state response message of other electric equipments.
11. domestic network system according to claim 10 is characterized in that: described storage device (220) stores the home network program file (HomNet profile) that comprises other electric equipment information; In above-mentioned storage stage, control device (230) is gone up the operating state login of other electric equipments and store at family's network program file (HomNet profile).
12. domestic network system according to claim 10 is characterized in that: described setting cycle is greater than the event notice time limit of other electric equipment event information.
13. domestic network system according to claim 10 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
CN 200410072411 2004-10-27 2004-10-27 Household network system Pending CN1767464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410072411 CN1767464A (en) 2004-10-27 2004-10-27 Household network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410072411 CN1767464A (en) 2004-10-27 2004-10-27 Household network system

Publications (1)

Publication Number Publication Date
CN1767464A true CN1767464A (en) 2006-05-03

Family

ID=36743083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410072411 Pending CN1767464A (en) 2004-10-27 2004-10-27 Household network system

Country Status (1)

Country Link
CN (1) CN1767464A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740035A (en) * 2012-06-11 2012-10-17 Tcl集团股份有限公司 Multimedia peripheral managing terminal and multimedia playing system
CN103490924A (en) * 2013-09-16 2014-01-01 笔笔发信息技术(上海)有限公司 Method for device data communication and device monitoring management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740035A (en) * 2012-06-11 2012-10-17 Tcl集团股份有限公司 Multimedia peripheral managing terminal and multimedia playing system
CN103490924A (en) * 2013-09-16 2014-01-01 笔笔发信息技术(上海)有限公司 Method for device data communication and device monitoring management

Similar Documents

Publication Publication Date Title
CN1820457A (en) Home network system
WO2006091040A1 (en) Layer structure of network control protocol and interface method
US20090024727A1 (en) Network system management method
WO2006091028A1 (en) Method for setting home code in network system and device for network
US8005915B2 (en) Method for providing download and upload service in network control system
US20090024726A1 (en) Device for network system and method of transmitting profile
US20080172481A1 (en) Method of Configuring Network Profile of Network System
CN1767464A (en) Household network system
CN1767472A (en) Household network system
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767463A (en) Household network system
CN1767466A (en) Household network system
CN100581123C (en) Network system management method
KR20060089854A (en) Living network control system
KR101062219B1 (en) Data transmission and reception control method in data link layer
CN1767475A (en) Household network system and its movement precontract setting method and associated electrical appliance equipment
WO2006091039A1 (en) Network control protocol device and network connection method
CN1747414A (en) Household network system
CN1767473A (en) Household network system and its item informing method and electrical appliance equipment
CN1747411A (en) Household network system
CN1767465A (en) Household network system
CN1767477A (en) Household network system and activity item information processing method and program storage media
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1767469A (en) Household network system
CN1767470A (en) Household network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20060503