CN1767481A - Household network system and information acquisition method and electrical appliance - Google Patents
Household network system and information acquisition method and electrical appliance Download PDFInfo
- Publication number
- CN1767481A CN1767481A CN 200410072543 CN200410072543A CN1767481A CN 1767481 A CN1767481 A CN 1767481A CN 200410072543 CN200410072543 CN 200410072543 CN 200410072543 A CN200410072543 A CN 200410072543A CN 1767481 A CN1767481 A CN 1767481A
- Authority
- CN
- China
- Prior art keywords
- product
- electric equipment
- information
- title
- network system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
This invention discloses a family network system, a method for getting information and electric devices, among which, the system includes a first and a second electric devices and a specific communication protocol connected with them under the network protocol, the first device sends the required information containing the information of the second device to the second and receives and stores the information of the device from the response information, the second device receives said required information and sends the related information containing the information of the device to the first, which provides a system suitable for the general control communication protocol to control and monitor the functions of the devices in the system, a system suitable for LnCP and a system of getting information of other devices.
Description
Technical field
The present invention relates to a kind of domestic network system, particularly be a kind of domestic network system and information acquisition method and the electric equipment that utilizes living network control communication protocol.
Background technology
Home network (home network) is a kind of network that each digitlization man is electrically connected.By home network, can control the household electrical appliances in the family at any time easily, 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 home network can be divided into data network according to the COS that is provided, and entertainment network and living network are as shown in table 1 below.
Table 1
Classification | Function | COS |
Data network | Network between PC and peripheral equipment | Exchanges data, and network service |
Entertainment network | 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. |
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; Entertainment network (entertainment network) belongs to handles ODO, the home network type of information such as VDO; Living network (living network) is meant the network that is controlled to be purpose with automation appliance or Long-distance Control etc. merely.
This master control (master) equipment and the slave formation that is used for the domestic network system of family by electric equipment.The main control device of electric equipment controls or shows the state of other electric equipment to other electric equipment.The slave of electric equipment is pressed characteristic or other key element of electric equipment, the requirement of main control device is replied, and export the information of the state variation 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.
Conventional art can not provide all purpose communication standard of the electric equipment in the domestic network system being fulfiled functions such as control and supervision.
Summary of the invention
The objective of the invention is to overcome the defective of above-mentioned technical problem, a kind of suitable all purpose communication standard be provided---the domestic network system of control communication protocol, all purpose communication standard provide control and monitor the function of each electric equipment in the domestic network system.
Another object of the present invention is for a kind of domestic network system that adopts living network control communication protocol (Living network Control Protocol:LnCP) as all purpose communication standard is provided.
A further object of the present invention is for a kind of domestic network system of obtaining other electric equipment information is provided.
Another purpose of the present invention is for a kind of domestic network system of once obtaining other electric equipment entire product information is provided.
The technical scheme that solves the problems of the technologies described above is:
A kind of domestic network system, this domestic network system comprises: by the plural the 1st and the 2nd electric equipment and the special communication protocol under procotol that is connected the above-mentioned the 1st and the 2nd each electric equipment; The solicited message that the 1st electric equipment will comprise the product information of the 2nd electric equipment sends to the 2nd electric equipment by network, receives and preserve the product information from the response message of the 2nd electric equipment; After the 2nd electric equipment received above-mentioned solicited message, the corresponding information that will comprise corresponding product information sent to the 1st electric equipment.
At least the title that comprises product in the described product information, producer's title, product line title, a kind of in the software version.
Described name of product and producer's title and product line title are the expressions of character type.
When described the 2nd electric equipment had possessed comprehensive function, the name of product of the 2nd electric equipment comprised the title of all products with comprehensive function.
Described name of product comprise the comprehensive function name of product and between distinguishing identifier.
Described the 2nd electric equipment is preserved product information with the form of file.
At least the title that comprises product in the described product information, producer's title, product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
Comprise at least one equipment in slave, master control equipment, network manager and the mixing apparatus in the kind of described product.
Described the 2nd electric equipment is kept at described message file on the Permanent magnet plate.
Described request information is the whole solicited messages in the product information.
The data designation that needs to issue electric equipment in the file that comprises the data length that needs the carve information file in the described request information and cut apart by data length comprises the data of cutting apart of message file at least in the described response message.
Described special communication protocol is living network control protocol LnCP.
A kind of domestic network system information acquisition method, this domestic network system comprises: by the plural the 1st and the 2nd electric equipment and the special communication protocol under procotol that is connected the above-mentioned the 1st and the 2nd each electric equipment; This domestic network system information acquisition method comprised as the next stage: the stage of the 2nd electric equipment as described in the solicited message that the 1st electric equipment will comprise the 2nd electric equipment product information sends to by network; After the 2nd electric equipment received solicited message, the corresponding information that will comprise corresponding product information sent to the stage of the 1st electric equipment; The 1st electric equipment is preserved the stage that comprises product information in the response message.
At least the title that comprises product in the described product information, producer's title, product line title, a kind of in the software version.
Described preservation product information is to preserve with the form of intelligence document.
At least the title that comprises product in the described product information, producer's title, product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
Comprise slave in the kind of described product, master control equipment, at least one equipment in network manager and the mixing apparatus.
Described request information is the whole solicited messages in the product information.
Need to issue the data designation of electric equipment in the file that comprises the data length that needs the carve information file in the described request information and cut apart by data length, and comprise the data of cutting apart of message file in the described response message at least.
Described special communication protocol is living network control protocol LnCP.
Electric equipment in a kind of domestic network system comprises: the interface arrangement that connects network according to special communication protocol; Preserve the storage device of prescribed product information; Communicate by interface arrangement and other electric equipments, and use the solicited message that receives other electric equipments by interface equipment for product information, generation comprises the response message of corresponding product information, sends to the controller of other electric equipments by interface arrangement.
At least the title that comprises product in the described product information, producer's title, product line title, a kind of in the software version.
Described name of product and producer's title and product line title are the expressions of character type.
When described electric equipment had possessed comprehensive function, the name of product of electric equipment comprised the title of all products with comprehensive function.
The title of described product comprise the comprehensive function name of product and between distinguishing identifier.
Described product information is to preserve with the form of file.
At least the title that comprises product in the described product information, producer's title, product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
Comprise slave in the kind of described product, master control equipment, at least one equipment in network manager and the mixing apparatus.
Described storage device is a Permanent magnet plate.
Described request information is the whole solicited messages in the product information.
The data designation that needs to issue electric equipment in the file that comprises the data length that needs the carve information file in the described request information and cut apart by data length comprises the data that message file is cut apart at least in the described response message.
Described special communication protocol is living network control protocol LnCP.
The invention has the beneficial effects as follows: the invention provides a kind of suitable all purpose communication standard---the domestic network system of control communication protocol, this all purpose communication standard provide control and monitor the function of each electric equipment in the domestic network system.
The invention provides a kind of suitable living network communication specification---the domestic network system of control communication protocol (Livingnetwork Control Protocol:LnCP).
The invention provides a kind of domestic network system that can obtain the product information of other electric equipments.
Description of drawings
Fig. 1 is a home network block diagram of the present invention;
Fig. 2 is a living network control protocol block diagram of the present invention;
Fig. 3 a to Fig. 3 b is the interface block diagram of each interlayer of Fig. 2;
Fig. 4 a to 4f is the interface detailed diagram of Fig. 3 a to 3b;
Fig. 5 a to 5c is the embodiment schematic diagram of each solicited message structure;
Fig. 6 a to 6c is the embodiment schematic diagram of each response message structure;
Fig. 7 is the event information structural representation;
Fig. 8 is the summary pie graph of network manager of the present invention and electric equipment common ground;
Fig. 9 is the precedence diagram of information acquisition method of the present invention.
Accompanying drawing critical piece remarks
1: domestic network system 2: internet
3:LnCP server 4: customer equipment
10: gateway 20 to 23: network manager
30,31:LnCP router four 0 to 49: electric equipment
Embodiment
Below in conjunction with accompanying drawing embodiments of the invention are described in further detail.
Fig. 1 is a home network block diagram of the present invention.
As shown in Figure 1, domestic network system 1 is connected to LnCP server 3 by internet 2.Client device 4 is connected to LnCP server 3 by internet 2.That is, domestic network system 1 is can transmit information to LnCP server 3 and/or client device 4 connections mutually.
The external network of domestic network system 1 comprises internet 2, and external network also can be equipped with miscellaneous equipment according to the kind of client device 4.That is, be example with this internet 2, when client device 4 is computer, possess Web server (Websever) (not shown); When client device 4 is the networking telephone, possesses the communication server (Wap sever) (not shown).
Network in the domestic network system 1 is interconnected by each electric equipment 40~49 shared transmission medium to be formed.This transmission medium is by the transmission medium of datalink layer connection unnormalizeds such as RS-485 or lower powered RF (non-standardized transmission medium), or utilizes the transmission medium (standardized transmission medium) of normalization such as power line or IEEE802.11.
Network and internet 2 in the domestic network system 1 are the networks that are separated from each other.That is, the network in the domestic network system 1 is made of the separate network that wired or wireless transmission medium connects.Though separate network is in connection status physically then is the network that separates in theory.
These network managers 20~23 and electric equipment 40~49 can be directly connected to power line network as shown, and the RS-485 network on the RF network, can also connect by LnCP router three 0,31 and/or LnCP network adapter 35,36.
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.).After this theoretical address and product code (for example air-conditioning is ' 0x02 ', and washing machine is ' the 0x01 ') combination, use as node address (Node Address).For example, by the identical node address of 0x02009 (air-conditioning 1) and 0x0201 (air-conditioning 2) 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 the group address, when being set at " 1 ", this dominance group address is for specifying group (cluster) address of a plurality of customer equipments address choice value (following is mark flag) in the dominance 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 sign indicating number expressing the group address.
Fig. 2 is living network control protocol of the present invention (LnCP) block diagram.Domestic network system 1 can make network manager 20~23 by the living network control protocol among Fig. 2 (LnCP), LnCP router three 0,31, mutual transmission information between LnCP network adapter 35,36 and the electric equipment 40~49.And then, network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49 are carried out network service by this LnCP.
As shown in Figure 2, LnCP comprises application software 50; Application layer 60; Network layer 70; Datalink layer connection 80; Physical layer 90 and parameter management layer 100.Application software 50 performance network managers 20~23, LnCP router three 0,31, LnCP network adapter 35,36, and the inherent function of electric equipment 40~49.And the function that is connected with application layer 60 is provided, so that on network, carry out remote operation and supervision.Application layer 60 provides service to the user, and has the function that is communicated to lower floor after information that the user is provided or the order composition information.Network layer 70 can be network manager 20~23, and LnCP router three 0,31 is connected to reliable network between LnCP network adapter 35,36 and the electric equipment 40~49.Datalink layer connection 80 provides connection control 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.Use the parameter (node parameter) of node in parameter management layer 100 each layers of management configuration.
Detailed says, application software 50 also comprises network management subsidiary layer 51.Network management subsidiary layer 51 has the management node parameter, and management is connected 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 manage parameter by parameter management layer 100 setup parameter numerical value.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 comprises home code control subsidiary layer 71.Network is connected with network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49.When utilize power line IEEE 802.11 or non-self transmission medium such as wireless (for example LnCP comprise power line communication (PLC) agreement/or wireless (wireless) agreement) when constituting above-mentioned network, in order to divide each network in theory, the function of home code and managing family code is set in 71 performances of home code control subsidiary layer.By self transmission mediums such as picture RS-485, during from physical significance separation individual networks, this home code control subsidiary layer 71 is not included among the LnCP.This home code is formed with 4 bytes (byte), is set at random (random) value or user's set point.
Fig. 3 a to Fig. 3 b is interface (interface) block diagram of each 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-self transmission medium.Shown in Fig. 3 b is the interface schematic diagram of the interlayer of physical layer 90 when being connected to the self transmission medium.
As shown in the figure, APDU (Application layer PDU) is the data value (data) that transmits between application layer 60 and the network layer 70.NPDU (Network Layer PDU) is the data value that transmits between network layer 70 and datalink layer connection 80 or the home code control subsidiary layer 71.HCNPDU (Home CodeControl Sublayer PDU) is the data value that transmits between network layer 70 (the definite home code control subsidiary layer 71 of saying so) and datalink layer connection 80 or the home code control subsidiary layer 71.Press data value (data), Frame unit's formation interface (interface) between datalink layer connection 80 and the physical layer 90.
Fig. 4 a to 4f is the interface detailed diagram of Fig. 3 a to 3b.
Fig. 4 a is the APDU structure in application layer 60.
AL (APDU Length) field is represented the field of the length (AL is to the length of Frame (frame) group) of APDU, and minimum value is that 4 maximums are 77.
AHL (APDU Header Length) field is the field of the length (AL is to the length of ALO) of expression APDU title (head), is 3 bytes when not expanding, and can expand to 7 bytes.For the encipherment of Frame (frame) group, can expand to 7 bytes in the LnCP procotol in order to change APDU titles (head) such as application protocol.
ALO (Application Layer Option) field (field) is the field (field) that is used for extend information piece (sheet), after for example this field is set to " 0 ", ignores information processing when other value is housed.
The Frame group is processing user's the control information or the field of incident (event) information, and its structure is along with the variation of the contained value of ALO changes.
Fig. 4 b is the structure of the NPDU in the network layer 70; Fig. 4 c is the detailed structure schematic diagram of the NLC among the NPDU.
SLP (Start of LnCP Packet) field list shows the start field of packet, and its value is 0x02.
The field of DA (Destination Address) and SA (Source Address) is the destination of the packet that will transmit and the node address of originator, and each is made of 16 bits.Here the superiors' 1 bit is the mark (flag) of demonstration group address, the kind (product code) that ensuing 7 bits are product, and lower floor's 8 bits comprise the theoretical address of getting.Have the network manager 20~23 of a plurality of same kinds or electric equipment 40~49 o'clock, above-mentioned lower floor 8 bits are used to divide above-mentioned each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) field is for showing the field of the NPDU length overall that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP (Service Priority) field is to give the field that transmission information transmits priority bit, is made of 3 bits.Each transmits the priority picks such as the table 2 of information.
When table 2 expression subordinate customer equipment is replied the request of master control customer equipment, accompany or follow the solicited message priority picks that the master control customer equipment receives.
Table 2
The priority picks | Value | Be suitable for (Application Layer) |
High | 0 | -when transmitting emergence message |
(High) | ||
In (Middle) | 1 | -when transmitting the general data bag-during incident (event) information of the online and non-presence of transmissions map network (Online State) (Offline State) variation |
Standard (Normal) | 2 | -when transmitting notice and constituting the information of network-during transmission common event (event) information |
Low (Low) | 3 | -when transmitting the value according to the producer that downloads or upload |
NHL (NPDU Header Length) field is to be used for expanding the field that NPDU title (head) (the NLC field of SLP) uses, and is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Vetsion) field is the field that shows 1 byte of the network protocol version that is adopted, and is made of upper strata 4 bits and lower floor's 4 bits.Upper strata 4 bits are version (version) field, and lower floor's 4 bits are server version (sub-version) field.Version (version) and server version (sub-version) are respectively with 16 systems mark method version of display.
NPT (Network layer Packet Type) field is 4 bit fields of dividing data bag kind in network layer.LnCP comprises request data package (Request Packet); Reply data bag (Response Packet); Notification data bag (Notification Packet).The NPT field of master control customer equipment should be set at request data package or notification data bag; The NPT field of slave should be set at reply data bag or notification data bag.The NPT value of packet kind is as shown in table 3 below.
Table 3
| Explanation | |
0 | | |
1~3 | Do not use | |
4 | The | |
5~7 | Do not use | |
8 | The notification data bag |
9~12 | Do not use |
13~15 | The interface that is connected with home code control subsidiary layer is worth with reservation |
TC (Transmission Counter) field is a network layer generation communication failure, in the time of can not successfully sending request data package or reply data bag, in order to improve the success rate that transmits request data package or reply data bag, transmission or 2 bit fields of transmission more repeatedly.The destination can utilize the numerical value of TC field, detects duplicate message.With the excursion of the different TC field values of NPT value as shown in the following table 4.
Table 4
The packet kind | Value (scope) |
| 1~3 |
The | 1 |
The | 1~3 |
PN (Packet Number) field is made of 2 bits.In slave, be used with TC in order to detect repetitive data packet PN (Packet Number) field.In the master control customer equipment, be used in order to handle a plurality of communication cycles.Excursion with the different PN fields of NPT value is as shown in table 5 below.
Table 5
The packet kind | Value (scope) |
| 0~3 |
The reply data bag | The PN field value of duplicate requests packet |
The | 0~3 |
The APDU field is the unit of the Internet protocol data value (data) of the application layer of transmission between application layer 60 and the network layer 70.The APDU minimum value is 0 byte, and maximum is 88 bytes.
CRC (Cyclic Redundancy Check) field is in order to detect 16 bit fields of data accepted bag (SLP is to the APDU field) mistake.
ELP (End of LnCP Packet) field is the field of video data Bao Weiduan, and its value is 0x03.If length corresponding data values (data) in reception and the data packet length field can not detect the ELP field, then be shown packet error.
Fig. 4 d is the HCNPDU structure chart in home code (Home Code) the control subsidiary layer 71.
As shown in the figure, the top section of NPDU also comprises HC (Home Code) field.
The numerical value of this home code (Home Code) is made of 4 bytes.This home code has unique value in the propagable circuit distance of packet.
Fig. 4 e is the structure of Frame in the datalink layer connection 80 (frame).
The title (head) of LnCP datalink layer connection Frame 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 and ending should have Null field (Null Field).As use normalized transmission medium, then with the regulation of procotol.The NPDU field is the unit from the data value of upper layer network layer 70 transmission.The data value unit that HCNPDU used when being physical layer 90 for non-self transmission medium such as power line or IEEE 802.11 is the data value unit of appending 4 byte home codes at the NPDU front end.Datalink layer connection 80 is not divided the processing of NPDU and HCNPDU.
Fig. 4 f is the data frame structure in the physical layer 90.
The physical layer 90 of LnCP has the function that physical signalling is sent to transmission medium.As the physical layer 90 of LnCP procotol, the transmission medium of the unnormalized data articulamentum 80 that can use be equal to RS-485 or low power RF.Can also use the normalization transmission medium that is equal to as power line or IEEE 802.11.Be suitable in the domestic network system 1 of LnCP network, for network manager 20~23 and electric equipment 40~49 and RS-485 or LnCP router three 0,31, reach LnCP network adapter 35,36 and connect, utilized the signal standards (level) of UART (Universal Asynchronous Receiver andTransmitter) 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 the upper strata is sent here, be transformed into the UART Frame unit of 10 bit sizes after, transmit by transmission medium.The UART Frame is by the start bit (Start Bit) of 1 bit; The position of rest of data value of 8 bits (data) and 1 bit (Stop Bit) constitutes.Above-mentioned UART Frame does not use effect position (Parity Bit).The UART Frame is passed on from start bit, passes to 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.Upper strata byte (or bit) is positioned at the left side of information, and lower floor's byte (or bit) is positioned at the right.The information type that application layer 60 is handled is as follows.
Solicited message (Request Message): be in order to allow slave carry out order, pass the information that the network layer 70 to network layer 70 or slave passes to application layer 60 from the application layer 60 of main control device.The transmission mode that the application layer 60 of slave transmits according to network layer 70 can utilize response message (Response Message) to respond.
Response message (Response Message): being in order to transmit the result of slave to command execution, 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.
Incident (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 to application layer.The recipient does not response.
Fig. 5 a to 5c is the embodiment schematic diagram of each solicited message structure.
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 of slave and state confirmation, in addition, also is used to ask the validation of information to slave.
Fig. 5 b is download request information (Downloading Request Message).Download request information is that the data biography used enter factor (InputArguments) when equipment that is partitioned into from solicited message is comprised total page or leaf (total page) and " current page ".Fig. 5 c is upload request information (Uploading Request Message).Upload request information is to be used for slave to cut apart the enter factor of obtaining data, 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 data that are transmitted in the current solicited message, these data 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 that is arranged on the corresponding page number order of all data.
Fig. 6 a to 6c is the embodiment schematic diagram of each response message structure.
ACK-response message (ACK-Response Message) that response message generates when dividing into the solicited message that normal implementation main control device sends here on the contrary and the NAK-response message (NAK-Response Message) that generates during situation.
Fig. 6 a is ACK-response message schematic diagram.This ACK-response message by command code CC and ACK (for example, 0x06), expression carry out the result each factor ( factor 1,2 ...) constitute.At slave successful implementation transferring ACK-response message during by the solicited message of main control device transmission.
Fig. 6 b is the schematic diagram of NAK-response message.This NAK-response message by command code CC, NAK (for example, 0x15) and the NAK_code of 1 byte constitute.When slave is failed the solicited message of successful implementation main control device transmission, transmit this NAK-response message.NAK_code has difference with the mistake of relevant product code.NAK_code is in the communication process between main control device and slave, because of the bad command sign indicating number or the wrong factor, and when slave is failed the successful implementation solicited message, the code value of its reason of classifying.
Fig. 6 c is the schematic diagram that comprises error code (Error_code) NAK-response message.This Error_code is the relevant mistake of product work.Because of producing this mistake, when slave was failed the successful implementation solicited message, the NAK_code value was fixed as specific value, for example " 0x63 ".Behind the NAK_code, immediately following the Error_code value.
Fig. 7 is incident (event) information structure diagram.
As shown in Figure 7, incident (event) information is the state of slave when being changed, the information of generation.(for example, 0x11), incident (event) sign indicating number (Event Code) (2 byte) and state value (State Variable) (4 byte) constitute by command code CC.In incident (event) sign indicating number, upper strata 1 byte is identical with product code (Product Code), lower floor's 1 byte representation state variable.
Fig. 8 is the summary pie graph of network manager of the present invention and electric equipment common ground.
As shown in 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 that is used to be connected network; Specific memory parts 220; 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 product category address information of slave.Comprise that 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.The facility information file is as shown in table 6, and comprises wherein more than one at least.
[table 6]
Title | Form | Explanation |
Name of product | ProductName | Device name |
Producer's title | MakerName | The device manufacturers title |
The series title | ModelName | The equipment chain title |
Software version | SWVersion | The version of software comprises Year/Month/Day.Such as, 10, on September of 0x030x090x0A~2003 |
The equipment form | DeviceType | The kind of equipment: |
Product code | ProductCode | Product code |
The number of service code | NoOfSvcCode | The service code number that embodies |
Service code | SvcCode | The service code that embodies |
In above-mentioned table 6, service code (SvcCode) is the type service code that relevant indivedual electric equipment 40 to 49 is carried out, and the number of service code (NoOfSvcCode) is service code (SvcCode) number.
Main control device comprises that also the user carries 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.Display unit (figure does not show) also comprises the current and past operate condition interface (interface) of demonstration.
Though,,, describe carrying out specific action by main control device or slave below for the convenience on illustrating just can carry out specific action by the control assembly 230 of main control device or slave.
Fig. 9 is the precedence diagram of information acquisition method of the present invention.Information in the following explanation comprises Fig. 5 a to message structure illustrated in fig. 7, and comprises with described APDU, all data that information such as NPDU send.
In more detail, in stage S51, the master control equipment generation obtains the solicited message of at least more than one slave or other master control equipment products.At this moment the solicited message of Sheng Chenging can be the solicited message for entire product, also can be for the name of product in the product, producer's title, serial title, the request of at least one information in the software version.Just, during a certain information in requiring product, the message structure of its generation such as Fig. 6 a, and when requiring the information of entire product, owing to be to comprise the upload request information of product information such as slave for facility information, therefore generate the solicited message (initial data designation is ' 1 ', and size of data is such as being ' 50 byte ') among Fig. 6 b.
In stage S52, slave receives solicited message, according to the control command that comprises in the solicited message, understands the facility information that is kept in the memory device 230.
In stage S53, slave generates the response message of size of data that only comprises the response message of an information or comprise the upload request information of facility information file from the facility information file of understanding and sends.
In stage S54, master control equipment receives the response message that only comprises the response message of an information or comprise the facility information file that is divided into size of data, and takes out, and its home network that is included in storage device 230 is preserved in the file without exception.
Here, for the request of entire equipment message file, master control equipment till receiving the entire equipment message file, execution phase S51 to S54 repeatedly.Promptly, in stage S51, the designation of master control equipment generation data is ' 2 ' upload request information transmission, and at stage S52, among the S53, the response message that slave generates the facility information file of cutting apart that comprises the size of data except sending part sends.If slave sends and to comprise less than the facility information file of the partition data of described size of data or when sending size of data for the response message of ' 0 ' (comprising the facility information file of cutting apart at last in the response message before), master control equipment is regeneration (uploading) solicited message not, and ending message is obtained service.
Claims (32)
1. a domestic network system is characterized in that this domestic network system comprises: by the plural the 1st and the 2nd electric equipment and the special communication protocol under procotol that is connected the above-mentioned the 1st and the 2nd each electric equipment; The solicited message that the 1st electric equipment will comprise the product information of the 2nd electric equipment sends to the 2nd electric equipment by network, receives and preserve the product information from the response message of the 2nd electric equipment; After the 2nd electric equipment received above-mentioned solicited message, the corresponding information that will comprise corresponding product information sent to the 1st electric equipment.
2. according to the domestic network system described in the claim 1, it is characterized in that comprising at least in the described product information title of product, producer's title, product line title, a kind of in the software version.
3. according to the domestic network system described in the claim 2, it is characterized in that described name of product and producer's title and product line title are the expressions of character type.
4. according to the domestic network system described in claim 2 or 3, it is characterized in that the name of product of the 2nd electric equipment comprises the title of all products with comprehensive function when described the 2nd electric equipment has possessed comprehensive function.
5. according to the domestic network system described in the claim 4, it is characterized in that described name of product comprise the comprehensive function name of product and between distinguishing identifier.
6. according to the domestic network system described in the claim 1, it is characterized in that the form preservation product information of described the 2nd electric equipment with file.
7. according to the domestic network system described in the claim 6, it is characterized in that comprising at least in the described product information title of product, producer's title, the product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
8. according to the domestic network system described in claim 2 or 7, the kind that it is characterized in that described product comprises at least one equipment in slave, master control equipment, network manager and the mixing apparatus.
9. according to the domestic network system described in the claim 6, it is characterized in that described the 2nd electric equipment is kept at described message file on the Permanent magnet plate.
10. according to claim 1 or 2 or 6 or 7 one of them described domestic network system, it is characterized in that described request information is the whole solicited messages in the product information.
11. according to the domestic network system described in the claim 10, the data designation that needs to issue electric equipment in the file that it is characterized in that comprising in the described request information data length that needs the carve information file and cut apart by data length comprises the data of cutting apart of message file at least in the described response message.
12., it is characterized in that described special communication protocol is living network control protocol LnCP according to the domestic network system described in the claim 1.
13. one kind according to the information acquisition method of domestic network system described in the claim 1, it is characterized in that this domestic network system comprises: by the plural the 1st and the 2nd electric equipment be connected the above-mentioned the 1st and the special communication protocol under procotol of the 2nd each electric equipment;
This domestic network system information acquisition method comprised as the next stage:
The solicited message that the 1st electric equipment will comprise the 2nd electric equipment product information sends to the stage of described the 2nd electric equipment by network;
After the 2nd electric equipment received solicited message, the corresponding information that will comprise corresponding product information sent to the stage of the 1st electric equipment;
The 1st electric equipment is preserved the stage that comprises product information in the response message.
14. according to the domestic network system information acquisition method described in the claim 13, it is characterized in that comprising at least in the described product information title of product, producer's title, product line title, a kind of in the software version.
15., it is characterized in that described preservation product information is to preserve with the form of intelligence document according to the domestic network system information acquisition method described in the claim 13.
16. according to the domestic network system information acquisition method described in the claim 15, it is characterized in that comprising at least in the described product information title of product, producer's title, the product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
17., it is characterized in that comprising slave, master control equipment, at least one equipment in network manager and the mixing apparatus in the kind of described product according to the domestic network system information acquisition method described in claim 14 or 16.
18., it is characterized in that described request information is the whole solicited messages in the product information according to the domestic network system information acquisition method described in claim 13 or 16.
19. according to the domestic network system information acquisition method described in the claim 18, need to issue the data designation of electric equipment in the file that it is characterized in that comprising in the described request information data length that needs the carve information file and cut apart by data length, and comprise the data of cutting apart of message file in the described response message at least.
20., it is characterized in that described special communication protocol is living network control protocol LnCP according to the domestic network system information acquisition method described in the claim 13.
21. one kind according to the electric equipment in the domestic network system described in the claim 1, it is characterized in that this electric equipment comprises: the interface arrangement that connects network according to special communication protocol; Preserve the storage device of prescribed product information; Communicate by interface arrangement and other electric equipments, and use the solicited message that receives other electric equipments by interface equipment for product information, generation comprises the response message of corresponding product information, sends to the controller of other electric equipments by interface arrangement.
22. according to the electric equipment described in the claim 21, it is characterized in that comprising at least in the described product information title of product, producer's title, product line title, a kind of in the software version.
23., it is characterized in that described name of product and producer's title and product line title are the expressions of character type according to the electric equipment described in the claim 22.
24., it is characterized in that when described electric equipment had possessed comprehensive function, the name of product of electric equipment comprised the title of all products with comprehensive function according to the electric equipment described in claim 22 or 23.
25. according to the electric equipment described in the claim 24, the title that it is characterized in that described product comprise the comprehensive function name of product and between distinguishing identifier.
26., it is characterized in that described product information is to preserve with the form of file according to the electric equipment described in the claim 21.
27. according to the electric equipment described in the claim 26, it is characterized in that comprising at least in the described product information title of product, producer's title, the product line title, software version, the kind of product, the information of at least more than one in the code of product and the service code that is embodied.
28., it is characterized in that comprising slave, master control equipment, at least one equipment in network manager and the mixing apparatus in the kind of described product according to the electric equipment described in claim 22 or 27.
29., it is characterized in that described storage device is a Permanent magnet plate according to the electric equipment described in the claim 26.
30., it is characterized in that described request information is the whole solicited messages in the product information according to the electric equipment described in claim 21 or 22 or 26 or 27.
31. according to the electric equipment described in the claim 30, the data designation that needs to issue electric equipment in the file that it is characterized in that comprising in the described request information data length that needs the carve information file and cut apart by data length comprises the data that message file is cut apart at least in the described response message.
32., it is characterized in that described special communication protocol is living network control protocol LnCP according to the electric equipment described in the claim 21.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072543 CN1767481A (en) | 2004-10-28 | 2004-10-28 | Household network system and information acquisition method and electrical appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072543 CN1767481A (en) | 2004-10-28 | 2004-10-28 | Household network system and information acquisition method and electrical appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1767481A true CN1767481A (en) | 2006-05-03 |
Family
ID=36743100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410072543 Pending CN1767481A (en) | 2004-10-28 | 2004-10-28 | Household network system and information acquisition method and electrical appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1767481A (en) |
-
2004
- 2004-10-28 CN CN 200410072543 patent/CN1767481A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1820457A (en) | Home network system | |
CN102957551B (en) | A kind of method and system of bulk management equipment | |
WO2006091040A1 (en) | Layer structure of network control protocol and interface method | |
CN1470115A (en) | Method for connecting an IEEE 1394 remote device to a cluster of IEEE 1394 devices through a wireless link | |
US8005915B2 (en) | Method for providing download and upload service in network control system | |
CN1465164A (en) | Information processing apparatus and method | |
CN1767481A (en) | Household network system and information acquisition method and electrical appliance | |
CN1767472A (en) | Household network system | |
CN1767467A (en) | Household network system | |
CN103491058A (en) | TR069 and UPnP protocol conversion method and home network terminal management method and system | |
CN1767470A (en) | Household network system | |
CN1767471A (en) | Household network system | |
CN1767469A (en) | Household network system | |
CN1767459A (en) | Household network system and its electrical appliance equipment | |
CN1767468A (en) | Household network system | |
CN1767460A (en) | Household network system and its affirmation method | |
CN1747416A (en) | Household network system | |
CN1767465A (en) | Household network system | |
CN1767466A (en) | Household network system | |
CN1767458A (en) | Household network system and its affirmation method | |
CN1767461A (en) | Household network system | |
CN1767462A (en) | Household network system | |
CN1747410A (en) | Household network system and repeating data packet discrimination therefor | |
CN1747441A (en) | Transmission of data link layer | |
CN1311666C (en) | Method for realizing route mechanism based on UPNP protocal radio network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |