CN110650245B - Reminding method, reminding device, mobile terminal and computer readable storage medium - Google Patents

Reminding method, reminding device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110650245B
CN110650245B CN201910912503.9A CN201910912503A CN110650245B CN 110650245 B CN110650245 B CN 110650245B CN 201910912503 A CN201910912503 A CN 201910912503A CN 110650245 B CN110650245 B CN 110650245B
Authority
CN
China
Prior art keywords
mobile terminal
preset
acceleration
reminding
acquiring
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.)
Active
Application number
CN201910912503.9A
Other languages
Chinese (zh)
Other versions
CN110650245A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910912503.9A priority Critical patent/CN110650245B/en
Publication of CN110650245A publication Critical patent/CN110650245A/en
Application granted granted Critical
Publication of CN110650245B publication Critical patent/CN110650245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application is applicable to the technical field of mobile terminals, and provides a reminding method, a reminding device, a mobile terminal and a computer readable storage medium, which comprise: acquiring the current time shown by the mobile terminal; when the current time is in a preset time period, acquiring the acceleration of the mobile terminal; if the acceleration of the mobile terminal meets a preset condition, starting the mobile terminal to count down for a preset duration; and when the countdown is finished, reminding in a preset mode. Through the method and the device, the user can be reminded of getting off in time, and the situation of standing by is avoided.

Description

Reminding method, reminding device, mobile terminal and computer readable storage medium
Technical Field
The present application belongs to the technical field of mobile terminals, and in particular, relates to a reminding method, a reminding device, a mobile terminal, and a computer-readable storage medium.
Background
With the change of times and the progress of science and technology, more and more vehicles around people bring great convenience to the life of people, such as buses, subways, trains and the like. People usually read books or listen to music, video and the like through a mobile phone when taking a subway, the attention is concentrated, the situation of sitting at a station easily occurs, and the journey is delayed.
Disclosure of Invention
In view of the above, the present application provides a reminding method, a reminding apparatus, a mobile terminal and a computer-readable storage medium, and a user is reminded to get off in time, so as to avoid the situation of sitting and standing.
A first aspect of the present application provides a reminding method, which is applied to a mobile terminal, and the reminding method includes:
acquiring the current time shown by the mobile terminal;
when the current time is in a preset time period, acquiring the acceleration of the mobile terminal;
if the acceleration of the mobile terminal meets a preset condition, starting the mobile terminal to count down for a preset duration;
and when the countdown is finished, reminding in a preset mode.
A second aspect of the present application provides a reminder device, comprising:
the current time acquisition module is used for acquiring the current time shown by the mobile terminal;
the acceleration acquisition module is used for acquiring the acceleration of the mobile terminal when the current time is in a preset time period;
the countdown starting module is used for starting the mobile terminal to count down for a preset time length if the acceleration of the mobile terminal meets a preset condition;
and the information reminding module is used for reminding in a preset mode when the countdown is finished.
A third aspect of the present application provides a mobile terminal, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the alert method according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the alert method as described in the first aspect above.
A fifth aspect of the present application provides a computer program product, which, when running on a mobile terminal, causes the mobile terminal to perform the steps of the reminding method of the first aspect.
Therefore, according to the scheme, when the current time shown by the mobile terminal is within the preset time period, the acceleration of the mobile terminal is obtained, whether the vehicle taken by the user is started or not is judged according to the acceleration of the mobile terminal, when the acceleration of the mobile terminal meets the preset condition, the vehicle taken by the user is determined to be started, the mobile terminal is started to count down for the preset time, the preset time is less than or equal to the time for the vehicle to travel from the departure station to the destination station or the transfer station of the user, and when the counting down is finished, the vehicle can be reminded in a preset mode, so that the user can be reminded of getting off the vehicle in time, and the situation of getting off the vehicle when the vehicle passes the station is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a reminding method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation of a reminding method provided in the second embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of a reminding method provided in the third embodiment of the present application;
FIG. 4 is a schematic view of a reminder device according to a fourth embodiment of the present application;
fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, is a schematic view of an implementation flow of a reminding method provided in an embodiment of the present application, where the reminding method is applied to a mobile terminal, and as shown in the figure, the reminding method may include the following steps:
and step S101, acquiring the current time shown by the mobile terminal.
The current time displayed by the mobile terminal can be obtained from the clock of the mobile terminal, for example, the clock of the mobile phone displays 13:15, and then the current time is 13: 15. Optionally, time request information (the time request information is used to instruct the server to obtain the current time) may also be sent to the server, and after receiving the time request information, the server obtains the current time and feeds the current time back to the mobile terminal.
And step S102, when the current time is in a preset time period, acquiring the acceleration of the mobile terminal.
In this embodiment of the application, the preset time period is a countdown starting time period, and when the current time is within the preset time period, the mobile terminal may start a countdown for reminding the user to get off. The user usually takes the subway in the preset time period and can start countdown to remind to get off, and the user usually does not need to start countdown to remind when the user does not take the subway outside the preset time period. The user can set the preset time period according to actual needs, and the setting is not limited herein. For example, a user usually goes to work on a subway at 7:00 to 9:00 in the morning, and the preset time period may be set to 7:00 to 9:00, and the current time is 7:30, which indicates that the current time is in the preset time period.
The countdown application program can be installed in the mobile terminal, at least one preset time period can be set on a setting page of the countdown application program, and the acceleration of the mobile terminal is obtained when the current time reaches any preset time period. Optionally, an acceleration function may also be set on a setting page of the countdown application, and a user may select whether to start the acceleration function according to actual needs, where starting the acceleration function refers to acquiring the acceleration of the mobile terminal when the current time is within a preset time period; the acceleration function is not started, namely the acceleration of the mobile terminal is not acquired when the current time is within a preset time period. Each preset time period may be set to correspond to one acceleration function, and all preset time periods may also be set to correspond to one acceleration function, which is not limited herein. A countdown application may refer to an application having a countdown function. The setting page of the countdown application program can be a page displayed after the countdown application program is started, some function settings can be performed on the page, for example, countdown time, a preset time period, an acceleration function and the like are set, the setting page of the countdown application program can be set once, the countdown reminding function is started by default according to the setting, and the user does not need to repeatedly set the countdown function or avoid missing getting-off due to forgetting to set the countdown. The countdown reminding function is a function of reminding a user by using countdown.
Step S103, if the acceleration of the mobile terminal meets a preset condition, starting the mobile terminal to count down for a preset duration.
In the embodiment of the application, when a vehicle such as a bus, a subway, a train and the like is started, a short jolt usually occurs, an accelerometer of a mobile terminal held by a user who takes the vehicle usually suddenly detects a large acceleration, in order to judge whether the vehicle taken by the user is started, the acceleration of the mobile terminal can be acquired, and whether the vehicle taken by the user is started or not is judged according to the acceleration of the mobile terminal. The preset condition may refer to a condition for judging that the vehicle in which the user is seated is started.
Since the accelerations generated by different vehicles during starting may be different, the accelerations of the mobile terminal obtained by the mobile terminal of the user who takes the vehicle through the accelerometer may also be different when different vehicles are started, different preset conditions may be set for different vehicles, and the preset conditions may be adjusted adaptively according to the vehicles.
In this embodiment of the application, the preset duration may refer to the longest remaining time of countdown, and when the mobile terminal is started to count down the preset duration, the countdown time is continuously reduced from the preset duration until the countdown time is zero. For example, the preset time period is 25 minutes, the mobile terminal starts counting down from 25 minutes.
In the embodiment of the application, because the time from the departure station to the destination station is generally fixed or relatively stable when the user takes the vehicle, the preset time duration can be set according to the running time duration of the vehicle from the departure station to the destination station, and the preset time duration can be less than or equal to the running time duration. For example, when a user is on a subway to work, the time required from the departure station to the destination station is usually 26 minutes, and the preset time period may be set to 25 minutes or 26 minutes. The preset duration can be set on the setting page of the countdown application program, and the corresponding relationship between the preset time periods and the preset duration is established, because the departure station or the destination station corresponding to different preset time periods may be different, and the vehicles may also be different, so the driving duration of the vehicles may also be different, and the corresponding preset durations may also be different.
And step S104, when the countdown is finished, reminding in a preset mode.
In the embodiment of the present application, the end of the countdown may mean that the remaining time of the countdown is zero. The predetermined mode may be a preset mode for reminding the user to get off, such as a vibration mode, a voice mode, a display mode, and the like, and the display mode may be displaying a reminding message on a screen of the mobile terminal, where the reminding message is used for reminding the user to get off, for example, the reminding message is "coming to a station".
Optionally, when the countdown is finished, the reminding in a predetermined manner includes:
when the countdown is finished, acquiring the screen state of the mobile terminal;
and acquiring the preset mode according to the screen state of the mobile terminal, and reminding in the preset mode.
Optionally, the obtaining the predetermined mode according to the screen state of the mobile terminal, and performing the reminding in the predetermined mode includes:
if the screen state of the mobile terminal is a bright screen state, determining that the preset mode is a display mode, and displaying reminding information on the screen of the mobile terminal;
and if the screen state of the mobile terminal is the screen extinguishing state, determining that the preset mode is a vibration mode and/or a voice mode, and reminding in the vibration mode and/or the voice mode.
The screen state of the mobile terminal comprises a bright screen state and a screen-off state. Different reminding modes can be set for different screen states, corresponding relations between the different screen states and the different reminding modes are established, and when the screen state of the mobile terminal is a bright screen state, the reminding mode corresponding to the bright screen state is a preset mode corresponding to the bright screen state; and when the screen state of the mobile terminal is the screen extinguishing state, the reminding mode corresponding to the screen extinguishing state is a preset mode corresponding to the screen extinguishing state. For example, the reminding mode corresponding to the screen-on state may be displaying reminding information on a screen of the mobile terminal, and the reminding mode corresponding to the screen-off state may be vibration reminding or voice reminding, and the like. Optionally, the user may set the prompting mode corresponding to the screen-on state and the prompting mode corresponding to the screen-off state by himself or herself according to actual needs, which is not limited herein.
According to the embodiment of the application, when the preset time period is reached at every time, whether the vehicle taken by the user is started or not is detected through the acceleration of the mobile terminal, the countdown is started when the vehicle is started, and the user is reminded to get off when the countdown is finished, so that the user can be reminded to get off in time, and the phenomenon of getting off at a station is avoided.
Referring to fig. 2, is a schematic view of an implementation flow of a reminding method provided in the second embodiment of the present application, where the reminding method is applied to a mobile terminal, and as shown in the figure, the reminding method may include the following steps:
step S201, obtaining the current time shown by the mobile terminal.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S202, when the current time is in a preset time period, the acceleration of the mobile terminal is obtained.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S203, if the acceleration of the mobile terminal is within a preset acceleration range, acquiring a duration time of the acceleration of the mobile terminal within the preset acceleration range.
In the embodiment of the application, since the accelerations generated by different vehicles during starting may be different, the accelerations obtained by the mobile terminal of the passenger may also be different, but for the same vehicle, the accelerations are usually stable and do not change much within a period of time, at this time, a preset acceleration range may be set for each vehicle, so as to compare the acceleration actually obtained by the mobile terminal with the preset acceleration range, and determine whether the user has taken the vehicle and whether the vehicle has started. The preset acceleration range may refer to a preset acceleration range.
And step S204, if the duration is within a preset time range, starting the mobile terminal to count down for a preset time length.
In the embodiment of the present application, since the durations of the accelerations generated by different vehicles at the time of starting may also be different, different preset time ranges may be set for different vehicles, so as to further detect whether the user has taken a vehicle and whether the vehicle has started through the preset time ranges. The preset time range may be a preset time range, such as 2 seconds to 4 seconds.
Optionally, the embodiment of the present application further includes:
acquiring a target scene corresponding to the preset time period;
and acquiring the preset acceleration range and the preset time range according to the target scene.
In the embodiment of the application, a corresponding relation between a preset time period and a target scene may be established in advance, the target scene corresponding to the preset time period may be obtained from the corresponding relation, and a vehicle taken by a user may be obtained according to the target scene, so that a preset acceleration range and a preset time range corresponding to the vehicle may be obtained. The target scene may refer to a scene where the user takes a vehicle, and is used for representing the vehicle taken by the user. For example, the user takes a subway, then the target scene refers to a scene taking a subway; the user takes the bus, and the target scene refers to the scene of taking the bus.
Optionally, the embodiment of the present application further includes:
acquiring a scene where the mobile terminal is currently located;
correspondingly, the obtaining the preset acceleration range and the preset time range according to the target scene includes:
and if the current scene of the mobile terminal is the target scene, acquiring the preset acceleration range and the preset time range according to the target scene.
In the embodiment of the application, in order to accurately acquire the preset acceleration range and the preset time range for judging whether the vehicle is started, the current scene of the mobile terminal can be acquired first, whether the current scene of the mobile terminal is a target scene corresponding to the preset time period of the current time is judged, and when the current scene of the mobile terminal is the target scene, the preset acceleration range and the preset time range corresponding to the target scene are acquired; and when the current scene of the mobile terminal is not the target scene, reminding the user that the preset target scene is not consistent with the current scene of the mobile terminal. The scene where the mobile terminal is located currently can be obtained by obtaining the current position of the mobile terminal or obtaining the image of the environment where the mobile terminal is located currently. For example, if the current position is a bus stop or the image of the current environment includes a bus stop board, it is determined that the current scene of the mobile terminal is a scene of taking a bus.
And step S205, when the countdown is finished, reminding is carried out in a preset mode.
The step is the same as step S104, and reference may be made to the related description of step S104, which is not repeated herein.
The embodiment of the application detects the acceleration of the mobile terminal through the preset acceleration range and the preset time range, can accurately detect whether a vehicle taken by a user starts or not, starts countdown when the vehicle starts, and reminds the user to get off when the countdown is finished, so that the user can be reminded to get off in time, and the situation of getting off at a station is avoided.
Referring to fig. 3, is a schematic view of an implementation flow of a reminding method provided in the third embodiment of the present application, where the reminding method is applied to a mobile terminal, and as shown in the figure, the reminding method may include the following steps:
step S301, the current time shown by the mobile terminal is obtained.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S302, when the current time is in a preset time period, the current position of the mobile terminal is obtained.
The current location of the mobile terminal may refer to a location where the mobile terminal is located at the current time. The current position of the mobile terminal may be obtained through a Global Positioning System (GPS) of the mobile terminal, or may be obtained through a base station Positioning technology.
Step S303, if the current position of the mobile terminal is the target position, acquiring the acceleration of the mobile terminal.
The target position may refer to a departure station of the user, that is, a station where the user starts to ride the vehicle. For example, Shenzhen subway line 1, the user rides the subway from a big theater to the honey lake, and then the big theater is the target position.
In the embodiment of the application, in order to avoid starting the acceleration of the mobile terminal when the user does not arrive at the departure station and increase the power consumption of the mobile terminal, when the current time is within the preset time period, the current position of the mobile terminal may be obtained first, and when the mobile terminal is located at the departure station, the accelerometer in the mobile terminal is started, and the acceleration of the mobile terminal is obtained through the accelerometer.
The target position can be set on a setting page of the countdown application program, and the corresponding relation between the preset time period and the target position is established, because the corresponding departure stations may be different in different preset time periods.
Step S304, if the acceleration of the mobile terminal is within a preset acceleration range, acquiring the duration time of the acceleration of the mobile terminal within the preset acceleration range.
The step is the same as step S203, and reference may be specifically made to the related description of step S203, which is not repeated herein.
Step S305, if the duration is within a preset time range, starting the mobile terminal to count down for a preset duration.
The step is the same as step S204, and reference may be made to the related description of step S204, which is not repeated herein.
And step S306, reminding in a preset mode when the countdown is finished.
The step is the same as step S104, and reference may be made to the related description of step S104, which is not repeated herein.
According to the embodiment of the application, the current position of the mobile terminal is acquired firstly when the current time is within the preset time period, and the acceleration of the mobile terminal is acquired when the current position of the mobile terminal is taken as a starting station, so that the power consumption of the mobile terminal can be reduced.
Referring to fig. 4, which is a schematic diagram of a reminder provided in the fourth embodiment of the present application, for convenience of description, only the portion related to the embodiment of the present application is shown.
The reminding comprises the following steps:
a current time obtaining module 41, configured to obtain a current time shown by the mobile terminal;
an acceleration obtaining module 42, configured to obtain an acceleration of the mobile terminal when the current time is within a preset time period;
a countdown starting module 43, configured to start the mobile terminal to count down for a preset duration if the acceleration of the mobile terminal meets a preset condition;
and the information reminding module 44 is used for reminding in a preset mode when the countdown is finished.
Optionally, the countdown starting module 43 includes:
the duration time acquiring unit is used for acquiring the duration time of the acceleration of the mobile terminal in a preset acceleration range if the acceleration of the mobile terminal is in the preset acceleration range;
and the starting unit is used for starting the mobile terminal to count down the preset duration if the duration is within the preset time range.
Optionally, the reminding device further includes:
the target scene acquisition module is used for acquiring a target scene corresponding to the preset time period;
and the parameter acquisition module is used for acquiring the preset acceleration range and the preset time range according to the target scene.
Optionally, the acceleration obtaining module 42 includes:
a current position obtaining unit, configured to obtain a current position of the mobile terminal when the current time reaches the preset time period;
and the acceleration acquisition unit is used for acquiring the acceleration of the mobile terminal if the current position of the mobile terminal is the target position.
Optionally, the information reminding module 44 includes:
the state acquisition unit is used for acquiring the screen state of the mobile terminal when the countdown is finished;
and the mode acquisition unit is used for acquiring the preset mode according to the screen state of the mobile terminal and reminding in the preset mode.
Optionally, the mode acquiring unit is specifically configured to:
if the screen state of the mobile terminal is a bright screen state, determining that the preset mode is a display mode, and displaying reminding information on the screen of the mobile terminal;
and if the screen state of the mobile terminal is the screen extinguishing state, determining that the preset mode is a vibration mode and/or a voice mode, and reminding in the vibration mode and/or the voice mode.
The reminding device provided in the embodiment of the present application can be applied to the first, second, and third embodiments of the foregoing methods, and for details, refer to the description of the first, second, and third embodiments of the foregoing methods, and are not described herein again.
Fig. 5 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one shown), and a memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing instructions and the processor 501 is used for executing the instructions stored by the memory 504. Wherein:
the processor 501 is configured to obtain a current time shown by the mobile terminal; when the current time is in a preset time period, acquiring the acceleration of the mobile terminal; if the acceleration of the mobile terminal meets a preset condition, starting the mobile terminal to count down for a preset duration; and when the countdown is finished, reminding in a preset mode.
Optionally, the processor 501 is specifically configured to:
if the acceleration of the mobile terminal is within a preset acceleration range, acquiring the duration time of the acceleration of the mobile terminal within the preset acceleration range;
and if the duration is within a preset time range, starting the mobile terminal to count down the preset time length.
Optionally, the processor 501 is further configured to:
acquiring a target scene corresponding to the preset time period;
and acquiring the preset acceleration range and the preset time range according to the target scene.
Optionally, the processor 501 is specifically configured to:
when the current time reaches the preset time period, acquiring the current position of the mobile terminal;
and if the current position of the mobile terminal is the target position, acquiring the acceleration of the mobile terminal.
Optionally, the processor 501 is specifically configured to:
when the countdown is finished, acquiring the screen state of the mobile terminal;
and acquiring the preset mode according to the screen state of the mobile terminal, and reminding in the preset mode.
Optionally, the processor 501 is specifically configured to:
if the screen state of the mobile terminal is a bright screen state, determining that the preset mode is a display mode, and displaying reminding information on the screen of the mobile terminal;
and if the screen state of the mobile terminal is the screen extinguishing state, determining that the preset mode is a vibration mode and/or a voice mode, and reminding in the vibration mode and/or the voice mode.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 503 may include a display (LCD, etc.), a speaker, a data transmission interface, and the like.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 504 described in this embodiment of the present application may execute the implementation described in the embodiment of the reminding method provided in this embodiment of the present application, and may also execute the implementation described in the reminding apparatus described in the fourth embodiment of the present application, which is not described herein again.
Fig. 6 is a schematic diagram of a mobile terminal according to a sixth embodiment of the present application. As shown in fig. 6, the mobile terminal 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60 implements the steps of the above-described embodiments of the reminder method when executing the computer program 62. Alternatively, the processor 60 implements the functions of the modules/units in the above-described apparatus embodiments when executing the computer program 62.
The mobile terminal 6 may be a mobile phone, a notebook, a palm computer, or the like. The mobile terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 6 and is not intended to limit the mobile terminal 6 and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 6, such as a hard disk or a memory of the mobile terminal 6. The memory 61 may also be an external storage device of the mobile terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the mobile terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 6. The memory 61 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A reminding method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring the current time shown by the mobile terminal;
acquiring a target scene corresponding to a preset time period;
acquiring a preset acceleration range and a preset time range according to the target scene; the target scene is a scene that the user takes the vehicle and is used for representing the vehicle taken by the user;
when the current time is in a preset time period, acquiring the acceleration of the mobile terminal;
if the acceleration of the mobile terminal is within the preset acceleration range, acquiring the duration time of the acceleration of the mobile terminal within the preset acceleration range; if the duration is within the preset time range, starting the mobile terminal to count down for a preset time length;
and when the countdown is finished, reminding in a preset mode.
2. The warning method as claimed in claim 1, wherein the preset time period is set according to a travel time period of the vehicle from the departure station to the destination station, and the preset time period is equal to the travel time period.
3. The reminding method according to claim 1, wherein the obtaining the acceleration of the mobile terminal when the current time is within a preset time period comprises:
when the current time reaches the preset time period, acquiring the current position of the mobile terminal;
and if the current position of the mobile terminal is the target position, acquiring the acceleration of the mobile terminal.
4. A method as claimed in any one of claims 1 to 3, wherein alerting in a predetermined manner at the end of the countdown comprises:
when the countdown is finished, acquiring the screen state of the mobile terminal;
and acquiring the preset mode according to the screen state of the mobile terminal, and reminding in the preset mode.
5. The reminding method according to claim 4, wherein the obtaining the predetermined mode according to the screen state of the mobile terminal and reminding in the predetermined mode comprises:
if the screen state of the mobile terminal is a bright screen state, determining that the preset mode is a display mode, and displaying reminding information on the screen of the mobile terminal;
and if the screen state of the mobile terminal is the screen extinguishing state, determining that the preset mode is a vibration mode and/or a voice mode, and reminding in the vibration mode and/or the voice mode.
6. A reminder device, the reminder device comprising:
the current time acquisition module is used for acquiring the current time shown by the mobile terminal;
the target scene acquisition module is used for acquiring a target scene corresponding to a preset time period;
the parameter acquisition module is used for acquiring a preset acceleration range and a preset time range according to the target scene; the target scene is a scene that the user takes the vehicle and is used for representing the vehicle taken by the user;
the acceleration acquisition module is used for acquiring the acceleration of the mobile terminal when the current time is in a preset time period;
the countdown starting module is used for starting the mobile terminal to count down for a preset time length if the acceleration of the mobile terminal meets a preset condition; the countdown starting module comprises: a duration time obtaining unit, configured to obtain, if the acceleration of the mobile terminal is within the preset acceleration range, a duration time of the acceleration of the mobile terminal within the preset acceleration range; the starting unit is used for starting the mobile terminal to count down the preset duration if the duration is within the preset time range;
and the information reminding module is used for reminding in a preset mode when the countdown is finished.
7. The warning device as claimed in claim 6, wherein the warning device is further configured to set the preset duration according to a driving duration of the vehicle from the departure station to the destination station, the preset duration being equal to the driving duration.
8. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the alerting method according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the reminder method according to any one of claims 1 to 5.
CN201910912503.9A 2019-09-25 2019-09-25 Reminding method, reminding device, mobile terminal and computer readable storage medium Active CN110650245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910912503.9A CN110650245B (en) 2019-09-25 2019-09-25 Reminding method, reminding device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910912503.9A CN110650245B (en) 2019-09-25 2019-09-25 Reminding method, reminding device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110650245A CN110650245A (en) 2020-01-03
CN110650245B true CN110650245B (en) 2021-08-06

Family

ID=68992148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910912503.9A Active CN110650245B (en) 2019-09-25 2019-09-25 Reminding method, reminding device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110650245B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209520B (en) * 2022-06-27 2023-09-08 珠海格力电器股份有限公司 BLE-based timing control method, BLE-based timing control device, terminal and storage medium
CN115320671A (en) * 2022-08-10 2022-11-11 闻泰通讯股份有限公司 Arrival reminding method, system, device, medium, and program for rail transit

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9201409B2 (en) * 2006-03-20 2015-12-01 General Electric Company Fuel management system and method
KR101154942B1 (en) * 2010-11-19 2012-06-13 주식회사 엘지유플러스 System and method for providing destination arrival notification
CN201860369U (en) * 2010-11-24 2011-06-08 康佳集团股份有限公司 Mobile phone realizing subway station arriving prompt
CN103079013A (en) * 2013-01-17 2013-05-01 广东欧珀移动通信有限公司 Application operation method and device of mobile terminal and mobile terminal
US9445230B1 (en) * 2014-03-27 2016-09-13 Pinger, Inc. Automated arrival notifications
CN104637335B (en) * 2014-12-15 2017-02-22 广东梅雁吉祥水电股份有限公司 Reminding method
CN104618855A (en) * 2014-12-19 2015-05-13 惠州Tcl移动通信有限公司 Mobile terminal with arrival reminding function and arrival reminding method of mobile terminal
CN105261227B (en) * 2015-08-28 2017-05-03 小米科技有限责任公司 Arrival prompting method and device
CN105160880B (en) * 2015-09-24 2017-08-25 滴滴(中国)科技有限公司 A kind of predictor method and device of vehicle passenger carrying status
CN105243441B (en) * 2015-09-29 2022-10-25 联想(北京)有限公司 Processing method and device, control method and device and electronic equipment
CN107295182A (en) * 2017-06-30 2017-10-24 广东欧珀移动通信有限公司 Subway arrival reminding method, device, storage medium and terminal
CN108337359B (en) * 2017-12-06 2020-12-15 深圳依偎控股有限公司 Setting method of scene alarm clock, mobile terminal and readable storage medium
CN108151756B (en) * 2017-12-21 2021-06-29 深圳市综合交通运行指挥中心 Travel time calculation method and device of urban public transport system
CN108609031A (en) * 2018-03-16 2018-10-02 深圳市赛亿科技开发有限公司 The implementation method and device of train arrival reminding
CN109282829A (en) * 2018-10-29 2019-01-29 翁文灏 A kind of method and terminal device that destination is reminded or alerted
CN109436032A (en) * 2018-11-02 2019-03-08 湖南理工学院 A kind of high-speed rail passenger getting off car alarm set

Also Published As

Publication number Publication date
CN110650245A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN108521521B (en) Volume adjusting method, mobile terminal and computer readable storage medium
KR102028702B1 (en) Apparatas and method for transmitting a response message of the present sate of things in an electronic device
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN110958284A (en) Anti-forgetting prompting method, system, electronic terminal, storage medium and vehicle
US10278071B2 (en) Mobile device-based community corrections supervision system
CN110650245B (en) Reminding method, reminding device, mobile terminal and computer readable storage medium
CN113094135B (en) Page display control method, device, equipment and storage medium
JP6910300B2 (en) A method for displaying chat history records and a device for displaying chat history records
CN103064582A (en) Method and device for warning mobile terminal events
KR101872947B1 (en) Product availability notifications
WO2021203835A1 (en) Public transport station arrival reminding method and apparatus, storage medium, and mobile terminal
CN106296107A (en) Location-based memorandum based reminding method, system and electronic installation
CN111429902B (en) Method and apparatus for waking up a device
CN108093138A (en) A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
CN107786714A (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
CN105898050A (en) Event reminder management method and event reminder management device
CN107872573B (en) Alarm clock setting method and terminal
CN108632461B (en) Alarm clock reminding method, device, terminal and computer readable storage medium
CN107479848A (en) Method for playing music and terminal device
CN109359453B (en) Unlocking method and related product
CN104599218B (en) Method and device for determining order reception range
CN107770385B (en) Message reminding method and device, computer device and computer readable storage medium
CN107040659B (en) Intelligent shutdown interface display method and terminal

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