Specific embodiment
In the following detailed description, a large amount of specific details are proposed, in order to provide a thorough understanding of the present invention.ButIt will be understood by those within the art that implementable present invention without these specific details.In other cases, without detailedWell-known method, process, component and circuit are carefully described, in order to avoid influence the understanding of the present invention.
As shown in Figure 1, the flow chart of the equipment linkage method for one embodiment of the invention.
In some illustrative embodiments, the method for the equipment linkage, for having the function for the service for controlling other equipmentThe equipment side of energy, comprising:
Step S101: the registration message for registering this equipment is sent to network side, which includes being used to indicateThis equipment has the information and control object of control function, which includes: the service that this equipment is controlled and originally setAt least one of the standby other equipment controlled information;
Step S102: at least one equipment linkage template that network side is sent is received;
Step S109: control request message is sent to network side, to carry out by network side at least one other equipmentControl, the control request message include the linkage control scene according to the equipment linkage template-setup.
When the embodiment of the present invention passes through registration, using the control function of equipment as a kind of service registration, pass through equipmentLink template, and user can pass through the corresponding linkage control scene of template flexible setting according to demand, not by the limit of default setting etc.System.
When the service that control object is controlled for this equipment, servicing corresponding equipment is to provide this what network side was registeredAll other equipment of service;When other equipment that control object is controlled for this equipment, the corresponding service of other equipment isAll services that other equipment are registered in network side;It is controlled for the service that this equipment is controlled with this equipment when control objectWhen other equipment, the service and other equipment are corresponded.
The combination for the service that the equipment that linkage control scene described herein refers to user setting provides.
In some illustrative embodiments, this has the function of that the equipment for controlling the service of other equipment can also provide clothesBusiness is controlled its equipment calls, then the registration message further includes the service that this equipment provides.
In some illustrative embodiments, before step S109, comprising:
Step S103: each equipment linkage template is presented to the user by user interface, is allowed users to according to differenceThe different linkage control scene of equipment linkage template-setup;
Step S104: at least one linkage control scene of user setting is received;
Step S105: at least one linkage control scene is sent to network side;
Step S106: the mark ID that network side is the distribution of each linkage control scene is received and saved.
In some illustrative embodiments, control request message includes mark ID, mark ID and linkage control sceneIt corresponds.
The embodiment of the present invention is identified by mark one linkage control scene of ID unique association convenient for equipment and gateway.
In some illustrative embodiments, after step s 106, further includes:
Step S108: the linkage control scene for being controlled at least one other equipment of user's input is receivedIt executes instruction.
For confirmation whether send to network side of the step of embodiment of the present invention is executed instruction by the input controls requestMessage, to execute the linkage control scene of setting.
In some illustrative embodiments, user may receive in the equipment control with the service of other equipmentIt is not intended to be immediately performed some linkage control scene after to the mark ID that network side is the distribution of each linkage control scene.Work as userWhen wishing to carry out some linkage control scene later, user can send out to the equipment of the service control with other equipmentIt send instruction to search corresponding linkage control scene, and after the mark ID for obtaining the control scene, executes step S108.At this point,Before step S108 further include:
Step S107: the instruction for receiving user, which is searched and determined the mark ID of linkage control scene and by user interface, is inNow give user.
Certainly, this step not necessarily must, when one linkage control scene of user setting and receive network side transmission pairIt should be immediately performed the linkage control scene after the mark ID of linkage control scene, then no longer need to the process searched.
As shown in figure 5, the structural schematic diagram of the equipment for equipment linkage for one embodiment of the invention.Equipment toolThere is the function for the service for controlling other equipment.The equipment includes:
First transmission unit 101, for sending the registration message for registering this equipment, the registration message packet to network sideIt includes and is used to indicate information and control object that this equipment has control function, which includes: what this equipment was controlledAt least one of other equipment that service and this equipment are controlled information;
First receiving unit 102, for receiving at least one equipment linkage template of network side transmission, equipment linkage templateFor describing control planning and the control object between this equipment and the control object;
Second transmission unit 103 originally sets at least one by network side for sending control request message to network sideThe standby other equipment controlled are controlled, which includes the linkage control field according to equipment linkage template-setupScape.
The embodiment of the present invention by setting said units so that the equipment registration when, by the control function of equipmentAs a kind of service registration, by equipment linkage template, user can be linked control by template flexible setting accordingly according to demandScene processed is not limited by default setting etc..
When the service that control object is controlled for this equipment, servicing corresponding equipment is to provide this what network side was registeredAll other equipment of service;When other equipment that control object is controlled for this equipment, the corresponding service of other equipment isAll services that other equipment are registered in network side;It is controlled for the service that this equipment is controlled with this equipment when control objectWhen other equipment, the service and other equipment are corresponded.
In some illustrative embodiments, the equipment further include:
Display unit 104, for network side send control request message process before, by each equipment linkage mouldPlate is presented to the user by user interface, allows users to the linkage control field different according to different equipment linkage template-setupsScape;
Second receiving unit 105, for receiving at least one linkage control scene of user setting;
Third transmission unit 106, at least one linkage control scene to be sent to network side;
Third receiving unit 107, for receiving and saving the mark ID that network side is the distribution of each linkage control scene.
In some illustrative embodiments, control request message includes mark ID, mark ID and linkage control sceneIt corresponds.
The embodiment of the present invention is identified by mark one linkage control scene of ID unique association convenient for equipment and gateway.
In some illustrative embodiments, the equipment further include:
4th receiving unit 108, for receiving user's input before the process for sending control request message to network sideLinkage control scene for being controlled at least one other equipment execute instruction.
The embodiment of the present invention is confirmed whether to send control request message to network side by the unit, to execute settingLinkage control scene.
In some illustrative embodiments, user may receive in the equipment control with the service of other equipmentIt is not intended to be immediately performed some linkage control scene after to the mark ID that network side is the distribution of each linkage control scene.Work as userWhen wishing to carry out some linkage control scene later, user can send out to the equipment of the service control with other equipmentIt send instruction to search corresponding linkage control scene, and after the mark ID for obtaining the control scene, receives being used for for user's inputThe linkage control scene controlled at least one other equipment executes instruction.At this point, the equipment further include:
Query unit 109, in the mistake for receiving and saving the mark ID that network side is the distribution of each linkage control sceneAfter journey, the instruction of user is received, search and determine the mark ID of linkage control scene and is presented to the user by user interface.
As shown in Fig. 2, the flow chart of the equipment linkage method for another embodiment of the present invention.
In some illustrative embodiments, the equipment linkage method is used for network side, comprising:
Step S201: receiving the registration message of each equipment in service range, and wherein at least equipment component, which has, controls itThe function of the service of its equipment, this has the function of that controlling the registration message of the equipment of the service of other equipment includes: for referring toShow that the equipment has the information and control object of control function, which includes: the service that the equipment is controlled and shouldAt least one of other equipment that equipment is controlled information;
Step S202: each equipment is registered;
Step S203: it is closed according to the control between the equipment and other equipment of the service control with other equipmentSystem forms dynamic group;
Step S204: being each dynamic according to the service that the equipment of the service control with other equipment is controlledGroup generates at least one equipment linkage template;
Step S205: at least one equipment linkage template, which is sent to, has the function of setting for the service for controlling other equipmentIt is standby;
Step S210: what the equipment for receiving the service control with other equipment was sent includes according to equipment linkageThe control request message of the linkage control scene of template-setup;
Step S212: the other equipment for including to linkage control scene send operational order, execute each other equipmentOperational order provides the service that corresponding linkage control scene includes.
When the embodiment of the present invention passes through registration, using the control function of equipment as a kind of service registration, obtain moreA equipment linkage template, so that user can conveniently set up linkage control scene according to linkage control template, flexibly to linkEach equipment is controlled, is not limited by default setting etc..
When control object is has the function of controlling service that the equipment of the service of other equipment is controlled, the service pairThe equipment answered is to provide all other equipment of the service what network side was registered;When control object is with the other equipment of controlService function equipment controlled other equipment when, the corresponding service of other equipment is that other equipment are registered in network sideAll services;When control object to have the function of controlling service that the equipment of the service of other equipment is controlled and has controlWhen other equipment that the equipment for making the function of the service of other equipment is controlled, the service and other equipment are corresponded.
In some illustrative embodiments, when the equipment of the service control with other equipment can provide serviceWhen, which can also receive the control of other equipment, which, which can also be used as, connects controlled other equipment.
In some illustrative embodiments, after step S205, comprising:
Step S206: at least the one of the user setting that the equipment for receiving the service control with other equipment is sentA linkage control scene, the linkage control scene are user according to equipment linkage template-setup;
Step S208: for linkage control scene allocation identification ID;
Step S209: mark ID is sent to the equipment control with the service of other equipment.
In some illustrative embodiments, before step S208, comprising:
Step S207: linkage control scene is saved.
In some illustrative embodiments, after step S210, further includes:
Step S211: clothes corresponding at least one other equipment corresponding to mark ID and each other equipment are determinedBusiness.
In some illustrative embodiments, control request message includes mark ID.
In the embodiment of the present invention, by identifying ID unique association linkage control scene, it is convenient for equipment calls.
As shown in fig. 6, the structural schematic diagram of the network equipment for equipment linkage for another embodiment of the present invention.It shouldThe network equipment includes:
Registering unit 201, the registration message for receiving each equipment in service range register each equipment, wherein at least portionSubset has the function of controlling the service of other equipment have the function of that the registration for controlling the equipment of the service of other equipment disappearsBreath includes: the information and control object for being used to indicate the equipment and having control function, which includes: that the equipment is controlledAt least one of other equipment that the service of system and the equipment are controlled information;
Dynamic group generation unit 202, for according to having the function of controlling the equipment of the service of other equipment and other setControl planning between standby forms dynamic group;
Equipment linkage template generation unit 203 has the function of the equipment institute for controlling the service of other equipment for basisThe service of control is that each dynamic group generates at least one equipment linkage template;
First transmission unit 204, for being sent at least one equipment linkage template with the clothes for controlling other equipmentThe equipment of the function of business;
First receiving unit 205, for receive the service control with other equipment equipment send includeAccording to the control request message of the linkage control scene of equipment linkage template-setup;
Second transmission unit 206, other equipment for including to linkage control scene send operational order, make it is each itsIts equipment executes operational order and provides the service that corresponding linkage control scene includes.
The embodiment of the present invention is by said units, when registration, using the control function of equipment as a kind of serviceRegistration obtains multiple equipment linkage template, so that user can conveniently set up linkage control scene according to linkage control template, withJust each equipment of flexible linkage control is not limited by default setting etc..
When control object is has the function of controlling service that the equipment of the service of other equipment is controlled, the service pairThe equipment answered is to provide all other equipment of the service what network side was registered;When control object is with the other equipment of controlService function equipment controlled other equipment when, the corresponding service of other equipment is that other equipment are registered in network sideAll services;When control object to have the function of controlling service that the equipment of the service of other equipment is controlled and has controlWhen other equipment that the equipment for making the function of the service of other equipment is controlled, the service and other equipment are corresponded.
In some illustrative embodiments, the network equipment further include:
Second receiving unit 207, for being sent to by least one equipment linkage template with the other equipment of controlAfter the process of the equipment of the function of service, the user that the equipment for receiving the service control with other equipment is sent is setAt least one the linkage control scene set, linkage control scene are user according to equipment linkage template-setup;
Allocation unit 208, for being linkage control scene allocation identification ID, and mark ID, which is sent to, has control otherThe equipment of the function of the service of equipment.
In some illustrative embodiments, the network equipment further include:
Storage unit 209, for saving linkage control scene before the process for the scene allocation identification ID that links.
In some illustrative embodiments, control request message includes mark ID.
In the embodiment of the present invention, by identifying ID unique association linkage control scene, it is convenient for equipment calls.
In some illustrative embodiments, the network equipment further include:
Confirmation unit 210, for being sent in the equipment for receiving the service control with other equipment comprising rootAccording to equipment linkage template-setup linkage control scene control request message process after, determine mark ID corresponding to itsService corresponding to its equipment and each other equipment.
Technical solution of the present invention is illustrated with a concrete application example below.
Embodiment 1
Equipment A is the equipment for having the function of controlling the service of other equipment, and specifically, equipment A can be mobile phone.Mobile phoneThe service of the control of (equipment A) includes: to open light and open TV, then the other of service that mobile phone (equipment A) is controlled setStandby list is the list for including electric light (equipment C) and TV (equipment B).Equipment A can also provide service, such as mobile phone is provided and made a noiseBell service.Other equipment can also provide the function of control.In embodiment 1, since TV (equipment B) has visualization interface,TV (equipment B) can be set, the function of control electric light is provided.For example, can be set, the service of TV (equipment B) control is to closeLight is closed, then the other list of devices for the service that TV (equipment B) is controlled are the list for including electric light (equipment C).Embodiment 1In network refer specifically to gateway.As shown in Fig. 3 and 4, the respectively flow chart of the equipment linkage method of the embodiment of the present invention 1One and two.Specific step is as follows for the equipment linkage method:
Step S301: each equipment sends the registration message for registering this equipment to gateway, and gateway receives the upper of each equipmentState registration message.
Specifically, mobile phone (equipment A) to gateway send the control function of mobile phone (equipment A), the opening light that is controlled andThe service of TV is opened, and the list including electric light (equipment C) and TV (equipment B) of controlled service is provided;TV(equipment B) to gateway send the control function of TV (equipment B), the control closing light service, and controlledThe list including electric light (equipment C) of service;Electric light (equipment C) sends provided opening light to gateway and closes lightService.
Step S302: each equipment is registered on gateway.
Step S303: dynamic group is formed according to the control planning between each equipment on gateway.
Specifically, mobile phone (equipment A) can control TV (equipment B) and electric light (equipment C), then mobile phone (equipment A) is dynamicState group is A- > B- > C and A- > B, wherein -> indicate control planning.The dynamic group of TV (equipment B) is B- > C.
Step S304: the clothes that the service and TV (equipment B) controlled on gateway according to mobile phone (equipment A) is controlledBusiness is that each dynamic group generates at least one equipment linkage template.
Specifically, dynamic group A- > B- > C equipment linkage template are as follows: mobile phone (equipment A) can optionally control opening lightWith opening TV.The equipment linkage template that dynamic group is A- > B are as follows: mobile phone (equipment A) is controllable to open TV.Certainly, dynamic groupNot necessarily must for the equipment linkage template of A- > B.Since dynamic group is that A- > B- > C equipment linkage template can optionally control openingLight and opening TV, when only selection control TV, dynamic group A- > B- > C equipment linkage template is that dynamic group isThe equipment linkage template of A- > B.But dynamic group A- > B- > C equipment linkage template and/or dynamic group are setting for A- > BWhen the standby linkage controllable quantity of service of template is very more, when user merely desires to control equipment B by equipment A, dynamic group be A- >The service that setting equipment B is searched in the equipment linkage template of B- > C just becomes very cumbersome, wastes time.At this point, providing oneThe equipment linkage template that dynamic group is A- > B can simplify the process for searching setting, save the time.As shown in Fig. 4, dynamic group isThe equipment linkage template of B- > C are as follows: TV (equipment B) can close light.Above-mentioned linkage template can be in the form of check boxIt is presented to the user, user chooses the service wished to carry out.Certainly, the present invention is not limited thereto, is also possible to its other partyFormula.
Step S305: at least one equipment linkage template is sent to the service for having the function of controlling other equipment by gatewayEquipment, the equipment receive gateway send at least one equipment linkage template.
Specifically, dynamic group can be A- > B- > C equipment linkage template by gateway and/or dynamic group is setting for A- > BStandby linkage template is sent to mobile phone (equipment A), and the equipment linkage template that dynamic group is B- > C is sent to TV (equipment B).HandMachine (equipment A) receives the equipment linkage template that dynamic group is A- > B- > C equipment linkage template and/or dynamic group is A- > B;TV (equipment B) receives the equipment linkage template that dynamic group is B- > C.
Step S306: have the function of that each equipment linkage template is passed through user by the equipment for controlling the service of other equipmentInterface is presented to the user, and allows users to the linkage control scene different according to different equipment linkage template-setups, and receiveAt least one linkage control scene of user setting.
Specifically, mobile phone (equipment A) can be presented to the user by mobile phone screen, and TV (equipment B) can pass through TVScreen is presented to the user.User, which wants to open, light and opens TV, then the dynamic group that user passes through mobile phone (equipment A) be A- > B- >The equipment linkage template-setup linkage control scene of C is to open light and opening TV, the process being specifically arranged are as follows: chooseIt opens light and opens the check box of TV.After having executed above-mentioned service, if user wants to close light to obtain more preferablyViewing experience, user can by the dynamic group of TV (equipment B) be B- > C equipment linkage template-setup linkage control fieldScape is to close light, and the process being specifically arranged is to choose to close light check box.
Step S307: have the function of that the equipment for controlling the service of other equipment sends at least one linkage control sceneTo gateway, gateway receives and saves the linkage control scene.
Specifically, the linkage control scene for opening light and opening TV is sent to gateway by mobile phone (equipment A).Gateway connectsReceive the linkage control scene opened light and open TV that mobile phone (equipment A) is sent.
Step S308: gateway is linkage control scene allocation identification ID.
Specifically, gateway is opening light and the linkage control scene allocation identification ID of opening TV is 001.
Step S309: mark ID is sent to the equipment control with the service of other equipment, the equipment by gatewayReceive and save the mark ID that gateway is the distribution of each linkage control scene.
Specifically, gateway is sent to mobile phone (equipment A) for ID001 is identified.Mobile phone (equipment A) receives and saves markThe corresponding linkage control scene of ID001, mark ID001 is to open light and opening TV.
Step S310: the linkage control scene for being controlled at least one other equipment of user's input is receivedIt executes instruction, and includes the control request message of mark ID to gateway transmission, it should include linkage control scene that gateway, which receives,Mark ID control request message.
Specifically, when have the function of controlling the equipment of service of other equipment receive mark ID after, user can send outThe instruction for executing the linkage control scene is sent, it includes to identify the control that ID is 001 to ask that then mobile phone (equipment A) is sent to gatewayMessage is sought, what gateway received mobile phone (equipment A) transmission includes the control request message for identifying ID and being 001.If certain userThe linkage control scene is not immediately performed after receiving mark ID, then user can wish to carry out the linkage control fieldJing Shi sends instruction to the equipment of the service control with other equipment and searches the corresponding mark of linkage control sceneID.Have the function of that the equipment for controlling the service of other equipment searches and passes through use after determining the mark ID of the linkage control sceneFamily interface is presented to the user.Then, user inputs the instruction for executing the linkage control scene again.
Step S311: gateway determines corresponding at least one other equipment corresponding to mark ID and each other equipmentService.
Specifically, gateway determines that the corresponding equipment of mark ID001 is TV (equipment B) and electric light (equipment C), correspondingService is the service for the opening TV that TV (equipment B) is provided, the service for the opening light that electric light (equipment C) provides.
Step S312: gateway sends operational order at least one other equipment, so that each other equipment is executed operation and refers toIt enables and corresponding service is provided.
Specifically, gateway sends the operational order for opening light to electric light (equipment C) and sends to TV (equipment B) and opensThe operational order of TV.Electric light (equipment C) opens light and TV is opened.
In conclusion method of the invention by registration process by the equipment of the service with other equipmentControl function also registered as service, the service list that the equipment can control, network side are also carried in registration messageSo as to dynamic formation equipment linkage template, without prefabricated in advance, user experience is improved, users ' individualized requirement is met.
The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for thisThe those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range,In conclusion the contents of this specification are not to be construed as limiting the invention.