CN1242592C - Address changing method of household network system - Google Patents
Address changing method of household network system Download PDFInfo
- Publication number
- CN1242592C CN1242592C CN 02129133 CN02129133A CN1242592C CN 1242592 C CN1242592 C CN 1242592C CN 02129133 CN02129133 CN 02129133 CN 02129133 A CN02129133 A CN 02129133A CN 1242592 C CN1242592 C CN 1242592C
- Authority
- CN
- China
- Prior art keywords
- address
- network manager
- household appliances
- information
- changed
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present invention discloses an address changing method of a household network system, which comprises the steps that a plurality of household appliance products are switched on, and each of the household appliances sets a state according to a region initializing mark of a memory of the household appliance to confirm an address of the household appliance; after the address is confirmed, whether an address changing command is in an information packet input by a network manager is confirmed. If the address changing command is in the information packet input by the network manager, the household appliance product which obtains the address changing command generates an information response package, and transmits the information response package into the network manager, and moreover, the changed address is stored according to the changed command. When the household appliance product is connected to a network, the designated address of the household appliance product is stored in the memory, and a troublesome process for reassigning the address is avoided when a power supply is switched on/off. In addition, when the address is changed, whether the address is changed can be accurately confirmed, and the method can achieve the effect of accurate control of the household network system.
Description
Technical field
The present invention relates to home network system, the especially relevant method that the address of the household appliances in the home network system is changed.
Background technology
The automatic control of family expenses of energy far distance automatic controlling household electrical appliances has been common in the family now.The automatic control of the family expenses at initial stage just rests on the level of utilizing phone or infrared ray to control each household electrical appliances, each household appliances is not linked together.But utilize means of communication to set up network between the household appliances now, made the controller of Control Network again, carry out unified management.Such a home network system is most household appliances such as refrigerator, air-conditioning, microwave oven, washing machine, personal computer etc., connects by communication bus to have constituted home network system.
Aforesaid home network system is when the household electrical appliances product is connected network, distributes an address of giving own appointment.If institute's addresses distributed is lost when closing power supply, startup next time must distribute the address again from network manager, and accept after the order of change address, if the product of receiver address change changes the address at once, at this moment respond the address that the address that comprises in the order is changed, so network manager can cause the confusion in the identification when receiving it.
So there is following problem in the home network system address changing method of prior art:
1. there is not preserve to give the function of the address of own appointment, so the electric power on/off of product the time, the each loaded down with trivial details process that all must distribute through receiver address again.
2. when wanting to change the address in the middle of product uses, the change address needs the affirmation process of a more loaded down with trivial details address change.
3. the product of receiver address change changes the address at once, at this moment respond to order already that explicit address is changed, so network manager can cause the confusion in the identification when receiving it.
Summary of the invention
Technical problem to be solved by this invention provides a kind of when household appliances are connected network, can be kept at the address of giving own appointment on the mnemonic, so that the method that can promptly corresponding address electric power on/off or address change the time changes the household appliances in the home network system.
In order to solve the problems of the technologies described above, a kind of method that the address of the household appliances in the home network system is changed of the present invention may further comprise the steps:
With a plurality of household appliances energized, judge whether the memory area initialization tag that reads is set when closing power supply from mnemonic; If above-mentioned initialization tag is set, in the address storage area of appointment, read the address, if the address of reading is 0xff, execution in step b behind the execution initialization address, if the address of reading is not 0xff, execution in step b; Do not set if above-mentioned initialization tag, initializes memory is also set initialization tag and initialization address, then execution in step b;
B. judge whether if having, to judge whether the address change order is arranged in the packets of information from the packets of information of network manager input;
If c. in the packets of information of above-mentioned network manager input, the address change order is arranged, the household appliances that obtain this address change order generate the response message bag, and the response message bag is sent in the network manager, and be stored in the mnemonic according to the address of change order with change, judge again whether institute's address stored is correct,, finish the memory address operation if correct, if there is not the address change order in the packets of information, according to the command execution control operation of general information bag.
Described command execution control operation according to the general information bag is meant the ON/OFF instruction of network manager according to the household appliances power supply, execution control function.
According to the method that the address of the household appliances in the home network system is changed of the present invention, as long as household electrical appliances are connected in the network, just the address of appointment is kept on the memory, reassign the loaded down with trivial details process of address when having avoided electric power on/off, and the change that change also can be confirmed the address during address exactly whether, therefore, reached the effect of controlling home network system more accurately.
Description of drawings
Fig. 1 a is first's flow chart of the method that the address of the household appliances in the home network system is changed of the present invention.
Fig. 1 b is the second portion flow chart of the method that the address of the household appliances in the home network system is changed of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the method that the address of the household appliances in the home network system is changed of the present invention is described in further detail:
Shown in Fig. 1 a, 1b, the method that the address of the household appliances in the home network system is changed of the present invention is:
S11: from mnemonic, read memory area initialization tag (flag) when closing power supply;
S12: confirm whether the above-mentioned memory area initialization tag that reads is the state that has been provided with;
S13:,, read the address of oneself if above-mentioned initialization tag is that state is set according to judged result S12;
S14: whether what confirm above-mentioned address of reading is 0xff (to the call command of all over products);
S15:,, judge whether packets of information is imported from network manager if above-mentioned address of reading is not 0xff according to above-mentioned judged result S14; If the address of reading is 0xff, carry out initialization address;
S16: according to above-mentioned judged result S15, packets of information has been input in the above-mentioned network manager, judges whether the order of address change name has been input to packets of information;
S17: according to above-mentioned judged result S16, imported the address change order in the packets of information of importing from above-mentioned network manager, the household appliances of receiving the address change order can generate the response message bag and be sent in the network manager;
S18: then according to after the change order change address, in the mnemonic zone that also can remember when after changing address is stored in powered-down;
S19: judge then whether store exactly the address in the above-mentioned memory;
S20: according to above-mentioned judged result S19, confirm that the address is accurate in the above-mentioned memory, will finish the operation of memory address;
S21: wait for the arbitrarily affirmation order of network manager then to the address change order;
S22: then confirm whether to have passed through the first setting-up time T1;
S23: according to above-mentioned judged result S22, if passed through the first setting-up time T1, just whether judge from the order of network manager input validation;
S24: according to above-mentioned judged result S23,, then recover address in the past, enter above-mentioned stage S15 if from above-mentioned network manager, there is not the input validation order;
S25: meanwhile,,, just judge whether to have imported the affirmation order from network manager if not through the first setting-up time T1 according to above-mentioned judged result S22; According to judged result S25, confirm order if from above-mentioned network manager, imported, just turn back to the above-mentioned S15 stage;
S29: meanwhile,,, just carry out control action according to the order of general information bag if above-mentioned address change order is not imported according to judged result S16.;
S26:,, just memory is carried out initialization if above-mentioned initialization tag be not provided with state according to above-mentioned judged result S12;
S27: above-mentioned memory after the initialization, is provided with state to initialization tag;
S28: the address that above-mentioned initialization tag has set up or read is 0xff, at first carries out the initialization of address, enters the above-mentioned S15 stage then.
Because the address of reading is under the situation of 0xff, its reflection be call command to all over products, rather than the address that receives.
Because flow chart is oversize, the A among Fig. 1 a, the 1b, B refer to the junction of two figure.
In sum, to the method that change the address of the household appliances in the home network system, when connecting power supply, whether the memory area that affirmation will be used is initialised, confirm just not carry out initialization if be initialised after the memory area initialization tag.Then in the address storage area of appointment, read the address of oneself,, confirm to have or not packets of information through the network manager input if the address of reading is not 0 or 0xff.If comprising address change order in the packets of information that is input to from above-mentioned network manager, the household appliances that obtain this address change order can generate the response message bag, are sent in the network manager.And in the mnemonic zone that also can remember when storing powered-down into according to the address of address change order change, and store the mnemonic zone into and read the address of preserving in the above-mentioned memory later on again, thereby confirm whether exactly storage.
Claims (2)
1, a kind of method that the address of the household appliances in the home network system is changed is characterized in that said method comprising the steps of:
A. with a plurality of household appliances energized, judge whether the memory area initialization tag that reads is set when closing power supply from mnemonic; If above-mentioned initialization tag is set, in the address storage area of appointment, read the address, if the address of reading is 0xff, execution in step b behind the execution initialization address, if the address of reading is not 0xff, execution in step b; Do not set if above-mentioned initialization tag, initializes memory is also set initialization tag and initialization address, then execution in step b;
B. judge whether if having, to judge whether the address change order is arranged in the packets of information from the packets of information of network manager input;
If c. in the packets of information of above-mentioned network manager input, the address change order is arranged, the household appliances that obtain this address change order generate the response message bag, and the response message bag is sent in the network manager, and be stored in the mnemonic according to the address of change order with change, judge again whether institute's address stored is correct,, finish the memory address operation if correct, if there is not the address change order in the packets of information, according to the command execution control operation of general information bag.
2, the method that the address of the household appliances in the home network system is changed according to claim 1, it is characterized in that described command execution control operation according to the general information bag is meant: network manager is according to the ON/OFF instruction of household appliances power supply, execution control function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02129133 CN1242592C (en) | 2002-08-19 | 2002-08-19 | Address changing method of household network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02129133 CN1242592C (en) | 2002-08-19 | 2002-08-19 | Address changing method of household network system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1474555A CN1474555A (en) | 2004-02-11 |
CN1242592C true CN1242592C (en) | 2006-02-15 |
Family
ID=34144000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02129133 Expired - Fee Related CN1242592C (en) | 2002-08-19 | 2002-08-19 | Address changing method of household network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1242592C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100466568C (en) * | 2004-10-27 | 2009-03-04 | 乐金电子(天津)电器有限公司 | Household network system and its address setting method and associated electrical appliance equipment |
JP5103167B2 (en) * | 2007-12-28 | 2012-12-19 | アズビル株式会社 | Management address setting method and system for wireless device |
-
2002
- 2002-08-19 CN CN 02129133 patent/CN1242592C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1474555A (en) | 2004-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2357286C2 (en) | Smart card operating system and its use | |
CN102567063B (en) | Method and device for automatically installing software | |
US6335870B1 (en) | Inverter apparatus having a separate controlling application program for performing specification dependent control | |
CN1445962A (en) | Domestic electrical equipment network system and its control method | |
CN1242592C (en) | Address changing method of household network system | |
CN110427003A (en) | Robot control method and device and robot | |
CN109067734B (en) | Dynamic configuration method of communication protocol, wireless communication device and household appliance | |
CN1936842A (en) | Smant key device of external memory apparatus and using method | |
MX2007008874A (en) | A smart card operating system and method. | |
CN111061160A (en) | Storage medium, intelligent household control equipment and control method | |
CN1204493C (en) | Service binding system and method | |
CN111464405A (en) | Cloud controller | |
WO2020078085A1 (en) | Electric quantity distribution method and apparatus | |
CN1936843B (en) | Smart key device of internal memory apparatus and using method | |
CN114673819B (en) | Multi-valve self-adaption method, system and gas meter | |
CN106453368A (en) | Control method and apparatus of intelligent device | |
CN112311736A (en) | Remote control device, household appliance and communication protocol configuration method and device thereof | |
CN116578519A (en) | Communication method, device, equipment and medium | |
CN107562440B (en) | Eeprom version updating method and device | |
CN115079579A (en) | Method and device for controlling intelligent voice equipment and intelligent voice equipment | |
CN108366120A (en) | A kind of internet-of-things terminal management method and device | |
CN105182826A (en) | Intelligent locker control system capable of multi-person simultaneous operation and control, and control method thereof | |
CN111065079B (en) | Local equipment binding method and system | |
US20080059266A1 (en) | Resource managing method and device for managing drivers | |
CN113314111A (en) | Lighting equipment control method and device, washing machine and mobile terminal |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060215 Termination date: 20120819 |