Embodiment
The following description and drawings illustrate specific embodiment of the invention scheme fully, to enable those skilled in the art to put into practice them.Other embodiments can comprise structure, logic, electric, process and other change.Embodiment only represents possible change.Unless explicitly requested, otherwise independent parts and function are optional, and the order of operation can change.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.The scope of embodiment of the present invention comprises the gamut of claims, and all obtainable equivalent of claims.In this article, these embodiments of the present invention can be represented with term " invention " individually or always, this is only used to conveniently, and if in fact disclose the invention more than, be not the scope that automatically will limit this application is any single invention or inventive concept.
" equipment " used herein is defined as, and has the various equipment of radio communication function, comprising: subscriber equipment, net control device, common apparatus and special equipment etc.
Fig. 1 is a kind of schematic flow sheet for the method set up that links in embodiment.
As shown in Figure 1, in some illustrative embodiments, described method comprises following step:
Step S101, obtain main interlocking equipment and at least one possess first kind service ability by the first attribute of a relation between interlocking equipment;
The process obtaining at least one attribute of a relation described can be: the mark of the described first kind being served is mated with the information in database, finds described at least one by interlocking equipment; The first attribute of a relation described at least one is extracted from described database; Wherein, described database at least comprise described main interlocking equipment and described at least one by the service identifiers of the attribute of a relation of interlocking equipment and the described at least one service provided by interlocking equipment, described attribute of a relation comprises described first attribute of a relation, and described service identifiers comprises the mark of described first kind service;
Wherein, " subscriber equipment " herein refers to as user's service, carries out interactive a series of equipment, such as: mobile phone, water heater, refrigerator, washing machine, TV, air-conditioning, desktop computer, mobile computer, flat computer etc. with user; " main interlocking equipment " refers to subscriber equipment to be linked, such as, need the water heater obtaining temperature data; " by interlocking equipment " refers to the subscriber equipment that certain class can be provided to serve for " main interlocking equipment ", certainly, do not refer to that this is existed to provide to main interlocking equipment especially by certain class of interlocking equipment service, only refer to that this is possessed the service ability of the type by interlocking equipment, in linkage process, lucky main interlocking equipment needs such service.Such as have the air-conditioning of temperature sensor, refrigerator, so air-conditioning and refrigerator all belong to " by interlocking equipment ";
" first kind service " is " main interlocking equipment " current required service, and such as the object of interlock initiated by water heater is to obtain temperature data, so " first kind service " refer to the service that temperature data can be provided; Water heater also may need the service of other type, as " Second Type service ", " the 3rd type of service " etc." first kind service " can be the service of acquiescence, and such as water heater in use only needs to obtain the service of temperature data, or the most frequently used service of water heater obtains temperature data;
" the first attribute of a relation " refers to a certain class attribute of a relation between " main interlocking equipment " and " by interlocking equipment ", and such as water heater is to the distance of air-conditioning, water heater to the distance (distance property) of refrigerator; " attribute of a relation " refers to the relation data between certain specific two equipment, have expressed the relation between these two equipment, can be the data transmission bauds, the priority attribute being directed to certain equipment etc. between distance property, two equipment;
" mark of first kind service " is the service identifiers corresponding to " first kind service ", if " first kind service " is acquiescence, then described " mark of first kind service " is the service identifiers of acquiescence;
Step S102, according to described first attribute of a relation got, described at least one by interlocking equipment in select at least one for setting up the target device of interlock;
" interlock " refers to mutual control between equipment, be mutually related interactive process, such as, obtain service, send interacting activity between the equipment such as data;
If the first attribute of a relation got is unique, corresponding to so described first attribute of a relation is target device by interlocking equipment; If, get main interlocking equipment and multiple described by the first attribute of a relation between interlocking equipment, can putting in order according to described attribute of a relation, select the target device that at least one links, or, select closest to preset value the first attribute of a relation corresponding to by interlocking equipment as target device, or, according to preset policy selection target device;
Adopt above-described embodiment, the interlock of equipment room can be automatically performed, decrease artificial participation, improve Consumer's Experience; In addition, in the interlock scene of household electrical appliances/home equipment, can find according to the situation of current scene household electrical appliances/home equipment that corresponding function is provided intelligently, reduce energy consumption, and add accuracy and the validity of equipment linkage.
As shown in Figure 2, in some illustrative embodiments, said method can be applied to net control device side;
" net control device " refers to that a class is safeguarded the miscellaneous equipment in network, controls in this article, data store, a series of equipment of scheduling, such as gateway, home network framework equipment, Set Top Box, server, router etc.;
Concrete grammar flow process is as follows:
Step S201, obtain database, the appearance form of database can be various, such as list, topological diagram etc.; The method obtaining database can be:
Receive comprise described main interlocking equipment and sent by the multiple subscriber equipmenies of interlocking equipment comprise facility information (when described first attribute of a relation is distance property, described facility information can be the positional information of each subscriber equipment) registration request, according to facility information and the layout of each subscriber equipment, set up described database; Or, arranged by user and generate described database; Or, pre-configured when described database dispatches from the factory;
Step S202, receives the linkage request that described main interlocking equipment is sent, and described linkage request comprises the mark of first kind service;
Wherein, the order of step S201 and step S202 can be exchanged;
Step S203, obtain main interlocking equipment and at least one possess first kind service ability by the first attribute of a relation between interlocking equipment, specifically comprise: the mark of the described first kind being served is mated with the information in database, finds described at least one by interlocking equipment; The first attribute of a relation described at least one is extracted from described database; Wherein, described database at least comprise described main interlocking equipment and described at least one by the service identifiers of the attribute of a relation of interlocking equipment and the described at least one service provided by interlocking equipment, described attribute of a relation comprises described first attribute of a relation, and described service identifiers comprises the mark of described first kind service;
Alternatively, when multiple stage service equipment needs the described first kind to serve, in the process of the first attribute of a relation described in said extracted, also comprise and the device identification of main interlocking equipment being mated in a database simultaneously, to guarantee that the first attribute of a relation extracted is described main interlocking equipment and by the attribute of a relation between interlocking equipment; The device identification of described main interlocking equipment may be carried by above-mentioned registration request, or, carried by described linkage request, or net control device is inherently known;
Step S204, according to described first attribute of a relation got, described at least one by interlocking equipment in select at least one target device for setting up interlock; Wherein the quantity of target device can be arrange according to the demand of main interlocking equipment, or, send to main interlocking equipment according at least one target device of policy selection preset, determined the object of interlock by main interlocking equipment;
Step S205, the first message is sent to described main interlocking equipment, described first message comprises the interlock information of at least one target device described, described interlock information can be title, the IP(procotol of target device, InternetProtocol) address, MAC(medium access control, MediaAccessControl) address etc.
In some illustrative embodiments, the method shown in Fig. 1 can also be applied to user equipment side, and as main interlocking equipment, as shown in Figure 3, described method is as follows:
Step S301, obtains the facility information of this main interlocking equipment;
When described first attribute of a relation is distance property, described facility information can be the positional information of each subscriber equipment.
Optionally, the message sent by receiving other subscriber equipment gets the facility information of this main interlocking equipment; Or, the facility information getting this main interlocking equipment is set by user; Or, pre-set when the facility information of this main interlocking equipment dispatches from the factory; Or the facility information of the multiple subscriber equipmenies sent according to described net control device or other subscriber equipment described generates described database.
Step S302, sends the registration request comprising the facility information of main interlocking equipment, generates described database to make described net control device according to described facility information to described net control device.
If database needs to generate according to the facility information of each equipment in net control device side, the main interlocking equipment of main interlocking equipment, then perform this step.
Step S303, obtains database;
The appearance form of database can be various, such as list, topological diagram etc.;
Optionally, this database obtains by the broadcast receiving net control device transmission;
Or, receive the described database that other subscriber equipment sends;
Or, arranged by user and generate described database;
Or, pre-configured when described database dispatches from the factory;
Or the facility information of the multiple subscriber equipmenies sent according to described net control device or other subscriber equipment described generates described database.
Step S304, receives the triggering signal that other subscriber equipment or net control device are sent; Or, identify the operation of user, generate described triggering signal;
Described triggering signal comprises the mark of first kind service;
This step and step S303 can put upside down, and namely after receiving triggering signal, obtain described database;
If main interlocking equipment only has a kind of service function, then the service identifiers being designated acquiescence of first kind service; Or although main interlocking equipment has multiple service function, respective services is a corresponding service identifiers respectively, is provided with default service mark, and default service mark corresponds to the most frequently used service of main interlocking equipment, and such setting simplifies system; When Operation system setting during default service mark, in some cases, when not carrying the mark of described first kind service in triggering signal, then this triggering signal is also equivalent to carry default service mark, namely trigger main interlocking equipment and carry out corresponding default service, such as, trigger the washing function of washing machine;
Wherein, step S301 and S302 is all optional steps, and step S303 and step S304 and above-mentioned steps all do not have inevitable ordinal relation, such as, when the first time startup of main interlocking equipment or initialization, after acquisition triggering signal, can perform step S301; Or step S304, before step S301, namely just obtained database before acquisition facility information;
Step S305, obtain from this database this main interlocking equipment and at least one possess first kind service ability by the first attribute of a relation between interlocking equipment;
Preferably, the mark of the described first kind being served is mated with the information in database, finds described at least one by interlocking equipment; The first attribute of a relation described at least one is extracted from described database; Wherein, described database at least comprise described main interlocking equipment and described at least one by the service identifiers of the attribute of a relation of interlocking equipment and the described at least one service provided by interlocking equipment, described attribute of a relation comprises described first attribute of a relation, and described service identifiers comprises the mark of described first kind service;
Step S306, according to described first attribute of a relation got, described at least one by interlocking equipment in select at least one target device for setting up interlock;
The process selected can be random, or, strategy according to presetting is selected, or, select according to putting in order of the first attribute of a relation, as: select corresponding to the first maximum or minimum attribute of a relation by interlocking equipment as target device, or, qualifiedly presented to user by interlocking equipment by display screen by all, allow user's select target equipment;
Step S307, links with the carrying out of at least one target device described in selection.
Be described below by specific embodiment:
When water heater has found that multiple stage has the equipment of temperature sensor, can pass through the nearest equipment of chosen distance oneself, obtain corresponding temperature data, temperature data now can represent current indoor temperature more accurately.Is the specific embodiment that the present invention is applied to net control device side shown in Fig. 4, and in this embodiment, the first attribute of a relation is distance property, and as main interlocking equipment and by the distance between interlocking equipment, concrete method is as follows:
Step S401: user imports family's layout by the device A (as smart mobile phone, panel computer, PC, intelligent television etc.) with human-computer interaction interface to net control device (gateway/server); This family's layout can be users from networks is downloaded or is generated by other instrument, and as Fig. 5 shows one family layout, A/B/C/D/E/F in Figure 5 represents certain intelligent appliance/home equipment respectively;
Gateway generates a room topology graph of a relation according to this layout, as shown in Figure 6; Wherein all there is certain relation between every two houses, represent with the line between two houses; This line represents the distance between house, and described attribute of a relation can be defined by user, or arranges when being dispatched from the factory by gateway.Such as, kitchen is 3 meters to the distance in bedroom 1, and the line property value so between kitchen and bedroom 1 is 3, and the distance between kitchen to corridor is 2 meters, and so between them, the property value of line is 2; Suppose that there is a water heater toilet, and all there is temperature sensor in bedroom 1, parlor, corridor, if set property as distance, so water heater will obtain the temperature on the temperature sensor of minimum distance, i.e. temperature on the air-conditioning in corridor;
Be it should be noted that mandatory requirement layout (Fig. 5), to the conversion of room topology graph of a relation (Fig. 6), because likely user directly generates or download to room topology graph of a relation (Fig. 6), does not then configure Fig. 6 to gateway here; Certainly, also likely gateway oneself is just prefabricated Fig. 5 or Fig. 6;
Step S402: user is each household electrical appliances by device A, comprises equipment B (main interlocking equipment), equipment C(by interlocking equipment) and miscellaneous equipment setting position attribute (facility information), the house title at this position and equipment place;
Step S403: home appliance sends registration request to gateway and registers, and carries its position attribution in the registration request; Namely the object of registration is the existence in order to allow gateway know home appliance, because equipment B and equipment C have obtained position attribution (corresponding to which room in Fig. 6, if equipment C is in corridor, equipment B is in toilet), therefore gateway is just aware of all home appliances position residing in figure 6, therefore be also just equivalent to the equipment topological relation figure (Fig. 7) converted between an equipment, and the distance property in each room (attribute of a relation) has also become the distance property between distinct device;
Step S404: equipment B initiates linkage request to gateway, as water heater acquisition request contains the interlock information of the equipment of indoor temperature transmitter;
Step S405: gateway is according to equipment topological relation figure (Fig. 7), extraction equipment B and temperature data can be provided at least one by the distance property between interlocking equipment, the equipment C(air-conditioning that chosen distance equipment B (water heater) is nearest) as target device, and to the interlock information (as relevant informations such as addresses) of equipment B Returning equipment C;
Step S406: the interlock information that equipment B returns according to gateway and equipment C link, as water heater obtains indoor temperature data to the air-conditioning on corridor.
In some illustrative embodiments, in above-mentioned scene, said method is applied to subscriber equipment, as equipment B (main interlocking equipment) selects interlock target device (equipment C) according to layout/topological relation figure oneself, as shown in Figure 8, comprising:
Step S801 to S803 is consistent with step S401 to S403;
Step S804, gateway carries out to all devices broadcasting the equipment topological relation figure (Fig. 7) oneself safeguarded; Equipment B receives the broadcast of gateway, gets equipment topological relation figure;
Step S805, when equipment B will link, such as equipment B, instant heating hydrophone receives triggering signal (" water temperature being controlled to 38 degrees Celsius "), then equipment B is minimum according to attribute of a relation (distance property) the chosen distance attribute in equipment topological relation figure, namely the equipment C(air-conditioning that distance equipment B is nearest) link, obtain temperature data from equipment C, and carry out water temp. heating control according to the temperature data got;
In some illustrative embodiment, described equipment topological relation figure can be the graph of a relation between equipment B and other subscriber equipment, namely, equipment B only can safeguard the attribute of a relation between the miscellaneous equipment relevant with main interlocking equipment, does not comprise the attribute of a relation between miscellaneous equipment in this equipment topological relation figure.
As shown in Figure 9, in some illustrative embodiments, when not having net control device (gateway) in home network, equipment B can obtain layout or house graph of a relation by other subscriber equipment (as device A), or directly obtain relation of equipment, detailed process is as follows:
Step S901, user generates/imports family's layout
User to the device A with human-computer interaction interface, as input layout such as smart mobile phone, PAD, PC, intelligent television (Fig. 5) or room topology graph of a relation (Fig. 6); Device A also can pass through alternate manner, as being prefixed layout or room topology graph of a relation when dispatching from the factory;
Optionally, that device A obtains by the way can be equipment topological relation figure (Fig. 7), the at least one attribute of a relation (comprising the first attribute of a relation, i.e. distance property) between COS and each equipment that in network, each equipment provides is comprised in this equipment topological relation figure;
Step S902, this step is optional, user is each household electrical appliances (comprising equipment B and equipment C) setting position information (facility information) by device A, the positional information of each equipment is associated with layout (Fig. 5), equipment topological relation figure (Fig. 7);
Preferably, this positional information is the house title at each equipment place;
If that device A obtains is equipment topological relation figure (Fig. 7), and each equipment knows its device name, then this step can be saved;
Step S903, user issues equipment topological relation figure (Fig. 7) by device A to all devices;
Optionally, can also be that equipment B sends the request of acquisition equipment topological relation figure to device A, described equipment topological relation figure be sent to equipment B by device A;
Optionally, equipment topological relation figure in device A is the graph of a relation between all subscriber equipmenies, after device A receives the request of equipment B, in order to reduce taking of space, device A extraction equipment B and to the new equipment topological relation figure between the equipment that equipment B provides service from this figure, and send to equipment B;
Step S904, equipment B links according to positional information and equipment C
Equipment B gets equipment topological relation figure (Fig. 7) by device A, then first, equipment B is the positional information that it is arranged according to device A, matches the position at its place from equipment topological relation figure; Secondly, because comprise the COS that in network, each equipment provides in this equipment topological relation figure, thus can according to the COS of current needs find this type of can be provided to serve at least one by interlocking equipment; Finally, extract main interlocking equipment and all by the distance property between interlocking equipment, select interlock target device (equipment C) to link.
In some illustrative embodiment, described database also can present with first relation of equipment (Figure 10) of non-fully UNICOM, between line indication equipment between equipment, there is certain relation, for example, equipment 1 is connected with equipment 2, equipment 4, and so indication equipment 1 and equipment 2, equipment 4 can link; And equipment 1 and equipment 3 do not have line, cannot link between indication equipment 1 and equipment 3; Every bar line all represents the attribute of a relation between distinct device.
In some illustrative embodiments, described device relationships attribute also can be the priority between equipment, and as shown in figure 11, the line between distinct device no longer represents distance property, but priority detailed process is as follows:,
Step S1101, user imports the relation of equipment of family to gateway by device A, relation of equipment describes the attribute of a relation between equipment;
Here it is emphasized that, first relation of equipment (Figure 10) just gives a simple example, in fact, can also in the mode of full-mesh, as the second relation of equipment (Figure 12), namely all devices is all be connected between two, but the line between equipment can be set up certain attribute of a relation, as priority; Equipment, when linking, selects interlock object according to attribute of a relation (priority attribute); Such as, during priority attribute value less expression interlock, priority is higher, and the value of the priority attribute between equipment 1 and equipment 2 is 2, is 1, and is 100 with the priority attribute of equipment 3, equipment 5, equipment 6 with the value of the priority attribute of equipment 4; Therefore, equipment 1, when linking, selects the equipment that priority attribute value is minimum, i.e. equipment 4; For an actual example, if equipment 1 is water heater, and equipment 2 be the temperature sensor (refrigerator) in bedroom, equipment 4 is the temperature sensor (air-conditioning) of toilet, equipment 3 is electric rice cooker, equipment 5 is TV, equipment 6 is washing machine; Clearly, equipment 1 there is no and may link with equipment 3,5,6, and therefore property value is set to 100; And equipment 1 is very possible links with equipment 2 and equipment 4, and to coexist toilet due to equipment 1 and equipment 4, therefore property value is 1, first selects equipment 4(air-conditioning when namely representing and link);
Step S1102, each equipment is registered to gateway, and namely the object of registration is the existence in order to allow gateway know home appliance;
Step S1103, the gateway cycle or periodically to all devices broadcast oneself safeguard relation of equipment;
Step S1104, when equipment 1 will link, links according to attribute of a relation (priority attribute) the selection equipment 4 in relation of equipment.
Shown in Figure 13 be a kind of user link set up equipment 1300.
In some illustrative embodiments, described equipment 1300, comprising:
Acquiring unit 1301, for obtain main interlocking equipment and at least one possess first kind service ability by the first attribute of a relation between interlocking equipment;
Selected cell 1302, for according to described first attribute of a relation that gets, described at least one by interlocking equipment in select at least one for setting up the target device of interlock.
In some illustrative embodiments, when acquiring unit 1301 get described be multiple by interlocking equipment time, described selected cell 1302 also comprises:
First chooser unit 13021, for putting in order according to multiple described first attribute of a relation, selects described at least one by the target device of interlocking equipment as interlock; Or,
Second chooser unit 13022, for select closest to corresponding to the first attribute of a relation of preset value by interlocking equipment as target device.
In some illustrative embodiments, described first attribute of a relation is distance property, priority attribute or transmission speed, and described acquiring unit 1301 comprises:
First obtains subelement 13011, for obtaining described distance property according to the position at each equipment place.
In some illustrative embodiments, described equipment 1300 also comprises:
Transmitting element 1303, after getting at least one target device described for described selected cell 1302, send the first message to described main interlocking equipment, described first message comprises the interlock information of at least one target device described; Or,
Linkage unit 1304, after getting at least one target device described, links at least one target device described in described main interlocking equipment and selection for described selected cell 1302.
In some illustrative embodiments, described acquiring unit 1301 also comprises:
Second obtains subelement 13012, mates, find described at least one by interlocking equipment for the mark of the described first kind being served with the information in database;
3rd obtains subelement 13013, for extracting the first attribute of a relation described at least one from described database;
Wherein, described database at least comprise described main interlocking equipment and described at least one by the service identifiers of the attribute of a relation of interlocking equipment and each described at least one service provided by interlocking equipment, described attribute of a relation comprises described first attribute of a relation, described service identifiers comprises the mark of described first kind service, and described database is obtained by Database Unit 1305.
In some illustrative embodiments, described Database Unit 1305 comprises:
First database subsystem unit 13051, described main interlocking equipment and at least one registration request comprising facility information sent by multiple subscriber equipmenies of interlocking equipment described is comprised for receiving, according to facility information and the layout of each subscriber equipment, set up described database; Or,
Second database subsystem unit 13052, generates described database for being arranged by user; Or,
3rd database subsystem unit 13053, pre-configured described database during for dispatching from the factory.
In some illustrative embodiments, described Database Unit 1305 comprises:
4th database subsystem unit 13054, for the broadcast by receiving net control device, obtains described database; Or,
5th database subsystem unit 13055, for receiving the described database that other subscriber equipment sends; Or,
6th database subsystem unit 13056, generates described database for being arranged by user; Or,
7th database subsystem unit 13057, pre-configured described database during for dispatching from the factory;
8th database subsystem unit 13058, the facility information for the multiple subscriber equipmenies sent according to described net control device or other subscriber equipment described generates described database.
In some illustrative embodiments, described equipment 1300 also comprises:
Receiving element 1306, before obtaining the first attribute of a relation described at least one, receives the linkage request that described main interlocking equipment is sent for described acquiring unit 1301, and described linkage request comprises the mark of the first kind service of described main interlocking equipment.
In some illustrative embodiments, described equipment 1300, also comprises:
First trigger element 1307, before obtaining the first attribute of a relation described at least one for described acquiring unit 1301, the triggering signal that described in receiving, other subscriber equipment or described net control device are sent; Or,
Second trigger element 1308, before obtaining the first attribute of a relation described at least one, by identifying the operation of user, generates described triggering signal for described acquiring unit 1301;
Described triggering signal comprises the mark of described first kind service, and the mark of described first kind service corresponds to described first kind service.
In some illustrative embodiments, described equipment 1300, also comprises:
Information unit 1309, before getting described database, obtains the facility information of described main interlocking equipment for described Database Unit 1305; Described information unit 1309 comprises:
First information subelement 13091, the message for sending by receiving other subscriber equipment gets the facility information of described first user, and other subscriber equipment described is the subscriber equipment except described main interlocking equipment; Or,
Second information sub-elements 13092, for arranging the facility information getting described main interlocking equipment by user; Or,
3rd information sub-elements 13093, pre-sets the facility information of described main interlocking equipment during for dispatching from the factory.
In some illustrative embodiments, described equipment 1300, also comprises:
Registering unit 1310, before obtaining described database, sends the registration request comprising the facility information of described main interlocking equipment for described 4th database subsystem unit 13054 to described net control device.
Adopt above-described embodiment, following effect can be reached:
By the facility information of intelligent appliance/home equipment, carry out the interlock between automatic actuating equipment, decrease artificial participation, improve Consumer's Experience;
In the interlock scene of household electrical appliances/home equipment, can find according to the situation of current scene household electrical appliances/home equipment that corresponding function is provided intelligently, reduce energy consumption, and add accuracy and the validity of equipment linkage.
Those skilled in the art it is also understood that various illustrative box, module, circuit and the algorithm steps combining embodiment herein and describe all can be embodied as electronic hardware, computer software or its combination.In order to the interchangeability between hardware and software is clearly described, all carry out usually describing around its function to various illustrative parts, frame, module, circuit and step above.Be embodied as hardware as this function or be embodied as software, the design constraint depending on specific application and whole system is applied.Those skilled in the art for each application-specific, can realize described function in the mode of accommodation, but, thisly realize decision-making and should not be construed as and deviate from protection range of the present disclosure.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.