[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106015068B - Domestic fan control method, device, domestic fan apparatus and system - Google Patents

Domestic fan control method, device, domestic fan apparatus and system Download PDF

Info

Publication number
CN106015068B
CN106015068B CN201610417382.7A CN201610417382A CN106015068B CN 106015068 B CN106015068 B CN 106015068B CN 201610417382 A CN201610417382 A CN 201610417382A CN 106015068 B CN106015068 B CN 106015068B
Authority
CN
China
Prior art keywords
gear
domestic fan
fan
value
distributed intelligence
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.)
Active
Application number
CN201610417382.7A
Other languages
Chinese (zh)
Other versions
CN106015068A (en
Inventor
刘铁俊
孟亚楠
刘东旭
肖波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Smartmi Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd, Beijing Smartmi Technology Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610417382.7A priority Critical patent/CN106015068B/en
Publication of CN106015068A publication Critical patent/CN106015068A/en
Application granted granted Critical
Publication of CN106015068B publication Critical patent/CN106015068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Structures Of Non-Positive Displacement Pumps (AREA)

Abstract

The disclosure discloses a kind of domestic fan control method, device, domestic fan apparatus and system, belongs to smart home field.Methods described includes:The acquisition request that domestic fan is sent is received, obtains the device identification that domestic fan is comprised at least in request;Area identification corresponding to query facility mark, area identification is the mark of domestic fan region;Gear distributed intelligence corresponding to area identification is determined, gear distributed intelligence is used for the gear Distribution value for representing each domestic fan in region;Determined to recommend gear according to gear distributed intelligence;Configured information is sent to domestic fan, configured information is used to indicate that gear value is arranged to recommend gear by domestic fan;Solve the problems, such as that domestic fan is inaccurate according only to gear selection caused by environment temperature selection gear, reached domestic fan when setting gear automatically, the selection to gear is more reasonable, more meets the effect of current environment.

Description

Domestic fan control method, device, domestic fan apparatus and system
Technical field
This disclosure relates to smart home field, more particularly to a kind of domestic fan control method, device, domestic fan device And system.
Background technology
Domestic fan is a kind of common household appliances in life.Multiple gears are usually provided with domestic fan, it is different Gear correspond to the different rotating speeds of electric fan, be also provided with temperature sensor in domestic fan, domestic fan passes through temperature Sensors sense environmental temperature is spent, and the gear of electric fan is automatically adjusted according to environment temperature.
When in the varying environment that user is in identical environment temperature, such as, user is in 37 degrees Celsius of fine day And during 37 degrees Celsius of rainy day, although environment temperature is identical, the body-sensing of user is different, if now domestic fan is only It can select gear according to environment temperature regulation stall not accurate enough.
The content of the invention
Make the not accurate enough of gear selection to solve the problems, such as domestic fan according only to environment temperature regulation stall, this It is open that a kind of domestic fan control method, device, domestic fan apparatus and system are provided.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of domestic fan control method, this method include:
The acquisition request that domestic fan is sent is received, obtains the device identification that domestic fan is comprised at least in request;
Area identification corresponding to query facility mark, area identification is the mark of domestic fan region;
Gear distributed intelligence corresponding to area identification is determined, gear distributed intelligence is used to represent each family being located in region With the gear Distribution value of fan;
Determined to recommend gear according to gear distributed intelligence;
Configured information is sent to domestic fan, configured information is used to indicate that gear value is arranged to recommend shelves by domestic fan Position.
Optionally, this method also includes:
Obtain the positional information of domestic fan;
Determine the area identification in region corresponding to positional information;
Store the corresponding relation between the device identification of domestic fan and area identification.
Optionally, the positional information of domestic fan is obtained, including:
The location information that the management terminal of domestic fan reports is received, the position that location information is defined as to domestic fan is believed Breath;
And/or
The heartbeat packet that domestic fan reports is received, IP (the Internet Protocol of domestic fan are determined according to heartbeat packet Address, Internet protocol) address, the positional information of domestic fan is determined according to IP address.
Optionally, this method also includes:
The message information that domestic fan is sent in predetermined instant is received, message information includes the device identification of domestic fan With the gear value of domestic fan;Predetermined instant be at the time of gear value is set or at predetermined time intervals determined by interval when Carve;
Streaming computing is carried out to message information and determines that area identification is in the shelves of predetermined instant corresponding to device identification in real time Bit distribution information;
Storage region identifies the corresponding relation between gear distributed intelligence.
Optionally, streaming computing is carried out to message information and determines area identification corresponding to device identification in pre- timing in real time The gear distributed intelligence at quarter, including:
Using device identification and gear value as the first of the streaming computing input traffic for handling operator, pass through the first processing Area identification and gear value corresponding to operator output equipment mark;
Using area identification and gear value as the input traffic of second processing operator, pass through second processing operator output area Gear distributed intelligence corresponding to domain identifier and area identification, gear distributed intelligence include several gear values, and each shelves The number of place value, the number of gear value are the numbers of device identification corresponding with area identification and with gear value.
Optionally, determined to recommend gear according to gear distributed intelligence, including:
The median for the gear value that gear distributed intelligence is included is as recommendation gear;
Or the average value for the gear value for including gear distributed intelligence is as recommendation gear;
Or the mode for the gear value for including gear distributed intelligence is as recommendation gear.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of domestic fan control device, the device include:
Receiving module, it is configured as receiving the acquisition request that domestic fan is sent, obtains in request and comprise at least Household wind The device identification of fan;
Enquiry module, area identification corresponding to query facility mark is configured as, area identification is domestic fan location The mark in domain;
First determining module, is configured to determine that gear distributed intelligence corresponding to area identification, and gear distributed intelligence is used for Represent the gear Distribution value of each domestic fan being located in region;
Second determining module, it is configured as being determined to recommend gear according to gear distributed intelligence;
Indicating module, it is configured as sending configured information to domestic fan, configured information is used to indicate domestic fan by shelves Place value is arranged to recommend gear.
Optionally, the device also includes:
Acquisition module, it is configured as obtaining the positional information of domestic fan;
3rd determining module, it is configured to determine that the area identification in region corresponding to positional information;
First memory module, it is configured as storing the corresponding relation between the device identification of domestic fan and area identification.
Optionally, acquisition module, it is configured as:
The location information that the management terminal of domestic fan reports is received, the position that location information is defined as to domestic fan is believed Breath;
And/or the heartbeat packet that domestic fan reports is received, the IP address of domestic fan is determined according to heartbeat packet, according to IP Address determines the positional information of domestic fan.
Optionally, the device also includes:
Message receiving module, is configured as receiving the message information that is sent in predetermined instant of domestic fan, in message information The gear value of device identification and domestic fan including domestic fan;Predetermined instant is at the time of gear value is set or every pre- Fix time the moment determined by interval;
4th determining module, it is configured as carrying out streaming computing to message information and determines area corresponding to device identification in real time Gear distributed intelligence of the domain identifier in predetermined instant;
Second memory module, the corresponding relation being configured as between storage region mark and gear distributed intelligence.
Optionally, the 4th determining module, it is configured as:
Using device identification and gear value as the first of the streaming computing input traffic for handling operator, pass through the first processing Area identification and gear value corresponding to operator output equipment mark;
Using area identification and gear value as the input traffic of second processing operator, pass through second processing operator output area Gear distributed intelligence corresponding to domain identifier and area identification, gear distributed intelligence include several gear values, and each shelves The number of place value, the number of gear value are the numbers of device identification corresponding with area identification and with gear value.
Optionally, the second determining module, it is additionally configured to:
The median for the gear value that gear distributed intelligence is included is as recommendation gear;
Or the average value for the gear value for including gear distributed intelligence is as recommendation gear;
Or the mode for the gear value for including gear distributed intelligence is as recommendation gear.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of domestic fan device, the device include:
Sending module, it is configured as sending to obtain to streaming computing system asking, obtains in request and comprise at least Household wind The device identification of fan;
Receiving module, it is configured as receiving the configured information of streaming computing system feedback, recommendation is carried in configured information Gear, gear is recommended to be area identification corresponding to streaming computing system queries device identification and determine gear corresponding to area identification After distributed intelligence, according to gear value determined by gear distributed intelligence, area identification is the mark of domestic fan region, shelves Bit distribution information is used for the gear Distribution value for representing each domestic fan in region;
Setup module, it is configured as being arranged to gear value according to configured information to recommend gear.
Optionally, the device also includes:
Position sending module, it is configured as sending the positional information of present position to streaming computing system.
Optionally, position sending module, it is configured as:
By management terminal to streaming computing system reporting orientation information, streaming computing system is used to determine location information For the positional information of domestic fan;
And/or heartbeat packet is reported to streaming computing system, streaming computing system is used to determine domestic fan according to heartbeat packet IP address and the positional information of domestic fan is determined according to IP address.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of domestic fan control device, the device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
The acquisition request that domestic fan is sent is received, obtains the device identification that domestic fan is comprised at least in request;
Area identification corresponding to query facility mark, area identification is the mark of domestic fan region;
Gear distributed intelligence corresponding to area identification is determined, gear distributed intelligence is used to represent each family being located in region With the gear Distribution value of fan;
Determined to recommend gear according to gear distributed intelligence;
Configured information is sent to domestic fan, configured information is used to indicate that gear value is arranged to recommend shelves by domestic fan Position.
According to the 5th of the embodiment of the present disclosure the aspect, there is provided a kind of domestic fan device, the device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Sent to streaming computing system and obtain request, obtain the device identification that domestic fan is comprised at least in request;
The configured information of streaming computing system feedback is received, recommendation gear is carried in configured information, it is stream to recommend gear Area identification corresponding to formula computing system query facility mark and after determining gear distributed intelligence corresponding to area identification, according to shelves Gear value determined by bit distribution information, area identification are the marks of domestic fan region, and gear distributed intelligence is used for table Show the gear Distribution value of each domestic fan in region;
Gear value is arranged to by recommendation gear according to configured information.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of domestic fan control system, the system include:Streaming meter Calculation system and domestic fan, streaming computing system are connected by wireless network with domestic fan;
Domestic fan, it is configured as sending to obtain to streaming computing system asking, obtains in request and comprise at least Household wind The device identification of fan;The configured information of streaming computing system feedback is received, recommendation gear is carried in configured information, recommends gear It is area identification corresponding to streaming computing system queries device identification and after determining gear distributed intelligence corresponding to area identification, root According to gear value determined by gear distributed intelligence, area identification is the mark of domestic fan region, and gear distributed intelligence is used In the gear Distribution value for each domestic fan for representing to be located in region;Gear value is arranged to by recommendation shelves according to configured information Position;
Streaming computing system, it is configured as receiving the acquisition request that domestic fan is sent;Area corresponding to query facility mark Domain identifier;Determine gear distributed intelligence corresponding to area identification;Determined to recommend gear according to gear distributed intelligence;To domestic fan Configured information is sent, configured information is used to indicate that gear value is arranged to recommend gear by domestic fan.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Sent by domestic fan to streaming computing system and obtain request, the family expenses are determined by streaming computing system in real time The gear Distribution value for each domestic fan that the gear distributed intelligence in the region where fan, the i.e. region include, streaming meter Gear value of the calculation system according to set by other domestic fans being located at the domestic fan in the same area pushes away to domestic fan Gear value is recommended, because the environment in the same area is similar, therefore the body-sensing of the user in the same area is also similar , and the gear value that user is the setting of domestic fan gear typically uses the gear value that family feels comfortably cool, and therefore, domestic fan Gear is arranged to recommendation gear of the streaming computing system according to the gear value determination of other domestic fans in the same area, solved The problem of gear selection is inaccurate caused by domestic fan selects gear according only to environment temperature, reached domestic fan from During dynamic setting gear, the selection to gear is more reasonable, more meets the effect of current environment.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used in specification to explain the principle of the disclosure together.
Figure 1A is the implementation environment involved by a kind of domestic fan control method exemplified according to exemplary partial implementation Schematic diagram;
Figure 1B is the implementation ring involved by another domestic fan control method exemplified according to exemplary partial implementation The schematic diagram in border;
Fig. 2 is a kind of structural representation of the streaming computing system exemplified according to exemplary partial implementation;
Fig. 3 is a kind of structural representation of the oriented graph topological structure exemplified according to exemplary partial implementation;
Fig. 4 is a kind of flow chart of domestic fan control method according to an exemplary embodiment;
Fig. 5 is a kind of flow chart of domestic fan control method according to another exemplary embodiment;
Fig. 6 is a kind of flow chart of domestic fan control method according to another exemplary embodiment;
Fig. 7 is a kind of structural representation of oriented graph topological structure according to another exemplary embodiment;
Fig. 8 is a kind of flow chart of domestic fan control method according to another exemplary embodiment;
Fig. 9 is a kind of block diagram of domestic fan control device according to an exemplary embodiment;
Figure 10 is a kind of block diagram of domestic fan control device according to another exemplary embodiment;
Figure 11 is a kind of block diagram of domestic fan device according to an exemplary embodiment;
Figure 12 is a kind of block diagram of domestic fan device according to another exemplary embodiment;
Figure 13 is a kind of block diagram of domestic fan device according to another exemplary embodiment;
Figure 14 is a kind of block diagram of domestic fan control device according to another exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Figure 1A is the implementation environment involved by a kind of domestic fan control method exemplified according to exemplary partial implementation Schematic diagram, as shown in Figure 1A, the implementation environment can include:Domestic fan 110 and streaming computing system 120.
Several gears are provided with domestic fan 110, different gears corresponds to different rotating speeds, domestic fan 110 By the way that gear is arranged into a certain particular gears, rotating speed corresponding to the particular gears is exported.Domestic fan 110 is also built-in with WiFi (Wireless-Fidelity, Wireless Fidelity) module, can pass through the wireless network such as Wi-Fi, bluetooth mode and streaming computing system System 120 is connected.
Streaming computing system 120 can be a server or by some server groups into server set Group, or a cloud computing service center.Figure 1A illustrates so that streaming computing system 120 is a server as an example.
In the implementation environment involved by the embodiment of the present disclosure, generally include multiple to be connected with streaming computing system 120 Domestic fan 110, Figure 1A are only illustrated exemplified by including 3 domestic fans 110.
Optionally, for any one domestic fan 110 in the implementation environment shown in Figure 1A, each domestic fan 110 It can also be established and connected by streaming computing system 120 and management terminal 130.Implementation environment can be as shown in Figure 1B:
Management terminal 130 can be that such as smart mobile phone, tablet personal computer, intelligent television, E-book reader, multimedia are broadcast Put device, pocket computer on knee and desktop computer etc etc. electronic equipment, management terminal 130 there is radio communication work( Energy.Management terminal 130 can perform unlatching, closing and regulation stall after being connected with domestic fan 110 to domestic fan 110 Deng operation.
Include GPS (Global Positioning System, global positioning system) in management terminal 130, management is eventually End 130 can obtain location information by GPS.
If under LAN environment, domestic fan 110 can also be joined directly together with management terminal 130, it is not necessary to streaming meter The transfer of calculation system 120.Alternatively, binding relationship be present between domestic fan 110 and management terminal 130.
Fig. 2 is a kind of structural representation of streaming computing system involved by the embodiment of the present disclosure.Alternatively, the system is extremely Include less:Main clustered node 210 and from clustered node 220.
Alternatively, the system is based on Storm platforms, and main clustered node (Nimbus) 210 is used for the work for performing needs One or more is distributed to be handled from clustered node (Supervisor) 220.One can start one from clustered node 220 Individual or multiple processes (Worker) 230, each process 230 include one or more threads 240, and each thread 240 is used to hold The main assignment of cluster 210 of row.
In the disclosed embodiments, the streaming computing system be used for run oriented graph topological structure, then main clustered node to The code distributed from clustered node in oriented graph topological structure, the structural representation of oriented graph topological structure can with as shown in figure 3, The topological structure can include:Data source (Spout) 310 and at least one processing operator (Bolt) 320.
Wherein, data source 310 be produce data node, processing operator 320 be used for data are filtered, polymerize, Calculate, the node of inquiry database processing.
Data are in the form of data flow (Stream) in real time in data source and processing operator, and processing operator and processing Transmitted between operator, the data flow of transmission includes multiple data cells (Tuple).Data cell in data flow can be divided Handled to one or more processing operator, the method for packet can be random packet, enter according to the keyword of data cell Row is grouped and all data cells is given into a processing operator and handles etc., and the present embodiment is not construed as limiting to this.
For streaming computing system when running the topological structure, each thread is used to run a data source or a processing is calculated Code in son, the data source and the code of processing operator that a topological structure includes can be by multiple from the more of clustered node Multiple threads in individual process are run.
Fig. 4 is a kind of flow chart of domestic fan control method according to an exemplary embodiment, and this method can be with Applied in the implementation environment shown in Figure 1A, this method includes the following steps:
In step 401, domestic fan sends to streaming computing system and obtains request, obtains in request and comprises at least family expenses The device identification of fan.
In step 402, streaming computing system receives the acquisition request that domestic fan is sent.
In step 403, area identification corresponding to the device identification of streaming computing system queries, area identification are domestic fans The mark of region.
In step 404, streaming computing system determines gear distributed intelligence corresponding to area identification, and gear distributed intelligence is used In the gear Distribution value for each domestic fan for representing to be located in region.
In step 405, streaming computing system determines to recommend gear according to gear distributed intelligence.
In a step 406, streaming computing system sends configured information to domestic fan, and configured information is used to indicate Household wind Gear value is arranged to recommend gear by fan.
In step 407, domestic fan receives the configured information of streaming computing system feedback.
Recommendation gear is carried in configured information, it is region corresponding to streaming computing system queries device identification to recommend gear After identifying and determining gear distributed intelligence corresponding to area identification, according to gear value determined by gear distributed intelligence, region mark Knowledge is the mark of domestic fan region, and gear distributed intelligence is used for the gear for representing each domestic fan in region Distribution value.
In a step 408, gear value is arranged to recommend gear by domestic fan according to configured information.
It should be noted that above-mentioned steps 401, step 407 and step 408 can be implemented separately as domestic fan side Domestic fan control method, above-mentioned steps 402- steps 406 can be implemented separately as the domestic fan of streaming computing system side Control method.
In summary, the domestic fan control method that the embodiment of the present disclosure provides, domestic fan are sent out to streaming computing system Acquisition is sent to ask, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan in real time, Ji Gai areas The gear Distribution value for each domestic fan that domain includes, streaming computing system are located in the same area according to the domestic fan Other domestic fans set by gear value to domestic fan recommend gear value, because the environment in the same area is similar , therefore the body-sensing of the user in the same area is also similar, and user is the gear value that domestic fan gear is set The gear value that family feels comfortably cool is typically used, therefore, gear is arranged to streaming computing system according to same area by domestic fan The recommendation gear that the gear value of other domestic fans determines in domain, solve domestic fan and led according only to environment temperature selection gear The problem of gear selection of cause is inaccurate, domestic fan is reached when setting gear automatically, the selection to gear is more reasonable, more Meet the effect of current environment.
For each domestic fan being connected with streaming computing system, streaming computing system can establish domestic fan Corresponding relation between the area identification in the region where device identification and domestic fan, present embodiment illustrates streaming computing system A kind of method of corresponding relation between the device identification of system storage domestic fan and area identification.
If Fig. 5 is according to a kind of flow chart of domestic fan control method shown in another exemplary embodiment, this method It can apply in the implementation environment shown in Figure 1A or Figure 1B, this method includes the following steps:
In step 501, domestic fan sends the positional information of present position to streaming computing system.
Optionally, positional information is the latitude and longitude information of domestic fan.
The step can be realized by least one of following two implementations mode:
In the first possible implementation, domestic fan reports positioning to believe by management terminal to streaming computing system Breath, streaming computing system are used for the positional information that location information is defined as to domestic fan.
Optionally, the APP (Application, using journey for being managed to domestic fan are installed in management terminal Sequence), user can add domestic fan in the APP, realize the first connection with domestic fan, and domestic fan be carried out hard The Initialize installations such as part initialization, the mapping table for establishing memory headroom, initialization of (a) serial ports and interruption initialization, in Initialize installation Afterwards, user can choose whether to send the initial state information of domestic fan to streaming computing system in management terminal, and this is first Beginning status information includes location information, if user selects reporting orientation information, management terminal obtains determining for itself by GPS Position information reporting gives streaming computing system.
It should be noted that after domestic fan establishes connection with management terminal, user can also select in management terminal Actively to streaming computing system reporting orientation information.Such as when the position of domestic fan or management terminal changes, user It can select to report new location information to streaming computing system in management terminal.
In second of possible implementation, domestic fan reports heartbeat packet, streaming computing system to streaming computing system The IP address for determining domestic fan according to heartbeat packet of uniting simultaneously determines the positional information of domestic fan according to IP address.
Domestic fan with streaming computing system after wireless connection is established, in order to maintain the nothing between streaming computing system Line connects, it is necessary to be spaced at predetermined time intervals to streaming computing system and sends heartbeat packet, and the heartbeat packet is to include a fixed letter Only the sky comprising packet header wraps the packet of breath either one, and the fix information can be that domestic fan and streaming computing system are pre- Any information first set, predetermined time interval can be systemic presupposition values or by User Defined, the present embodiment to this not It is construed as limiting.
IP address database is previously stored with streaming computing system, IP address database includes IP address to be believed with position Corresponding relation between breath, streaming computing system is after the heartbeat packet of domestic fan transmission is received, it may be determined that sends the heart The IP address of the domestic fan of bag is jumped, then the IP address that streaming computing system is determined and received by inquiring about IP address database Corresponding positional information.
As a rule, the position of domestic fan is constant, therefore, streaming computing system using it is above-mentioned the first and/ Or second method determine multiple positional informations between difference should be in error allowed band, now, streaming computing The centre position of the plurality of positional information can be defined as the positional information of domestic fan by system.When streaming computing system determines When the difference of obtained multiple positional informations exceedes error allowed band, it is believed that the position of domestic fan is become Change, then nearest one positional information for determining to obtain can be defined as the positional information of domestic fan by streaming computing system.
In step 502, streaming computing system obtains the positional information of domestic fan.
The step can be realized by least one of following two implementations mode:
It is corresponding with the first above-mentioned possible implementation, in the first possible implementation, streaming computing system System receives the location information that the management terminal of domestic fan reports, and location information is defined as to the positional information of domestic fan.
It is corresponding with above-mentioned second possible implementation, in second of possible side of realization, streaming computing system The heartbeat packet that domestic fan reports is received, the IP address of domestic fan is determined according to heartbeat packet, Household wind is determined according to IP address The positional information of fan.
In step 503, streaming computing system determines the area identification in region corresponding to positional information.
Include map API (Application Programming Interface, using journey in streaming computing system Sequence DLL), for streaming computing system after the positional information of domestic fan is got, invocation map API determines that the position is believed The area identification in region corresponding to breath, area identification are used to uniquely identify a region.
Wherein, a region can be a cell, a solitary building, a street, a village either by user Or a piece of geographic coverage of the arbitrary area size of system division, such as, the region corresponding to a positional information is that " xx is small Area ", " xx roads ", " xx buildings " and " xx hospitals " etc..
In step 504, the corresponding pass between the device identification of streaming computing system storage domestic fan and area identification System.
Wherein, the device identification of domestic fan is used to uniquely identify a domestic fan.
Such as the positional information that streaming computing system received bit is sent to 4 domestic fans, carried out really to positional information After fixed, it is determined that wherein 3 domestic fans are located in " A buildings ", 1 domestic fan is located in " B buildings ", then streaming computing system The device identification of storage and the corresponding relation of area identification can be as shown in following tables one:
Device identification Device identification 1 Device identification 2 Device identification 3 Device identification 4
Area identification Area identification 1 Area identification 1 Area identification 1 Area identification 2
Table one
Wherein, area identification 1 is the area identification in " A buildings ", and area identification 2 is the area identification in " B buildings ", it is necessary to say Bright, the form and content of table one are all exemplary, and the present embodiment is not construed as limiting to this.
Optionally, based on the embodiment shown in Fig. 5, with the domestic fan that streaming computing system is connected with streaming computing system After wireless connection is found in construction in a systematic way, when in running order, the gear value of itself current setting can also be reported streaming computing System, then this method also comprise the following steps, as shown in Figure 6:
In step 601, streaming computing system receives the message information that domestic fan is sent in predetermined instant, message information Include the device identification of domestic fan and the gear value of domestic fan.
Wherein, predetermined instant is at the time of gear value is set or at predetermined time intervals moment determined by interval, wherein, Predetermined time interval is systemic presupposition value or by User Defined.Such as when user adjusts the gear value of domestic fan, Huo Zhejia Message information is sent when changing gear value according to temperature change with fan, for another example, domestic fan reported once every 30 minutes Message information.
It is Json (JavaScript Object Notation, JavaScript object representation) form with message information Exemplified by, a kind of possible form for the message information that domestic fan reports is:
{
“did”:“123456”,
“key”:“speed_level”,
“value”:“30”
}
Wherein, did fields are used for the device identification for representing domestic fan, and key fields are used to represent to wrap in the message information The type of the information included, value fields represent the numerical value for the information that the message information includes;, should in the illustrative example Message information represents that the device identification of domestic fan is 123456, and what is reported is gear information, gear value 30.In the present embodiment The form of field and content are all exemplary in the form of the message information shown, message information, and the present embodiment is not made to this Limit.
In step 602, streaming computing system carries out streaming computing to message information and determines that device identification is corresponding in real time Area identification the predetermined instant gear distributed intelligence.
The step can be by multiple threads in multiple multiple processes from clustered node in streaming computing system Lai real Existing, then main clustered node can be server, can be that the multiple distributions being connected with server are set such as from clustered node The terminal device with disposal ability of computer, portable computer and server etc, main clustered node are receiving report After literary information, message information is distributed to different from clustered node, to be received to same predetermined instant multiple message informations Parallel processing, then in the present embodiment, device identification 1 shown in above-mentioned table one is sequentially received to equipment with streaming computing system Exemplified by the message information that mark 4 is sent, then the topological structure run in streaming computing system can be as shown in Figure 7.
The device identification and gear value that the message information received is included handle operator as the first of streaming computing Input traffic, pass through area identification and gear value corresponding to the first processing operator output equipment mark.Data source can be to Multiple first processing operators send data flow, and the first processing operator is the operator for inquiring about corresponding relation, and first handles operator By the corresponding relation between query facility mark and area identification, it is determined that area identification corresponding with the device identification.
First processing operator sends data flow to second processing operator, and using area identification and gear value as second processing The input traffic of operator, pass through gear distributed intelligence corresponding to second processing operator output area mark and area identification, shelves Bit distribution information includes several gear values, and the number of each gear value, the number of gear value are and area identification pair And should be there is the number of the device identification of the gear value, wherein, second processing operator is for gathering to the data received The operator of conjunction.Multiple first processing operators can send data flow to second processing operator simultaneously, and second processing operator will determine Obtained area identification and gear distributed intelligence is exported and is used to store.
In step 603, the corresponding relation between streaming computing system storage region mark and gear distributed intelligence.
The storage of streaming computing system is the shelves of area identification and area identification in the predetermined instant for receiving message information Corresponding relation between bit distribution information, when next predetermined instant, streaming computing system receives a certain domestic fan and sent New message information when, the gear value of the domestic fan included to gear distributed intelligence is updated so as to gear point Cloth information is updated, or, when the new Household wind that next predetermined instant, streaming computing system receive for the first time When fanning the message information sent, streaming computing system increases to the gear value of the domestic fan in gear distributed intelligence to gear Distributed intelligence is updated, and then, streaming computing system storage region identifies the shelves in next predetermined instant with area identification Corresponding relation between bit distribution information.
In an exemplary example, 00:00:00 moment, streaming computing system receive 4 domestic fans and sent Message information, 4 domestic fans can be 4 domestic fans shown in above-mentioned table one, and gear corresponding to device identification 1 It is worth for 30, gear value corresponding to device identification 2 is 30, and gear value corresponding to device identification 3 is 50, shelves corresponding to device identification 4 Place value is 80.Then streaming computing system is concurrently handled 4 message informations after 4 message informations are received, Corresponding relation shown in inquiry table one determines that corresponding to device identification 1, device identification 2 and device identification 3 be area identification 1, the corresponding region of device identification 4 mark 2.Then determine device identification 1 in gear value 30, device identification 2 corresponding to the moment at this Gear value 30 corresponding to moment and device identification 3 gear value 50 corresponding to the moment be area identification 1 this 00:00:00 Gear value corresponding to moment, then the gear distributed intelligence of area identification 1 are:2 30 grades and 1 50 grades.Similarly, it may be determined that area The gear distributed intelligence of domain identifier 2 is:1 80 grades.
00:01:At 00 moment, streaming computing system receives the message information of the transmission of device identification 1 and device identification 5 is sent out The message information sent, wherein, device identification 5 is corresponding with area identification 2, device identification 5 and area identification 2 not shown in table one Corresponding relation.This 00:01:00 moment, gear value corresponding to device identification 1 are 50, and gear value corresponding to device identification 5 is 100.Then streaming computing system determines area identification 1 00:01:The gear distributed intelligence at 00 moment is:1 30 grades and 2 50 Shelves, gear distributed intelligence of the area identification 2 at the moment are:1 80 grades and 1 100 grades.
Optionally, in based on other of above-described embodiment alternative embodiment, the Household wind that is connected with streaming computing system Fan can to streaming computing system send obtain request, so as to receive streaming computing system return recommendation gear, and according to Recommend gear that the gear value of itself is set, then this method also includes the following steps, as shown in Figure 8:
In step 801, domestic fan sends to streaming computing system and obtains request, obtains in request and comprises at least family expenses The device identification of fan.
Domestic fan can be adjusted by user so as to change gear value;The temperature that can also be collected according to temperature sensor Degree automatically adjusts gear;Domestic fan can also be arranged to " neighbor mode " in the management terminal of domestic fan by user, When then domestic fan is in " neighbor mode ", is sent to streaming computing system and obtain request, so that streaming computing system is according to this The gear value of other domestic fans in the region where domestic fan is that the domestic fan recommends gear value.
In step 802, streaming computing system receives the acquisition request that domestic fan is sent.
In step 803, area identification corresponding to streaming computing system queries device identification, area identification is domestic fan The mark of region.
Device identification and the corresponding relation of area identification that streaming computing system queries prestore, it is determined that with receiving Area identification corresponding to device identification.
In step 804, streaming computing system determines gear distributed intelligence corresponding to area identification.
Wherein, gear distributed intelligence is used for the gear Distribution value for representing each domestic fan in region, gear point Cloth information includes the number of several gear values and each gear value, and the number of gear value is corresponding with area identification and had There is the number of the device identification of the gear value.
When streaming computing system receives acquisition request in a certain particular moment, the area identification is inquired about in the particular moment Corresponding gear distributed intelligence.
In step 805, streaming computing system determines to recommend gear according to gear distributed intelligence.
Optionally, the median for the gear value that streaming computing system includes gear distributed intelligence is as recommendation gear; Or the average value for the gear value for including gear distributed intelligence is as recommendation gear;Or it will be wrapped in gear distributed intelligence The mode of the gear value included is as recommendation gear.Streaming computing system can also determine to recommend gear, this reality by other method Example is applied to be not construed as limiting this.It should be noted that the recommendation gear that streaming computing system determines to obtain is usually integer, streaming meter Calculation system it is determined that recommendation gear include fractional part when, final recommendation can be obtained to recommending gear round processing Gear.
In an exemplary example, gear distributed intelligence includes 3 30 grades, 100 50 grades and 20 80 grades, works as stream When formula computing system selects median to recommend gear, it is 50 grades to recommend gear;When streaming computing Systematic selection average value conduct When recommending gear, it is 54 grades to recommend gear;When streaming computing Systematic selection mode is as gear is recommended, it is 50 to recommend gear Shelves.
In step 806, streaming computing system sends configured information to domestic fan, and configured information is used to indicate Household wind Gear value is arranged to recommend gear by fan.
Optionally, domestic fan is after selecting to send acquisition request into " neighbor mode " and to streaming computing system, stream Formula computing system can send configured information to domestic fan at predetermined time intervals, or, when recommending gear to change, stream Formula computing system sends configured information to domestic fan, or, only send a configured information to domestic fan.
In step 807, domestic fan receives the configured information of streaming computing system feedback.
Configured information carries recommendation gear, and it is that region corresponding to streaming computing system queries device identification is marked to recommend gear After knowing and determining gear distributed intelligence corresponding to area identification, according to gear value, area identification determined by gear distributed intelligence It is the mark of domestic fan region, gear distributed intelligence is used for the gear value for representing each domestic fan in region Distribution.
In step 808, gear value is arranged to recommend gear by domestic fan according to configured information.
In the example of above-mentioned example, 00:00:00 moment, for the domestic fan 5 in B buildings, streaming meter Calculation system receives the acquisition request of the domestic fan 5 transmission, and streaming computing system determines the device identification 5 of the domestic fan 5 The gear distributed intelligence of corresponding area identification 1 is:2 30 grades and 1 50 grades, then 30 grades of streaming computing Systematic selection median As gear is recommended, configured information is sent to domestic fan 5, gear is arranged to by domestic fan 5 after configured information is received 30 grades.
In summary, the domestic fan control method that the embodiment of the present disclosure provides, domestic fan are sent out to streaming computing system Acquisition is sent to ask, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan, i.e. region Zhong Bao The gear Distribution value of each domestic fan included, streaming computing system according to be located at the domestic fan in the same area other Gear value set by domestic fan recommends gear value to domestic fan, due to the environment in the same area be it is similar, therefore The body-sensing of user in the same area is also similar, and it is typically to make that user, which is the gear value that domestic fan gear is set, The gear value that user feels comfortably cool, therefore, domestic fan by gear be arranged to streaming computing system according in the same area other The recommendation gear that the gear value of domestic fan determines, solves gear caused by domestic fan selects gear according only to environment temperature The problem of inaccurate is selected, has reached domestic fan when setting gear automatically, the selection to gear is more reasonable, more meets current The effect of environment.
The domestic fan control method that the embodiment of the present disclosure provides, by the method for streaming computing, the shelves for obtaining determination Bit distribution information has more real-time, more accurately;Meanwhile distribution type processing method is realized mass data parallel processing, Reduce the duration that processing takes.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 9 is a kind of block diagram of domestic fan control device according to an exemplary embodiment, as shown in figure 9, should Device can be implemented in combination with as the streaming computing in the implementation environment shown in Figure 1A or Figure 1B by hardware, software or both All or part in system, the device include but is not limited to:Receiving module 901, enquiry module 902, first determine mould Block 903, the second determining module 904 and indicating module 905.
Receiving module 901, it is configured as receiving the acquisition request that domestic fan is sent, obtains in request and comprise at least family expenses The device identification of fan.
Enquiry module 902, is configured as area identification corresponding to query facility mark, and area identification is domestic fan place The mark in region.
First determining module 903, is configured to determine that gear distributed intelligence corresponding to area identification, and gear distributed intelligence is used In the gear Distribution value for each domestic fan for representing to be located in region.
Second determining module 904, it is configured as being determined to recommend gear according to gear distributed intelligence.
Indicating module 905, it is configured as sending configured information to domestic fan, configured information is used to indicate that domestic fan will Gear value is arranged to recommend gear.
In summary, the domestic fan control device that the embodiment of the present disclosure provides, domestic fan are sent out to streaming computing system Acquisition is sent to ask, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan in real time, Ji Gai areas The gear Distribution value for each domestic fan that domain includes, streaming computing system are located in the same area according to the domestic fan Other domestic fans set by gear value to domestic fan recommend gear value, because the environment in the same area is similar , therefore the body-sensing of the user in the same area is also similar, and user is the gear value that domestic fan gear is set The gear value that family feels comfortably cool is typically used, therefore, gear is arranged to streaming computing system according to same area by domestic fan The recommendation gear that the gear value of other domestic fans determines in domain, solve domestic fan and led according only to environment temperature selection gear The problem of gear selection of cause is inaccurate, domestic fan is reached when setting gear automatically, the selection to gear is more reasonable, more Meet the effect of current environment.
Figure 10 is a kind of block diagram of domestic fan control device according to an exemplary embodiment, as shown in Figure 10, The device can be implemented in combination with as the streaming meter in the implementation environment shown in Figure 1A or Figure 1B by hardware, software or both All or part in calculation system, the device include but is not limited to:Acquisition module 1001, the 3rd determining module 1002, One memory module 1003, message receiving module 1004, the 4th determining module 1005, the second memory module 1006, receiving module 1007th, enquiry module 1008, the first determining module 1009, the second determining module 1010 and indicating module 1011.
Acquisition module 1001, it is configured as obtaining the positional information of domestic fan.
Acquisition module 1001, it is configured as receiving the location information that the management terminal of domestic fan reports, by location information It is defined as the positional information of domestic fan.
And/or acquisition module 1001, it is configured as receiving the heartbeat packet that domestic fan reports, family is determined according to heartbeat packet With the IP address of fan, the positional information of domestic fan is determined according to IP address.
3rd determining module 1002, it is configured to determine that the area identification in region corresponding to positional information.
First memory module 1003, it is configured as storing the corresponding pass between the device identification of domestic fan and area identification System.
Message receiving module 1004, it is configured as receiving the message information that domestic fan is sent in predetermined instant, message letter Breath includes the device identification of domestic fan and the gear value of domestic fan;Predetermined instant is at the time of gear value is set or every Every the moment determined by predetermined time interval.
4th determining module 1005, it is configured as carrying out streaming computing to message information and determines that device identification is corresponding in real time Area identification predetermined instant gear distributed intelligence.
4th determining module 1005, it is additionally configured to calculate device identification and gear value as the first processing of streaming computing The input traffic of son, pass through area identification and gear value corresponding to the first processing operator output equipment mark.
4th determining module 1005, it is additionally configured to the input number using area identification and gear value as second processing operator According to stream, by gear distributed intelligence corresponding to second processing operator output area mark and area identification, in gear distributed intelligence Including several gear values, and the number of each gear value, the number of gear value is corresponding with area identification and has a gear The number of the device identification of value.
Second memory module 1006, the corresponding relation being configured as between storage region mark and gear distributed intelligence.
Receiving module 1007, it is configured as receiving the acquisition request that domestic fan is sent, obtains in request and comprise at least house With the device identification of fan.
Enquiry module 1008, area identification corresponding to query facility mark is configured as, area identification is domestic fan institute Mark in region.
First determining module 1009, it is configured to determine that gear distributed intelligence corresponding to area identification, gear distributed intelligence For the gear Distribution value for each domestic fan for representing to be located in region.
Second determining module 1010, it is configured as being determined to recommend gear according to gear distributed intelligence.
Second determining module 1010, is additionally configured to:The median for the gear value that gear distributed intelligence is included as Recommend gear;Or the average value for the gear value for including gear distributed intelligence is as recommendation gear;Or gear is divided The mode for the gear value that cloth information includes is as recommendation gear.
Indicating module 1011, it is configured as sending configured information to domestic fan, configured information is used to indicate domestic fan Gear value is arranged to recommend gear.
In summary, the domestic fan control device that the embodiment of the present disclosure provides, domestic fan are sent out to streaming computing system Acquisition is sent to ask, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan in real time, Ji Gai areas The gear Distribution value for each domestic fan that domain includes, streaming computing system are located in the same area according to the domestic fan Other domestic fans set by gear value to domestic fan recommend gear value, because the environment in the same area is similar , therefore the body-sensing of the user in the same area is also similar, and user is the gear value that domestic fan gear is set The gear value that family feels comfortably cool is typically used, therefore, gear is arranged to streaming computing system according to same area by domestic fan The recommendation gear that the gear value of other domestic fans determines in domain, solve domestic fan and led according only to environment temperature selection gear The problem of gear selection of cause is inaccurate, domestic fan is reached when setting gear automatically, the selection to gear is more reasonable, more Meet the effect of current environment.
Figure 11 is a kind of block diagram of domestic fan device according to an exemplary embodiment, as shown in figure 11, the dress Putting can be by the domestic fan being implemented in combination with turning into the implementation environment shown in Figure 1A or Figure 1B of hardware, software or both All or part, the device include but is not limited to:Sending module 1110, receiving module 1120 and setup module 1130.
Sending module 1110, it is configured as sending to obtain to streaming computing system asking, obtains in request and comprise at least house With the device identification of fan.
Receiving module 1120, it is configured as receiving the configured information of streaming computing system feedback, is carried in configured information Recommend gear, recommend gear to be area identification corresponding to streaming computing system queries device identification and determine corresponding to area identification After gear distributed intelligence, according to gear value determined by gear distributed intelligence, area identification is the mark of domestic fan region Know, gear distributed intelligence is used for the gear Distribution value for representing each domestic fan in region
Setup module 1130, it is configured as being arranged to gear value according to configured information to recommend gear.
In summary, the domestic fan device that the embodiment of the present disclosure provides, domestic fan send to streaming computing system and obtained Request is taken, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan in real time, i.e., in the region Including each domestic fan gear Distribution value, streaming computing system according to be located at the domestic fan in the same area its Gear value set by his domestic fan recommends gear value to domestic fan, due to the environment in the same area be it is similar, because The body-sensing of this user being in the same area is also similar, and the gear value that user is the setting of domestic fan gear is typically Make the gear value that user feels comfortably cool, therefore, domestic fan by gear be arranged to streaming computing system according in the same area its The recommendation gear that the gear value of his domestic fan determines, solve shelves caused by domestic fan selects gear according only to environment temperature The problem of position selection is inaccurate, domestic fan is reached when setting gear automatically, the selection to gear is more reasonable, more meets and works as The effect of preceding environment.
Figure 12 is a kind of block diagram of domestic fan device according to an exemplary embodiment, as shown in figure 12, the dress Putting can be by the domestic fan being implemented in combination with turning into the implementation environment shown in Figure 1A or Figure 1B of hardware, software or both All or part, the device include but is not limited to:Position sending module 1210, sending module 1220, receiving module 1230 With setup module 1240.
Position sending module 1210, it is configured as sending the positional information of present position to streaming computing system.
Position sending module 1210, it is configured as by management terminal to streaming computing system reporting orientation information, streaming Computing system is used for the positional information that location information is defined as to domestic fan.
And/or position sending module 1210, it is configured as reporting heartbeat packet, streaming computing system to streaming computing system For determining the network protocol IP address of domestic fan according to heartbeat packet and the positional information of domestic fan being determined according to IP address.
Sending module 1220, it is configured as sending to obtain to streaming computing system asking, obtains in request and comprise at least house With the device identification of fan.
Receiving module 1230, it is configured as receiving the configured information of streaming computing system feedback, is carried in configured information Recommend gear, recommend gear to be area identification corresponding to streaming computing system queries device identification and determine corresponding to area identification After gear distributed intelligence, according to gear value determined by gear distributed intelligence, area identification is the mark of domestic fan region Know, gear distributed intelligence is used for the gear Distribution value for representing each domestic fan in region.
Setup module 1240, it is configured as being arranged to gear value according to configured information to recommend gear.
In summary, the domestic fan device that the embodiment of the present disclosure provides, domestic fan send to streaming computing system and obtained Request is taken, as the gear distributed intelligence in the region where streaming computing system determines the domestic fan in real time, i.e., in the region Including each domestic fan gear Distribution value, streaming computing system according to be located at the domestic fan in the same area its Gear value set by his domestic fan recommends gear value to domestic fan, due to the environment in the same area be it is similar, because The body-sensing of this user being in the same area is also similar, and the gear value that user is the setting of domestic fan gear is typically Make the gear value that user feels comfortably cool, therefore, domestic fan by gear be arranged to streaming computing system according in the same area its The recommendation gear that the gear value of his domestic fan determines, solve shelves caused by domestic fan selects gear according only to environment temperature The problem of position selection is inaccurate, domestic fan is reached when setting gear automatically, the selection to gear is more reasonable, more meets and works as The effect of preceding environment.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one provides a kind of domestic fan control device, can realize the family that the disclosure provides With control method for fan, the device includes:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
The acquisition request that domestic fan is sent is received, obtains the device identification that domestic fan is comprised at least in request;
Area identification corresponding to query facility mark, area identification is the mark of domestic fan region;
Gear distributed intelligence corresponding to area identification is determined, gear distributed intelligence is used to represent each family being located in region With the gear Distribution value of fan;
Determined to recommend gear according to gear distributed intelligence;
Configured information is sent to domestic fan, configured information is used to indicate that gear value is arranged to recommend shelves by domestic fan Position.
The exemplary embodiment of the disclosure one provides a kind of domestic fan device, can realize the Household wind that the disclosure provides Fan controlling method, the device include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Sent to streaming computing system and obtain request, obtain the device identification that domestic fan is comprised at least in request;
The configured information of streaming computing system feedback is received, recommendation gear is carried in configured information, it is stream to recommend gear Area identification corresponding to formula computing system query facility mark and after determining gear distributed intelligence corresponding to area identification, according to shelves Gear value determined by bit distribution information, area identification are the marks of domestic fan region, and gear distributed intelligence is used for table Show the gear Distribution value of each domestic fan in region;
Gear value is arranged to by recommendation gear according to configured information.
Figure 13 is a kind of block diagram of domestic fan device according to an exemplary embodiment.Device 1300 can be family Use fan.
Reference picture 13, device 1300 can include following one or more assemblies:Processing component 1302, memory 1304, Power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, input/output (I/O) interface 1312, sensor cluster 1314, and communication component 1316.
The integrated operation of the usual control device 1300 of processing component 1302, such as operate phase with display, data communication, record The operation of association.Processing component 1302 can carry out execute instruction including one or more processors 1318, to complete above-mentioned side The all or part of step of method.In addition, processing component 1302 can include one or more modules, it is easy to the He of processing component 1302 Interaction between other assemblies.For example, processing component 1302 can include multi-media module, to facilitate the He of multimedia groupware 1308 Interaction between processing component 1302.
Memory 1304 is configured as storing various types of data to support the operation in device 1300.These data Example includes the instruction of any application program or method for being operated on device 1300.Memory 1304 can be by any class The volatibility or non-volatile memory device or combinations thereof of type are realized, such as static RAM (SRAM), electricity Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1306 provides electric power for the various assemblies of device 1300.Power supply module 1306 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1300.
Multimedia groupware 1308 is included in the screen of one output interface of offer between device 1300 and user.At some In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Touch-screen is may be implemented as, to receive the input signal from user.Touch panel includes one or more touch sensors With the gesture on sensing touch, slip and touch panel.Touch sensor can the not only border of sensing touch or sliding action, But also the duration and pressure that detection is related to touch or slide.
Audio-frequency assembly 1310 is configured as output and/or input audio signal.For example, audio-frequency assembly 1310 includes a wheat Gram wind (MIC), when device 1300 is in operator scheme, during such as logging mode and speech recognition mode, microphone is configured as connecing Receive external audio signal.The audio signal received can be further stored in memory 1304 or via communication component 1316 Send.In certain embodiments, audio-frequency assembly 1310 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1312 provide interface, above-mentioned peripheral interface module between processing component 1302 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or more sensors, and the state for providing various aspects for device 1300 is commented Estimate.For example, sensor cluster 1314 can detect opening/closed mode of device 1300, the relative positioning of component, such as group Part is the display and keypad of device 1300, and sensor cluster 1314 can be with 1,300 1 groups of detection means 1300 or device The position of part changes, the existence or non-existence that user contacts with device 1300, the orientation of device 1300 or acceleration/deceleration and device 1300 temperature change.Sensor cluster 1314 can include proximity transducer, be configured to connect in no any physics The presence of object nearby is detected when touching.Sensor cluster 1314 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1314 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1316 is configured to facilitate the communication of wired or wireless way between device 1300 and other equipment.Dress The wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof can be accessed by putting 1300.It is exemplary at one In embodiment, communication component 1316 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1316 also includes near-field communication (NFC) module, to promote junction service. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1300 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned domestic fan controlling party Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1304 of instruction, above-mentioned instruction can be performed by the processor 1318 of device 1300 to complete above-mentioned domestic fan Control method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
Figure 14 is a kind of block diagram of domestic fan control device according to another exemplary embodiment.For example, device 1400 may be provided in a network side equipment.Reference picture 14, device 1400 include processing component 1402, and it further comprises one Individual or multiple processors, and as the memory resource representated by memory 1404, can be by processing component 1402 for storing The instruction of execution, such as application program.The application program stored in memory 1404 can include one or more every One module for corresponding to one group of instruction.In addition, processing component 1402 is configured as execute instruction, to perform above-mentioned domestic fan Control method.
Device 1400 can also include a power supply module 1406 and be configured as the power management of performs device 1400, one Wired or wireless network interface 1408 is configured as device 1400 being connected to network, and input and output (I/O) interface 1410.Device 1400 can be operated based on the operating system for being stored in memory 1404, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (18)

1. a kind of domestic fan control method, it is characterised in that methods described includes:
The acquisition request that domestic fan is sent is received, it is described to obtain the device identification that the domestic fan is comprised at least in request;
Area identification corresponding to the device identification is inquired about, the area identification is the mark of the domestic fan region;
Gear distributed intelligence corresponding to the area identification is determined, the gear distributed intelligence is used to represent to be located in the region Each domestic fan gear Distribution value;
Determined to recommend gear according to the gear distributed intelligence;
Configured information is sent to the domestic fan, the configured information is used to indicate that gear value is arranged to by the domestic fan The recommendation gear.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Obtain the positional information of the domestic fan;
Determine the area identification in the region corresponding to the positional information;
Store the corresponding relation between the device identification of the domestic fan and the area identification.
3. according to the method for claim 2, it is characterised in that the positional information for obtaining domestic fan, including:
The location information that the management terminal of the domestic fan reports is received, the location information is defined as the domestic fan The positional information;
And/or
The heartbeat packet that the domestic fan reports is received, the procotol IP of the domestic fan is determined according to the heartbeat packet Location, the positional information of the domestic fan is determined according to the IP address.
4. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the message information that domestic fan is sent in predetermined instant, the equipment that the message information includes the domestic fan The gear value of mark and the domestic fan;The predetermined instant is at the time of the gear value is set or at predetermined time intervals Moment determined by interval;
Streaming computing is carried out to the message information and determines that the area identification is described corresponding to the device identification in real time The gear distributed intelligence of predetermined instant;
Store the corresponding relation between the area identification and the gear distributed intelligence.
5. according to the method for claim 4, it is characterised in that described to message information progress streaming computing and real-time Gear distributed intelligence of the area identification corresponding to the device identification in the predetermined instant is determined, including:
Using the device identification and the gear value as the first of the streaming computing input traffic for handling operator, pass through The first processing operator exports the area identification and the gear value corresponding to the device identification;
Using the area identification and the gear value as the input traffic of second processing operator, calculated by the second processing Son exports gear distributed intelligence corresponding to the area identification and the area identification, and the gear distributed intelligence includes some Individual gear value, and the number of each gear value, the number of the gear value is corresponding with the area identification and with described The number of the device identification of gear value.
6. method according to any one of claims 1 to 5, it is characterised in that described to be determined according to the gear distributed intelligence Recommend gear, including:
The median for the gear value that the gear distributed intelligence is included is as the recommendation gear;
Or the average value for the gear value for including the gear distributed intelligence is as the recommendation gear;
Or the mode for the gear value for including the gear distributed intelligence is as the recommendation gear.
7. a kind of domestic fan control device, it is characterised in that described device includes:
Receiving module, it is configured as receiving the acquisition request that domestic fan is sent, described obtain in request comprises at least the family With the device identification of fan;
Enquiry module, it is configured as inquiring about area identification corresponding to the device identification, the area identification is the Household wind Fan the mark of region;
First determining module, it is configured to determine that gear distributed intelligence corresponding to the area identification, the gear distributed intelligence For the gear Distribution value for each domestic fan for representing to be located in the region;
Second determining module, it is configured as being determined to recommend gear according to the gear distributed intelligence;
Indicating module, it is configured as sending configured information to the domestic fan, the configured information is used to indicate the family expenses Gear value is arranged to the recommendation gear by fan.
8. device according to claim 7, it is characterised in that described device also includes:
Acquisition module, it is configured as obtaining the positional information of the domestic fan;
3rd determining module, it is configured to determine that the area identification in the region corresponding to the positional information;
First memory module, it is configured as storing pair between the device identification of the domestic fan and the area identification It should be related to.
9. device according to claim 8, it is characterised in that the acquisition module, be configured as:
The location information that the management terminal of the domestic fan reports is received, the location information is defined as the domestic fan The positional information;
And/or
The heartbeat packet that the domestic fan reports is received, the procotol IP of the domestic fan is determined according to the heartbeat packet Location, the positional information of the domestic fan is determined according to the IP address.
10. device according to claim 7, it is characterised in that described device also includes:
Message receiving module, is configured as receiving the message information that is sent in predetermined instant of domestic fan, in the message information The gear value of device identification and the domestic fan including the domestic fan;The predetermined instant is that the gear value is set At the time of the determining or at predetermined time intervals moment determined by interval;
4th determining module, it is configured as carrying out the message information streaming computing and determines that the device identification is corresponding in real time The area identification the predetermined instant gear distributed intelligence;
Second memory module, it is configured as storing the corresponding relation between the area identification and the gear distributed intelligence.
11. device according to claim 10, it is characterised in that the 4th determining module, be additionally configured to:
Using the device identification and the gear value as the first of the streaming computing input traffic for handling operator, pass through The first processing operator exports the area identification and the gear value corresponding to the device identification;
Using the area identification and the gear value as the input traffic of second processing operator, calculated by the second processing Son exports gear distributed intelligence corresponding to the area identification and the area identification, and the gear distributed intelligence includes some Individual gear value, and the number of each gear value, the number of the gear value is corresponding with the area identification and with described The number of the device identification of gear value.
12. according to any described device of claim 7 to 11, it is characterised in that second determining module, be also configured For:
The median for the gear value that the gear distributed intelligence is included is as the recommendation gear;
Or the average value for the gear value for including the gear distributed intelligence is as the recommendation gear;
Or the mode for the gear value for including the gear distributed intelligence is as the recommendation gear.
13. a kind of domestic fan device, it is characterised in that described device includes:
Sending module, it is configured as sending to obtain to streaming computing system asking, described obtain in request comprises at least Household wind The device identification of fan;
Receiving module, it is configured as receiving the configured information of the streaming computing system feedback, is carried in the configured information Recommend gear, the recommendation gear is area identification corresponding to device identification described in the streaming computing system queries and determines institute After stating gear distributed intelligence corresponding to area identification, according to gear value determined by the gear distributed intelligence, the region mark Knowledge is the mark of the domestic fan region, and the gear distributed intelligence is used to represent each family being located in the region With the gear Distribution value of fan;
Setup module, it is configured as that gear value is arranged into the recommendation gear according to the configured information.
14. device according to claim 13, it is characterised in that described device also includes:
Position sending module, it is configured as sending the positional information of present position to the streaming computing system.
15. device according to claim 14, it is characterised in that the position sending module, be configured as:
It is used for by management terminal to the streaming computing system reporting orientation information, the streaming computing system by the positioning Information is defined as the positional information of the domestic fan;
And/or
Heartbeat packet is reported to the streaming computing system, the streaming computing system is used to determine the family according to the heartbeat packet The positional information of the domestic fan is determined with the network protocol IP address of fan and according to the IP address.
16. a kind of domestic fan control device, it is characterised in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
The acquisition request that domestic fan is sent is received, it is described to obtain the device identification that the domestic fan is comprised at least in request;
Area identification corresponding to the device identification is inquired about, the area identification is the mark of the domestic fan region;
Gear distributed intelligence corresponding to the area identification is determined, the gear distributed intelligence is used to represent to be located in the region Each domestic fan gear Distribution value;
Determined to recommend gear according to the gear distributed intelligence;
Configured information is sent to the domestic fan, the configured information is used to indicate that gear value is arranged to by the domestic fan The recommendation gear.
17. a kind of domestic fan device, it is characterised in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Sent to streaming computing system and obtain request, it is described to obtain the device identification that domestic fan is comprised at least in request;
The configured information of the streaming computing system feedback is received, recommendation gear, the recommendation are carried in the configured information Gear is area identification corresponding to device identification described in the streaming computing system queries and determined corresponding to the area identification After gear distributed intelligence, according to gear value determined by the gear distributed intelligence, the area identification is the domestic fan The mark of region, the gear value for each domestic fan that the gear distributed intelligence is used to represent to be located in the region are divided Cloth;
Gear value is arranged to by the recommendation gear according to the configured information.
18. a kind of domestic fan control system, it is characterised in that the system includes:Streaming computing system and domestic fan, institute Streaming computing system is stated by wireless network with the domestic fan to be connected;
The domestic fan, it is configured as sending to obtain to the streaming computing system asking, described obtain at least is wrapped in request Include the device identification of the domestic fan;The configured information of the streaming computing system feedback is received, is taken in the configured information With gear is recommended, the recommendation gear is area identification corresponding to device identification described in the streaming computing system queries and true After gear distributed intelligence corresponding to the fixed area identification, according to gear value, the area determined by the gear distributed intelligence Domain identifier is the mark of the domestic fan region, and the gear distributed intelligence is used to represent each in the region The gear Distribution value of individual domestic fan;Gear value is arranged to by the recommendation gear according to the configured information;
The streaming computing system, it is configured as receiving the acquisition request that the domestic fan is sent;Inquire about the equipment The area identification corresponding to mark;Determine the gear distributed intelligence corresponding to the area identification;According to the gear point Cloth information determines the recommendation gear;The configured information is sent to the domestic fan, the configured information is used to indicate institute State domestic fan and gear value is arranged to the recommendation gear.
CN201610417382.7A 2016-06-14 2016-06-14 Domestic fan control method, device, domestic fan apparatus and system Active CN106015068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610417382.7A CN106015068B (en) 2016-06-14 2016-06-14 Domestic fan control method, device, domestic fan apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610417382.7A CN106015068B (en) 2016-06-14 2016-06-14 Domestic fan control method, device, domestic fan apparatus and system

Publications (2)

Publication Number Publication Date
CN106015068A CN106015068A (en) 2016-10-12
CN106015068B true CN106015068B (en) 2017-11-21

Family

ID=57087401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610417382.7A Active CN106015068B (en) 2016-06-14 2016-06-14 Domestic fan control method, device, domestic fan apparatus and system

Country Status (1)

Country Link
CN (1) CN106015068B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109270845B (en) * 2018-10-12 2021-02-26 珠海格力电器股份有限公司 Gear display method and device, interaction equipment and intelligent household equipment
CN112493955B (en) * 2020-11-10 2021-11-26 佛山市百斯特电器科技有限公司 Control method of washing equipment and washing equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403391A (en) * 2008-10-07 2009-04-08 同济大学 Novel duplicate-power double-fan intelligent monitoring protection device
CN204985008U (en) * 2015-04-22 2016-01-20 华南理工大学建筑设计研究院 Fan control system based on thing networking
CN105334935A (en) * 2015-12-03 2016-02-17 英业达科技有限公司 Computer temperature control system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000058544A (en) * 2000-06-13 2000-10-05 박종원 A steel beam coupling device which uses the wedge and method thereof
KR20130103102A (en) * 2012-03-09 2013-09-23 한국전자통신연구원 Remote building automation control system and method for building energy facilities
US20150241860A1 (en) * 2014-02-24 2015-08-27 Raid And Raid, Inc., D/B/A Ruminate Intelligent home and office automation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101403391A (en) * 2008-10-07 2009-04-08 同济大学 Novel duplicate-power double-fan intelligent monitoring protection device
CN204985008U (en) * 2015-04-22 2016-01-20 华南理工大学建筑设计研究院 Fan control system based on thing networking
CN105334935A (en) * 2015-12-03 2016-02-17 英业达科技有限公司 Computer temperature control system and method

Also Published As

Publication number Publication date
CN106015068A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
US11449904B1 (en) System and device for generating a check-in image for a geographic location
EP3019970B1 (en) Interoperability mechanisms for internet of things integration platform
EP3019919B1 (en) Physical environment profiling through internet of things integration platform
CN106056825B (en) Fire alarm method, device, domestic fan apparatus and system
US20150189070A1 (en) Mobile platform functionalities employing proximal variants and advanced personalization methods to control dynamic icon display on a mobile computing device display screen
WO2014144760A1 (en) Contextually aware relevance engine platform
US11757817B1 (en) Peer-to-peer location-based messaging
US11792608B2 (en) Electronic location determination and tracking system with virtual beacon clustering
WO2017161903A1 (en) Mobile terminal and contact adding and sharing method thereof
US10326608B1 (en) Techniques to associate user data with a mobile device
US10555123B2 (en) Methods and systems for service transfer
CN105898071A (en) Router, server, terminal and terminal scene mode control method and device
CN106015068B (en) Domestic fan control method, device, domestic fan apparatus and system
US11026045B2 (en) Mobile application and system for associating actions with independent geographic locations
JP5949049B2 (en) Server apparatus, program, and communication system
EP3024199B1 (en) Method, storage media, system and program product for associating user data with a mobile device
CN108882165B (en) Navigation method and device
US20200174458A1 (en) Method to present a user with a menu of ranked building system based upon usage of building systems
TW201630443A (en) System and method for detection of indoor tracking units
US20240223668A1 (en) Crowdsourced event-based network data capturing method and system
US20240220223A1 (en) Multi-tenant crowdsourced event-based network data capturing method and process
CN107357829A (en) Scaling processing method and processing device
TWI637189B (en) Indoor area positioning system and method thereof
JP2020076596A (en) Employee position movement display system, employee position movement display method, and employee position movement display program
CN106664457A (en) Method and device for managing position

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant