CN103605532A - Program control method, device and system - Google Patents

Program control method, device and system Download PDF

Info

Publication number
CN103605532A
CN103605532A CN201310525203.8A CN201310525203A CN103605532A CN 103605532 A CN103605532 A CN 103605532A CN 201310525203 A CN201310525203 A CN 201310525203A CN 103605532 A CN103605532 A CN 103605532A
Authority
CN
China
Prior art keywords
sensor
controlled plant
sensing data
virtual
control terminal
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.)
Pending
Application number
CN201310525203.8A
Other languages
Chinese (zh)
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310525203.8A priority Critical patent/CN103605532A/en
Publication of CN103605532A publication Critical patent/CN103605532A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a program control method, device and system and belongs to the field of internet. The method comprises the steps of acquiring sensor data through a sensor and sending the sensor data to a controlled device. The sensor data are acquired through the sensor in a control terminal and sent to the controlled device. The controlled device receives the sensor data sent by the control terminal and injects the sensor data into a virtual sensor, so that application program reads the sensor data from the virtual sensor and finishes various control operations according to the read sensor data. The problem that the application program in related technologies only can normally run in a sensor environment is solved. On the premise that any content of the application program is not modified, the application program which only can normally run in the sensor environment can also normally run in the controlled device without the sensor environment.

Description

Programming methods, devices and systems
Technical field
The disclosure relates to internet arena, particularly a kind of Programming methods, devices and systems.
Background technology
Along with the rise of smart mobile phone and Wii game machine, use the limb actions such as touch, whipping to control the application program operating on these electronic equipments and become more and more popular.Such as, user is when listening to the music, rock mobile phone and can realize and cut song function, on screen, horizontally slip and can realize F.F. and rewind down function etc.
The function of above-mentioned application program realizes the sensor of all installing based on electronic equipment internal.Take mobile phone car race game as example, can gyro sensor be installed at interior of mobile phone, by the equilibrium position, left and right of gyro sensor detection of handset, and produce corresponding control command according to the equilibrium position, left and right detecting, control the left and right directions of the racing car in game.Such as, when being tilted to the left mobile phone, user produces the control command of left-hand rotation, and the racing car of controlling in game is turned left; And when user is tilted to the right mobile phone, producing the control command of turning right, the racing car of controlling in game is turned right.
Inventor, in realizing process of the present disclosure, finds that aforesaid way at least exists following defect: when application program operates in the electronic equipment that there is no sensor installation, just cannot carry out operating application program by limb actions such as touch, whippings.If realize various functions by revising the control command that the correlative code of application program makes it to input according to input equipments such as mouse or keyboards, will bring larger maintenance cost and affect convenience.Secondly, immediately at some electronic equipment internal sensor installation, but for large-scale electronic equipments such as intelligent television or intelligent air conditions, by rocking electronic equipment, realize functions such as adjusting platform or temperature adjusting and also cannot realize.
Summary of the invention
In order to solve the problem that in above-mentioned correlation technique, application program must could normally be moved under sensor environment, disclosure embodiment provides a kind of Programming methods, devices and systems.Described technical scheme is as follows:
First aspect, provides a kind of Programming method, and for including the control terminal of sensor, described method comprises:
By described sensor pick-up transducers data;
Described sensing data is sent to controlled plant;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In the possible embodiment of the first, described method also comprises:
The equipment that obtains selects information, described equipment selection information to be used for selecting controlled plant described at least one;
Described described sensing data is sent to controlled plant, comprising:
Send to described equipment to select the selected controlled plant described at least one of information described sensing data.
In conjunction with the possible embodiment of the first of first aspect, in the possible embodiment of the second, described in obtain equipment and select information, comprising:
Connect with controlled plant described at least one;
Show with connect after the corresponding selection of described controlled plant interface;
On described selection interface, receive described equipment and select information.
Second aspect, provides a kind of Programming method, and for controlled plant, described method comprises:
Receive the sensing data that control terminal sends;
Described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In the possible embodiment of the first of second aspect, described method also comprises:
Connect with described control terminal, described control terminal also for show with connect after the corresponding selection of described controlled plant interface; And receiving equipment is selected information on described selection interface, described equipment selection information is used for selecting at least one controlled plant.
The third aspect, provides a kind of Programming device, and for including the control terminal of sensor, described device comprises:
Data acquisition module, for by described sensor pick-up transducers data;
Data transmission blocks, for sending to controlled plant by described sensing data;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In the possible embodiment of the first of the third aspect, described device also comprises:
Acquisition of information module, selects information, described equipment selection information to be used for selecting controlled plant described at least one for obtaining equipment;
Described data transmission blocks, also for sending to described sensing data described equipment to select the selected controlled plant described at least one of information.
In conjunction with the possible embodiment of the first of the third aspect, in the possible embodiment of the second, described acquisition of information module, comprising: connect and set up unit, interface display unit and information receiving unit;
Unit is set up in described connection, for connecting with controlled plant described at least one;
Described interface display unit, for show with connect after the corresponding selection of described controlled plant interface;
Described information receiving unit, selects information for receive described equipment on described selection interface.
Fourth aspect, provides a kind of Programming device, and for controlled plant, described device comprises:
Data reception module, the sensing data sending for receiving control terminal;
Data injection module, for described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In the possible embodiment of the first of fourth aspect, described device also comprises:
Connect and to set up module, for connecting with described control terminal, described control terminal also for show with connect after the corresponding selection of described controlled plant interface; And receiving equipment is selected information on described selection interface, described equipment selection information is used for selecting at least one controlled plant.
The 5th aspect, provides a kind of Programming system, and described system comprises: control terminal and controlled plant;
Described control terminal comprises as the Programming device as described in arbitrary in the various possible embodiment of the third aspect and the third aspect;
Described controlled plant comprises as the Programming device as described in arbitrary in the various possible embodiment of fourth aspect and fourth aspect.
The 6th aspect, provides a kind of control terminal, and described control terminal comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
By described sensor pick-up transducers data;
Described sensing data is sent to controlled plant;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
The 7th aspect, provides a kind of controlled plant, and described controlled plant comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
Receive the sensing data that control terminal sends;
Described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
Some beneficial effects of the technical scheme that disclosure embodiment provides can comprise:
By the sensor pick-up transducers data in control terminal, and sensing data is sent to controlled plant; At controlled plant, receive after the sensing data of control terminal transmission, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present disclosure, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only embodiment more of the present disclosure, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the example arrangement schematic diagram of the related implementation environment of the Programming method that provides of embodiment of the disclosure;
Fig. 2 is the exemplary method flowchart of the Programming method that provides of embodiment of the disclosure;
Fig. 3 is the exemplary method flowchart of the Programming method that provides of another embodiment of the disclosure;
Fig. 4 is the example arrangement block scheme of the Programming device that provides of embodiment of the disclosure;
Fig. 5 is the example arrangement block scheme of the Programming device that provides of another embodiment of the disclosure;
Fig. 6 is the example arrangement block scheme of the Programming system that provides of embodiment of the disclosure;
Fig. 7 is the example arrangement schematic diagram of control terminal related in each embodiment of the disclosure;
Fig. 8 is the example arrangement schematic diagram of controlled plant related in each embodiment of the disclosure.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
In order to make object of the present disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the disclosure is described in further detail, obviously, described embodiment is only a part of embodiment of the disclosure, rather than whole embodiment.Embodiment based in the disclosure, those of ordinary skills are not making all other embodiment that obtain under creative work prerequisite, all belong to the scope of disclosure protection.
Please refer to Fig. 1, it shows the example arrangement schematic diagram of the related implementation environment of Programming method that embodiment of the disclosure provides, and this implementation environment comprises: control terminal 110 and at least one controlled plant 120.
Control terminal 110 is the electronic equipments that sensor is installed, and this electronic equipment can be the portable electric appts such as mobile phone, panel computer, E-book reader or music player.Control terminal 110 can perception user limb action, such as touching, rock, approach or capturing etc., or sound etc. is any by the feature of sensor energy perception.
Control terminal 110 is connected with each controlled plant 120 by cable network or wireless network.
Controlled plant 120 can be the electronic equipments such as game machine, intelligent television, intelligent air condition, intelligent electric light or intelligent refrigerator.
Each embodiment of the disclosure can realize operating in controlling of application program in controlled plant 120 by control terminal 110.The control terminal 110 of take is that mobile phone is example, and user can regulate by rocking mobile phone the channel of intelligent television, can also drive the racing car in car race game by the mobile phone that tilts, can also be by touching the switch etc. of the screen adjustment intelligence electric light of mobile phone.Below in conjunction with several specific embodiments, technical scheme of the present disclosure is described in detail and illustrated.
Please refer to Fig. 2, it shows the exemplary method flowchart of the Programming method that embodiment of the disclosure provides, and this Programming method is applied in the implementation environment shown in Fig. 1.This Programming method can comprise the steps.
In step 202, control terminal is by sensor pick-up transducers data.
In step 204, control terminal sends to controlled plant by sensing data.
Accordingly, controlled plant receives the sensing data that control terminal sends.
In step 206, controlled plant injects virtual-sensor by sensing data, virtual-sensor is for by operating in application program on controlled plant from virtual-sensor read sensor data, and from predetermined corresponding relation, obtain control command according to sensing data, according to control command, carry out corresponding control operation; Wherein, predetermined corresponding relation refers to the corresponding relation between different sensing datas and different control command.
Above-mentioned steps 202 to step 204 can realize separately becomes the Programming of control terminal side method; Above-mentioned steps 206 can realize separately becomes the Programming of controlled plant side method.
In sum, the Programming method that the present embodiment provides, by the sensor pick-up transducers data in control terminal, and sends to controlled plant by sensing data; At controlled plant, receive after the sensing data of control terminal transmission, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
Please refer to Fig. 3, it shows the exemplary method flowchart of the Programming method that another embodiment of the disclosure provides, and this Programming method is applied in the implementation environment shown in Fig. 1.This Programming method can comprise the steps.
In step 301, control terminal obtains equipment and selects information, and equipment selection information is used for selecting at least one controlled plant.
Specifically, this step comprises following a few sub-steps:
The first, control terminal and at least one controlled plant connect.
As shown in Figure 1, control terminal connects by cable network or wireless network and at least one controlled plant.
Accordingly, controlled plant and control terminal connect.
The second, control terminal show with connect after the corresponding selection of controlled plant interface.
On control terminal, an application program can be installed in advance, this application program for show with connect after the corresponding selection of controlled plant interface.
The 3rd, control terminal is selecting receiving equipment on interface to select information.
Equipment selection information is that user is in the information of the controlled plant of its required selection of selecting to input on interface.User opens this application program can view all controlled plants that are connected with control terminal, then selects one of them or a plurality of controlled plant.Conventionally, user selects a controlled plant, but for identical or similar controlled plant, user can select a plurality of these identical or similar controlled plants, realizes the unification of the application program of moving in these controlled plants is controlled.Such as, can unify to control the switching programme of moving in all intelligent electric light in kitchen and parlor, realize the unified of all intelligent electric lights in kitchen and parlor regulated.
In step 302, control terminal is by sensor pick-up transducers data.
Control terminal is provided with sensor, can experience the measured of the external world, and according to certain rule sensing data different according to different measured generations.For the control terminal under different application environment, at least one in the sensors such as vision sensor, range sensor, force sensor, touch sensor or hearing transducer can be installed.
The measured user of referring to rocks control terminal, the actions such as control terminal or touch control terminal tilt.Sensor can be according to these measured sensing datas such as acceleration, horizontal level or temperature that collect.
In step 303, control terminal sends to equipment to select selected at least one controlled plant of information sensing data.
Control terminal sends to controlled plant by sensing data, and this controlled plant is that equipment is selected selected one or more controlled plant of information.
Accordingly, controlled plant receives the sensing data that control terminal sends.
In step 304, controlled plant injects virtual-sensor by sensing data, virtual-sensor is for by operating in application program on controlled plant from virtual-sensor read sensor data, and from predetermined corresponding relation, obtain control command according to sensing data, according to control command, carry out corresponding control operation; Wherein, predetermined corresponding relation refers to the corresponding relation between different sensing datas and different control command.
Virtual-sensor can be the program operating in controlled plant, and virtual-sensor can provide sensing data to application program by sensor that is virtually reality like reality.Process and implementation due to application program read sensor data from virtual-sensor, with process and the implementation of application program read sensor data from real sensor be identical, so need not revise any content of application program, just can make application program read sensing data from the controlled plant of real sensor is not installed.
Application program reads after sensing data, according to the corresponding relation between pre-stored different sensing data and different control command, inquiry obtains the control command corresponding with the sensing data reading, and according to this control command, carries out corresponding control operation.
Take intelligent electric light as example, control command, the second sensing data of supposing the first sensing data to slide left correspondence turning on light slide the to the right control command that correspondence turns off the light, control command and the 4th kind of control command that sensing data down sliding corresponding brightness reduces that the third sensing data upward sliding corresponding brightness increases; Application program in operating in intelligent electric light reads the first sensing data while sliding left, and application program is controlled intelligent electric light according to the control command of turning on light and opened.
Further, if user has also selected intelligent television when selecting intelligent electric light, suppose to operate in predetermined corresponding relation that the application program in intelligent television stores and be the first sensing data control command that correspondence closes of sliding left.So, when user carries out the operation of once sliding left, can control intelligent electric light simultaneously and open with intelligent television and close.
Above-mentioned steps 301 to step 303 can realize separately becomes the Programming of control terminal side method; Above-mentioned steps 304 can realize separately becomes the Programming of controlled plant side method.
In sum, the Programming method that the present embodiment provides, by the sensor pick-up transducers data in control terminal, and sends to controlled plant by sensing data; At controlled plant, receive after the sensing data of control terminal transmission, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
The Programming method that the present embodiment provides, also by control terminal show with connect after the corresponding selection of controlled plant interface, make user can select according to the actual requirements one or more controlled plant that will control, improved this Programming method dirigibility in actual applications.
In a concrete example, Xiao Ming has downloaded a car race game in intelligent television, and uses oneself mobile phone and this intelligent television to set up wireless connections.In the selection interface that Xiao Ming shows on mobile phone, selected this intelligent television, then opened car race game, Xiao Ming is controlling the working direction of racing car in game by oneself the mobile phone of tilting.Like this, Xiao Ming just can be larger at screen, play various game in the better intelligent television of visual effect.
In another concrete example, the watch-dogs such as the home appliances such as intelligent electric light, intelligent television and intelligent air condition in the mobile phone that Xiao Fang uses oneself and family and camera and monitor have all been set up wireless connections.Xiao Fang goes to work when going out every day, turns on mobile phone and select the home appliances such as intelligent electric light, intelligent television and intelligent air condition in selecting interface, and unified these home appliances of controlling are closed; And select the watch-dogs such as camera and monitor, unified these watch-dogs of controlling are opened.Further, when Xiao Fang comes home from work, can turn on mobile phone and select the home appliances such as intelligent electric light, intelligent television and intelligent air condition in selecting interface, unified these home appliances of controlling are opened; And select the watch-dogs such as camera and monitor, unified these watch-dogs of controlling cut out.
Following is disclosure device embodiment, can be for carrying out disclosure embodiment of the method.Details for not disclosing in disclosure device embodiment, please refer to disclosure embodiment of the method.
Please refer to Fig. 4, it shows the example arrangement block scheme of the Programming device that embodiment of the disclosure provides, and this Programming device can be realized and be become the whole or a part of of control terminal by software, hardware or both combinations.This Programming device can comprise: data acquisition module 410 and data transmission blocks 420.
Data acquisition module 410, for by described sensor pick-up transducers data.
Data transmission blocks 420, for sending to controlled plant by described sensing data.
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In sum, the Programming device that the present embodiment provides, by the sensor pick-up transducers data in control terminal, and sends to controlled plant by sensing data; At controlled plant, receive after the sensing data of control terminal transmission, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
Please refer to Fig. 5, it shows the example arrangement block scheme of the Programming device that another embodiment of the disclosure provides, and this Programming device can be realized and be become the whole or a part of of controlled plant by software, hardware or both combinations.This Programming device can comprise: data reception module 510 and data injection module 520.
Data reception module 510, the sensing data sending for receiving control terminal.
Data injection module 520, for described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation.
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In sum, the Programming device that the present embodiment provides, by controlled plant, receive the sensing data that control terminal sends, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
Please refer to Fig. 6, it shows the example arrangement block scheme of the Programming system that embodiment of the disclosure provides, this Programming system comprises control terminal 400 and controlled plant 500, between control terminal 400 and controlled plant 500, by cable network or wireless network, is connected.
Control terminal 400 can comprise Programming device, and this Programming device can be realized and be become the whole or a part of of control terminal by software, hardware or both combinations.This Programming device can comprise: acquisition of information module 402, data acquisition module 410 and data transmission blocks 420.
Acquisition of information module 402, selects information, described equipment selection information to be used for selecting controlled plant described at least one for obtaining equipment.
Specifically, acquisition of information module 402 comprises: connect and set up unit 402a, interface display unit 402b and information receiving unit 402c.
Unit 402a is set up in described connection, for connecting with controlled plant described at least one.
Described interface display unit 402b, for show with connect after the corresponding selection of described controlled plant interface.
Described information receiving unit 402c, selects information for receive described equipment on described selection interface.
Data acquisition module 410, for by described sensor pick-up transducers data.
Data transmission blocks 420, for sending to controlled plant by described sensing data.
Data transmission blocks 420, also for sending to described sensing data described equipment to select the selected controlled plant described at least one of information.
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
Controlled plant 500 can comprise Programming device, and this Programming device can be realized and be become the whole or a part of of control terminal by software, hardware or both combinations.This Programming device can comprise: connect and set up module 502, data reception module 510 and data injection module 520.
Connect and to set up module 502, for connecting with described control terminal, described control terminal also for show with connect after the corresponding selection of described controlled plant interface; And on described selection interface, receive described equipment and select information.
Data reception module 510, the sensing data sending for receiving control terminal.
Data injection module 520, for described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation.
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
In sum, the Programming system that the present embodiment provides, by the sensor pick-up transducers data in control terminal, and sends to controlled plant by sensing data; At controlled plant, receive after the sensing data of control terminal transmission, sensing data is injected to virtual-sensor, make application program read sensor data from this virtual-sensor, and complete various control operations according to the sensing data reading; Solved the problem that in correlation technique, application program must could normally be moved under sensor environment; Reach the application program that originally need to could normally move for those under sensor environment, under the prerequisite of any content of not revising this application program, made it the effect that also can normally move in there is no the controlled plant of sensor environment.
The Programming system that the present embodiment provides, also by control terminal show with connect after the corresponding selection of controlled plant interface, make user can select according to the actual requirements one or more controlled plant that will control, improved this Programming system dirigibility in actual applications.
It should be noted that: the Programming device that above-described embodiment provides is when carrying out Programming, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the Programming device that above-described embodiment provides and the embodiment of the method for Programming method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Fig. 7, it shows the example arrangement schematic diagram of control terminal related in each embodiment of the disclosure.This control terminal can be for the Programming method of the control terminal side implementing to provide in above-described embodiment.Preferred:
Control terminal 700 can comprise communication unit 710, includes the storer 720 of one or more computer-readable recording mediums, input block 730, display unit 740, sensor 750, voicefrequency circuit 760, wireless communication unit 770, include the parts such as or above processor 780 of processing core and power supply 790.It will be understood by those skilled in the art that the electronic devices structure shown in figure does not form the restriction to electronic equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 710 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 710 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 710 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 780 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 710 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, CDMA), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Storer 720 can be used for storing software program and module, and processor 780 is stored in software program and the module of storer 720 by operation, thereby carries out various function application and data processing.Storer 720 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of control terminal 700 etc. can be stored in storage data field.In addition, storer 720 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 720 can also comprise Memory Controller, so that the access of processor 780 and 730 pairs of storeies 720 of input block to be provided.
Input block 730 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, control lever, optics or the input of trace ball signal.Preferably, input block 730 can comprise touch-sensitive surperficial 731 and other input equipments 732.Touch-sensitive surperficial 731, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 731 or touch-sensitive surperficial 731 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 731 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 780, and the order that energy receiving processor 780 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 731.Except touch-sensitive surperficial 731, input block 730 can also comprise other input equipments 732.Preferably, other input equipments 732 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 740 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and control terminal 700, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 740 can comprise display panel 741, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display panel 741.Further, touch-sensitive surperficial 731 can cover display panel 741, when touch-sensitive surperficial 731 detect thereon or near touch operation after, send processor 780 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 780 on display panel 741.Although in Fig. 7, touch-sensitive surperficial 731 with display panel 741 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 731 and display panel 741 integrated and realize input and output function.
Control terminal 700 also can comprise at least one sensor 750, such as optical sensor, motion sensor and other sensors.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display panel 741, and proximity transducer can, when control terminal 700 moves in one's ear, cut out display panel 741 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for control terminal 700 other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 760, loudspeaker 761, microphone 762 can provide the audio interface between user and control terminal 700.Voicefrequency circuit 760 can be transferred to loudspeaker 761 by the electric signal after the voice data conversion receiving, and is converted to voice signal exports by loudspeaker 761; On the other hand, microphone 762 is converted to electric signal by the voice signal of collection, after being received by voicefrequency circuit 760, be converted to voice data, after again voice data output processor 780 being processed, through RF circuit 710, to send to such as another electronic equipment, or export voice data to storer 720 to further process.Voicefrequency circuit 760 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and control terminal 700 to be provided.
In order to realize radio communication, on this electronic equipment, can dispose wireless communication unit 770, this wireless communication unit 770 can be WIFI module.WIFI belongs to short range wireless transmission technology, control terminal 700 by wireless communication unit 770 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 770, be understandable that, it does not belong to must forming of control terminal 700, completely can be as required in not changing the essential scope of invention and omit.
Processor 780 is control centers of control terminal 700, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in storer 720, and call the data that are stored in storer 720, carry out various functions and the deal with data of control terminal 700, thereby mobile phone is carried out to integral monitoring.Optionally, processor 780 can comprise one or more processing cores; Preferably, processor 780 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 780.
Control terminal 700 also comprises that the power supply 790(powering to all parts is such as battery), preferably, power supply can be connected with processor 780 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 790 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, control terminal 700 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, control terminal 700 also includes storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out as the instruction of disclosure Fig. 2 or the related control terminal side of the Programming method providing embodiment illustrated in fig. 3 by one or above processor.
Please refer to Fig. 8, it shows the example arrangement schematic diagram of controlled plant related in each embodiment of the disclosure.This controlled plant can be for the Programming method of the controlled plant side implementing to provide in above-described embodiment.Preferred:
Controlled plant 800 can comprise communication unit 810, includes the storer 820 of one or more computer-readable recording mediums, input block 830, display unit 840, sensor 850, voicefrequency circuit 860, wireless communication unit 870, include the parts such as or above processor 880 of processing core and power supply 890.It will be understood by those skilled in the art that the electronic devices structure shown in figure does not form the restriction to electronic equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 810 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 810 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodular unit, etc. network communication equipment.Especially, when communication unit 810 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 880 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, communication unit 810 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, CDMA), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Storer 820 can be used for storing software program and module, and processor 880 is stored in software program and the module of storer 820 by operation, thereby carries out various function application and data processing.Storer 820 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of controlled plant 800 etc. can be stored in storage data field.In addition, storer 820 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 820 can also comprise Memory Controller, so that the access of processor 880 and 830 pairs of storeies 820 of input block to be provided.
Input block 830 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, control lever, optics or the input of trace ball signal.Preferably, input block 830 can comprise touch-sensitive surperficial 831 and other input equipments 832.Touch-sensitive surperficial 831, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 831 or touch-sensitive surperficial 831 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surperficial 831 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 880, and the order that energy receiving processor 880 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 831.Except touch-sensitive surperficial 831, input block 830 can also comprise other input equipments 832.Preferably, other input equipments 832 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 840 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and controlled plant 800, and these graphical user interface can consist of figure, text, icon, video and its combination in any.Display unit 840 can comprise display panel 841, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display panel 841.Further, touch-sensitive surperficial 831 can cover display panel 841, when touch-sensitive surperficial 831 detect thereon or near touch operation after, send processor 880 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 880 on display panel 841.Although in Fig. 8, touch-sensitive surperficial 831 with display panel 841 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 831 and display panel 841 integrated and realize input and output function.
Controlled plant 800 also can comprise at least one sensor 850, such as optical sensor, motion sensor and other sensors.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display panel 841, and proximity transducer can, when controlled plant 800 moves in one's ear, cut out display panel 841 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for controlled plant 800 other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the audio interface between user and controlled plant 800.Voicefrequency circuit 860 can be transferred to loudspeaker 861 by the electric signal after the voice data conversion receiving, and is converted to voice signal exports by loudspeaker 861; On the other hand, microphone 862 is converted to electric signal by the voice signal of collection, after being received by voicefrequency circuit 860, be converted to voice data, after again voice data output processor 880 being processed, through RF circuit 810, to send to such as another electronic equipment, or export voice data to storer 820 to further process.Voicefrequency circuit 860 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and controlled plant 800 to be provided.
In order to realize radio communication, on this electronic equipment, can dispose wireless communication unit 870, this wireless communication unit 870 can be WIFI module.WIFI belongs to short range wireless transmission technology, controlled plant 800 by wireless communication unit 870 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 870, be understandable that, it does not belong to must forming of controlled plant 800, completely can be as required in not changing the essential scope of invention and omit.
Processor 880 is control centers of controlled plant 800, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in storer 820, and call the data that are stored in storer 820, carry out various functions and the deal with data of controlled plant 800, thereby mobile phone is carried out to integral monitoring.Optionally, processor 880 can comprise one or more processing cores; Preferably, processor 880 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 880.
Controlled plant 800 also comprises that the power supply 890(powering to all parts is such as battery), preferably, power supply can be connected with processor 880 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 890 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, controlled plant 800 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, controlled plant 800 also includes storer, and one or more than one program, the above program of one of them or one is stored in storer, and is configured to carry out described one or above routine package containing for carrying out as the instruction of disclosure Fig. 2 or the related controlled plant side of the Programming method providing embodiment illustrated in fig. 3 by one or above processor.
In addition, typically, the electronic equipment described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection domain of the present disclosure should not be defined as the electronic equipment of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU, this computer program can be stored in computer-readable recording medium.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer-readable recording medium of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer-readable recording medium as herein described (for example, storer) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise ROM (read-only memory) (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache storer.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the storer of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), special IC (ASIC), field programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM storer, flash memory, ROM storer, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computing machine or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Disclosed exemplary embodiment, but disclosed exemplary embodiment should be noted, but it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Should be understood that, use in this article, unless exception clearly supported in context, singulative " " (" a ", " an ", " the ") is intended to also comprise plural form.It is to be further understood that in this article the "and/or" of using refer to comprise one or one project of listing explicitly above arbitrarily and likely combine.
Above-mentioned disclosure embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection domain of the present disclosure.

Claims (13)

1. a Programming method, is characterized in that, for including the control terminal of sensor, described method comprises:
By described sensor pick-up transducers data;
Described sensing data is sent to controlled plant;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
2. method according to claim 1, is characterized in that, described method also comprises:
The equipment that obtains selects information, described equipment selection information to be used for selecting controlled plant described at least one;
Described described sensing data is sent to controlled plant, comprising:
Send to described equipment to select the selected controlled plant described at least one of information described sensing data.
3. method according to claim 2, is characterized in that, described in obtain equipment and select information, comprising:
Connect with controlled plant described at least one;
Show with connect after the corresponding selection of described controlled plant interface;
On described selection interface, receive described equipment and select information.
4. a Programming method, is characterized in that, for controlled plant, described method comprises:
Receive the sensing data that control terminal sends;
Described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
5. method according to claim 4, is characterized in that, described method also comprises:
Connect with described control terminal, described control terminal also for show with connect after the corresponding selection of described controlled plant interface; And receiving equipment is selected information on described selection interface, described equipment selection information is used for selecting at least one controlled plant.
6. a Programming device, is characterized in that, for including the control terminal of sensor, described device comprises:
Data acquisition module, for by described sensor pick-up transducers data;
Data transmission blocks, for sending to controlled plant by described sensing data;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
7. device according to claim 6, is characterized in that, described device also comprises:
Acquisition of information module, selects information, described equipment selection information to be used for selecting controlled plant described at least one for obtaining equipment;
Described data transmission blocks, also for sending to described sensing data described equipment to select the selected controlled plant described at least one of information.
8. device according to claim 7, is characterized in that, described acquisition of information module, comprising: connect and set up unit, interface display unit and information receiving unit;
Unit is set up in described connection, for connecting with controlled plant described at least one;
Described interface display unit, for show with connect after the corresponding selection of described controlled plant interface;
Described information receiving unit, selects information for receive described equipment on described selection interface.
9. a Programming device, is characterized in that, for controlled plant, described device comprises:
Data reception module, the sensing data sending for receiving control terminal;
Data injection module, for described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
10. device according to claim 9, is characterized in that, described device also comprises:
Connect and to set up module, for connecting with described control terminal, described control terminal also for show with connect after the corresponding selection of described controlled plant interface; And receiving equipment is selected information on described selection interface, described equipment selection information is used for selecting at least one controlled plant.
11. 1 kinds of Programming systems, is characterized in that, described system comprises: control terminal and controlled plant;
Described control terminal comprises the Programming device as described in as arbitrary in claim 6 to 8;
Described controlled plant comprises the Programming device as described in as arbitrary in claim 9 to 10.
12. 1 kinds of control terminals, is characterized in that, described control terminal comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
By described sensor pick-up transducers data;
Described sensing data is sent to controlled plant;
Wherein, the sensing data that described controlled plant sends for receiving described control terminal, described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by application program from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
13. 1 kinds of controlled plants, is characterized in that, described controlled plant comprises:
One or more processors;
Storer; With
One or more modules, described one or more module stores are in described storer and be configured to be carried out by described one or more processors, and described one or more modules have following function:
Receive the sensing data that control terminal sends;
Described sensing data is injected to virtual-sensor, described virtual-sensor is for reading described sensing data by the application program operating on described controlled plant from described virtual-sensor, and from predetermined corresponding relation, obtain control command according to described sensing data, according to described control command, carry out corresponding control operation;
Wherein, described predetermined corresponding relation refers to the corresponding relation between different described sensing datas and different described control command.
CN201310525203.8A 2013-10-30 2013-10-30 Program control method, device and system Pending CN103605532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310525203.8A CN103605532A (en) 2013-10-30 2013-10-30 Program control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310525203.8A CN103605532A (en) 2013-10-30 2013-10-30 Program control method, device and system

Publications (1)

Publication Number Publication Date
CN103605532A true CN103605532A (en) 2014-02-26

Family

ID=50123762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310525203.8A Pending CN103605532A (en) 2013-10-30 2013-10-30 Program control method, device and system

Country Status (1)

Country Link
CN (1) CN103605532A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461686A (en) * 2014-11-19 2015-03-25 深圳市酷商时代科技有限公司 Method and device for providing sensor data for application program based on sensor
CN104820631A (en) * 2014-10-29 2015-08-05 小米科技有限责任公司 Presentation method and presentation apparatus of state of external device, and user terminal
CN105100848A (en) * 2014-04-21 2015-11-25 索尼公司 Intelligent equipment, and intelligent equipment control system and realization method thereof
CN106028059A (en) * 2016-05-24 2016-10-12 深圳Tcl数字技术有限公司 Video frames per second control method and device for smart television
CN111279306A (en) * 2017-10-27 2020-06-12 韦斯特尔电子工业和贸易有限责任公司 Electronic device and method of operating electronic device
US10853104B2 (en) 2015-02-27 2020-12-01 Plasma Business Intelligence, Inc. Virtual environment for simulating a real-world environment with a large number of virtual and real connected devices
CN113949746A (en) * 2021-09-07 2022-01-18 捷开通讯(深圳)有限公司 Internet of things virtual sensor implementation method and device and intelligent terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049606A1 (en) * 2000-05-16 2002-04-25 Lg Electronics Inc. Interactive learning device using web-based system and method therefor
CN101882364A (en) * 2009-05-05 2010-11-10 海尔集团公司 Remote controller giving control command through action
CN201699844U (en) * 2010-06-22 2011-01-05 天津三星电子显示器有限公司 Gravity sensing type television remote controller
CN102668592A (en) * 2009-10-30 2012-09-12 三星电子株式会社 Method and apparatus for controlling home network system using mobile terminal
CN202486948U (en) * 2011-12-05 2012-10-10 康佳集团股份有限公司 Set top box gravity induction remote control
CN103079019A (en) * 2012-12-21 2013-05-01 康佳集团股份有限公司 Control method and system for controlling intelligent terminal through mobile equipment
CN103150014A (en) * 2013-01-25 2013-06-12 东莞宇龙通信科技有限公司 Controlled terminal and control method
CN103227860A (en) * 2013-03-31 2013-07-31 李凯 Method and system for serving mobile equipment as remote controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020049606A1 (en) * 2000-05-16 2002-04-25 Lg Electronics Inc. Interactive learning device using web-based system and method therefor
CN101882364A (en) * 2009-05-05 2010-11-10 海尔集团公司 Remote controller giving control command through action
CN102668592A (en) * 2009-10-30 2012-09-12 三星电子株式会社 Method and apparatus for controlling home network system using mobile terminal
CN201699844U (en) * 2010-06-22 2011-01-05 天津三星电子显示器有限公司 Gravity sensing type television remote controller
CN202486948U (en) * 2011-12-05 2012-10-10 康佳集团股份有限公司 Set top box gravity induction remote control
CN103079019A (en) * 2012-12-21 2013-05-01 康佳集团股份有限公司 Control method and system for controlling intelligent terminal through mobile equipment
CN103150014A (en) * 2013-01-25 2013-06-12 东莞宇龙通信科技有限公司 Controlled terminal and control method
CN103227860A (en) * 2013-03-31 2013-07-31 李凯 Method and system for serving mobile equipment as remote controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100848A (en) * 2014-04-21 2015-11-25 索尼公司 Intelligent equipment, and intelligent equipment control system and realization method thereof
CN104820631A (en) * 2014-10-29 2015-08-05 小米科技有限责任公司 Presentation method and presentation apparatus of state of external device, and user terminal
CN104461686A (en) * 2014-11-19 2015-03-25 深圳市酷商时代科技有限公司 Method and device for providing sensor data for application program based on sensor
CN104461686B (en) * 2014-11-19 2019-08-13 深圳市掌中灵动科技有限公司 The method and apparatus of sensing data are provided to sensor-based application program
US10853104B2 (en) 2015-02-27 2020-12-01 Plasma Business Intelligence, Inc. Virtual environment for simulating a real-world environment with a large number of virtual and real connected devices
CN106028059A (en) * 2016-05-24 2016-10-12 深圳Tcl数字技术有限公司 Video frames per second control method and device for smart television
CN106028059B (en) * 2016-05-24 2020-01-14 深圳Tcl数字技术有限公司 Method and device for controlling video frame rate of smart television
CN111279306A (en) * 2017-10-27 2020-06-12 韦斯特尔电子工业和贸易有限责任公司 Electronic device and method of operating electronic device
CN113949746A (en) * 2021-09-07 2022-01-18 捷开通讯(深圳)有限公司 Internet of things virtual sensor implementation method and device and intelligent terminal

Similar Documents

Publication Publication Date Title
CN104383681B (en) Method for controlling game program, device and mobile terminal
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN103605532A (en) Program control method, device and system
CN104142779B (en) user interface control method, device and terminal
CN103578474A (en) Method, device and equipment for voice control
CN103543913A (en) Terminal device operation method and device, and terminal device
US20150121295A1 (en) Window displaying method of mobile terminal and mobile terminal
CN103309562A (en) Desktop display method, desktop display device and mobile terminal
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
CN103488403A (en) Switching method and device for interface layout and mobile terminal
CN103310004A (en) Method, device and equipment for displaying number of unread messages
EP3407177A1 (en) Method for capturing fingerprint and associated products
CN103607713A (en) Method, apparatus, device and system for network access
CN103686963A (en) Method, device, equipment and system for controlling wireless network to be switched on/off
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN104301315A (en) Method and device for limiting information access
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN104602100A (en) Method and device for recording video and audio in applications
CN104375886A (en) Information processing method and device and electronic device
CN104869465A (en) Video playing control method and device
CN103713804A (en) Equipment control method and device and electronic equipment
CN103699373A (en) Interface color display method, device and system
CN103631580A (en) Method and device for generating theme icon
CN103544456A (en) Information processing method, information processing device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140226

RJ01 Rejection of invention patent application after publication