CN1767461A - Household network system - Google Patents

Household network system Download PDF

Info

Publication number
CN1767461A
CN1767461A CN 200410072405 CN200410072405A CN1767461A CN 1767461 A CN1767461 A CN 1767461A CN 200410072405 CN200410072405 CN 200410072405 CN 200410072405 A CN200410072405 A CN 200410072405A CN 1767461 A CN1767461 A CN 1767461A
Authority
CN
China
Prior art keywords
mentioned
electric equipment
input
network
network system
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 200410072405
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 200410072405 priority Critical patent/CN1767461A/en
Publication of CN1767461A publication Critical patent/CN1767461A/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 first and second electric appliances and a network connected with them along with a specific communication protocol, in which, the first device generates specific information corresponding to a matter when specific operation input appears and transfers it to the second device to display the state of the input of electric appliances by a specific display part. Said informing method for matters includes: the first device receives the input, generates the matter information corresponding to the input and transfers the information to the second electric device, which displays the input state of the device by a specific display part, which is suitable for the system of the control communication protocol-a general communication standard providing functions of controlling and monitoring the appliances in the system.

Description

Domestic network system
Technical field
The invention relates to network system, particularly a kind of domestic network system.In more detail, be the relevant domestic network system that is suitable for living network control communication protocol that provides.
Background technology
Home network (home Network) is a kind of network that each digitlization man is electrically connected.By home network, can control the household electrical appliances in the family easily whenever and wherever possible, can bring enjoyment in life.Along with the development of digital information processing, household electrical appliances such as refrigerator or washing machine are developing into the digitlization electric equipment gradually.Along with the fast development of household electrical appliances use system technology and high-speed digital communication technology, the information household appliances of above-mentioned technology are appearring fully utilizing.Under above-mentioned background, domestic network system has appearred.
This home network such as table 1 can be divided into data network according to the COS that is provided, amusement net and living network.
Table 1
Classification Function COS
Data network Network between PC and peripheral hardware Exchanges data, and network service
Entertainment network The network of A/V (audio/video) equipment room Audio frequency, services such as video
Living network The network of control apparatus equipment The control of electric equipment, automation appliance, Long-distance Control, information service etc.
Here, data network (data network) belongs between PC and peripheral hardware, for the exchanges data or the network type of providing services on the Internet etc. and to set up.Amusement net (entertainment network) belongs to handles ODO, the home network type of information such as VDO.In addition, living network (living network) is meant the network that is controlled to be purpose with automation appliance or Long-distance Control etc. merely.
This domestic network system that is used for family is formed by master control (master) equipment and slave as electric equipment.As electric equipment, main control device controls or shows the state of other electric equipment to other electric equipment.As electric equipment, slave is pressed characteristic or other key element of electric equipment, the requirement of main control device is replied, and export the state change information of self.
This conventional art can not provide general usefulness (broad sense) communication specification of the electric equipment in the domestic network system being fulfiled functions such as control and supervision.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of domestic network system, the suitable general communication specification of using---the domestic network system of control communication protocol, the above-mentioned general function that each electric equipment in control and the supervision domestic network system is provided with communication specification.
Another object of the present invention is for providing a kind of as the general domestic network system that adopts living network control communication protocol (Living network Control Protocol:LnCP) with communication specification.
Another object of the present invention is for providing a kind of domestic network system, and the notice electric equipment is in operated state.
Another object of the present invention by specific display part, shows that electric equipment is in button operation state or encoder (encoder) input state for a kind of domestic network system is provided.
To achieve these goals, the technical solution used in the present invention is: domestic network system of the present invention comprises the plural the 1st and the 2nd electric equipment and connects the network composition with special communication protocol of the above-mentioned the 1st and the 2nd electric equipment, it is characterized in that, when the 1st electric equipment is imported by the specific operation of user in generation, generate its event information of correspondence, and pass to above-mentioned the 2nd electric equipment, above-mentioned the 2nd electric equipment shows that by specific display part the state of input takes place to be operated by the user above-mentioned electric equipment.
Above-mentioned the 2nd electric equipment receives above-mentioned event information, and stores the state that is operated input of above-mentioned the 1st electric equipment.
Above-mentionedly be input as button input or encoder input.
Above-mentioned communication protocol is living network control communication protocol (LnCP).
The event notification method of a kind of domestic network system of domestic network system, domestic network system is made up of the network with special communication protocol of the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd each electric equipment, it is characterized in that its method comprised with the next stage:
The 1st electric equipment receives the stage that the user operates input;
Above-mentioned the 1st electric equipment generates the stage that corresponding user operates the event information of input;
Above-mentioned the 1st electric equipment is in the stage of above-mentioned event information biography to above-mentioned the 2nd electric equipment;
Above-mentioned the 2nd electric equipment according to above-mentioned event information, by specific display part, shows that above-mentioned electric equipment takes place by the stage of being operated the state of input by the user.
Said method comprises that also above-mentioned the 2nd electric equipment receives above-mentioned event information, and stores the stage that above-mentioned the 1st electric equipment is transfused to state.
Above-mentionedly be input as button input or coding input.
Above-mentioned communication protocol is living network control communication protocol (LnCP).
A kind of electric equipment of domestic network system, by interface unit, input block, and control assembly constitutes, and it is characterized in that, above-mentioned interface unit are used for and being connected with the network of special communication protocol; Input block can be used for the user and import specific user's input; Control assembly communicates by above-mentioned interface unit and other electric equipment, and receives user's input from above-mentioned input block, generates the relevant event information that above-mentioned user's input takes place, and by above-mentioned interface unit, passes to other above-mentioned electric equipment.
Above-mentionedly be input as button input or coding input.
Above-mentioned communication protocol is living network control communication protocol (LnCP).
A kind of electric equipment of domestic network system comprises interface unit, reservoir part, and display part, and control part constitutes, and it is characterized in that, interface unit are used for and being connected with the network of special communication protocol; Specific reservoir part; Specific display part; Control assembly receives the event information of the relevant user of generation input from other electric equipment, and is stored into above-mentioned reservoir part by above-mentioned interface unit, and by above-mentioned display part, shows the state that user's input takes place.
Above-mentioned communication protocol is living network control communication protocol (LnCP).
In sum, the present invention has following effect: provide a kind of general domestic network system communication specification of using that extensively is suitable for---the domestic network system of control communication protocol, the above-mentioned general function that each electric equipment in control and the supervision domestic network system is provided with communication specification.
It is a kind of as the general domestic network system that adopts living network control communication protocol (Living network Control Protocol:LnCP) with communication specification that the present invention can provide.
The invention provides a kind of domestic network system, the notice electric equipment is in operated state.
The present invention can provide a kind of domestic network system, by specific display part, shows that electric equipment is in button operation state or encoder (encoder) input state.
The electric equipment that uses in the specification of the present invention (or new equipment) comprises that not only washing machine, refrigerator etc. are used for the household electrical appliances of above-mentioned living network service, the household electrical appliances that also comprise the household electrical appliances that are used for the data network service and be used for the entertainment network service.In addition, also comprise coal gas automatic control equipment and automatically-controlled door, electrical equipment such as electric light.
Description of drawings
Fig. 1 is a home network block diagram of the present invention,
Fig. 2 is the block diagram of living network control protocol of the present invention,
Fig. 3 a and Fig. 3 b are the interface block diagram of each interlayer of Fig. 2,
Fig. 4 a to 4f is the interface detailed diagram of Fig. 3 a and 3b,
Fig. 5 a to 5c is the embodiment schematic diagram of each solicited message structure.
Fig. 6 a to 6c is the embodiment schematic diagram of each response message structure.
Fig. 7 is the event information structural representation.
Fig. 8 is the common summary pie graph of network manager of the present invention and electric equipment.
Fig. 9 is the sequence chart of event notification method of the present invention.
Among the figure:
1: domestic network system 2: internet
3:LnCP server 4: slave
10: gateway 20 to 23: network manager
30,31:LnCP route 40 to 49: electric equipment
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail: Fig. 1 is the block diagram of domestic network system of the present invention, and as shown in the figure, domestic network system 1 is connected to LnCP server 3 by internet network 2.Client device 4 is connected to LnCP server 3 by internet network 2 in addition.That is, domestic network system 1 is connected into the information of can transmitting mutually to LnCP server 3 and/or client device 4.
The external network of domestic network system 1 comprises internet network 2, and external network also can possess miscellaneous equipment according to the kind of client device 4.That is, be example with this internet network 2, client device 4 possesses Web server (Websever) during for computer, and client device 4 possesses the communication server (Wap sever) (not shown) during for the networking telephone.
LnCP server 3 is connected to domestic network system 1 and client device 4 respectively by specific registration and deregistration procedure, receives supervision and control command etc. from client device 4, and the information by internet network 2 usefulness particular forms is sent to domestic network system 1 again.In addition, LnCP server 3 receives and stores the information of particular form or it is sent to client device 4 from domestic network system 1.In addition, LnCP server 3 stores self or the information of generation is sent to domestic network system 1.That is, domestic network system 1 is connected in LnCP server 3, can download the service content that LnCP server 3 is provided.
Domestic network system 1 comprises gateway 10, network manager 20~23, LnCP router three 0,31, LnCP adapter (adapter) 35,36 and a plurality of electric equipment 40~49.Gateway 10 has the function that connects the internet.Network manager 20~23 is fulfiled the environment set of electric equipment 40~49 and management function.The connection that LnCP router three 0,31 is responsible between the transmission medium.LnCP adapter 35,36 can make network manager 22 and electric equipment 46 be connected to transmission medium.
Network in the domestic network system 1 is coupled to each other by each electric equipment 40~49 shared transmission medium to be formed.This transmission medium can utilize the transmission medium (non-standardized transmission medium) of data connections (datalink) layer unnormalized such as RS-485 or lower powered RF, maybe can utilize the transmission medium (standardized transmissionmedium) of normalization such as power line or IEEE 802.11.
Network in the domestic network system 1 by with internet network 2 are the networks that are separated from each other.That is, the network in the domestic network system 1 constitutes the separate network that is connected by wired or wireless transmission medium.Though separate network comprises the coupled situation that is in physically but the network that separates in theory.
Domestic network system 1 comprises master control (Master) equipment, subordinate (Slave) equipment.Main control device can control apparatus equipment 40~49 or is monitored its operating state.Slave can be responded the request of main control device and the variation information of notice oneself state.This main control device comprises network manager 20~23, and slave comprises electric equipment 40~49.This network manager 20~23 comprises the information and the control code of the electric equipment 40~49 that will control, and programmed mode is carried out control operation, or receives after the information of LnCP server and/or client device 4 inputs, carries out control operation.In addition, as shown in the figure, be connected with a plurality of network managers 20~23 o'clock, for carry out and other network manager 20~23 between exchange message, also for the synchronization of information and control, these network managers 20~23 promptly can be that main control device can be again a slave.Promptly should be a kind of, be an equipment from physical significance, but have master control and subordinate function device (being compatible equipment) in theory simultaneously.
In addition, these network managers 20~23 and electric equipment 40~49 can directly be connected on the network (power line network as shown, RS-485 network, RF network).In addition, can also connect by LnCP router three 0,31 and/or LnCP network adapter 35,36.
In addition, electric equipment 40~49 and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 are registered on the network manager 20~23, and according to product information, receive unique theoretical address (for example 0x00,0x01 etc.).This theoretical address and product code (for example air-conditioning is ' 0x02 ', washing machine is ' 0x01 ') in conjunction with after, use as node address (Node Address).For example, the identical node address by 0x02009 (air-conditioning 1) and 0x0201 (air-conditioning 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, can also use the group address that is provided with by specific benchmark (product of the same race, product position, user etc. are set), 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 shows that group address is for specifying group (cluster) address of a plurality of client devices address choice value (following is mark flag) in the demonstration group address.The default group address is added to " 1 " to all bits (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 and be commonly referred to group's sign indicating number expressing the group address.
Fig. 2 is living network control protocol of the present invention (LnCP) block diagram.Domestic network system 1 can make network manager 20~23 by the living network control protocol among Fig. 2 (LnCP), LnCP router three 0,31, mutual transmission information between LnCP network adapter 35,36 and the electric equipment 40~49.And then, network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49 are carried out network service by this LnCP.
As shown in Figure 2, LnCP comprises application software 50, application layer 60, network layer 70, datalink layer connection 80, physical layer 90 and parameter management layer 100.Application software 50 is brought into play network managers 20~23, LnCP router three 0,31, LnCP network adapter 35,36, is reached the inherent function of electric equipment 40~49.And the function that connects with application layer 60 is provided, so that on network, carry out remote operation and supervision.Application layer 60 provides service to the user, and has the function that is communicated to down after information that the user is provided or the order composition information layer by layer.Network layer 70 can be network manager 20~23, LnCP router three 0,31, and connecting between LnCP network adapter 35,36 and the electric equipment 40~49 is reliable network.Datalink layer connection 80 provides the connection controlled function, is used to connect the common transmitted medium.Physical layer 90 provides network manager 20~23, LnCP router three 0,31, the rule of the physical interface between LnCP network adapter 35,36 and the electric equipment 40~49 and the bit (byte) that will transmit.The parameter (node parameter) of the node that uses in parameter management layer 100 each layers of management configuration.
Detailed says, application software 50 also comprises network management subsidiary layer 51.Network management subsidiary layer 51 has the management node parameter, and management is connected in the network manager 20~23 on the network, LnCP router three 0,31, the function of LnCP network adapter 35,36 and electric equipment 40~49.That is, this network management subsidiary layer 51 has a kind of function, can pass through parameter management layer 100, and setup parameter numerical value manages parameter.When the equipment that is applicable to LnCP was main control device, this network management subsidiary layer 51 also has fulfiled the function that constitutes network or supervising the network.
In addition, network layer 70 also comprises household electrical appliances code control subsidiary layer 71.Net connection has network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49.When utilize power line or IEEE 802.11, non-independent shape transmission medium such as wireless (for example LnCP comprise power line communication (PLC) agreement/or during wireless (wireless) agreement) when constituting above-mentioned network, in order to divide each network in theory, the function of household electrical appliances code and management household electrical appliances code is set in 71 performances of household electrical appliances code control subsidiary layer.By independent shape transmission mediums such as picture RS-485, during from physical significance separation individual networks, this household electrical appliances code control subsidiary layer 71 is not included among the LnCP.This household electrical appliances code is formed with 4 bytes (byte), is set at random (random) value or user's set point.
Fig. 3 a and Fig. 3 b are the block diagram of interface of the interlayer of Fig. 2.
Fig. 3 a is the interface schematic diagram of the interlayer of physical layer 90 when being connected to non-independent shape transmission medium.Fig. 3 b is the interface schematic diagram of the interlayer of physical layer 90 when being connected to independent shape transmission medium.
Domestic network system 1 is added to the title of each layer needs (header) and ending (trailer) information from the network protocol message unit (Protocol Data Unit:PDU) that upper layer receives, and is being communicated to down layer by layer.
As shown in the figure, APDU (Application layer PDU) is the data value (data) that transmits between application layer 60 and the network layer 70.NPDU (Network Layer PDU) is the data value that transmits between network layer 70 and datalink layer connection 80 or the household electrical appliances code subsidiary layer 71.HCNPDU (Home CodeControl Sublayer PDU) is the data value that transmits between network layer 70 (the definite household electrical appliances code subsidiary layer 71 of saying so) and datalink layer connection 80 or the household electrical appliances code subsidiary layer 71.Press data value (data) between datalink layer connection 80 and the physical layer 90, Frame unit forms interface.
Fig. 4 a to 4f is the detailed diagram of the interface of Fig. 3 a and 3b.
Fig. 4 a is the APDU structure in application layer 60.
AL (APDU Length) field (field) is the field of the length (AL is to the length of Frame group) of expression APDU, and minimum value is 4, and maximum is 77.
AHL (APDU Header Length) field is the field of the length (AL is to the length of ALO) of expression APDU title (header), is 3 bytes when not expanding, and can expand to 7 bytes.For the encipherment of Frame group, can expand to 7 bytes in the LnCP procotol in order to change APDU titles (header) such as application protocol.
ALO (Application Layer Option) field is the field that is used for extend information piece (sheet), after for example this field is set to " 0 ", ignores information processing when other value is housed.
The Frame group is processing user's the control information 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, and Fig. 4 c is the detailed structure schematic diagram of the NLC among the NPDU.
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, and each is made of 16 bits.Here upper 1 bit is the mark (flag) of demonstration group address, the kind (product code) that ensuing 7 bits are product, and lower floor's 8 bits comprise the theoretical address of getting.Have the network manager 20~23 of a plurality of same kinds or electric equipment 40~49 o'clock, above-mentioned lower floor 8 bits are used to divide above-mentioned each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) field is for showing the field of the NPDU length overall that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP (Service Priority) field is to give the field that transmission information transmits priority bit, is made of 3 bits.Each transmits the priority picks such as the table 2 of information.
During the request of dependent client device acknowledge master control client device, accompany or follow the priority picks of the solicited message that the master control client device receives.
Table 2
The priority picks Value Be suitable for (Application Layer)
High (High) 0 -when transmitting emergence message
In (Middle) 1 -when transmitting the general data bag-during the event information of the online and non-presence of transmissions map network (Online State) (Offline State) variation
Standard (Normal) 2 -when transmitting notice and constituting the information of network-during transmission common event information
Low (Low) 3 -when transmitting the value according to the producer that downloads or upload
NHL (NPDU Header Length) field is to be used for expanding the field that NPDU title (header) (the NLC field of SLP) uses, and is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Version) field is the field that shows 1 byte of the network protocol version that is adopted, and is made of upper 4 bits and lower floor's 4 bits.Upper 4 bits are version (version) field, and lower floor's 4 bits are server version (sub-version) field.Version (version) and server version (sub-version) are respectively with 16 systems mark method version of display.
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), reply data bag (ResponsePacket), notification data bag (Notification Packet).The NPL field of master control client device should be set at request data package or notification data bag, and the NPL field of slave should be set at reply data bag or notification data bag.The NPT value of packet kind is as shown in table 3 below.
Table 3
Value Explanation
0 Request data package
1~3 Do not use
4 The reply data bag
5~7 Do not use
8 The notification data bag
9~12 Do not use
13~15 The interface that connects with household electrical appliances code control subsidiary layer is worth with reservation
TC (Transmission Counter) field is a network layer generation communication failure, in the time of can not successfully sending request data package or reply data bag, in order to improve the success rate that transmits request data package or reply data bag, transmission or 2 bit fields of transmission more repeatedly.The destination can utilize the numerical value of TC field, detects duplicate message.With the scope of the TC field value of NPT value with following table 4.
Table 4
The packet kind Value (scope)
Request data package 1~3
The reply data bag 1
The notification data bag 1~3
PN (Packet Number) field is made of 2 bits.In slave, use with TC in order to detect repetitive data packet PN (Packet Number) field.In the master control client device, be used in order to handle a plurality of communication cycles.Scope with the PN field of NPT value is as shown in table 5.
Table 5
The packet kind Value (scope)
Request data package 0~3
The reply data bag The PN field value of duplicate requests packet
The notification data bag 0~3
The APDU field is the unit of the Internet protocol data value (data) of the application layer of transmission between application layer 60 and the network layer 70.The APDU minimum value is 0 byte, and maximum is 88 bytes.
CRC (Cyclic Redundancy Check) field is 16 bit fields for the mistake that detects data accepted bag (SLP is to the APDU field).
ELP (End of LnCP Packet) field is the field of video data Bao Weiduan, and its value is 0x03.If receive with the data packet length field in length corresponding data values (data), can not detect the ELP field, then be shown packet error.
Fig. 4 d is the HCNPDU structure chart in the household electrical appliances code control subsidiary layer 71.As shown in the figure, the last bit position of NPDU also comprises HC (Home Code) field.The numerical value of this household electrical appliances code is made of 4 bytes.This household electrical appliances code has unique value in the distance of the propagable circuit of packet.
Fig. 4 e is the structure of the Frame in the datalink layer connection.Title of the Frame of the datalink layer connection of LnCP (header) and ending (trailer) form different structures according to transmission medium.When datalink layer connection 80 used the transmission medium of unnormalized, title of Frame (header) and ending should have Null field (Null Field).As use normalized transmission medium, then with the regulation of procotol.The NPDU field is the unit from the data value of upper network layer 70 transmission.The data value unit that HCNPDU used when being physical layer 90 for non-independent shape transmission medium such as power line or IEEE 802.11 is the data value unit of appending 4 byte household electrical appliances codes at the NPDU front end.Datalink layer connection 80 is not divided the processing of NPDU and HCNPDU.
Fig. 4 f is the data frame structure 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 unnormalized data articulamentum 80 that can use be equal to RS-485 or low power RF.Can also use the normalization transmission medium that is equal to as power line or IEEE 802.11.Be suitable in the domestic network system 1 of LnCP network, for network manager 20~23 and electric equipment 40~49 and RS-485 or LnCP router three 0,31, and LnCP adapter 35,36 connect, and utilize the signal standards (level) of UART (Universal Asynchronous Receiver and Transmitter) data frame structure and RS-232.When utilizing netting twine (serial bus) to connect between each equipment, UART is at communication line control bit signal flow.Shown in Fig. 4 f, in LnCP, the packet that upper layer is sent here, be transformed into the UART Frame unit of 10 bit sizes after, transmit by transmission medium.The UART Frame is made of the start bit (Start Bit) of 1 bit, the data value (data) of 8 bits and the position of rest (Stop Bit) of 1 bit.Above-mentioned UART Frame does not use effect position (Parity Bit).The UART Frame is passed on from start bit, passes on position of rest at last.When the domestic network system 1 of suitable LnCP utilizes UART, do not use the Frame title (frame header) and the End of Frame (frame trailer) that append.
In the above-mentioned information, the arrangement of byte (or bit) data is arranged in the following manner.Last bit byte (or bit) is positioned at the left side of information, and lower floor's byte (or bit) is positioned at the right.The information type that application layer 60 is handled is as follows.
Solicited message (Request Message): be in order to allow slave carry out order, pass the information that the network layer 70 to network layer 70 or slave passes to application layer 60 from the application layer 60 of main control device.The transmission mode that the application layer 60 of slave transmits according to network layer 70 can utilize response message (Response Message) to respond.
Response message (Response Message): being in order to transmit the command execution results of slave, passing to application layer 60 or from the information that the application layer 60 of slave passes to network layer 70 from the network layer 70 of main control device, is the response to solicited message.
Event information (Event Message) is an equipment state when being changed, and passes to network layer or from destination's network layer from the side's of delivering letters application layer and passes information to application layer.The recipient does not response.
Fig. 5 a to 5c is the structure embodiment of each solicited message.
Fig. 5 a is the schematic diagram of basic solicited message.This solicited message is by command code (Command Code:CC) and carry out its used association factor ( factor 1,2...) formation.Solicited message is used for the control and the state confirmation of slave, in addition, also is used to ask the validation of information of slave.
Fig. 5 b is download request information (Downloading Request Message).Download request information is that data that are partitioned in a solicited message biography is that used enter factor (InputArguments) comprises total page or leaf and current page to equipment.Fig. 5 c is upload request information (Uploading RequestMessage).Upload request information is to be used for cutting apart the enter factor of obtaining data from slave unit, comprises the page number (PageNo) and size of data (DataNo).
Detailed says so, and this download request information is to allow main control device possess particular data, the information of this data biography to slave and/or other main control device.Above-mentioned data are cut apart by the particular data size, and the whole numbers that are partitioned into are total page or leaf.In this total page or leaf, be included in the current solicited message, the data that are transmitted are current page.
This upload request information is that slave and/or other main control device are possessed particular data, and main control device is uploaded the information of these data.Main control device is in total page or leaf, and a request part is equivalent to the data of size of data, and these part data are the partition data that is arranged on the order of the corresponding page number of all data.
Fig. 6 a to 6c is the structure embodiment of each response message.When response message is divided into the solicited message that normal implementation main control device sends here, the ACK-response message of generation (ACK-Response Message) otherwise and during situation, the NAK-response message of generation (NAK-Response Message).
Fig. 6 a is an ACK-response message schematic diagram.This ACK-response message by command code and ACK (for example, 0x06), expression carry out the result each factor ( factor 1,2 ...) constitute.In the slave successful implementation during by the solicited message of main control device transmission, transferring ACK-response message.
Fig. 6 b is the schematic diagram of NAK-response message.This NAK-response message by command code, NAK (for example, 0x15) and the NAK_code of 1 byte constitute.When slave is failed the solicited message of successful implementation main control device transmission, transmit this NAK-response message.NAK_code has difference with the mistake of relevant product code.NAK_code is in the communication process between main control device and slave, because of the bad command sign indicating number or the wrong factor, and when slave is failed the successful implementation solicited message, the code value of its reason of classifying.
Fig. 6 c is the schematic diagram that comprises error code (Error_code) NAK-response message.This Error_code is the relevant mistake of product work.Because of producing this mistake, when slave was failed the successful implementation solicited message, the NAK_code value was fixed as specific value, for example " 0x63 ".Behind the NAK_code, immediately following the Error_code value.
Fig. 7 is the event information structure chart.As shown in Figure 7, event information is the state of slave when being changed, the information of generation.(for example, 0x11), event code (Event Code) (2 byte) and state value (State Variable) (4 byte) constitute by command code.In event code, upper 1 byte is identical with product code (Product Code), lower floor's 1 byte representation state variable.
Fig. 8 is the summary pie graph of network manager of the present invention and electric equipment common ground.As shown in the figure, network manager 20~23 (to call main null device in the following text) and electric equipment 40~49 (to call slave in the following text) are by the interface unit 210 and the specific memory parts 220 that are used to be connected network, and control assembly 230 constitutes.Control assembly 230 docking port parts 210 and memory unit 220 are controlled.
In more detail, memory unit 220 other the main null devices of storage of main null device and the relevant product information and the other address information of product of slave.Comprise that above-mentioned all documents that are connected product information on the network (product information and the node address information having set or do not set etc.) are called home network document (program file), this home network document is stored on the reservoir part 220, by control assembly 230 recognitions, and registration updating.
The reservoir part 220 stored prod information of slave.The said goods information is stored with the form of dependency information, is stored on the read-only memory 220 as reservoir part.This dependency information document is the subordinate intrinsic information data that comprise that indivedual electric equipments 40~49 (or slave) are had.Indivedual electric equipments 40~49 are connected on the network.
Main control device can also comprise that the user can carry out the input block of specific input, and display unit (figure slightly).Display unit can be used icon (icon), by the home network document in the user shows domestic network system 1 all or to small part electric equipment 40~49, and/or network manager 20~23, in addition, display unit also comprises and can show current and user's interface of operate condition (button input state or encoder input state) in the past.
In addition, slave also comprises press key input section or encoder input part, and press key input section and encoder input part carry out work by user's operation, assign specific control command.Press key input section shows for example input state of push button, and the encoder input part shows the adjustable state that for example rotates.The instruction that control assembly 230 reception press key input section and/or encoder input part are imported, and carry out specific control command.
Though the control assembly 230 by main control device or slave carries out specific action, for the convenience on illustrating, record is carried out specific action for main control device or slave below.
Fig. 9 is the sequence chart of event notification method of the present invention.The information of using below comprises the structure shown in Fig. 5 a to Fig. 7, and comprises above-mentioned APDU, the data that data forms such as NPDU transmit.
Among the stage S51, when the user imported specific input (button input and/or encoder input), slave generated the event information of the state that corresponding above-mentioned generation imported by the user, and passes to main control device.At this moment the structure of the event information of Chuan Songing constitutes as table 6a and 6b.
Table 6a
Data name Explanation Size of data Value
CommCode Command code 1 byte 0x11
EventCode Event code 2 bytes 0xFF01
StatusVal The key value of input 4 bytes -
Table 6b
Data name Explanation Size of data Value
CommCode Command code 1 byte 0x11
EventCode Event code 2 bytes 0xFF02
StatusVal The encoder values of input 4 bytes -
Among the stage S72, main control device receives event information, and reads the user's input (value) that is included in wherein, upgrades the home network document, and stores the value of slave input.
In addition, main control device shows the home network document that has upgraded by display part, and shows that slave is in operated state, and shows the current encoder that is in the button of key-press status or is in input state.
Indubitable, scope of the present invention is not subject to following embodiment and accompanying drawing.Interest field of the present invention should make an explanation based on right request scope.

Claims (13)

1. domestic network system, the network with special communication protocol that comprises the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd electric equipment is formed, it is characterized in that, when the 1st electric equipment is imported by the specific operation of user in generation, generate its event information of correspondence, and pass to above-mentioned the 2nd electric equipment, above-mentioned the 2nd electric equipment shows that by specific display part the state of input takes place to be operated by the user above-mentioned electric equipment.
2. domestic network system according to claim 1 is characterized in that, above-mentioned the 2nd electric equipment receives above-mentioned event information, and stores the state that is operated input of above-mentioned the 1st electric equipment.
3. domestic network system according to claim 1 is characterized in that, above-mentionedly is input as button input or encoder input.
4. domestic network system according to claim 1 is characterized in that, above-mentioned communication protocol is living network control communication protocol (LnCP).
5. the event notification method of a kind of domestic network system of domestic network system according to claim 1, domestic network system is made up of the network with special communication protocol of the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd each electric equipment, it is characterized in that its method comprised with the next stage:
The 1st electric equipment receives the stage that the user operates input;
Above-mentioned the 1st electric equipment generates the stage that corresponding user operates the event information of input;
Above-mentioned the 1st electric equipment is in the stage of above-mentioned event information biography to above-mentioned the 2nd electric equipment;
Above-mentioned the 2nd electric equipment according to above-mentioned event information, by specific display part, shows that above-mentioned electric equipment takes place by the stage of being operated the state of input by the user.
6. the event notification method of domestic network system according to claim 5 is characterized in that, said method comprises that also above-mentioned the 2nd electric equipment receives above-mentioned event information, and stores the stage that above-mentioned the 1st electric equipment is transfused to state.
7. according to the event notification method of claim 5 or 6 described domestic network systems, it is characterized in that, above-mentionedly be input as button input or coding input.
8. the event notification method of domestic network system according to claim 5 is characterized in that, above-mentioned communication protocol is living network control communication protocol (LnCP).
9. a kind of electric equipment of domestic network system according to claim 1, by interface unit, input block, and control assembly constitutes, and it is characterized in that, above-mentioned interface unit are used for and being connected with the network of special communication protocol; Input block can be used for the user and import specific user's input; Control assembly communicates by above-mentioned interface unit and other electric equipment, and receives user's input from above-mentioned input block, generates the relevant event information that above-mentioned user's input takes place, and by above-mentioned interface unit, passes to other above-mentioned electric equipment.
10. electric equipment according to claim 9 is characterized in that, above-mentionedly is input as button input or coding input.
11. electric equipment according to claim 9 is characterized in that, above-mentioned communication protocol is living network control communication protocol (LnCP).
12. a kind of electric equipment of domestic network system according to claim 1 comprises interface unit, reservoir part, and display part, and control part constitutes, and it is characterized in that, interface unit are used for and being connected with the network of special communication protocol; Specific reservoir part; Specific display part; Control assembly receives the event information of the relevant user of generation input from other electric equipment, and is stored into above-mentioned reservoir part by above-mentioned interface unit, and by above-mentioned display part, shows the state that user's input takes place.
13. electric equipment according to claim 12 is characterized in that, above-mentioned communication protocol is living network control communication protocol (LnCP).
CN 200410072405 2004-10-27 2004-10-27 Household network system Pending CN1767461A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=36743080

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN1767461A (en)

Similar Documents

Publication Publication Date Title
CN1820479A (en) Home network system
CN1287286C (en) Control equipment, control method and control program for domestic electric devices and domestic electric device products
CN1961298A (en) Home-use electrical device information communication system
CN101164285A (en) Packet structure and packet transmission method of network control protocol
CN1767472A (en) Household network system
CN1767461A (en) Household network system
CN1767460A (en) Household network system and its affirmation method
CN1767462A (en) Household network system
CN1747416A (en) Household network system
CN1767469A (en) Household network system
CN1747417A (en) Network system of electrical appliances
CN1767473A (en) Household network system and its item informing method and electrical appliance equipment
CN1767471A (en) Household network system
CN1767458A (en) Household network system and its affirmation method
CN1767459A (en) Household network system and its electrical appliance equipment
CN1747414A (en) Household network system
CN1767467A (en) Household network system
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1767470A (en) Household network system
CN1767466A (en) Household network system
CN1767468A (en) Household network system
CN1767474A (en) Household network system and its address setting method and associated electrical appliance equipment
CN1767465A (en) Household network system
CN1767475A (en) Household network system and its movement precontract setting method and associated electrical appliance equipment
CN1747413A (en) Household network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication