CN1525694A - An automatic resuming method for network - Google Patents

An automatic resuming method for network Download PDF

Info

Publication number
CN1525694A
CN1525694A CNA031052894A CN03105289A CN1525694A CN 1525694 A CN1525694 A CN 1525694A CN A031052894 A CNA031052894 A CN A031052894A CN 03105289 A CN03105289 A CN 03105289A CN 1525694 A CN1525694 A CN 1525694A
Authority
CN
China
Prior art keywords
equipment
master controller
network
running status
time
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
CNA031052894A
Other languages
Chinese (zh)
Other versions
CN100367725C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB031052894A priority Critical patent/CN100367725C/en
Publication of CN1525694A publication Critical patent/CN1525694A/en
Application granted granted Critical
Publication of CN100367725C publication Critical patent/CN100367725C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for network automatic restoration, which is realized in network running process; the network has at least a device related to time and which is controlled by centre controller. The method includes: 1) in the primary run of network, each device is registered to the centre controller through network; there sets and stores the relation between device and time on the centre controller; 2) when the network is reset because of abnormality, the centre controller carries on self-checking, after passes, it connected to the device which has been registered in the network; 3) to the home device relative to time in network, the centre controller sets the running state in current time according to current time and the relation of the running state of the device and time. The invention upgrades the intelligent performance of network, and it can avoid from electricity waste.

Description

The method that a kind of network recovers automatically
Technical field
The present invention relates to network management technology, particularly the automatic method of recovering of a kind of network after aborted.
Background technology
At present, the range of application of network enlarges gradually, and some network not only links to each other with information equipment, and has connected a plurality of and equipment time correlation, for example: home network.Home network is meant the local area network (LAN) that is arranged in home environment, and the information equipment of family, home appliance, safety means etc. all interconnect by home network, and the information equipment here mainly refers to computer and ancillary equipment, the network equipment etc.Home network is different from office network in many aspects: at first, use the object difference, the user of home network is the general population mostly, is unfamiliar with network technology, therefore to home network higher aspect ease for use and the durability than the requirement of office network; Secondly, when family's network breaks down, need have automatic processing or warning function, make things convenient for the user to dispose; At last, when running into home network after certain aborted, such as: outage, home network need have the function of automatic recovery configuring and communication thereof.
At present, more home network has adopted the network configuration of being controlled by a master controller.Referring to Fig. 1, the network configuration block diagram of Fig. 1 for controlling by a master controller.Wherein, master controller all links to each other with home network with equipment 1-equipment n, and ways of connecting can be that wired connection also can be wireless connections.Master controller can be equipment such as home gateway, home server, and it all comprises control unit, memory cell, timing unit, interface unit etc., is mainly used in the operation by all devices in the home network control home network.
In the prior art, diverse network is after aborted, usually just the information equipment in the network is returned to the state before interrupting, the method of its recovering information equipment state is: the computer and network state of storage is in advance returned to the content of all memories from additional storage, simultaneously network is also carried out associative operation and setting.Yet these methods but have tangible deficiency for home network, the reasons are as follows:
The first, the equipment on the home network is not only information equipment, and has comprised the electric equipment of numerous houses such as home appliance, and this method is not considered the recovery to these equipment.These house equipment recover according to the restore funcitons of himself in actual conditions, and for example: the state that electric light is in out before interruption, then the state of reverting to out, refrigerator power up the direct startup in back once more, air-conditioning is in holding state etc. after powering up once more.
Second, state before if other house electric equipments also revert to and interrupt, for home network still inadequately intelligence because the operation of some home appliances and time correlation, for example: electric light interrupts at night, state for opening before interrupting, in the middle of had no progeny daytime, the state that it still reverts to out is if nobody is closed, will one heading straight for, causing the waste of electricity consumption; Again for example: the air-conditioning that starts regularly, if air-conditioning is a running status in regularly before interrupting, in have no progeny and passed through the time of timing, at this moment air-conditioning is reverted to running status, obviously be inappropriate, can cause the waste of electricity consumption equally.
The 3rd, some equipment on the home network will return to certain state needs considerable time, and these features also are that information equipment does not possess, for example: refrigerator, if it is in holding state before interrupting, in have no progeny that it powers up again, move earlier and return to holding state again.
As seen, the network recovery method of prior art can not revert to home network the state that people need, and that is to say intelligence inadequately, and may bring the waste of electricity consumption.
Summary of the invention
In view of this, the method that the object of the present invention is to provide a kind of network to recover automatically can be after aborted, equipment in the network is returned to the state of current needs, improve the intelligent of network, reduce user intervention as far as possible, avoid the electricity consumption waste that may occur.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The method that a kind of network automatically recovers, by realizing that this method may further comprise the steps comprising at least in the network operation process with time correlation equipment of master controller control:
1) when the network initial launch, each equipment arrives master controller, the equipment UNICOM that master controller and all succeed in registration by network registry; And on master controller, be provided with and store in all equipment that succeed in registration and time correlation equipment running status and the relation between the time;
2) when network restarts because of aborted, after restarting, master controller carries out self check, and after self check was passed through, all were at the equipment of self registering in UNICOM's network;
3) in the network with the equipment of time correlation, master controller is provided with the running status of this equipment current time according to current time and this equipment running status and the time relation of self storing.
Described step 1) may further include: sequential-pattern chained list is set, preserves all and time correlation equipment running status and the corresponding relation between the time; Device registry is set, preserves UNICOM's state of all equipment of registering in the network.
The running status that the equipment current time is set described in the step 3) may further include: master controller is searched the running status that current time and time correlation equipment should be in sequential-pattern chained list, according to this running status, to sending the running status configuration information with time correlation equipment.
Described step 1) can further include: for sequential-pattern chained list is provided with the term of validity; The running status that the equipment current time is set described in the step 3) then may further include: whether before the deadline master controller judges sequential-pattern chained list, if, then according to the running status of sequential-pattern chained list setting with the time correlation equipment current time; Otherwise, master controller will and time correlation equipment running status and the correspondence setting between the time be: the current time, this equipment was in holding state, and the current running status of this equipment is set to holding state.
Step 2) described master controller carries out self check and can comprise: control unit, memory cell, timing unit, the interface unit of master controller self carried out operating state detect.
Described step 2) may further include: after self check is passed through, all send the register requirement of pre-determined number to master controller at the equipment of self registering on network simultaneously, the equipment that resumes operation is registered to master controller, if the unregistered success of this equipment in pre-determined number, then this equipment is can't UNICOM, otherwise this equipment UNICOM, master controller is inserted device registry with UNICOM's state of each equipment.
Described step 2) can further include: after self check is passed through, master controller is during according to the network initial launch, and the sequencing of facility registration sends register requirement to equipment one by one, if do not receive this facility information within the predetermined time, then this equipment is can't UNICOM; If this equipment succeeds in registration to master controller within the predetermined time, then this equipment is UNICOM, and master controller is inserted device registry with UNICOM's state of each equipment.
Described step 3) may further include: with the running status setting according to master controller of the equipment of time correlation, move this equipment, and return the current running status of this equipment to master controller.。
Described step 3) may further include: with the running status setting according to master controller of the equipment of time correlation, move this equipment, and return the current running status of this equipment to master controller.
In addition, this method may further include: after network powers up again because of aborted, and the process that the record network recovers automatically.Can comprise: each the time point of wrong equipment operation, UNICOM's state of this equipment, the current running status that running status and this equipment are set of this equipment occur and is recorded in the equipment operation record sheet with recovery process, and the error message that provides in recovery process of records center controller.
By technical scheme of the present invention as seen, the method that this network of the present invention recovers automatically, master controller is according in advance to the setting and the storage of the running status and the relevant information of the network equipment, due running status of restorer current time, realized after aborted, the equipment in the network has been returned to the state of current needs, improved the intelligent of network, reduced user intervention, and the electricity consumption that can avoid occurring is wasted.
Description of drawings
The network configuration block diagram of Fig. 1 for controlling by a master controller;
Fig. 2 is the flow chart of the automatic restore procedure of a preferred embodiment of the present invention;
Fig. 3 is the structural representation of middle sequential embodiment illustrated in fig. 2-pattern chained list;
Fig. 4 is the structural representation of middle equipment operation record sheet embodiment illustrated in fig. 2;
Fig. 5 is the flow chart of middle UNICOM embodiment illustrated in fig. 2 home network device;
Fig. 6 is the flow chart that recovers in embodiment illustrated in fig. 2 in the home network with the equipment of time correlation;
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The method that network of the present invention recovers automatically, be by realizing comprising at least in the network operation process with time correlation equipment of master controller control, below with have master controller control comprise a plurality of and the home network time correlation housed device is that example describes.
This method may further comprise the steps in the application of home network:
1) when the home network initial launch, all devices is registered to master controller, with all devices and master controller UNICOM by home network; And all and time correlation equipment running status and time relation are set in master controller.
2) after family's network powers up startup again because of aborted, when recovering automatically, its implementation procedure is referring to Fig. 2, and Fig. 2 is the flow chart of the automatic restore procedure of a preferred embodiment of the present invention.Automatic restore procedure is:
Step 201, master controller are recovered to power up.
Step 202, master controller carries out self check, comprises that control unit, memory cell, timing unit, the interface unit to master controller self carries out state-detection, detects the running status by rehabilitation center's controller.
Step 203 sends register requirement by master controller all devices in home network, recovers all and registers UNICOM's state between equipment and the master controller.
Step 204, in the home network with the equipment of time correlation, master controller is provided with the running status of this equipment current time according to current time and this equipment running status and time relation.
Step 205, after home network powers up again because of aborted, the process that the record home network recovers automatically, comprise: each the time point of wrong equipment operation, UNICOM's state of this equipment, the current running status that running status and this equipment are set of this equipment occur and is recorded in the equipment operation record sheet with recovery process, and the error message that provides in recovery process of records center controller.
In general, the attribute of the equipment under home network environment and number can abrupt change, keep relative stability, therefore, present embodiment uses device registry to preserve UNICOM's state of the equipment that all were registered in the home network, and with the unique physical label of equipment and the logical name of equipment, just user-defined names associate.Use sequential-pattern chained list to preserve all and time correlation equipment running status and time relation.Use the equipment operation record sheet to come regularly to login the operation conditions of equipment on the home network.Master controller can leave device registry, sequential-pattern link form and equipment operation record sheet in hard disk or the nonvolatile memory in.
Wherein, the structure of device registry is referring to table one, and table one is a home network device registration table example.
Equipment The equipment physical label The apparatus logic title Equipment UNICOM state
Electric light 1 ??L100589210001 Living room ceiling lamp UNICOM
Electric light 2 ??L100589210002 The bedroom wall lamp UNICOM
Refrigerator ??R100745950001 The parlor refrigerator-freezer Can't UNICOM
Refrigerator ??R100745950002 Kitchen refrigerator UNICOM
Table one
The structure of sequential-pattern chained list is referring to Fig. 3, and Fig. 3 is the structural representation of middle sequential embodiment illustrated in fig. 2-pattern chained list.As shown in Figure 3, sequential-pattern chained list comprises three sublists: time sublist 301, equipment sublist 302, state sublist 303.The data structure of this form only is an example to definition sequential-pattern link form, is not unique example.The start-up time of definition environment pattern and cycle in the time sublist 301; Define the equipment included when starting under certain environmental pattern and the order of device start thereof in the equipment sublist 302; Be defined in a certain equipment running status in the described environmental pattern in the state sublist 303, for example: air-conditioning temperature and time of implementation etc. are set.Arrow represents that three sublists link by pointer among Fig. 3, the running status that the equipment that signal linked with certain time should be provided with in this time.
The structure of equipment operation record sheet is referring to Fig. 4, and Fig. 4 is the structural representation of middle equipment operation record sheet embodiment illustrated in fig. 2; As shown in Figure 4, the equipment operation record sheet also comprises three sublists: time sublist 401, equipment sublist 402, state sublist 403.In equipment running process, by the startup of the equipment in the time sublist 401 recording equipment sublists 402 and the time of operation; By the time that the equipment in the state sublist 403 recording equipment sublists 402 writes down in time sublist 401, the current running status that running status and equipment are set of UNICOM's state of equipment, equipment.Three sublists of the same expression of arrow link by pointer among Fig. 4, and the equipment that signal and certain time link is in UNICOM and the running status of this time.
Like this, step 203 shown in Figure 2 can adopt the mode of broadcasting, and the equipment in home network sends register requirement simultaneously, and referring to Fig. 5, Fig. 5 is the flow chart of middle UNICOM embodiment illustrated in fig. 2 home network device, and detailed process is:
Step 501, master controller fetch equipment registration table, UNICOM's state that all devices in the device registry is set is not for there being UNICOM.
Step 502, the master controller broadcast mode, the equipment in home network sends the facility registration solicited message of pre-determined number simultaneously.
Step 503, the equipment that resumes operation receive after master controller requires the log-on message of equipment; If in pre-determined number, equipment does not all resume operation, and then can't register, and promptly this equipment can't UNICOM, can't UNICOM's state write device registration table with this, and equipment records that simultaneously can't UNICOM is in the equipment operation record sheet.
It is busy that step 504, equipment are put self operating state.
Step 505, environment inquiry master controller operating state.
Step 506~507 repeat to judge whether the master controller operating state is busy, up to the master controller state when being idle, and execution in step 507, it is busy that master controller is put self operating state.
Step 508, equipment is to master controller transfer equipment log-on message.
Step 509, the facility information that the master controller record is received.
Step 510, master controller transmits the information that succeeds in registration to equipment.
Step 511, master controller finds respective items with the equipment physical label in the facility registration information in device registry, and the equipment UNICOM state that this item in the device registry is set is a UNICOM.
Step 512, clear master controller operating state is busy.
Step 513, clear equipment working state is busy.
In addition, step 203 shown in Figure 2 also can adopt the mode of clean culture, send register requirement to equipment singly: master controller invocation facility registration table, according to the order of the equipment records in the device registry, send register requirement to equipment one by one, if within the predetermined time, this equipment is reaction not, and then master controller is provided with this equipment UNICOM state for can't UNICOM in device registry; If this equipment succeeds in registration to master controller within the predetermined time, then this equipment UNICOM state is set in device registry is UNICOM to master controller.
Step 204 shown in Figure 2 can be searched the running status that current time and time correlation equipment should be in by master controller in sequential-pattern chained list, according to this running status, to sending the running status configuration information with time correlation equipment, referring to Fig. 6, Fig. 6 is the schematic diagram that recovers in embodiment illustrated in fig. 2 in the home network with the equipment of time correlation, and detailed process is:
Step 601~603 judge whether sequential-pattern chained list is empty, if empty, the equipment that then is provided with on the home network is holding state, and this state information is recorded in the equipment operation record sheet; Otherwise sequential-pattern chained list is not empty, calls sequential-pattern chained list.
Step 604~608, judge whether sequential-pattern chained list is expired, if sequential-pattern chained list is expired, then master controller just directly is set to time correlation equipment running status and time relation: the current time, this equipment running status should be holding state, and the running status of this equipment current time is set to holding state;
If sequential-pattern chained list does not have expired, then the equipment in equipment and the device registry in sequential-pattern chained list is compared, judge in sequential-pattern chained list whether register with the equipment of time correlation, if this equipment is not registered in this table, then do not carry out sequential-pattern chained list, and this equipment do not registered as the reason of not carrying out this table, be recorded in the equipment operation record sheet; If this equipment is registered in this table, then carry out sequential-pattern chained list: master controller is searched the running status that current time and time correlation equipment should be in sequential-pattern chained list, according to this running status, to sending the running status configuration information with time correlation equipment; With the equipment of time correlation according to this configuration information, move this equipment, and feed back this equipment execution result, just the current running status of this equipment to master controller.
In the present embodiment, for sequential-pattern chained list is provided with the term of validity, this is because the running status of some home appliance is not only relevant with the concrete time of every day, and with season etc. factor relevant.For example: air-conditioning need be opened cold wind in summer, need open warm braw, humidifier winter and use etc. in annual dry season.Sequential when changing according to the season-pattern chained list is expired, is deleted and is rebulid by master controller or user.
Step 609~610, whether the judgment device feedback result is consistent with the running status that sequential-pattern chained list requires, if inconsistent, then the running status that sequential-pattern chained list is required and the information such as running status of current device are recorded in the equipment operation record sheet; If unanimity then finish.
By the above embodiments as seen, the method that this network of the present invention recovers has automatically realized after aborted, equipment in the network is returned to the state of current needs, improved the intelligent of network, reduced user intervention, and the electricity consumption that can avoid occurring is wasted.

Claims (10)

1, the method automatically recovered of a kind of network, by realizing that it is characterized in that, this method may further comprise the steps comprising at least in the network operation process with time correlation equipment of master controller control:
1) when the network initial launch, each equipment arrives master controller, the equipment UNICOM that master controller and all succeed in registration by network registry; And on master controller, be provided with and store in all equipment that succeed in registration and time correlation equipment running status and the relation between the time;
2) when network restarts because of aborted, after restarting, master controller carries out self check, and after self check was passed through, all were at the equipment of self registering in UNICOM's network;
3) in the network with the equipment of time correlation, master controller is provided with the running status of this equipment current time according to current time and this equipment running status and the time relation of self storing.
2, the method for claim 1 is characterized in that, described step 1) further comprises: sequential-pattern chained list is set, preserves all and time correlation equipment running status and the corresponding relation between the time; Device registry is set, preserves UNICOM's state of all equipment of registering in the network.
3, method as claimed in claim 2, it is characterized in that, the running status that the equipment current time is set described in the step 3) further comprises: master controller is searched the running status that current time and time correlation equipment should be in sequential-pattern chained list, according to this running status, to sending the running status configuration information with time correlation equipment.
4, method as claimed in claim 2 is characterized in that, described step 1) further comprises: for sequential-pattern chained list is provided with the term of validity; The running status that the equipment current time is set described in the step 3) further comprises: whether before the deadline master controller judges sequential-pattern chained list, if, then according to the running status of sequential-pattern chained list setting with the time correlation equipment current time; Otherwise, master controller will and time correlation equipment running status and the correspondence setting between the time be: the current time, this equipment was in holding state, and the current running status of this equipment is set to holding state.
5, the method for claim 1 is characterized in that step 2) described master controller carries out self check and comprises: control unit, memory cell, timing unit, the interface unit of master controller self carried out operating state detects.
6, method as claimed in claim 2, it is characterized in that, described step 2) further comprises: after self check is passed through, all send the register requirement of pre-determined number to master controller at the equipment of self registering on network simultaneously, the equipment that resumes operation is registered to master controller, if the unregistered success of this equipment in pre-determined number, then this equipment is can't UNICOM, otherwise this equipment UNICOM, master controller is inserted device registry with UNICOM's state of each equipment.
7, method as claimed in claim 2, it is characterized in that, described step 2) further comprises: after self check is passed through, master controller is during according to the network initial launch, the sequencing of facility registration, send register requirement to equipment one by one, if do not receive this facility information within the predetermined time, then this equipment is can't UNICOM; If this equipment succeeds in registration to master controller within the predetermined time, then this equipment is UNICOM, and master controller is inserted device registry with UNICOM's state of each equipment.
8, as claim 1,3 or 4 described methods, it is characterized in that, described step 3) further comprises: with the running status setting according to master controller of the equipment of time correlation, move this equipment, and return the current running status of this equipment to master controller.
9, the method for claim 1 is characterized in that, this method further comprises: after network powers up again because of aborted, and the process that the record network recovers automatically.
10, method as claimed in claim 9, it is characterized in that, the method of the process that described record network automatically recovers comprises: each the time point of wrong equipment operation, UNICOM's state of this equipment, the current running status that running status and this equipment are set of this equipment occur and is recorded in the equipment operation record sheet with recovery process, and the error message that provides in recovery process of records center controller.
CNB031052894A 2003-02-26 2003-02-26 An automatic resuming method for network Expired - Fee Related CN100367725C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031052894A CN100367725C (en) 2003-02-26 2003-02-26 An automatic resuming method for network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031052894A CN100367725C (en) 2003-02-26 2003-02-26 An automatic resuming method for network

Publications (2)

Publication Number Publication Date
CN1525694A true CN1525694A (en) 2004-09-01
CN100367725C CN100367725C (en) 2008-02-06

Family

ID=34282588

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031052894A Expired - Fee Related CN100367725C (en) 2003-02-26 2003-02-26 An automatic resuming method for network

Country Status (1)

Country Link
CN (1) CN100367725C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008049346A1 (en) * 2006-10-23 2008-05-02 Huawei Technologies Co., Ltd. Method, system and device for registering device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677069B1 (en) * 1999-07-29 2007-02-01 삼성전자주식회사 Connection management method between devices connected by digital interface and command structure therefor
US6906617B1 (en) * 2000-11-17 2005-06-14 Koninklijke Philips Electronics N.V. Intelligent appliance home network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008049346A1 (en) * 2006-10-23 2008-05-02 Huawei Technologies Co., Ltd. Method, system and device for registering device

Also Published As

Publication number Publication date
CN100367725C (en) 2008-02-06

Similar Documents

Publication Publication Date Title
CN102394791A (en) Downtime recovery method and system
CN1773399A (en) Apparatus for controlling standby power
WO2014005535A1 (en) Message processing method, device and system for internet of things
CN103793238A (en) Rack and method for simultaneously updating multiple basic input output systems thereof
CN1342280A (en) Protocol for replicated servers
CN104063186A (en) Data access method of electronic equipment
WO2013159337A1 (en) Storage control device, data archival storage system and data access method
CN105721170B (en) The power-economizing method and device of multi-controller based on SDN network framework
CN102029275B (en) Dedusting method and system for equipment
CN1801096A (en) Method and system for implementing thread sleep in computer system
CN103200199A (en) Out of band (OOB) data collection system
CN106897133B (en) Implementation method for managing cluster load based on PBS job scheduling
CN1275476C (en) Clustering system for utilizing sharing internal memory in mobile communiation system and realizing method thereof
CN1525694A (en) An automatic resuming method for network
CN102681650B (en) The storage system of a kind of Energy control power-economizing method and correspondence thereof
CN102301307B (en) Distributed Table-driven Power Mode Computation For Controlling Optimal Clock And Voltage Switching
CN112464044A (en) File data block change information monitoring and management system and method thereof
CN101661404A (en) Computer system and method thereof for entering standby mode
CN1279439C (en) System and method of streaming data to computer in a network
CN1687915A (en) Automatic power supply running system for computer hard disk
CN109669811B (en) Data processing method and terminal capable of reliable access
CN1825985A (en) Message tracking method for distributed managing system
CN102169439B (en) Data transmission system
CN111736551B (en) Centralized control device, electric appliance system and centralized control method thereof
CN101272361B (en) Family gateway and processing method thereof

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: 20080206

Termination date: 20210226