Invention content
The brief overview about the present invention is given below, in order to provide the basic reason about certain aspects of the invention
Solution.It should be appreciated that this general introduction is not the exhaustive general introduction about the present invention.It is not intended to determine the key of the present invention
Or pith, nor is it intended to limit the scope of the present invention.Its purpose only provides certain concepts in simplified form, with
This is as the preamble in greater detail discussed later.
The present invention provides a kind of data sharing method, device and system and home equipment, in the range of certain space
Home equipment between realize the automatic shared of data.
In a first aspect, the present invention provides a kind of data sharing method, including:
Obtain the data sharing request of the first home equipment;
It determines to be located at away from the range of the first home equipment certain space and can providing corresponding with data sharing request
Second home equipment of shared data;
The shared data is obtained to second home equipment and is sent to first home equipment.
Second aspect, the present invention also provides another data sharing method, including:
Generate the data sharing request of the first home equipment;
The data sharing request is sent to intelligent home control device, for asking the intelligent home control device true
It is positioned at away from the range of the first home equipment certain space and can providing and the corresponding shared data of data sharing request
Second home equipment simultaneously obtains the shared data to second home equipment;
Receive the shared data that the intelligent home control device is sent.
The third aspect, the present invention also provides a kind of data sharing device, including:
Acquisition request module, for obtaining the data sharing of the first home equipment request;
Target home equipment determining module, for determining to be located at away from the range of the first home equipment certain space and can carrying
For the second home equipment with the corresponding shared data of data sharing request;
Shared data processing module, for obtaining the shared data to second home equipment and being sent to described the
One home equipment.
Fourth aspect, the present invention also provides a kind of home equipment, including:
Module is requested to generate, for generating the data sharing of home equipment request;
Request sending module is asked for sending the data sharing to intelligent home control device, described for asking
Intelligent home control device determine be located at away from the range of home equipment certain space and can provide and the data sharing request phase
Second home equipment of the shared data answered simultaneously obtains the shared data to second home equipment;
Shared data receiving module, for receiving the shared data that the intelligent home control device is sent.
5th aspect, the present invention also provides a kind of data-sharing systems, including:Multiple home equipments and respectively with respectively
The above-mentioned data sharing device of home equipment communication connection;At least one in the multiple home equipment is above-mentioned household
Equipment.
Technical solution provided by the invention can realize the automatic shared of data between the home equipment in the range of certain space,
Timely, the accurate and validity of data sharing is advantageously implemented, improves the intelligence degree of home equipment control, can be met pair
Home equipment carries out the application demand of Internet of Things intelligent control.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Described in the attached drawing of the present invention or a kind of embodiment
Elements and features can be combined with the elements and features shown in one or more other attached drawings or embodiment.It should
Note that it for purposes of clarity, is omitted in attached drawing and explanation unrelated to the invention, known to persons of ordinary skill in the art
Component and the expression and description of processing.Based on the embodiments of the present invention, those of ordinary skill in the art are not paying creation
Property labour under the premise of all other embodiments obtained, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of data sharing method that the embodiment of the present invention one provides.Data sharing provided in this embodiment
The executive agent of method can be a data sharing device, which can be an autonomous device(Such as server)Or
Person, the data sharing device can be integrated in a certain home equipment, and the present invention is to this without limiting.As shown in Figure 1, this implementation
The data sharing method that example provides includes:
Step 11:Obtain the data sharing request of the first home equipment.
Step 12:Determine be located at away from the range of the first home equipment certain space and can provide with the data sharing please
Seek the second home equipment of corresponding shared data.
Step 13:The shared data is obtained to second home equipment and is sent to first home equipment.
First home equipment or the second home equipment may include but be not limited to:Electrical equipment, intelligent door/window, intelligent switch
Valve, home gateway etc..
First home equipment can generate data sharing request according to self-demand, and data sharing request is sent to data
Sharing means.Data sharing device carries out position and the attributes match of target home equipment automatically, that is, determines to be located at away from first hand
It occupies in the range of equipment certain space and the second home equipment with the corresponding shared data of data sharing request can be provided.
Later, data sharing device obtains and the corresponding shared data of data sharing request to the second home equipment, and by shared data
It is sent to the first home equipment.
It can be seen that data sharing method provided in this embodiment can be realized between the home equipment in the range of certain space
The automatic of data is shared, and is advantageously implemented timely, the accurate and validity of data sharing, improves the intelligence of home equipment control
Change degree can meet the application demand that Internet of Things intelligent control is carried out to home equipment.
In above-mentioned technical proposal, optionally, the step 12 may include step 121- steps 122.
Step 121:According to the data sharing requesting query database, the data sharing request includes:Shared data
Type, the database purchase have multiple home equipment respective positions information and functional attributes information.
Step 122:Determine that location information meets away from the range of the first home equipment certain space and work(according to query result
It can attribute information and the second home equipment of the shared data type matching.
Program data sharing device determines the second home equipment based on the information of database purchase, is conducive to raising second
The convenience and accuracy that home equipment determines.
Optionally, the location information can be the spatial coordinate data that corresponding home equipment is in placed in the middle, such as household house type
Layout distributed intelligence and/or location coordinate information in figure etc..Spatial dimension can be a certain regional extent in household, such as space
Range can be in a certain room in household.
Optionally, the spatial dimension is pre-set, and the program is simple, and cost of implementation is low.Alternatively, the data sharing please
Seek the middle relevant information for carrying the spatial dimension, the spatial dimension of the program can be by sending out the first household of data sharing request
Equipment determines, is conducive to improve shared data and the first matched accuracy of home equipment self-demand, and then more preferably meets the
The data application demand of one home equipment.
Fig. 2 is the flow chart of data sharing method provided by Embodiment 2 of the present invention.Data sharing provided in this embodiment
The executive agent of method can be a home equipment, hereinafter referred to as the first home equipment.As shown in Fig. 2, number provided in this embodiment
Include according to sharing method:
Step 21:Generate the data sharing request of the first home equipment.
Step 22:The data sharing request is sent to intelligent home control device, for asking the smart home control
Device processed determine be located at away from the range of the first home equipment certain space and can provide it is corresponding with data sharing request be total to
It enjoys the second home equipment of data and obtains the shared data to second home equipment;
Step 23:Receive the shared data that the intelligent home control device is sent.
First home equipment or the second home equipment may include but be not limited to:Electrical equipment, intelligent door/window, intelligent switch
Valve, home gateway etc..
First home equipment can generate data sharing request according to self-demand.For example, the first home equipment can determine certainly
The workpiece that body breaks down;It is raw according to the functional attributes information of the workpiece of the first household device fails
Data sharing into first home equipment is asked.In the program, different home equipments can provide same or similar function
The data of workpiece can realize it is shared, even if a certain home equipment(Such as the first home equipment)In a workpiece failure,
It also can be by way of data sharing to other home equipments for being provided with same or similar workpiece(As the second household is set
It is standby)Shared data is obtained, to meet the demand data of the first home equipment normal work.It can be carried altogether in data sharing request
The information such as the type of data are enjoyed, to improve the convenience and accuracy that data sharing device determines the second home equipment.
After generation data sharing request, the first home equipment sends data sharing request to data sharing device.
Data sharing device carries out position and the attributes match of target home equipment automatically, that is, determines to be located at certain away from the first home equipment
In spatial dimension and the second home equipment with the corresponding shared data of data sharing request can be provided.Later, data are common
Device is enjoyed to the acquisition of the second home equipment and the corresponding shared data of data sharing request, and shared data is sent to first hand
Occupy equipment.
It can be seen that data sharing method provided in this embodiment can be realized between the home equipment in the range of certain space
The automatic of data is shared, and is advantageously implemented timely, the accurate and validity of data sharing, improves the intelligence of home equipment control
Change degree can meet the application demand that Internet of Things intelligent control is carried out to home equipment.
Above-mentioned each data sharing method describes technical solution provided by the invention from different perspectives respectively.One optional
Application scenarios are for example:The air-conditioning installed in a certain room of household cannot be just when the temperature sensor set thereon breaks down
Often work, then air-conditioning generation give data sharing dress for obtaining the data sharing request Concurrency of the temperature data in the room
It puts, data sharing device determines to be located at the other equipment with temperature sensor in the room by inquiring database(Such as intelligence
Hygrometer), and the temperature data in the room is obtained to Intelligent humidometer, the temperature data in the room is sent to air-conditioning, air-conditioning
It can be worked normally according to the temperature data of acquisition.It should be noted that the application scenarios are merely illustrative, should not
It is interpreted as the limitation of the technology of the present invention essence.
Fig. 3 is the structure diagram of data sharing device that the embodiment of the present invention three provides.Data provided in this embodiment
Sharing means can be used for the data sharing method for realizing that the embodiment of the present invention one provides.As shown in figure 3, number provided in this embodiment
Include according to sharing means:Acquisition request module 31, target home equipment determining module 32 and shared data processing module 33.
Acquisition request module 31 is asked for obtaining the data sharing of the first home equipment.
Target home equipment determining module 32 is for determining to be located at away from the range of the first home equipment certain space and can carrying
For the second home equipment with the corresponding shared data of data sharing request.
Shared data processing module 33 is used to obtain the shared data to second home equipment and be sent to described
First home equipment.
Data sharing device provided in this embodiment can carry out the position of target home equipment according to data sharing request automatically
It puts and attributes match, that is, determines to be located at away from the range of the first home equipment certain space and can provide please with the data sharing
The second home equipment of corresponding shared data is sought, shared number corresponding with data sharing request is obtained to the second home equipment
According to, and shared data is sent to the first home equipment, thus it can realize data between the home equipment in the range of certain space
It is automatic shared, be advantageously implemented timely, the accurate and validity of data sharing, improve the intelligent journey of home equipment control
Degree can meet the application demand that Internet of Things intelligent control is carried out to home equipment.
Based on the above technical solution, optionally, the target home equipment determining module may include:Query unit
And determination unit.Query unit is used for according to the data sharing requesting query database, and the data sharing request includes:Altogether
Data type is enjoyed, the database purchase has the location information of multiple home equipments and functional attributes information.Determination unit is used for
According to query result determine location information meet away from the range of the first home equipment certain space and functional attributes information with it is described
Second home equipment of shared data type matching.Program data sharing device determines second based on the information of database purchase
Home equipment is conducive to improve convenience and accuracy that the second home equipment determines.
Optionally, the location information can be the spatial coordinate data that corresponding home equipment is in placed in the middle, such as household house type
Layout distributed intelligence and/or location coordinate information in figure etc..Spatial dimension can be a certain regional extent in household, such as space
Range can be in a certain room in household.
Optionally, the spatial dimension is pre-set, and the program is simple, and cost of implementation is low.Alternatively, the data sharing please
Seek the middle relevant information for carrying the spatial dimension, the spatial dimension of the program can be by sending out the first household of data sharing request
Equipment determines, is conducive to improve shared data and the first matched accuracy of home equipment self-demand, and then more preferably meets the
The data application demand of one home equipment.
The form of expression of the equipment entity of data sharing device provided in an embodiment of the present invention is unrestricted, such as:The number
Can be an autonomous device according to sharing means(Such as server), alternatively, the data sharing device can be integrated in a certain home equipment
In etc., operation principle can be found in the corresponding record of above-mentioned data sharing method embodiment and attached drawing, and details are not described herein.
Fig. 4 is the structure diagram of home equipment that the embodiment of the present invention four provides.Home equipment provided in this embodiment
Available for realizing data sharing method provided by Embodiment 2 of the present invention.As shown in figure 4, home equipment packet provided in this embodiment
It includes:Request to generate module 41, request sending module 42 and shared data receiving module 43.
Module 41 is requested to generate for generating the data sharing of home equipment request.
Request sending module 42 is used to send the data sharing request to intelligent home control device, described for asking
Intelligent home control device determine be located at away from the range of home equipment certain space and can provide and the data sharing request phase
Second home equipment of the shared data answered simultaneously obtains the shared data to second home equipment;
Shared data receiving module 43 is used to receive the shared data that the intelligent home control device is sent.
Home equipment provided in this embodiment can generate data sharing request according to self-demand, and data sharing is asked
Data sharing device is sent to, carries out position and the attributes match of target home equipment automatically by data sharing device, that is, is determined
In the range of away from the first home equipment certain space and can provide with the corresponding shared data of data sharing request
Two home equipments, later, data sharing device to the second home equipment obtain and the corresponding shared data of data sharing request, and
Shared data is sent to the first home equipment.As it can be seen that home equipment provided in this embodiment can in the range of certain space
Other home equipments realize the automatic shared of data, are advantageously implemented timely, the accurate and validity of data sharing, improve house
The intelligence degree of equipment control is occupied, the application demand that Internet of Things intelligent control is carried out to home equipment can be met.
Based on the above technical solution, optionally, home equipment may also include:Fault determination module 44.Failure is true
Cover half block 44 is used to determine the workpiece that the home equipment breaks down.It is specifically used for correspondingly, requesting to generate module 41
According to the functional attributes information of the workpiece of the first household device fails, the number of first home equipment is generated
According to sharing request.In the program, the data that different home equipments can provide the workpiece of same or similar function can be realized altogether
It enjoys, even if a certain home equipment(Such as the first home equipment)In a workpiece failure, also can be by way of data sharing
To other home equipments for being provided with same or similar workpiece(Such as the second home equipment)Shared data is obtained, to meet the
The demand data of one home equipment normal work.The information such as the type of shared data can be carried in data sharing request, to carry
High data sharing device determines the convenience and accuracy of the second home equipment.
The form of expression of the equipment entity of home equipment provided in an embodiment of the present invention is unrestricted, such as:Home equipment
It may include but be not limited to:Electrical equipment, intelligent door/window, Intellectual valve, home gateway etc., operation principle can be found in above-mentioned
The corresponding record of data sharing method embodiment and attached drawing, details are not described herein.
Fig. 5 is the structure diagram of data-sharing systems that the embodiment of the present invention five provides.Data provided in this embodiment
Shared system may include:Multiple home equipments 51 and the respectively data sharing device 52 with the communication connection of each home equipment,
In, the data sharing device 52 is such as above-described embodiment three and data sharing device shown in Fig. 3;The multiple home equipment
In at least one be above-described embodiment four and home equipment shown in Fig. 4.The data of the present embodiment data-sharing systems
Sharing method and achievable technique effect, referring to the record of above-mentioned data sharing method embodiment, details are not described herein.
Based on the above technical solution, optionally, data-sharing systems may also include:Database.The database is used
In being stored with the multiple home equipment respective positions information and functional attributes information.The database can be stored in data sharing
On device, alternatively, the database can be stored in the other equipment communicated to connect with data sharing device, the present invention to this not
Limitation.Program data sharing device can determine that the target home equipment of shared data can be provided based on the information of database purchase
(Such as the second home equipment), be conducive to improve convenience and accuracy that the second home equipment determines.
In the various embodiments described above of the present invention, the serial number of embodiment is merely convenient of description, does not represent the quality of embodiment.It is right
The description of each embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, may refer to the phase of other embodiment
Close description.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and aforementioned program can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned storage medium includes:Read-only memory(Read-
Only Memory, abbreviation ROM), random access memory(Random Access Memory, abbreviation RAM), magnetic disc or light
The various media that can store program code such as disk.
In the embodiments such as apparatus and method of the present invention, it is clear that each component or each step be can decompose, combine and/
Or reconfigured after decomposing.These decompose and/or reconfigure the equivalent scheme that should be regarded as the present invention.It is meanwhile right above
In the description of the specific embodiment of the invention, the feature for describing and/or showing for a kind of embodiment can be with same or like
Mode used in one or more other embodiments, it is combined or substitute it with the feature in other embodiment
Feature in its embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, element, step or component when being used herein, but simultaneously
It is not excluded for the presence or additional of one or more other features, element, step or component.
Finally it should be noted that:Although the present invention and its advantage are described in detail above it should be appreciated that not
Various changes can be carried out in the case of the spirit and scope of the present invention being defined by the claims appended hereto, substitute and
Transformation.Moreover, the scope of the present invention is not limited only to the specific reality of the described process of specification, equipment, means, method and steps
Apply example.One of ordinary skilled in the art from the disclosure it will be readily understood that according to the present invention can use hold
The row function essentially identical to corresponding embodiment described herein obtains result, the existing and future essentially identical with it
Process, equipment, means, method or step to be developed.Therefore, appended claim is intended to wrap in the range of them
Include such process, equipment, means, method or step.