CN105991814B - Method and device for realizing reminding in mobile terminal - Google Patents

Method and device for realizing reminding in mobile terminal Download PDF

Info

Publication number
CN105991814B
CN105991814B CN201510045141.XA CN201510045141A CN105991814B CN 105991814 B CN105991814 B CN 105991814B CN 201510045141 A CN201510045141 A CN 201510045141A CN 105991814 B CN105991814 B CN 105991814B
Authority
CN
China
Prior art keywords
information
reminding
database
position information
application program
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
CN201510045141.XA
Other languages
Chinese (zh)
Other versions
CN105991814A (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510045141.XA priority Critical patent/CN105991814B/en
Publication of CN105991814A publication Critical patent/CN105991814A/en
Application granted granted Critical
Publication of CN105991814B publication Critical patent/CN105991814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for realizing reminding in a mobile terminal, which comprises the steps of periodically acquiring the position information of the mobile terminal; when judging that a first database for storing the first reminding information needs to be maintained according to the acquired position information, updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information; when the reminding is needed, searching first reminding information corresponding to the position information collected at last in the first database, and prompting the searched first reminding information. By the technical scheme provided by the invention, the automatic maintenance of the reminding information is realized, and the complexity of the use reminding function in the mobile terminal is reduced, so that the user experience of the mobile terminal is improved.

Description

Method and device for realizing reminding in mobile terminal
Technical Field
The present invention relates to mobile terminal technologies, and in particular, to a method and an apparatus for implementing a reminder in a mobile terminal.
Background
With the rapid development of mobile terminal intellectualization, people pay more and more attention to the convenience of providing services by mobile terminals. In the existing mobile terminal, convenience can be improved in various ways. For example, when it is determined that the mobile terminal stays at a certain position, preset reminding information corresponding to the determined position information of the mobile terminal is found and reminded. For example, assuming that the reminding information includes an application identifier, the application identifier corresponding to the position information of the parking lot is preset, such as a navigation application identifier, and when it is determined that the user stays in the parking lot, the navigation application identifier corresponding to the position information of the parking lot is found and whether the navigation application represented by the navigation application identifier is prompted to be opened is prompted, so that when the user enters the parking lot and prepares to drive a vehicle, the user can directly open the navigation application for destination navigation according to the prompt without finding the navigation application in the mobile terminal and then opening the navigation application. It can be seen that the method for realizing the reminding improves the convenience of the mobile terminal for providing the service.
The reminding information used by the existing reminding method needs to be preset by a user of the mobile terminal according to habits, and the complexity of using the reminding function in the mobile terminal is improved due to the setting, so that the user experience of the mobile terminal is influenced.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method and a device for realizing reminding in a mobile terminal, which can reduce the complexity of the use reminding function in the mobile terminal by automatically maintaining the reminding information, thereby improving the user experience of the mobile terminal.
In order to achieve the purpose of the invention, the invention discloses a method for realizing reminding in a mobile terminal, which comprises the following steps: periodically collecting the position information of the mobile terminal; the method further comprises the following steps:
when judging that a first database for storing the first reminding information needs to be maintained according to the acquired position information, updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information;
when the reminding is needed, searching first reminding information corresponding to the position information collected at last in the first database, and prompting the searched first reminding information.
Wherein the location information in the first database comprises one or more; the first reminding information corresponding to the position information in the first database comprises one or more than one.
In the first embodiment of the present invention:
the first reminding information is an application program identifier.
The first database which is judged to be maintained and used for storing the first reminding information is as follows:
judging that the application program is started and the first database does not contain the position information collected last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier;
the updating is as follows: and adding the corresponding relation between the finally acquired position information and the judged application program identifier in the first database.
The required reminding is as follows: and judging that the stay time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset stay time threshold.
Further, when the reminding is needed, the method of the present invention further comprises: and searching second reminding information corresponding to the last detected position information in a preset second database in the communication network, and prompting the searched second reminding information.
And the second reminding information is hotspot information of an area represented by the last detected position information.
Further, the first database further comprises a corresponding relation between the position information and the second reminding information; the step of judging that the first database which is used for storing the first reminding information and needs to be maintained further comprises the following steps: the second reminding information searched is prompted;
the updating further comprises: adding the corresponding relation between the last acquired position information and the second prompting information to the first database;
and when the second database is searched for unsuccessfully, searching for second reminding information corresponding to the finally acquired position information in the first database, and prompting the searched second reminding information.
In a second embodiment of the invention:
the first reminding information comprises a one-to-one correspondence relation between application program identification and reminding quantity; the first reminding information searched by the prompt is as follows:
prompting the application program represented by the application program identifier in each piece of searched first reminding information according to the sequence of the number of the searched reminders in each piece of first reminding information from large to small;
the first database which is judged to be maintained and used for storing the first reminding information is as follows:
judging that the application program is started and the first database does not contain the position information collected last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier; the updating is as follows:
adding the corresponding relation between the last acquired position information and first reminding information consisting of the judged application program identification and the reminding number with the value of 0 in the first database;
the step of judging that the first database for storing the first reminding information needs to be maintained is further as follows: the application program being presented is started; the update is also:
increasing the number of the reminders in the searched first reminding information once;
the required reminding is as follows: and judging that the stay time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset stay time threshold.
In a third embodiment of the invention:
the first reminding information comprises a one-to-one correspondence relation between application program identification and action types; wherein the action type is entering, staying or leaving.
When the position information is collected, the method of the invention further comprises the following steps:
determining whether the action type is leaving according to the collected position information;
if the action type is determined not to be left, calculating the staying time of the mobile terminal in the area represented by the finally acquired position information;
if the staying time is larger than or equal to a preset entering time threshold, determining that the action type is entering; and if the stay time is greater than or equal to a preset stay time threshold, determining that the action type is stay.
The first database which is judged to be maintained and used for storing the first reminding information is as follows:
judging that the application program is started and the first database does not contain the position information collected last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier;
the updating is as follows: adding the corresponding relation between the last acquired position information and first reminding information consisting of the judged application program identification and the determined action type in the first database;
the required reminding is as follows: determining the action type;
after the prompting is needed and before the first prompting information searched by the prompting, the method of the invention further comprises the following steps: determining that the corresponding relation of the found first reminding information comprises the corresponding relation of the determined action type;
the first reminding information searched by the prompt is as follows: and prompting the application program represented by the application program identifier in the determined corresponding relation.
The invention also discloses a device for realizing reminding in the mobile terminal, which comprises an acquisition unit, a reminding unit and a reminding unit, wherein the acquisition unit is used for periodically acquiring the position information of the mobile terminal; the device also comprises an updating unit and a prompting unit,
wherein, the updating unit comprises a maintenance judging module and an updating module, wherein,
the maintenance judging module is used for sending a first updating instruction when judging that a first database for storing first reminding information needs to be maintained according to the acquired position information;
the updating module is used for updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information when receiving the first updating indication;
wherein, the prompting unit comprises a prompting judging module, a searching module and a prompting module, wherein,
the reminding judgment module is used for sending a searching instruction when reminding is needed;
the searching module is used for searching and sending first reminding information corresponding to the position information which is collected from the collecting unit at last in the first database when receiving the searching instruction;
and the reminding module is used for reminding the first reminding information from the searching module.
Wherein the location information in the first database comprises one or more; the first reminding information corresponding to the position information in the first database comprises one or more than one.
In a first embodiment of the invention:
the first reminding information is an application program identifier; the update judgment module is specifically configured to:
judging that the application program is started and the first database does not contain the position information collected last; or when the application program is judged to be started and each application program identifier corresponding to the last acquired position information of the first database does not contain the judged application program identifier, sending the first updating indication;
the update module is specifically configured to: and when the first updating instruction is received, adding the corresponding relation between the last acquired position information and the judged application program identifier in the first database.
The reminding judgment module is specifically used for: and sending the search instruction when judging that the staying time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset staying time threshold value.
Further, the lookup module is further configured to: when the searching instruction is received, searching for second reminding information corresponding to the last detected position information in a preset second database in a communication network and sending the second reminding information;
the reminding module is also used for: and prompting the second reminding information from the searching module.
And the second reminding information is hotspot information of an area represented by the last detected position information.
Further, the first database further comprises a corresponding relation between the position information and the second reminding information; the maintenance judgment module is further specifically configured to: when the found second reminding information is prompted, a second updating indication is sent;
the update module is further specifically configured to: when the second updating instruction is received, adding the corresponding relation between the position information acquired last and the second reminding information presented in the first database;
the lookup module is further configured to: and when the second database is searched for unsuccessfully, searching for second reminding information corresponding to the finally acquired position information in the first database, and prompting the searched second reminding information.
In a second embodiment of the invention:
the first reminding information comprises a one-to-one correspondence relation between application program identification and reminding quantity; the prompt module is specifically configured to:
prompting the application program represented by the application program identifier in each first reminding message from the searching module according to the sequence of the reminding number in each first reminding message from the searching module from large to small;
the maintenance judgment module is specifically configured to: judging that the application program is started and the first database does not contain the position information collected last; or when the application program is judged to be started and each application program identifier corresponding to the last acquired position information of the first database does not contain the judged application program identifier, sending a first updating instruction; the update module is specifically configured to:
when the first updating instruction is received, adding the corresponding relation between the last acquired position information and first reminding information consisting of the judged application program identification and the reminding quantity with the numerical value of 0 in the first database;
the maintenance judgment module is further specifically configured to: when the presented application program is started, sending a second updating indication; the update module is further specifically configured to:
when the second updating indication is received, increasing the number of the found reminders in the first reminding information once;
the reminding judgment module is specifically used for: and sending the search instruction when judging that the staying time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset staying time threshold value.
In a third embodiment of the invention:
the first reminding information comprises a one-to-one correspondence relation between application program identification and action types; wherein the action type is entering, staying or leaving.
The acquisition unit is further configured to:
when the position information is collected, determining whether the action type is leaving according to the collected position information;
if the action type is determined not to be left, calculating the staying time of the mobile terminal in the area represented by the finally acquired position information;
if the staying time is larger than or equal to a preset entering time threshold, determining that the action type is entering; and if the stay time is greater than or equal to a preset stay time threshold, determining that the action type is stay.
The maintenance judgment module is specifically configured to:
judging that the application program is started and the first database does not contain the position information collected last; or when the application program is judged to be started and each application program identifier corresponding to the last acquired position information of the first database does not contain the judged application program identifier, sending a first updating instruction; the update module is specifically configured to:
when the first updating instruction is received, adding the corresponding relation between the last acquired position information and first reminding information consisting of the judged application program identifier and the determined action type in the first database;
the reminding judgment module is specifically used for: when the acquisition unit determines the action type, sending a search instruction;
the search module is specifically configured to: the device comprises a searching unit, a judging unit and a judging unit, wherein the searching unit is used for searching first reminding information corresponding to last collected position information from a collecting unit in a first database when a searching instruction is received, determining the corresponding relation of the searched first reminding information, which contains the determined action type, and sending the corresponding relation;
the prompt module is specifically configured to: and prompting the application program in the corresponding relation from the searching module to identify the represented application program.
Compared with the prior art, the technical scheme of the invention comprises the following steps: periodically collecting the position information of the mobile terminal; when judging that a first database for storing the first reminding information needs to be maintained according to the acquired position information, updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information; when the reminding is needed, searching first reminding information corresponding to the position information collected at last in the first database, and prompting the searched first reminding information. By the technical scheme of the invention, the automatic maintenance of the reminding information is realized, and the complexity of the use reminding function in the mobile terminal is reduced, so that the user experience of the mobile terminal is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flow chart of a method for implementing a reminder in a mobile terminal according to the present invention;
FIG. 2 is a flowchart illustrating the determination of the action type in an embodiment of a method for implementing a reminder by a mobile terminal according to the present invention;
fig. 3 is a schematic diagram of a structure of a device for implementing reminding in the mobile terminal according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for implementing a reminder in a mobile terminal according to the present invention, as shown in fig. 1, including:
step 101: and periodically acquiring the position information of the mobile terminal. The detailed implementation of the method is well within the skill of those in the art, and is not intended to limit the scope of the present invention, which is not described herein. It is emphasized here that, at the end of step 101, it is determined by judgment whether or not to execute the processing in steps 102 and 103.
Step 102: and updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information when judging that the first database for storing the first reminding information needs to be maintained according to the collected position information.
It should be noted that, when it is not determined that the first database needs to be maintained, the process is ended.
In the first embodiment of the present invention, the location information in the first database includes one or more; the first reminding information corresponding to the position information in the first database comprises one or more than one, that is, the position information and the first reminding information are in one-to-many correspondence.
In a first embodiment, the first reminder information is an application identifier, such as a navigation application identifier. At this time, it is determined in step 102 that the first database for storing the first reminding information needs to be maintained as follows:
judging that the application program is started and the first database does not contain the position information acquired last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier. Accordingly, step 102 updates to:
and adding the corresponding relation between the finally acquired position information and the judged application program identifier in the first database.
The last acquired position information is the position information acquired last time (i.e. acquired last time).
Step 103: when the reminding is needed, searching first reminding information corresponding to the position information collected at last in the first database, and prompting the searched first reminding information.
It should be noted that when the reminder is not needed, the process is ended.
In the first embodiment, the step 103 needs to be reminded as follows: and judging that the stay time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset stay time threshold. Wherein the dwell time threshold is modifiable by setting.
Further, the air conditioner is provided with a fan,
in the first embodiment, when a reminder is needed, the method of the present invention further includes: and searching second reminding information corresponding to the last detected position information in a preset second database in the communication network, and prompting the searched second reminding information.
And the second reminding information is hotspot information of an area represented by the last detected position information. For example, the hotspot information may be discount information of a mall near the area, and/or bus arrival time information of a bus station near the area.
Wherein the second database may be disposed in a cloud computing and/or big data server, such as a Location Based Service (LBS) server.
Therefore, on one hand, the second reminding information obtained by searching the second database is prompted, so that the range of the reminding information is effectively expanded, the comprehensiveness of the reminding information is improved, and the user experience of the mobile terminal is improved; on the other hand, when the prompt information cannot be searched in the first database, the prompt information can be searched in the second database, and the second database is a database in a server based on cloud computing or big data technology, so that the probability of successfully searching the prompt information in the second database is very high, the success rate of searching the prompt information is effectively improved, and the stability of the technical scheme is improved.
Further, the air conditioner is provided with a fan,
in the first embodiment, the first database further includes a correspondence between the location information and the second reminder information. At this time, the step 102 of determining that the first database for storing the first reminding information needs to be maintained further includes: and prompting the searched second reminding information. Accordingly, the updating in step 102 further comprises:
and adding the corresponding relation between the finally acquired position information and the suggested second reminding information in the first database. Correspondingly, when the second database is failed to be searched, for example, when the second database is failed to be searched due to a communication network failure, the method of the present invention further comprises:
and searching second reminding information corresponding to the finally acquired position information in the first database, and prompting the searched second reminding information. Therefore, when the second database cannot be searched due to communication interruption, the first database stores the second reminding information obtained by searching the second database before, so that the first reminding information and the second reminding information can be obtained and prompted by searching the first database, and comprehensiveness of the reminding information is guaranteed.
Further, the air conditioner is provided with a fan,
in the second embodiment of the present invention, the first reminding information in step 102 includes a one-to-one correspondence between the application program identifier and the number of reminders. At this time, the first reminding information found in step 103 is:
and prompting the application program represented by the application program identifier in each piece of searched first reminding information according to the sequence of the number of the searched reminders in each piece of first reminding information from large to small. The specific implementation can be as follows: and displaying the application represented by the application identifier in each found first reminding information on the display screen from top to bottom according to the sequence of the number of the reminders in each found first reminding information from large to small.
Therefore, the reminding information with larger priority reminding quantity, namely the reminding information with the most interest is realized, and the convenience and the individuation of reminding are improved.
In the second embodiment, the step 102 of determining that the first database for storing the first reminding information needs to be maintained is: judging that the application program is started and the first database does not contain the position information acquired last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier. Accordingly, step 102 updates to:
and adding the corresponding relation between the finally acquired position information and first reminding information consisting of the judged application program identification and the reminding quantity with the numerical value of 0 in the first database.
In the second embodiment, the step 102 of determining that the first database for storing the first reminding information needs to be maintained further includes: the application program indicated is started. Accordingly, step 102 updates to: and increasing the number of the found reminders in the first reminding information once. Accordingly, the number of the first and second electrodes,
the step 103 needs to be reminded as follows: and judging that the stay time of the mobile terminal in the area represented by the finally detected position information is greater than or equal to a preset stay time threshold. Wherein the dwell time threshold is modifiable by setting.
It should be noted that the technical solution in the second embodiment is also applicable to the case that the first database includes the one-to-one correspondence between the second reminding information and the number of reminders, and the technical solution in this case also belongs to the protection scope of the present invention. A person skilled in the art can implement the technical solution in this case by referring to the technical solution in the second embodiment, and details are not described here.
Further, the air conditioner is provided with a fan,
in the third embodiment of the present invention, the first reminding information in step 102 includes a one-to-one correspondence between the application program identifier and the action type. Wherein the action type is entering, staying or leaving.
In a third embodiment, as shown in fig. 2, when the position information is collected, the method of the present invention further includes:
step 201: and determining whether the action type is leaving according to the collected position information. When it is assumed that the position coordinates and the acquisition time of the position information acquired last time (i.e., the last acquisition) are l1 and t1, respectively, and the position coordinates and the acquisition time of the position information acquired last time (i.e., the last acquisition) are l0 and t0, respectively, a specific implementation of this step includes:
when the position information is acquired, calculating the coordinate distance between the position coordinate l0 acquired last and the position coordinate l1 acquired last time; if the calculated coordinate distance is smaller than or equal to a preset distance threshold, determining that the action type is not leaving, namely entering or staying; and if the calculated coordinate distance is larger than a preset distance threshold value, determining the action type as leaving.
Step 202: and if the action type is determined not to be the leaving, calculating the stay time of the mobile terminal in the area represented by the position information collected last. The concrete realization of this step includes:
when the action type is determined not to be away, setting the position coordinate l and the acquisition time t of the position information to be compared as l1 and t1 respectively; when the position information is acquired, subtracting the acquisition time t of the position information to be compared from the acquisition time t0 acquired last, wherein the obtained difference is the residence time.
Step 203: if the retention time is larger than or equal to a preset entry time threshold, determining that the action type is entry; and if the stay time is greater than or equal to a preset stay time threshold, determining that the action type is stay.
Wherein the entry time threshold is less than the dwell time threshold.
In a third embodiment, the distance threshold, the entry time threshold, and the dwell time threshold are individually modifiable by setting.
In the third embodiment, the step 102 of determining that the first database for storing the first reminding information needs to be maintained is:
judging that the application program is started and the first database does not contain the position information acquired last; or judging that the application program is started, wherein each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier. Accordingly, step 102 updates to:
and adding the corresponding relation between the finally acquired position information and first reminding information consisting of the judged application program identifier and the determined action type in a first database. Accordingly, in step 103, the reminder is to: the type of action is determined. Correspondingly, after the step 103 needs to be reminded, and before the step 103 prompts the found first reminding information, the method of the present invention further comprises:
and determining that the corresponding relation of the searched first reminding information contains the corresponding relation of the determined action type. At this time, the first reminding information found in step 103 is: and prompting the application program represented by the application program identifier in the determined corresponding relation.
According to the third embodiment, when entering the parking lot, whether to open the application capable of displaying the information of the vacant parking space is prompted, and when staying in the parking lot, whether to open the navigation application is prompted. It is easy to see that, the third embodiment realizes that the reminding information is searched according to the finally acquired position information and the determined action type, thereby improving the accuracy of the reminding information.
It should be noted that the technical solution in the third embodiment is also applicable to the case that the first database includes a one-to-one correspondence relationship between the first reminding information and the reminding number, and/or the first database includes a one-to-one correspondence relationship between the second reminding information and the reminding number, and the technical solutions in these cases also belong to the protection scope of the present invention. Those skilled in the art can implement the technical solution under these circumstances with reference to the technical solution in the third embodiment, and details are not described here.
Fig. 3 is a schematic diagram of a configuration of a device for implementing reminding in a mobile terminal according to the present invention, and the device of the present invention is disposed in the mobile terminal. As shown in fig. 3, the apparatus of the present invention includes an acquisition unit for periodically acquiring location information of the mobile terminal; the device of the invention also comprises an updating unit and a prompting unit,
wherein, the updating unit comprises a maintenance judging module and an updating module, wherein,
the maintenance judging module is used for sending a first updating instruction when judging that a first database for storing first reminding information needs to be maintained according to the acquired position information;
the updating module is used for updating the corresponding relation between the position information in the first database in the mobile terminal and the first reminding information when receiving the first updating indication;
wherein, the prompting unit comprises a prompting judging module, a searching module and a prompting module, wherein,
the reminding judgment module is used for sending a searching instruction when reminding is needed;
the searching module is used for searching and sending first reminding information corresponding to the position information which is collected from the collecting unit at last in the first database when receiving the searching instruction;
and the reminding module is used for reminding the first reminding information from the searching module.
In the first embodiment of the present invention, the location information in the first database includes one or more; the first reminding information corresponding to the position information in the first database comprises one or more than one.
In a first embodiment, the first reminder information is an application identification. At this time, the update judgment module is specifically configured to:
judging that the application program is started and the first database does not contain the position information acquired last; or when the application program is judged to be started and each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier, sending a first updating instruction. Correspondingly, the update module is specifically configured to:
and when a first updating instruction is received, adding the corresponding relation between the position information acquired last and the judged application program identifier in the first database.
In a first embodiment, the prompt determining module is specifically configured to: and sending a search instruction when the staying time of the mobile terminal in the area represented by the finally detected position information is judged to be larger than or equal to a preset staying time threshold value.
Further, the air conditioner is provided with a fan,
in a first embodiment, the lookup module is further configured to:
when the second database is searched for failure, second reminding information corresponding to the last detected position information in a preset second database in the communication network is searched for and sent; correspondingly, the reminding module is also used for:
and prompting the second reminding information from the searching module.
And the second reminding information is hotspot information of an area represented by the last detected position information.
Further, the air conditioner is provided with a fan,
in the first embodiment, the first database further includes a corresponding relationship between the location information and the second reminder information; at this time, the maintenance judgment module is further specifically configured to:
when a second updating instruction is received and the found second reminding information is prompted, sending a second updating instruction; correspondingly, the update module is further specifically configured to:
adding the corresponding relation between the position information collected last and the second prompting information shown in the first database; at this time, the search module is further configured to:
and when a searching instruction is received, searching for second reminding information corresponding to the position information acquired last in the first database, and prompting the searched second reminding information.
Further, the air conditioner is provided with a fan,
in a second embodiment of the present invention, the first reminding information includes a one-to-one correspondence between the application program identifier and the number of reminders; at this time, the prompt module is specifically configured to:
and prompting the application program represented by the application program identifier in each first reminding message from the searching module according to the sequence of the reminding number in each first reminding message from the searching module from large to small.
In a second embodiment, the maintenance determining module is specifically configured to:
judging that the application program is started and the first database does not contain the position information acquired last; or when the application program is judged to be started and each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier, sending a first updating instruction; correspondingly, the update module is specifically configured to:
when a first updating instruction is received, adding the corresponding relation between the position information acquired last and first reminding information consisting of the judged application program identification and the reminding number with the value of 0 in a first database; correspondingly, the maintenance judgment module is further specifically configured to:
when the presented application program is started, sending a second updating indication; correspondingly, the update module is further specifically configured to:
when a second updating instruction is received, increasing the number of the searched reminders in the first reminding information once; correspondingly, the reminding judgment module is specifically used for:
and sending a search instruction when the staying time of the mobile terminal in the area represented by the finally detected position information is judged to be larger than or equal to a preset staying time threshold value.
Further, the air conditioner is provided with a fan,
in a third embodiment of the present invention, the first reminding information includes a one-to-one correspondence between the application identifier and the action type; wherein the action type is entering, staying or leaving.
Correspondingly, the acquisition unit is further configured to:
when the position information is collected, determining whether the action type is leaving according to the collected position information;
if the action type is determined not to be left, calculating the staying time of the mobile terminal in the area represented by the finally acquired position information;
if the retention time is larger than or equal to a preset entry time threshold, determining that the action type is entry; and if the stay time is greater than or equal to a preset stay time threshold, determining that the action type is stay.
Correspondingly, the maintenance judgment module is specifically configured to:
judging that the application program is started and the first database does not contain the position information acquired last; or when the application program is judged to be started and each application program identifier corresponding to the position information collected last in the first database does not contain the judged application program identifier, sending a first updating instruction; correspondingly, the update module is specifically configured to:
when a first updating instruction is received, adding the corresponding relation between the position information acquired last and first reminding information consisting of the judged application program identifier and the determined action type in a first database; correspondingly, the reminding judgment module is specifically used for:
when the acquisition unit determines the action type, sending a search instruction; correspondingly, the search module is specifically configured to:
the device comprises a searching unit, a judging unit and a judging unit, wherein the searching unit is used for searching first reminding information corresponding to last collected position information from a collecting unit in a first database when a searching instruction is received, determining the corresponding relation of the searched first reminding information, which contains the determined action type, and sending the corresponding relation; correspondingly, the prompt module is specifically configured to:
and prompting the application program in the corresponding relation from the searching module to identify the represented application program.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. A method for realizing reminding in a mobile terminal comprises the following steps: periodically collecting the position information of the mobile terminal; it is characterized by also comprising:
when the application program is judged to be started and the first database does not contain the last acquired position information, or the application program is judged to be started and the application program identification of the application program corresponding to the last acquired position information in the first database does not contain the application program identification of the judged application program, judging that the first database for storing first reminding information needs to be maintained;
when the first database for storing the first reminding information needs to be maintained, adding the corresponding relation between the last acquired position information and the first reminding information in the first database, wherein the first reminding information comprises the one-to-one corresponding relation between the judged application program identifier and the action type of the application program;
if the distance between the position acquired last and the position acquired last time of the mobile terminal is judged to be smaller than or equal to a preset distance threshold according to the position information acquired last and the position information acquired last time of the mobile terminal, determining that the action type is not away;
when the action type is determined not to be left, if the fact that the staying time of the mobile terminal in the area represented by the position information collected last is larger than or equal to a preset entering time threshold value is judged, the fact that reminding needs to be carried out is judged;
when the reminding needs to be carried out, first reminding information corresponding to the position information collected last in the first database in the mobile terminal is searched, the corresponding relation containing the determined action type is determined from the searched first reminding information, and the application represented by the application identifier in the determined corresponding relation is prompted.
2. The method of claim 1, wherein the location information in the first database comprises one or more of; the first reminding information corresponding to the position information in the first database comprises one or more than one.
3. The method according to any one of claims 1-2, wherein when a reminder is needed, the method further comprises: and searching second reminding information corresponding to the finally acquired position information in a preset second database in the communication network, and prompting the searched second reminding information.
4. The method of claim 3, wherein the second reminder information is hotspot information of an area represented by the last collected location information.
5. The method of claim 4, wherein the first database further comprises a correspondence between the location information and the second reminder information;
maintaining the first database further comprises: adding the corresponding relation between the last acquired position information and the second prompting information to the first database;
and when the second database is searched for unsuccessfully, searching for second reminding information corresponding to the finally acquired position information in the first database, and prompting the searched second reminding information.
6. The method of claim 1 or 2, wherein the first reminder information further comprises a one-to-one correspondence between application program identification and number of reminders;
maintaining the first database further comprises: and increasing the number of the found reminders in the first reminding information once.
7. The method according to claim 1 or 2, wherein the action type is entering, staying or leaving.
8. The method of claim 7, wherein upon acquiring the location information, the method further comprises:
if the staying time is larger than or equal to a preset entering time threshold, determining that the action type is entering; if the staying time is larger than or equal to a preset staying time threshold, determining that the action type is staying; wherein the entry time threshold is less than the dwell time threshold.
9. A device for realizing reminding in a mobile terminal comprises an acquisition unit, a reminding unit and a reminding unit, wherein the acquisition unit is used for periodically acquiring the position information of the mobile terminal; it is characterized by also comprising an updating unit and a prompting unit,
wherein the updating unit comprises a maintenance judging module and an updating module, wherein,
the maintenance judging module is used for judging that the first database used for storing the first reminding information needs to be maintained when judging that the application program is started and the first database does not contain the last acquired position information, or judging that the application program is started and the application program identifiers of the first database corresponding to the last acquired position information do not contain the application program identifiers of the judged application program, and sending a first updating instruction when judging that the first database used for storing the first reminding information needs to be maintained;
the updating module is configured to add, when a first updating instruction is received, a corresponding relationship between the last acquired location information and first reminding information in the first database, where the first reminding information includes a one-to-one corresponding relationship between an application identifier and an action type of a determined application;
the acquisition unit is further used for determining that the action type is not the departure type if the distance between the position acquired last and the position acquired last is judged to be less than or equal to a preset distance threshold according to the position information acquired last and the position information acquired last time of the mobile terminal;
wherein the prompting unit comprises a prompting judging module, a searching module and a prompting module, wherein,
the reminding judging module is used for judging that reminding needs to be carried out and sending a searching instruction if the mobile terminal stays in the area represented by the finally acquired position information for more than or equal to a preset entering time threshold value when the acquisition unit determines that the action type is not away;
the searching module is used for searching first reminding information corresponding to the position information which is collected from the collecting unit in a first database in the mobile terminal when a searching instruction is received, determining a corresponding relation containing the determined action type from the searched first reminding information and sending the corresponding relation;
and the reminding module is used for reminding the application program represented by the application program identifier in the corresponding relation determined by the searching module.
10. The apparatus of claim 9, wherein the location information in the first database comprises one or more of; the first reminding information corresponding to the position information in the first database comprises one or more than one.
11. The apparatus of any of claims 9-10, wherein the lookup module is further configured to: when the searching instruction is received, searching for second reminding information corresponding to the finally acquired position information in a preset second database in a communication network and sending the second reminding information;
the reminding module is also used for: and prompting the second reminding information from the searching module.
12. The apparatus of claim 11, wherein the second reminder information is hotspot information of an area represented by the last collected location information.
13. The apparatus of claim 12, wherein the first database further comprises a correspondence between the location information and the second reminder information;
the maintenance judgment module is further specifically configured to: when the found second reminding information is prompted, a second updating indication is sent;
the update module is further specifically configured to: when the second updating instruction is received, adding the corresponding relation between the position information acquired last and the second reminding information presented in the first database;
the lookup module is further configured to: and when the second database is searched for unsuccessfully, searching for second reminding information corresponding to the finally acquired position information in the first database, and prompting the searched second reminding information.
14. The apparatus of claim 13, wherein the first alert information further comprises a one-to-one correspondence between application identification and number of alerts;
the update module is further specifically configured to: and when the second updating indication is received, increasing the number of the found reminders in the first reminding information once.
15. The apparatus of claim 9 or 10, wherein the action type is entering, staying or leaving.
16. The apparatus of claim 15, wherein the acquisition unit is further configured to:
if the staying time is larger than or equal to the preset entering time threshold, determining that the action type is entering; if the staying time is larger than or equal to a preset staying time threshold, determining that the action type is staying; wherein the entry time threshold is less than the dwell time threshold.
CN201510045141.XA 2015-01-28 2015-01-28 Method and device for realizing reminding in mobile terminal Active CN105991814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510045141.XA CN105991814B (en) 2015-01-28 2015-01-28 Method and device for realizing reminding in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510045141.XA CN105991814B (en) 2015-01-28 2015-01-28 Method and device for realizing reminding in mobile terminal

Publications (2)

Publication Number Publication Date
CN105991814A CN105991814A (en) 2016-10-05
CN105991814B true CN105991814B (en) 2021-04-20

Family

ID=57034228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510045141.XA Active CN105991814B (en) 2015-01-28 2015-01-28 Method and device for realizing reminding in mobile terminal

Country Status (1)

Country Link
CN (1) CN105991814B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4839420B2 (en) * 2001-04-17 2011-12-21 尹 在一 Provision and acquisition method of guidance map information around a moving point by a communication network and provision and acquisition system of guidance map information
JP4136517B2 (en) * 2002-07-31 2008-08-20 株式会社日立製作所 Mobile terminal
CN103874011A (en) * 2012-12-13 2014-06-18 中国移动通信集团辽宁有限公司 Location event detection method, system and device
CN103916476A (en) * 2014-04-08 2014-07-09 百度在线网络技术(北京)有限公司 Information pushing method and device based on position

Also Published As

Publication number Publication date
CN105991814A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN107192390B (en) Localization method, device and the terminal device of shared vehicle
CN109151168B (en) Switching method and device of riding codes, mobile terminal and readable storage medium
CA2765950C (en) Apparatus and method for automated vehicle roadside assistance
CN111405466B (en) Site identification method, arrival reminding method, device, terminal and storage medium
CN103942972B (en) A kind of real-time detection school bus departs from travel route and the method for automatic alarm
US10674321B2 (en) Lost device detection using geospatial location data
CN105139641A (en) WiFi relay station-based vehicle scheduling method and system
CN107230122B (en) Passenger taxi taking order switching method and device
US11302195B2 (en) Traffic service obtaining method and related device
CN107705576B (en) Vehicle fake plate detection method, server and storage medium
CN104392611A (en) Method and system for identifying high-price cars
CN110012435B (en) Pseudo base station positioning method, terminal and computer readable storage medium
CN116136413A (en) Emission optimized vehicle path and charging
CN112365127A (en) Information prompting method and device
CN106842272B (en) Method, system and device for generating parking track in parking lot
CN105991814B (en) Method and device for realizing reminding in mobile terminal
CN109600738B (en) User information updating method, device, equipment and storage medium
CN112711710A (en) Tracking method, system, server and storage medium for multi-number terminal
CN107071778A (en) Pseudo-base station recognition methods and data analysing method
CN111898624A (en) Positioning information processing method, device, equipment and storage medium
CN110598567A (en) Community-based garbage management method and system and computer-readable storage medium
CN110704745A (en) Information searching method and device of vehicle-mounted terminal
CN112863223B (en) Bus information prompting method, device, storage medium and program product
CN112781604A (en) Method, apparatus, device and computer-readable storage medium for navigation
CN107567074B (en) Network connection method, device and terminal

Legal Events

Date Code Title Description
C06 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