CN107566233A - The resource share method and device of home appliance - Google Patents
The resource share method and device of home appliance Download PDFInfo
- Publication number
- CN107566233A CN107566233A CN201710932788.3A CN201710932788A CN107566233A CN 107566233 A CN107566233 A CN 107566233A CN 201710932788 A CN201710932788 A CN 201710932788A CN 107566233 A CN107566233 A CN 107566233A
- Authority
- CN
- China
- Prior art keywords
- resource
- home appliance
- data processing
- processing request
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of resource share method of home appliance, obtains the control operation of the first home appliance, and determines to handle the resource of control operation;Obtain the second home appliance for possessing resource;Data processing request is generated according to resource, and data processing request is sent to the second home appliance, so that the second home appliance feeds back corresponding data according to data processing request.The invention also discloses the resource-sharing detection means and storage medium of home appliance.The first home appliance can control the second home appliance to carry out correspondingly control operation in the present invention, and without being controlled by specific gateway or control centre so that the control to household electrical appliances in Internet of Things is more convenient.
Description
Technical field
The present invention relates to the resource share method and device of Internet of Things field, more particularly to a kind of home appliance.
Background technology
Internet of things home appliance refers to apply technology of Internet of things in products such as air-conditioning, refrigerator, washing machine, television sets.With
The development of science and technology, internet of things home appliance species gradually increase, and such household electrical appliances is more exposed to the favor of consumer, is widely used.
, it is necessary to be associated to equipment and pass through phase when generally requiring mutually to be controlled between each household electrical appliances in Internet of Things
The gateway answered or control centre realize, cause the control in Internet of Things between each household electrical appliances relatively complicated.
The content of the invention
It is a primary object of the present invention to provide the resource share method and device of a kind of home appliance, it is intended to solve existing
In technology Internet of Things relatively complicated technical problem is controlled between each household electrical appliances.
To achieve the above object, the present invention provides a kind of resource share method of home appliance, the money of the home appliance
Source sharing method comprises the following steps:
The control operation of the first home appliance is obtained, and determines the resource handled the control operation;
Obtain the second home appliance for possessing the resource;
Data processing request is generated according to the resource, and the data processing request is sent to the second home appliance,
So that second home appliance feeds back corresponding data according to the data processing request.
Alternatively, the acquisition also includes before possessing the step of the second home appliance of the resource:
Judge whether first household electrical appliances possess the resource;
When first household electrical appliances do not possess the resource, second home appliance for obtaining and possessing the resource is performed
The step of.
Alternatively, described the step of generating data processing request according to the resource, includes:
Obtain URI Uniform Resource Identifiers corresponding to the resource;
The data processing request is generated according to the URI.
Alternatively, after the acquisition possesses the step of the second home appliance of the resource, in addition to:
Judge whether to get the second home appliance for possessing the resource;
When getting the second home appliance for possessing the resource, perform described according to resource generation data processing
The step of request;
When not getting the second home appliance for possessing the resource, the prompt message that can not be handled is exported.
Alternatively, described to send the data processing request the step of the second home appliance, the household electrical appliances are set
Standby resource share method also includes:
When not receiving the response message of the second home appliance feedback within a preset time interval, multicast address information
Obtain request;
Receiving when obtaining the address information of request feedback according to the address information, obtaining in the address information
The IP address matched with the fixing address of second home appliance;
The IP address of second home appliance is updated using the IP address, and number is regenerated according to the IP address
Asked according to processing, and the data processing request is sent to the second home appliance.
Alternatively, the resource share method of the home appliance also includes:
When not receiving the response message of the second home appliance feedback within a preset time interval, to described second
Electric equipment resends the data processing request;
Renewal resends the number of the data processing request;
When the number for resending the data processing request is more than preset times, performs the multicast address information and obtain
The step of taking request.
Alternatively, the resource share method of the home appliance also includes:
When receiving the data processing request of the 3rd home appliance transmission, the money in the data processing request is obtained
Source;
According to the corresponding data of the resource acquisition, and by the data feedback got to the 3rd home appliance.
Alternatively, described the step of generating data processing request according to the resource, includes:
The data processing request is generated according to the control operation and the resource.
Alternatively, the step of data corresponding according to the resource acquisition include:
Obtain the type of the resource;
When the type of the resource is data processing, the result data handled according to the control operation is obtained,
And return to control result data;
When the type of the resource is digital independent, part corresponding to resource described in the second home appliance is told in acquisition
The data detected.
Alternatively, described send the data processing request to the step of the second home appliance includes:
When the second home appliance corresponding to the resource is multiple, the priority of each home appliance is obtained;
The data processing request is sent to second home appliance of highest priority.
In addition, to achieve the above object, the present invention also proposes a kind of resource shared device of home appliance, and the household electrical appliances are set
Standby resource shared device includes:Memory, processor and it is stored on the memory and can runs on the processor
Home appliance resource-sharing program, the resource-sharing program of the home appliance realized during the computing device such as with
The step of resource share method of upper described home appliance.
In addition, to achieve the above object, the present invention also proposes a kind of resource share method of home appliance, and the household electrical appliances are set
Standby resource share method includes:
Second home appliance obtains the data processing when receiving the data processing request of the first home appliance transmission
Resource information in request, wherein, the resource that the first home appliance is handled control operation is obtained, is given birth to according to the resource
Sent into data processing request, and by the data processing request to the second home appliance;
The Resource Properties in the resource information are obtained, processing operation are carried out according to the Resource Properties, with described in acquisition
The data that processing operation obtains;
By the data feedback to first home appliance.
Alternatively, it is described to carry out processing operation according to the Resource Properties, to obtain the data that the processing operation obtains
The step of include:
Obtain the attribute of the resource;
When the attribute of the resource is data processing, the result data handled according to the control operation is obtained,
And return to control result data;
When the attribute of the resource is digital independent, part corresponding to resource described in the second home appliance is told in acquisition
The data detected.
In addition, to achieve the above object, the present invention also proposes a kind of resource shared device of home appliance, and the household electrical appliances are set
Standby resource shared device includes:Memory, processor and it is stored on the memory and can runs on the processor
Home appliance resource-sharing program, the resource-sharing program of the home appliance realized during the computing device such as with
The step of resource share method of home appliance described in upper any one.
The resource share method and device for the home appliance that the embodiment of the present invention proposes, obtain the control of the first home appliance
Operation, and resource corresponding to control operation is determined, the second home appliance according to corresponding to obtaining resource, and generated according to the resource
Data processing request, and data processing request is sent to the second home appliance, to cause the second home appliance according to the data
Processing request responds the control operation so that and the first home appliance can control the second home appliance to carry out correspondingly control operation,
And without being controlled by specific gateway or control centre so that the control to household electrical appliances in Internet of Things is more convenient.
Brief description of the drawings
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of the resource share method first embodiment of present inventor's electric equipment;
Fig. 3 is the schematic flow sheet of the resource share method second embodiment of present inventor's electric equipment;
Fig. 4 is the schematic flow sheet of the resource share method 3rd embodiment of present inventor's electric equipment;
Fig. 5 is the schematic flow sheet of the resource share method sixth embodiment of present inventor's electric equipment.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
The control operation of the first home appliance is obtained, and determines resource corresponding to the control operation;
Obtain the second home appliance corresponding to the resource;
Data processing request is generated according to the resource, and the data processing request is sent to the second home appliance,
So that second home appliance responds the control operation according to the data processing request.
, it is necessary to enter to equipment during due to generally requiring mutually to be controlled between each household electrical appliances in Internet of Things in the prior art
Row association is simultaneously realized by corresponding gateway or control centre, causes the control in Internet of Things between each household electrical appliances more numerous
It is trivial.
The present invention provides a solution, obtains the control operation of the first home appliance, and determines that control operation is corresponding
Resource, the second home appliance according to corresponding to obtaining resource, and data processing request is generated according to the resource, and by data
Reason request is sent to the second home appliance, to cause the second home appliance to respond the control operation according to the data processing request,
So that the first home appliance can control the second home appliance to carry out correspondingly control operation, and without by specific gateway or
Control centre is controlled so that the control to household electrical appliances in Internet of Things is more convenient.
As shown in figure 1, Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Device of the embodiment of the present invention is home appliance.
As shown in figure 1, the device can include:Processor 1001, such as CPU, network interface 1003, memory 1004,
Communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components.Network interface 1003 is optional
For wave point (such as WI-FI interfaces), blue tooth interface and ZIGBEE radio network interfaces.Memory 1004 can be high
Fast RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory
The 1004 optional storage devices that can also be independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe the resource-sharing program of module, Subscriber Interface Module SIM and home appliance.
In the terminal shown in Fig. 1, network interface 1003 is mainly used in connecting background server, is carried out with background server
Data communicate;And processor 1001 can be used for the resource-sharing program for calling the home appliance stored in memory 1004, and
Perform following operate:
The control operation of the first home appliance is obtained, and determines resource corresponding to the control operation;
Obtain the second home appliance corresponding to the resource;
Data processing request is generated according to the resource, and the data processing request is sent to the second home appliance,
So that second home appliance responds the control operation according to the data processing request.
Further, before the step of obtaining the electricity consumption data in the first prefixed time interval, processor 1001 can be with
The resource-sharing program of the home appliance stored in memory 1004 is called, also performs following operate:
Judge whether first household electrical appliances have resource corresponding to the control operation;
When first household electrical appliances do not have resource corresponding to the control operation, described obtain corresponding to the resource is performed
The step of second home appliance.
Further, after the step of obtaining the electricity consumption data in the first prefixed time interval, processor 1001 can be with
The resource-sharing program of the home appliance stored in memory 1004 is called, also performs following operate:
Obtain URI Uniform Resource Identifiers corresponding to the resource;
The data processing request is generated according to the URI.
Further, the resource-sharing information of the home appliance of preparatory condition is met in generation electricity cost, described in output
The step of recommendation information, includes, and processor 1001 can call the resource-sharing journey of the home appliance stored in memory 1004
Sequence, perform following operate:
Judge whether to get the second home appliance corresponding to the resource;
When getting the second home appliance corresponding to the resource, perform described according to resource generation data processing
The step of request;
When not getting the second home appliance corresponding to the resource, multicast resource obtains request.
Further, before the step of generating recommendation information according to the minimum charging mode of electricity cost, processor
1001 can call the resource-sharing program of the home appliance stored in memory 1004, also perform following operate:
When not receiving the response message of the second home appliance feedback within a preset time interval, multicast address information
Obtain request;
Receiving when obtaining the address information of request feedback according to the address information, obtaining in the address information
The IP address matched with the fixing address of second home appliance;
The IP address of second home appliance is updated using the IP address, and number is regenerated according to the IP address
Asked according to processing, and the data processing request is sent to the second home appliance.
Further, the resource-sharing information of the home appliance of preparatory condition is met in generation electricity cost, described in output
The step of recommendation information, includes, and processor 1001 can call the resource-sharing journey of the home appliance stored in memory 1004
Sequence, also perform following operate:
When not receiving the response message of the second home appliance feedback within a preset time interval, to described second
Electric equipment resends the data processing request;
Renewal resends the number of the data processing request;
When the number for resending the data processing request is more than preset times, performs the multicast address information and obtain
The step of taking request.
Further, after the step of marking the recommendation information according to the attribute of charging mode, processor 1001 can
To call the resource-sharing program of the home appliance stored in memory 1004, following operate also is performed:
When receiving the data processing request of the 3rd home appliance transmission, the money in the data processing request is obtained
Source;
According to the corresponding data of the resource acquisition, and by the data feedback got to the 3rd home appliance.
Reference picture 2, the resource share method first embodiment of present inventor's electric equipment, the resource-sharing of the home appliance
Method includes:
Step S10, the control operation of the first home appliance is obtained, and determine the money handled the control operation
Source;
The application layer of first home appliance can install multiple applications, and various control behaviour is can trigger in the running of application
Make, such as when receiving voice signal, the control operation of triggering may be speech recognition, or, enter in the first home appliance
, it is necessary to obtain ambient parameter during row control, the control operation of triggering is to obtain ambient parameter, such as humidity and temperature.
Resource may include functional part (such as sensor) and operational capability (such as image procossing in equipment, information, equipment
And facial recognition capability etc.), resource can pass through URI (Uniform Resource Identifier, URL)
Realize, the resource of miscellaneous equipment in Internet of Things is stored with each home appliance, it may include the whole of miscellaneous equipment in Internet of Things
Resource, it also can only include the resource for electric equipment of breaking up the family in the middle part of Internet of Things.
Resource model is preset in the present embodiment, by the state that each resource impact is entity in resource model, such as
The value that some sensor sample obtains in equipment can be mapped as the resource of entity in the resource model, and the mark of the resource is then
To be mapped to the state of entity, other such as operational capabilities and equipment behavior can be mapped as entity, facilitate LAN to carry out
It is shared.
Resource model group will include entity, resource, finger URL (URI), resource type, attribute, resource identification, interface, collection
Close and connection, entity be it is visible, can mutual operation, come out by resource abstract representation, identify and related grasp using URI
Make, attribute is " key=value ", and represents resource status.Resource identification is the snapshot of attribute, and URI is that Resource Encapsulation is got up use
URI identifies, handles and named resource.
Step S20, obtain the second home appliance for possessing the resource;
Step S30, data processing request is generated according to the resource, and the data processing request is sent to second
Electric equipment, so that second home appliance responds the control operation according to the data processing request.
Each resource is corresponding with URI, and address, the port of each resource are may include in each URI, such as URI's is abstract
Structure may include shac://IP address:Port/<path><query>, the IP of the second equipment can be got according to the URI
Location, to be communicated with the second equipment according to the IP address, i.e., included according to the step of resource generation data processing request:
Obtain URI Uniform Resource Identifiers corresponding to the resource;The data processing request is generated according to the URI.
Second home appliance obtains the URI information in the data processing request, root when receiving the data processing request
The resource is obtained according to URI, and corresponding control operation is carried out according to resource, for example, when resource is the value that sensor detects,
The value that sensor is detected feeds back to the first equipment;When resource is computing capability such as speech recognition capabilities, to what is received
Voice messaging in the data processing request is identified, to obtain corresponding voice identification result, and by the speech recognition knot
Fruit feeds back to the first home appliance, that is, responds the control operation of the first home appliance, and the resource is alternatively to the second home appliance
Control parameter, by the way that operation the mark of Resource Properties is identified corresponding to each resource.
The data and resource in may include control operation during processing request are provided in generation, also can only include resource, the number
Data in being asked according to processing can be determined by the attribute of resource.
The resource share method for the home appliance that the present embodiment proposes, the control operation of the first home appliance is obtained, and really
Determine resource corresponding to control operation, the second home appliance according to corresponding to obtaining resource, and data processing is generated according to the resource
Request, and data processing request is sent to the second home appliance, to cause the second home appliance according to the data processing request
Responding the control operation so that the first home appliance can control the second home appliance to carry out correspondingly control operation, and without logical
Cross specific gateway or control centre is controlled so that the control to household electrical appliances in Internet of Things is more convenient.
Further, reference picture 3, the resource share method second for proposing present inventor's electric equipment based on first embodiment are implemented
Example, in the present embodiment, include after the step S10:
Step S40, judges whether first household electrical appliances possess the resource;
When first household electrical appliances do not possess the resource, perform the step S20 and obtain and possess the of the resource
Two home appliances.
Each resource is to being corresponding with IP address, in the IP of IP address and the first equipment of resource corresponding to control operation
During the difference of location, illustrate that the first home appliance without corresponding resource, then obtains the second home appliance corresponding to the resource.
It is understood that when the first household electrical appliances have stated resource corresponding to control operation, directly the first household electrical appliances are controlled to set
Standby control operation, such as control operation of responding is obtains ambient humidity, if having humidity sensor on the first home appliance,
Then illustrate that the first home appliance has corresponding resource, directly obtain the humidity data that humidity sensor detects to obtain.
Further, due to the second home appliance in Internet of Things at any time may power down or closing, then the second home appliance
The control operation of the first equipment may not be responded.Then when the state of the second home appliance changes such as shutdown, by second
The state of home appliance sends to the first home appliance, the first home appliance and resource can carried out according to the status information received
Modification is deleted, such as the shutdown of the second home appliance, then deletes the resource.
In technical scheme disclosed in the present embodiment, when getting resource corresponding to control operation, equipment sheet can be first determined
Whether body possesses the resource, when equipment possesses the resource in itself, can first respond the control operation, in equipment in itself without the money
During source, then realized by the second home appliance, improve the efficiency and accuracy of control.
Further, reference picture 4, the resource share method of present inventor's electric equipment is proposed based on first or second embodiments
3rd embodiment, in the present embodiment, also include step after step S30:
Step S50, when not receiving the response message of the second home appliance feedback within a preset time interval, multicast
Address information obtains request;
Step S60, receiving when obtaining the address information of request feedback according to the address information, obtaining describedly
The IP address matched in the information of location with the fixing address of second home appliance;
Step S70, the IP address of second home appliance is updated using the IP address, and according to the IP address weight
Newly-generated data processing request, and the data processing request is sent to the second home appliance.
Because IP address is dynamic address, when being networked again after home appliance power-off or suspension, the IP of home appliance
Address can change, but home appliance have fixing address as MAC Address and UUID addresses be it is constant, then can be by obtaining house
The fixing address of electric equipment determines IP address, in the address information of home appliance feedback with may include fixing address and IP
Location, the IP address of the second home appliance is determined by fixing address, and the second household electrical appliances are updated using the IP address got and set
Standby IP address, and data processing request is sent to new IP address.
After home appliance adds LAN, each home appliance is added in a home appliance group, predeterminable to be somebody's turn to do
The port of home appliance group, in multicast, the port is added in the address information of multicast packet so that home appliance group
Each home appliance in group can receive the multicast packet.
It is understood that network problem causes the packet packet loss sent when possible, then within a preset time interval not
When receiving the response message of the second home appliance feedback, the data processing is resend to second home appliance
Request;Renewal resends the number of the data processing request;It is more than in the number for resending the data processing request
During preset times, the step of performing the multicast address information acquisition request.Ensure that the second home appliance connects by repeatedly sending
The data processing request of the first home appliance transmission is received, improves the accuracy of LAN control.
In technical scheme disclosed in the present embodiment, obtained by way of multicast each home appliance physical address and
IP address, to obtain the newest IP address of the second home appliance, improve the accuracy that home appliance controls in local area network.
Further, the resource share method the 4th of present inventor's electric equipment is proposed based on the first to the 3rd any embodiment
Embodiment, in the present embodiment, the resource share method of the home appliance also include:
When receiving the data processing request of the 3rd home appliance transmission, the money in the data processing request is obtained
Source;
According to the corresponding data of the resource acquisition, and by the data feedback got to the 3rd home appliance.
In the present embodiment, the first home appliance can also be used as server end as client, in the first home appliance
During as client, resource can be asked to other home appliances such as the second home appliance, that is, send data processing request to second
Home appliance, or, when the first home appliance is as server end, other home appliances such as the 3rd home appliance hair can be obtained
The data processing request sent, the 3rd home appliance ask resource, the first household electrical appliances by data processing request to the first home appliance
Equipment is by according to the data feedback that data processing request is got to the 3rd home appliance.
The step of data corresponding according to the resource acquisition, includes:Obtain the type of the resource;In the resource
When type is controls, the result data handled according to the control operation is obtained, and return to control result data;Described
When the type of resource is digital independent, the data for telling that part corresponding to resource detects described in the second home appliance are obtained.
In the present embodiment, it can obtain the resource type of resource, such as when resource type is that wind-force is adjusted, obtain control behaviour
Parameter in work, according to the parameter carry out wind-force regulation, or resource type be digital independent such as resource type be electricity unite
Timing, obtain the electric quantity data of reading.
When handling acquisition request data according to processing, the URI in the data processing request can be obtained, it is true according to the URI
Fixed corresponding data access port, calling and the reading of data are carried out by the port.
In technical scheme disclosed in the present embodiment, the first home appliance can not only be used for the home appliance of client call second
Resource, the resource of the first home appliance can be also asked by the 3rd home appliance as server end so that the function of home appliance
It is more abundant.
Further, the resource share method the 5th for proposing present inventor's electric equipment based on any of the above-described embodiment is implemented
Example, in the present embodiment, included according to the step of resource generation data processing request:
The data processing request is generated according to the control operation and the resource.
Resources all in the present embodiment can identify according to resource type is divided into polytype, such as resource type can wrap
Include wind-force regulation, air quality, switch and humidity and temperature etc., resource type for control such as wind-force regulation when, can basis
Control operation and the resource generate the data processing request, when resource type is digital independent, directly foundation can provide
Source generates data processing request.
Further, the resource share method the 5th for proposing present inventor's electric equipment based on any of the above-described embodiment is implemented
Example, in the present embodiment, described send the data processing request to the step of the second home appliance includes:
When the second home appliance corresponding to the resource is multiple, the priority of each home appliance is obtained;
The data processing request is sent to second home appliance of highest priority.
In the present embodiment, possess the home appliance of same asset may have it is multiple, such as in air conditioner and dehumidifier
May there is humidity sensor, now need the priority of each home appliance of equipment, so that home appliance is called, such as
The priority of home appliance, or the sequencing connected according to home appliance can be set according to the performance of each home appliance
Priority to set home appliance etc..
In technical scheme disclosed in the present embodiment, the accurate of resource is realized by setting the priority of each home appliance
Obtain, improve the accuracy of control.
Reference picture 5, the resource share method sixth embodiment of present inventor's electric equipment is proposed, it is in the present embodiment, described
The resource share method of home appliance includes:
Step S80, the second home appliance is when receiving the data processing request of the first home appliance transmission, described in acquisition
Resource information in data processing request, wherein, the resource that the first home appliance is handled control operation is obtained, according to institute
Resource generation data processing request is stated, and the data processing request is sent to the second home appliance;
Step S90, the resource type in the resource information is obtained, processing operation is carried out according to the resource type, with
Obtain the data that the processing operation obtains;
Step S100, by the data feedback to first home appliance.
When the second home appliance is as server end, the number of other home appliances such as the first home appliance transmission can be obtained
Asked according to processing, the first home appliance asks resource by data processing request to the second home appliance, and the second home appliance will
According to the data feedback that data processing request is got to the first home appliance.
When handling acquisition request data according to processing, the URI in the data processing request can be obtained, it is true according to the URI
Fixed corresponding data access port, calling and the reading of data are carried out by the port.
In the present embodiment, the control operation of the first home appliance is obtained, and determines resource corresponding to the control operation;
Obtain the second home appliance corresponding to the resource;Data processing request is generated according to the resource, and by the data processing
Request is sent to the second home appliance, so that second home appliance feeds back corresponding number according to the data processing request
According to.
In technical scheme disclosed in the present embodiment, the first home appliance obtains processing control operation by the second home appliance
Corresponding resource, so that the first home appliance can control the second home appliance to carry out correspondingly control operation, and without passing through spy
Fixed gateway or control centre is controlled so that the control to household electrical appliances in Internet of Things is more convenient.
Further, the embodiment of resource share method the 7th of present inventor's electric equipment is proposed based on sixth embodiment,
It is described to carry out processing operation according to the Resource Properties in the present embodiment, to obtain the step for the data that the processing operation obtains
Suddenly include:
Obtain the type of the resource;
When the resource type of the resource is controls, the result data handled according to the control operation is obtained,
And return to control result data;
When the resource type of the resource is digital independent, acquisition is told described in the second home appliance corresponding to resource
The data that part detects.
In the present embodiment, it can obtain the resource type of resource, such as when resource type is that wind-force is adjusted, obtain control behaviour
Parameter in work, according to the parameter carry out wind-force regulation, or resource type be digital independent such as resource type be electricity unite
Timing, obtain the electric quantity data of reading.
In technical scheme disclosed in the present embodiment, the first home appliance returns to response message after operation is controlled, and makes
It is more accurate to control.
In addition, the present invention also proposes a kind of resource shared device of electricity consumption home appliance, the resource of electricity consumption home appliance is total to
Enjoying device includes:Memory, processor and it is stored in the charging mode that can be run on the memory and on the processor
Option program, realize that the resource of electricity consumption home appliance as described above is total to when the option program of charging mode is executed by processor
The step of enjoying method.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (14)
- A kind of 1. resource share method of home appliance, it is characterised in that the resource share method of the home appliance include with Lower step:The control operation of the first home appliance is obtained, and determines the resource handled the control operation;Obtain the second home appliance for possessing the resource;Data processing request is generated according to the resource, and the data processing request is sent to the second home appliance, for Second home appliance feeds back corresponding data according to the data processing request.
- 2. the resource share method of home appliance as claimed in claim 1, it is characterised in that the acquisition possesses the resource The second home appliance the step of before also include:Judge whether first household electrical appliances possess the resource;When first household electrical appliances do not possess the resource, the step of second home appliance for obtaining and possessing the resource is performed Suddenly.
- 3. the resource share method of home appliance as claimed in claim 1, it is characterised in that described to be generated according to the resource The step of data processing request, includes:Obtain URI Uniform Resource Identifiers corresponding to the resource;The data processing request is generated according to the URI.
- 4. the resource share method of the home appliance as described in claim any one of 1-3, it is characterised in that the acquisition possesses After the step of second home appliance of the resource, in addition to:Judge whether to get the second home appliance for possessing the resource;When getting the second home appliance for possessing the resource, perform described according to resource generation data processing request The step of;When not getting the second home appliance for possessing the resource, the prompt message that can not be handled is exported.
- 5. the resource share method of the home appliance as described in claim any one of 1-3, it is characterised in that described by the number Sent according to processing request the step of the second home appliance, the resource share method of the home appliance also includes:When not receiving the response message of the second home appliance feedback within a preset time interval, multicast address acquisition of information Request;Receiving the address information of request feedback is obtained according to the address information when, obtain in the address information with institute State the IP address of the fixing address matching of the second home appliance;The IP address of second home appliance is updated using the IP address, and is regenerated according to the IP address at data Reason request, and the data processing request is sent to the second home appliance.
- 6. the resource share method of home appliance as claimed in claim 5, it is characterised in that the resource of the home appliance is total to Enjoying method also includes:When not receiving the response message of the second home appliance feedback within a preset time interval, set to second household electrical appliances It is standby to resend the data processing request;Renewal resends the number of the data processing request;When the number for resending the data processing request is more than preset times, performing the multicast address acquisition of information please The step of asking.
- 7. the resource share method of the home appliance as described in claim any one of 1-3, it is characterised in that described in the basis The step of resource generation data processing request, includes:The data processing request is generated according to the control operation and the resource.
- 8. the resource share method of the home appliance as described in claim any one of 1-3, it is characterised in that the home appliance Resource share method also include:When receiving the data processing request of the 3rd home appliance transmission, the resource in the data processing request is obtained;According to the corresponding data of the resource acquisition, and by the data feedback got to the 3rd home appliance.
- 9. the resource share method of described home appliance as claimed in claim 8, it is characterised in that obtained according to the resource The step of taking corresponding data includes:Obtain the type of the resource;When the type of the resource is controls, the result data handled according to the control operation is obtained, and return to control Result data processed;When the type of the resource is digital independent, acquisition tells that part corresponding to resource detects described in the second home appliance The data arrived.
- 10. the resource share method of home appliance as claimed in claim 1, it is characterised in that described to ask the data processing Transmission to the step of the second home appliance is asked to include:When the second home appliance corresponding to the resource is multiple, the priority of each home appliance is obtained;The data processing request is sent to second home appliance of highest priority.
- 11. a kind of resource share method of home appliance, it is characterised in that the resource share method of the home appliance includes:Second home appliance obtains the data processing request when receiving the data processing request of the first home appliance transmission In resource information, wherein, obtain the resource that is handled control operation of the first home appliance, number generated according to the resource Asked according to processing, and the data processing request is sent to the second home appliance;The resource type in the resource information is obtained, processing operation is carried out according to the resource type, to obtain the processing Operate obtained data;By the data feedback to first home appliance.
- 12. the resource share method of home appliance as claimed in claim 11, it is characterised in that described according to the Resource Properties Processing operation is carried out, is included with obtaining the step of processing operates obtained data:Obtain the type of the resource;When the resource type of the resource is controls, the result data handled according to the control operation is obtained, and return Return control result data;When the resource type of the resource is digital independent, part corresponding to resource described in the second home appliance is told in acquisition The data detected.
- 13. a kind of resource shared device of home appliance, it is characterised in that the resource shared device of the home appliance includes: Memory, processor and the resource-sharing journey for being stored in the home appliance that can be run on the memory and on the processor Sequence, the resource-sharing program of the home appliance are realized such as any one of claim 1 to 10 institute during the computing device The step of resource share method for the home appliance stated.
- 14. a kind of resource shared device of home appliance, it is characterised in that the resource shared device of the home appliance includes: Memory, processor and the resource-sharing journey for being stored in the home appliance that can be run on the memory and on the processor Sequence, the resource-sharing program of the home appliance are realized such as any one of claim 11 to 12 institute during the computing device The step of resource share method for the home appliance stated.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710932788.3A CN107566233B (en) | 2017-09-30 | 2017-09-30 | Resource sharing method and device for household electrical appliance |
PCT/CN2018/081464 WO2019062058A1 (en) | 2017-09-30 | 2018-03-30 | Method and device for sharing resources of home appliance devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710932788.3A CN107566233B (en) | 2017-09-30 | 2017-09-30 | Resource sharing method and device for household electrical appliance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566233A true CN107566233A (en) | 2018-01-09 |
CN107566233B CN107566233B (en) | 2020-12-11 |
Family
ID=60985156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710932788.3A Active CN107566233B (en) | 2017-09-30 | 2017-09-30 | Resource sharing method and device for household electrical appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566233B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108376078A (en) * | 2018-02-26 | 2018-08-07 | 广东美的制冷设备有限公司 | Upgrade method, device and the household appliance of equipment |
CN108490896A (en) * | 2018-03-08 | 2018-09-04 | 广东美的制冷设备有限公司 | Appliances equipment control method, household appliance and storage medium |
CN108959463A (en) * | 2018-06-19 | 2018-12-07 | 广东美的厨房电器制造有限公司 | Information sharing method and household appliance and information sharing system and storage medium |
CN108983627A (en) * | 2018-07-27 | 2018-12-11 | 广东美的制冷设备有限公司 | Household appliance and its data sharing method, device and computer readable storage medium |
WO2019062058A1 (en) * | 2017-09-30 | 2019-04-04 | 广东美的制冷设备有限公司 | Method and device for sharing resources of home appliance devices |
CN109918350A (en) * | 2019-02-25 | 2019-06-21 | 佛山市顺德区美的洗涤电器制造有限公司 | The method, apparatus of data sharing between household appliance and household electrical appliances |
CN113179197A (en) * | 2021-03-02 | 2021-07-27 | 广州朗国电子科技有限公司 | Household appliance resource sharing method, household appliance resource sharing equipment and storage device |
CN114198878A (en) * | 2020-09-17 | 2022-03-18 | 青岛海信电子产业控股股份有限公司 | Air quality adjusting method and intelligent equipment |
CN115484116A (en) * | 2022-08-30 | 2022-12-16 | 海尔优家智能科技(北京)有限公司 | Equipment data processing method and device, storage medium and electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101414180A (en) * | 2008-11-07 | 2009-04-22 | 深圳创维-Rgb电子有限公司 | Remote control method, system and remote control equipment |
CN103561131A (en) * | 2013-11-11 | 2014-02-05 | 南车株洲电力机车研究所有限公司 | Vehicle-mounted equipment real-time addressing method and system based on Ethernet |
CN103576656A (en) * | 2013-11-05 | 2014-02-12 | 青岛海尔软件有限公司 | Method, device and system for controlling household appliances |
CN103970081A (en) * | 2013-02-04 | 2014-08-06 | 海尔集团公司 | Intelligent home control method, intelligent home control device and intelligent home control system |
CN103997441A (en) * | 2013-02-17 | 2014-08-20 | 海尔集团公司 | Data sharing method, device and system and household equipment |
WO2014185571A1 (en) * | 2013-05-16 | 2014-11-20 | 전자부품연구원 | Method for providing special effects for home cinema |
CN104880956A (en) * | 2015-05-29 | 2015-09-02 | 四川长虹电器股份有限公司 | Information processing method and first intelligent household device |
CN106375575A (en) * | 2016-08-31 | 2017-02-01 | 海尔优家智能科技(北京)有限公司 | Method and device for responding to communication request |
-
2017
- 2017-09-30 CN CN201710932788.3A patent/CN107566233B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068339A (en) * | 2007-06-01 | 2007-11-07 | 华为技术有限公司 | Method, server and user end for realizing video frequency requested program broadcasting-like services |
CN101414180A (en) * | 2008-11-07 | 2009-04-22 | 深圳创维-Rgb电子有限公司 | Remote control method, system and remote control equipment |
CN103970081A (en) * | 2013-02-04 | 2014-08-06 | 海尔集团公司 | Intelligent home control method, intelligent home control device and intelligent home control system |
CN103997441A (en) * | 2013-02-17 | 2014-08-20 | 海尔集团公司 | Data sharing method, device and system and household equipment |
WO2014185571A1 (en) * | 2013-05-16 | 2014-11-20 | 전자부품연구원 | Method for providing special effects for home cinema |
CN103576656A (en) * | 2013-11-05 | 2014-02-12 | 青岛海尔软件有限公司 | Method, device and system for controlling household appliances |
CN103561131A (en) * | 2013-11-11 | 2014-02-05 | 南车株洲电力机车研究所有限公司 | Vehicle-mounted equipment real-time addressing method and system based on Ethernet |
CN104880956A (en) * | 2015-05-29 | 2015-09-02 | 四川长虹电器股份有限公司 | Information processing method and first intelligent household device |
CN106375575A (en) * | 2016-08-31 | 2017-02-01 | 海尔优家智能科技(北京)有限公司 | Method and device for responding to communication request |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019062058A1 (en) * | 2017-09-30 | 2019-04-04 | 广东美的制冷设备有限公司 | Method and device for sharing resources of home appliance devices |
CN108376078A (en) * | 2018-02-26 | 2018-08-07 | 广东美的制冷设备有限公司 | Upgrade method, device and the household appliance of equipment |
CN108490896B (en) * | 2018-03-08 | 2022-03-11 | 广东美的制冷设备有限公司 | Household appliance control method, household appliance and storage medium |
CN108490896A (en) * | 2018-03-08 | 2018-09-04 | 广东美的制冷设备有限公司 | Appliances equipment control method, household appliance and storage medium |
CN108959463A (en) * | 2018-06-19 | 2018-12-07 | 广东美的厨房电器制造有限公司 | Information sharing method and household appliance and information sharing system and storage medium |
CN108983627B (en) * | 2018-07-27 | 2022-06-17 | 广东美的制冷设备有限公司 | Household appliance and data sharing method and device thereof, and computer readable storage medium |
CN108983627A (en) * | 2018-07-27 | 2018-12-11 | 广东美的制冷设备有限公司 | Household appliance and its data sharing method, device and computer readable storage medium |
CN109918350A (en) * | 2019-02-25 | 2019-06-21 | 佛山市顺德区美的洗涤电器制造有限公司 | The method, apparatus of data sharing between household appliance and household electrical appliances |
CN114198878A (en) * | 2020-09-17 | 2022-03-18 | 青岛海信电子产业控股股份有限公司 | Air quality adjusting method and intelligent equipment |
CN114198878B (en) * | 2020-09-17 | 2023-08-04 | 青岛海信电子产业控股股份有限公司 | Air quality adjusting method and intelligent equipment |
CN113179197A (en) * | 2021-03-02 | 2021-07-27 | 广州朗国电子科技有限公司 | Household appliance resource sharing method, household appliance resource sharing equipment and storage device |
CN115484116A (en) * | 2022-08-30 | 2022-12-16 | 海尔优家智能科技(北京)有限公司 | Equipment data processing method and device, storage medium and electronic device |
CN115484116B (en) * | 2022-08-30 | 2024-04-19 | 海尔优家智能科技(北京)有限公司 | Processing method and device of equipment data, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107566233B (en) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566233A (en) | The resource share method and device of home appliance | |
CN107592367A (en) | Resource share method, device and the computer-readable recording medium of home appliance | |
CN107800597A (en) | Data transmission method, device and the computer-readable recording medium of home appliance | |
CN108712485A (en) | A kind of resource subscription method and apparatus of internet of things equipment | |
CN106790675A (en) | Load-balancing method, equipment and system in a kind of cluster | |
CN108401037A (en) | User terminal and the binding method of equipment, device and system | |
CN103347084B (en) | A kind of more accounts unify interconnected system and correlating method | |
CN107925652B (en) | Fixed conversion method and device of transmission protocol based on message protocol identification | |
CN113656164B (en) | Task execution method, system, electronic device and computer storage medium | |
CN108650142A (en) | The control method and device of multiple gateway equipment in intelligent domestic system | |
CN112073923A (en) | Communication method, device, gateway and readable storage medium compatible with multiple operators | |
CN104410982A (en) | Terminal aggregation and refactoring method in wireless heterogeneous network | |
CN108322443A (en) | Equipment interactive communication method, apparatus, storage medium and computer equipment | |
CN107332741B (en) | Network detection method, network detection device and intelligent terminal | |
CN108737231A (en) | A kind of distribution method, apparatus, computer equipment and the storage medium of smart machine | |
CN108322557B (en) | Application equipment discovery method and device, computer equipment and storage medium | |
CN113595839B (en) | Device binding method, terminal device and storage medium | |
CN105721274B (en) | Method and device for integrating multiple instant messaging | |
CN109150720B (en) | Service chain message forwarding method, device, equipment and computer readable storage medium | |
CN108199857A (en) | Home appliance and its control method, system and computer readable storage medium | |
CN112333062A (en) | Control method and control device for household equipment and computer readable storage medium | |
WO2024067148A1 (en) | Edge interconnection service execution method, apparatus and system, electronic device, and medium | |
WO2009106677A1 (en) | Methods, apparatuses, and computer program products, for automatically finding configuration settings for services | |
CN112616171A (en) | Communication method and device based on wireless local area network and computer readable storage medium | |
CN108337137A (en) | Household appliance and its control method, system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |