CN1767477A - Household network system and activity item information processing method and program storage media - Google Patents

Household network system and activity item information processing method and program storage media Download PDF

Info

Publication number
CN1767477A
CN1767477A CN 200410072464 CN200410072464A CN1767477A CN 1767477 A CN1767477 A CN 1767477A CN 200410072464 CN200410072464 CN 200410072464 CN 200410072464 A CN200410072464 A CN 200410072464A CN 1767477 A CN1767477 A CN 1767477A
Authority
CN
China
Prior art keywords
item information
electric equipment
notification interval
activity notification
master control
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.)
Granted
Application number
CN 200410072464
Other languages
Chinese (zh)
Other versions
CN100534051C (en
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 CNB200410072464XA priority Critical patent/CN100534051C/en
Publication of CN1767477A publication Critical patent/CN1767477A/en
Application granted granted Critical
Publication of CN100534051C publication Critical patent/CN100534051C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a family network system, a process method for active item information and a program storage medium, among which, the system includes electric devices and primary control devices, the electric devices can transfer the active item information to the primary control devices by a network in terms of a certain communication protocol and a stored first active notification interval, which can receive the active item information so as to confirm the state of the electric devices. This invented system uses the control protocol with standard communication rules to control and monitor the devices in it, the system applies the LnCP and obtains the current state information of all devices, controls the information volume on the network so as to get the information of all devices, besides, the system can alter the transmission period of item information based on the network state.

Description

Domestic network system and activity item information processing method and program storage media
Technical field
The present invention relates to a kind of domestic network system and activity item information processing method and program storage media, particularly relate to a kind of domestic network system and activity item information processing method and program storage media that adopts living network control protocol.
Background technology
Home network refers to be connected with the network of various digital household appliances, and it can make people no matter can be not only at home or in the outside convenient but also use safely household electrical appliance. Development along with Digital Signal Processing, be referred to as the devices such as the refrigerator of white domestic appliances or washing machine all the time and all become gradually digital product, and along with household electrical appliances use the develop rapidly of system technology and the high-speed multimedia communication technology and make digital household appliances become information household appliances, thereby promoted the development of home network. As shown in table 1, this home network can be divided into data network, entertainment network and living network according to the COS that provides.
Table 1
Classification Function COS
Data network Network between PC and the surrounding devices. Exchanges data, Internet service.
Entertainment network Network between A/V (audio/video) equipment. Audio frequency, video, service.
Living network The network of control household electrical appliance. The control of household electrical appliance, home automation, remote monitoring, information service etc.
Here, the network that carries out exchanges data or provide Internet service to construct between PC and the surrounding devices for making is provided data network; Entertainment network is the network of constructing between the home appliance that possesses the Voice ﹠ Video processing capacity; Living network then is the network of constructing in order to control household electrical appliances and home automation and remote monitoring. Wherein, home network comprises the running that can control other household electrical appliances or the master control equipment that monitors its state; With the characteristic of utilizing electric equipment or other function, and the electric equipment automaton with the function that can respond master control equipment and informational function of notifying oneself state to change. The household electrical appliance of mentioning in this specification not only comprise the living network service household electrical appliance such as above-mentioned washing machine, refrigerator, but also comprise all household electrical appliance for the service of data network service and entertainment network, and comprise the products such as gas valve control device, automatic door device and electric light. But the domestic network system of this prior art provides the electric equipment in this system is not controlled and the standard communication specification of the function such as supervision.
Summary of the invention
In order to address the above problem, the object of the present invention is to provide a kind of can operating specification the communication specification control and surveillance in the function of each electric equipment, and can obtain the current state information of all devices in the system, can control the information content on the network, thereby can more effectively obtain the information of all devices, and can change according to network state transmission cycle of project information, to improve domestic network system and activity item information processing method and the program storage media of network service efficiency.
In order to achieve the above object, domestic network system provided by the invention comprises electric equipment and master control equipment; Described electric equipment can be by sending campaign item information to master control equipment according to the network of certain communication protocol and the 1st activity notification interval that has stored; Master control equipment can receive above-mentioned campaign item information, thereby confirms the state of electric equipment.
Whether described electric equipment can be that basic logical address is judged to the logical address that has stored, and is not just to send campaign item information to master control equipment in the situation of basic logical address in the logical address of above-mentioned storage.
The described logical address that has stored is the logical address that master control equipment is distributed to electric equipment.
Described electric equipment is connected on the above-mentioned network, and transmits above-mentioned campaign item information when plugged.
Described electric equipment is connected on the above-mentioned network, and waits for according to the random time of selecting in the certain hour scope when plugged, then transmits above-mentioned campaign item information.
Described time range is 0~5000ms.
After described electric equipment is waited for the above-mentioned time, send above-mentioned campaign item information to master control equipment according to the 2nd activity notification interval and the number of times set, then send above-mentioned campaign item information by the 1st activity notification interval.
Described the 1st activity notification interval is more than or equal to the 2nd activity notification interval.
Described master control equipment can transmit the activity notification interval to above-mentioned electric equipment and set solicited message, described activity notification interval is set solicited message and is comprised new activity notification interval, new activity notification spacing value is different from the 1st activity notification interval that is stored in the above-mentioned electric equipment, the 1st activity notification interval that above-mentioned electric equipment will store changes over new activity notification interval, then store, and send activity notification interval setting ACK response message to master control equipment.
Described electric equipment is stored in above-mentioned new activity notification interval in the read-only storage area.
Described master control equipment shows the electric equipment state of above-mentioned affirmation by display.
Described campaign item information comprises item code and state value at least.
Described state value demonstrates at least to be waited for or is working or suspend some in the content.
Described campaign item information also comprises error status value.
Described campaign item information comprises the 1st activity notification interval.
The activity item information processing method of domestic network system provided by the invention comprises: described electric equipment sends the stage of campaign item information to master control equipment every the 1st activity notification interval that has stored; Receive above-mentioned campaign item information with master control equipment, thereby confirm the stage of electric equipment state.
Described activity item information processing method comprises also whether the logical address that above-mentioned electric equipment is stored is that basic logical address is judged, and only just sends the stage of campaign item information when the logical address of above-mentioned storage is not basic logical address.
Described electric equipment is connected on the above-mentioned network, and transmits above-mentioned campaign item information when plugged.
Described activity item information processing method also comprises: described electric equipment is connected on the above-mentioned network, and when plugged, wait for according to the random time of in the time range of setting, selecting, then postpone to transmit the stage of above-mentioned campaign item information.
Described activity item information processing method also comprises: after postponing transfer phase, according to the number of times of setting above-mentioned campaign item information is sent to the stage of master control equipment in the 2nd activity notification interval of setting; With the stage of carrying out transmitting every the 1st activity notification interval campaign item information after the 2nd activity notification interval.
Described activity item information processing method also comprises: described master control equipment transmits the stage that solicited message is set at the activity notification interval to electric equipment, and the activity notification interval that this information comprises is different from the 1st activity notification spacing value in being stored in electric equipment; The 1st activity notification interval that electric equipment will store changes over new activity notification interval and the stage that stores; Transmit the stage that the ACK response message is set at the activity notification interval with electric equipment to master control equipment.
Described activity item information processing method also comprises: described master control equipment demonstrates the stage of confirmed electric equipment state by display unit.
The program storage media that stores computer readable program provided by the invention, in the domestic network system that is comprised of the master control equipment that is connected with electric equipment by the network that uses certain communication protocol and more than one electric equipment, described program comprises: electric equipment sends the stage of campaign item information to master control equipment every the 1st activity notification interval that has stored; Receive campaign item information with master control equipment, and confirm the stage of electric equipment state.
Described program also comprises: whether the logical address that electric equipment is stored is that basic logical address is judged, and only just sends the stage of campaign item information when the logical address that stores is not basic logical address.
Described electric equipment is connected on the above-mentioned network, and transmits when plugged the stage of above-mentioned campaign item information.
Described program also comprises: described electric equipment is connected to above-mentioned network, and waits for according to the random time of selecting in the time range of setting when plugged, then postpones to transmit the stage of above-mentioned campaign item information.
Described program also comprises: after postponing transfer phase, according to the number of times of setting above-mentioned campaign item information is sent to the stage of master control equipment in the 2nd activity notification interval of setting; With the stage of carrying out transmitting every the 1st activity notification interval campaign item information after the 2nd activity notification interval.
Described program also comprises: described master control equipment transmits the stage that solicited message is set at the activity notification interval to electric equipment, and the activity notification interval that this information comprises is different from the 1st activity notification spacing value in being stored in electric equipment; The 1st activity notification interval that electric equipment will store changes over new activity notification interval and the stage that stores; Transmit the stage that the ACK response message is set at the activity notification interval with electric equipment to master control equipment.
Described program also comprises: described master control equipment demonstrates the stage of confirmed electric equipment state by display unit.
Domestic network system provided by the invention and activity item information processing method and program storage media have used the control protocol of communicating by letter specification and can control and monitor this intrasystem electric equipment with standard, and, this system has adopted the living network control protocol of regulation, and can obtain the current state information of all devices in the domestic network system, the information content on the network can be controlled simultaneously, thereby the information of all devices can be more effectively obtained. In addition, household electric appliance network system of the present invention can also change according to network state the transmission cycle of project information, thereby can improve the service efficiency of network.
Description of drawings
Below in conjunction with the drawings and specific embodiments domestic network system provided by the invention and activity item information processing method and program storage media are elaborated.
Fig. 1 is domestic network system pie graph provided by the invention.
Fig. 2 is living network control protocol stack composition diagram provided by the invention.
Fig. 3 a, Fig. 3 b are the interface composition diagram between each layer in the living network control protocol stack provided by the invention.
Fig. 4 a to Fig. 4 f is the detailed composition diagram in interface between each layer in the living network control protocol stack provided by the invention.
Fig. 5 a to Fig. 5 b is address system schematic diagram in the domestic network system provided by the invention.
Fig. 6 is that network manager and the electric equipment among the present invention shares the electrical installation structural representation.
Fig. 7 is activity item information processing method the 1st embodiment flow chart of domestic network system provided by the invention.
Fig. 8 is that the home network document one among Fig. 7 is implemented illustration.
Fig. 9 is activity item information processing method the 2nd embodiment flow chart of domestic network system provided by the invention.
Accompanying drawing critical piece label:
1: domestic network system 2: internet
3:LnCP server 4: client device
10: home gateway 20~23: network manager
30,31:LnCP router four 0~49: electric equipment
The specific embodiment
Fig. 1 is domestic network system pie graph provided by the invention. As shown in Figure 1, domestic network system 1 provided by the invention connects LnCP server 3 by Internet 2, and client device 4 then connects LnCP server 3 by Internet 2. That is, domestic network system 1 can communicate with LnCP server 3 and/or client device 4. Comprise that the network of domestic network system 1 outside of Internet 2 can add according to the kind of client device 4 other accessory. That is, when client device 4 was computer, Internet 2 need to possess the not shown webserver; And when client device 4 was the networking telephone, it need to possess not shown wireless application protocol server. LnCP server 3 can be connected with domestic network system 1 and client device 4 respectively by logging program according to the rules, then receive from client device 4 and monitor and control commands, and send this information to domestic network system 1 by Internet 2 after being converted into the form of regulation. And LnCP server 3 can receive the information with prescribed form from domestic network system 1, and can preserve or send it to client device 4. In addition, the information that LnCP server 3 also can be preserved self or generate sends domestic network system 1 to, that is, domestic network system 1 can be downloaded the content that provides from the LnCP server 3 that connects. Domestic network system 1 comprises: be used for to connect Internet 2 home gateway 10, to several electric equipments 40~49 carry out environment set and carry out management function several network managers 20~23, connect the LnCP router three 0 of transmission medium, 31 and/or LnCP connector 35,36 and several electric equipments 40~49. The network of domestic network system 1 inside is comprised of the transmission medium that the electric equipment 40~49 that connects and these equipment share. This transmission medium utilization perhaps utilizes the standard transfer mediums such as power line or IEEE802.11 as the non-standard transfer medium of the datalink layer connections such as RS-485 or low power RF. The network of this domestic network system 1 inside is made of the network that is separated from each other with Internet 2, namely consists of the independent network that utilizes wired or wireless transfer medium to connect and form. Here, described independence network comprises the network that physically connects and separate in logic. This domestic network system 1 comprises the running that can control other electric equipment 40~49 or to its master control equipment that monitors with have the request function that can respond master control equipment and a slave of notice oneself state change information. Master control equipment comprises network manager 20~23, and slave comprises electric equipment 40~49. But, information and the control routine of the electric equipment 40~49 that network manager 20~23 internal memories will be controlled to some extent, can utilize thus the sequencing mode that it is controlled, perhaps receive the instruction of LnCP server 3 and/or client device 4 inputs and it is controlled. In addition, as shown in Figure 1, after having connected several network managers 20~23, for the network manager 20~23 with other carries out information exchange or information sharing and mutually controls, some network manager 20~23 must also have the effect of slave in as master control equipment, be its to be actually a kind of be an equipment physically, but logically carry out simultaneously the mixing apparatus of master control equipment and slave function. In addition, network manager 20~23 and electric equipment 40~49 can be connected into network in succession by the power line network shown in the figure, RS-485 network or RF direct network, also can connect by LnCP router three 0,31 and/or LnCP connector 35,36. And, electric equipment 40~49, LnCP router three 0,31 and/or LnCP connector 35,36 all sign in on the network manager 20~23, and have been endowed respectively unique logical address (for example, 0x00,0x01), and this logical address and product code (for example, air-conditioner is ' 0x02 ', and washing machine is ' 0x01 ') can be combined into node address as the sign of equipment. The address system of relevant LnCP will describe afterwards.
Fig. 2 is living network control protocol stack composition diagram provided by the invention. Domestic network system 1 provided by the invention can communicate at network manager 20~23, LnCP router three 0,31, LnCP connector 35,36 and 40~49 of electric equipments according to the living network control protocol among Fig. 2 (LnCP). Thus, network manager 20~23, LnCP router three 0,31, LnCP connector 35,36 and electric equipment 40~49 can carry out network service according to described LnCP. As shown in Figure 2, LnCP carries out network manager 20~23, LnCP router three 0,31, the LnCP connector 35,36 and the inherent function of electric equipment 40~49, it comprise can provide in order to carry out operated from a distance and supervision at network and application layer 60 between the application software 50 of interface function; Can provide service to the user, the information that the user can be provided or order are converted to information and send the application layer 60 of lower floor to; The Internet 70 of the higher network connection of reliability is provided for network manager 20~23, LnCP router three 0,31, LnCP connector 35,36 and electric equipment 40~49; The datalink layer connection 80 of the control function that connects the common transmitted media can be provided; Can provide between network manager 20~23, LnCP router three 0,31, LnCP connector 35,36 and the electric equipment 40~49 physical interface that connects and with normalized Physical layer 90 that will transmit; And can set the node parameter that uses in Physical layer 90 and other each layer, and the parameter management layer 100 that manages. Specifically, described application software 50 also comprises having node parameter and to being connected to network manager 20~23, the LnCP router three 0 on the network, 31, LnCP connector 35,36 and electric equipment 40~49 manage the network management subsidiary layer 51 of function. That is, described network management subsidiary layer 51 has can carry out the management function setting the node variable value or change node variable and construct network when the equipment that uses LnCP during as master control equipment and reaches its Network Management Function that manages. And, at network manager 20~23, LnCP router three 0,31, the LnCP connector 35,36 and electric equipment 40~49 (for example utilize power line and the dependent type media such as IEEE 802.111 and wireless, when LnCP comprises power line communication PLC agreement and/or wireless protocols) when consisting of network, Internet 70 also comprises the home code control subsidiary layer 71 of can actuating logic distinguishing the functions such as home code setting, management and processing of each particular network. Described home code control subsidiary layer 71 will be not included among the LnCP when thereby self transmission medium formation networks such as using RS-485 is different from other particular network physically. Described home code is to be made of the value that 4 byte arbitrary values or user set.
Fig. 3 a, Fig. 3 b are the interface composition diagram between each layer in the living network control protocol stack provided by the invention. Fig. 3 a represents the interface between each layer when Physical layer 90 is connected on the dependent type transmission medium, the interface when Fig. 3 b represents then that Physical layer 90 is connected on the self transmission medium between each layer. Domestic network system 1 can add the title of each place layer requirement and ending information and send lower floor to the protocol Data Unit that receives from the upper strata (PDU). Shown in Fig. 3 a, Fig. 3 b, APDU (application layer PDU) is the data of transmitting between application layer 60 and Internet 70, NPDU (Internet PDU) is the data of transmitting between Internet 70 and datalink layer connection 80 or home code control subsidiary layer 71, HCNPDU (the home code control PDU of lower floor) is the data of transmitting between Internet 70 (more precisely home code control subsidiary layer 71) and datalink layer connection 80, then forms the interface between datalink layer connection 80 and the Physical layer 90 take Frame as unit.
Fig. 4 a to Fig. 4 f is the detailed composition diagram in interface between each layer in the living network control protocol stack provided by the invention. Wherein, Fig. 4 a is the APDU structure in the application layer. Wherein, the AL field is the field of expression APDU length (length from AL to the information field), and its minimum of a value is 4, and maximum is 77. The AHL field is the field of expression APDU length for heading (length from AL to ALO), and it is 3 bytes when not expanding, and can expand to 7 bytes. In LnCP, for secretization of information and the change of application protocol etc., the APDU length for heading can be expanded to 7 bytes. ALO (application layer choosing top) field is the field of expression packets of information expansion, when for example being set as ' 0 ', can ignore information field containing in the situation of other value. Information field is to process user's control information or the field of event information, and according to the value that the ALO field comprises, its composition is different. Fig. 4 b is the NPDU structure in the Internet 70. Fig. 4 c is the NLC detailed construction among the NPDU. Wherein, the field that SLP begins for the expression packets of information, it has the 0x02 value. DA and sa field consist of by 16 respectively for the packets of information recipient that will transmit and sender's logical address field. Here, 1 mark for the expression group address of highest order, the kind (product code) of 7 bit representation products thereafter, last 8 is the logical address of distinguishing several identical network managers 20~23 and electric equipment 40~49. The PL field is the field of the expression whole length of NPDU that will transmit, and its minimum of a value is 12 bytes, and maximum can reach 100 bytes. The SP field is the field of the information that will transmit being given the transmission order, and it consists of by 3, and the priority of various information is referring to table 2. When slave responded according to the request of master control equipment, it will be according to the priority of the solicited message that receives from master control equipment. The NHL field is 9 bytes when not expanding for being used for the field of NPDU title (from SLP to the NLC field) expansion, and maximum can expand to 16 bytes. PV
Table 2
Priority Value Application layer
High   0 -when sending emergence message.
In   1 -when sending general information.-when sending the event information of on line state or off-line state variation.
Standard   2 -send when constructing the information of network.-when sending the common event information.
Low   3 -carry out data when transmitting according to downloading or upload principle.
Field is 1 byte field of expression employing version, and upper 4 is version field, and the next 4 is the subedition field, and version and subedition represent with 16 systems respectively. The NPT field is to distinguish 4 bit fields of information bag type in Internet, LnCP comprises request packet, response message bag and announcement information bag, the NPT field of master control equipment need to be set as request packet or announcement information bag, and the NPT field of slave then needs to be set as response message bag or announcement information bag. The NPT value of packet kind is as shown in table 3.
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.
When the TC field fails successfully to send request packet or response message bag for communication failure occurs in Internet, for re-send request may packets of information or 2 bit fields that repeatedly send for the transmission efficiency that improves the announcement information bag. The recipient can utilize the TC field value to detect duplicate message. The scope of the TC field value after the NPT value is as shown in 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
The PN field is for by 2 information Bale No. fields that consist of, in slave its with the TC field for detection of the duplicate message bag, and in master control equipment for the treatment of several communication cycles. The scope of the PN field after the NPT value is as shown in table 5.
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 application layer protocol data cell of transmitting between application layer 60 and the Internet 70, and its minimum of a value is 0 byte, and maximum is 88 bytes. Crc field is 16 bit fields of the mistake in the packets of information (from SLP to APDU) that receives being carried out redundant check. The ELP field is the field of expression packets of information ending, and it has the 0x03 value. If do not detect the ELP field after receiving the data by packet length information field defined length, then be considered as the packets of information mistake. Fig. 4 d is the HCNPDU structure in the home code control subsidiary layer 71. Shown in Fig. 4 d, also comprise home code (HC) field on the upper bit position of NPDU. Described home code field is comprised of 4 bytes, and has unique value at circuit that can the transmission of information bag. Fig. 4 e is the frame structure of datalink layer connection 80. The title of frame and ending be different according to transmission medium in the LnCP datalink layer connection, and when datalink layer connection 80 used non-standard transmission medium, the title of frame and ending were null field. And when the Application standard transmission medium, then stipulate according to agreement. The NPDU field is the data cell that upper Internet 70 transmits, and the 4 byte home codes that use during the dependent transmission mediums such as HCNPDU to be Physical layer 90 use power lines or IEEE 802.111 add the anterior data cell that forms of NPDU. The processing of 80 couples of NPDU of datalink layer connection and HCNPDU is not distinguished. Fig. 4 f is the frame structure of Physical layer 90. The Physical layer 90 of LnCP has the function of transmitting-receiving transmission medium physical signalling, and it can use the non-standard transmission mediums such as RS-485 or low power RF. In the domestic network system 1 that uses LnCP, for making network manager 20~23 and electric equipment 40~49 and RS-485 or LnCP router three 0,31 or LnCP connector 35,36 form the interface, can utilize the signal level of UART (universal asynchronous receiver and transmitter) frame structure and RS-232. Can be in communication line when UART utilizes serial bus to connect between equipment the flowing of control bit signal. Shown in Fig. 4 f, in LnCP, the UART frame unit that the packets of information that the upper strata can be sent becomes 10 sizes passes to transmission medium. The UART frame is made of 1 start bit, 8 data bit and 1 position of rest, but does not use check bit. The UART frame begins to transmit from start bit, transmits at last position of rest. In the domestic network system 1 that uses LnCP, do not use additional frame title and End of Frame when utilizing UART.
Fig. 5 a to Fig. 5 b is address system schematic diagram in the domestic network system provided by the invention. Fig. 5 a is the address field structure chart that domestic network system provided by the invention uses. Shown in Fig. 5 a, product code has unique value, and it is used for the basic function of identification product. The value of this field is set when product export, thereby is unmodifiable physical address, and same product has identical fixed address. Device code is a kind of logical address, and it is used for differentiating each equipment with identical product code. Group address is to set and corresponding to the logical address of an above equipment according to certain benchmark.
Fig. 5 b is the address field detailed structure view of Fig. 5 a. Shown in Fig. 5 b, the highest order MSB of fixed address field is defined as marker bit, and its value is " 0 " interval scale device code, and is that " 1 " Shi Ze represents group codes. Just can tell device code and group codes by the MSB value that arranges respectively in the whole address field. In addition, the position of all in each subsidiary field all is set at 1 o'clock and represents the group address. Such as, when the product code of refrigerator was 0x01,0x01FF represented the group address of each refrigerator, 0x81XX (X represents arbitrary value here) then represents to have the group address of all refrigerators of same group codes. When each slave is connected on the domestic network system 1 by master control equipment automatic setting the said equipment code. Here, although group codes also can by the master control equipment automatic setting, directly be set it because technical reason needs the user in a lot of situations. For example, having the node address of 0x0200 (air-conditioning 1) and 0x0201 (air-conditioning 2) can be by electric equipment 40~49, LnCP router three 0,31 and/or 35,36 identifications of LnCP network connector. In addition, can also use the group address that arranges according to specific standard (setting position of product of the same race, product, user etc.), can the more than one electric equipment 40~49 of one-off recognition when using group address, LnCP router three 0,31 and/or LnCP network connector 35,36. In this group address, this dominant group address was for specifying the group address of a plurality of customer equipments when dominant group address was set as " 1 " with address choice value (hereinafter referred to as mark). The group address of acquiescence all is made as " 1 " with all byte values of logical address and/or product code, and then can specify a plurality of customer equipments. Here, special needs to be pointed out is usually defined group address is called group's code.
Such as, product code is 0bXXXX XXXX, and logical address is 0bYYYY YYYY, and group codes is 0bZZZZ ZZZZ, and then equipment is recognized into the address of 8 kinds.
(1) address of all devices is specified and is comprised of 0b1,111 1,111 1,111 1111 or 0b0,111 1,111 1,111 1111 (0xFFFF or 0x7FFF);
(2) address of product code is specified and is comprised of 0b1XXX XXXX 1,111 1111 or 0b0XXX XXXX 1,111 1111;
(3) address of group codes is specified and is comprised of 0b1,111 1111 ZZZZ ZZZZ;
(4) address of logical address is specified and is comprised of 0b0,111 1111 YYYY YYYY;
(5) address of product code and logical address is specified and is comprised of 0b0XXX XXXX YYYY YYYY;
(6) address of product code and group codes is specified and is comprised of 0b1XXX XXXX ZZZZ ZZZZ.
The node address that is comprised of product code and basic logical address just is stored in respectively in the specific storage parts of master control equipment and slave when product export.
Fig. 6 is that network manager and the electric equipment among the present invention shares the electrical installation structural representation. As shown in Figure 6, the shared electrical installation of network manager 20~23 (hereinafter referred to as making master control equipment) and electric equipment 40~49 (below be called slave) is comprised of the interface unit 210, reservoir part 220 and the control assembly 230 that are used for interconnection network. Control device 230 can control interface parts 210 and reservoir part 220, and can set unique node address to new equipment (new appliance equipment or new network manager). In more detail, the reservoir part 220 of master control equipment can store information and the product category address information of other master control equipment and slave related products. Comprise that above-mentioned all documents that are connected to product information on the network (product information and the node address information set or do not set etc.) are called the home network document. This home network document is stored on the reservoir part 220, and can read or registration updating by control assembly 230. The reservoir part 220 of slave stores product code and the basic logical address of oneself at least. This reservoir part 220 also will store the logical address of interim logical address and master control equipment setting etc. Master control equipment can also comprise not shown display unit, and display unit comprises input unit and interface device. Input unit is used for the user and inputs some signal. Interface device can will be shown to the user to all or a part of electric equipment 40~49 in the domestic network system and/or network manager 20~23 with the form of icon according to the home network document. Although be that control assembly 230 with master control equipment or slave specifically operates, for the convenience on illustrating, following explanation all is to be called by master control equipment or slave specifically to operate.
Fig. 7 is activity item information processing method the 1st embodiment flow chart of domestic network system provided by the invention. A plurality of information shown in the below not only comprise the APDU information among Fig. 4 a, also comprise da field and sa field among Fig. 4 b, and it is the general name that transmits data between each equipment. In more detail, in the stage, slave is connected on the domestic network system 1, and plugged at S51. At S52 in the stage, whether slave is that basic logical address is judged to the logical address that is stored in the reservoir part 220, if the logical address that has stored is basic logical address, show that then the slave First Contact Connections is on domestic network system 1, or slave is in the state that does not log at domestic network system 1 (or master control equipment), therefore, the state confirmation process finishes (process that this slave need to carry out being set by master control equipment node address) at this point. If the logical address that has stored is not basic logical address, then carry out the S53 stage. At S53 in the stage, slave (is preferably selected random time in 0~5000ms), is delayed sending after the campaign item information that allowing needs to transmit is waited for above-mentioned random time from the regular hour scope. When connecting a plurality of equipment simultaneously on the domestic network system 1, if these equipment send the project action message simultaneously, then the traffic of network will sharply increase, and therefore makes each equipment select to wait for accordingly the traffic that just can control network behind the random time. In stage, the activity notification interval of slave in being stored in reservoir part 220 just generates campaign item information, then passes to master control equipment at S54. Here, activity notification is spaced apart 5~65565 seconds values in the scope, and it can be different according to each slave. Described activity notification interval is to be advisable in the read-only storage area that is stored in reservoir part 220. The content of campaign item information is as shown in table 6.
Table 6
Data name Explanation Size Value
  CommCode Command code 1 byte   0x11
  EventCode Item code 2 bytes   0xFF70
    StatusVal Product working status 1 byte 0: waiting for 1: working 2: suspend 3~255: undefined
  ErrorStatus Error condition 1 byte 0: normal condition 1: error condition
3~255: undefined
  AliveInt The transmission interval of campaign item information 2 bytes 5~65565 seconds
Here, command code represents that campaign item information is announcement information. The information of item code indication equipment active state. The product working status value means equipment work at present state. The current state of error condition indication equipment is error condition or normal condition. The activity notification interval is also included within this campaign item information, is used in following activity notification interval in the setting stage. In stage, master control equipment receives after this campaign item information and with it and is stored in the reservoir part 220 at S55. Here, the master control equipment utilization is included in the information updating home network documents such as equipment current state in this campaign item information. In stage, master control equipment demonstrates the current active state that is connected to each device in this system by domestic network system, so that the user grasps relevant information at S56. Repeatedly carry out the S54 stage to the S56 stage, until the power-off of slave or end network connection. Slave can also carry out such as the next stage after the S53 stage,, sends campaign item information every the activity notification interval different from above-mentioned activity notification interval according to certain number of times that is. Activity notification interval in this stage is less than or equal to above-mentioned activity notification interval, and its size is 5 seconds, and number of times is 2 times. Such as, in the stage, slave can send 2 campaign item information every 5 seconds after waiting for certain random time, then carry out the S54 stage at S53.
Fig. 8 is that the home network document one among Fig. 7 is implemented illustration. As shown in Figure 8, in master control equipment and slave, master control equipment, washing machine, refrigerator and TV all are in just in working order, and micro-wave oven is in wait state, and dish-washing machine then is in halted state. This home network document can be by certain display unit, and demonstrates foregoing with certain user interface (such as the icon form) to the user.
Fig. 9 is activity item information processing method the 2nd embodiment flow chart of domestic network system provided by the invention. As shown in Figure 9, at S71 in the stage, master control equipment can transmit activity notification interval setting solicited message to specific slave according to the overall data amount of domestic network system 1 or the data volume of master control equipment oneself, and request changes over certain value with above-mentioned activity notification interval. Can there be following two kinds in the mode that this request redirection activity reporting interval is set solicited message. That is, compare with the current active reporting interval in the slave reservoir part 220, utterly (such as, current active reporting interval+10 second) or relatively (such as (1+0.05) of current active reporting interval doubly) change. In stage, the slave that receives this activity notification interval setting solicited message can change to the activity notification interval that has stored new activity notification interval at S72. In stage, slave can transmit the activity notification interval to master control equipment and set the ACK response message at S73, finishes to notify new activity notification interval to set. This concrete grammar can be compiled to software, and is stored in the reservoir part of the interior master control equipment of domestic network system and/or slave, is then carried out.

Claims (29)

1, a kind of domestic network system is characterized in that: described domestic network system comprises electric equipment and master control equipment; Described electric equipment can be by sending campaign item information to master control equipment according to the network of certain communication protocol and the 1st activity notification interval that has stored; Master control equipment can receive above-mentioned campaign item information, thereby confirms the state of electric equipment.
2, domestic network system according to claim 1, it is characterized in that: whether described electric equipment can be that basic logical address is judged to the logical address that has stored, and is not just to send campaign item information to master control equipment in the situation of basic logical address in the logical address of above-mentioned storage.
3, domestic network system according to claim 2 is characterized in that: the described logical address that has stored is the logical address that master control equipment is distributed to electric equipment.
4, domestic network system according to claim 1 is characterized in that: described electric equipment is connected on the above-mentioned network, and transmits above-mentioned campaign item information when plugged.
5, domestic network system according to claim 1, it is characterized in that: described electric equipment is connected on the above-mentioned network, and when plugged, wait for according to the random time of in the certain hour scope, selecting, then transmit above-mentioned campaign item information.
6, domestic network system according to claim 5 is characterized in that: described time range is 0~5000ms.
7, domestic network system according to claim 5, it is characterized in that: after described electric equipment is waited for the above-mentioned time, send above-mentioned campaign item information to master control equipment according to the 2nd activity notification interval and the number of times set, then send above-mentioned campaign item information by the 1st activity notification interval.
8, domestic network system according to claim 7 is characterized in that: described the 1st activity notification interval is more than or equal to the 2nd activity notification interval.
9, domestic network system according to claim 1 and 2, it is characterized in that: described master control equipment can transmit the activity notification interval to above-mentioned electric equipment and set solicited message, described activity notification interval is set solicited message and is comprised new activity notification interval, new activity notification spacing value is different from the 1st activity notification interval that is stored in the above-mentioned electric equipment, the 1st activity notification interval that above-mentioned electric equipment will store changes over new activity notification interval, then store, and send activity notification interval setting ACK response message to master control equipment.
10, domestic network system according to claim 9 is characterized in that: described electric equipment is stored in above-mentioned new activity notification interval in the read-only storage area.
11, domestic network system according to claim 1 is characterized in that: described master control equipment shows the electric equipment state of above-mentioned affirmation by display.
12, domestic network system according to claim 1 is characterized in that: described campaign item information comprises item code and state value at least.
13, domestic network system according to claim 12 is characterized in that: described state value demonstrates at least to be waited for or is working or suspend some in the content.
14, according to claim 1 or 12 described domestic network systems, it is characterized in that: described campaign item information also comprises error status value.
15, according to claim 1 or 12 described domestic network systems, it is characterized in that: described campaign item information comprises the 1st activity notification interval.
16, a kind of activity item information processing method of domestic network system, described domestic network system comprise master control equipment and the more than one electric equipment that is connected with electric equipment by the network that uses certain communication protocol; It is characterized in that: the activity item information processing method of described domestic network system comprises: described electric equipment sends the stage of campaign item information to master control equipment every the 1st activity notification interval that has stored; Receive above-mentioned campaign item information with master control equipment, thereby confirm the stage of electric equipment state.
17, the activity item information processing method of domestic network system according to claim 16, it is characterized in that: described activity item information processing method comprises also whether the logical address that above-mentioned electric equipment is stored is that basic logical address is judged, and only just sends the stage of campaign item information when the logical address of above-mentioned storage is not basic logical address.
18, the activity item information processing method of domestic network system according to claim 16 is characterized in that: described electric equipment is connected on the above-mentioned network, and transmits above-mentioned campaign item information when plugged.
19, the activity item information processing method of domestic network system according to claim 18, it is characterized in that: described activity item information processing method also comprises: described electric equipment is connected on the above-mentioned network, and when plugged, wait for according to the random time of in the time range of setting, selecting, then postpone to transmit the stage of above-mentioned campaign item information.
20, the activity item information processing method of domestic network system according to claim 19, it is characterized in that: described activity item information processing method also comprises: after postponing transfer phase, according to the number of times of setting above-mentioned campaign item information is sent to the stage of master control equipment in the 2nd activity notification interval of setting; With the stage of carrying out transmitting every the 1st activity notification interval campaign item information after the 2nd activity notification interval.
21, according to claim 16 or the activity item information processing method of 17 described domestic network systems, it is characterized in that: described activity item information processing method also comprises: described master control equipment transmits the stage that solicited message is set at the activity notification interval to electric equipment, and the activity notification interval that this information comprises is different from the 1st activity notification spacing value in being stored in electric equipment; The 1st activity notification interval that electric equipment will store changes over new activity notification interval and the stage that stores; Transmit the stage that the ACK response message is set at the activity notification interval with electric equipment to master control equipment.
22, the activity item information processing method of domestic network system according to claim 16 is characterized in that: described activity item information processing method also comprises: described master control equipment demonstrates the stage of confirmed electric equipment state by display unit.
23, a kind of program storage media that stores computer readable program, it is characterized in that: in the domestic network system that is comprised of the master control equipment that is connected with electric equipment by the network that uses certain communication protocol and more than one electric equipment, described program comprises: electric equipment sends the stage of campaign item information to master control equipment every the 1st activity notification interval that has stored; Receive campaign item information with master control equipment, and confirm the stage of electric equipment state.
24, the program storage media that stores computer readable program according to claim 23, it is characterized in that: described program also comprises: whether the logical address that electric equipment is stored is that basic logical address is judged, and only just sends the stage of campaign item information when the logical address that stores is not basic logical address.
25, the program storage media that stores computer readable program according to claim 23, it is characterized in that: described electric equipment is connected on the above-mentioned network, and transmits when plugged the stage of above-mentioned campaign item information.
26, the program storage media that stores computer readable program according to claim 25, it is characterized in that: described program also comprises: described electric equipment is connected to above-mentioned network, and when plugged, wait for according to the random time of in the time range of setting, selecting, then postpone to transmit the stage of above-mentioned campaign item information.
27, the program storage media that stores computer readable program according to claim 26, it is characterized in that: described program also comprises: after postponing transfer phase, according to the number of times of setting above-mentioned campaign item information is sent to the stage of master control equipment in the 2nd activity notification interval of setting; With the stage of carrying out transmitting every the 1st activity notification interval campaign item information after the 2nd activity notification interval.
28, according to claim 23 or the 24 described program storage medias that store computer readable program, it is characterized in that: described program also comprises: described master control equipment transmits the stage that solicited message is set at the activity notification interval to electric equipment, and the activity notification interval that this information comprises is different from the 1st activity notification spacing value in being stored in electric equipment; The 1st activity notification interval that electric equipment will store changes over new activity notification interval and the stage that stores; Transmit the stage that the ACK response message is set at the activity notification interval with electric equipment to master control equipment.
29, the program storage media that stores computer readable program according to claim 23, it is characterized in that: described program also comprises: described master control equipment demonstrates the stage of confirmed electric equipment state by display unit.
CNB200410072464XA 2004-10-27 2004-10-27 Household network system and activity item information processing method and program storage media Expired - Fee Related CN100534051C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200410072464XA CN100534051C (en) 2004-10-27 2004-10-27 Household network system and activity item information processing method and program storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200410072464XA CN100534051C (en) 2004-10-27 2004-10-27 Household network system and activity item information processing method and program storage media

Publications (2)

Publication Number Publication Date
CN1767477A true CN1767477A (en) 2006-05-03
CN100534051C CN100534051C (en) 2009-08-26

Family

ID=36743096

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200410072464XA Expired - Fee Related CN100534051C (en) 2004-10-27 2004-10-27 Household network system and activity item information processing method and program storage media

Country Status (1)

Country Link
CN (1) CN100534051C (en)

Also Published As

Publication number Publication date
CN100534051C (en) 2009-08-26

Similar Documents

Publication Publication Date Title
CN1799224B (en) Home network system
WO2006091040A1 (en) Layer structure of network control protocol and interface method
CN101375558A (en) Network device
WO2004107088A2 (en) Home network system
WO2004107092A2 (en) Home network system
KR100789497B1 (en) Address Management Method and message tranmitting and recieiving Method in network control system
CN101164285A (en) Packet structure and packet transmission method of network control protocol
CN1957559A (en) Home network system
CN1767477A (en) Household network system and activity item information processing method and program storage media
CN1767472A (en) Household network system
CN1938988A (en) Home network system
CN1956440A (en) Domestic network system
CN1767478A (en) Household network system and item information processing method and electrical appliance device
KR20060089854A (en) Living network control system
CN101164292A (en) Layer structure of network control protocol and interface method
CN1767464A (en) Household network system
CN1767459A (en) Household network system and its electrical appliance equipment
CN1767471A (en) Household network system
CN1767475A (en) Household network system and its movement precontract setting method and associated electrical appliance equipment
CN1767463A (en) Household network system
CN1767474A (en) Household network system and its address setting method and associated electrical appliance equipment
CN1747416A (en) Household network system
WO2006091039A1 (en) Network control protocol device and network connection method
CN1747414A (en) Household network system
CN1767473A (en) Household network system and its item informing method and 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090826

Termination date: 20171027