CN107566627A - The bad use habit auxiliary prompting system of user and method - Google Patents

The bad use habit auxiliary prompting system of user and method Download PDF

Info

Publication number
CN107566627A
CN107566627A CN201710752104.1A CN201710752104A CN107566627A CN 107566627 A CN107566627 A CN 107566627A CN 201710752104 A CN201710752104 A CN 201710752104A CN 107566627 A CN107566627 A CN 107566627A
Authority
CN
China
Prior art keywords
user
judge
intelligent terminal
terminal equipment
bad
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
CN201710752104.1A
Other languages
Chinese (zh)
Other versions
CN107566627B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710752104.1A priority Critical patent/CN107566627B/en
Publication of CN107566627A publication Critical patent/CN107566627A/en
Application granted granted Critical
Publication of CN107566627B publication Critical patent/CN107566627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of auxiliary prompting system of the bad use habit of user, is used in mobile intelligent terminal equipment, and the auxiliary prompting system of the bad use habit of user includes:Screen judge module, application program judge module, walking judge module and warning sign prompting module.The walking judge module includes initialization unit, gravity sensor parameter reading unit, g parameters arithmetic element, g parameters judging unit, crest judging unit, peak separation time judging unit, step Numerical processing unit, step number renewal interval time judging unit and step Numerical judging unit.Present invention also offers a kind of auxiliary prompting method of the bad use habit of user.The auxiliary prompting system and method for the above-mentioned bad use habit of user will not monitor constantly, only being waken up in the case of bright screen can just start to monitor, the present invention is not related to the power consumption higher calculating and operation such as camera candid photograph and image procossing also simultaneously, therefore has the advantages of low in energy consumption, stand-by time is long.

Description

The bad use habit auxiliary prompting system of user and method
Technical field
The invention belongs to consumer electronics sector, and in particular to one kind can remind when user has bad use habit The auxiliary prompting system and method for user.
Background technology
With the development of mobile Internet and computer technology, mobile intelligent terminal equipment has become pole in people's life Its important part, wherein mobile intelligent terminal equipment the most typical is smart mobile phone and tablet personal computer (PAD).Intelligence Can the abundant function that is provided of mobile phone be that the life of people brings very more facilities really, almost cover clothing, food, Firmly, the service of each side such as row, amusement.Smart mobile phone can meet that people need to only pass through in all case as handheld device The use demand of both hands, but many bad habits are also brought simultaneously, such as bow using mobile phone, hand-held mobile phone when walking See, lie low and look up mobile phone, lie on one's side using mobile phone, mobile phone etc. is used under low photoenvironment.And these bad use habits can band Come many safety and health problem.For example:(1) bowing can cause Neck wrinkles to deepen and increase cervical vertebra using mobile phone Bear pressure;(2) hunch can be caused by being seen the mobile phone when walking, according to Japan《RecordJapan》The investigation of website, there is intelligence After energy mobile phone, the crowd of hunchback deformation is continuously increased.Meanwhile seen when walking and also bring along serious potential safety hazard, because side is walked While see the mobile phone the news fallen down or knocked by vehicle when have been reported that;(3) lie low look up, lie on one's side uses mobile phone meeting with low photoenvironment Cause serious eyesight hidden danger.Therefore, it can run on smart mobile phone and independent of other any equipment, energy there is an urgent need to one kind Enough detections and the method for the bad mobile phone custom of prompting user.At present, there is the inspection that certain methods realize part bad habit Survey, but be disadvantageous in that existing for existing technology:(1) detection method of system is lacked, existing certain methods are only examined Consider the detection as seen this single behavior when walking, do not consider the bad use habit of multiple mobile phone;(2) existing technology Method need to rely on camera collection user's human face data and be typically the automatic candid photograph in backstage in the case where user is unknown.This Kind of technical scheme exist three it is main the problem of:(a) periodically front camera is called to use user's human face data, general frequency At 60 seconds once, and such frequency acquisition can cause increasing considerably for mobile telephone power consumption, so as to reduce the stand-by time of mobile phone; (b) in the case where user is unknown there is serious individual privacy safety problem in automatic capture in backstage;(c) in low-light conditions Under, the photographic quality of camera shooting is very poor, can cause the method failure of camera collection user's human face data.(3) prior art Method distinguish user it is presently used be which kind of application, such as make a phone call, navigate, flashlight, wechat, game.Example Such as, user made a phone call in walking, walking navigation or the use of the tool-class application such as flashlight is inevitable and normally performed activity, Influence for safety and health is little, and the duration is not grown.And really need to prompt being previously mentioned above-mentioned for user The use of pastime class application such as entertained and played under the premise of bad use habit.
The content of the invention
For technical problem present in prior art, the present invention, which provides, a kind of new reminds user not played when walking The user's walking auxiliary prompting system and method for mobile phone.
A kind of auxiliary prompting system of the bad use habit of user provided by the present invention, is used in mobile intelligent terminal and sets Standby, the auxiliary prompting system of the bad use habit of user includes:
Screen judge module, for judging whether the screen of mobile intelligent terminal equipment is in bright screen state;
Application program judge module, the application type currently used for judging mobile intelligent terminal equipment, the application Type includes foundation class application and tool-class application;
Walking judge module, whether the user for judging mobile intelligent terminal equipment is currently in walking states, described Judge module of walking includes initialization unit, gravity sensor parameter reading unit, g parameter values arithmetic element, g parameter values and judged Unit, crest judging unit, peak separation time judging unit, step Numerical processing unit, step number renewal interval time judge list Member and step Numerical judging unit, the initialization unit initialization step Numerical is 0 and initialization g parameter values are 0, and the gravity passes Sensor parameter reading unit reads registration G of the gravity sensor in three directions of x, y, z at interval of the scheduled timex、GyAnd Gz, institute Stating g parameter values arithmetic element renewal g parameter values after gravity sensor parameter reading unit is read every time is:
The g parameter values that the g parameter values judging unit is used to judging after current renewal whether with Last g parameter values are identical, if judging, the g parameter values after currently being updated and the g parameter values of last time differ, by The crest judging unit judges whether current g parameter values are crest, if current g parameter values are crest, by the ripple Whether the time interval that peak interval time judging unit is detected between current crest and previous secondary wave crest is more than predetermined time value, If step Numerical is added into 1 by step Numerical processing unit more than if predetermined time value, the step number renewal interval time judging unit is used Whether it is more than renewal time threshold value in the time and the time interval of current renewal step Numerical for judging last renewal step Numerical, if Time interval then judges whether current step Numerical is more than step number more than renewal time threshold value by the step Numerical judging unit Threshold value, if current step Numerical is more than step number threshold value, judge that user is currently at walking states;
Warning sign prompting module, for the ejection warning sign prompting on the screen of mobile intelligent terminal equipment.
Further, the auxiliary prompting system of the bad use habit of the user also includes:
It is described to be included using posture judge module using posture judge module, the use posture current for judging user Parameter arithmetic element, transverse screen judging unit and comparing unit, the parameter arithmetic element are used for by the walking judge module The registration G in three directions of x, y, z obtained by interior gravity sensor parameter reading unitx、GyAnd GzTransported according to below equation Calculate:
With obtain mobile intelligent terminal equipment with Included angle A between X-plane, Y plane and Z planex、AyAnd Az, the transverse screen judging unit is for judging current mobile intelligent terminal Whether equipment is in portrait layout state, if current mobile intelligent terminal equipment is in portrait layout state, is judged by the comparing unit Ax=pi/2 ,-π/4≤Ay≤ π/4 and π/4≤AzWhether≤3 π/4 set up, and judge now mobile intelligent terminal equipment if setting up In correctly posture is used, judge that now mobile intelligent terminal equipment is in bad if invalid and use posture, if currently Mobile intelligent terminal equipment is in transverse screen state, then by the comparing unit judgement-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤ AzWhether≤3 π/4 set up, and judge that now mobile intelligent terminal equipment is in if setting up and correctly use posture, if invalid Then judge that now mobile intelligent terminal equipment is in bad and use posture;The warning sign prompting module is additionally operable to judging to move Dynamic intelligent terminal is in bad using the ejection warning sign prompting on the screen of mobile intelligent terminal equipment during posture.
Further, the auxiliary prompting system of the bad use habit of the user also includes illumination condition judge module, institute Stating illumination condition judge module includes light sensor parameter reading unit and comparing unit, and the light sensor parameter is read Unit is used to read the values of light that light sensor is sensed, and whether the comparing unit is for comparing the values of light read Less than threshold value, if values of light is less than threshold value, judge that now user is under low-light conditions;The warning sign prompting module It is additionally operable to eject on the screen of mobile intelligent terminal equipment when judging that mobile intelligent terminal equipment is under low-light conditions Warning sign prompting.
Further, the auxiliary prompting system of the bad use habit of the user also includes shock module, the vibrations mould Calling is moved after block is used on the screen of mobile intelligent terminal equipment after ejection warning sign and carries out the countdown of the scheduled time The vibration function of dynamic intelligent terminal.
Further, user's walking auxiliary prompting system also includes the first time delay module and the second time delay module, institute The first time delay module is stated to be in after bright screen state by default for judging that the screen of mobile phone is non-in the screen judge module Continue after the delay of time so that screen judge module judges whether the screen of mobile phone is in bright screen state again;Described second Time delay module is used to after the delay after the vibration function of the shock module calling mobile phone by another preset time continue So that screen judge module judges whether the screen of mobile phone is in bright screen state again.
Wherein, using call function and SMS is included, the tool-class is applied to be comprised at least the foundation class:Navigation Application of function, illumination functions application.
Further, user's walking auxiliary prompting system also includes user defined logic interface, the User Defined Module is used for the species that user voluntarily sets tool-class to apply.
Present invention also offers a kind of auxiliary prompting method of the bad use habit of user, it is used in mobile intelligent terminal and sets Standby, the auxiliary prompting method of the bad use habit of user includes:
Judge mobile intelligent terminal equipment whether bright screen;
Judge the currently used application type of mobile intelligent terminal equipment, the application type includes foundation class application and instrument Class application;
Judge whether user is currently in walking states, including:
Initialization step Numerical is 0 and initialization g parameter values are 0;
Registration G of the gravity sensor in three directions of x, y, z is read at interval of the scheduled timex、GyAnd Gz, to update g parameters It is worth and is:
Judge whether the g parameter values after current renewal are identical with the g parameter values of last time;
If judging, the g parameter values after currently being updated and the g parameter values of last time differ, and judge current g ginsengs Whether numerical value is crest;
If current g parameter values are crest, whether time interval between current crest and previous secondary wave crest is detected More than predetermined time value;
Step Numerical is added 1 if predetermined time value is more than, and judges that the time of last renewal step Numerical updates with current Whether the time interval of step Numerical is more than renewal time threshold value;
If time interval is more than renewal time threshold value, judge whether current step Numerical is more than step number threshold value;And
If current step Numerical is more than step number threshold value, judge that user is currently at walking states;And
The ejection warning sign prompting user on the screen of mobile intelligent terminal equipment.
Further, the auxiliary prompting method of the bad use habit of the user also includes step:
Judge whether the current use posture of user is correct, including:
Read registration G of the gravity sensor in three directions of x, y, zx、GyAnd Gz, and carry out computing according to below equation: To be moved Included angle A between intelligent terminal and X-plane, Y plane and Z planex、AyAnd Az
Judge whether current mobile intelligent terminal equipment is in portrait layout state;
If being in portrait layout state, A is judgedx=pi/2 ,-π/4≤Ay≤ π/4 and π/4≤AzWhether≤3 π/4 set up, if not Establishment then judges that now mobile intelligent terminal equipment is in bad and uses posture;And
If it is in transverse screen state, judgement-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤AzWhether≤3 π/4 set up, if not Set up, then judge that now mobile intelligent terminal equipment is in bad and use posture.
Further, the auxiliary prompting method of the bad use habit of the user also includes step:
Judge whether user is under low-light conditions at present, including:
Read the values of light that light sensor is sensed;
Compare whether the values of light read is less than threshold value;And
If values of light is less than threshold value, judge that now user is under low-light conditions.
The auxiliary prompting system and method for the above-mentioned bad use habit of user be by the function of calling mobile phone system in itself Prompting function can be completed, it is convenient and practical, and cost is relatively low.It will not be supervised constantly moreover, can be seen that the present invention from above-mentioned principle Survey, being only waken up in the case of bright screen can just start to monitor, while the present invention is not related to also at camera candid photograph and image The power consumption higher calculating and operation such as reason, therefore have the advantages of low in energy consumption, stand-by time is long compared with other are similar to patent.
Brief description of the drawings
Fig. 1 is a kind of square frame of first better embodiment of the auxiliary prompting system of the bad use habit of user of the present invention Figure.
Fig. 2 is the block diagram of the better embodiment of walking judge module in Fig. 1.
Fig. 3 is a kind of square frame of second better embodiment of the auxiliary prompting system of the bad use habit of user of the present invention Figure.
Fig. 4 is the block diagram of the better embodiment using posture judge module in Fig. 3.
Fig. 5 is a kind of square frame of 3rd better embodiment of the auxiliary prompting system of the bad use habit of user of the present invention Figure.
Fig. 6 is the block diagram of the better embodiment of illumination condition judge module in Fig. 5.
Fig. 7 is a kind of flow of first better embodiment of the auxiliary prompting method of the bad use habit of user of the present invention Figure.
Fig. 8 is the flow chart of step S3 better embodiment in Fig. 7.
Fig. 9 is a kind of flow of second better embodiment of the auxiliary prompting method of the bad use habit of user of the present invention Figure.
Figure 10 is a kind of stream of 3rd better embodiment of the auxiliary prompting method of the bad use habit of user of the present invention Cheng Tu.
Embodiment
In order that the technical means, the inventive features, the objects and the advantages of the present invention are easy to understand, tie below Conjunction is specifically illustrating, and the present invention is expanded on further.
In the description of the invention, it is necessary to illustrate, unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, Ke Yishi The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this Concrete meaning in invention.
It refer to shown in Fig. 1, for a kind of preferable embodiment party of the auxiliary prompting system of the bad use habit of user of the present invention The block diagram of formula.Present embodiment illustrates by taking mobile phone as an example, and certain present invention can be additionally used in other electric terminals, such as flat Plate computer etc..
The better embodiment of the auxiliary prompting system of the bad use habit of user includes screen judge module 1, answered With program judge module 2, walking judge module 3, warning sign prompting module 5, shock module 6, the first time delay module 20 and the Two time delay modules 21.
The screen judge module 1 is used to judge whether the screen of mobile phone is in bright screen state.It is described in present embodiment Screen judge module 1 can call the POWER_SERVICE system services of cell phone system, if isScreenOn functions return Ture, then judge that mobile phone is in bright screen state, otherwise return to false, then judge that mobile phone is in black state.Certainly, other realities Can also screen judge module 1 be replaced with trigger module by applying in mode, the trigger module is used to receive when screen is lit To a trigger signal, to trigger whole auxiliary prompting system, i.e., when screen is lit, the auxiliary prompting system starts Work, the application program judge module 2 start to judge the application type that mobile phone is currently used.
The application program judge module 2 is used to judge the currently used application type of mobile phone.It is described in present embodiment Application type can be divided into foundation class application and tool-class application, and the foundation class, which is applied, includes call function and SMS, institute State tool-class and apply and comprise at least:Navigation feature, flashlight illumination function etc..Meanwhile in other embodiment, user's row Walking auxiliary prompting system can also include:User defined logic interface 7, the user defined logic interface voluntarily set work for user Has the species of class application.In addition, as needed, the tool-class application can also include work class application (such as handle official business OA) and Learn class and apply (such as operation side).
The walking judge module 3 is used to judge whether user is currently in walking states.In present embodiment, the row Gravity sensor that judge module 3 carried by calling mobile phone is walked to judge whether user is in walking states.Specifically, please after Shown in continuous reference chart 2, the walking judge module 3 includes initialization unit 30, gravity sensor parameter reading unit 31, g ginsengs Numerical operation unit 32, g parameter values judging unit 33, crest judging unit 35, peak separation time judging unit 36, step Numerical Processing unit 37, step Numerical renewal interval time judging unit 38 and step Numerical judging unit 39.
For initializing, step Numerical nstep is 0 to the initialization unit 30 and initialization g parameter values are 0.The gravity passes Sensor parameter reading unit 31 is used to read registration G of the gravity sensor in three directions of x, y, z at interval of the scheduled timex、GyWith Gz.The g parameter values arithmetic element 32 is used for the renewal g parameter values after gravity sensor parameter reading unit 31 is read every time For:
The g parameter values that the g parameter values judging unit 33 is used to judging after current renewal whether the g parameter values with the last time It is identical, if g parameter values twice are identical, reading gravity sensor is continued by the gravity sensor parameter reading unit 31 and existed The registration G in three directions of x, y, zx、GyAnd Gz;If judge the g parameter values after currently being updated with last g parameter values not It is identical, then judge whether current g parameter values are crest by the crest judging unit 35, whether judge current g parameter values It is for the foundation of crest:Current g parameter values are more than last g parameter values, and last g parameter values are more than upper last G parameter values, while current g parameter values are also greater than predetermined threshold value Peak.Recognize if current g parameter values meet above-mentioned condition It is crest for current g parameter values.
After judging to obtain current g parameter values as crest, the peak separation time judging unit 36 is used to detect Whether the time interval between current crest and previous secondary wave crest is more than predetermined time value, by step if predetermined time value is more than Step Numerical nstep is added 1 by numeric processing unit 37, otherwise keeps step Numerical nstep constant.Meanwhile between the step Numerical renewal Be used to judging every time judging unit 38 time of last renewal step Numerical and current renewal step Numerical time interval whether More than threshold value updatetime, judged if time interval is more than threshold value updatetime by the step Numerical judging unit 39 Whether current step Numerical is more than threshold value Tstep, if current step Numerical is more than threshold value Tstep, it is current that judgement obtains user In walking states;If the time of last time renewal step Numerical and the time interval of current renewal step Numerical are not more than threshold value Updatetime then resets step Numerical.
The warning sign prompting module 5, which is used for the ejection warning sign prompting user on the screen of mobile phone, " please don't be expert at Mobile phone is used when walking ".The shock module 6 is used on the screen of mobile phone after ejection warning sign and carries out falling for the scheduled time The vibration function of calling mobile phone after timing.
First time delay module 20 is in bright screen state for judging that the screen of mobile phone is non-in the screen judge module 1 Continue the screen for causing screen judge module 1 to judge mobile phone again after delay Jing Guo preset time afterwards (such as 3 seconds) Whether bright screen state is in.
Second time delay module 21 is used for after the vibration function of the calling mobile phone of shock module 6 by preset time Delay (such as 3 minutes) after continue cause screen judge module 1 judge whether the screen of mobile phone is in bright screen state again.
Please continue to refer to shown in Fig. 3, it is a kind of auxiliary prompting system of the bad use habit of user of the present invention The second better embodiment block diagram.Compared with first embodiment, second embodiment further comprises to be sentenced using posture Disconnected module 10.It is described to be used to judge whether the current use posture of user is correct using posture judge module 10.Present embodiment In, whether the gravity sensor carried using posture judge module 10 by calling mobile phone judges the user in correct Use posture.Specifically, please continue to refer to shown in Fig. 4, it is described using posture judge module 10 include parameter arithmetic element 101, Transverse screen judging unit 102 and comparing unit 103.
The parameter arithmetic element 101 is used for by gravity sensor parameter reading unit in the walking judge module 3 The registration G in three directions of x, y, z obtained by 31x、GyAnd GzComputing is carried out according to below equation:
To obtain the included angle A between mobile phone and X-plane, Y plane and Z planex、Ay、Az, the transverse screen judging unit 102 uses In judging whether current phone is in portrait layout state.In present embodiment, the proper use of posture of mobile phone is defined as below: (1) for mobile phone is in portrait layout state, now the angle between the axle of mobile phone three and world coordinate system vertical axis is respectively:With X Angle between axle is that angle between pi/2, with Y-axis is that-π/4 are arrived between+π/4, and the angle between Z axis is π/4 of π/4 to 3 Between;(2) for mobile phone is in transverse screen state, now the angle between the axle of mobile phone three and world coordinate system vertical axis is distinguished For:Angle between Y-axis is that the angle between pi/2, with X-axis is that-π/4 are arrived between+π/4, and the angle between Z axis is π/4 To between 3 π/4.
If current phone is in portrait layout state, A is judged by the comparing unit 103x、AyAnd AzValue, if Ax=π/ 2、-π/4≤Ay≤ π/4 and π/4≤Az≤ 3 π/4, then judge that now mobile phone is in and correctly use posture;If above-mentioned condition not into It is vertical, then judge that now mobile phone is in bad and use posture.If current phone is in transverse screen state, by the comparing unit 103 Judge Ax、AyAnd AzValue, if-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤Az≤ 3 π/4, then judge that now mobile phone is in correct Use posture;If above-mentioned condition is invalid, judges that now mobile phone is in bad and use posture.
The warning sign prompting module 5 be additionally operable to judge mobile phone in it is bad using posture when screen in mobile phone on Ejection warning sign prompting " mobile phone is faulty posture using posture ".
Please continue to refer to shown in Fig. 5, it is a kind of auxiliary prompting system of the bad use habit of user of the present invention The 3rd better embodiment block diagram.Compared with first embodiment, the 3rd embodiment further comprises illumination condition and sentence Disconnected module 11.The illumination condition judge module 11 is used to judge whether user is under low-light conditions at present.This embodiment party In formula, light sensor that the illumination condition judge module 11 is carried by calling mobile phone judges whether user is in low light According under the conditions of.Specifically, please continue to refer to shown in Fig. 6, the illumination condition judge module 11 is read including light sensor parameter Take unit 110 and comparing unit 112.
The light sensor parameter reading unit 110 is used to read the values of light that light sensor is sensed, described Comparing unit 112 is used to compare whether the values of light read is less than threshold value tLightIf values of light is less than threshold value, judge now User is under low-light conditions.
The warning sign prompting module 5 is additionally operable on the screen when judging that mobile phone is under low-light conditions in mobile phone Ejection warning sign prompting " mobile phone please don't be used under low lighting conditions ".
Please continue to refer to shown in Fig. 7, it is a kind of auxiliary prompting method of the bad use habit of user of the present invention The first better embodiment flow chart.The better embodiment bag of the auxiliary prompting method of the bad use habit of user Include following steps:
Step S1:Judge mobile phone whether bright screen.If mobile phone is in bright screen state, step S2 is performed, otherwise countdown t1 Return to step S1 afterwards.
Specifically, the step S1 includes:The POWER_SERVICE system services of calling mobile phone system, and judge IsScreenOn function returning results.If isScreenOn functions returning result is ture, judge that mobile phone is in bright screen shape State;If isScreenOn functions returning result is false, judge that mobile phone is in black state.
Step S2:The currently used application type of mobile phone is judged, if basis or tool-class application, then countdown are held for 3 seconds Row step S1, otherwise perform step S3.Specifically, in present embodiment, the auxiliary prompting side of the bad use habit of user Method calls getRunningTasks (1) .get (0) .topActivity by obtaining system service ACTIVITY_SERVICE Interface runs process to obtain current foreground, and judges whether the process belongs to basis or tool-class application.
In present embodiment, the foundation class is using call function and SMS is included, and the tool-class application is at least Including:The illumination functions such as navigation feature, flashlight.Meanwhile in other embodiment, it may also include before step S1:User Self-defined step, by " User Defined " step, user can voluntarily set the species that tool-class is applied.
Step S3:Judge whether user is currently in walking states.Specifically, user of the present invention is bad to use habit The gravity sensor that used auxiliary prompting method is carried by calling mobile phone judges whether user is in walking states.Continuing with With reference to shown in figure 8, the step S3 comprises the following steps:
Step S31:Initialization step Numerical nstep is 0 and initialization g parameter values are 0.
Step S32:Registration G of the gravity sensor in three directions of x, y, z is read at interval of the scheduled timex、GyAnd Gz, and I.e. renewal g parameter values are after each read:
Step S33:Judge whether the parameter value after current renewal is identical with the parameter value of last time, if parameter value twice It is identical, then it is back to step S32.If parameter value twice is different, step S34 is performed.
Step S34:Judge whether current g parameter values are crest.If judging to obtain current g parameter values as crest, Perform step S35.If judging to obtain current g parameter values not as crest, step S32 is back to.
Step S35:Detect whether the time interval between current crest and previous secondary wave crest is more than predetermined time value.If Time interval between two secondary wave crests is more than predetermined time value, then performs step S36, otherwise performs step S37.
Step S36:Step Numerical nstep is added 1.Step S38 is performed afterwards.
Step S37:Keep step Numerical nstep constant.
Step S38:Judge between last renewal step Numerical nstep time and current renewal step Numerical nstep time Every whether being more than threshold value updatetime.If the time interval for updating step Numerical nstep twice is more than threshold value updatetime, Perform step S39.If the time interval for updating step Numerical nstep twice is not more than threshold value updatetime, return to step S32。
Step S39:Judge whether current step Numerical nstep is more than threshold value Tstep.If current step Numerical nstep is big In threshold value Tstep, then step S40 is performed.If current step Numerical nstep is not more than threshold value Tstep, return to step S32.
Step S40:Judgement obtains user and is currently at walking states.
Step S4:The ejection warning sign prompting user " mobile phone please don't be used when walking " on the screen of mobile phone.
Step S5:The vibration function of calling mobile phone after the countdown of the progress scheduled time.
Please continue to refer to shown in Fig. 9, it is a kind of auxiliary prompting method of the bad use habit of user of the present invention The second better embodiment flow chart.Compared with first embodiment, the auxiliary prompting of the bad use habit of user Second better embodiment of method is further comprising the steps of:
Step S10:To the registration G in three directions of x, y, z of readingx、GyAnd GzComputing is carried out according to below equation:
To obtain the included angle A between mobile phone and X-plane, Y plane and Z planex、Ay、Az
Step S11:Judge whether current phone is in portrait layout state, if current phone is in portrait layout state, perform step Rapid S12, otherwise perform step S13.
Step S12:Judge Ax=pi/2 ,-π/4≤Ay≤ π/4 and π/4≤AzWhether≤3 π/4 set up, and are performed if setting up Step S14, otherwise perform step S15.
Step S13:Judgement-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤AzWhether≤3 π/4 set up, and are performed if setting up Step S14, otherwise perform step S15.
Step S14:Judgement obtain now mobile phone be in correctly use posture.
Step S15:Judge that now mobile phone is in bad and use posture, and perform step S16.
Step S16:The ejection warning sign prompting " mobile phone is faulty posture using posture " on the screen of mobile phone, and show Correctly use the posture of mobile phone.
Please continue to refer to shown in Figure 10, it is a kind of auxiliary prompting method of the bad use habit of user of the present invention The 3rd better embodiment flow chart.Compared with first embodiment, the auxiliary prompting of the bad use habit of user 3rd better embodiment of method is further comprising the steps of:
Step S20:Read the values of light that light sensor is sensed.
Step S21:Compare whether the values of light read is less than threshold value tLight, if values of light is less than threshold value, perform Step S22, otherwise return to step S20.
Step S22:Judge that now user is under low-light conditions, performs step S23 afterwards.
Step S23:The ejection warning sign prompting " mobile phone please don't be used under low lighting conditions " on the screen of mobile phone.
The auxiliary prompting system and method for the above-mentioned bad use habit of user be by the function of calling mobile phone system in itself Prompting function can be completed, it is convenient and practical, and cost is relatively low.It will not be supervised constantly moreover, can be seen that the present invention from above-mentioned principle Survey, being only waken up in the case of bright screen can just start to monitor, while the present invention is not related to also at camera candid photograph and image The power consumption higher calculating and operation such as reason, therefore have the advantages of low in energy consumption, stand-by time is long compared with other are similar to patent.
Meanwhile in other embodiment, the auxiliary prompting system of the bad use habit of the present patent application user can also wrap Screen closedown module is included, the screen closedown module is used to warn by ejecting on the screen of mobile phone in warning sign prompting module Closing hand phone screen after the vibration function for prompting user and shock module calling mobile phone is shown in indicating, to prevent user from continuing bad make Use mobile phone.In addition, the auxiliary prompting system of the bad use habit of user can also include management module, the management mould Block is connected by network with user defined logic interface, and the management module is used for the kind of the tool-class application voluntarily set to user Class is checked, to judge whether user is arranged to tool-class application by the application such as game class, and user can voluntarily be set The species of tool-class application carries out edit-modify, and the function is applied to the supervision and management of parent or teacher to student's mobile phone.
Embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize the present invention The equivalent structure that specification and accompanying drawing content are made, other related technical areas are directly or indirectly used in, similarly at this Within the scope of patent protection of invention.

Claims (10)

1. a kind of auxiliary prompting system of the bad use habit of user, is used in mobile intelligent terminal equipment, the user is bad The auxiliary prompting system of use habit includes:
Screen judge module, for judging whether the screen of mobile intelligent terminal equipment is in bright screen state;
Application program judge module, the application type currently used for judging mobile intelligent terminal equipment, the application type Including foundation class application and tool-class application;
Walking judge module, for judging whether the user of mobile intelligent terminal equipment is currently in walking states, the walking Judge module includes initialization unit, gravity sensor parameter reading unit, g parameter values arithmetic element, g parameter values and judges list Member, crest judging unit, peak separation time judging unit, step Numerical processing unit, step number renewal interval time judging unit And step Numerical judging unit, the initialization unit initialization step Numerical is 0 and initialization g parameter values are 0, the gravity sensitive Device parameter reading unit reads registration G of the gravity sensor in three directions of x, y, z at interval of the scheduled timex、GyAnd Gz, the g Parameter value arithmetic element updates g parameter values after gravity sensor parameter reading unit is read every time:
Whether the g parameter values that the g parameter values judging unit is used to judging after current renewal are with upper one Secondary g parameter values are identical, if judging, the g parameter values after currently being updated and the g parameter values of last time differ, by described Crest judging unit judges whether current g parameter values are crest, if current g parameter values are crest, by between the crest Detect whether the time interval between current crest and previous secondary wave crest is more than predetermined time value every time judging unit, if greatly Step Numerical is then added 1 by step Numerical processing unit in predetermined time value, the step number renewal interval time judging unit is used to sentence Whether the time of disconnected last renewal step Numerical and the time interval of current renewal step Numerical are more than renewal time threshold value, if the time Interval then judges whether current step Numerical is more than step number threshold value more than renewal time threshold value by the step Numerical judging unit, If current step Numerical is more than step number threshold value, judge that user is currently at walking states;
Warning sign prompting module, for the ejection warning sign prompting on the screen of mobile intelligent terminal equipment.
2. the auxiliary prompting system of the bad use habit of user as claimed in claim 1, it is characterised in that:The user is bad The auxiliary prompting system of use habit also includes:
It is described to include parameter computing list using posture judge module using posture judge module, the use posture current for judging user Member, transverse screen judging unit and comparing unit, the parameter arithmetic element are used for by gravity sensor parameter in the walking judge module The registration G in three directions of x, y, z obtained by reading unitx、GyAnd GzComputing is carried out according to below equation:
Put down with obtaining mobile intelligent terminal equipment with X Included angle A between face, Y plane and Z planex、AyAnd Az, the transverse screen judging unit is for judging that current mobile intelligent terminal is set It is standby whether to be in portrait layout state, if current mobile intelligent terminal equipment is in portrait layout state, A is judged by the comparing unitx =pi/2 ,-π/4≤Ay≤ π/4 and π/4≤AzWhether≤3 π/4 set up, and judge now at mobile intelligent terminal equipment if setting up In correctly using posture, judge that now mobile intelligent terminal equipment is in bad if invalid and use posture, if when reach Dynamic intelligent terminal is in transverse screen state, then by the comparing unit judgement-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤Az Whether≤3 π/4 set up, and judge that now mobile intelligent terminal equipment is in if setting up and correctly use posture, if invalid Judge that now mobile intelligent terminal equipment is in bad and use posture;The warning sign prompting module is additionally operable to judging to move Intelligent terminal is in bad using the ejection warning sign prompting on the screen of mobile intelligent terminal equipment during posture.
3. the auxiliary prompting system of the bad use habit of user as claimed in claim 1, it is characterised in that:The user is bad The auxiliary prompting system of use habit also includes illumination condition judge module, and the illumination condition judge module includes light level Device parameter reading unit and comparing unit, the light sensor parameter reading unit are sensed for reading light sensor Values of light, whether the comparing unit is used to comparing the values of light that reads is less than threshold value, if values of light is less than threshold value, sentences Disconnected now user is under low-light conditions;The warning sign prompting module is additionally operable to judging at mobile intelligent terminal equipment The ejection warning sign prompting on the screen of mobile intelligent terminal equipment when under low-light conditions.
4. the auxiliary prompting system of the bad use habit of user as claimed in claim 1, it is characterised in that:The user is bad The auxiliary prompting system of use habit also includes shock module, and the shock module is used for the screen in mobile intelligent terminal equipment The vibration function of mobile intelligent terminal equipment is called after the upper countdown ejected after warning indicates and carry out the scheduled time.
5. the auxiliary prompting system of the bad use habit of user as claimed in claim 4, it is characterised in that:User's walking Auxiliary prompting system also includes the first time delay module and the second time delay module, and first time delay module is used to sentence in the screen Disconnected module judges to continue so that screen judges after the non-delay after bright screen state Jing Guo preset time of the screen of mobile phone Module judges whether the screen of mobile phone is in bright screen state again;Second time delay module is used to call in the shock module Continue after delay after the vibration function of mobile phone by another preset time so that screen judge module judges mobile phone again Whether screen is in bright screen state.
6. the auxiliary prompting system of the bad use habit of user as claimed in claim 1, it is characterised in that:The foundation class should With including call function and SMS, the tool-class, which is applied, to be comprised at least:Navigation feature application, illumination functions application.
7. the auxiliary prompting system of the bad use habit of user as claimed in claim 6, it is characterised in that:User's walking Auxiliary prompting system also includes user defined logic interface, and the user defined logic interface voluntarily sets tool-class application for user Species.
8. a kind of auxiliary prompting method of the bad use habit of user, is used in mobile intelligent terminal equipment, the user is bad The auxiliary prompting method of use habit includes:
Judge mobile intelligent terminal equipment whether bright screen;
Judge the currently used application type of mobile intelligent terminal equipment, the application type includes foundation class application and tool-class should With;
Judge whether user is currently in walking states, including:
Initialization step Numerical is 0 and initialization g parameter values are 0;
Registration G of the gravity sensor in three directions of x, y, z is read at interval of the scheduled timex、GyAnd Gz, to update g parameter values For:
Judge whether the g parameter values after current renewal are identical with the g parameter values of last time;
If judging, the g parameter values after currently being updated and the g parameter values of last time differ, and judge current g parameter values Whether it is crest;
If current g parameter values are crest, detect whether the time interval between current crest and previous secondary wave crest is more than Predetermined time value;
Step Numerical is added 1 if predetermined time value is more than, and judges that the time of last renewal step Numerical updates step number with current Whether the time interval of value is more than renewal time threshold value;
If time interval is more than renewal time threshold value, judge whether current step Numerical is more than step number threshold value;And
If current step Numerical is more than step number threshold value, judge that user is currently at walking states;And
The ejection warning sign prompting user on the screen of mobile intelligent terminal equipment.
9. the auxiliary prompting method of the bad use habit of user as claimed in claim 8, it is characterised in that:Also include step:
Judge whether the current use posture of user is correct, including:
Read registration G of the gravity sensor in three directions of x, y, zx、GyAnd Gz, and carry out computing according to below equation: To be moved Included angle A between intelligent terminal and X-plane, Y plane and Z planex、AyAnd Az
Judge whether current mobile intelligent terminal equipment is in portrait layout state;
If being in portrait layout state, A is judgedx=pi/2 ,-π/4≤Ay≤ π/4 and π/4≤AzWhether≤3 π/4 set up, if invalid Then judge that now mobile intelligent terminal equipment is in bad and use posture;And
If it is in transverse screen state, judgement-π/4≤Ax≤π/4、Ay=pi/2 and π/4≤AzWhether≤3 π/4 set up, if not into It is vertical, then judge that now mobile intelligent terminal equipment is in bad and use posture.
10. the auxiliary prompting method of the bad use habit of user as claimed in claim 8, it is characterised in that:Also include step:
Judge whether user is under low-light conditions at present, including:
Read the values of light that light sensor is sensed;
Compare whether the values of light read is less than threshold value;And
If values of light is less than threshold value, judge that now user is under low-light conditions.
CN201710752104.1A 2017-08-28 2017-08-28 Auxiliary reminding system and method for bad use habits of users Active CN107566627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710752104.1A CN107566627B (en) 2017-08-28 2017-08-28 Auxiliary reminding system and method for bad use habits of users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710752104.1A CN107566627B (en) 2017-08-28 2017-08-28 Auxiliary reminding system and method for bad use habits of users

Publications (2)

Publication Number Publication Date
CN107566627A true CN107566627A (en) 2018-01-09
CN107566627B CN107566627B (en) 2020-06-30

Family

ID=60977536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710752104.1A Active CN107566627B (en) 2017-08-28 2017-08-28 Auxiliary reminding system and method for bad use habits of users

Country Status (1)

Country Link
CN (1) CN107566627B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459509A (en) * 2018-01-31 2018-08-28 霍尼韦尔环境自控产品(天津)有限公司 The control method of smart machine and the control system of smart machine
CN109043944A (en) * 2018-06-28 2018-12-21 佛山市煜升电子有限公司 A kind of intelligence headpiece
CN111800542A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Information prompting method, information prompting platform and terminal
CN114627615A (en) * 2022-03-01 2022-06-14 重庆邮电大学 Danger prompting method for using mobile phone during walking
CN116457031A (en) * 2020-11-03 2023-07-18 H标记有限公司 Health and productivity computer-aided device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110224503A1 (en) * 2010-03-12 2011-09-15 Cusimano Reaston Maryrose Electro diagnostic functional assessment unit (EFA-3)
CN102413241A (en) * 2011-11-18 2012-04-11 上海华勤通讯技术有限公司 Mobile terminal and environmental brightness reminding method
CN103167069A (en) * 2012-05-08 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving automatic warning of mobile phone based on ambient brightness
US20140181715A1 (en) * 2012-12-26 2014-06-26 Microsoft Corporation Dynamic user interfaces adapted to inferred user contexts
CN103970277A (en) * 2014-05-27 2014-08-06 福建天晴数码有限公司 Method and device for healthy reading monitoring based on handheld electronic device
CN104378494A (en) * 2013-08-16 2015-02-25 联想移动通信科技有限公司 Reminding method and mobile terminal
CN104580693A (en) * 2014-12-05 2015-04-29 三星电子(中国)研发中心 Method and device for detecting user head-lowering posture
CN105577945A (en) * 2016-03-11 2016-05-11 厦门美图移动科技有限公司 Eyesight protection control method and device and mobile terminal
US20160155002A1 (en) * 2014-11-27 2016-06-02 Inventec (Pudong) Technology Corporation Hazard warning method and portable device utilizing the same
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN105939415A (en) * 2016-04-14 2016-09-14 Tcl集团股份有限公司 Security alert method and system in external auditory masking state
CN106231112A (en) * 2016-08-22 2016-12-14 得豆科技(北京)有限公司 Walking guard method for mobile terminal
CN106488014A (en) * 2016-09-28 2017-03-08 上海斐讯数据通信技术有限公司 The safety prompt function method and system of mobile terminal
CN106572251A (en) * 2016-10-31 2017-04-19 珠海市魅族科技有限公司 Mode switching method, mode switching device and terminal
CN106953982A (en) * 2017-03-31 2017-07-14 南京大学 One kind is bowed race's walking safety alarm method

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110224503A1 (en) * 2010-03-12 2011-09-15 Cusimano Reaston Maryrose Electro diagnostic functional assessment unit (EFA-3)
CN102413241A (en) * 2011-11-18 2012-04-11 上海华勤通讯技术有限公司 Mobile terminal and environmental brightness reminding method
CN103167069A (en) * 2012-05-08 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving automatic warning of mobile phone based on ambient brightness
US20140181715A1 (en) * 2012-12-26 2014-06-26 Microsoft Corporation Dynamic user interfaces adapted to inferred user contexts
CN104378494A (en) * 2013-08-16 2015-02-25 联想移动通信科技有限公司 Reminding method and mobile terminal
CN103970277A (en) * 2014-05-27 2014-08-06 福建天晴数码有限公司 Method and device for healthy reading monitoring based on handheld electronic device
US20160155002A1 (en) * 2014-11-27 2016-06-02 Inventec (Pudong) Technology Corporation Hazard warning method and portable device utilizing the same
CN104580693A (en) * 2014-12-05 2015-04-29 三星电子(中国)研发中心 Method and device for detecting user head-lowering posture
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN105577945A (en) * 2016-03-11 2016-05-11 厦门美图移动科技有限公司 Eyesight protection control method and device and mobile terminal
CN105939415A (en) * 2016-04-14 2016-09-14 Tcl集团股份有限公司 Security alert method and system in external auditory masking state
CN106231112A (en) * 2016-08-22 2016-12-14 得豆科技(北京)有限公司 Walking guard method for mobile terminal
CN106488014A (en) * 2016-09-28 2017-03-08 上海斐讯数据通信技术有限公司 The safety prompt function method and system of mobile terminal
CN106572251A (en) * 2016-10-31 2017-04-19 珠海市魅族科技有限公司 Mode switching method, mode switching device and terminal
CN106953982A (en) * 2017-03-31 2017-07-14 南京大学 One kind is bowed race's walking safety alarm method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459509A (en) * 2018-01-31 2018-08-28 霍尼韦尔环境自控产品(天津)有限公司 The control method of smart machine and the control system of smart machine
CN108459509B (en) * 2018-01-31 2021-08-03 霍尼韦尔环境自控产品(天津)有限公司 Control method and control system of intelligent equipment
CN109043944A (en) * 2018-06-28 2018-12-21 佛山市煜升电子有限公司 A kind of intelligence headpiece
CN109043944B (en) * 2018-06-28 2022-04-29 佛山市豪洋电子有限公司 Intelligent headboard
CN111800542A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Information prompting method, information prompting platform and terminal
CN116457031A (en) * 2020-11-03 2023-07-18 H标记有限公司 Health and productivity computer-aided device
CN114627615A (en) * 2022-03-01 2022-06-14 重庆邮电大学 Danger prompting method for using mobile phone during walking

Also Published As

Publication number Publication date
CN107566627B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN107566627A (en) The bad use habit auxiliary prompting system of user and method
CN110456938A (en) A kind of the false-touch prevention method and electronic equipment of Curved screen
CN108427873B (en) Biological feature identification method and mobile terminal
WO2017118182A1 (en) Terminal and operation method therefor
CN107664841A (en) Intelligent glasses and the method for controlling intelligent glasses dormancy awakening
CN103257708A (en) Method for waking up mobile terminal screen and mobile terminal
CN108737635A (en) message display method, device, mobile terminal and storage medium
WO2017012501A1 (en) Method and terminal for adjusting screen display direction
CN107426427B (en) Mobile terminal and automatic adjusting method and automatic adjusting device thereof
CN108852312A (en) Wearable device control method, wearable device and computer readable storage medium
CN108663627A (en) A kind of self-discharge of battery detection method and self-discharge of battery detection device
CN103886288A (en) Sleepy state detecting method and system
CN108282834A (en) A kind of method and terminal of terminal access LTE network
CN109525837A (en) The generation method and mobile terminal of image
WO2017185728A1 (en) Method and device for identifying key operation
CN109963005B (en) Adjusting method of double-screen brightness adjusting system and computer storage medium
WO2016065746A1 (en) Terminal device wakeup method and apparatus and storage medium
CN109309953B (en) Power consumption detection method, device, terminal and readable storage medium
CN110098651A (en) A kind of charging method, device, electronic equipment and readable storage medium storing program for executing
CN107885987B (en) Unlocking method, terminal and computer readable storage medium
CN107343100A (en) Information cuing method, device, storage medium and electronic equipment
CN108594471A (en) A kind of study monitor system and method based on intelligent glasses
CN108762553B (en) Touch information processing method and device, storage medium and electronic device
CN110536409A (en) IMS weight register method and mobile terminal
CN110012158A (en) A kind of charging reminding method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant