CN107483718A - Safety prompt function method, apparatus and storage medium - Google Patents
Safety prompt function method, apparatus and storage medium Download PDFInfo
- Publication number
- CN107483718A CN107483718A CN201710596060.8A CN201710596060A CN107483718A CN 107483718 A CN107483718 A CN 107483718A CN 201710596060 A CN201710596060 A CN 201710596060A CN 107483718 A CN107483718 A CN 107483718A
- Authority
- CN
- China
- Prior art keywords
- terminal
- information
- motion
- running order
- kept
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
Abstract
The disclosure is directed to a kind of safety prompt function method, apparatus and storage medium, this method to include:According to the trip information of terminal, determine whether the terminal is kept in motion;The external input information detected according to the trip information of the terminal or the terminal, determine whether the terminal is in running order;The terminal be kept in motion and it is simultaneously in running order when, push safety prompt function information.The safety prompt function method, apparatus and storage medium that the disclosure provides, can be when user be in motion during using terminal, and by safety prompt function, information reminding user takes care, and reduces the probability that user is in hazardous environment, improves Consumer's Experience.
Description
Technical field
This disclosure relates to terminal technology, more particularly to a kind of safety prompt function method, apparatus and storage medium.
Background technology
At present, with a large amount of popularizations of mobile terminal, especially compact, powerful mobile phone, the attention of user
Power almost can all be concentrated on mobile terminals whenever and wherever possible.
For example, many users, which like side to walk roadside, uses mobile terminal so that user can concentrate notice when on foot
On mobile terminals, the potential safety hazard present in around can not finding in time.Especially user may be caused not send out in time
Whether road on have motor vehicle process etc. so that potential safety hazard when user walks is higher if showing.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of safety prompt function method, apparatus and storage medium.
Technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of safety prompt function method, including:
According to the trip information of terminal, determine whether the terminal is kept in motion;
The external input information detected according to the trip information of the terminal or the terminal, determines the terminal
It is whether in running order;
The terminal be kept in motion and it is simultaneously in running order when, push safety prompt function information.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is kept in motion and simultaneously in running order, whether to be kept in motion by terminal and simultaneously in running order,
Come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that holding the user of terminal while in motion
During using terminal, safety prompt function information can be pushed to user, to remind the behavior for the currently used terminal of user for holding terminal
Potential safety hazard be present, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
Optionally, it is described to determine the end when trip information of the terminal is the acceleration value of the terminal
Whether end is kept in motion, including:
Obtain the acceleration value of the terminal;
When the acceleration value is more than threshold value, determine that the terminal is kept in motion.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is in running order, and can determine whether terminal is kept in motion according to the acceleration value of the terminal of acquisition, to pass through
Whether terminal is kept in motion and simultaneously in running order, to determine whether the user for holding terminal uses while in motion
Terminal, and then when it is determined that holding user's using terminal while in motion of terminal, safety prompt function information can be pushed to user,
To remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, reduce user and be in the general of hazardous environment
Rate, improve Consumer's Experience.
Optionally, when the trip information of the terminal is the screen state information of the terminal, described in the determination
Whether terminal is in running order, including:
Obtain the screen state information of the terminal;
When the screen of the terminal is released state, determine that the terminal is in running order;In the screen of the terminal
When curtain is lock-out state, determine that the terminal is in off working state.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is kept in motion, and can determines whether terminal is in running order according to the screen state information of the terminal of acquisition, with logical
Cross terminal whether to be kept in motion and simultaneously in running order, to determine whether the user for holding terminal makes while in motion
With terminal, and then when it is determined that holding user's using terminal while in motion of terminal, safety prompt function letter can be pushed to user
Breath, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, reduce user and be in hazardous environment
Probability, improve Consumer's Experience.
Optionally, when the trip information of the terminal is the classification for the application program being currently running in the terminal,
It is described to determine whether the terminal is in running order, including:
Obtain the classification for the application program that the terminal is currently running;
When the application program being currently running belongs to multimedia category, determine that the terminal is in running order.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is kept in motion, and can determines whether terminal is in work shape according to the classification for the application program being currently running in terminal
State, whether to be kept in motion by terminal and simultaneously in running order, come the user that determines to hold terminal whether on side
Side using terminal is moved, and then when it is determined that holding user's using terminal while in motion of terminal, can push and pacify to user
Full prompting message, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, reduce user and be in
The probability of hazardous environment, improves Consumer's Experience.
Optionally, it is described to determine whether the terminal is in work when the external input information is touch operation information
State, including:When detecting the touch operation to the terminal screen, determine that the terminal is in running order;
It is described to determine whether the terminal is in work shape when the external input information is physical button operation information
State, including:In the operation information that the physical button detected by the terminal triggers, determine that the terminal is in work shape
State.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is kept in motion, and can be with according to whether detecting touch operation to terminal screen or whether detecting and pass through terminal
Physical button triggering operation information, determine whether terminal in running order, whether to be kept in motion by terminal
And it is simultaneously in running order, come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that holding
The user of terminal during using terminal, can push safety prompt function information while in motion to user, to remind the use for holding terminal
There is potential safety hazard in the behavior of the currently used terminal in family, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
Optionally, before the push safety prompt function information, in addition to:
Judge that the terminal is continuously kept in motion and whether simultaneously in running order duration is more than preset duration.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal is judging that terminal continuously locates
When in motion state and simultaneously in running order duration is more than preset duration, just safety prompt function information can be pushed to user
Mode, terminal can be improved and determine whether terminal is kept in motion and simultaneously in running order accuracy, so as to improve
The accuracy of safety prompt function information is pushed to user, improves Consumer's Experience.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of safety reminding device, including:
Processing module, the trip information according to terminal is configured as, determines whether the terminal is kept in motion,
And the external input information detected according to the trip information of the terminal or the terminal, determine whether the terminal is located
In working condition;
Pushing module, be configured as being kept in motion in the terminal and it is simultaneously in running order when, push safety
Prompting message.
The technical scheme provided by this disclosed embodiment can include the following benefits:Processing module can determine terminal
Whether it is kept in motion and simultaneously in running order, so that work shape whether is kept in motion and be in by terminal simultaneously
State, come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that the user for holding terminal transports on side
During dynamic side using terminal, pushing module can push safety prompt function information to user, to remind the user for holding terminal currently to make
Potential safety hazard be present with the behavior of terminal, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
Optionally, when the trip information of the terminal is the acceleration value of the terminal, the processing module, quilt
It is configured to obtain the acceleration value of the terminal, and when the acceleration value is more than threshold value, determines the terminal
It is kept in motion.
The technical scheme provided by this disclosed embodiment can include the following benefits:Processing module can determine terminal
It is whether in running order, and the acceleration value for the terminal that can be obtained according to acquisition module, determine terminal whether in fortune
Dynamic state, whether to be kept in motion by terminal and simultaneously in running order, whether to determine to hold the user of terminal
Using terminal while in motion, and then when it is determined that holding the user of terminal using terminal while in motion, pushing module can be with
Safety prompt function information is pushed to user, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, is dropped
Low user is in the probability of hazardous environment, improves Consumer's Experience.
Optionally, when the trip information of the terminal is the screen state information of the terminal, the processing module,
It is configured as obtaining the screen state information of the terminal;When the screen of the terminal is released state, the terminal is determined
It is in running order;When the screen of the terminal is lock-out state, determine that the terminal is in off working state.
The technical scheme provided by this disclosed embodiment can include the following benefits:Processing module can determine terminal
Whether it is kept in motion, and can determines whether terminal is in running order according to the screen state information of the terminal of acquisition,
Whether to be kept in motion by terminal and simultaneously in running order, to determine whether the user for holding terminal moves on side
Side using terminal, and then when it is determined that holding user's using terminal while in motion of terminal, pushing module can push away to user
Safety prompt function information is sent, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, reduces user
Probability in hazardous environment, improves Consumer's Experience.
Optionally, when the trip information of the terminal is the classification for the application program being currently running in the terminal,
The processing module, be configured as obtaining the classification for the application program that the terminal is currently running, and is currently running described
When application program belongs to multimedia category, determine that the terminal is in running order.
The technical scheme provided by this disclosed embodiment can include the following benefits:Processing module can determine terminal
Whether it is kept in motion, and can determines whether terminal is in work according to the classification for the application program being currently running in terminal
Make state, whether to be kept in motion by terminal and simultaneously in running order, whether to determine to hold the user of terminal
Using terminal while in motion, and then when it is determined that holding the user of terminal using terminal while in motion, pushing module can be with
Safety prompt function information is pushed to user, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, is dropped
Low user is in the probability of hazardous environment, improves Consumer's Experience.
Optionally, when the external input information is touch operation information, the processing module, it is configured as detecting
During touch operation to the terminal screen, determine that the terminal is in running order;
When the external input information is physical button operation information, the processing module, be configured as detect it is logical
When crossing the operation information of physical button triggering of the terminal, determine that the terminal is in running order.
The technical scheme provided by this disclosed embodiment can include the following benefits:Processing module can determine terminal
Whether it is kept in motion, and can be with according to whether detecting touch operation to terminal screen or whether detecting and pass through
The operation information of the physical button triggering of terminal, determines whether terminal is in running order, whether to be in motion by terminal
State and simultaneously in running order, come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that
Hold the user of terminal while in motion during using terminal, pushing module can push safety prompt function information to user, to remind
There is potential safety hazard in the behavior for holding the currently used terminal of user of terminal, reduce the probability that user is in hazardous environment, carry
High Consumer's Experience.
Optionally, the processing module, it is configured as before the pushing module pushes safety prompt function information, judges institute
State that terminal is continuously kept in motion and whether simultaneously in running order duration is more than preset duration.
The technical scheme provided by this disclosed embodiment can include the following benefits:Judge that terminal connects in processing module
Continuous to be kept in motion and when simultaneously in running order duration is more than preset duration, pushing module just can push peace to user
The mode of full prompting message, it can improve and determine whether terminal is kept in motion and simultaneously in running order accuracy,
So as to improve the accuracy that safety prompt function information is pushed to user, Consumer's Experience is improved.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of safety reminding device, including:Memory, processor with
And computer instruction, the processor run safety prompt function method of the computer instruction execution as described in first aspect is any
The step of.
The technical scheme provided by this disclosed embodiment can include the following benefits:Safety reminding device can determine
Whether terminal is kept in motion and simultaneously in running order, so that work whether is kept in motion and be in by terminal simultaneously
Make state, come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that the user for holding terminal exists
In motion during using terminal, safety prompt function information can be pushed to user, to remind the user's currently used end for holding terminal
There is potential safety hazard in the behavior at end, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, be stored thereon with calculating
Machine program, the computer program realizes first aspect any described safety prompt function method when being executed by processor the step of.
The technical scheme provided by this disclosed embodiment can include the following benefits:Whether terminal can determine terminal
It is kept in motion and simultaneously in running order, whether to be kept in motion by terminal and simultaneously in running order,
Come determine to hold the user of terminal whether while in motion using terminal, and then it is determined that holding the user of terminal while in motion
During using terminal, safety prompt function information can be pushed to user, to remind the behavior for the currently used terminal of user for holding terminal
Potential safety hazard be present, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of safety prompt function method according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of safety reminding device according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of safety reminding device 300 according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope of disclosure design by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The technical scheme of the disclosure is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
Fig. 1 is a kind of flow chart of safety prompt function method according to an exemplary embodiment.The execution master of this method
Body can be safety reminding device, can also be the mobile terminal for being integrated with safety reminding device, following using executive agent as collection
Into the mobile terminal (abbreviation of safety reminding device:Terminal) exemplified by illustrate.As shown in figure 1, this method can include with
Lower step:
In step S101, according to the trip information of terminal, determine whether terminal is kept in motion.
The motion state of terminal can reflect whether the user for holding terminal is kept in motion (such as:Walking, run
Walk, ride public transportation means, drive a conveyance).Therefore, in the present embodiment, terminal can in real time or periodic root
According to the trip information of terminal, determine whether terminal is kept in motion.Wherein, above-mentioned trip information can be any
The information whether terminal is kept in motion can be reflected.For example, the pedometer numerical value of the acceleration value of terminal, terminal
Deng.
For example, when terminal is provided with acceleration transducer, above-mentioned terminal can first obtain the acceleration value of terminal (i.e.
The numerical value that the acceleration transducer of terminal is gathered).Then, terminal can determine whether terminal is located according to the acceleration value
In motion state.For example, when acceleration value is less than or equal to threshold value, it may be determined that terminal remains static.When
When acceleration value is more than threshold value, it may be determined that terminal is kept in motion.Wherein, above-mentioned threshold value can according to
Average acceleration when family is moved determines.The threshold value is default when can be dispatched from the factory for terminal, can also be user in terminal
It is upper default.
For example, when terminal is provided with pedometer, above-mentioned terminal can also repeatedly obtain the meter of terminal in preset duration
Walk device numerical value (i.e. the numerical value that the pedometer of terminal is gathered, step number can also be turned into).Then, terminal can be according to the plurality of meter
The change of device numerical value is walked, determines whether terminal is kept in motion.For example, when the plurality of pedometer numerical value is identical, can be true
Determine terminal to remain static.When the plurality of pedometer numerical value is in sustainable growth state, it may be determined that terminal is kept in motion.
Above-mentioned terminal can also use the other modes in correlation technique, according to the trip information of terminal, it is determined that eventually
Whether end is kept in motion, and this is repeated no more.
In step s 102, the external input information detected according to the trip information of terminal or terminal, it is determined that eventually
Whether end is in running order.
Specifically, whether the working condition of terminal can reflect the user for holding terminal in using terminal.Therefore, at this
In embodiment, the outside that terminal in real time or can be detected periodically according to the trip information of terminal or terminal is defeated
Enter information, determine whether terminal is in running order.
Wherein, the trip information of above-mentioned terminal can reflect whether terminal is in running order to be any
Information.For example, classification of application program being currently running in the screen state information of terminal, terminal etc..
For example, above-mentioned terminal can first obtain the screen state information of terminal.Then, terminal can be according to the screen of terminal
Status information, determine whether terminal is in running order.For example, in the screen state information according to terminal, the screen of terminal is determined
When curtain is released state, illustrate that terminal is being currently used in user, hence, it can be determined that terminal is in running order.In basis
The screen state information of terminal, when the screen for determining terminal is lock-out state, illustrate the current not using terminal of user, therefore,
It can determine that terminal is in off working state.Wherein, it can be correlation technique that the present embodiment, which does not limit above-mentioned screen state information,
In any information that can reflect screen state, this is repeated no more.
For example, whether above-mentioned terminal can also be currently running the other application program of multimedia class according to terminal, terminal is determined
It is whether in running order.Wherein, the other application program of multimedia class mentioned here for example can be video application, trip
Application program of playing etc.., can't be in the running background of terminal because these application programs only can be in the front stage operation of terminal.Cause
This, above-mentioned terminal can first obtain the classification for the application program that terminal is currently running, and belong to more in the application program being currently running
During media categories, illustrate that terminal is being currently used in user, therefore, terminal can determine that terminal is in running order.
When the application program of operation is not belonging to multimedia category, illustrate the current not using terminal of user, therefore, terminal can determine end
End is in off working state.
Wherein, said external input information can be to hold the information that the user of terminal inputs to terminal.For example, touch behaviour
Make information, physical button operation information etc..
For example, above-mentioned terminal can be according to whether detect the touch operation to terminal screen, to determine that terminal is in work
State.When detecting the touch operation to terminal screen, illustrate that terminal is being currently used in user, hence, it can be determined that eventually
Hold in running order.When being not detected by the touch operation to terminal screen, illustrate that user does not have using terminal currently, because
This, it may be determined that terminal is in off working state.
For example, above-mentioned terminal can with according to whether detect the operation information triggered by the physical button of terminal, it is determined that
Terminal is in running order.In the operation information that the physical button detected by terminal triggers, illustrate that user is current
Using terminal, hence, it can be determined that terminal is in running order.In the operation that the physical button being not detected by by terminal triggers
During information, illustrate that user does not have using terminal currently, hence, it can be determined that terminal is in off working state.Wherein, above-mentioned list
The operation information that the pure shutdown button by terminal triggers simultaneously is not belonging to the scope that the application is protected, but above-mentioned shutdown button with
Other buttons coordinate the operation information of triggering still to belong to the scope that the application is protected simultaneously.
Optionally, above-mentioned terminal can also use the other modes in correlation technique, according to the trip information of terminal
Or the external input information that terminal detects, determine whether terminal is in running order, this is repeated no more.
It should be noted that the present embodiment does not limit above-mentioned steps S101 and step S102 execution sequence.For example, can be with
First carry out step S101 and perform step S102 again, step S102 can also be first carried out and perform step S101 again, can also be held simultaneously
Row step S101 and step S102.
In step s 103, terminal be kept in motion and it is simultaneously in running order when, push safety prompt function information.
For example, when terminal determine terminal be kept in motion and it is simultaneously in running order when, illustrate the use for holding terminal
Family may while in motion (walk or run) using terminal.Due to user while motion while using terminal when, can be by notice
Concentrate in terminal, and the potential safety hazard present in around can not finding in time so that potential safety hazard during user movement is higher.
Therefore, above-mentioned terminal it is determined that terminal be kept in motion and it is simultaneously in running order when, can to user push safety carry
Awake information, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present.So, if user now
While motion while using terminal, then user after terminal has pushed safety prompt function information, can timely correct oneself side motion
The problem of side using terminal, so that user can remove notice from terminal, and then user is had found in time
Potential safety hazard present in surrounding, reduces the probability that user is in hazardous environment, improves Consumer's Experience.
Wherein, the present embodiment does not limit the form of above-mentioned safety prompt function information, for example, above-mentioned safety prompt function information can be
It the information of sound-type, can also be the information of vibrations type, can also be the information of literal type.When above-mentioned safety prompt function is believed
When ceasing the information for sound-type, above-mentioned terminal can be by way of voice broadcast safety prompt function information, should to user's push
Safety prompt function information.Now, the safety prompt function information for example can be:" warmth is reminded:, please don't side motion for your safety
Side using terminal ", or, the safety prompt function information be default buzzing prompt tone (such as:Alarm song).When above-mentioned safety prompt function
When information is shakes the information of type, above-mentioned terminal can push the safety prompt function information by way of vibrations to user.This
When, the safety prompt function information for example can be:Default vibration prompting sound.When the letter that above-mentioned safety prompt function information is literal type
During breath, above-mentioned terminal can be by way of ejecting suspended window in the user interface of terminal, should to user's push on suspended window
Safety prompt function information.Now, the safety prompt function information for example can be:" warmth is reminded:, please don't side motion for your safety
Side using terminal ".
Optionally, in certain embodiments, above-mentioned terminal can also judge that terminal is continuously kept in motion and located simultaneously
Whether it is more than preset duration in the duration of working condition, when more than preset duration, pushes safety prompt function information.That is,
When above-mentioned terminal it is determined that terminal be kept in motion and it is simultaneously in running order after, can continue to judge whether terminal is in
Motion state and simultaneously in running order.Judging that terminal is continuously kept in motion and simultaneously in running order continue for
After preset duration, the safety prompt function information can be just pushed to user.In this way, it can improve whether terminal determines terminal
It is kept in motion and simultaneously in running order accuracy, the accurate of safety prompt function information is pushed so as to improve to user
Property, improve Consumer's Experience.Wherein, above-mentioned preset duration can specifically be set according to demand.
As foregoing described, when terminal determine terminal be kept in motion and it is simultaneously in running order when, illustrate to hold end
The user at end may while in motion (walk or run) using terminal, it is also possible to be that the user for holding terminal is forgotten terminal
Screen locking.Then in certain embodiments, above-mentioned safety prompt function information can be also used for reminding the non-screen locking of user terminal.So, user
By the safety prompt function information, can timely know and oneself forget terminal screen locking so that user can timely by
Terminal screen locking, to save the power consumption of terminal, improve Consumer's Experience.Under the scene, above-mentioned safety prompt function information can be
The information of sound-type either shakes information of type etc..
The safety prompt function method that the disclosure provides, terminal can determine whether terminal is kept in motion and is in work simultaneously
Make state, whether to be kept in motion by terminal and simultaneously in running order, whether to determine to hold the user of terminal
Using terminal while in motion, and then when it is determined that holding user's using terminal while in motion of terminal, can be pushed away to user
Safety prompt function information is sent, to remind the behavior for the currently used terminal of user for holding terminal potential safety hazard to be present, reduces user
Probability in hazardous environment, improves Consumer's Experience.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 2 is a kind of block diagram of safety reminding device according to an exemplary embodiment.As shown in Fig. 2 the safety
Alarm set can be implemented in combination with some or all of of mobile terminal by software, hardware or both.The safety prompt function
Device can include:
Processing module 11, the trip information according to terminal is configured as, determines whether terminal is kept in motion, and
The external input information detected according to the trip information of terminal or terminal, determine whether terminal is in running order;
Pushing module 12, be configured as being kept in motion in terminal and it is simultaneously in running order when, push safety carries
Awake information.
Optionally, when the trip information of terminal is the acceleration value of terminal, above-mentioned processing module 11, it is configured
To obtain the acceleration value of terminal, and when acceleration value is more than threshold value, determine that terminal is kept in motion.
Optionally, terminal trip information be terminal screen state information when, above-mentioned processing module 11, by with
It is set to the screen state information for obtaining terminal;When the screen of terminal is released state, determine that terminal is in running order;At end
When the screen at end is lock-out state, determine that terminal is in off working state.
Optionally, when the trip information of terminal is the classification for the application program being currently running in terminal, above-mentioned place
Module 11 is managed, is configured as obtaining the classification for the application program that terminal is currently running, and is belonged in the application program being currently running
During multimedia category, determine that terminal is in running order.
Optionally, when external input information is touch operation information, above-mentioned processing module 11, it is configured as detecting
During touch operation to terminal screen, determine that terminal is in running order.It is physical button operation information in external input information
When, above-mentioned processing module 11, it is configured as, in the operation information that the physical button detected by terminal triggers, determining terminal
It is in running order.
Optionally, in certain embodiments, above-mentioned processing module 11, it is configured as in pushing module push safety prompt function letter
Before breath, judge that terminal is continuously kept in motion and whether simultaneously in running order duration is more than preset duration.
The safety reminding device that the disclosure provides, processing module can determine whether terminal is kept in motion and locates simultaneously
In working condition, whether to be kept in motion by terminal and simultaneously in running order, to determine the user for holding terminal
Whether while in motion using terminal, and then when it is determined that holding the user of terminal using terminal while in motion, pushing module
Safety prompt function information can be pushed to user, it is hidden to remind the behavior for the currently used terminal of user for holding terminal safety to be present
Suffer from, reduce the probability that user is in hazardous environment, improve Consumer's Experience.
Fig. 3 is a kind of block diagram of safety reminding device 300 according to an exemplary embodiment.For example, device 300 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, it is good for
Body equipment, personal digital assistant etc..
Reference picture 3, device 300 can include following one or more assemblies:Processing component 302, memory 304, power supply
Component 306, multimedia groupware 308, audio-frequency assembly 310, the interface 312 of input/output (I/O), sensor cluster 314, and
Communication component 316.
The integrated operation of the usual control device 300 of processing component 302, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Processing component 302 can refer to including one or more processors 320 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 302 can include one or more modules, just
Interaction between processing component 302 and other assemblies.For example, processing component 302 can include multi-media module, it is more to facilitate
Interaction between media component 308 and processing component 302.
Memory 304 is configured as storing various types of data to support the operation in device 300.These data are shown
Example includes the instruction of any application program or method for operating on the device 300, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 304 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 306 provides electric power for the various assemblies of device 300.Power supply module 306 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 300.
Multimedia groupware 308 is included in the touching display screen of one output interface of offer between device 300 and user.
In some embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch
Sensor is touched with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or slip be dynamic
The border of work, but also detect the duration and pressure to touching or slide is related.In certain embodiments, multimedia
Component 308 includes a front camera and/or rear camera.When device 300 is in operator scheme, such as screening-mode or regard
During frequency pattern, front camera and/or rear camera can receive outside multi-medium data.Each front camera is with after
Putting camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 310 is configured as output and/or input audio signal.For example, audio-frequency assembly 310 includes a Mike
Wind (MIC), when device 300 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 304 or via communication set
Part 316 is sent.In certain embodiments, audio-frequency assembly 310 also includes a loudspeaker, for exports audio signal.
I/O interfaces 312 provide interface between processing component 302 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main bar button, volume button, start button and lock
Determine button.
Sensor cluster 314 includes one or more sensors, and the state for providing various aspects for device 300 is commented
Estimate.For example, sensor cluster 314 can detect opening/closed mode of device 300, the relative positioning of component, such as component
For the display and keypad of device 300, sensor cluster 314 can be with the position of 300 1 components of detection means 300 or device
Put change, the existence or non-existence that user contacts with device 300, the orientation of device 300 or acceleration/deceleration and the temperature of device 300
Change.Sensor cluster 314 can include proximity transducer, be configured in no any physical contact near detection
The presence of object.Sensor cluster 314 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging
With middle use.In certain embodiments, the sensor cluster 314 can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 316 is configured to facilitate the communication of wired or wireless way between device 300 and other equipment.Device
300 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 316 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, communication component 316 also includes near-field communication (NFC) module, to promote junction service.For example,
Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module
(BT) technology and other technologies are realized.
In the exemplary embodiment, device 300 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 304 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 320 of device 300.For example,
Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light
Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 300
During row so that device 300 is able to carry out a kind of safety prompt function method.
This method includes:
According to the trip information of terminal, determine whether terminal is kept in motion;
The external input information detected according to the trip information of terminal or terminal, determines whether terminal is in work
State;
Terminal be kept in motion and it is simultaneously in running order when, push safety prompt function information.
Optionally, when the trip information of above-mentioned terminal is the acceleration value of terminal, whether above-mentioned determination terminal
It is kept in motion, including:
Obtain the acceleration value of terminal;
When acceleration value is more than threshold value, determine that terminal is kept in motion.
Optionally, when the trip information of terminal is the screen state information of terminal, whether above-mentioned determination terminal is located
In working condition, including:
Obtain the screen state information of terminal;
When the screen of terminal is released state, determine that terminal is in running order;It is lock-out state in the screen of terminal
When, determine that terminal is in off working state.
Optionally, it is above-mentioned true when the trip information of terminal is the classification for the application program being currently running in terminal
Whether in running order determine terminal, including:
Obtain the classification for the application program that terminal is currently running;
When the application program being currently running belongs to multimedia category, determine that terminal is in running order.
Optionally, when external input information is touch operation information, whether above-mentioned determination terminal is in running order, bag
Include:When detecting the touch operation to terminal screen, determine that terminal is in running order;
When external input information is physical button operation information, whether above-mentioned determination terminal is in running order, including:
In the operation information that the physical button detected by terminal triggers, determine that terminal is in running order.
Optionally, before above-mentioned push safety prompt function information, in addition to:
Judge that terminal is continuously kept in motion and whether simultaneously in running order duration is more than preset duration.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims
System.
Claims (14)
- A kind of 1. safety prompt function method, it is characterised in that including:According to the trip information of terminal, determine whether the terminal is kept in motion;Whether the external input information detected according to the trip information of the terminal or the terminal, determine the terminal It is in running order;The terminal be kept in motion and it is simultaneously in running order when, push safety prompt function information.
- 2. according to the method for claim 1, it is characterised in that the trip information of the terminal adds for the terminal It is described to determine whether the terminal is kept in motion during speed values, including:Obtain the acceleration value of the terminal;When the acceleration value is more than threshold value, determine that the terminal is kept in motion.
- 3. according to the method for claim 1, it is characterised in that the trip information of the terminal is the screen of the terminal It is described to determine whether the terminal is in running order during curtain status information, including:Obtain the screen state information of the terminal;When the screen of the terminal is released state, determine that the terminal is in running order;It is in the screen of the terminal During lock-out state, determine that the terminal is in off working state.
- 4. according to the method for claim 1, it is characterised in that the trip information of the terminal be the terminal on just It is described to determine whether the terminal is in running order in the classification of the application program of operation, including:Obtain the classification for the application program that the terminal is currently running;When the application program being currently running belongs to multimedia category, determine that the terminal is in running order.
- 5. according to the method for claim 1, it is characterised in that when the external input information is touch operation information, institute State and determine whether the terminal is in running order, including:When detecting the touch operation to the terminal screen, institute is determined It is in running order to state terminal;It is described to determine whether the terminal is in running order when the external input information is physical button operation information, bag Include:In the operation information that the physical button detected by the terminal triggers, determine that the terminal is in running order.
- 6. according to the method described in claim any one of 1-5, it is characterised in that before the push safety prompt function information, also Including:Judge that the terminal is continuously kept in motion and whether simultaneously in running order duration is more than preset duration.
- A kind of 7. safety reminding device, it is characterised in that including:Processing module, the trip information according to terminal is configured as, determines whether the terminal is kept in motion, and root The external input information detected according to the trip information or the terminal of the terminal, determines whether the terminal is in work Make state;Pushing module, be configured as being kept in motion in the terminal and it is simultaneously in running order when, push safety prompt function Information.
- 8. device according to claim 7, it is characterised in that the trip information of the terminal adds for the terminal During speed values, the processing module, it is configured as obtaining the acceleration value of the terminal, and it is big in the acceleration value When threshold value, determine that the terminal is kept in motion.
- 9. device according to claim 7, it is characterised in that the trip information of the terminal is the screen of the terminal During curtain status information, the processing module, it is configured as obtaining the screen state information of the terminal;In the screen of the terminal For released state when, determine that the terminal is in running order;When the screen of the terminal is lock-out state, the end is determined End is in off working state.
- 10. device according to claim 7, it is characterised in that the trip information of the terminal is in the terminal During the classification for the application program being currently running, the processing module, it is configured as obtaining the application journey that the terminal is currently running The classification of sequence, and when the application program being currently running belongs to multimedia category, determine that the terminal is in running order.
- 11. device according to claim 7, it is characterised in that when the external input information is touch operation information, institute Processing module is stated, is configured as when detecting the touch operation to the terminal screen, determines that the terminal is in work shape State;When the external input information is physical button operation information, the processing module, it is configured as passing through institute detecting When stating the operation information of physical button triggering of terminal, determine that the terminal is in running order.
- 12. according to the device described in claim any one of 7-11, it is characterised in that the processing module, be configured as in institute Before stating pushing module push safety prompt function information, judge that the terminal is continuously kept in motion and simultaneously in running order Duration whether be more than preset duration.
- A kind of 13. safety reminding device, it is characterised in that including:Memory, processor and computer instruction, the processing Device runs the computer instruction and performed such as the step of any one of claim 1-6 methods described.
- 14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of any one of claim 1-6 methods described is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710596060.8A CN107483718A (en) | 2017-07-20 | 2017-07-20 | Safety prompt function method, apparatus and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710596060.8A CN107483718A (en) | 2017-07-20 | 2017-07-20 | Safety prompt function method, apparatus and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107483718A true CN107483718A (en) | 2017-12-15 |
Family
ID=60595759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710596060.8A Pending CN107483718A (en) | 2017-07-20 | 2017-07-20 | Safety prompt function method, apparatus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483718A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113824837A (en) * | 2020-06-19 | 2021-12-21 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873689A (en) * | 2014-03-12 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Method and device for safety reminding |
CN105426179A (en) * | 2015-11-05 | 2016-03-23 | 深圳市金立通信设备有限公司 | Application program control method and terminal |
CN105739696A (en) * | 2016-01-28 | 2016-07-06 | 东莞酷派软件技术有限公司 | Application program management method and device as well as mobile terminal |
CN106371554A (en) * | 2015-07-23 | 2017-02-01 | 阿里巴巴集团控股有限公司 | State reminding method and device |
-
2017
- 2017-07-20 CN CN201710596060.8A patent/CN107483718A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873689A (en) * | 2014-03-12 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Method and device for safety reminding |
CN106371554A (en) * | 2015-07-23 | 2017-02-01 | 阿里巴巴集团控股有限公司 | State reminding method and device |
CN105426179A (en) * | 2015-11-05 | 2016-03-23 | 深圳市金立通信设备有限公司 | Application program control method and terminal |
CN105739696A (en) * | 2016-01-28 | 2016-07-06 | 东莞酷派软件技术有限公司 | Application program management method and device as well as mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113824837A (en) * | 2020-06-19 | 2021-12-21 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105279957B (en) | Message prompt method and device | |
CN107545569A (en) | Method for recognizing impurities and device | |
CN106534796A (en) | Method and device for monitoring safety of infant and child | |
CN106951884A (en) | Gather method, device and the electronic equipment of fingerprint | |
CN106775298A (en) | The processing method and processing device of sectional drawing | |
CN106021077B (en) | The alarming method for power and device of terminal | |
CN109947331A (en) | Indicative information display method, device and storage medium | |
CN107452221A (en) | Arrival reminding method and device | |
CN106126058A (en) | Based reminding method and device | |
CN106325670A (en) | Message prompting method and device | |
CN107202574A (en) | Motion track information modification method and device | |
CN107102801A (en) | Terminal screen spinning solution and device | |
CN108121631A (en) | Screen abnormality based reminding method and device | |
CN107135147A (en) | Method, device and the computer-readable recording medium of sharing position information | |
CN104463047B (en) | The device and method of control module work | |
CN106937243A (en) | Based reminding method and device | |
CN106568454A (en) | Information prompting method and device | |
CN105528872B (en) | The based reminding method and device on restricted driving date | |
CN105630141A (en) | Information browsing reminding method and device | |
CN106537947A (en) | Operation triggering method and portable electronic device | |
US9721454B2 (en) | Method for protecting terminal devices and the terminal device thereof | |
CN104536753B (en) | Backlog labeling method and device | |
CN106534495A (en) | Method of information processing, device and equipment | |
CN106921797A (en) | Information prompting method and device | |
CN106502664A (en) | User is reminded to open the method and device of application |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171215 |
|
RJ01 | Rejection of invention patent application after publication |