[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

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

Household network system and its affirmation method Download PDF

Info

Publication number
CN1767458A
CN1767458A CN 200410072391 CN200410072391A CN1767458A CN 1767458 A CN1767458 A CN 1767458A CN 200410072391 CN200410072391 CN 200410072391 CN 200410072391 A CN200410072391 A CN 200410072391A CN 1767458 A CN1767458 A CN 1767458A
Authority
CN
China
Prior art keywords
electric equipment
power supply
network system
network
supply state
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 200410072391
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 200410072391 priority Critical patent/CN1767458A/en
Publication of CN1767458A publication Critical patent/CN1767458A/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 electric appliances and a network connected with them along with the communication protocol, a confirmation method for the supply state of the network and a family network system including a bus line, a primary control device, a slave device, an interface device, a monitor unit or a storage unit and a control unit providing a system suitable for the general communication standard 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, and a kind of domestic network system and confirmation method thereof of applicable living network control communication protocol particularly is provided.
Background technology
Home appliance network (home Network) is a kind of network that each digitlization home appliance is connected. By the home appliance network, can control the home appliance in the family easily whenever and wherever possible, can bring enjoyment in life. Along with the development of digital information processing, the home appliances such as refrigerator or washing machine are developing into the digitlization home appliance gradually. Along with the fast development of home appliance use system technology and high-speed digital communication technology, the information household appliances equipment equipment equipment of above-mentioned technology is appearring fully utilizing. Under above-mentioned background, domestic network system has appearred.
This home appliance network such as following table 1 can be divided into data network according to the COS that provides, 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, the services such as animation
Living network Home appliance control network The control of home appliance, home appliance automation, Long-distance Control, information service etc.
Here, data network (data network) belongs between PC and peripheral equipment, for exchanges data or the network type of providing services on the Internet etc. and to set up. Amusement net (entertainment network) belongs to processes ODO, the home appliance equipment device network type of the information such as VDO. In addition, living network (living network) refers to be controlled to be merely with home appliance automation or Long-distance Control etc. the network of purpose.
This domestic network system 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 home appliance of above-mentioned living network service, also comprises for the home appliance of data network service and the home appliance that is used for the entertainment network service. In addition, also comprise coal gas automatic control equipment and automatically-controlled door, the 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 the functions such as control and supervision.
Summary of the invention
In order to address the above problem, purpose of the present invention makes the general function that each electric equipment in control and the supervision domestic network system is provided with communication specification for a kind of applicable general communication specification of using---the domestic network system of control communication protocol is provided.
Another object of the present invention is for providing a kind of as general domestic network system and the confirmation method thereof 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 that can show the power supply state of electric equipment.
Another object of the present invention according to the characteristic of product, shows power supply state for a kind of domestic network system is provided.
For achieving the above object, the technical solution used in the present invention provides a kind of domestic network system, and wherein: this system comprises the domestic network system that is comprised of the plural the 1st and the 2nd electric equipment and the network with communication protocol that connects the described the 1st and the 2nd each electric equipment; In this system, include main control device and slave;
Described the 1st electric equipment is monitored power supply state, generate the event information of corresponding described monitoring, and described event information passed to described the 2nd electric equipment, described the 2nd electric equipment receives described event information, and stores the power supply state of described the 1st electric equipment.
Described power supply state is that power supply disconnects or power connection.
Described the 2nd electric equipment shows the power supply state of described the 1st electric equipment by display part.
When described electric equipment was touched the operation product for touching operation product or pressure, described event information represented that product work begins.
When described slave was touched ready product for inserting ready product or pressure, described event information represented power supply or outage.
Described communication protocol is living network control communication protocol (LnCP).
A kind of confirmation method of power supply state of domestic network system also is provided, in the domestic network system that the network with communication protocol by the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment forms, its confirmation method comprised with the next stage:
The stage that the 1st electric equipment is monitored power supply state;
The 1st electric equipment generates the stage of the event information of corresponding above-mentioned monitoring;
The 1st electric equipment is in the stage of above-mentioned event information biography to described the 2nd electric equipment;
Described the 2nd electric equipment storage bag is contained in the stage of the power supply state in the above-mentioned event information.
Described power supply state is deenergization or plugged.
Described the 2nd electric equipment shows the power supply state 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 bus, main control device, slave, interface unit, monitoring component and control assembly, wherein:
Described interface unit is used for and being connected with the network of communication protocol;
Described monitoring component is monitored power supply state;
Described control assembly communicates by described interface unit and other electric equipment, generates the event information of the power supply state that comprises described monitoring component monitoring, and by described interface unit, passes to described other electric equipment.
Described communication protocol is living network control communication protocol (LnCP).
A kind of electric equipment of domestic network system also is provided, includes bus, main control device, slave, interface unit, reservoir part and control assembly, wherein: 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 power supply state of relevant described other electric equipment, and is stored into described reservoir part.
Described electric equipment also comprises display part, and described control part shows the power supply state of described other electric equipment by described display part.
When described electric equipment was touched the operation product for touching operation product or pressure, described event information represented that product starts working.
When described slave was touched ready product for inserting ready product or pressure, described event information represented power supply or outage.
Described communication protocol is living network control communication protocol (LnCP).
Effect of the present invention is that a kind of applicable general communication specification of using---the domestic network system of control communication protocol can be provided, 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 applicable 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 inform power supply state. In addition, the present invention can provide a kind of domestic network system, can by the product performance of electric equipment, inform the power supply state of electric equipment.
Description of drawings
Fig. 1 is home appliance network 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 framework 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 flow 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
The specific 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 the Internet network 2, customer equipment 4 is connected to LnCP server 3 by the Internet network 2 in addition, that is, domestic network system 1 is connected into mutually transmission of information to LnCP server 3 and/or customer equipment 4.
The external network of domestic network system 1 comprises the Internet network 2, and the kind of the network based customer equipment 4 of said external also can possess miscellaneous equipment. That is, take this Internet network 2 as example, 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 respectively domestic network system 1 and customer equipment 4 by specific registration and deregistration procedure, receives supervision and control command etc. from customer equipment 4, and the information by the 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 provides.
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. LnCP router three 0,31 connections of being responsible between the transmission medium. LnCP adapter 35,36 can make network manager 22 and electric equipment 46 be connected to transmission medium.
The transmission medium that network in the domestic network system 1 is shared by each electric equipment 40~49 is coupled to each other and forms. This transmission medium can utilize the transmission medium (non-standardized transmission medium) of the datalink layer connection unnormalizeds such as RS-485 bus or lower powered RF, the transmission medium (standardized transmission medium) that maybe can utilize power line or IEEE 802.11 isotactics to format.
Network in the domestic network system 1 by with the Internet network 2 are the networks that are separated from each other. That is, the network in the above-mentioned domestic network system 1 consists of the separate network that is connected by wired or wireless transmission medium. Here, although 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 duty, and 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 information and the control code of the electric equipment 40~49 that will control, and programmed mode is controlled operation, or receives after the information of LnCP server and/or customer equipment 4 inputs, controls 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 namely can be that main control device can be again slave. Namely should be a kind of, be an equipment from physical significance, but be the equipment (being compatible equipment) that has simultaneously master control and subordinate function 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 pass through LnCP router three 0,31 and/or LnCP network adapter 35,36 connect.
In addition, electric equipment 40~49 and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 be registered on the network manager 20~23, and according to product information, receive unique theoretical address (for example Ox00, Ox01 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 LnCP network adapter 35,36 identifications. In addition, can also use by specific benchmark (product of the same race, the setting position of product, user etc.) group address that arranges can the more than one electric equipment 40~49 of one-off recognition when using the group address and/or LnCP router three 0,31 and/or LnCP network adapter 35,36. In this group address, this dominant group address is group (cluster) address of a plurality of customer equipment of appointment when being set as " 1 " address choice value (following is mark flag) in dominant 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 customer equipments. Here, it is to be noted especially and be commonly referred to group's code 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 carry out network service by this LnCP.
As shown in Figure 2, LnCP comprises application software 50, application layer 60, Internet 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, in order to carry out operated from a distance and supervision at network. Application layer 60 provides service to the user, and has the function that is communicated to lower floor after information (message) that the user is provided or the order composition information. Internet 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 and connects the control function, is used for connecting the common transmitted media. Physical layer 90 provides network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49 between physical interface and the rule of 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 network manager 20~23 on the network, LnCP router three 0,31, LnCP network adapter 35,36 and the function of 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 consists of network or supervising the network.
In addition, Internet 70 also comprises home appliance network 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, the dependent shape transmission medium such as wireless (for example LnCP comprise power line communication (PLC) agreement/or during wireless (wireless) agreement) when consisting of above-mentioned network, in order to divide in theory each network, the function of home appliance network code and management home appliance network code is set in 71 performances of home appliance network code control subsidiary layer. By independent shape transmission mediums such as picture RS-485, when separating individual networks from physical significance, this home appliance network code control subsidiary layer 71 is not included among the LnCP. This home appliance network code forms with 4 bytes (byte), is set as at random (random) value or user setting value.
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 dependent 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 Internet 70. NPDU (Network Layer PDU) is the data value that transmits between Internet 70 and datalink layer connection 80 or the home appliance network code subsidiary layer 71. HCNPDU (Home Code Control Sublayer PDU) is the data value that transmits between Internet 70 (definite say home appliance network code subsidiary layer 71) and datalink layer connection 80 or the home appliance network 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 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 of a 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 order to change the APDU titles (header) such as application protocol in the LnCP procotol.
ALO (Application Layer Option) digit groups is the digit groups 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 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 Internet 70, and Fig. 4 c is the detailed construction 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 one species or electric equipment 40~49 o'clock, above-mentioned the next 8 bits are used for dividing 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 overall length that will transmit, and its minimum of a 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 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 Applicable (Application Layer)
High (High)     0   When transmitting emergence message
In (Middle)       1     When transmission map network (Online State) reaches the event information of non-presence (Offline State) variation online when transmitting the general data bag
Standard (Normal)     2   Transmit when transmitting common event information when notifying the information that consists of network
Low (Low)   3 Transmission is during according to the value of the producer that downloads or upload
NHL (NPDU Header Length) digit groups is the digit groups of using for expansion NPDU title (header) (the NLC digit groups of SLP), 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 adopts, 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. Version (version) and server version (sub-version) are respectively with 16 system mark method version of display.
NPT (Network layer Packet Type) digit groups is 4 digital bit groups of dividing data bag kind in Internet. LnCP comprises request data package (Request Packet), reply data bag (Response Packet), notification data bag (Notification Packet). The NPL digit groups of master control customer equipment should be set as request data package or notification data bag, and the NPL digit groups of slave should be set as 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 home appliance network code control subsidiary layer is worth with reservation
TC (Transmission Counter) digit groups is Internet 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, the 2 digital bit groups that transmit or repeatedly transmit again. 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 process 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 Internet 70. The APDU minimum of a 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 that shows the packet end, and its value is 0x03. If receive with the data packet length digit groups in the corresponding data value of length (data), can not detect the ELP digit groups, then be shown packet error.
Fig. 4 d is the HCNPDU structure chart in the home appliance network code control subsidiary layer 71.
As shown in the figure, the upper bit position of NPDU also comprises HC (Home Code) digit groups.
The numerical value of this home appliance network code is made of 4 bytes, and this home appliance network code 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.
The 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, the 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 Internet 70 transmission. HCNPDU is the data value unit that Physical layer 90 is used during for dependent shape transmission mediums such as power line or IEEE 802.11, is the data value unit of appending 4 byte home appliance network 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, and 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 such as power line or IEEE 802.11. In the domestic network system 1 of applicable 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 flows at communication line control bit signal. 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 at last position of rest. When the domestic network system 1 of applicable 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. Upper bit byte (or bit) is positioned at the left side of information, and lower bit byte (or bit) is positioned at the right. The information type that application layer 60 is processed is as follows.
Solicited message (Request Message): be in order to allow slave carry out order, pass the information that passes to application layer 60 to the Internet 70 of Internet 70 or slave from the application layer 60 of main control device. The transmission mode that the application layer 60 of slave transmits according to Internet 70 can utilize response message (Response Message) to respond.
Response message (Response Message): be 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 Internet 70 from the Internet 70 of main control device, is the response to solicited message.
Event information (Event Message): be equipment state when being changed, pass to Internet or from destination's Internet from the application layer of the side of delivering letters and pass information to application layer. The recipient does not response.
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...) consists of, and solicited message is used for control and the state confirmation of slave, in addition, also is used for the validation of information of request slave.
Fig. 5 b is depicted as download request information (Downloading Request Message), and download request information is that data that are partitioned in a solicited message biography is that used enter factor (Input Arguments) comprises total page or leaf and " current page " to equipment. Fig. 5 c is depicted as upload request information (Uploading Request Message). Upload request information is for from cut apart the enter factor of obtaining data from equipment, comprises " page number (PageNo) " and " size of data (DataNo) ".
This download request information is to make main control device possess particular data, the information of this data biography to slave and/or other main control device. 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 make 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 respectively 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 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 ...) consist of. 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 consist of. When slave is failed the solicited message of successful implementation main control device transmission, transmit this NAK-response message. The mistake of NAK_code and related products code has difference. NAK_code is in the communication process between main control device and slave, because of bad command code 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 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 that the state of slave is when being changed, (for example, 0x11), event code (Event Code) (2 byte) and state value (State Variable) (4 byte) consist of the information that generates 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 (hereinafter referred to as making master control equipment) and electric equipment 40~49 (below be called slave) are made of the interface unit 210 that is used for interconnection network and specific memory unit 220 and control assembly 230. Control assembly 230 docking port parts 210 and memory unit 220 are controlled.
Memory unit 220 other main control devices of storage of main control device and related products information and the other address information of product of slave. Comprise that all documents that are connected to 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, be stored on the read-only storage 220 as reservoir part, this dependency information document is the subordinate intrinsic information data that comprise that indivedual electric equipments 40~49 (or slave) have, and 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), shows all or at least part of electric equipment 40~49 in the domestic network system 1 and/or network manager 20~23 by the home network document to the user. In addition, display unit also comprises and can show current and the User's Interface of operating state (comprising power supply state) in the past.
In addition, slave also comprises the monitoring component of monitoring power supply state, and 230 pairs of above-mentioned monitoring components of control assembly are controlled, and this monitoring component is monitored power supply state.
Although the control assembly 230 by main control device or slave specifically moves, for the convenience on illustrating, the below's record is specifically moved for main control device or slave.
In addition, main control device and slave according to the form below 6 are classified.
Table 6
Classification Explanation
Touch-and-run (touching operation) product -when inserting the attaching plug plugged, enter holding state, when pressing play button, carry out work, when pressing stop button, out-of-work product.
-as long as insert the attaching plug plugged, just enter network connection state, can be by communication, carry out work/stop.
Plug-in-and-ready (inserting ready) product -insert the attaching plug plugged, when manually connecting main power source, enter holding state, under the state that main power source is connected, when pressing play button, carry out work, when pressing stop button, out-of-work product.-as long as insert the attaching plug plugged, just enter network connection state, can be by communication, carry out work/stop.
Press-and-ready (pressure is touched ready) product Behind-insertion attaching plug the plugged, when only having manual connection main power source, just can enter holding state, under the state that main power source is connected, when pressing play button, begin to carry out work, when pressing stop button, out-of-work product.-be impossible by the Control on Communication main power source, under the state of connecting main power source, can be by communication, carry out work/stop.-when only having the main power source of connection, just can enter network connection state.
Press-and-run (pressure is touched operation) product -insert the attaching plug plugged, when manually connecting main power source, at once enter holding state, regardless of state and the work/halted state of main power source.
-disconnecting under the state of main power source, network connection is disconnected, and can not communicate.
Fig. 9 is the flow chart of event notification method of the present invention. The information that the below uses comprises among above-mentioned Fig. 5 a to Fig. 7, shown structure, and comprise with above-mentioned APDU the data forms such as NPDU, the data of transmission.
In stage S71, slave to power supply state (power supply is disconnected or power supply is switched on), when monitoring, generates corresponding event information at monitoring component, and event information is passed to main control device. The structure of the event information that at this moment, is transmitted such as following table 7.
Table 7
Data name Explanation Size of data Value
CommCode (command code) Command code 1 byte   0x11  
EventCode (event code) Event code 2 bytes   0xFF50  
StatusVal (power supply state) Power supply state 1 byte 0: power supply disconnects 1: power connection 2~255: not definition
Among the stage S72, main control device receives event information, and reads the state (value) that is included in the shutter door in the above-mentioned event information, upgrades the home network document, and stores the input value of slave.
In addition, main control device is by display unit, the home network document information of display update, and inform the power supply state of slave.
At this moment, with the product performance of subordinate equipment, power supply state represents different states. Slave moves product for touching, or presses when touching the operation product, and power supply state represents that product is started working or termination work. In addition, slave is the ready product of insertion, or presses when touching ready product, and power supply state represents power supply and outage.
Protection scope of the present invention is not limited to following embodiment and accompanying drawing, and interest field of the present invention should make an explanation as the basis take the application's right request scope.

Claims (17)

1, a kind of domestic network system is characterized in that: this system comprises the domestic network system that is comprised of the plural the 1st and the 2nd electric equipment and the network with communication protocol that connects the described the 1st and the 2nd each electric equipment; In this system, include main control device and slave;
Described the 1st electric equipment is monitored power supply state, generate the event information of corresponding described monitoring, and described event information passed to described the 2nd electric equipment, described the 2nd electric equipment receives described event information, and stores the power supply state of described the 1st electric equipment.
2, domestic network system according to claim 1 is characterized in that: described power supply state is that power supply disconnects or power connection.
3, domestic network system according to claim 1 and 2 is characterized in that: described the 2nd electric equipment shows the power supply state of described the 1st electric equipment by display part.
4, domestic network system according to claim 1 and 2 is characterized in that: when described electric equipment was touched the operation product for touching operation product or pressure, described event information represented that product work begins.
5, domestic network system according to claim 1 and 2 is characterized in that: when described slave was touched ready product for inserting ready product or pressure, described event information represented power supply or outage.
6, domestic network system according to claim 1 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
7, a kind of confirmation method of power supply state of domestic network system, in the domestic network system that the network with communication protocol by the plural the 1st and the 2nd electric equipment and connection the described the 1st and the 2nd each electric equipment forms, its confirmation method comprised with the next stage:
The stage that the 1st electric equipment is monitored power supply state;
The 1st electric equipment generates the stage of the event information of corresponding above-mentioned monitoring;
The 1st electric equipment is in the stage of above-mentioned event information biography to described the 2nd electric equipment;
Described the 2nd electric equipment storage bag is contained in the stage of the power supply state in the above-mentioned event information.
8, the confirmation method of the power supply state of domestic network system according to claim 7 is characterized in that: described power supply state is deenergization or plugged.
9, according to claim 7 or the confirmation method of the power supply state of 8 described domestic network systems, it is characterized in that: described the 2nd electric equipment shows the power supply state of described the 1st electric equipment by display part.
10, the confirmation method of the power supply state of domestic network system according to claim 7 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
11, a kind of domestic network system includes bus, main control device, slave, interface unit, monitoring component and control assembly, it is characterized in that:
Described interface unit is used for and being connected with the network of communication protocol;
Described monitoring component is monitored power supply state;
Described control assembly communicates by described interface unit and other electric equipment, generates the event information of the power supply state that comprises described monitoring component monitoring, and by described interface unit, passes to described other electric equipment.
12, domestic network system according to claim 11 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
13, a kind of electric equipment of domestic network system includes bus, main control device, slave, interface unit, reservoir part and control assembly, 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 power supply state of relevant described other electric equipment, and is stored into described reservoir part.
14, the electric equipment of domestic network system according to claim 13 is characterized in that: described electric equipment also comprises display part, and described control part shows the power supply state of described other electric equipment by described display part.
15, the electric equipment of domestic network system according to claim 13 is characterized in that: when described electric equipment was touched the operation product for touching operation product or pressure, described event information represented that product starts working.
16, the electric equipment of domestic network system according to claim 13 is characterized in that: when described slave was touched ready product for inserting ready product or pressure, described event information represented power supply or outage.
17, the electric equipment of domestic network system according to claim 13 is characterized in that: described communication protocol is living network control communication protocol (LnCP).
CN 200410072391 2004-10-27 2004-10-27 Household network system and its affirmation method Pending CN1767458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410072391 CN1767458A (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 200410072391 CN1767458A (en) 2004-10-27 2004-10-27 Household network system and its affirmation method

Publications (1)

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

Family

ID=36743077

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN1767458A (en)

Similar Documents

Publication Publication Date Title
CN1820457A (en) Home network system
CN102957551B (en) A kind of method and system of bulk management equipment
WO2006091042A1 (en) Network system management method
US8005915B2 (en) Method for providing download and upload service in network control system
CN106789475A (en) Household electric appliance control method and device
CN1767472A (en) Household network system
CN1767458A (en) Household network system and its affirmation method
CN1767460A (en) Household network system and its affirmation method
CN1767470A (en) Household network system
CN1767461A (en) Household network system
CN1767467A (en) Household network system
CN1767469A (en) Household network system
CN1747416A (en) Household network system
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1767465A (en) Household network system
CN1767471A (en) Household network system
CN1767468A (en) Household network system
CN1767462A (en) Household network system
CN1747417A (en) Network system of electrical appliances
CN1767466A (en) Household network system
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767476A (en) Household network system and its variable acquisition method and associated electrical appliance equipment
CN1747414A (en) Household network system
CN1747413A (en) Household network system
CN1747410A (en) Household network system and repeating data packet discrimination therefor

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