CN1767471A - Household network system - Google Patents
Household network system Download PDFInfo
- Publication number
- CN1767471A CN1767471A CN 200410072432 CN200410072432A CN1767471A CN 1767471 A CN1767471 A CN 1767471A CN 200410072432 CN200410072432 CN 200410072432 CN 200410072432 A CN200410072432 A CN 200410072432A CN 1767471 A CN1767471 A CN 1767471A
- Authority
- CN
- China
- Prior art keywords
- information
- network
- electric equipment
- network system
- lncp
- 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 a first and a second electric appliances and a specific communication protocol connected with them under the network protocol, in which, the first device generates some information after it is turned on and waits for some delay time to transfer the information to the second device. The method for transferring information includes the following steps: the first device is turned on to generate some information and wait for some delay time then transfers said information to the second device, which provides a control communication protocol to control and monitor the electric appliances in the system and a system suitable for the living network standard to adjust the information volume by delaying the transfer of the information.
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 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 domestic network system that is used for family is made of master control (master) equipment and slave as electric equipment.Other electric equipment is controlled or is shown the state of other electric equipment as the main control device of electric equipment.As characteristic or other key element that the slave of electric equipment is pressed 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.
This 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 deficiency of above-mentioned technology, a kind of suitable all purpose communication standard be provided---the domestic network system of control communication protocol, above-mentioned 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 to deliver letters the domestic network system of the regulating networks traffic (traffic) by delaying information for providing a kind of.
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 special communication protocol under procotol of the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd each electric equipment; Generate certain information after the 1st electric equipment energized, and after waiting for certain delay time, transmit above-mentioned information to the 2nd electric equipment.
Described the 1st electric equipment generates the above-mentioned delay time in mode at random.
Described information is to connect relevant information with network.
Described special communication protocol is a living network control communication protocol (LnCP).
Described electric equipment comprises: interface unit is used for connecting network by certain communication protocol; Control assembly communicates by above-mentioned interface unit and other electric equipments, and generates certain information when energized, waits for certain delay time after, above-mentioned information by the interface unit biography to other electric equipments.
Described the 1st electric equipment generates the above-mentioned delay time in mode at random.
Described information is to connect relevant information with network.
Described special communication protocol is a living network control communication protocol (LnCP).
A kind of described domestic network system information transferring method, this method comprise by the special communication protocol under procotol in the domestic network system of the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd each electric equipment; This method also comprised as the next stage: the stage of the 1st electric equipment energized; Generate the stage of certain information; Wait for the stage in certain delay time; To the 2nd electric equipment in the stage of above-mentioned information biography.
Described method also comprised as the next stage: the 1st electric equipment generates the stage in delay time by random fashion.
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.
Domestic network system of the present invention can be delivered letters the regulating networks amount of information by delaying information.
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 an information transferring method flow 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.
Domestic network system 1 comprises gateway 10; Network manager 20~23; LnCP router three 0,31; LnCP network adapter (adapter) 35,36 and a plurality of electric equipment 40~49.Gateway 10 has the function that connects the internet.Network manager 20~23 is fulfiled the environment set of electric equipment 40~49 and management function.The connection that LnCP router three 0,31 is responsible between the transmission medium.LnCP network adapter 35,36 can make network manager 22 and electric equipment 46 be connected to transmission medium.Network in the domestic network system 1 is 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.
Domestic network system 1 comprises master control (Master) equipment, subordinate (Slave) equipment.The operating state of electric equipment 40~49 can be controlled or monitor to main control device.Slave can be responded the request of main control device and the information that the notice oneself state changes.This main control device comprises network manager 20~23; Slave comprises electric equipment 40~49.This network manager 20~23 comprises that programmed mode is carried out control operation to the information and the control code of the electric equipment 40~49 that will control, or receives after the information of LnCP server and/or client device 4 inputs, carries out control operation.As shown in the figure, the connection of a plurality of network managers 20~23, be in order to carry out the information exchange between the network manager 20~23, also for the synchronization of information and control, these network managers 20~23 promptly can be that main control device can be again a slave.Promptly should be a kind of, from physical significance equipment just, but be again to have master control and from the equipment (being compatible equipment) of the function of dominant in theory simultaneously.
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.
Domestic network system 1 is added to the title of each layer needs (head) and ending (trailer) information from the network protocol message unit (Protocol Data Unit:PDU) that the upper strata receives, and is communicated to lower floor again.
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 Version) 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
Value | Explanation |
0 | Request data package |
1~3 | Do not use |
4 | The reply data bag |
5~7 | Do not use |
8 | The notification data bag |
9~12 | Do not use |
13~15 | The interface that 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) |
Request data package | 1~3 |
The reply data bag | 1 |
The notification data bag | 1~3 |
PN (Packet Number) field is made of 2 bits.In slave, 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) |
Request data package | 0~3 |
The reply data bag | The PN field value of duplicate requests packet |
The notification data bag | 0~3 |
The APDU field is the unit of the Internet protocol data value (data) of the application layer of transmission between application layer 60 and the network layer 70.The APDU minimum value is 0 byte, and maximum is 88 bytes.
CRC (Cyclic Redundancy Check) field is 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 also has display unit (figure slightly), and display unit comprises input unit (figure slightly) and interface arrangement.Input unit is used for the user and imports certain signal.Interface arrangement is according to the home network document, all or a part of electric equipment (40~49) of domestic network system with and/or network manager 20~23, be shown to the user by the icon form.
In fact, the control device 230 by main control device or slave carries out some operations specific.But, put down in writing below by main control device or slave and carry out some operations specific for the convenience on narrating.
Fig. 9 is an information transferring method flow chart of the present invention.The information of using below comprises the structure shown in Fig. 5 a to Fig. 7, also comprises APDU, the data that data forms such as NPDU transmit.
Information transferring method flow process of the present invention is as follows:
Stage S51: behind slave connection power supply, slave is in the state (that is presence) that communicates with domestic network system 1.At this moment, slave should be in the state that is connected in domestic network system 1 (that is network).
Stage S52: slave produce a kind of be used to notify and domestic network system between the information of communicable state.Above-mentioned information is to connect relevant information with network, comprises life event (event) (AliveEvent) information or network connection announcement information.Life event (event) (Alive Event) information is used to notify slave being in active state.In order to carry out the plug-and-play service, network connects announcement information, and the state that slave has been linked to network is circulated a notice of.
Stage S53: slave was waited in certain delay time.This delay time is the value of selecting at random such as in 0~1000ms scope.Slave enters stage S54 after the delay time through selection.When several slaves were in the state that can communicate with domestic network system 1 simultaneously, the delay time can prevent to occur simultaneously the transmission of many information, Internet traffic was increased sharply, the phenomenon that produces conflict or postpone.
Stage S54: slave passes the information that generates to main control device.
Claims (11)
1. a domestic network system is characterized in that this domestic network system comprises: by the special communication protocol under procotol of the plural the 1st and the 2nd electric equipment and connection the above-mentioned the 1st and the 2nd each electric equipment; Generate certain information after the 1st electric equipment energized, and after waiting for certain delay time, transmit above-mentioned information to the 2nd electric equipment.
2. according to the domestic network system described in the claim 1, it is characterized in that described the 1st electric equipment generates the above-mentioned delay time at random mode.
3. according to the domestic network system described in the claim 1, it is characterized in that described information is to connect relevant information with network.
4. 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).
5. according to domestic network system described in the claim 1, it is characterized in that described electric equipment comprises:
Interface unit is used for connecting network by certain communication protocol;
Control assembly communicates by above-mentioned interface unit and other electric equipments, and generates certain information when energized, waits for certain delay time after, above-mentioned information by the interface unit biography to other electric equipments.
6 according to domestic network system described in the claim 5, it is characterized in that described the 1st electric equipment generates the above-mentioned delay time at random mode.
7. according to domestic network system described in the claim 5, it is characterized in that described information is to connect relevant information with network.
8. according to domestic network system described in the claim 5, it is characterized in that described special communication protocol is a living network control communication protocol (LnCP).
9. one kind according to the information transferring method of domestic network system described in the claim 1, it is characterized in that this method comprise by the plural the 1st and the 2nd electric equipment and connect 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 stage of the 1st electric equipment energized; Generate the stage of certain information; Wait for the stage in certain delay time; To the 2nd electric equipment in the stage of above-mentioned information biography.
10. according to the domestic network system information transferring method described in the claim 9, it is characterized in that described method also comprised as the next stage: the 1st electric equipment generates the stage in delay time by random fashion.
11., it is characterized in that described special communication protocol is a living network control communication protocol (LnCP) according to the domestic network system information transferring method described in the claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072432 CN1767471A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410072432 CN1767471A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1767471A true CN1767471A (en) | 2006-05-03 |
Family
ID=36743090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410072432 Pending CN1767471A (en) | 2004-10-27 | 2004-10-27 | Household network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1767471A (en) |
-
2004
- 2004-10-27 CN CN 200410072432 patent/CN1767471A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1799224A (en) | Home network system | |
US20100005166A1 (en) | Network device | |
CN101164285A (en) | Packet structure and packet transmission method of network control protocol | |
CN1957559A (en) | Home network system | |
CN1767472A (en) | Household network system | |
CN1767471A (en) | Household network system | |
CN1767469A (en) | Household network system | |
CN1767460A (en) | Household network system and its affirmation method | |
CN1767470A (en) | Household network system | |
CN1747416A (en) | Household network system | |
CN1767481A (en) | Household network system and information acquisition method and electrical appliance | |
CN1767459A (en) | Household network system and its electrical appliance equipment | |
CN1767467A (en) | Household network system | |
CN1767462A (en) | Household network system | |
CN1767468A (en) | Household network system | |
CN1767461A (en) | Household network system | |
CN1767458A (en) | Household network system and its affirmation method | |
CN1767473A (en) | Household network system and its item informing method and electrical appliance equipment | |
CN1747417A (en) | Network system of electrical appliances | |
CN1747414A (en) | Household network system | |
CN1767466A (en) | Household network system | |
CN1767465A (en) | Household network system | |
CN1767475A (en) | Household network system and its movement precontract setting method and associated electrical appliance equipment | |
CN1767478A (en) | Household network system and item information processing method and electrical appliance device | |
CN1747410A (en) | Household network system and repeating data packet discrimination therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |