Summary of the invention
The technical problem to be solved in the present invention is, providing method, device and relevant device that in a kind of home network, multi-control center switches, realizing the switching at multi-control center when not causing service disconnection.
The technical solution used in the present invention is, the method that in described home network, multi-control center switches, and the flow process performed in current control centre side comprises:
When judge should by control right transfer to another control centre time, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, for for another control centre described based on described information, through described current control centre for described smart machine provides interactive controlling between other smart machines.
Further, judgement by control right transfer to another control centre, should comprise:
When there is another control centre described in broadcast, described current control centre, based on preset control centre's priority list, judges the priority height of described current control centre and another control centre described;
When described current control centre is lower than the priority of another control centre described, judgement should by control right transfer to another control centre.
Further, described control centre priority list is preset in All Control Center, or, be preset in smart machine, when being registered to control centre by described smart machine, described control centre priority list informed this control centre.
Further, the information of described smart machine, comprising: the user data that the mark of described smart machine, described smart machine produce in described current control centre;
Described control centre priority list, comprising: control centre's mark and precedence information thereof.
Further, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, comprising:
By registering to another control centre described, the mark of the smart machine be registered in described current control centre is informed another control centre described;
The user data that described smart machine produces in described current control centre is sent to another control centre described.
Further, for another control centre described based on described information, provide interactive controlling between other smart machines through described current control centre for described smart machine, comprising:
When another control centre described provides the interactive controlling between other smart machines for described smart machine, described current control centre carries out message forwarding between described smart machine and another control centre described.
Further, in the flow process that current control centre side performs, also comprise:
When judge should by control right transfer to another control centre time, message of going off the air;
When judging control to be regained, continuing as described smart machine and interactive controlling between other smart machines is provided, and message of again going on the air.
Further, control should be regained by judgement, comprising:
Within the time of setting, do not receive the broadcast of another control centre described, then judge control to be regained.
Further, in the flow process that current control centre side performs, also comprise:
When receive that other control centres synchronously come be registered in the information of the smart machine in other control centres described time, based on the described information that other control centres synchronously come, through other control centres described for the smart machine be registered in other control centres described provides interactive controlling between other smart machines.
The present invention also provides the device that in a kind of home network, multi-control center switches, and be arranged in current control centre, this device comprises:
Handover module, for when judgement should by control right transfer to another control centre time, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, for for another control centre described based on described information, through described current control centre for described smart machine provides interactive controlling between other smart machines.
The present invention also provides the control centre in a kind of home network, comprises the device that in above-mentioned home network, multi-control center switches.
Adopt technique scheme, the present invention at least has following advantages:
The method that in home network of the present invention, multi-control center switches, device and control centre, solve in home network when there is multiple control centre, how control centre carries out the problem switched, and can also when not causing service disconnection, realize the switching at multi-control center, concerning smart machine side almost perception less than the switching of control centre, ensure that the smooth and easy of business carries out.
Embodiment
For further setting forth the present invention for the technological means reaching predetermined object and take and effect, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
In normal state, in one family network, only have a control centre possessing interactive controlling power between all smart machines of management, this control centre need always outwards broadcast to declare the existence of self.In the invention process, current control centre cited below refers to actual that control centre's equipment be possessed of control power before carrying out control centre's switching.
First embodiment of the invention, a kind of method that in home network, multi-control center switches, as shown in Figure 1, in the flow process that current control centre side performs, comprises following concrete steps:
Step S101, judging whether should by control right transfer to another control centre.
Concrete, step S101, comprising:
When there is another control centre described in broadcast, described current control centre, based on preset control centre's priority list, judges the priority height of described current control centre and another control centre described;
When described current control centre is lower than the priority of another control centre described, judgement should by control right transfer to another control centre; Otherwise then judging should by control right transfer to another control centre.Now, for another control centre, based on the thinking of the technical scheme in the embodiment of the present invention, another control centre is when receiving the broadcast that current control centre sends, also can know that the priority of the current control centre of the priority ratio of self is low, then initiatively stop sending broadcast, and control is carried out shifting or abandoning.
Further, this control centre's priority list can be preset in All Control Center, or, can also be preset in smart machine, when being registered to control centre by described smart machine, described control centre priority list be informed this control centre.This control centre's priority list, comprising: control centre's mark and precedence information thereof.
Step S102, when judge should by control right transfer to another control centre time, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, for for another control centre described based on described information, through described current control centre for described smart machine provides interactive controlling between other smart machines.Herein through can be understood as transparent transmission or forwarding.
Concrete, the information of described smart machine, comprising: the user data that the mark of described smart machine, described smart machine produce in described current control centre;
In step s 102, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, comprising:
Registered to another control centre described by described current control centre, the mark of the smart machine be registered in described current control centre is informed another control centre described;
The user data that described smart machine produces in described current control centre is sent to another control centre described.
In step s 102, for another control centre described based on described information, provide interactive controlling between other smart machines through described current control centre for described smart machine, comprising:
When another control centre described provides the interactive controlling between other smart machines for described smart machine, described current control centre carries out message forwarding between described smart machine and another control centre described.
Second embodiment of the invention, a kind of method that in home network, multi-control center switches, method described in the present embodiment is roughly the same with the first embodiment, difference is, as shown in Figure 2, the described method of the present embodiment except comprising the step S201 corresponding with the first embodiment step S101, in the flow process that current control centre side performs, step S202 also comprises: when judge should by control right transfer to another control centre time, message of going off the air.
In the flow process that current control centre side performs, also comprise following concrete steps:
Step S203, when judging control to be regained, continuing as described smart machine and providing interactive controlling between other smart machines, and message of again going on the air.
Preferably, in a first embodiment, during described current control centre carries out message forwarding between described smart machine and another control centre described, also continue to preserve the user data that described smart machine produces, be convenient in the present embodiment, when control being regained when judgement, continue as described smart machine and interactive controlling between other smart machines is provided.
Further, control should be regained by judgement, comprising:
Within the time of setting, do not receive the broadcast of another control centre described, then judge control to be regained.
Preferably, corresponding to the function of interaction control that another control centre described completes, described current control centre also can complete corresponding function, and therefore, in the present embodiment, the flow process that described current control centre side performs, also comprises:
When receive that other control centres synchronously come be registered in the information of the smart machine in other control centres described time, based on the described information that other control centres synchronously come, through other control centres described for the smart machine be registered in other control centres described provides interactive controlling between other smart machines.
Third embodiment of the invention, corresponding with the first embodiment or the second embodiment, the present embodiment introduces the device that in a kind of home network, multi-control center switches, and be arranged in current control centre, as shown in Figure 3, this device comprises following part:
Judge module 100, for judge whether should by control right transfer to this another control centre;
Handover module 200, for when judgement should by control right transfer to another control centre time, by the synchronizing information of smart machine that is registered in described current control centre to another control centre described, for for another control centre described based on described information, through described current control centre for described smart machine provides interactive controlling between other smart machines.
Fourth embodiment of the invention, the control centre in a kind of home network, can understand as entity apparatus, and this control centre comprises the device that in the home network described in the 3rd embodiment, multi-control center switches.
Fifth embodiment of the invention, the present embodiment is on the basis of above-described embodiment, and to comprise the equipment that two have control centre's function in home network, composition graphs 4 introduces an application example of the present invention.
In the embodiment of the present invention, as shown in Figure 4, although You Liangge control centre in home network: control centre 1 is home gateway, control centre 2 is TV, but under normal condition, only have a control centre to have actual control, and be possessed of control power be only real control centre.The priority of the priority ratio TV of home gateway is low.Equipment 1 and equipment 2 are the smart machine in home network, need to be linked in the control centre of home network.
The flow process that the devices in home network registration of the present embodiment and multi-control center switch is as follows:
Step 1: control centre 1 sends the existence of broadcast declaration oneself;
Step 2: equipment 1 is reached the standard grade, equipment 1 is configured by user or system intialization has control centre's priority list;
Step 3: equipment 1 receives the broadcast of control centre 1, determines control centre 1 in the controlling in heart priority list, and is unique control centre existed in current network;
Step 4: equipment 1, to control centre's registration, carries control centre's priority list in registration message;
Step 5: after control centre 2 reaches the standard grade, control centre 2 starts the existence sending broadcast declaration oneself;
Step 6: after control centre 1 receives the broadcast of control centre 2, reads the local control centre's priority list preserved, determines that the priority of control centre 2 is higher than oneself, therefore goes off the air;
Step 7: control centre 1 registers to control centre 2, carries the information of equipment 1 in registration message;
Step 8: the user data that control centre 1 produces on control centre 2 the transmitting apparatus 1 in the controlling heart 1;
Step 9: equipment 2 is reached the standard grade, equipment 2 is configured by user or system intialization has control centre's priority list;
Step 10: equipment 2 receives the broadcast of control centre 2, determines control centre 2 in the controlling in heart priority list, and is unique control centre existed in current network;
Step 11: equipment 2 is registered to control centre 2, carries control centre's priority list in registration message;
Step 12: when control centre 2 closes, control centre 1 does not receive the broadcast of control centre 2 in official hour, and 1, control centre starts to resend broadcast;
Step 13: equipment 2 receives the broadcast of control centre 1, according to step 3 access control center 1.
The flow process that the described devices in home network registration of the present embodiment and multi-control center switch, solve in home network when there is multiple control centre, how control centre carries out the problem switched.
The method that in the described home network of the embodiment of the present invention, multi-control center switches, device and control centre, can when not causing service disconnection, realize the switching at multi-control center, concerning smart machine side almost perception less than the switching of control centre, ensure that the smooth and easy of business carries out.
By the explanation of embodiment, should to the present invention for the technological means reaching predetermined object and take and effect be able to more deeply and concrete understanding, but appended diagram be only to provide with reference to and the use of explanation, be not used for being limited the present invention.