CN1767468A - Household network system - Google Patents
Household network system Download PDFInfo
- Publication number
- CN1767468A CN1767468A CN 200410072429 CN200410072429A CN1767468A CN 1767468 A CN1767468 A CN 1767468A CN 200410072429 CN200410072429 CN 200410072429 CN 200410072429 A CN200410072429 A CN 200410072429A CN 1767468 A CN1767468 A CN 1767468A
- Authority
- CN
- China
- Prior art keywords
- electric equipment
- network system
- domestic network
- product
- system described
- 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 including more than two first and second electric appliances and a specific communication protocol connected with them under the network protocol, among which, the first device transfers the order request information for controlling the action to the second one, which receives the request information to execute the action control order based on its property. The action control method includes: the first device transfers the request information of an action control order to the second device to receive and read the information to execute the order based on its property, which provides a control communication protocol controlling and monitoring the appliances in the system and suitable for the living network communication protocol and processing specific action control orders and controlling the switch.
Description
Technical field
The present invention relates to a kind of domestic network system, particularly be the invention that utilizes the domestic network system of 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 characteristic according to product being provided, handling the domestic network system of specific action control command.
Another purpose of the present invention is for a kind of domestic network system that can control the supply and the cut-out of power supply 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 1st electric equipment transmits the solicited message that comprises action directive to the 2nd electric equipment; The 2nd electric equipment receives above-mentioned solicited message, carries out above-mentioned action directive according to the product performance of the 2nd electric equipment.
Described the 2nd electric equipment is to the response message of the 1st electric equipment transmission corresponding requests information, and the 1st electric equipment receives above-mentioned response message.
Described action directive is for moving or move in stopping.
When described the 2nd electric equipment moved (Touch-and-run) product for touching, described operation and operation stopped work of being respectively and halted state.
Described the 2nd electric equipment has simple function, and actuating range is variable, and described operation is the control to above-mentioned actuating range.
Described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product that described operation and operation stop to be respectively work and the halted state under the state of energized.
When described the 2nd electric equipment was plug and play (Plug-in-and-ready) product, described operation and operation stopped to be respectively power supply and cut off the electricity supply.
Described special communication protocol is a living network control communication protocol (LnCP).
Described electric equipment comprises: interface unit is used for and being connected of special communication protocol network under procotol; Control assembly communicates by above-mentioned interface unit and other electric equipment, and receives the solicited message that comprises action directive, carries out above-mentioned action directive according to product performance; Control assembly communicates by interface unit and other electric equipment.
Described control assembly generates and transmits the response message of corresponding requests information.
Described action directive is for moving or move in stopping.
When described electric equipment moved (Touch-and-run) product for touching, the state of described control assembly was work or stops.
Described electric equipment has simple function, and actuating range is variable, and described control assembly is controlled above-mentioned action control range.
Described electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product, under the state of connecting main power source, the state of described control assembly is work and halted state.
When described electric equipment was plug and play (Plug-in-and-ready) product, described control assembly was carried out the control to power supply.
Described special communication protocol is a living network control communication protocol (LnCP).
A kind of method of controlling operation of domestic network system, this method comprises: by the plural the 1st and the 2nd electric equipment be connected the above-mentioned the 1st and the domestic network system of the 2nd each electric equipment in the special communication protocol under procotol; This method also comprised as the next stage: the 1st electric equipment transmits the stage of the solicited message that comprises action directive to the 2nd electric equipment; Above-mentioned the 2nd electric equipment receives the above-mentioned solicited message of recognition, and according to the product performance of the 2nd electric equipment, the stage of carrying out action directive.
Above-mentioned method of controlling operation also comprises: the 2nd electric equipment is in the stage of the response message of corresponding requests information biography to the 1st electric equipment; And the 1st electric equipment receive stage of above-mentioned response message.
Described action directive is for moving or move in stopping.
When described the 2nd electric equipment moved (Touch-and-run) product for touching, described operation and operation stopped work of being respectively and halted state.
Described the 2nd electric equipment has simple function, and actuating range is variable, and in the execution phase, above-mentioned the 2nd electric equipment is carried out the control to the action control range.
Described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product, in execution phase under the state of connecting main power source, the state of the 2nd electric equipment is work and halted state.
When described the 2nd electric equipment was plug and play (Plug-in-and-ready) product, in the execution phase, the 2nd electric equipment was carried out the control to power supply.
Described special communication protocol is a living network control communication 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.The invention provides a kind of according to product performance, to specific action directive, the domestic network system of handling.
The invention provides a kind of to supply power and the domestic network system of cutting off the electricity supply and controlling.
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 a method of controlling operation sequence chart 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).
LnCP server 3 is by specific registration and deregistration procedure, is connected respectively to domestic network system 1 and client device 4, receives from client device 4 and monitors and control command that the information by internet 2 usefulness particular forms is sent to domestic network system 1 again.In addition, LnCP server 3 receives and stores the information of particular form or it is sent to client device 4 from domestic network system 1.The information that LnCP server 3 stores self or generate is sent to domestic network system 1.That is, domestic network system 1 is connected LnCP server 3, can download the service content that LnCP server 3 is provided.
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 (High) | 0 | -when transmitting emergence message |
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 Vers ion) 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.
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.
The 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 an 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.
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 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.
Table 6 is to the explanation by the product performance classification of main control device and slave.
Table 6
Classification | Explanation |
Touch operation (Touch-and-run) product | -when inserting the attaching plug energized, 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 energized, just enter network connection state, can carry out work/stop by communication. |
Plug and play (Plug-in-and-ready) product | -insertion attaching plug energized, 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 energized, just enter network connection state, can be by communication, carry out work/stop. |
Pressure is touched promptly and is used (Press-and-ready) product | After-insertion attaching plug the energized, when having only 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 carry out work/stop by communication.-when having only the main power source of connection, just can enter network connection state. |
Pressure is touched operation (Press-and-run) product | -insertion attaching plug energized, when manually connecting main power source, at once enter holding state, be regardless of the state and the work/halted state of main power source.-disconnecting under the state of main power source, the network connection is disconnected, and can not communicate. |
Fig. 9 is a method of controlling operation sequence chart of the present invention.The information of using below comprises among above-mentioned Fig. 5 a to Fig. 7, shown structure, and comprise with above-mentioned APDU the data that data forms such as NPDU transmit.
In more detail, in stage S51, main control device generates the solicited message that comprises the specific action control command, and above-mentioned solicited message is passed to slave.At this moment, action directive comprises an order that moves or move in stopping.This solicited message structure that comprises action directive is with following table 7.
Table 7
Data name | Explanation | Size of data | Value | |
| Command code | 1 byte | 0x1C/0x05 |
ControlVa | Controlling value | 1 byte | 0: operation stops 1~255: operation |
In the above-mentioned table, be " 0x1C " as command code, then command code is the action directive except that the control main power source; As command code is " 0x05 ", and then command code is the action directive of control main power source.In addition, the operation controlling value is included in 1~255 scope, and the controlling value of general action command is made as " 1 ", variable in this way action control (for example regulating the order of electric light brightness), then controlling value for example " 5 " when being action command, is also represented the size of movement range.Just, in these cases, controlling value also surpasses " 100 ", then allows its movement range size to be the maximum actuation amplitude by recognition.
In stage S52, slave receives the recognition solicited message, and handles solicited message according to the product performance of slave.That is, slave is carried out action directive according to the product performance shown in the table 6.When slave moved (Touch-and-run) product for touching, action directive was the action directive of mode standard, expression work or the state that stops.Specifically, slave is only to have a kind of function, and when having touch operation (Touch-and-run) product of variable actuating range (for example adjusting of electric light brightness), this action directive can be carried out variable control to product.Perhaps, slave is plug and play (Plug-in-and-ready) product, press to touch promptly and use (Press-and-ready) product, press when touching operation (Press-and-run) product, action directive is illustrated under the state of connecting main power source, the work of mode standard or halted state.When having only slave to be plug and play (Plug-in-and-ready) product, under the state of not connecting main power source, can allow it enter the state that main power source is switched on or switched off, but, pressure is touched promptly and is used (Press-and-ready) product and pressure to touch operation (Press-and-run) product, because of its product performance, can not control main power source.
In stage S53, after slave is carried out action directive, generate response message (ACK-response message), and the response message that generates is passed to main control device.
In stage S54, main control device receives response message, and finishes the service of relevant action directive.
Claims (24)
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 1st electric equipment transmits the solicited message that comprises action directive to the 2nd electric equipment; The 2nd electric equipment receives above-mentioned solicited message, carries out above-mentioned action directive according to the product performance of the 2nd electric equipment.
2. according to the domestic network system described in the claim 1, it is characterized in that the response message of described the 2nd electric equipment to the 1st electric equipment transmission corresponding requests information, the 1st electric equipment receives above-mentioned response message.
3. according to the domestic network system described in the claim 1, it is characterized in that described action directive is for moving or move in stopping.
4. according to the domestic network system described in the claim 3, when it is characterized in that described the 2nd electric equipment moves (Touch-and-run) product for touching, described operation and operation stop work of being respectively and halted state.
5. according to the domestic network system described in the claim 4, it is characterized in that described the 2nd electric equipment has simple function, and actuating range is variable, described operation is the control to above-mentioned actuating range.
6. according to the domestic network system described in the claim 3, it is characterized in that described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product that described operation and operation stop to be respectively work and the halted state under the state of energized.
7. according to the domestic network system described in the claim 3, when it is characterized in that described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, described operation and operation stop to be respectively power supply and cut off the electricity supply.
8. according to the domestic network system described in the claim 1, it is characterized in that described special communication protocol is a living network control communication protocol (LnCP).
9. according to domestic network system described in the claim 1, it is characterized in that described electric equipment comprises:
Interface unit is used for and being connected of special communication protocol network under procotol;
Control assembly communicates by above-mentioned interface unit and other electric equipment, and receives the solicited message that comprises action directive, carries out above-mentioned action directive according to product performance; Control assembly communicates by interface unit and other electric equipment.
10. according to domestic network system described in the claim 9, it is characterized in that described control assembly generates and transmit the response message of corresponding requests information.
11., it is characterized in that described action directive is for moving or move in stopping according to domestic network system described in the claim 9.
12. according to domestic network system described in the claim 11, when it is characterized in that described electric equipment moves (Touch-and-run) product for touching, the state of described control assembly is work or stops.
13. according to domestic network system described in the claim 12, it is characterized in that described electric equipment has simple function, and actuating range is variable, described control assembly is controlled above-mentioned action control range.
14. according to domestic network system described in the claim 11, it is characterized in that described electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product, under the state of connecting main power source, the state of described control assembly is work and halted state.
15. according to domestic network system described in the claim 11, when it is characterized in that described electric equipment is plug and play (Plug-in-and-ready) product, described control assembly is carried out the control to power supply.
16., it is characterized in that described special communication protocol is a living network control communication protocol (LnCP) according to domestic network system described in the claim 9.
17. the method for controlling operation according to domestic network system described in the claim 1 is characterized in that this method comprises: by the plural the 1st and the 2nd electric equipment be connected the above-mentioned the 1st and the domestic network system of the 2nd each electric equipment in the special communication protocol under procotol; This method also comprised as the next stage: the 1st electric equipment transmits the stage of the solicited message that comprises action directive to the 2nd electric equipment; Above-mentioned the 2nd electric equipment receives the above-mentioned solicited message of recognition, and according to the product performance of the 2nd electric equipment, the stage of carrying out action directive.
18. according to the method for controlling operation of the domestic network system described in the claim 17, it is characterized in that also comprising: the 2nd electric equipment is in the stage of the response message of corresponding requests information biography to the 1st electric equipment; And the 1st electric equipment receive stage of above-mentioned response message.
19., it is characterized in that described action directive is for moving or move in stopping according to the method for controlling operation of the domestic network system described in the claim 17.
20. according to the method for controlling operation of the domestic network system described in the claim 19, when it is characterized in that described the 2nd electric equipment moves (Touch-and-run) product for touching, described operation and operation stop work of being respectively and halted state.
21. method of controlling operation according to the domestic network system described in the claim 20, it is characterized in that described the 2nd electric equipment has simple function, and actuating range is variable, and in the execution phase, above-mentioned the 2nd electric equipment is carried out the control to the action control range.
22. method of controlling operation according to the domestic network system described in the claim 19, it is characterized in that described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, presses and touch promptly when using (Press-and-ready) product or pressure to touch operation (Press-and-run) product, in execution phase under the state of connecting main power source, the state of the 2nd electric equipment is work and halted state.
23. according to the method for controlling operation of the domestic network system described in the claim 17, when it is characterized in that described the 2nd electric equipment is plug and play (Plug-in-and-ready) product, in the execution phase, the 2nd electric equipment is carried out the control to power supply.
24., it is characterized in that described special communication protocol is a living network control communication protocol (LnCP) according to the method for controlling operation of the domestic network system described in the claim 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072429 CN1767468A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072429 CN1767468A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1767468A true CN1767468A (en) | 2006-05-03 |
Family
ID=36743087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410072429 Pending CN1767468A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1767468A (en) |
-
2004
- 2004-10-27 CN CN 200410072429 patent/CN1767468A/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 | |
CN106231754B (en) | Lighting control system, illumination control method and device | |
CN104426750A (en) | Method, equipment and system for instant messaging | |
WO2006091042A1 (en) | Network system management method | |
CN1767468A (en) | Household network system | |
CN103491058A (en) | TR069 and UPnP protocol conversion method and home network terminal management method and system | |
CN1767467A (en) | Household network system | |
CN1767470A (en) | Household network system | |
CN1767481A (en) | Household network system and information acquisition method and electrical appliance | |
CN1767469A (en) | Household network system | |
CN1767471A (en) | Household network system | |
CN1767458A (en) | Household network system and its affirmation method | |
CN1767460A (en) | Household network system and its affirmation method | |
CN1767459A (en) | Household network system and its electrical appliance equipment | |
CN1767461A (en) | Household network system | |
CN1747416A (en) | Household network system | |
CN1767462A (en) | Household network system | |
CN1767466A (en) | Household network system | |
CN1767465A (en) | Household network system | |
CN1747410A (en) | Household network system and repeating data packet discrimination therefor | |
CN1767473A (en) | Household network system and its item informing method and electrical appliance equipment | |
CN1767463A (en) | Household network system | |
CN1747417A (en) | Network system of electrical appliances | |
CN1747414A (en) | Household network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |