CN1747416A - Household network system - Google Patents

Household network system Download PDF

Info

Publication number
CN1747416A
CN1747416A CN 200410071832 CN200410071832A CN1747416A CN 1747416 A CN1747416 A CN 1747416A CN 200410071832 CN200410071832 CN 200410071832 CN 200410071832 A CN200410071832 A CN 200410071832A CN 1747416 A CN1747416 A CN 1747416A
Authority
CN
China
Prior art keywords
mentioned
territory
network system
network
domestic network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200410071832
Other languages
Chinese (zh)
Inventor
白承冕
李军石
何三哲
金勇泰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics Tianjin Appliances Co Ltd
Original Assignee
LG Electronics Tianjin Appliances Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LG Electronics Tianjin Appliances Co Ltd filed Critical LG Electronics Tianjin Appliances Co Ltd
Priority to CN 200410071832 priority Critical patent/CN1747416A/en
Publication of CN1747416A publication Critical patent/CN1747416A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention includes at least two electrical devices and network with dedicated communication protocol. In the home network system, when an electrical device answers request message sent from other electrical devices, the response message is transmitted from upper layer to lower layer in other devices, and then is transmitted from lower layer to upper layer in the answering device. The answering message includes CC (command code) and the field of executing result about the request message. The CC includes content of work need to execute by other devices. The interactive network control communication protocol is applied in the electrical devices in the home network system to execute control, supervision and interaction functions.

Description

Domestic network system
Technical field
The present invention relates to a kind of domestic network system.
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 easily whenever and wherever possible, can bring enjoyment in life.Along with the development of digital information processing, household electrical appliances such as refrigerator or washing machine are developing into the digitlization home appliance gradually.Along with the fast development of household electrical appliances use system technology and high-speed digital communication technology, the information household appliances of above-mentioned technology are appearring fully utilizing.Under above-mentioned background, domestic network system has appearred.
COS shown in this home network following table 1 can be divided into data network, entertainment network, interactive network.
Table 1
Classification Function COS
Data network Between PC and peripheral equipment Exchanges data, network service etc.
Entertainment network The network of A/V (Audio/Video) equipment room Music, services such as animation
Interactive network The network of control home appliance The control of home appliance, home network is controlled automatically, remote monitoring, information service etc.
Data network (data network) belongs to the network type that makes up for the exchanges data between pc and the peripheral equipment or provide services on the Internet etc.Entertainment network (entertainment network) belongs to the network type between the home appliance of the information of handling ODO or VDO etc.In addition, interactive network (living network) is meant the network that is controlled to be purpose with automation appliance or Long-distance Control etc. merely.
This domestic network system that is used for family is formed by master control (master) equipment and slave as electric equipment.As electric equipment, main control device controls or shows the state of other electric equipment to other electric equipment.As electric equipment, slave is pressed characteristic or other key element of electric equipment, the requirement of main control device is replied, and export the state change information of self.The electric equipment that uses in the specification of the present invention (or new equipment) comprises that not only washing machine, refrigerator etc. are used for the household electrical appliances of above-mentioned interactive 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 automatic null device of coal gas and automatically-controlled door, electrical equipment such as light a lamp.
This prior art can not provide the electric equipment in the domestic network system is controlled and the communication specification of function such as supervision.
Summary of the invention
In order to overcome the above-mentioned shortcoming that prior art exists, the invention provides a kind of general rule of communication of using that electric equipment in the domestic network system is had functions such as control and supervision, i.e. the domestic network system of network control communications agreement.
It is suitable as the general domestic network system of controlling communication protocol (Living network Control Protocol:LnCP) with the interactive network of rule of communication that the object of the invention is to provide.
The object of the invention is to provide the response message of using with interactive network control communication protocol, the domestic network system of implements communication.
The object of the invention is to provide the response message with appending the error code that comprises relevant product work, the domestic network system of implements communication.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of domestic network system is formed by the network of at least two above electric equipments with the special communication protocol that connects above-mentioned each electric equipment.In above-mentioned domestic network system, as responding the response message of an above-mentioned electric equipment, pass to lower layer from the upper layer of above-mentioned miscellaneous equipment to the solicited message of miscellaneous equipment, the lower layer from an above-mentioned electric equipment passes to upper layer again.Above-mentioned response message comprises the territory that the result is carried out in command code and relevant above-mentioned request.The mentioned order sign indicating number is included in the above-mentioned solicited message, represents the action that above-mentioned other electric equipment need be carried out.
At this moment, the implementation resultant field of relevant corresponding above-mentioned request when failing the normal process solicited message, should comprise NAK territory, NAK sign indicating number and error code territory at least.
Above-mentioned NAK territory should be 1 byte.
Above-mentioned NAK territory should comprise 0x15.
Above-mentioned NAK sign indicating number territory should be 1 byte.
Above-mentioned NAK sign indicating number territory should be 0x63.
Above-mentioned error code should be represented the mistake of relevant above-mentioned other electric equipment work.
Above-mentioned communication protocol should be interactive network control communication protocol (LnCP).
In addition, the Storage Media of the recording information structure in the domestic network system of the present invention is formed with the network of the special communication protocol that connects above-mentioned electric equipment by plural at least electric equipment.In above-mentioned domestic network system, as responding the response message of an above-mentioned electric equipment, pass to lower layer from the upper layer of above-mentioned miscellaneous equipment to the solicited message of miscellaneous equipment, the lower layer from an above-mentioned electric equipment passes to upper layer again.Above-mentioned response message comprises the implementation result's of command code and relevant corresponding above-mentioned request territory.The mentioned order sign indicating number is included in the above-mentioned solicited message, represents the action that above-mentioned other electric equipment need be carried out.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Fig. 1 is a domestic network system block diagram of the present invention.
Fig. 2 is the block diagram of interactive network control communication protocol of the present invention.
Fig. 3 a is the interface schematic diagram of the interlayer when physical layer 90 connects non-independent shape transmission medium among Fig. 2.
Fig. 3 b is the interface schematic diagram of the interlayer when physical layer 90 connects independent shape transmission medium among Fig. 2.
Fig. 4 a is the structured flowchart of the APDU in the application layer 60 among Fig. 3 a, the 3b.
Fig. 4 b is the structured flowchart of the APDU in the application layer 70 among Fig. 3 a, the 3b.
Fig. 4 c is the detailed block diagram of NLC among the NPDU.
Fig. 4 d is the structured flowchart of the HCNPDU in the home network control subsidiary layer 71 for Fig. 3 a, 3b.
Fig. 4 e is the structured flowchart of the data framework in the data relay layer for Fig. 3 a, 3b.
Fig. 4 f is the structured flowchart of the data framework in the physical layer 90 for Fig. 3 a, 3b.
Fig. 5 a is basic solicited message schematic diagram.
Fig. 5 b is a download request information schematic diagram.
Fig. 5 c is depicted as upload request information
Fig. 6 a is an ACK-response message schematic diagram.
Fig. 6 b is NAK one a response message schematic diagram.
Fig. 6 c is the schematic diagram that comprises error code (Error_code) NAK-response message.
Fig. 7 is the project information structured flowchart.
The number in the figure explanation:
1: domestic network system 2: internet network
3:LnCP server 4: client computer
10: gateway 20~23: network manager
30, the 31:LnCP router four 0~49: electric equipment
Embodiment
Preferred embodiment of the present invention is not that the present invention is done any pro forma restriction, and every foundation technical spirit of the present invention all still belongs in the scope of technical solution of the present invention any simple modification, equivalent variations and modification that above embodiment did.
As shown in Figure 1, domestic network system 1 is connected to LnCP server 3 by internet network 2.Customer equipment 4 is connected to LnCP server 3 by internet network 2 in addition.That is, domestic network system 1 is connected into the information of can transmitting mutually to LnCP server 3 and/or customer equipment 4.
The external network of domestic network system 1 comprises internet network 2, and the kind of the network based customer equipment 4 of said external also can possess miscellaneous equipment.That is, be example with this internet network 2, customer equipment 4 possesses Web server (Websever) (figure is slightly) during for computer, and customer equipment 4 possesses the communication server (Wap sever) (figure summary) during for the networking telephone.
LnCP server 3 is connected to domestic network system 1 and customer equipment 4 respectively by specific registration and deregistration procedure, receives supervision and control command etc. from customer equipment 4, and the information by internet network 2 usefulness particular forms is sent to domestic network system 1 again.In addition, LnCP server 3 receives and stores the information of particular form or it is sent to customer equipment 4 from domestic network system 1.In addition, LnCP server 3 stores self or the information of generation is sent to above-mentioned domestic network system 1.That is, domestic network system 1 is connected in LnCP server 3, can download the service content that LnCP server 3 is provided.
Domestic network system 1 comprises gateway 10, network manager 20~23, LnCP router three 0,31, LnCP adapter (adapter) 35,36 and a plurality of electric equipment 40~49.Gateway 10 has the function that connects the internet.Network manager 20~23 is fulfiled the environment set of electric equipment 40~49 and management function.The connection that LnCP router three 0,31 is responsible between the transmission medium.LnCP adapter 35,36 can make network manager 22 and electric equipment 46 be connected to transmission medium.
Network in the domestic network system 1 is coupled to each other by each electric equipment 40~49 shared transmission medium to be formed.This transmission medium can utilize the transmission medium (non-standardized transmission medium) of data relay layer unnormalizeds such as RS-485 or lower powered RF, maybe can utilize the transmission medium (standardized transmission medium) of normalization such as power line or IEEE802.11.
Network in the domestic network system 1 by with internet network 2 are the networks that are separated from each other.That is, the network in the above-mentioned domestic network system 1 constitutes the separate network that is connected by wired or wireless transmission medium.Here, though separate network comprises the network that the coupled situation that is in is physically separated in theory.
Domestic network system 1 comprises master control (Master) equipment and subordinate (Slave) equipment.Main control device can control apparatus equipment 40~49 or is monitored its operating state.Slave can be responded the request of main control device and the variation information of notice oneself state.This main control device comprises network manager 20~23, and slave comprises electric equipment 40~49.This network manager 20~23 comprises the information and the control code of the electric equipment 40~49 that will control, and programmed mode is carried out control operation, or receives after the information of LnCP server and/or customer equipment 4 inputs, carries out control operation.In addition, as shown in Figure 1, be connected with a plurality of network managers 20~23 o'clock, for carry out and other network manager 20~23 between exchange message, also for the synchronization of information and control, these network managers 20~23 not only can be main control devices but also can be slave.Promptly should be a kind of, from physical significance equipment just, but be to have master control simultaneously and from the equipment (being compatible equipment) of the function of dominant in theory.
In addition, these network managers 20~23 and electric equipment 40~49 can directly be connected on the network (power line network as shown, RS-485 network, RF network).In addition, can also connect by LnCP router three 0,31 and/or LnCP network adapter 35,36.
In addition, electric equipment 40~49 and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 are registered on the network manager 20~23, and according to product information, receive unique theoretical address (for example 0x00,0x01 etc.).This theoretical address and product code (for example air-conditioning is ' 0x02 ', and washing machine is ' 0x01 ') in conjunction with after, use as node address (Node Address).For example, the identical node address by 0x02009 (air-conditioning 1) and 0x0201 (air-conditioning 2) is by electric equipment 40~49 and/or LnCP router three 0,31 and/or 35,36 identifications of LnCP network adapter.In addition, can also use by specific benchmark (product of the same race, product position, user etc. are set) group address that is provided with, can the more than one electric equipment 40~49 of disposable identification and/or LnCP router three 0,31 and/or LnCP network adapter 35,36 when using the group address.In this group address, this dominance group address is group (cluster) address of a plurality of customer equipment of appointment when being set at " 1 " address choice value (following is mark flag) in the dominance group address.The tacit declaration 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 that especially a dominance group address is commonly referred to group's sign indicating number.
Domestic network system 1 can make network manager 20~23 by the interactive network control communication protocol (LnCP) of Fig. 2, 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, data relay layer 80, physical layer 90 and instrumental variable management level 100.Application software 50 is brought into play network managers 20~23, LnCP router three 0,31, LnCP network adapter 35,36, is reached the inherent function of electric equipment 40~49.And the function that connects with application layer 60 is provided, so that 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 layer after information that the user is provided or the order composition information.Network layer 70 can be network manager 20~23, LnCP router three 0,31, and connecting between LnCP network adapter 35,36 and the electric equipment 40~49 is reliable network.Data relay layer 80 provides the connection controlled function, is used to connect the common transmitted medium.Physical layer 90 provides network manager 20~23, LnCP router three 0,31, the rule of the physical interface between LnCP network adapter 35,36 and the electric equipment 40~49 and the bit (byte) that will transmit.The instrumental variable (node parameter) of the node that uses in instrumental variable management level 100 each layers of management configuration.
Detailed says, application software 50 also comprises network management subsidiary layer 51.Network management subsidiary layer 51 has the management node instrumental variable, and management is connected in the network manager 20~23 on the network, LnCP router three 0,31, the function of LnCP network adapter 35,36 and electric equipment 40~49.That is, this network management subsidiary layer 51 has a kind of function, can pass through instrumental variable management level 100, sets the instrumental variable numerical value or the variable that utilizes the medium instrumental variable is managed.When the equipment that is applicable to LnCP was main control device, this network management subsidiary layer 51 also has fulfiled the function that constitutes network or supervising the network.
In addition, network layer 70 also comprises home network sign indicating number control subsidiary layer 71.Net connection has network manager 20~23, LnCP router three 0,31, LnCP network adapter 35,36 and electric equipment 40~49.When utilize power line or IEEE 802.11, non-independent shape transmission medium such as wireless (for example LnCP comprise power line communication (PLC) agreement/or during wireless (wireless) agreement) when constituting above-mentioned network, in order to divide each network in theory, the function of home network sign indicating number and managing family network code is set in 71 performances of home network sign indicating number control subsidiary layer.This home network sign indicating number control subsidiary layer 71, is not included among the LnCP during from physical significance separation individual networks by independent shape transmission mediums such as picture RS-485.This home network sign indicating number is formed with 4 bytes (byte), is set at random (random) value or user's set point.
The interface schematic diagram of the interlayer when Fig. 3 a is depicted as physical layer 90 and is connected to non-independent shape transmission medium.Shown in Fig. 3 b is the interface schematic diagram of the interlayer of physical layer 90 when being connected to independent shape transmission medium.
Domestic network system 1 is the header of each layer needs (header) and pull sign indicating number (trailer) information and be added to from the communication protocol information unit (Protocol Data Unit:PDU) that upper layer receives, and is being communicated to lower layer.
Shown in Fig. 3 a, 3b, 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 data relay layer 80 or the home network sign indicating number subsidiary layer 71.HCNPDU (Home CodeControl Sublayer PDU) is the data value that transmits between network layer 70 (the definite home network sign indicating number subsidiary layer 71 of saying so) and data relay layer 80 or the home network sign indicating number subsidiary layer 71.Press data value (data) between data relay layer 80 and the physical layer 90, data framework unit forms interface.
Fig. 4 a is depicted as the APDU structure in application layer 60.
AL (APDU Length) territory is the territory of the length (AL is to the length of data framework group) of expression APDU, and minimum value is that 4 maximums are 77.
AHL (APDU Header Length) territory be the expression APDU header (header) length (AL is to the length of ALO), the territory, be 3 bytes when not expanding, can expand to 7 bytes.For the encipherment of data framework group, can expand to 7 bytes in the LnCP communication protocol in order to change APDU headers (header) such as application protocol.
ALO (Application Layer Option) territory is the territory that is used for extend information 3, and when for example this territory was set to " 0 ", information processing was out in the cold when other value was housed.(sic).
The data framework group is processing user's the control information or the territory of project information, and its structure is along with the variation of the contained value of AL0 changes.
Fig. 4 b is the structure of the NPDU in the network layer 70, and Fig. 4 c is the detailed structure schematic diagram of the NLC among the NPDU.
SLP (Start of LnCP Packet) territory is the domain of expression packet, and its value is 0x02.
The territory of DA (Destination Address) and SA (Source Address) is the destination of the packet that will transmit and the node address of the side of delivering letters, and each is made of 16 bits.Here upper 1 bit is the mark (flag) of demonstration group address, the kind (product code) that ensuing 7 bits are product, and the next 8 bits comprise the theoretical address of getting.Have the network manager 20~23 of a plurality of same kinds or electric equipment 40~49 o'clock, above-mentioned the next 8 bits are used to divide above-mentioned each network manager 20~23 or electric equipment 40~49.
PL (Packet Length) territory is for showing the territory of the NPDU length overall that will transmit, and its minimum value is 12 bytes, and maximum is 100 bytes.
SP (Service Priority) territory is to give the territory that transmission information transmits priority bit, is made of 3 bits.Each transmits the priority picks such as the table 2 of information.
When the subordinate customer equipment is replied the request of master control customer equipment, the priority picks of the solicited message that retinue's master control customer equipment receives.
Table 2
The priority picks Value Be suitable for (Application Layer)
High (High) 0 -when transmitting emergence message
In (Middle) 1 -when transmitting the general data bag-during the project information of the online and non-presence of transmissions map network (0nlline State) (Offline State) variation
Standard (Normal) 2 -when transmitting notice and constituting the information of network-during transmission general item information
Low (Low) 3 -when transmitting the value according to the producer that downloads or upload
NHL (NPDU Header Length) territory is to be used for expanding the territory that NPDU header (header) (the NLC territory of SLP) uses, and is 9 bytes when not expanding, and maximum can expand to 16 bytes.
PV (Protocol Version) territory is the territory that shows 1 byte of the communication protocol version that is adopted, and is made of upper 4 bits and the next 4 bits.Upper 4 bits are version (version) territory, and the next 4 bits are server version (sub-version) territory.Version (version) and server version (sub-version) are respectively with 16 systems mark method version of display.
NPT (Network layer Packet Type) territory is 4 bit field of dividing data bag kind in network layer.LnCP comprises request data package (Request Packet), reply data bag (ResponsePacket), notification data bag (Notification Packet).The NPL territory of master control customer equipment should be set at request data package or notification data bag, and the NPL territory of slave should be set at reply data bag or notification data bag.The NPT value of packet kind is as shown in table 3 below.
Table 3
Value Explanation
0 Request data package
1~3 Do not use
4 The reply data bag
5~7 Do not use
8 The notification data bag
9~12 Do not use
13~15 The interface that connects with home network sign indicating number control subsidiary layer is worth with reservation
TC (Transmission Counter) territory 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 field of transmission more repeatedly.The destination can utilize the numerical value in TC territory, detects duplicate message.With the scope of the TC thresholding of NPT value with following table 4.
Table 4
The packet kind Value (scope)
Request data package 1~3
The reply data bag 1
The notification data bag 1~3
PN (Packet Number) territory is made of 2 bits.In slave, be used with TC in order to detect repetitive data packet PN (Packet Number) territory.In the master control customer equipment, be used in order to handle a plurality of communication cycles.Scope with the PN territory 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 thresholding of duplicate requests packet
The notification data bag 0~3
The APDU territory is the unit of the communication 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) territory is 16 bit field for the mistake that detects data accepted bag (SLP is to the APDU territory).
ELP (End of LnCP Packet) territory is the territory of video data Bao Weiduan, and its value is 0x03.If receive with the data packet length territory in length corresponding data values (data), can not detect the ELP territory, then be shown packet error.
Fig. 4 d is the HCNPDU structure chart in the home network sign indicating number control subsidiary layer 71.
Shown in Fig. 4 d, the last bit position of NPDU also comprises HC (Home Code) territory.
The numerical value of this home network sign indicating number is made of 4 bytes.This home network sign indicating number has unique value in the distance of the propagable circuit of packet.
Fig. 4 e is depicted as the structure of the data framework in the data relay layer.
The header (header) of the data framework of the data relay layer of LnCP and pull the sign indicating number (trailer) form different structures according to transmission medium.When data relay layer 80 uses the transmission medium of unnormalizeds, the header of data framework (header) and pull sign indicating number and should have Null territory (Null Field).As use normalized transmission medium, then with the regulation of communication protocol.The NPDU territory is the unit from the data value of upper network layer 70 transmission.The data value unit that HCNPDU used when being physical layer 90 for non-independent shape transmission medium such as power line or IEEE 802.11 is the data value unit of appending 4 byte home network sign indicating numbers at the NPDU front end.Data relay layer 80 is not divided the processing of NPDU and HCNPDU.
Fig. 4 f is the data framework 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 communication protocol, the transmission medium of the unnormalized data relay layer 80 that can use be equal to RS-485 or low power RF.Can also use the normalization transmission medium that is equal to as power line or IEEE 802.11.Be suitable in the domestic network system 1 of LnCP network, for network manager 20~23 and electric equipment 40~49 and RS-485 or LnCP router three 0,31, reach LnCP adapter 35,36 and connect, utilized the signal standards (level) of UART (Universal Asynchronous Receiver and Transmitter) data framework structure and RS-232.When utilizing netting twine (serial bus) to connect between each equipment, UART is at communication line control bit signal flow.Shown in Fig. 4 f, in LnCP, the packet that upper layer is sent here, be transformed into the UART data framework unit of 10 bit sizes after, transmit by transmission medium.The UART data framework is made of the start bit (Start Bit) of 1 bit, the data value (data) of 8 bits and the position of rest (Stop Bit) of 1 bit.Above-mentioned UART data framework does not use effect position (ParityBit).The UART data framework is passed on from start bit, passes on position of rest at last.When the domestic network system 1 of suitable LnCP utilizes UART, do not use the data framework header (frame header) and the framework that append to pull sign indicating number (a frame trailer).
In the above-mentioned information, the arrangement of byte (or bit) data is arranged in the following manner.Last bit byte (or bit) is positioned at the left side of information, and following bit byte (or bit) is positioned at the right.The used information type of application layer 60 is as follows.
Solicited message (Request Message): be in order to carry out order at slave, 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 is responded with response message (ResponseMessage).
Response message (Response Message): being to carry out the result for the order of transmitting slave, passing to application layer 60 or from the information that the application layer 60 of slave passes to network layer 70 from the network layer 70 of main control device, is the response to solicited message.
Project 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 is the schematic diagram of basic solicited message.This solicited message is by command code (Command Code:CC) and carry out its used association factor ( factor 1,2...) formation.Solicited message is used for the control and the state confirmation of slave, in addition, also is used to ask the validation of information of slave.
Fig. 5 b is depicted as download request information (Downloading Request Message).Download request information is that data that are partitioned in a solicited message biography is that used enter factor (InputArguments) comprises all pages or leaves and " current page " to equipment.Fig. 5 c is depicted as upload request information (UploadingRequest Message).Upload request information is to be used for cutting apart the enter factor of obtaining data from slave unit, comprises " page number (PageNo) " and " size of data (DataNo) ".
Detailed says so, and this download request information is to allow main control device possess particular data, the information of this data biography to slave and/or other main control device.Above-mentioned data are cut apart by the particular data size, and the whole numbers that are partitioned into are all pages or leaves.In this all page or leaf, be included in the current solicited message, the data that are transmitted are " current page ".
This upload request information is to allow slave and/or other main control device possess particular data, and main control device is uploaded the information of these data.Main control device is in all pages or leaves, and a request part is equivalent to the data of size of data, and these part data become the partition data on the order that is arranged in the corresponding page number of all data.
Fig. 6 a to 6c is the structure embodiment of each response message.
When response message is divided into the solicited message that normal implementation main control device sends here, the ACK-response message of generation (ACK-Response Message) otherwise and during situation, the NAK-response message of generation (NAK-Response Message).
Fig. 6 a is an ACK-response message schematic diagram.This ACK-response message is by command code and ACK (for example, 0x06), each factor formation of expression implementation result.In the slave successful implementation during by the solicited message of main control device transmission, transferring ACK-response message.
Fig. 6 b is the schematic diagram of NAK-response message.This NAK-response message by command code, NAK (for example, 0x15) and the NAK_code of 1 byte constitute.When slave is failed the solicited message of successful implementation main control device transmission, transmit this NAK-response message.NAK_code has difference with the mistake of relevant product code.NAK_code is in the communication process between main control device and slave, because of the bad command sign indicating number or the wrong factor, and when slave is failed the successful implementation solicited message, the code value of its reason of classifying.
Fig. 6 c is the schematic diagram that comprises error code (Error_code) NAK-response message.This Error_code is the relevant mistake of product work.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, with the Error_code value is arranged.
Fig. 7 is the project information structure chart.
As shown in Figure 7, project information is the state of slave when being changed, the information of generation.(for example, 0x11), item code (Event Code) (2 byte) and state value (State Variable) (4 byte) constitute by command code.In item code, upper 1 byte is identical with product code (Product Code), the next 1 byte representation state variable.
The invention effect
In sum, the invention provides electric equipment in the applicable domestic network system, the general rule of communication of using with functions such as control and supervision, the i.e. domestic network system of network control communications agreement.
The invention provides applicable as the general domestic network system of controlling communication protocol (Living network Control Protocol:LnCP) with the interactive network of rule of communication.
The invention provides the response message with interactive network control communication protocol, the effect of the domestic network system of implements communication.
The invention provides with the response message that appends the error code that comprises relevant product work, the domestic network system of implements communication.

Claims (16)

1, a kind of domestic network system is characterized in that, it is formed by at least two above electric equipments and the network that connects the special communication protocol of above-mentioned each electric equipment;
In above-mentioned domestic network system, as responding the information of an above-mentioned electric equipment to the solicited message of miscellaneous equipment, response message passes to lower layer from the upper layer of above-mentioned miscellaneous equipment, and the lower layer from an above-mentioned electric equipment passes to upper layer again; Above-mentioned response message comprises the territory that the result is carried out in command code and relevant above-mentioned request; The mentioned order sign indicating number is included in the above-mentioned solicited message, represents the action that above-mentioned other electric equipment need be carried out.
2, domestic network system according to claim 1 is characterized in that the implementation resultant field of above-mentioned request when failing the normal process solicited message, comprising NAK territory, NAK sign indicating number and error code territory at least.
3, domestic network system according to claim 2 is characterized in that above-mentioned NAK territory is 1 byte.
4,, it is characterized in that above-mentioned NAK territory comprises 0x15 according to claim 2 or 3 described domestic network systems.
5, domestic network system according to claim 2 is characterized in that above-mentioned NAK sign indicating number territory is 1 byte.
6,, it is characterized in that above-mentioned NAK sign indicating number territory is 0x63 according to claim 2 or 5 described domestic network systems.
7, domestic network system according to claim 2 is characterized in that above-mentioned error code represents and the relevant mistake of above-mentioned other electric equipment work.
8, domestic network system according to claim 1 is characterized in that above-mentioned communication protocol is interactive network control communication protocol.
9, a kind of message structure recording storage medium of domestic network system is characterized in that, it is formed by at least two above electric equipments and the network with special communication protocol that connects above-mentioned each electric equipment; In above-mentioned domestic network system, as responding the response message of an above-mentioned electric equipment, pass to lower layer from the upper layer of above-mentioned miscellaneous equipment to the solicited message of miscellaneous equipment, the lower layer from an above-mentioned electric equipment passes to upper layer again; Above-mentioned response message comprises the territory that the result is carried out in command code and relevant above-mentioned request; The mentioned order sign indicating number is included in the above-mentioned solicited message, represents the action that above-mentioned other electric equipment need be carried out.
10, the message structure recording storage medium of domestic network system according to claim 9 is characterized in that relevant territory of carrying out above-mentioned request, during the above-mentioned solicited message of the normal process of failing, comprises NAK territory and NAK sign indicating number territory and error code territory at least.
11, the message structure recording storage medium of domestic network system according to claim 10 is characterized in that above-mentioned NAK territory is that 1 byte is the message structure recording storage medium of the domestic network system of feature.
12,, it is characterized in that above-mentioned NAK territory comprises 0x15 according to the message structure recording storage medium of claim 10 or 11 described domestic network systems.
13, the message structure recording storage medium of domestic network system according to claim 10 is characterized in that above-mentioned NAK sign indicating number territory is 1 byte.
14,, it is characterized in that above-mentioned NAK sign indicating number territory is 0x63 according to the message structure recording storage medium of claim 10 or 13 described domestic network systems.
15, the message structure recording storage medium of domestic network system according to claim 10 is characterized in that above-mentioned error code represents and the relevant mistake of above-mentioned other electric equipment work.
16, the message structure recording storage medium of domestic network system according to claim 9 is characterized in that above-mentioned communication protocol is interactive network control communication protocol.
CN 200410071832 2004-09-06 2004-09-06 Household network system Pending CN1747416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410071832 CN1747416A (en) 2004-09-06 2004-09-06 Household network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410071832 CN1747416A (en) 2004-09-06 2004-09-06 Household network system

Publications (1)

Publication Number Publication Date
CN1747416A true CN1747416A (en) 2006-03-15

Family

ID=36166748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410071832 Pending CN1747416A (en) 2004-09-06 2004-09-06 Household network system

Country Status (1)

Country Link
CN (1) CN1747416A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426765A (en) * 2013-08-29 2015-03-18 鸿富锦精密工业(深圳)有限公司 Network communication multipath selection method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426765A (en) * 2013-08-29 2015-03-18 鸿富锦精密工业(深圳)有限公司 Network communication multipath selection method and system
CN104426765B (en) * 2013-08-29 2018-08-07 南宁富桂精密工业有限公司 Network communication multi-channel selection method and system

Similar Documents

Publication Publication Date Title
CN1799224A (en) Home network system
KR20040104322A (en) Home network system
CN101164285A (en) Packet structure and packet transmission method of network control protocol
KR100605216B1 (en) 0network device
CN1957559A (en) Home network system
CN1767472A (en) Household network system
CN1747416A (en) Household network system
CN1747417A (en) Network system of electrical appliances
CN1767460A (en) Household network system and its affirmation method
CN1767462A (en) Household network system
CN1767473A (en) Household network system and its item informing method and electrical appliance equipment
CN1767461A (en) Household network system
CN1747414A (en) Household network system
CN1767471A (en) Household network system
WO2005094192A2 (en) Home network system
CN1767469A (en) Household network system
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767470A (en) Household network system
CN1767481A (en) Household network system and information acquisition method and electrical appliance
CN1747413A (en) Household network system
CN1767458A (en) Household network system and its affirmation method
CN1767467A (en) Household network system
CN1747411A (en) Household network system
CN1956440A (en) Domestic network system
CN1767474A (en) Household network system and its address setting method and associated electrical appliance equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication