CN104536565A - Application program control method and device - Google Patents

Application program control method and device Download PDF

Info

Publication number
CN104536565A
CN104536565A CN201410802680.9A CN201410802680A CN104536565A CN 104536565 A CN104536565 A CN 104536565A CN 201410802680 A CN201410802680 A CN 201410802680A CN 104536565 A CN104536565 A CN 104536565A
Authority
CN
China
Prior art keywords
sensing data
steering order
configuration information
scope
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410802680.9A
Other languages
Chinese (zh)
Other versions
CN104536565B (en
Inventor
邱剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN KUSHANG TIMES TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN KUSHANG TIMES TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN KUSHANG TIMES TECHNOLOGY Co Ltd filed Critical SHENZHEN KUSHANG TIMES TECHNOLOGY Co Ltd
Priority to CN201410802680.9A priority Critical patent/CN104536565B/en
Publication of CN104536565A publication Critical patent/CN104536565A/en
Application granted granted Critical
Publication of CN104536565B publication Critical patent/CN104536565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an application program control method and device. The method comprises the steps that configuration information is acquired, wherein the configuration information comprises the mapping relation between a sensor data range and a control command; sensor data are acquired in real time from an operating system; when it is detected that the sensor data are matched with the sensor data range, the sensor data are converted into a simulated control command according to the mapping relation between the sensor data range and the control command; the simulated control command is transmitted to an input service module of the operating system and then transmitted to an application program through the input service module. According to the application program control method and device, the application program can be controlled through function conversion of a sensor even if input equipment like a key or a touch panel fails, the cost is lowered, and the universality is high.

Description

Application control method and device
Technical field
The present invention relates to technical field of computer information processing, particularly relate to a kind of application control method and device.
Background technology
Application program operates in terminal, and its some function usually needs user by operation push-button, touches the input equipment such as Trackpad and come to application passes input instruction, makes it make to meet the response of expection.Such as user clicks to be arranged on and terminal returns function key, then perform the function returned, if click the tools menu exhalation key in terminal, can recall menu interface etc.
But the input equipment as button or Trackpad adopted at present is application passes input instruction, and easily break down after long-time use, now application program cannot use; And staff long-time operation button or Trackpad also can cause finger fatigue.
Summary of the invention
Based on this, be necessary that for the input equipment at present by such as button or Trackpad be that application passes inputs instruction, the problem easily broken down, provides a kind of application control method and device.
A kind of application control method, described method comprises:
Obtain configuration information, described configuration information comprises the mapping relations of sensing data scope and steering order;
From operating system Real-time Obtaining sensing data;
When described sensing data and described sensing data commensurate in scope being detected, according to the mapping relations of described sensing data scope and steering order, described sensing data is converted to the steering order of simulation;
The steering order of described simulation is passed to the input service module of described operating system, by described input service module, the steering order of described simulation is passed to application program.
A kind of application program controlling device, described device comprises:
Configuration information acquisition module, for obtaining configuration information, described configuration information comprises the mapping relations of sensing data scope and steering order;
Sensing data acquisition module, for from operating system Real-time Obtaining sensing data;
Control module, during for described sensing data and described sensing data commensurate in scope being detected, according to the mapping relations of described sensing data scope and steering order, is converted to the steering order of simulation by described sensing data; The steering order of described simulation is passed to the input service module of described operating system, by described input service module, the steering order of described simulation is passed to application program.
Above-mentioned application control method and device, the function of sensor is changed, be mapped as the steering order of simulation, pass to application program again, just the input equipment as button or Trackpad can be replaced to carry out controlling application program by sensor, even if break down also can by the power and energy controlling application program of sensor for the input equipment as button or Trackpad.And, the steering order of simulation is passed to application program by the input service module that make use of operating system self, and application program itself does not need again to write to realize this application program controlling mode, and goes for various application program, save cost, highly versatile.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of application control method in an embodiment;
Fig. 2 is the schematic diagram of sensor type configuration interface in an embodiment;
Fig. 3 is the schematic diagram of sensing data scope configuration interface in an embodiment;
Fig. 4 is the schematic diagram of trigger event configuration interface in an embodiment;
Fig. 5 is the schematic diagram of Trigger Function configuration interface in an embodiment;
Fig. 6 is the schematic diagram that in an embodiment, mapping result determines interface;
Fig. 7 is the schematic diagram of configuration information editing interface in an embodiment;
Fig. 8 is the schematic diagram that in an embodiment, sensing data scope corrects interface;
Fig. 9 is the structured flowchart of application program controlling device in an embodiment;
Figure 10 is the structured flowchart of application program controlling device in another embodiment;
Figure 11 is the structured flowchart of application program controlling device in another embodiment;
Figure 12 is the environment map of application program controlling device in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in one embodiment, provide a kind of application control method, the present embodiment is applied to terminal to illustrate in this way.This terminal can be the mobile terminal such as mobile phone, panel computer, also can be desk-top computer.In this terminal, independent operating has middleware services module, for realizing this application control method.The method specifically comprises the steps:
Step 102, obtain configuration information, configuration information comprises the mapping relations of sensing data scope and steering order.
Particularly, terminal can obtain configuration information by reading configuration file that assigned address stores, or can by providing configuration interface buffer memory after typing configuration information, thus obtain the configuration information of buffer memory when needed.Configuration information is the information how limit sensor data are converted to corresponding steering order, at least comprises the mapping relations of sensing data scope and steering order.This mapping relations can be represented to the corresponding relation of the trigger event for triggering corresponding steering order by sensing data scope.
Sensor (English name: Transducer or Sensor) is a kind of pick-up unit, measured information can be experienced, and the information that can will experience, the information being for conversion into electric signal or other desired forms according to certain rules exports, to meet the requirements such as the transmission of information, process, storage, display, record and control.In the present embodiment, sensor includes but not limited to gravity sensor, acceleration transducer, gyro sensor, geomagnetic sensor, temperature sensor, range sensor, light sensor and pressure transducer.
Step 104, from operating system Real-time Obtaining sensing data.
Particularly, operating system here can be Android (Android) operating system, Windows (form) operating system or iOS operating system (operating system of Apple's exploitation).Operating system self or the function by having acquisition sensing data after install driver, sensor is meeting output transducer data when having an effect, and operating system then gets sensing data by monitoring the output of sensor.
Step 106, when sensing data and sensing data commensurate in scope being detected, according to the mapping relations of sensing data scope and steering order, is converted to the steering order of simulation by sensing data.
If the mapping relations of sensing data scope and steering order represent that sensing data that sensor provides is within the scope of this sensing data, be then mapped as this steering order by this sensing data.According to the mapping relations of sensing data scope and steering order, can create and simulate trigger event accordingly in one embodiment, then trigger the steering order of corresponding simulation according to this modeling event.
If concrete sensor is motion sensor, such as gravity sensor, gyro sensor etc., then its sensing data provided can be the data of at least one axis in the data of three axis representing forced direction and size.If sensor is pressure transducer, then its sensing data provided can be the value representing stressed size.Sensing data scope can be greater than or less than or equal a certain value, also can be the interval value with head and the tail two end points.
Steering order can be any steering order inputted of application program support, can be button or the steering order corresponding to predefined touch control gesture in terminal, the steering order that returns of such as return key is mapped as a sensing data scope, and the menu exhalation steering order of key of being breathed out by menu is mapped as another sensing data scope.Here the steering order simulated, refer to this steering order be not by routine the actual trigger event such as key-press event or touch event detected time trigger, but according to the steering order that sensing data converts.
Step 108, passes to the input service module of operating system by the steering order of simulation, by input service module, the steering order of simulation is passed to application program.
Particularly, input service module runs on an operating system as the service module of independent operating, for providing the support of input service for application program.Such as user clicks the mouse, touch the steering order that Trackpad or pressing keys produce all can pass to application program by input service module.Here the steering order of simulation is also passed to application program by this input service module, application program is responded according to the steering order of this simulation.The steering order that application program does not need to be difficult to differentiate input service module yet and provides is that terminal produced when corresponding trigger event being detected, or the steering order of simulation.
Here the application program being passed the steering order of simulation can be support input control order, appointment or arbitrary application program, such as instant messaging application program, shopping application program or game application etc.In one embodiment, the steering order of simulation is for triggering default multiple operations.Particularly, the multiple operations preset can be relevant or incoherent operations.Relevant multiple default operation can be the combination for the multiple button operation and/or touch operation triggering a function, and incoherent operation can be multiple button operation for triggering different functions respectively and/or touch operation.In the present embodiment, the steering order of simulation, for triggering default multiple operations, achieves multiplexing functions, can be applied in Test Application scene or analogue-key scene.
Above-mentioned application control method, the function of sensor is changed, be mapped as the steering order of simulation, pass to application program again, just the input equipment as button or Trackpad can be replaced to carry out controlling application program by sensor, even if break down also can by the power and energy controlling application program of sensor for the input equipment as button or Trackpad.And, the steering order of simulation is passed to application program by the input service module that make use of operating system self, and application program itself does not need again to write to realize this application program controlling mode, and goes for various application program, save cost, highly versatile.
In one embodiment, step 104 comprises: from the sensing data of the multiple sensor of operating system Real-time Obtaining.And step 106 specifically comprises: when corresponding to each sensor respectively sensing data commensurate in scope of the sensing data of each sensor being detected, according to the sensing data scope of each coupling and the many-to-one mapping relations of steering order, the sensing data of multiple sensor is converted to the steering order of a simulation.In the present embodiment, multiple sensor collaborative work can carry out the steering order of trigger simulation, and compare the simple sensing data adopting single-sensor, can realize a greater variety of control mode of application programs, practicality is stronger.In other embodiments, the steering order of simulation, for triggering default multiple operations, can promote the control ability of application programs so further.
In one embodiment, configuration information also comprises sensor type and specifies axially; Then step 104 specifically comprises: the sensing data of the appointment axis of the sensor mated with sensor type from operating system Real-time Obtaining.
Particularly, the sensor in the present embodiment has multiple axial, and such as gravity sensor, acceleration transducer or gyro sensor etc. at least have three axis.Specify axis then to refer to one or more axis appointed in multiple axis of sensor, multiple axis of sensor can be all designated.Sensor type refers to the data representing kind of sensor, such as can represent various types of sensor by different numerals.
In the present embodiment, by pre-configured sensor type with specify axially, this application control method can be made can be applied to the terminal with multiple sensors, and the axis of translation function can be used for by unrestricted choice, strengthen versatility.And the control program be made according to this application control method goes for the various terminals respectively with dissimilar sensor, make the versatility of control program very strong.
In one embodiment, this application control method also comprises: provide configuration interface, obtain the sensing data scope of typing in configuration interface and mapping relations, the sensor type of steering order and specify axis using as configuration information, and be stored as configuration file according to predefined format.And step 102 specifically comprises: read configuration information according to predefined format from configuration file.
Configuration interface comprises sensor type configuration interface as shown in Figure 2, sensing data scope configuration interface as shown in Figure 3, trigger event configuration interface as shown in Figure 4, Trigger Function configuration interface as shown in Figure 5, mapping result as shown in Figure 6 determine interface and configuration information editing interface as shown in Figure 7.Wherein sensor type configuration interface is used for sensors configured type, sensing data scope configuration interface specifies axis and sensing data scope for configuring, and trigger event configuration interface and Trigger Function configuration interface are then for steering order that sensors configured data area maps.
Particularly, first enter sensor type configuration interface as shown in Figure 2, in the sensor type list shown from this sensor type configuration interface, selected sensor type, then jumps to sensing data scope configuration interface as shown in Figure 3.Select in the axial list shown in sensing data scope configuration interface and specify axially and set corresponding ranges of sensors, then jump to trigger event configuration interface as shown in Figure 4.In the toggle event type list shown in trigger event configuration interface, selected toggle event type, then jumps to Trigger Function configuration interface as shown in Figure 5.The steering order option list corresponding with selected toggle event type is shown in Trigger Function configuration interface, a selected option is using the steering order steering order of its correspondence mapped as the ranges of sensors set wherein, then the mapping result jumped to as shown in Figure 6 is determined in interface, generates configuration information after confirming preservation.Configuration interface can also comprise configuration information editing interface as shown in Figure 7, in order to modify to the configuration information preserved or to delete.The content of each configuration interface included by configuration interface can form the interface of other form according to above-mentioned logic independent assortment, be not construed as limiting here.Configuration interface is all right
The configuration information repeatedly set can save as independent configuration file respectively, also can be kept in same configuration file and to be opened by predefined separators.Predefined format can be often go one that represents configuration information respectively in order, also can the corresponding configuration information of corresponding predefined field record.The predefined format consistent with when storing is adopted to read when reading configuration file.
In one embodiment, this application control method also comprises: record detect at every turn with the sensing data of sensing data commensurate in scope and the steering order that maps thereof; Carry out adding up to obtain statistics according to the sensing data recorded and the steering order mapped thereof, statistics is used for the mapping relations adjusting sensing data scope and steering order according to this.
Particularly, the sensing data scope possibility that user sets is also improper, in this case need to record that detect with sensing data that is sensing data commensurate in scope at every turn, and the steering order that this sensing data maps, obtain statistics to add up accordingly.Statistics can provide according to the normal distribution of sensing data, and the sensing data recorded corresponding to probability in the preset range of concrete desirable normal distribution peak value vicinity is as the sensing data in statistics.Statistics can certainly be obtained by assembly average, weighted mean value.
Shape can be recorded as FUNCTION1{ (a, b, c) with the sensing data of sensing data commensurate in scope, (d, e, f) ..., wherein FUNCTION1 is the mark of steering order, (a, b, c), (d, e, f) be the axial data each with the sensor of sensing data commensurate in scope at every turn detected.Statistics then can be expressed as FUNCTION1 (g, ± h), wherein g can be the sensing data recorded corresponding to probability at the normal distribution peak value place of the sensor data, or can be mean value, the weighted mean value of the sensing data recorded of statistics, h is statistics scope control parameter, can be fixed value.
The sensing data scope that configuration interface can also comprise as shown in Figure 8 corrects interface, the instruction that the confirmation for triggering in response to user is corrected, and adjusts the sensing data scope in the mapping relations of sensing data scope and steering order according to statistics.
In one embodiment, this application control method also comprises: storage of the sensing data recorded and its steering order mapped being uploaded onto the server; The step carrying out adding up to obtain statistics according to the sensing data recorded and the steering order mapped thereof specifically comprises: by server to carry out adding up to obtain statistics according to the sensing data that server has stored and the steering order mapped thereof.
In the present embodiment, the sensing data that this locality can have been recorded and the steering order mapped thereof are uploaded onto the server storage, the sensing data that server is uploaded according to user and the steering order mapped thereof provide a statistics, can provide according to normal distribution.The sensing data that server is uploaded according to same user and the steering order mapped thereof are added up, also the comprehensive statistics that the sensing data can uploaded according to a large number of users and the steering order mapped thereof are carried out adding up and obtained, all like this user terminals being connected to server can get this statistics from server, are optimized the sensing data of respective local record and the corresponding relation of steering order that maps thereof.
As shown in Figure 9, in one embodiment, provide a kind of application program controlling device 900, there is the function of the application control method realizing each embodiment above-mentioned.This application program controlling device 900 comprises configuration information acquisition module 902, sensing data acquisition module 904 and control module 906.
Configuration information acquisition module 902, for obtaining configuration information, configuration information comprises the mapping relations of sensing data scope and steering order.
Particularly, configuration information acquisition module 902 can be used for by reading configuration file that assigned address stores and obtains configuration information, or can by providing configuration interface buffer memory after typing configuration information, thus obtain the configuration information of buffer memory when needed.Configuration information is the information how limit sensor data are converted to corresponding steering order, at least comprises the mapping relations of sensing data scope and steering order.This mapping relations can be represented to the corresponding relation of the trigger event for triggering corresponding steering order by sensing data scope.
Sensor is a kind of pick-up unit, measured information can be experienced, and the information that can will experience, the information being for conversion into electric signal or other desired forms according to certain rules exports, to meet the requirements such as the transmission of information, process, storage, display, record and control.In the present embodiment, sensor includes but not limited to gravity sensor, acceleration transducer, gyro sensor, geomagnetic sensor, temperature sensor, range sensor, light sensor and pressure transducer.
Sensing data acquisition module 904, for from operating system Real-time Obtaining sensing data.
Particularly, operating system here can be Android operation system, Windows operating system or iOS operating system.Operating system self or the function by having acquisition sensing data after install driver, sensor is meeting output transducer data when having an effect, and operating system then gets sensing data by monitoring the output of sensor.
Control module 906, during for sensing data and sensing data commensurate in scope being detected, according to the mapping relations of sensing data scope and steering order, is converted to the steering order of simulation by sensing data; The steering order of simulation is passed to the input service module of operating system, by input service module, the steering order of simulation is passed to application program.
If the mapping relations of sensing data scope and steering order represent that sensing data that sensor provides is within the scope of this sensing data, be then mapped as this steering order by this sensing data.Control module 906 can be used for the mapping relations according to sensing data scope and steering order in one embodiment, creates and simulates trigger event accordingly, then triggers the steering order of corresponding simulation according to this modeling event.
If concrete sensor is motion sensor, such as gravity sensor, gyro sensor etc., then its sensing data provided can be the data of at least one axis in the data of three axis representing forced direction and size.If sensor is pressure transducer, then its sensing data provided can be the value representing stressed size.Sensing data scope can be greater than or less than or equal a certain value, also can be the interval value with head and the tail two end points.
Steering order can be any steering order inputted of application program support, can be button or the steering order corresponding to predefined touch control gesture in terminal, the steering order that returns of such as return key is mapped as a sensing data scope, and the menu exhalation steering order of key of being breathed out by menu is mapped as another sensing data scope.Here the steering order simulated, refer to this steering order be not by routine the actual trigger event such as key-press event or touch event detected time trigger, but according to the steering order that sensing data converts.
With reference to Figure 12, input service module runs on an operating system as the service module of independent operating, for providing the support of input service for application program.Such as user clicks the mouse, touch the steering order that Trackpad or pressing keys produce all can pass to application program by input service module.Here the steering order of simulation is also passed to application program by this input service module, application program is responded according to the steering order of this simulation.The steering order that application program does not need to be difficult to differentiate input service module yet and provides is that terminal produced when corresponding trigger event being detected, or the steering order of simulation.
Here the application program being passed the steering order of simulation can be support input control order, appointment or arbitrary application program, such as instant messaging application program, shopping application program or game application etc.In one embodiment, the steering order of simulation is for triggering default multiple operations.Particularly, the multiple operations preset can be relevant or incoherent operations.Relevant multiple default operation can be the combination for the multiple button operation and/or touch operation triggering a function, and incoherent operation can be multiple button operation for triggering different functions respectively and/or touch operation.In the present embodiment, the steering order of simulation, for triggering default multiple operations, achieves multiplexing functions, can be applied in Test Application scene or analogue-key scene.
Above-mentioned application program controlling device 900, the function of sensor is changed, be mapped as the steering order of simulation, pass to application program again, just the input equipment as button or Trackpad can be replaced to carry out controlling application program by sensor, even if break down also can by the power and energy controlling application program of sensor for the input equipment of button or Trackpad.And, the steering order of simulation is passed to application program by the input service module that make use of operating system self, and application program itself does not need again to write to realize this application program controlling mode, and goes for various application program, save cost, highly versatile.
In one embodiment, sensing data acquisition module 904 is also for the sensing data from the multiple sensor of operating system Real-time Obtaining.When control module 906 is also for the sensing data of each sensor corresponding to each sensor respectively sensing data commensurate in scope being detected, according to the sensing data scope of each coupling and the many-to-one mapping relations of steering order, the sensing data of multiple sensor is converted to the steering order of a simulation.In the present embodiment, multiple sensor collaborative work can carry out the steering order of trigger simulation, and compare the simple sensing data adopting single-sensor, can realize a greater variety of control mode of application programs, practicality is stronger.In other embodiments, the steering order of simulation, for triggering default multiple operations, can promote the control ability of application programs so further.
In one embodiment, configuration information also comprises sensor type and specifies axially; The sensing data of the appointment axis of sensor of sensing data acquisition module 904 also for mating from operating system Real-time Obtaining with sensor type.
Particularly, the sensor in the present embodiment has multiple axial, and such as gravity sensor, acceleration transducer or gyro sensor etc. at least have three axis.Specify axis then to refer to one or more axis appointed in multiple axis of sensor, multiple axis of sensor can be all designated.Sensor type refers to the data representing kind of sensor, such as can represent various types of sensor by different numerals.
In the present embodiment, by pre-configured sensor type with specify axially, this application control method can be made can be applied to the terminal with multiple sensors, and the axis of translation function can be used for by unrestricted choice, strengthen versatility.And the control program be made according to this application control method goes for the various terminals respectively with dissimilar sensor, make the versatility of control program very strong.
As shown in Figure 10, in one embodiment, this application program controlling device 900 also comprises: interface manager module 908, for providing configuration interface, obtain the sensing data scope of typing in configuration interface and mapping relations, the sensor type of steering order and specify axis using as configuration information, and be stored as configuration file according to predefined format.And configuration information acquisition module 902 also for reading configuration information according to predefined format from configuration file.
The configuration interface that interface manager module 908 provides comprises sensor type configuration interface as shown in Figure 2, sensing data scope configuration interface as shown in Figure 3, trigger event configuration interface as shown in Figure 4, Trigger Function configuration interface as shown in Figure 5 and mapping result as shown in Figure 6 and determines interface.Wherein sensor type configuration interface is used for sensors configured type, sensing data scope configuration interface specifies axis and sensing data scope for configuring, and trigger event configuration interface and Trigger Function configuration interface are then for steering order that sensors configured data area maps.
Particularly, first enter sensor type configuration interface as shown in Figure 2, in the sensor type list shown from this sensor type configuration interface, selected sensor type, then jumps to sensing data scope configuration interface as shown in Figure 3.Select in the axial list shown in sensing data scope configuration interface and specify axially and set corresponding ranges of sensors, then jump to trigger event configuration interface as shown in Figure 4.In the toggle event type list shown in trigger event configuration interface, selected toggle event type, then jumps to Trigger Function configuration interface as shown in Figure 5.The steering order option list corresponding with selected toggle event type is shown in Trigger Function configuration interface, a selected option is using the steering order steering order of its correspondence mapped as the ranges of sensors set wherein, then the mapping result jumped to as shown in Figure 6 is determined in interface, generates configuration information after confirming preservation.Configuration interface can also comprise configuration information editing interface as shown in Figure 7, in order to modify to the configuration information preserved or to delete.The content of each configuration interface included by configuration interface can form the interface of other form according to above-mentioned logic independent assortment, be not construed as limiting here.Configuration interface is all right
The configuration information repeatedly set can save as independent configuration file respectively, also can be kept in same configuration file and to be opened by predefined separators.Predefined format can be often go one that represents configuration information respectively in order, also can the corresponding configuration information of corresponding predefined field record.The predefined format consistent with when storing is adopted to read when reading configuration file.
As shown in figure 11, in one embodiment, this application program controlling device 900 also comprises: logging modle 910 and statistical module 912.
Logging modle 910 that detect with sensing data that is sensing data commensurate in scope and the steering order mapped for recording at every turn.Statistical module 912, for carrying out adding up to obtain statistics according to the sensing data recorded and the steering order mapped thereof, statistics is used for the mapping relations adjusting sensing data scope and steering order according to this.
Particularly, the sensing data scope possibility that user sets is also improper, in this case need to record that detect with sensing data that is sensing data commensurate in scope at every turn, and the steering order that this sensing data maps, obtain statistics to add up accordingly.Statistics can provide according to the normal distribution of sensing data, and the sensing data recorded corresponding to probability in the preset range of concrete desirable normal distribution peak value vicinity is as the sensing data in statistics.Statistics can certainly be obtained by assembly average, weighted mean value.
Shape can be recorded as FUNCTION1{ (a, b, c) with the sensing data of sensing data commensurate in scope, (d, e, f) ..., wherein FUNCTION1 is the mark of steering order, (a, b, c), (d, e, f) be the axial data each with the sensor of sensing data commensurate in scope at every turn detected.Statistics then can be expressed as FUNCTION1 (g, ± h), wherein g can be the sensing data recorded corresponding to probability at the normal distribution peak value place of the sensor data, or can be mean value, the weighted mean value of the sensing data recorded of statistics, h is statistics scope control parameter, can be fixed value.
The sensing data scope that configuration interface can also comprise as shown in Figure 8 corrects interface, the instruction that the confirmation for triggering in response to user is corrected, and adjusts the sensing data scope in the mapping relations of sensing data scope and steering order according to statistics.
In one embodiment, logging modle 910 is also for storage of the sensing data recorded and its steering order mapped being uploaded onto the server.Statistical module 912 also for by server to carry out adding up to obtain statistics according to the sensing data that server has stored and the steering order mapped thereof.
In the present embodiment, the sensing data that this locality can have been recorded and the steering order mapped thereof are uploaded onto the server storage, the sensing data that server is uploaded according to user and the steering order mapped thereof provide a statistics, can provide according to normal distribution.The sensing data that server is uploaded according to same user and the steering order mapped thereof are added up, also the comprehensive statistics that the sensing data can uploaded according to a large number of users and the steering order mapped thereof are carried out adding up and obtained, all like this user terminals being connected to server can get this statistics from server, are optimized the sensing data of respective local record and the corresponding relation of steering order that maps thereof.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. an application control method, described method comprises:
Obtain configuration information, described configuration information comprises the mapping relations of sensing data scope and steering order;
From operating system Real-time Obtaining sensing data;
When described sensing data and described sensing data commensurate in scope being detected, according to the mapping relations of described sensing data scope and steering order, described sensing data is converted to the steering order of simulation;
The steering order of described simulation is passed to the input service module of described operating system, by described input service module, the steering order of described simulation is passed to application program.
2. method according to claim 1, is characterized in that, described configuration information also comprises sensor type and specifies axially; Described from operating system Real-time Obtaining sensing data, comprising:
The sensing data of the appointment axis of the sensor mated with described sensor type from operating system Real-time Obtaining.
3. method according to claim 2, is characterized in that, described method also comprises:
Configuration interface is provided, obtains the sensing data scope of typing in described configuration interface and mapping relations, the sensor type of steering order and specify axially using as configuration information, and being stored as configuration file according to predefined format;
Described acquisition configuration information, comprising: from described configuration file, read described configuration information according to predefined format.
4. method according to claim 1, is characterized in that, described method also comprises:
Record detect at every turn with the sensing data of described sensing data commensurate in scope and the steering order that maps thereof;
Carry out adding up to obtain statistics according to the described sensing data recorded and the steering order mapped thereof, described statistics is used for the mapping relations adjusting described sensing data scope and steering order according to this.
5. method according to claim 1, is characterized in that, described method also comprises:
The sensing data recorded and its steering order mapped to be uploaded onto the server storage;
The sensing data recorded described in described basis and the steering order mapped thereof carry out adding up to obtain statistics, comprising:
By described server to carry out adding up to obtain statistics according to the sensing data that described server has stored and the steering order mapped thereof.
6. an application program controlling device, is characterized in that, described device comprises:
Configuration information acquisition module, for obtaining configuration information, described configuration information comprises the mapping relations of sensing data scope and steering order;
Sensing data acquisition module, for from operating system Real-time Obtaining sensing data;
Control module, during for described sensing data and described sensing data commensurate in scope being detected, according to the mapping relations of described sensing data scope and steering order, is converted to the steering order of simulation by described sensing data; The steering order of described simulation is passed to the input service module of described operating system, by described input service module, the steering order of described simulation is passed to application program.
7. device according to claim 6, is characterized in that, described configuration information also comprises sensor type and specifies axially; The sensing data of the appointment axis of sensor of described sensing data acquisition module also for mating from operating system Real-time Obtaining with described sensor type.
8. device according to claim 7, it is characterized in that, described device also comprises: interface manager module, for providing configuration interface, obtain the sensing data scope of typing in described configuration interface and mapping relations, the sensor type of steering order and specify axis using as configuration information, and be stored as configuration file according to predefined format;
Described configuration information acquisition module also for reading described configuration information according to predefined format from described configuration file.
9. device according to claim 6, is characterized in that, described device also comprises:
Logging modle that detect with sensing data that is described sensing data commensurate in scope and the steering order mapped for recording at every turn;
Statistical module, for carrying out adding up to obtain statistics according to the described sensing data recorded and the steering order mapped thereof, described statistics is used for the mapping relations adjusting described sensing data scope and steering order according to this.
10. device according to claim 6, is characterized in that, described logging modle is also for storage of the sensing data recorded and its steering order mapped being uploaded onto the server;
Described statistical module also for by described server to carry out adding up to obtain statistics according to the sensing data that described server has stored and the steering order mapped thereof.
CN201410802680.9A 2014-12-18 2014-12-18 Application control method and device Active CN104536565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410802680.9A CN104536565B (en) 2014-12-18 2014-12-18 Application control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410802680.9A CN104536565B (en) 2014-12-18 2014-12-18 Application control method and device

Publications (2)

Publication Number Publication Date
CN104536565A true CN104536565A (en) 2015-04-22
CN104536565B CN104536565B (en) 2019-01-11

Family

ID=52852105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410802680.9A Active CN104536565B (en) 2014-12-18 2014-12-18 Application control method and device

Country Status (1)

Country Link
CN (1) CN104536565B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468195A (en) * 2015-11-17 2016-04-06 中国联合网络通信集团有限公司 Method and device for realizing human-computer interaction
CN105487655A (en) * 2015-11-23 2016-04-13 联想(北京)有限公司 Information processing method and related electronic device
CN106406584A (en) * 2016-11-07 2017-02-15 广州视睿电子科技有限公司 Control method of interactive device and command response method and device
CN106845782A (en) * 2016-12-23 2017-06-13 国网浙江省电力公司台州供电公司 Distribution big data intelligent analysis method
CN112003731A (en) * 2020-07-27 2020-11-27 新华三技术有限公司 Configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301312A (en) * 2008-12-01 2011-12-28 新加坡国立大学 Portable Engine For Entertainment, Education, Or Communication
CN103914305A (en) * 2014-04-10 2014-07-09 广东欧珀移动通信有限公司 Method and system for freely controlling applications on mobile terminal
CN104169858A (en) * 2013-12-03 2014-11-26 华为技术有限公司 Method and device of using terminal device to identify user gestures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301312A (en) * 2008-12-01 2011-12-28 新加坡国立大学 Portable Engine For Entertainment, Education, Or Communication
CN104169858A (en) * 2013-12-03 2014-11-26 华为技术有限公司 Method and device of using terminal device to identify user gestures
CN103914305A (en) * 2014-04-10 2014-07-09 广东欧珀移动通信有限公司 Method and system for freely controlling applications on mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468195A (en) * 2015-11-17 2016-04-06 中国联合网络通信集团有限公司 Method and device for realizing human-computer interaction
CN105487655A (en) * 2015-11-23 2016-04-13 联想(北京)有限公司 Information processing method and related electronic device
CN105487655B (en) * 2015-11-23 2023-01-17 联想(北京)有限公司 Information processing method and related electronic equipment
CN106406584A (en) * 2016-11-07 2017-02-15 广州视睿电子科技有限公司 Control method of interactive device and command response method and device
CN106845782A (en) * 2016-12-23 2017-06-13 国网浙江省电力公司台州供电公司 Distribution big data intelligent analysis method
CN112003731A (en) * 2020-07-27 2020-11-27 新华三技术有限公司 Configuration method and device
CN112003731B (en) * 2020-07-27 2022-07-12 新华三技术有限公司 Configuration method and device

Also Published As

Publication number Publication date
CN104536565B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
US20140019905A1 (en) Method and apparatus for controlling application by handwriting image recognition
CN104536565A (en) Application program control method and device
CN108287739A (en) A kind of guiding method of operating and mobile terminal
US10572017B2 (en) Systems and methods for providing dynamic haptic playback for an augmented or virtual reality environments
CN105144057A (en) Device, method, and graphical user interface for moving a cursor according to a change in an appearance of a control icon with simulated three-dimensional characteristics
EP2891041B1 (en) User interface apparatus in a user terminal and method for supporting the same
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN104423789A (en) Information processing method and electronic equipment
CN109446832A (en) A kind of screenshotss method and device
CN108763540B (en) File browsing method and terminal
CN106547676A (en) A kind of user operation method for recording and terminal
CN108334265A (en) A kind of document handling method and mobile terminal
CN109426412A (en) Display device and its control method
CN110908627A (en) Screen projection method and first electronic device
CN112148579A (en) User interface testing method and device
CN105183291A (en) Method and system for extracting information in display interface
KR20160052952A (en) Block and user terminal for modeling 3d shape and the method for modeling 3d shape using the same
CN109324741A (en) A kind of method of controlling operation thereof, device and system
CN111104380A (en) Application file management method and device, mobile terminal and storage medium
CN112817582B (en) Code processing method, device, computer equipment and storage medium
CN104239018A (en) Methods and systems for demonstrating and generating demonstration scripts
CN107862035A (en) Network read method, device, Intelligent flat and the storage medium of minutes
CN111651068A (en) Method, device and equipment for switching character language types and storage medium
CN103473170B (en) Test macro and method of testing
CN110928539B (en) Code engineering generation method and device, electronic equipment and readable storage medium

Legal Events

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