CN1767460A - Household network system and its affirmation method - Google Patents

Household network system and its affirmation method Download PDF

Info

Publication number
CN1767460A
CN1767460A CN 200410072393 CN200410072393A CN1767460A CN 1767460 A CN1767460 A CN 1767460A CN 200410072393 CN200410072393 CN 200410072393 CN 200410072393 A CN200410072393 A CN 200410072393A CN 1767460 A CN1767460 A CN 1767460A
Authority
CN
China
Prior art keywords
electric equipment
network system
network
operate condition
communication protocol
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 200410072393
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 200410072393 priority Critical patent/CN1767460A/en
Publication of CN1767460A publication Critical patent/CN1767460A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

This invention provides a family network system including more than one first and second devices and a network connected with them along with the communication protocol, in which, the first device generates matter information relating to the current action state and transfers it to the second device, which receives the information and stores the action state of the first device. This invention also provides a confirmation method for the action state of the family network system and a family network system with electric devices composed of a bus line, an interface, an action state confirmation unit and a control unit, which provides a system suitable for the general communication standard- control communication protocol providing functions of controlling and monitoring appliances in the system.

Description

Domestic network system and confirmation method thereof
Technical field
The present invention is the invention of relevant domestic network system, particularly about providing suitable living network to control the domestic network system of communication protocol and the invention of confirmation method thereof.
Background technology
Appliance network (home Network) is a kind of network that each digitlization man is electrically connected.By appliance 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 home appliance 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 appliance network such as following 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 equipment Exchanges data, and network service
The amusement net The network of A/V (Audio/Video) equipment room Music, services such as animation
Living network The home appliance Control Network The control of home appliance, automation appliance, Long-distance Control, information service etc.
Here, data network (data network) belongs between PC and peripheral equipment, 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 appliance 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.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.
But 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
In order to address the above problem, purpose of the present invention is for providing a kind of general communication specification of using that is suitable for---the domestic network system of control communication protocol, the 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 can be pointed out the operate condition of electric equipment for a kind of domestic network system and confirmation method thereof are provided.
Another object of the present invention is for a kind of domestic network system is provided, when the operate condition of electric equipment changes, and can be to user's prompting operate condition at this moment.
For achieving the above object, the technical solution used in the present invention provides a kind of domestic network system, it is characterized in that: comprise the domestic network system of being made up of the network with communication protocol of the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment; Described the 1st electric equipment generates the event information about current operate condition, and described event information is passed to described the 2nd electric equipment, and described the 2nd electric equipment receives described event information, and stores the operate condition of described the 1st electric equipment.
Described operate condition comprises some in time-out, release and the action beginning.
Described the 2nd electric equipment shows the operate condition of described the 1st electric equipment by display part.
Described communication protocol is living network control communication protocol (LnCP).
A kind of confirmation method of operate condition of domestic network system also is provided, in the domestic network system of being made up of the network with communication protocol of the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment, the confirmation method of this system comprised with the next stage: described the 1st electric equipment generates the stage of the event information of relevant current operate condition; Described the 1st electric equipment is in the stage of described event information biography to the 2nd electric equipment; Described the 2nd electric equipment receives the stage of described event information and the stage that described the 2nd electric equipment stores the operate condition of described the 1st electric equipment.
Described operate condition comprises some in time-out, release and the action beginning.
Described the 2nd electric equipment shows the operate condition of described the 1st electric equipment by display part.
Described communication protocol is living network control communication protocol (LnCP).
A kind of domestic network system also is provided, includes the electric equipment that bus, interface unit, operate condition confirm that parts and control assembly constitute, wherein: described interface unit is used for and being connected with the network of communication protocol; Described operate condition affirmation parts are confirmed operate condition; Described control assembly communicates by described interface unit and other electric equipment, generates event information, and by described interface unit, passes to described other electric equipment, and described event information comprises the operate condition that described operate condition affirmation parts are confirmed.
Described operate condition comprises some in time-out, release and the action beginning.
Described communication protocol is living network control communication protocol (LnCP).
A kind of electric equipment of domestic network system also is provided, includes the electric equipment that bus, interface unit, reservoir part and control assembly constitute, wherein: described interface unit is used for and being connected with the network of communication protocol; Described control assembly communicates by described interface unit and other electric equipment, receives the event information of the operate condition of described other electric equipment, and is stored into described reservoir part.
Described electric equipment also comprises display part, and described control assembly makes by described display part, shows the operate condition of described other electric equipment.
Described communication protocol is living network control communication protocol (LnCP).
Effect of the present invention is that this system can provide a kind of general communication specification of using that is suitable for---the domestic network system of control communication protocol, the general function that each electric equipment in control and the supervision domestic network system is provided with communication specification.
The present invention can provide a kind of suitable living network communication specification---the domestic network system of control communication protocol.In addition, the present invention can provide a kind of domestic network system, can point out the electric equipment operate condition.In addition, the present invention can provide a kind of domestic network system, in the time of can changing at the operate condition of electric equipment, and the prompting user.
Description of drawings
Fig. 1 is an appliance 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 respectively the interface block diagram of each interlayer of Fig. 2;
Fig. 4 a to 4f is respectively the interface detailed diagram of Fig. 3 a and 3b;
Fig. 5 a to 5c is respectively the embodiment schematic diagram of each solicited message structure;
Fig. 6 a to 6c is respectively 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 router four 0 to 49: electric equipment
Embodiment
Below, by embodiments of the invention and accompanying drawing, domestic network system of the present invention is elaborated.Fig. 1 is the block diagram of domestic network system of the present invention.
As shown in Figure 1, domestic network system 1 is connected to LnCP server 3 by internet network 2.Customer equipment 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 customer equipment 4.
The external network of domestic network system 1 comprises internet network 2, and the kind of the network based customer equipment 4 of said external also can possess miscellaneous equipment.That is, be example with this internet network 2, customer equipment 4 possesses Web server (Websever) (not shown) during for computer, and customer equipment 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 customer equipment 4 respectively by specific registration and deregistration procedure, receives supervision and control command etc. from customer equipment 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 customer equipment 4 from domestic network system 1.In addition, LnCP server 3 stores self or the information of generation is sent to above-mentioned 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 datalink layer connection unnormalizeds such as RS-485 bus or lower powered RF, maybe can utilize the transmission medium (standardized transmission medium) 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 above-mentioned domestic network system 1 constitutes the separate network that is connected by wired or wireless transmission medium.Here, though separate network comprises the network that the coupled situation that is in is physically separated 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 customer equipment 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, from physical significance equipment just, but be to have master control simultaneously and from the equipment (being compatible equipment) of the function of dominant in theory.
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 by specific benchmark (product of the same race, product position, user etc. are set) group address that is 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, show that the group address is group (cluster) address of a plurality of customer equipment of appointment to address choice value (the following mark flag of being) in this demonstration group address when being set at " 1 ".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 customer equipments.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 instrumental variable management level 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 carry out remote operation and supervision on network.Application layer 60 provides service to the user, and has the function that is communicated to lower layer after information that the user is provided or the order composition information.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 instrumental variable (node parameter) of the node that uses in instrumental variable management level 100 each layers of management configuration.
Application software 50 also comprises network management subsidiary layer 51.Network management subsidiary layer 51 has the management node instrumental variable, 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 instrumental variable management level 100, sets instrumental variable numerical value instrumental variable is managed.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 appliance network sign indicating number 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 appliance network sign indicating number and management appliance network sign indicating number is set in 71 performances of appliance network sign indicating number control subsidiary layer.By independent shape transmission mediums such as picture RS-485, during from physical significance separation individual networks, this appliance network sign indicating number control subsidiary layer 71 is not included among the LnCP.This appliance network sign indicating number 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 respectively the block diagram of interface of the interlayer of Fig. 2.
The interface schematic diagram of the interlayer when Fig. 3 a is depicted as physical layer 90 and is connected to non-independent shape transmission medium, shown in 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 lower 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, and NPDU (Network Layer PDU) is the data value that transmits between network layer 70 and datalink layer connection 80 or the appliance network sign indicating number subsidiary layer 71.HCNPDU (Home Code ControlSublayer PDU) is the data value that transmits between network layer 70 (the definite appliance network sign indicating number subsidiary layer 71 of saying so) and datalink layer connection 80 or the appliance network sign indicating number 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 respectively the detailed diagram of the interface of Fig. 3 a and 3b.
Fig. 4 a is depicted as the APDU structure in application layer 60.
AL (APDU Length) digit groups is the digit groups of the length (AL is to the length of Frame group) of expression APDU, and minimum value is that 4 maximums are 77.
AHL (APDU Header Length) digit groups be the expression APDU title (header) length (AL is to the length of ALO), digit groups, be 3 bytes when not expanding, 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) digit groups is the digit groups that is used for extend information piece (sheet), after for example this digit groups is set to " 0 ", ignores information processing when other value is housed.
The Frame group is processing user's the control information or the digit groups 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) digit groups is the initial number group of expression packet, and its value is 0x02.
The digit groups 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 the next 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 the next 8 bits are used to divide above-mentioned each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) digit groups is for showing the digit groups of the NPDU length overall that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP (Service Priority) digit groups is to give the digit groups that transmission information transmits priority bit, is made of 3 bits.Each transmits the priority picks such as the table 2 of information.
When the subordinate customer equipment is replied the request of master control customer equipment, the priority picks of the solicited message that retinue's master control customer equipment 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 event information of the online and non-presence of map network (Online State) (Offline State) variation when transmitting the general data bag
Standard (Normal) 2 Transmit when transmitting common event information when notifying the information that constitutes network
Low (Low) 3 -when transmitting the value according to the producer that downloads or upload
NHL (NPDU Header Length) digit groups is to be used for expanding the digit groups that NPDU title (header) (the NLC digit groups of SLP) uses, and is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Version) digit groups is the digit groups that shows 1 byte of the network protocol version that is adopted, and is made of upper 4 bits and the next 4 bits.Upper 4 bits are version (version) digit groups, and the next 4 bits are server version (sub-version) digit groups, and version (version) and server version (sub-version) are respectively with 16 systems mark method version of display.
NPT (Network layer Packet Type) digit groups is 4 digital bit groups of dividing data bag kind in network layer.LnCP comprises request data package (Pequest Packet), reply data bag (ResponsePacket), notification data bag (Notification Packet).The NPL digit groups of master control customer equipment should be set at request data package or notification data bag, and the NPL digit groups 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 appliance network sign indicating number control subsidiary layer is worth with reservation
TC (Transmission Counter) digit groups 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 digital bit groups of transmission more repeatedly.The destination can utilize the numerical value of TC digit groups, detects duplicate message.With the scope of the TC of NPT value numeral class 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) digit groups is made of 2 bits.In slave, be used with TC in order to detect repetitive data packet PN (Packet Number) digit groups.In the master control customer equipment, be used in order to handle a plurality of communication cycles.Scope with the PN digit groups of NPT value is as shown in table 5 below.
Table 5
The packet kind Value (scope)
Request data package 0~3
The reply data bag The PN numeral class value of duplicate requests packet
The notification data bag 0~3
The APDU digit groups 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) digit groups is 16 digital bit groups for the mistake that detects data accepted bag (SLP is to the APDU digit groups).
ELP (End of LnCP Packet) digit groups is the digit groups of video data Bao Weiduan, and its value is 0x03.If receive with the data packet length digit groups in length corresponding data values (data), can not detect the ELP digit groups, then be shown packet error.
Fig. 4 d is the HCNPDU structure chart in the appliance network sign indicating number control subsidiary layer 71.
As shown in the figure, the last bit position of NPDU also comprises HC (Home Code) digit groups.
The numerical value of this appliance network sign indicating number is made of 4 bytes.This appliance network sign indicating number has unique value in the distance of the propagable circuit of packet.
Fig. 4 e is depicted as 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 digit groups (Null Field).As use normalized transmission medium, then with the regulation of procotol.The NPDU digit groups 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 appliance network sign indicating numbers 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, reach LnCP adapter 35,36 and connect, utilized 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 (ParityBit).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 following bit 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): be equipment state when being changed, pass to network layer or from destination's network layer from the application layer of the side of delivering letters and pass information that the recipient does not response to application layer.
Fig. 5 a to 5c is respectively 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 depicted as 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. 6 c is depicted as upload request information (UploadingRequest Message).Upload request information is to be used for cutting apart the enter factor of obtaining data from slave unit, comprises " 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 to allow slave and/or other main control device possess 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 become the partition data on the order that is arranged in 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, and 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), the next 1 byte representation state variable.
Fig. 8 is the summary pie graph of the common ground of network manager of the present invention and electric equipment.
As shown in Figure 8, network manager 20~23 (below be called main control device) and electric equipment 40~49 (below be called slave) 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 main control devices of storage of main control 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 (figure slightly), 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 in the past.
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 among above-mentioned Fig. 5 a to Fig. 7, shown structure, and comprise with above-mentioned APDU data forms such as NPDU, the data of transmission.
In more detail, among the stage S71, slave generates the event information of relevant current operate condition, and passes to the group null device.At this moment, the event information that is transmitted has the structure as following table 6.
Table 6
Data name Explanation Size of data Value
CommCode Command code 1 byte 0x11
EventCode Event code 2 bytes 0xFF51
StatusVal Power supply state 1 byte 0: release 1: action beginning 2~255: not definition
At this moment, when slave changes at current operate condition, generate and transmit event information.
Among the stage S72, main control device receives event information, and reads the operate condition that is included in the above-mentioned event information, and informs the operate condition of slave.
Scope of the present invention is not limited to above embodiment and accompanying drawing.The scope of the present invention should make an explanation based on the application's right request scope.

Claims (14)

1, a kind of domestic network system is characterized in that: comprise the domestic network system of being made up of the network with communication protocol of the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment;
Described the 1st electric equipment generates the event information about current operate condition, and described event information is passed to described the 2nd electric equipment, and described the 2nd electric equipment receives described event information, and stores the operate condition of described the 1st electric equipment.
2, domestic network system according to claim 1 is characterized in that: described operate condition comprises some in time-out, release and the action beginning.
3, domestic network system according to claim 1 and 2 is characterized in that: described the 2nd electric equipment shows the operate condition of described the 1st electric equipment by display part.
4, domestic network system according to claim 1 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
5, a kind of confirmation method of operate condition of domestic network system, in the domestic network system of being made up of the network with communication protocol of the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment, the confirmation method of this system comprised with the next stage:
Described the 1st electric equipment generates the stage of the event information of relevant current operate condition;
Described the 1st electric equipment is in the stage of described event information biography to the 2nd electric equipment;
Described the 2nd electric equipment receives the stage of described event information;
And described the 2nd electric equipment stores the stage of the operate condition of described the 1st electric equipment.
6, the confirmation method of the operate condition of domestic network system according to claim 5 is characterized in that: described operate condition comprises some in time-out, release and the action beginning.
7, the confirmation method of the operate condition of domestic network system according to claim 5 is characterized in that: described the 2nd electric equipment shows the operate condition of described the 1st electric equipment by display part.
8, the confirmation method of the operate condition of domestic network system according to claim 5 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
9, a kind of domestic network system includes the electric equipment that bus, interface unit, operate condition affirmation parts and control assembly constitute, and it is characterized in that:
Described interface unit is used for and being connected with the network of communication protocol;
Described operate condition affirmation parts are confirmed operate condition;
Described control assembly communicates by described interface unit and other electric equipment, generates event information, and by described interface unit, passes to described other electric equipment, and described event information comprises the operate condition that described operate condition affirmation parts are confirmed.
10, domestic network system according to claim 9 is characterized in that: described operate condition comprises some in time-out, release and the action beginning.
11, domestic network system according to claim 9 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
12, a kind of electric equipment of domestic network system includes the electric equipment that bus, interface unit, reservoir part and control assembly constitute, and it is characterized in that:
Described interface unit is used for and being connected with the network of communication protocol;
Reservoir part;
Described control assembly communicates by described interface unit and other electric equipment, receives the event information of the operate condition of described other electric equipment, and is stored into described reservoir part.
13, the electric equipment of domestic network system according to claim 12 is characterized in that: described electric equipment also comprises display part, and described control assembly makes by described display part, shows the operate condition of described other electric equipment.
14, the electric equipment of domestic network system according to claim 12 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
CN 200410072393 2004-10-27 2004-10-27 Household network system and its affirmation method Pending CN1767460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410072393 CN1767460A (en) 2004-10-27 2004-10-27 Household network system and its affirmation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410072393 CN1767460A (en) 2004-10-27 2004-10-27 Household network system and its affirmation method

Publications (1)

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

Family

ID=36743079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410072393 Pending CN1767460A (en) 2004-10-27 2004-10-27 Household network system and its affirmation method

Country Status (1)

Country Link
CN (1) CN1767460A (en)

Similar Documents

Publication Publication Date Title
CN1820479A (en) Home network system
CN102957551A (en) Method and device for managing equipment in batches
WO2006091042A1 (en) Network system management method
CN106789475A (en) Household electric appliance control method and device
CN101164285A (en) Packet structure and packet transmission method of network control protocol
CN1767472A (en) Household network system
CN1767460A (en) Household network system and its affirmation method
CN1747416A (en) Household network system
CN1767461A (en) Household network system
CN103491058A (en) TR069 and UPnP protocol conversion method and home network terminal management method and system
CN1767462A (en) Household network system
CN1767471A (en) Household network system
CN1767469A (en) Household network system
CN1767458A (en) Household network system and its affirmation method
CN1767473A (en) Household network system and its item informing method and electrical appliance equipment
CN1747417A (en) Network system of electrical appliances
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767470A (en) Household network system
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1767467A (en) Household network system
CN1747414A (en) Household network system
CN1767468A (en) Household network system
CN1767466A (en) Household network system
CN1767465A (en) Household network system
CN1767475A (en) Household network system and its movement precontract setting method and associated electrical appliance equipment

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