Summary of the invention
The technical problem to be solved in the present invention is, at all kinds of household electrical appliances and intelligent appliance closure in design on the existing market, control system software can not the property revised, a kind of open intelligent appliance that can be programmed and be disposed by user and third party is provided, and be that these type of household electrical appliances design control system, make this household electrical appliances in the past cheaply on the basis of domestic electric appliances controller, obtain certain by user's configuration, revise the ability of its steering logic.Simultaneously, on the basis that need not the special intelligent home gateway, make between the intelligent appliance or intelligent appliance and Internet service can be carried out alternately.
For this reason, the one one purpose of the present invention is to propose a kind of open intelligent appliance.
Second purpose of the present invention is to propose a kind of control system of open intelligent appliance.
At a kind of open intelligent appliance described in first purpose of the present invention, comprise TV, air-conditioning, washing machine, refrigerator, electric cooker, micro-wave oven, electric oven, electromagnetic oven, treadmill, humidifier, water heater, camera (or video camera), electronic clock, sound equipment, game machine, electronic toy, one or more of family expenses service-delivery machine philtrum, its internal controller has the software api routine interface that matches, allow user or third party to realize specific control program by calling this api routine interface in the opertaing device programming, and then various sensors and driving mechanism by intelligent appliance internal controller visit intelligent appliance, topworks, the Networks and Communications assembly, the operation control of household electrical appliances can be resolved and carry out according to logic to guidance panel to the steering logic that the user disposes at control program.
In a kind of open intelligent appliance of the present invention, the internal controller of intelligent appliance can with intelligent appliance api routine interface communication, obtain and store the steering logic coding, can obtain the various sensing datas of intelligent appliance, can control all kinds of driving mechanisms and topworks according to the steering logic coding.
In a kind of open intelligent appliance of the present invention, the api routine interface of intelligent appliance matches with internal controller to finish and comprises: shipment row and storage, driving mechanism and actuating mechanism controls order issue, intelligent appliance carries out one or more functions in the request for sensor data to other intelligent appliances under intelligent appliance initial configuration and network management, request for sensor data and record, the user configured steering logic.
In a kind of open intelligent appliance of the present invention, the various sensors of intelligent appliance comprise one or more in digital switch, temperature sensor, humidity sensor, clock and timer, power counter or ammeter, position transducer, speed probe, scrambler, camera, RGB-D degree of depth camera, ultrasonic ranging sensor, laser positioning and distance measuring sensor, GPS, gyroscope, the photoelectric sensor.
In a kind of open intelligent appliance of the present invention, the various driving mechanisms of intelligent appliance, topworks comprise that motor, compressor, electrical heating are put, in display device, buzzer or loudspeaker, camera, the RGB-D degree of depth camera one or more.
This open intelligent appliance, intelligent appliance in the past on the household electrical appliances function basis that can carry out, can allow the external control devices can be by calling the form of API, in conjunction with other intelligence system and the API of equipment, expand the basic function of hardware device in original household electrical appliances in the mode of software, significantly do not increasing on the basis of control system cost, make intelligent appliance can become one by software configuration carry out equipment that steering logic upgrades and one can with the equipment of other intelligence systems and device talk.
A kind of open intelligent appliance control system described in second purpose of the present invention comprises:
A plurality of open intelligent appliances, comprise TV, air-conditioning, washing machine, refrigerator, electric cooker, micro-wave oven, electric oven, electromagnetic oven, treadmill, humidifier, water heater, camera (or video camera), electronic clock, sound equipment, game machine, electronic toy, one or more of family expenses service-delivery machine philtrum, its internal controller has the software api routine interface that matches, allow user or third party to realize specific control program by calling this api routine interface in the opertaing device programming, and then various sensors and the driving mechanism of visit intelligent appliance, topworks, the Networks and Communications assembly, the operation control of household electrical appliances can be resolved and carry out according to logic to guidance panel to the steering logic that the user disposes at control program.
Opertaing device, comprise in the webserver, household PC, panel computer, smart mobile phone, intelligent television, intelligent robot and other nonshared control units one or more, can allow user's running package to contain the control program of the api routine interface of intelligent appliance, the user is resolved in the steering logic that control program disposes, and communicate by letter with the controller of intelligent appliance inside, install in the intelligent appliance controller under the steering logic coding with correspondence, finish configuration and control to intelligent appliance.
In a kind of open intelligent appliance control system of the present invention, described opertaing device can be by carrying out communication as one or more methods in wifi, bluetooth, USB or the self defined interface line and intelligent appliance.
In a kind of open intelligent appliance control system of the present invention, the nonshared control unit in the opertaing device comprise all kinds of comprise can the operation system, support the systems-on-a-chip that display screen shows.The self defined interface line of opertaing device comprises the connecting line between the self-defining all kinds of opertaing devices of intelligent electric appliance manufacturer and the intelligent electric appliance.
In a kind of open intelligent appliance control system of the present invention, the control program that has called intelligent appliance api routine interface that moves in opertaing device has comprised the api routine interface of Application Program Interface or Web service interface, one or more intelligent appliance api routine interface, opertaing device itself, in the internet open platform api routine interface (cloud computing open platform api routine interface, Internet of Things open platform api routine interface, social networks opening API routine interface, e-commerce website opening API routine interface) one or more.The multiple intelligent appliance api routine interface that in control program, comprises, the api routine interface of opertaing device itself, internet open platform api routine interface (cloud computing open platform api routine interface, Internet of Things open platform api routine interface, social networks open platform api routine interface, e-commerce website open platform api routine interface) can combine, the unified scheduling of accepting user instruction, finish data access and instruction interaction between a plurality of intelligent appliances, finish the location-based service of intelligent appliance (LBS), cloud computing, Internet of Things, social networks, the issue of categorical datas such as ecommerce, mutual and logical process.The effect of intelligent appliance api routine interface in control program is to convert user configured steering logic in the control program interface to the steering logic coding.
Embodiment
As shown in Figure 1, in the structural representation of the embodiment one of a kind of open intelligent appliance of the present invention,intelligent appliance 200 inside have comprisedcontroller 201,topworks 202,sensor 203,guidance panel 204, atintelligent appliance 200 outsideapi routine interfaces 205 in addition.Opertaingdevice 100 is not the part of intelligent appliance.The apiroutine interface 205 ofintelligent appliance 200 can not directly move in thecontroller 201 of intelligent appliance, and is included in thecontrol program 110 ofopertaing device 100, is used for converting user configured steering logic to the steering logic coded sequence.The steering logic coded sequence comprised can supportcontroller 201 according to the various argument sequences of predefine operation.Therefore, theinternal controller 201 ofapi routine interface 205 andintelligent appliance 200 has corresponding matching relationship.Need to prove that all connecting lines are logic and connect among Fig. 1, represent and have the mutual of data between each assembly.
Intelligent appliance 200 can be a kind of of TV, air-conditioning, washing machine, refrigerator, electric cooker, micro-wave oven, electric oven, electromagnetic oven, treadmill, humidifier, water heater, camera (or video camera), electronic clock, sound equipment, game machine, electronic toy, family expenses service-delivery machine philtrum.
Thecontroller 201 ofintelligent appliance 200 inside itself is the operation system not, do not possess the ability of downloading and moving executable program yet, but it is the same as household electrical appliances, can obtain guidance panel instruction, sensor reading, send functions such as instruction to topworks.Simultaneously,controller 201 can obtain and understand the steering logic coded sequence that apiroutine interface 205 sends, these argument sequences are stored, and parsing operation.Different argument sequences can represent the timer that calls in the controller, or calls interruption, calls pre-defined function etc.The operation ofintelligent appliance 200 can depend onapi routine interface 205, also can not rely on api routine interface 205.Under the situation that does not rely onapi routine interface 205,intelligent appliance 200 is according to the program of the default program in thecontroller 201 or last stored, and according to user's instruction operation.Whenintelligent appliance 200 depended on 205 operations of api routine interface,controller 201 and opertaing device real-time Communication for Power received the instruction fromapi routine interface 205 in real time.
The effect of theapi routine interface 205 ofintelligent appliance 200 is can be by the existing capability of software extensions hardware; Can recombinate to the existing capability of hardware; Can in the control program of opertaing device, carry out alternately with other api routine interfaces.Like this,intelligent appliance 200 can obtain certain to carry out mutual ability by user's configuration, the ability of revising with other intelligent appliances, intelligence system.
Theapi routine interface 205 ofintelligent appliance 200 andcontroller 201 cooperate together, can finish to comprise:intelligent appliance 200 is carried out initial configuration and network management; The data of request or storageintelligent appliance 200 inner some sensors; To issuing driving mechanism and the topworks of steering order tointelligent appliance 200; With user configured steering logic resolve to specific steering logic coded sequence and under adorn and be kept in the controller and move;Intelligent appliance 200 carries out one or more functions in the request of data to other intelligent appliances.The topworks 202 ofintelligent appliance 200 comprises one or more in motor, compressor, electric heater unit, display device, hummer or loudspeaker, camera, the RGB-D degree of depth camera.Thesensor 203 ofintelligent appliance 200 comprises one or more in digital switch, temperature sensor, humidity sensor, clock and timer, power counter or ammeter, position transducer, speed probe, scrambler, camera, RGB-D degree of depth camera, ultrasonic ranging sensor, laser positioning and distance measuring sensor, GPS, gyroscope, the photoelectric sensor.
As shown in Figure 2, in the structural representation of the embodiment one of a kind of open intelligent appliance control system of the present invention, this intelligent appliance control system comprises opertaingdevice 100,intelligent appliance 200, theintelligent appliance 210 that links to each other successively.Should be noted that at this " connection " between opertaing device shown in figure 100,intelligent appliance 200, theintelligent appliance 210 do not refer to connection physically, and refer to that communication connects.For example, being connected between opertaingdevice 100,intelligent appliance 200 and theintelligent appliance 210 can be wired connection, also can be wireless connections, specifically can be a kind of in wifi, bluetooth, USB or the self defined interfaceline.Opertaing device 100 can be the webserver, household PC, panel computer, smart mobile phone, intelligent television and other nonshared control units.Moving control program 110 in theopertaing device 100,control program 110 calls intelligent applianceapi routine interface 205 and user configured steering logic is carried out abstract, sends tointelligent appliance controller 201 according to theinternal controller 201 discernible data layouts of intelligent appliance 200.Control program 110 in theopertaing device 100 can be by the api routine interface of integrated a plurality of many moneys of brand products of software programming while, asapi routine interface 205 and api routine interface 215.Control program 110 in theopertaing device 100 also can integrated-control apparatus selfapi routine interface 111 and internet open platform routine interface 113.Internet openplatform routine interface 113 comprises one or more in cloud computing open platform api routine interface, Internet of Things open platform api routine interface, social networks open platform api routine interface, the e-commerce website open platform api routine interface.
In this embodiment, " connection " in theopertaing device 100 betweencontrol program 110 inner each assemblies do not refer to connection physically, and refers to that software logic connects, and it is mutual that all types of api routine interfaces can be visited the line data of going forward side by side mutually.For example, can carry out data interaction betweenapi routine interface 205 and theapi routine interface 215; Theapi routine interface 111 ofapi routine interface 215 and opertaing device self carries out data interaction; Apiroutine interface 205 and internet openplatform routine interface 113 carry out data interaction.
As shown in Figure 3, in the logical flow chart of the embodiment one of a kind of open intelligent appliance control system of the present invention, the basic procedure of intelligent appliance initialization and configuration steering logic is illustrated, comprises following control step:
S01. at opertaing device the control program that has comprised intelligent appliance api routine interface is installed;
S02. opertaing device is connected with intelligent appliance by USB or other self defined interface lines, start control program intelligent appliance is carried out initial configuration, comprise title and password that intelligent appliance is set, the IP address of intelligent appliance is set, the communication between configuration home wireless router and the intelligent appliance;
S03. the control program that calls intelligent appliance at opertaing device reads the state of intelligent appliance;
S04. the control program editor intelligent appliance steering logic on opertaing device;
S05. install on the intelligent appliance under the steering logic of opertaing device with intelligent appliance;
S06. intelligent appliance loads and the operation steering logic automatically.
Among the step S02 in this embodiment, after initialization was finished, opertaing device can be connected with intelligent appliance by the mode of wireless connections, also can be connected with intelligent appliance by the mode of wired connection.
Among the step S04 in this embodiment, the steering logic that the user edits comprises two kinds: the high/low limit of intelligent appliance sensor judges that triggering steering logic, intelligent appliance sequential trigger steering logic.After the high/low limit of sensor judges that triggering logic refers to that intelligent appliance obtains certain sensor reading, carry out tame electric control according to the high/low limit value of sensor, for example, the height of setting humidifier is limited to humidity 80%, high limit logic is set simultaneously to quit work for after surpassing, after under with user configured steering logic, installing in the controller of intelligent humidifier, be higher than 80% back humidifier break-off at the indoor humidity sensor.Sequential triggers logic and refers to according to one group of sequential logic household electrical appliances be controlled, for example, the output temperature of control electromagnetic oven has the ability of cooking rice by electromagnetic oven, output temperature is 60 degrees centigrade in setting 10 minutes, 10 minutes to 15 minutes is 100 degree centigrade, output temperature is 110 degree after 15 minutes, detects temperature up to electromagnetic oven and stops heating above 110 degree.Under the ratio of specific water and rice, such temperature is set just can reach the function of cooking rice rapidly.Like this, electromagnetic oven has just possessed the function of similar electric cooker.Sequential triggers logic except the sequence of setting-up time and control target, the different working modes of all right setting-up time and different intelligent household electrical appliances switches, as set in summer intelligent air condition every day 3:00 AM stop the refrigeration, simultaneously every day 3:00 AM carry out ventilation, then can realize an automatic energy saving ventilating system.Though existing air-conditioning also can time switch, can not regularly switch various mode of operations, switches wind speed, switching wind direction etc.Various logic combination and configuration by steering logic just can realize the unredeemed function of these common air-conditionings.
Among the step S06 in this embodiment, intelligent appliance does not rely on the existence of opertaing device, can move automatically.
As shown in Figure 4, in the logical flow chart of the embodiment two of a kind of open intelligent appliance control system of the present invention, the basic procedure of the intelligent appliance sensing data being uploaded steering logic is illustrated, and comprises following control step:
S11. on the control program of opertaing device, select the intelligent appliance of certain IP address or title correspondence, the input password obtains authority;
S12. select the sensor signal of intelligent appliance, select the triggering mode of uploading and upload mode;
S13. select internet open platform API at the control program of opertaing device, the line correlation of going forward side by side configuration;
S14. install on the intelligent appliance under the steering logic of opertaing device with intelligent appliance;
S15. intelligent appliance requires data upload internet open platform according to opertaing device.
Among the step S12 in this embodiment, the mode of uploading of data comprises directly to be uploaded, and transmits by opertaing device and uploads.The triggering mode of data upload comprise the user trigger upload, data regularly upload.As select data regularly to upload, also to set the cycle of uploading.Among the step S13 in this embodiment, the content of configuration comprises domain name or server address, port, user name, password and other information of the Internet Server of uploading.According to this embodiment, intelligent appliance can the various internets open platform with data upload on, for example, the user is pushed to social network sites and shares at the perform physical exercise calorical data that consumes of treadmill, the perhaps cloud computing platform of the Tui Songing test and appraisal of plan of losing weight; The steering logic of the cooking of certain dish on the micro-wave oven is pushed to social networks shares, the micro-wave oven user of same type can directly download these steering logics, directly finishes the culinary art of dish.
As shown in Figure 5, in the logical flow chart of the embodiment three of a kind of open intelligent appliance control system of the present invention, the basic procedure of the sensor access between intelligent appliance and the intelligent appliance and control is illustrated, comprises following control step:
S21. on the control program of opertaing device, select the intelligent appliance of certain IP address or title correspondence, the input password obtains authority;
S22. select certain steering logic of intelligent appliance A, be chosen as the sensor B1 of steering logic coupling intelligent appliance B;
S23. on control program, input or select the IP address of intelligent appliance B or title, password obtains the control authority of intelligent appliance B;
S24. opertaing device is selected the steering logic of intelligent appliance, sensor and the IP address of intelligent appliance B, title, password etc. install on the controller of intelligent appliance A down;
S25. intelligent appliance A controls regularly to intelligent appliance B request sensing data, and according to sensing data and steering logic according to the steering logic requirement.
According to the implementation step of this embodiment, the controller of intelligent appliance can directly obtain the data access authority of other intelligent appliances and move steering logic automatically.For example, the humidity sensor in the intelligent humidifier visit intelligent air condition is set, obtains the indoor humidity data, and control the output power of humidifier according to humidity data automatically.