Detailed description of the invention
In the following detailed description, it is proposed to a large amount of specific detail, in order to thorough understanding of the present invention is provided。However it will be understood by those of ordinary skill in the art that, the present invention also can be implemented even without these specific detail。In other cases, it does not have well-known method, process, assembly and circuit are described in detail, in order to avoid affecting the understanding of the present invention。
As it is shown in figure 1, be the flow chart of the equipment linkage method of one embodiment of the invention。
In some illustrative embodiment, the method for this equipment linkage, for having the equipment side of the function of the service controlling miscellaneous equipment, including:
Step S101: send the registration message for registering this equipment to network side, this registration message includes the information and the control object that control function for indicating this equipment to have, and this control object includes: at least one information in the miscellaneous equipment that the service that this equipment controls and this equipment control;
Step S102: receive at least one equipment linkage template that network side sends;
Step S109: send to network side and control request message, at least one miscellaneous equipment to be controlled by network side, this control request message comprises the coordinated signals scene according to described equipment linkage template-setup。
Time the embodiment of the present invention is by registering, using the control function of equipment as a kind of service registry, by equipment linkage template, user can arrange corresponding coordinated signals scene by template according to demand flexibly, not by the restriction of Default Value etc.。
When control object is the service that this equipment controls, the equipment of service correspondence all miscellaneous equipments that this service is provided for registering at network side;When control object is the miscellaneous equipment that this equipment controls, all services that the service that miscellaneous equipment is corresponding is registered at network side for miscellaneous equipment;When the miscellaneous equipment that control object is the service that controls of this equipment and this equipment controls, this service and miscellaneous equipment one_to_one corresponding。
Coordinated signals scene described herein refers to the combination of the service of the equipment offer of user setup。
In some illustrative embodiment, the equipment of this function with the service controlling miscellaneous equipment can also provide service, is controlled its equipment calls, then this registration message also includes the service that this equipment provides。
In some illustrative embodiment, before step S109, including:
Step S103: by user interface, each equipment linkage template is presented to user, allows users to the coordinated signals scene different according to different equipment linkage template-setups;
Step S104: receive at least one coordinated signals scene of user setup;
Step S105: at least one coordinated signals scene is sent to network side;
Step S106: receive and preserve the mark ID that network side is the distribution of each coordinated signals scene。
In some illustrative embodiment, control request message and include mark ID, this mark ID and coordinated signals scene one_to_one corresponding。
The embodiment of the present invention is by identifying one coordinated signals scene of ID unique association, it is simple to equipment and gateway identification。
In some illustrative embodiment, after step s 106, also include:
Step S108: receive the execution instruction of the coordinated signals scene at least one miscellaneous equipment is controlled of user's input。
Whether the embodiment of the present invention sends control request message to network side by the step of this input execution instruction is for confirmation, in order to perform the coordinated signals scene of setting。
In some illustrative embodiment, user is likely to after the equipment with the function of service of control miscellaneous equipment receives the mark ID that network side is the distribution of each coordinated signals scene to be not intended to perform certain coordinated signals scene immediately。When wishing to carry out certain coordinated signals scene after user, user can send instruction to the equipment of the function with the service controlling miscellaneous equipment and search corresponding coordinated signals scene, and after the mark ID obtaining this control scene, performs step S108。Now, also include before step S108:
Step S107: the instruction receiving user is searched and determines the mark ID of coordinated signals scene and present to user by user interface。
Certainly, this step need not necessarily, when one coordinated signals scene of user setup and receive network side send to performing this coordinated signals scene immediately after the mark ID of coordinated signals scene, then the process without searching again。
As shown in Figure 4, for the structural representation of the equipment for equipment linkage of one embodiment of the invention。This equipment has the function of the service controlling miscellaneous equipment。This equipment includes:
First transmitting element 101, for sending the registration message for registering this equipment to network side, this registration message includes the information and the control object that control function for indicating this equipment to have, and this control object includes: at least one information in the miscellaneous equipment that the service that this equipment controls and this equipment control;
First receives unit 102, and for receiving at least one equipment linkage template that network side sends, equipment linkage template is used for the control planning and this control object that describe between this equipment and this control object;
Second transmitting element 103, controls request message for sending to network side, and the miscellaneous equipment at least one this equipment controlled by network side is controlled, and this control request message comprises the coordinated signals scene according to equipment linkage template-setup。
The embodiment of the present invention is by arranging said units, make this equipment when registration, using the control function of equipment as a kind of service registry, by equipment linkage template, user can arrange corresponding coordinated signals scene by template according to demand flexibly, not by the restriction of Default Value etc.。
When control object is the service that this equipment controls, the equipment of service correspondence all miscellaneous equipments that this service is provided for registering at network side;When control object is the miscellaneous equipment that this equipment controls, all services that the service that miscellaneous equipment is corresponding is registered at network side for miscellaneous equipment;When the miscellaneous equipment that control object is the service that controls of this equipment and this equipment controls, this service and miscellaneous equipment one_to_one corresponding。
In some illustrative embodiment, this equipment also includes:
Display unit 104, for, before send the process controlling request message to network side, presenting to user by each equipment linkage template by user interface, allow users to the coordinated signals scene different according to different equipment linkage template-setups;
Second receives unit 105, for receiving at least one coordinated signals scene of user setup;
3rd transmitting element 106, for being sent to network side by least one coordinated signals scene;
3rd receives unit 107, for receiving and preserve the mark ID that network side is the distribution of each coordinated signals scene。
In some illustrative embodiment, control request message and include mark ID, this mark ID and coordinated signals scene one_to_one corresponding。
The embodiment of the present invention is by identifying one coordinated signals scene of ID unique association, it is simple to equipment and gateway identification。
In some illustrative embodiment, this equipment also includes:
4th receives unit 108, for, before send the process controlling request message to network side, receiving the execution instruction of the coordinated signals scene at least one miscellaneous equipment is controlled of user's input。
The embodiment of the present invention is confirmed whether to send to network side to control request message by this unit, in order to perform the coordinated signals scene arranged。
In some illustrative embodiment, user is likely to after the equipment with the function of service of control miscellaneous equipment receives the mark ID that network side is the distribution of each coordinated signals scene to be not intended to perform certain coordinated signals scene immediately。When wishing to carry out certain coordinated signals scene after user, user can send instruction to the equipment of the function with the service controlling miscellaneous equipment and search corresponding coordinated signals scene, and after the mark ID obtaining this control scene, receive the execution instruction of the coordinated signals scene at least one miscellaneous equipment is controlled of user's input。Now, this equipment also includes:
Query unit 109, for, after receiving and preserve the process of the mark ID that network side is the distribution of each coordinated signals scene, receiving the instruction of user, search and determine the mark ID of coordinated signals scene and present to user by user interface。
As in figure 2 it is shown, be the flow chart of the equipment linkage method of another embodiment of the present invention。
In some illustrative embodiment, this equipment linkage method, for network side, including:
Step S201: the registration message of each equipment in reception service area, at least a part of which equipment component has the function of the service controlling miscellaneous equipment, the registration message of equipment of this function with the service controlling miscellaneous equipment includes: for the information indicating this equipment to have to control function and control object, this control object includes: service that this equipment controls and at least one information in the miscellaneous equipment that this equipment controls;
Step S202: register each equipment;
Step S203: form dynamic group according to the control planning between equipment and the miscellaneous equipment of the function of the service with control miscellaneous equipment;
Step S204: be that each dynamic group generates at least one equipment linkage template according to the service that the equipment of function with the service controlling miscellaneous equipment controls;
Step S205: at least one equipment linkage template is sent to the equipment of the function with the service controlling miscellaneous equipment;
Step S210: message is asked in the control comprising the coordinated signals scene according to equipment linkage template-setup of the equipment transmission receiving the function with the service controlling miscellaneous equipment;
Step S212: the miscellaneous equipment comprised to coordinated signals scene sends operational order, makes each miscellaneous equipment perform the service that operational order provides corresponding coordinated signals scene to comprise。
Time embodiments of the invention are by registering, using the control function of equipment as a kind of service registry, obtain multiple equipment linkage template, thus user can conveniently set up coordinated signals scene according to coordinated signals template, so that each equipment of coordinated signals flexibly, not by the restriction of Default Value etc.。
When control object is have service that the equipment of function of the service controlling miscellaneous equipment controls, all miscellaneous equipments of equipment corresponding to this service this service of offer for register at network side;When the miscellaneous equipment that the equipment that control object is the function with the service controlling miscellaneous equipment controls, all services that the service that miscellaneous equipment is corresponding is registered at network side for miscellaneous equipment;When control object is have miscellaneous equipment that the equipment of the service that the equipment of function of the service controlling miscellaneous equipment controls and the function with the service controlling miscellaneous equipment controls, this service and this miscellaneous equipment one_to_one corresponding。
In some illustrative embodiment, when having the equipment of function of the service controlling miscellaneous equipment and can provide service, this equipment can also receive the control of other equipment, and this equipment can also as connecing in check miscellaneous equipment。
In some illustrative embodiment, after step S205, including:
Step S206: receiving at least one coordinated signals scene of the user setup of the equipment transmission of the function with the service controlling miscellaneous equipment, this coordinated signals scene is that user is according to equipment linkage template-setup;
Step S208: for coordinated signals scene allocation identification ID;
Step S209: mark ID is sent to the equipment of the function with the service controlling miscellaneous equipment。
In some illustrative embodiment, before step S208, including:
Step S207: preserve coordinated signals scene。
In some illustrative embodiment, after step S210, also include:
Step S211: determine mark at least one miscellaneous equipment corresponding to ID and the service corresponding to each miscellaneous equipment。
In some illustrative embodiment, control request message and include mark ID。
In the embodiment of the present invention, by identifying ID unique association coordinated signals scene, it is simple to equipment calls。
As shown in Figure 6, for the structural representation of the network equipment for equipment linkage of another embodiment of the present invention。This network equipment includes:
Registering unit 201, registration message for receiving each equipment in service area registers each equipment, at least a part of which equipment component has the function of the service controlling miscellaneous equipment, the registration message of equipment of the function with the service controlling miscellaneous equipment includes: for the information indicating this equipment to have to control function and control object, this control object includes: service that this equipment controls and at least one information in the miscellaneous equipment that this equipment controls;
Dynamic group generates unit 202, forms dynamic group for the control planning between equipment and the miscellaneous equipment of the function according to the service with control miscellaneous equipment;
Equipment linkage template generation unit 203, is that each dynamic group generates at least one equipment linkage template for the service controlled according to the equipment of the function with the service controlling miscellaneous equipment;
First transmitting element 204, for being sent to the equipment of the function with the service controlling miscellaneous equipment by least one equipment linkage template;
First receives unit 205, and what the equipment for receiving the function with the service controlling miscellaneous equipment sent comprises the control request message of the coordinated signals scene according to equipment linkage template-setup;
Second transmitting element 206, sends operational order for the miscellaneous equipment comprised to coordinated signals scene, makes each miscellaneous equipment perform the described service that operational order provides corresponding coordinated signals scene to comprise。
Embodiments of the invention pass through said units, when registration, using the control function of equipment as a kind of service registry, obtain multiple equipment linkage template, thus user can conveniently set up coordinated signals scene according to coordinated signals template, so that each equipment of coordinated signals flexibly, not by the restriction of Default Value etc.。
When control object is have service that the equipment of function of the service controlling miscellaneous equipment controls, all miscellaneous equipments of equipment corresponding to this service this service of offer for register at network side;When the miscellaneous equipment that the equipment that control object is the function with the service controlling miscellaneous equipment controls, all services that the service that miscellaneous equipment is corresponding is registered at network side for miscellaneous equipment;When control object is have miscellaneous equipment that the equipment of the service that the equipment of function of the service controlling miscellaneous equipment controls and the function with the service controlling miscellaneous equipment controls, this service and this miscellaneous equipment one_to_one corresponding。
In some illustrative embodiment, this network equipment also includes:
Second receives unit 207, for after at least one equipment linkage template is sent to the process of equipment of the function with the service controlling miscellaneous equipment, receiving at least one coordinated signals scene of the user setup of the equipment transmission of the function with the service controlling miscellaneous equipment, coordinated signals scene is that user is according to equipment linkage template-setup;
Allocation units 208, for for coordinated signals scene allocation identification ID, and are sent to the equipment of the function with the service controlling miscellaneous equipment by mark ID。
In some illustrative embodiment, this network equipment also includes:
Memory element 209, for, before the process for the scene allocation identification ID that links, preserving coordinated signals scene。
In some illustrative embodiment, control request message and include mark ID。
In the embodiment of the present invention, by identifying ID unique association coordinated signals scene, it is simple to equipment calls。
In some illustrative embodiment, this network equipment also includes:
Confirmation unit 210, comprise the process controlling request message of the coordinated signals scene according to equipment linkage template-setup at the equipment receiving the function with the service controlling miscellaneous equipment what send after, it is determined that mark miscellaneous equipment corresponding to ID and the service corresponding to each miscellaneous equipment。
With a concrete application examples, technical scheme is described below。
Embodiment 1
Device A is the equipment of the function with the service controlling miscellaneous equipment, and specifically, device A can be mobile phone。The service of the control of mobile phone (device A) including: turn on light and turn on TV, then the miscellaneous equipment list of the service that mobile phone (device A) controls is the list including electric light (equipment C) and TV (equipment B)。Device A can also provide service, for instance mobile phone provides quarter-bell service。Other equipment can also provide the function of control。In embodiment 1, owing to TV (equipment B) has visualization interface, it is possible to arrange TV (equipment B) and provide the function controlling electric light。For example, it is possible to arrange, the service that TV (equipment B) controls is for closing light, then the miscellaneous equipment list of the service that TV (equipment B) controls is the list including electric light (equipment C)。Network in embodiment 1 refers specifically to gateway。As shown in Figures 3 and 4, the flow chart one and two of the respectively equipment linkage method of embodiments of the invention 1。Specifically comprising the following steps that of this equipment linkage method
Step S301: each equipment sends the registration message for registering this equipment to gateway, and gateway receives the above-mentioned registration message of each equipment。
Specifically, mobile phone (device A) to gateway send mobile phone (device A) controls function, control turn on light and turn on the service of TV, and offer control service include electric light (equipment C) and the list of TV (equipment B);TV (equipment B) sends the service closing light of the control function of TV (equipment B), described control and the list including electric light (equipment C) of the service controlled to gateway;Electric light (equipment C) sends the service opening light and closedown light provided to gateway。
Step S302: register each equipment on gateway。
Step S303: form dynamic group according to the control planning between each equipment on gateway。
Specifically, mobile phone (device A) can control TV (equipment B) and electric light (equipment C), then the dynamic group of mobile phone (device A) is A-> B-> C and A-> B, wherein-> represent control planning。The dynamic group of TV (equipment B) is B-> C。
Step S304: the service that the service controlled according to mobile phone (device A) on gateway and TV (equipment B) control is that each dynamic group generates at least one equipment linkage template。
Specifically, to be the equipment linkage template of A-> B-> C be dynamic group: mobile phone (device A) can optionally control turn on light and turn on TV。The equipment linkage template that dynamic group is A-> B is: mobile phone (device A) can control to turn on TV。Certainly, dynamic group is that the equipment linkage template of A-> B need not necessarily。Owing to the equipment linkage template that dynamic group is A-> B-> C can optionally control turn on light and turn on TV, when only selecting to control TV, the equipment linkage template that dynamic group is A-> B-> C is the equipment linkage template that dynamic group is A-> B。But, dynamic group be the equipment linkage template of A-> B-> C and/or the equipment linkage controllable quantity of service of template that dynamic group is A-> B very many time, when user merely desires to be controlled equipment B by device A, the equipment linkage template that dynamic group is A-> B-> C is searched the service arranging equipment B and just becomes very loaded down with trivial details, lose time。Now, it is provided that dynamic group is that the equipment linkage template of A-> B can simplify and searches the process arranged, and saves the time。As shown in Figure 4, to be the equipment linkage template of B-> C be dynamic group: TV (equipment B) can close light。Above-mentioned linkage template can present to user with the form of check box, and user chooses the service wished to carry out。Certainly, the present invention is not limited thereto, it is also possible to be other modes。
Step S305: at least one equipment linkage template is sent to the equipment of the function with the service controlling miscellaneous equipment by gateway, this equipment receives at least one equipment linkage template that gateway sends。
Specifically, equipment linkage template that dynamic group is A-> B-> C and/or equipment linkage template that dynamic group is A-> B can be sent to mobile phone (device A) by gateway, and the equipment linkage template that dynamic group is B-> C is sent to TV (equipment B)。Mobile phone (device A) receives the equipment linkage template that dynamic group is A-> B-> C and/or the equipment linkage template that dynamic group is A-> B;TV (equipment B) receives the equipment linkage template that dynamic group is B-> C。
Step S306: each equipment linkage template is presented to user by user interface by the equipment of the function with the service controlling miscellaneous equipment, allow users to the coordinated signals scene different according to different equipment linkage template-setups, and receive at least one coordinated signals scene of user setup。
Specifically, mobile phone (device A) can present to user by mobile phone screen, and TV (equipment B) can present to user by telescreen。User wants turn on light and open TV, then user is by the equipment linkage template-setup coordinated signals scene that dynamic group is A-> B-> C of mobile phone (device A) for turning on light and turning on TV, and the process of its concrete setting is: choose the check box turned on light He turn on TV。After having performed above-mentioned service, experience to obtain better viewing if user wants to close light, user can by the equipment linkage template-setup coordinated signals scene that dynamic group is B-> C of TV (equipment B) for closing light, and the process of its concrete setting is for choosing closedown light check box。
Step S307: at least one coordinated signals scene is sent to gateway by the equipment of the function with the service controlling miscellaneous equipment, and gateway receives and preserve this coordinated signals scene。
Specifically, the coordinated signals scene turning on light with turn on TV is sent to gateway by mobile phone (device A)。What gateway reception mobile phone (device A) sent turns on light and turns on the coordinated signals scene of TV。
Step S308: gateway is coordinated signals scene allocation identification ID。
Specifically, gateway is turn on light and to turn on the coordinated signals scene allocation identification ID of TV be 001。
Step S309: mark ID is sent to the equipment of the function with the service controlling miscellaneous equipment by gateway, this equipment receives and preserves the mark ID that gateway is the distribution of each coordinated signals scene。
Specifically, mark ID001 is sent to mobile phone (device A) by gateway。Mobile phone (device A) receives and preserves mark ID001, and coordinated signals scene corresponding for this mark ID001 is for turning on light and turning on TV。
Step S310: receive the execution instruction of the coordinated signals scene at least one miscellaneous equipment is controlled of user's input, and the control request message including this mark ID is sent to gateway, gateway receives the control request message of this mark ID comprising coordinated signals scene。
Specifically, after the equipment with the function of service of control miscellaneous equipment receives mark ID, user can send the instruction performing this coordinated signals scene, then mobile phone (device A) sends to gateway and includes the control request message that mark ID is 001, and what gateway reception mobile phone (device A) sent includes the control request message that mark ID is 001。If user does not perform this coordinated signals scene immediately after receiving this mark ID certainly, then user can when wishing to carry out this coordinated signals scene, and the equipment to the function with the service controlling miscellaneous equipment sends instruction and searches the mark ID that this coordinated signals scene is corresponding。Have after the equipment of function of the service controlling miscellaneous equipment is searched and determined the mark ID of this coordinated signals scene and present to user by user interface。Then, user inputs the instruction performing this coordinated signals scene again。
Step S311: gateway determines mark at least one miscellaneous equipment corresponding to ID and the service corresponding to each miscellaneous equipment。
Specifically, gateway determines that equipment corresponding for mark ID001 is TV (equipment B) and electric light (equipment C), corresponding service is the service turning on TV that TV (equipment B) provides, the service opening light that electric light (equipment C) provides。
Step S312: gateway sends operational order at least one miscellaneous equipment, makes each miscellaneous equipment perform the service that operational order provides corresponding。
Specifically, gateway sends, to electric light (equipment C), the operational order turning on light and sends the operational order turning on TV to TV (equipment B)。Light turned on by electric light (equipment C) and TV is opened。
In sum, the method of the present invention is registered by the control function with the equipment of the function of the service of miscellaneous equipment being also served as service in registration process, registration message also carries the service list that this equipment can control, network side is it is thus possible to dynamic formation equipment linkage template, need not be prefabricated in advance, improve Consumer's Experience, meet users ' individualized requirement。
The explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention。