CN106325487A - Method for achieving sensomotor function, and terminal - Google Patents

Method for achieving sensomotor function, and terminal Download PDF

Info

Publication number
CN106325487A
CN106325487A CN201510387827.7A CN201510387827A CN106325487A CN 106325487 A CN106325487 A CN 106325487A CN 201510387827 A CN201510387827 A CN 201510387827A CN 106325487 A CN106325487 A CN 106325487A
Authority
CN
China
Prior art keywords
data
application processor
terminal
modem
waken
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
CN201510387827.7A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510387827.7A priority Critical patent/CN106325487A/en
Priority to PCT/CN2016/074280 priority patent/WO2016165483A1/en
Publication of CN106325487A publication Critical patent/CN106325487A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method for achieving a sensomotor function, and a terminal. The method comprises the steps of receiving data of various sensors and/or touch screen modules in the terminal after a modulator-demodulator arranged in the terminal receives a request of opening the sensomotor function from an application processor, and performing operation processing; and implementing the sensomotor function via the application processor after the modulator-demodulator transmits the processed data to the application processor. According to the method and terminal provided by the invention, power consumption can be saved, and software and hardware costs can also be saved.

Description

A kind of method realizing body-sensing function and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method realizing body-sensing function and terminal.
Background technology
Body-sensing and gesture function are the trend of following mobile phone sensor development, the most most handss Machine has corresponding body-sensing and gesture function.Which kind of state no matter this functional requirement terminal unit be under, The attitudes vibration of human body and the change operation of gesture can be perceived.At present, the body-sensing of main flow is main There is foundation class attitude, including picking up (pick up), rocking (shake), upset (turning), with And relevant to motion class attitude, including walking (walking), running (running), ride (biking) With climb the mountain (climbing) etc.;Gesture includes touching class and every do-nothing operation class, and the former can identify by equipment The figure that staff draws on the touchscreen, and the latter's equipment is on the premise of needs human contact to touch screen Identify the gesture of people.
During realizing and using body-sensing and gesture function, problems with can be run into:
Owing to ensure that sensor normally to work when mobile phone normally enters dormancy standby mode, Er Qiexu Wanting certain ability to go to process sensing data, this process needs the resource expended, and therefore power consumption is one Primary problem.
In order to save the power consumption of complete machine, a lot of terminal producers will use the MCU of an external hardware (Micro Control Unit, micro-control unit) or utilize built-in ADSP (the advanced digital of high pass Signal processor, Advanced Digital Signal Processor) as Sensor Hub (sensor Centralized Controller) Solve save AP (Application Processor, application processor) resource and reduce the side of power consumption Formula.Sensor hub is used exclusively for processing the functional module of sensor.
Although, solve, by external or built-in ADSP, the problem that Overall Power Consumption is bigger, but additional The mode of Sensor Hub can increase expensive software and hardware expense, and built-in ADSP solution master If being tied in the scheme of high pass, the motility of hardware and software development and the customization aspect of demand are had Certain limitation.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method realizing body-sensing function and terminal, with fall Low-power consumption.
In order to solve above-mentioned technical problem, the invention provides a kind of method realizing body-sensing function, including:
After the modem of terminal built-in receives the request of unlatching body-sensing function of application processor, connect Receiving the various sensors in described terminal and/or the data of touch screen module, row operation of going forward side by side processes;
Data after described modem will process pass to described application processor, described answer use Reason device realizes body-sensing function.
Further, said method also has following feature: described modem receives application and processes After the request of the unlatching body-sensing function of device, also include:
Described modem reg one wakes up clock up;
Described modem is waken up through the appointment time at the described clock that wakes up up;
Described modem be the various sensors starting to receive in described terminal after being waken up and/or The data of touch screen module.
Further, said method also has following feature: also include:
Data after described modem will process store, and wait and being waken up next time, or etc. After described AP is waken up, the data of storage are passed to described application processor.
Further, said method also has following feature: also include:
If described application processor have registered the appointment event waking up described application processor up, described modulatedemodulate After adjusting device to process the data that described appointment event is corresponding, wake up described application processor up.
In order to solve the problems referred to above, present invention also offers a kind of terminal, including application processor, multiple Sensor and/or touch screen module, it is characterised in that also include modem, wherein,
Described modem includes:
Interactive unit, for interacting with described application processor, receives opening of described application processor Open the request of body-sensing function, and the data after processing unit processes are passed to described application processor;
Described processing unit, for receiving the various sensors in described terminal and/or the number of touch screen module According to, row operation of going forward side by side processes;
Described application processor, receives data to realize body-sensing function for utilization.
Further, above-mentioned terminal also has a following feature:
Described processing module, receive in described interactive unit application processor unlatching body-sensing function please It is additionally operable to after asking: registration one wakes up clock up;
Described processing unit, is waken up through the appointment time at the described clock that wakes up up, opens after being waken up Begin to receive the various sensors in described terminal and/or the data of touch screen module.
Further, above-mentioned terminal also has following feature: also include
Memory element, the data after described processing module being processed store.
Further, above-mentioned terminal also has a following feature:
Described application processor, is additionally operable to register the appointment event waking up described application processor up;
Described processing unit, after being additionally operable to process the data that described appointment event is corresponding, wakes up described answering up Use processor.
To sum up, the present invention provides a kind of method realizing body-sensing function and terminal, can save power consumption and again may be used To save hardware and software cost.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the terminal of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the Modem of the embodiment of the present invention;
Fig. 3 is the Modem side Sensor-Unit inside modules unit block diagram of the embodiment of the present invention;
Fig. 4 is the flow chart of a kind of method realizing body-sensing function of the embodiment of the present invention;
Fig. 5 is the overall flow figure of the body-sensing method that realizes of the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing Embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, this Shen Embodiment in please and the feature in embodiment can mutual combination in any.
Fig. 1 is the schematic diagram of the terminal of the embodiment of the present invention, and the terminal of the present embodiment includes multiple sensors, Touch screen module etc., as follows:
Acceleration sensor module 101: mainly for detection of terminal unit on X, Y, Z axis direction Acceleration.The purposes ratio of acceleration is wide, basic body-sensing action, as upset, rock and for Step function etc..The data of acceleration be three axially on one group of three x, y, z value.Acceleration Three number of axle are according to doing data fusion with three number of axle evidences of three axles of magnetometer, gyroscope.
Gyro sensor module 102: mainly for detection of the angle in a certain direction of terminal unit Change.Gyro data, can be as the input data of tilt function, and meanwhile, gyro data can be used to Do data fusion, it is achieved GPS (Global Positioning System, global positioning system) auxiliary is led Boat, it is possible to the movement locus etc. of detection human body.Tilt function mainly has for tilt detection, and terminal detects After the tilting action of tilt, do follow-up demand, as can detect terminal tilt can with wake-up point bright screen curtain, Human body change from sitting posture to stance etc. can be detected.
Magnetometer sensor assembly 103: change mainly for detection of terminal unit surrounding magnetic field.Magnetometer Maximum purposes is exactly compass applications.Can with acceleration, gyroscope data together with merge and 9 number of axle According to.
Close to optical sensor module 104: be proximity transducer and the sensor of light sensor one.Connect Nearly sensor in communication process, can detect the distance of terminal unit and human body;Ambient light sensor can be examined Survey terminal unit and be presently in the intensity of ambient light.
Pressure sensor module 105: mainly for detection of the atmospheric pressure of terminal unit local environment.Pressure The data of power meter can change into relatively high angle value, can be used to detect the height that human body is presently in, application In climb the mountain, climb building time meter step detection.Manometric data can also be with acceleration, gyroscope and earth magnetism The data fusion of meter goes out 10 number of axle evidences, and these data can be used for the most emerging indoor navigation, indoor fortune The functions such as dynamic track detection.
Touch screen module 106: be mainly used for realizing gesture function.
Sensor-Unit module 107:Modem (modem) side processes sensor unit module, This module is mainly used for safeguarding, computing and the data of storage sensor and complete with AP side mutual, It it is the core of the present invention.Once there is the request of event (event) AP side, and this module begins to pipe Reason sensor, meanwhile, inside can register one can the clock of periodic wakeup Modem, be used for realizing Data interaction between Modem and sensor.
SMD (Shared Memory Driver, shared drive drives) passage 108: be AP and its son The mode that system data is mutual, the data interaction of AP Yu Modem side can also use the mode of SMD, The detection calculations result of Modem side can be passed to AP side.
Sensor Hal (the hardware compatibility layer of sensor) 109: be AP side and Modem side The interactive portion of Sensor-Unit.This module is mainly asked and accepts the calculation process knot of Modem side Really.It is mainly the sample rate of each device of setting sensor and reports rate (batch mode).
Fig. 2 is the schematic diagram of the Modem of the embodiment of the present invention, as in figure 2 it is shown, the present embodiment Modem includes:
Interactive unit, for interacting with described AP, receives the unlatching body-sensing function of described AP Request, and the data after processing unit processes are passed to described AP;
Described processing unit, for receiving the various sensors in described terminal and/or the number of touch screen module According to, row operation of going forward side by side processes.
Described AP, receives data to realize body-sensing function for utilization.
In a preferred embodiment, described processing module, the unlatching of AP is received in described interactive unit It is additionally operable to after the request of body-sensing function: registration one wakes up clock up;
Described processing unit, is waken up through the appointment time at the described clock that wakes up up, opens after being waken up Begin to receive the various sensors in described terminal and/or the data of touch screen module.
In a preferred embodiment, the terminal of the present embodiment also includes:
Memory element, the data after described processing module being processed store.
In a preferred embodiment, described AP, it is additionally operable to register the appointment event waking up described AP up;
Described processing unit, after being additionally operable to process the data that described appointment event is corresponding, wakes up described AP up.
Fig. 3 is the Modem side Sensor-Unit inside modules unit block diagram of the embodiment of the present invention, including Following content:
Sensor driving unit 201, this part mainly completes several sensors of carry Modem side The loading that drives, coordinate and manage data that each sensor reports, the distributing rationally etc. and hardware phase of power supply The drive part closed.This part is to compare the part of bottom, and (plate level is propped up with the BSP of hardware direct correlation Hold bag) layer.
IIC (Inter-Integrated Circuit, IC bus) control unit 202, this part is also The relatively BSP layer of bottom, main function has coordinated sensor with sensor driving unit 201 Initialize, the reading of data and to the control etc. of sensor.
Data operation processing unit 203, this part mainly comprises the algorithm that various data process, including several Individual axial data fusion, the identification of body-sensing action, the erroneous judgement etc. of gesture.As long as AP has corresponding event Request, this partial arithmetic of Modem side will do the algorithm process relevant to event.This element Operational capability determines body-sensing and the discrimination of gesture and False Rate, also determines AP side simultaneously and obtains The efficiency of action.
Processing unit above can be subdivided into: sensor driving unit 201, IIC control unit 202 and Data operation processing unit 203.
Memory element 204, due to the consideration of power consumption, AP side is when dormancy, it is impossible to be often waken up with Modem top-cross is mutual, and therefore, the data after data operation processing unit 203 processes need to store at this Unit 204 stores.Depending on the size of memory space is according to platform specific.
Interactive unit 205 with AP:
It is mutual that this part mainly completes with AP side Sensor Hal layer, is transported accordingly by the event of request Calculate result and feed back to AP.
The present embodiment, not only AP can be with normal Standby, and Modem can also normally enter dormancy.Because, Modem can periodically be waken up the data processing sensor, and the periodic wakeup of Modem is compared to AP To wake up cost up much smaller.
Fig. 4 is the flow chart of a kind of method realizing body-sensing function of the embodiment of the present invention, as shown in Figure 4, The method of the present embodiment includes:
After step 11, the modem of terminal built-in receive the request of unlatching body-sensing function of AP, Receiving the various sensors in described terminal and/or the data of touch screen module, row operation of going forward side by side processes;
Data after step 12, described modem will process pass to described AP, by described AP Realize body-sensing function.
Fig. 5 is the overall flow figure of the body-sensing method that realizes of the embodiment of the present invention, comprises the steps:
Sensor Hal layer is passed through in step 301:AP side, registers the body-sensing needed for monitoring or gesture event, Employing rate can be set and report rate while monitoring.The information of event is passed to Modem by AP side Side.
Step 302: after the event receiving step 301, Modem side is registered one and can be waken up up The clock of Modem, each wakeup time can adjust according to the size of stand-by power consumption.Have registered and call out Waking up after clock, Modem side can perform step 303.
Step 303: according to wakeup time defined in step 302, Modem side is waken up, and passes through IIC Control unit, reads the data of sensor, and these data are all the numbers that raw data (initial data) has gone up According to, if FIFO (First In First Out, first in first out) supported by some device itself, then according to necessarily Report rate, data are reported to Modem side.
The sensor computing of step 304:Modem side and memory element, can calculate according to certain algorithm, The raw data value that step 302 reports, the event in corresponding step 301 is utilized to provide calculation process knot Really, and store.Meanwhile, wait being waken up of next time, go to perform step 303.
After step 305:AP is waken up, Modem side will broadcast data to AP by SMD batch Side, it is achieved with the data interaction of AP.In step 301, need to wake up AP's up if AP have registered During event, after Modem side processes the value of corresponding event, AP can be waken up up to realize function, in order to avoid When AP dormancy, lost the data of event.
Step 306: after required value being delivered to AP by step 305, the Sensor Hal of AP Result can be delivered to framework (framework) and transfer to upper strata to process by layer.If AP needs again to supervise again Listen, need to re-execute step 301.
The method and apparatus that the present invention proposes can be widely used in various terminal unit.Such as mobile phone, Desktop telephones etc..
The one that the embodiment of the present invention provides utilizes existing Modem (modem) module to process The method of body-sensing action, not only can save power consumption but also can save hardware and software cost.The method is low at some The project that demand that cost and body-sensing customize is more can use.Body-sensing and the realization of gesture function, More meeting user to experience innervation, the healthy class of mobile terminal, the design for wearable device carries Supply certain thinking.
One of ordinary skill in the art will appreciate that all or part of step in said method can pass through program Instructing related hardware to complete, described program can be stored in computer-readable recording medium, as read-only Memorizer, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also use One or more integrated circuits realize.Correspondingly, each module/unit in above-described embodiment can use The form of hardware realizes, it would however also be possible to employ the form of software function module realizes.The present invention is not restricted to appoint The combination of the hardware and software of what particular form.
These are only the preferred embodiments of the present invention, certainly, the present invention also can have other various embodiments, In the case of without departing substantially from present invention spirit and essence thereof, those of ordinary skill in the art work as can be according to this Various corresponding change and deformation are made in invention, but these change accordingly and deformation all should belong to the present invention Appended scope of the claims.

Claims (8)

1. the method realizing body-sensing function, including:
After the modem of terminal built-in receives the request of unlatching body-sensing function of application processor, connect Receiving the various sensors in described terminal and/or the data of touch screen module, row operation of going forward side by side processes;
Data after described modem will process pass to described application processor, described answer use Reason device realizes body-sensing function.
2. the method for claim 1, it is characterised in that: described modem receives application After the request of the unlatching body-sensing function of processor, also include:
Described modem reg one wakes up clock up;
Described modem is waken up through the appointment time at the described clock that wakes up up;
Described modem be the various sensors starting to receive in described terminal after being waken up and/or The data of touch screen module.
3. method as claimed in claim 2, it is characterised in that: also include:
Data after described modem will process store, and wait and being waken up next time, or etc. After described AP is waken up, the data of storage are passed to described application processor.
4. method as claimed in claim 3, it is characterised in that: also include:
If described application processor have registered the appointment event waking up described application processor up, described modulatedemodulate After adjusting device to process the data that described appointment event is corresponding, wake up described application processor up.
5. a terminal, including application processor, multiple sensors and/or touch screen module, its feature It is, also includes modem, wherein,
Described modem includes:
Interactive unit, for interacting with described application processor, receives opening of described application processor Open the request of body-sensing function, and the data after processing unit processes are passed to described application processor;
Described processing unit, for receiving the various sensors in described terminal and/or the number of touch screen module According to, row operation of going forward side by side processes;
Described application processor, receives data to realize body-sensing function for utilization.
6. terminal as claimed in claim 5, it is characterised in that:
Described processing module, receive in described interactive unit application processor unlatching body-sensing function please It is additionally operable to after asking: registration one wakes up clock up;
Described processing unit, is waken up through the appointment time at the described clock that wakes up up, opens after being waken up Begin to receive the various sensors in described terminal and/or the data of touch screen module.
7. terminal as claimed in claim 6, it is characterised in that: also include
Memory element, the data after described processing module being processed store.
8. terminal as claimed in claim 7, it is characterised in that:
Described application processor, is additionally operable to register the appointment event waking up described application processor up;
Described processing unit, after being additionally operable to process the data that described appointment event is corresponding, wakes up described answering up Use processor.
CN201510387827.7A 2015-07-03 2015-07-03 Method for achieving sensomotor function, and terminal Pending CN106325487A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510387827.7A CN106325487A (en) 2015-07-03 2015-07-03 Method for achieving sensomotor function, and terminal
PCT/CN2016/074280 WO2016165483A1 (en) 2015-07-03 2016-02-22 Method and terminal for implementing somatosensory function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510387827.7A CN106325487A (en) 2015-07-03 2015-07-03 Method for achieving sensomotor function, and terminal

Publications (1)

Publication Number Publication Date
CN106325487A true CN106325487A (en) 2017-01-11

Family

ID=57126182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510387827.7A Pending CN106325487A (en) 2015-07-03 2015-07-03 Method for achieving sensomotor function, and terminal

Country Status (2)

Country Link
CN (1) CN106325487A (en)
WO (1) WO2016165483A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254649A (en) * 2018-08-02 2019-01-22 东南大学 A kind of high efficiency interactive system based on closed cockpit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968678A (en) * 2010-08-10 2011-02-09 东莞环亚高科电子有限公司 Low-power consumption power supply management equipment for embedded Linux equipment
CN103269510A (en) * 2012-03-16 2013-08-28 微软公司 Efficient power usage in position tracking operations
CN103428173A (en) * 2012-05-17 2013-12-04 云联(北京)信息技术有限公司 Somatosensory control system and application thereof based on cloud computing
US8941500B1 (en) * 2014-01-23 2015-01-27 Google Inc. Somatosensory type notification alerts

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968678A (en) * 2010-08-10 2011-02-09 东莞环亚高科电子有限公司 Low-power consumption power supply management equipment for embedded Linux equipment
CN103269510A (en) * 2012-03-16 2013-08-28 微软公司 Efficient power usage in position tracking operations
CN103428173A (en) * 2012-05-17 2013-12-04 云联(北京)信息技术有限公司 Somatosensory control system and application thereof based on cloud computing
US8941500B1 (en) * 2014-01-23 2015-01-27 Google Inc. Somatosensory type notification alerts

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254649A (en) * 2018-08-02 2019-01-22 东南大学 A kind of high efficiency interactive system based on closed cockpit

Also Published As

Publication number Publication date
WO2016165483A1 (en) 2016-10-20

Similar Documents

Publication Publication Date Title
CN107636683B (en) Method and apparatus for recognizing user's activity using accelerometer
KR102567543B1 (en) Electronic device and method to control display unit for sensing a biometric sensor
CN213545872U (en) Apparatus for driving display
KR102330096B1 (en) A method and an electronic device for acquiring biometric information during a period when video data is not transmitted to a display
KR102599536B1 (en) Electronic device having a biometric sensor
US8706172B2 (en) Energy efficient continuous sensing for communications devices
US11094246B2 (en) Operating module for display and operating method, and electronic device supporting the same
US9625987B1 (en) Updating and displaying information in different power modes
KR102519727B1 (en) A display driving method and a display driving circuit and an electronic device supporting the same
WO2018143673A1 (en) Electronic device and fingerprint recognition method of electronic device
CN101578571A (en) Electronic apparatus and method for controlling the same
CN107835969B (en) Electronic device including touch sensing module and method of operating the same
US20140075178A1 (en) Providing Support for Device States
US10475146B2 (en) Device for controlling multiple areas of display independently and method thereof
KR20180024620A (en) Displaying method for time information and an electronic device supporting the same
KR20180131900A (en) Electronic device and method for processing input of external input device
CA3045169A1 (en) Method and system for device placement based optimization techniques
CN115276190B (en) Charging reminding method, electronic device and storage medium
CN113220176A (en) Display method and device based on widget, electronic equipment and readable storage medium
KR20150027876A (en) Mehtod and apparatus for controlling terminal of smart watch using motion
CN110543259A (en) Fingerprint unlocking method of display device and display device
CN106959742A (en) Use the display methods and related device and circuit of virtual widget
CN105103079B (en) The low-power management of multiple sensor integrated chip framework
CN106325487A (en) Method for achieving sensomotor function, and terminal
US11768598B2 (en) Device having a display and control method for obtaining output layout of information on the display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111