CN108510230A - A kind of trip based reminding method, device and electronic equipment - Google Patents

A kind of trip based reminding method, device and electronic equipment Download PDF

Info

Publication number
CN108510230A
CN108510230A CN201710919943.8A CN201710919943A CN108510230A CN 108510230 A CN108510230 A CN 108510230A CN 201710919943 A CN201710919943 A CN 201710919943A CN 108510230 A CN108510230 A CN 108510230A
Authority
CN
China
Prior art keywords
time
trip
current
attendance
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710919943.8A
Other languages
Chinese (zh)
Inventor
黄珊珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710919943.8A priority Critical patent/CN108510230A/en
Publication of CN108510230A publication Critical patent/CN108510230A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Traffic Control Systems (AREA)

Abstract

A kind of trip based reminding method of present invention offer, device and electronic equipment, this method include:When reaching predetermined time, the Current traffic traffic information of a target traffic path is obtained;The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;It is more than the history trip object time for constantly determining current time after the current trip used time of the target traffic path in the current trip used time of the target traffic path;According to the comparison result of the object time and default cut-off time, trip prompting processing is executed.The trip based reminding method provided through the invention can improve the flexibility that trip is reminded so that user can be with the reasonable arrangement travel time.

Description

A kind of trip based reminding method, device and electronic equipment
Technical field
The present invention relates to a kind of field of communication technology more particularly to trip based reminding method, device and electronic equipments.
Background technology
With the development of internet, management system is constantly by OA (Office Automation, office automation) in enterprise Progress and promoted, emerge a large amount of business administration application, wherein attendance management application be even more must can not in business administration application A few part.Existing attendance management application, the usual or passive attendance event for employee are managed, for example, User is registered by modes such as fingerprint recognition, voice recognition, work card identification or recognitions of face, attendance management application record user Attendance event, and the attendance event of user is managed.
In actual conditions, the extremely most common reason of user's attendance is exactly that user caused by gambling is gathered around in traffic prolongs the travel time It is long.Currently, user is in order to turn out for work on time, usually or based on history go on a journey used time and attendance deadline setting alarm clock come It reminds the travel time, and reserved a period of time is abnormal to reduce the attendance caused by traffic congestion.But this trip prompting side Formula is more dumb, on the one hand may waste user's more time, and on the other hand daily traffic is different, when reserving Between be difficult to determine.
Invention content
A kind of trip based reminding method of offer of the embodiment of the present invention, device and electronic equipment, to solve existing trip prompting side The more inflexible problem of formula.
In a first aspect, an embodiment of the present invention provides a kind of trip based reminding methods.This method includes:
When reaching predetermined time, the Current traffic traffic information of a target traffic path is obtained;
The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;
The history trip for being more than the target traffic path in the current trip used time of the target traffic path is used constantly, Determine object time of the current time after the current trip used time;
According to the comparison result of the object time and default cut-off time, trip prompting processing is executed.
Second aspect, the embodiment of the present invention also provide a kind of trip alarm set.The device includes:
First acquisition module, the Current traffic road conditions letter for when reaching predetermined time, obtaining a target traffic path Breath;
First computing module, for calculating currently going out for the target traffic path according to the Current traffic traffic information The row used time;
Determining module is more than going through for the target traffic path for the current trip used time in the target traffic path The history trip object time for constantly determining current time after the current trip used time;
First reminding module executes trip and carries for the comparison result according to the object time and default cut-off time It wakes up and handles.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including processor, memory and are stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of showing above-mentioned trip based reminding method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program realizes the step of above-mentioned trip based reminding method when being executed by processor Suddenly.
In this way, in the embodiment of the present invention, when reaching predetermined time, the Current traffic road conditions of a target traffic path are obtained Information;The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;Go out in the target The history trip that the currently trip used time of walking along the street line is more than the target traffic path is used constantly, is determined described in current time process Object time after the current trip used time;According to the comparison result of the object time and default cut-off time, executes trip and carry It wakes up and handles.The embodiment of the present invention is more than history trip in the current trip used time of target traffic path and uses constantly, further basis Object time and the comparison result of default cut-off time of the current time after the current trip used time execute trip and remind Processing improves the flexibility that trip is reminded so that user can remind the reasonable arrangement travel time according to trip.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without having to pay creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the schematic diagram of the hardware environment of trip based reminding method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of trip based reminding method provided in an embodiment of the present invention;
Fig. 3 is the flow chart for the trip based reminding method that further embodiment of this invention provides;
Fig. 4 is the flow chart of acquisition user's traffic path provided in an embodiment of the present invention and used time of going on a journey;
Fig. 5 is the flow chart for obtaining user's traffic path and used time of going on a journey that further embodiment of this invention provides;
Fig. 6 is the flow chart that attendance server provided in an embodiment of the present invention analyzes user's trip record;
Fig. 7 is the flow chart for the trip based reminding method that further embodiment of this invention provides;
Fig. 8 is the structure chart of trip alarm set provided in an embodiment of the present invention;
Fig. 9 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 10 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 11 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 12 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 13 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 14 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 15 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 16 is the structure chart for the trip alarm set that further embodiment of this invention provides;
Figure 17 is the structure chart of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
According to embodiments of the present invention, a kind of trip based reminding method is provided, by obtaining the current of a target traffic path Traffic information, and the current trip used time of the target traffic path is calculated according to the Current traffic traffic information, The history trip that the current trip used time of the target traffic path is more than the target traffic path is used constantly, when determining current Carve the object time after the current trip used time;According to the comparison result of the object time and default cut-off time, Trip prompting processing is executed, so that user can remind the reasonable arrangement travel time according to trip, trip is improved and reminds Flexibility.
Optionally, in the present embodiment, above-mentioned trip based reminding method can be applied to as shown in Figure 1 by 01 kimonos of terminal In the hardware environment that business device 02 is constituted.As shown in Figure 1, terminal 01 and server 02 can be attached by network, it is above-mentioned Network includes but not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN.Terminal 01 can be mobile phone, tablet computer, Wearable Deng.Server 02 may include traffic information server, attendance server etc..Specifically, above-mentioned trip based reminding method can be by Terminal 01 executes.
Specifically, terminal 01 can obtain the Current traffic of target traffic path in predetermined time from traffic information server Traffic information, and the current trip used time by target traffic path is calculated according to Current traffic traffic information.Target is gone out The history of walking along the street line is gone on a journey the used time, and terminal 01 can go on a journey from the local history for obtaining pre-stored target traffic path and use When, can also be the history trip used time that target traffic path is obtained from traffic information server.
It is understood that above-mentioned predetermined time according to default cut-off time and can pass through the history of target traffic path The trip used time is rationally arranged, wherein and above-mentioned default cut-off time can also be configured according to practical application scene, such as Attendance cut-off time or the cut-off time etc. for picking child, above-mentioned target traffic path can also according to practical application scene into Row setting, for example, the daily working route of user or user pick the route etc. of child.For example, attendance cut-off time is T1, The used time is gone on a journey as △ t1 by the history of target traffic path, then above-mentioned predetermined time T can be that T1- △ t1- △ t2, △ t2 are First sets aside some time length, for example, △ t2 are 1h or 0.5h.For ease of description, it is answered with attendance below the embodiment of the present invention With the application scenarios illustrated for scene namely user's working is registered.
Above-mentioned traffic related information may include historical traffic traffic information (for example, traffic congestion index etc.) or pass through mesh Mark the trip used time etc. of traffic path.
Terminal 01 is more than going through for the target traffic path in the current trip used time for judging the target traffic path The history trip object time that constantly may further determine that current time after the current trip used time;According to described The comparison result of object time and default cut-off time executes trip prompting processing, for example, being later than default cut-off in object time When the moment, it may remind the user that and go on a journey as early as possible, when object time is not later than default cut-off time, may remind the user that needs exist It goes on a journey before sometime, to avoid being late, so that user can remind the reasonable arrangement travel time according to trip, improves The flexibility that trip is reminded.
Optionally, under attendance application scene, terminal 01 can also be according to the comparison of object time and default cut-off time As a result it determines the need for sending corresponding prompt message to attendance server.
It should be noted that hardware environment shown in FIG. 1 can also include other hardware modules, the present invention according to demand The trip based reminding method of embodiment can also be executed by other hardware modules, and the present embodiment does not limit this.
Referring to Fig. 2, Fig. 2 be it is provided in an embodiment of the present invention trip based reminding method flow chart, as shown in Fig. 2, include with Lower step:
Step 201, when reaching predetermined time, obtain a target traffic path Current traffic traffic information.
In the embodiment of the present invention, above-mentioned predetermined time can be according to default cut-off time and going through by target traffic path The history trip used time is rationally arranged.Above-mentioned default cut-off time can also be configured according to practical application scene, such as examine Diligent cut-off time or the cut-off time etc. for picking child.
Above-mentioned target traffic path can also be configured according to practical application scene, for example, the daily working route of user, Or user picks the route etc. of child, specifically, terminal can based on the operation setting target traffic path of user, for example, User setting origin and destination are being received, is exporting and is selected from the traffic path of origin and destination for user It selects, and using the corresponding traffic path of user's selection operation as target traffic path, can also be that terminal records user from starting The history traffic path of place to destination, and target traffic path is determined according to history traffic path.
Specifically, terminal can obtain working as target traffic path when reaching predetermined time from traffic information server Preceding traffic information.By taking attendance application scene as an example, if the attendance cut-off time of certain user every is T1, gone on a journey by target The history trip used time of route be that △ t1, △ t2 are first to set aside some time length, then when reaching the T1- △ t1- △ t2 moment, end Hold the Current traffic traffic information that target traffic path is obtained from traffic information server.
Step 202, the current trip used time that the target traffic path is calculated according to the Current traffic traffic information.
Step 203, the history for being more than the target traffic path in the current trip used time of the target traffic path go out The row object time for constantly determining current time after the current trip used time.
In the embodiment of the present invention, it is more than history trip with constantly in the currently trip used time, illustrates that user may need to spend The longer time arrives at a little, and can further judging user at this time, currently whether trip can be late, namely be cut default It is only arrived at a little before the moment (for example, attendance cut-off time), for example, working place.Specifically, above-mentioned current time can To be terminal current system time clock time.For example, current time is 07:30:00, the current used time of going on a journey is 1.45 hours, then mesh It is 09 to mark the moment:15:00.
Step 204, according to the comparison result of the object time and default cut-off time, execute trip prompting processing.
For example, when object time is later than default cut-off time, it may remind the user that and go on a journey as early as possible, be late with reduction general Rate may remind the user that needs are gone on a journey before sometime, to avoid slow when object time is not later than default cut-off time It arrives.
The trip based reminding method of the embodiment of the present invention obtains the current of a target traffic path when reaching predetermined time Traffic information;The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;Institute The history trip that the current trip used time for stating target traffic path is more than the target traffic path determines current time with constantly Object time after the current trip used time;According to the comparison result of the object time and default cut-off time, hold Row trip prompting processing.The embodiment of the present invention is more than history trip use constantly in the current trip used time of target traffic path, into One step according to current time by it is described it is current trip the used time after object time and the comparison result of default cut-off time execute Prompting processing of going on a journey improves the spirit that trip is reminded so that user can remind the reasonable arrangement travel time according to trip Activity.
It is the flow chart for the trip based reminding method that further embodiment of this invention provides referring to Fig. 3, Fig. 3.As shown in figure 3, this The trip based reminding method that inventive embodiments provide includes the following steps:
Step 301, when reaching predetermined time, obtain a target traffic path Current traffic traffic information.
In the embodiment of the present invention, above-mentioned predetermined time can be according to default cut-off time and going through by target traffic path The history trip used time is rationally arranged.Above-mentioned default cut-off time can also be configured according to practical application scene, such as examine Diligent cut-off time or the cut-off time etc. for picking child.
Above-mentioned target traffic path can also be configured according to practical application scene, for example, the daily working route of user, Or user picks the route etc. of child, specifically, terminal can based on the operation setting target traffic path of user, for example, User setting origin and destination are being received, is exporting and is selected from the traffic path of origin and destination for user It selects, and using the corresponding traffic path of user's selection operation as target traffic path, can also be that terminal records user from starting The history traffic path of place to destination, and target traffic path is determined according to history traffic path.
Optionally, in order to reduce user's operation, property easy to use is improved, described when reaching predetermined time, one mesh of acquisition Before the Current traffic traffic information for marking traffic path, the method further includes:Obtain respectively history N days from origin to The history traffic path of destination, wherein N is positive integer;From in history N days from the origin to the purpose In the history traffic path in place, the most history traffic path of places number is selected as the target traffic path.
In the embodiment of the present invention, the traffic path of the location information analysis user of user terminal can be recorded in real time daily, And target traffic path is determined according to the daily traffic path of user.
Specifically, in order to improve the accuracy of obtained user's traffic path and used time of going on a journey, the method further includes: Judge whether target user leaves the origin in the preset time before the default cut-off time;Described in determination When target user leaves the origin in the preset time before the default cut-off time, the target user is judged Whether present position is apart from the origin pre-determined distance;Determining the target user present position apart from the starting point When point pre-determined distance, record is from the origin to the traffic path of the destination and trip used time.
Referring to Fig. 4, obtains user's traffic path and the trip used time may include steps of:
Step 401, the origin for receiving setting and destination.
For example, origin can be the home address of user, destination can be the working address of user, or rise Beginning place can be the home address of user, and destination is the school address of child or origin can be user Working address, destination are the school address of child.
Step 402 judges whether user is to leave origin in preset time before default cut-off time.
For example, above-mentioned default cut-off time is attendance cut-off time, preset time can be rationally arranged according to actual conditions, For example, 3h, 2h etc..
, can be with the location of user in real terminal in the embodiment of the present invention, and judge that user terminal is presently in Whether position is in origin preset range, for example, within the scope of 10 meters, if user terminal is presently in position and is not in Then determine that user leaves origin in origin preset range, if user terminal is presently in position still in starting point Then determine that user not yet leaves origin in point preset range.
Specifically, when it is to leave origin in preset time before default cut-off time to determine user, can hold Row step 403, and the time that user leaves origin can be recorded, it is pre- before default cut-off time determining user not and being If leave origin in the time, flow can be terminated, or return to step 402.
The embodiment of the present invention is by judging whether user is to leave starting point in preset time before default cut-off time Point can be recorded to avoid traffic path of the user in other times section from origin to destination is recorded with raising The accuracy of traffic path.
Whether step 403 judges user present position apart from origin pre-determined distance.
In the embodiment of the present invention, above-mentioned pre-determined distance can also be rationally arranged according to actual conditions, for example, 500m.
Specifically, when determining user present position apart from origin pre-determined distance, step 404 is executed, is otherwise terminated Flow, or return to step 402.
Whether the embodiment of the present invention by judging user present position apart from origin pre-determined distance, it is possible to reduce because with Family gos out movement, short-range travel behaviour such as buy vegetables of going out, and influences recorded user from origin to destination The accuracy of traffic path.
The traffic path and travel time of step 404, record from origin to destination.
The embodiment of the present invention can record traffic path of the user from origin to destination, and record user's arrival The time of destination, the time left the time of origin by user and arrived at a little can obtain user from Beginning place to destination travel time.
Optionally, the embodiment of the present invention can also according to from origin to destination trip distance and the travel time Trip speed is calculated, when trip speed is more than pre-set velocity (for example, 20km/h), determines that user is gone out by motor vehicles Row, then traffic path and travel time of the record from origin to destination, pass through non-motor vehicle when otherwise determining user Trip, traffic path and travel time of this time from origin to destination can not be recorded.
The embodiment of the present invention can obtain user from origin to destination with through the above steps 401 to step 404 The daily traffic path of history and travel time, and stored, to establish trip of the user from origin to destination Database.
The embodiment of the present invention can be obtained in history N days from user's trip data library from origin to destination History traffic path, and from the history traffic path from the origin to the destination of history N days, choosing The most history traffic path of trip number is selected as the target traffic path.It is understood that the value of above-mentioned N can be with Rationally it is arranged according to actual conditions, for example, N values are 30,20 etc..Above-mentioned history N days can be current time before most Close N days.
Specifically, when accessed history traffic path is at least two, it can be respectively by this at least two history Wantonly two history traffic paths are compared in traffic path, if offset distance between two compared history traffic path More than default bias distance (for example, default bias distance be 20m) part proportion be more than preset ratio (for example, 20%), it is determined that this two history traffic paths are different traffic paths, otherwise determine that this two history traffic paths are same Traffic path.
It is traffic path S there are 18 history traffic paths for example, in 20 days history traffic paths of history, Then determine that traffic path S is target traffic path.
It is understood that if history N days is in from the origin to the history traffic path of the destination The most history traffic path of number of going on a journey includes at least two, then can obtain the history traffic path of more number of days, until The most history traffic path of number of going on a journey in from origin to the history traffic path of the destination is one.
Optionally, the embodiment of the present invention can also be counted according to the trip used time of history N days from origin to destination It calculates history to go on a journey the used time, for example, the average value of the trip used time using history N days from origin to destination goes out as history The row used time, or calculate in the history traffic path of history N days from origin to destination corresponding to same traffic path History traffic path trip the used time average value, as history go on a journey the used time.
It is illustrated by taking attendance application scene as an example below, referring to Fig. 5, obtaining user's traffic path and trip used time can be with Include the following steps:
Step 501 obtains user and registers the time X and place B that registers.
In the embodiment of the present invention, attendance server receive user register operation when, can be by user when registering Between the X and place B that registers be sent to terminal.
Step 502, when the time X that registers is earlier than attendance cut-off time, determination be not late.
In the embodiment of the present invention, when determining that user is late, step 505 can be further executed, to obtain going out for user Walking along the street line and travel time.
Step 503, when the time X that registers is later than attendance cut-off time, determine late.
In the embodiment of the present invention, when determining that user is late, flow, or output prompt message can be terminated, with prompt It is late on the day of user.
Step 504, user setting home address.
Step 505 judges whether user is to leave home address in preset time before attendance cut-off time.
For example, above-mentioned default cut-off time is attendance cut-off time, preset time can be rationally arranged according to actual conditions, For example, 3h, 2h etc..
In the embodiment of the present invention, terminal can record the location of user and time in real time, so as to get use The time of home address is left at family, with judge user leave home address time whether before attendance cut-off time preset when In.Specifically, when it is to be away from home (namely home address) in preset time before default cut-off time to determine user, it can To execute step 506, when determining user not was away from home in preset time before default cut-off time, can terminate to flow Journey.
The embodiment of the present invention, can be with by judging whether user is to be away from home in preset time before default cut-off time Avoid record user in other times section from home address to the traffic path in place of registering, to improve recorded traffic path Accuracy.
Step 506, the place A for obtaining user distance home address pre-determined distance and user leave when leaving home of home address Between Y.
In the embodiment of the present invention, above-mentioned pre-determined distance can also be rationally arranged according to actual conditions, for example, 500m. Above-mentioned place A is user and home address apart from the place of pre-determined distance, above-mentioned user leave home address leave home time Y can Think that user present position is more than the time of a certain preset value at a distance from home address, above-mentioned preset value can be according to practical need It asks and is rationally arranged, for example, preset value can be 10 meters, 15 meters etc..
Step 507 determines user according to user from place A to the distance of place B and the time X and time Y that leaves home that registers The vehicles used.
The embodiment of the present invention can be according to the distance S and and register time X and time Y meter of leaving home from place A to place B Trip speed V1 is calculated, optionally, trip speed V1 can be:V1=S/T1, wherein T1=X-Y.
If the vehicles that step 508, user use are motor vehicles, record user's trip speed V1 and trip is used When T1, and record user from place A to the route S1 for the place B that registers.
Optionally, when trip speed V1 is more than pre-set velocity (for example, 20km/h), it may be determined that user is by motor-driven Vehicle driving can record user's trip speed V1 and trip used time T1, and record user from place A to place of registering at this time The route S1 of B is gone on a journey by non power driven vehicle when otherwise determining user, can terminate flow.
The embodiment of the present invention can obtain user from home address to place of registering with through the above steps 501 to step 508 The daily traffic path of history and travel time, and stored, to establish user from home address to the trip in place of registering Database.
The embodiment of the present invention can be obtained in history N days from user's trip data library from home address to place of registering History traffic path, and in from home address to the history traffic path in place of registering, select places number from history N days Most history traffic paths are as target traffic path.It is understood that the value of above-mentioned N can according to actual conditions into Row rationally setting, for example, N values are 30,20 etc..Nearest before being current time N days of above-mentioned history N days.
Specifically, when accessed history traffic path is at least two, it can be respectively by this at least two history Wantonly two history traffic paths are compared in traffic path, if offset distance between two compared history traffic path More than default bias distance (for example, default bias distance be 20m) part proportion be more than preset ratio (for example, 20%), it is determined that this two history traffic paths are different traffic paths, otherwise determine that this two history traffic paths are same Traffic path.It is traffic path S there are 18 history traffic paths for example, in 20 days history traffic paths of history, Then determine that traffic path S is target traffic path.
Step 302, the current trip used time that the target traffic path is calculated according to the Current traffic traffic information.
Step 303, the history for being more than the target traffic path in the current trip used time of the target traffic path go out The row object time for constantly determining current time after the current trip used time.
In the embodiment of the present invention, it is more than history trip with constantly in the currently trip used time, illustrates that user may need to spend The longer time arrives at a little, and can further judging user at this time, currently whether trip can be late, namely be cut default It is only arrived at a little before the moment (for example, attendance cut-off time), for example, working place.Specifically, above-mentioned current time can To be terminal current system time clock time.For example, current time is 07:30:00, the current used time of going on a journey is 1.45 hours, then mesh It is 09 to mark the moment:15:00.
Step 304, when the object time is not later than the default cut-off time, calculate current trip used time with The time difference of the history trip used time, and the first trip prompting processing is executed according to the time difference.
In the embodiment of the present invention, at the time of the current time is after the current trip used time (namely when target Carve) when being not later than the default cut-off time, the time difference of current trip used time and history trip used time can be further calculated Value, and trip prompting is carried out according to time difference, believe for example, following remind can be exported by way of text or voice Breath:Traffic today more congestion, more usually trip are needed to spend more expense 20 minutes, please be gone on a journey in advance.
Optionally, it for above-mentioned steps 304, could alternatively be:When the object time is not later than the default cut-off When quarter, trip is calculated according to the current trip used time and default cut-off time and is reminded the moment, and is reminded reaching the trip When the moment, the second trip prompting processing is executed.
For example, it is T1 to preset cut-off time, the current used time of going on a journey is △ t3, then the prompting moment of going on a journey can be T1- △ t3- △ t4, wherein △ t4 are second to set aside some time length, and the second length of setting aside some time can rationally be set according to actual conditions It sets.Specifically, when reaching trip and reminding the moment, the system alarm clock of terminal can be started, and can further by voice or It is the following prompting message of text output:Traffic today more congestion, more usually trip need to spend more expense 20 minutes, please go out in advance Row.
In this way, the embodiment of the present invention is when the object time is not later than the default cut-off time, it is current by calculating The time difference of trip used time and history trip used time, more can accurately be gone on a journey prompting, more in order to user Reasonably to arrange the travel time.
Optionally, for above-mentioned steps 204 namely the comparison knot according to the object time and default cut-off time Fruit executes trip prompting processing, including:When the object time is later than the default cut-off time, executes third trip and carry It wakes up and handles.
In the embodiment of the present invention, it is more than history trip with constantly in the currently trip used time, illustrates that user may need to spend The longer time arrives at a little, and can further judging user at this time, currently whether trip can be late, namely be cut default It is only arrived at a little before the moment (for example, attendance cut-off time), for example, working place.
Specifically, above-mentioned current time can be terminal current system time clock time.For example, default cut-off time is 08: 00:00, current time 07:30:00, the current used time of going on a journey is 1.45 hours, then judges 07:30:00 after 1.45 hours Whether 08 is later than:00:00, due to 07:30:00 after 1.45 hours be 09:15:00, illustrate that user currently goes out guild and is late, The system alarm clock or output vibration information of terminal can be aroused at this time, and can be carried in conjunction with by word or voice prompt Wake up user, for example, exporting following prompt message:Traffic abnormity congestion today, you may be late, please go out as early as possible.
It goes on a journey the used time it should be noted that the embodiment of the present invention can also be more than the history in the current trip used time When, calculate the time difference of current trip used time and history trip used time, and judge whether user can be with according to the time difference It is arrived at a little before presetting cut-off time again.
Optionally, the default cut-off time is attendance cut-off time, is later than the default cut-off in the object time When the moment, the method further includes:To attendance server send the first attendance prompt message so that the attendance server according to The first attendance prompt message is identified the attendance exception record of target user using default mark.
In the embodiment of the present invention, under attendance application scene, terminal can send the first attendance prompt to attendance server Information, so that the attendance server is different to the attendance of target user using default mark according to the first attendance prompt message Often record is identified, for example, attendance exception record on the day of target user (namely late record) is identified as it is special, to examine Diligent administrator can note staff attendance abnormal cause, be convenient for follow-up attendance management.
Optionally, after the first attendance prompt message of transmission to attendance server, the method further includes:Receive institute State the second attendance prompt message of attendance server return, wherein the second attendance prompt message is the attendance server The quantity return of the attendance exception record of the default mark is carried in attendance exception record based on the target user Prompt message.
In the embodiment of the present invention, attendance server can be based on the first attendance prompt message that terminal is sent to target user Attendance record analyzed, and feed back to terminal.Specifically, attendance server can be based on the first attendance letter that terminal is sent Breath is identified the attendance exception record on the day of the target user using default mark, to which attendance server can count Target user is in preset time, for example, in one month, carries the quantity of the abnormal attendance record of default mark, and can be with Further judge that target user carries the quantity of the abnormal attendance record of default mark whether more than preset quantity, to carry out phase The prompting answered.For example, determining that the quantity that the target user carries the abnormal attendance record of default mark is more than preset quantity When, prompting message can be sent:Because your special late excessive this month, your, will be with general because traffic abnormity congestion causes to be late today Logical late calculating, it is noted that replace working circuit or getting up early;Determining that the target user carries the exception of default mark this month When the quantity of attendance record is equal to preset quantity, prompting message can be sent:You ended to today, of that month because traffic abnormity is gathered around It is stifled to cause late to be more than preset quantity, it is noted that replace working circuit or getting up early, special be late will be with common again in this month It is late to calculate.
Specifically, referring to Fig. 6, attendance server, which can record the trip of employee (namely above-mentioned target user), to be divided Analysis and feedback, specifically comprise the following steps:
Step 601, attendance server read staff attendance record, and establish the attendance data of employee's special attendance checking record Library.
Above-mentioned special attendance checking is recorded as employee because traffic congestion leads to the attendance record that may be late, and may include that employee goes out Walking along the street line estimates the information such as lagged time.Specifically, employee's terminal can be in the case where determining that employee may be late to attendance Server sends the first attendance prompt message, to which attendance server can be above-mentioned special based on the establishment of the first attendance prompt message Attendance record.
Step 602, daily preset time, attendance server reads the same day, and there are the employee informations that special attendance checking records.
Step 603 judges whether the employee same day is late.
Specifically, attendance server can read the same day, there are the employees that special attendance checking is noted down, in conjunction with working as each employee Day attendance record, judges whether the employee same day is late.Specifically, when determining that the employee is late, step 604 is executed, otherwise Execute step 605.
Step 604 is identified the late record of the employee using default mark.
For example, being special by the late record identification of the employee, and execute step 606.
Step 605, the special attendance checking record that the employee is deleted from attendance data library.
Specifically, when determining that the employee is not late, this employee's special attendance checking note can be deleted from attendance data library Record.
Step 606 judges that employee this month includes whether the quantity of the late record of default mark is less than preset quantity.
Above-mentioned preset quantity can be rationally arranged according to actual conditions, for example, 5.Specifically, in employee's this month Including when the quantity of the late record of default mark is less than preset quantity, step 607 is executed, it is no to then follow the steps 608.
Step 607, attendance server send the first prompting message to terminal.
For example, when it includes that the late record of special identifier is less than preset quantity to determine employee this month, attendance server The first prompting message can be sent to terminal:Your because traffic abnormity congestion causes to be late, is included in special circumstances today, not counting late It leaves early.
Step 608 judges that employee this month includes whether the quantity of the late record of default mark is equal to preset quantity.
Specifically, when the quantity that employee's this month includes the late record for presetting mark is equal to preset quantity, step is executed Rapid 609, it is no to then follow the steps 610.
Step 609, attendance server send the second prompting message to terminal.
For example, when it includes that the quantity of the late record of default mark is equal to preset quantity to determine employee this month, attendance Server can send prompting message to terminal:You ended to today, of that month because traffic abnormity congestion leads to late have reached Preset quantity, it is noted that replace working circuit or getting up early, special be late will calculate to be commonly late again in this month.
Step 610, attendance server send third prompting message to terminal.
For example, when it includes that the quantity of the late record of default mark is more than preset quantity to determine employee this month, attendance Server can send prompting message to terminal:Because your quantity of this month special late record is excessive, you are because of traffic abnormity today Congestion causes to be late, and will be calculated with being commonly late, it is noted that replace working circuit or getting up early.
Specifically, in the embodiment of the present invention punishment can be not counted in being identified as special late record.
By upper, the embodiment of the present invention is recorded by the traffic path turned out for work daily to employee and analysis, establishes employee's trip Database of record, while being combined with third party's urban traffic information analysis system, the possibility that the budget same day is late ensures in advance Employee will not be because of obtaining the hysteresis quality of traffic information, and leads to late behavior of the employee because of force majeure, it is ensured that employee Operating time and office efficiency reduce the probability of attendance exception from source.In addition, attendance server is to special attendance checking situation It is labeled, it is ensured that understand employee's absence from duty situation, avoid the information for leading to enterprise staff both sides to behavior absent from duty because of force majeure Insufficient, raising corporation' s personal -control efficiency is linked up, and can ensure that information is conveyed immediately.
Optionally, the current trip used time that the target traffic path is calculated according to the Current traffic traffic information Later, the method further includes:It is less than or equal to history trip with constantly in the current trip used time, works as described in calculating The time difference of preceding trip used time and history trip used time;The 4th trip prompting processing is executed according to the time difference.
In the embodiment of the present invention, it is less than or equal to history trip with constantly in the currently trip used time, illustrates that user can spend The expense shorter time arrives at a little, then can calculate the time difference of the current trip used time and history trip used time Value, and trip prompting processing is executed according to the time difference, for example, can be exported by way of word or voice as follows Prompting message:Today, traffic was preferable, and more usually trip can spend 20 minutes less, can postpone trip.
Optionally, the target traffic path includes origin, described to be calculated according to the Current traffic traffic information After the current trip used time of the target traffic path, the method further includes:It is less than or waits in the current trip used time It is used constantly in history trip, judges whether be later than the target trip moment at the time of current time is after preset duration, In, the target trip moment is determined by default cut-off time and history trip used time;Pass through institute at the current time When being later than the target trip moment at the time of stating after preset duration, the location of target user is obtained;It is used in the target When the location of family is less than pre-determined distance at a distance from the origin, the 5th trip prompting processing is executed.
In the embodiment of the present invention, above-mentioned preset duration can be rationally arranged according to actual conditions, for example, preset duration It can be the time interval that distance executes above-mentioned trip based reminding method next time.It is understood that the embodiment of the present invention can be with Primary above-mentioned trip based reminding method is executed every preset duration, until target user has gone on a journey, or trip has been executed and has carried It wakes up.
Specifically, being less than or equal to history trip with constantly in the current trip used time, can further judge Whether be later than the target trip moment at the time of current time is after preset duration, wherein can according to default cut-off time and The history trip used time determines that target is gone on a journey the moment, for example, default cut-off time is T1, the history trip used time is △ t1, then Target trip reminds that the moment can be T1- △ t2- △ t5, wherein △ t5 set aside some time length for third, and third is set aside some time length Degree can be rationally arranged according to actual conditions, for example, 10 minutes.For example, default cut-off time is 08:00:00, history goes out The row used time be 45 minutes, third set aside some time length be 10 minutes, then target trip remind the moment can be 07:05:00.
When the embodiment of the present invention is later than the target trip moment at the time of current time is after preset duration, illustrate to be spaced Trip is executed after preset time to be reminded and can then may be immediately performed trip prompting processing not in time, no matter target user is No trip;The position of target user can also be first obtained, for example, the location of terminal can be obtained as target user position It sets, and whether is gone on a journey according to the Distance Judgment target user of the position of target user and origin, for example, target user's When position is more than pre-determined distance at a distance from origin, it may be determined that target user has gone on a journey, then can not execute trip Prompting is handled, when the position of target user is not more than pre-determined distance at a distance from origin, it may be determined that target user is still It does not go on a journey, trip prompting processing can be executed at this time, believe for example, following remind can be exported by way of word or voice Breath:You may be late, and please go out at once.
The embodiment of the present invention is illustrated below in conjunction with application example, referring to Fig. 7, the trip of the embodiment of the present invention is reminded Method includes the following steps:
Step 701, database of record of going on a journey from user, obtain user's average travel used time, and according to user's average travel Used time and attendance cut-off time determine triggering moment.
In the embodiment of the present invention, above-mentioned user's trip database of record can store user from origin (for example, user Home address) to the trip record of destination (for example, working address), wherein trip record may include traffic path, go out The data such as row used time, trip speed.
Specifically, above-mentioned average travel used time, that is, above-mentioned history is gone on a journey the used time.Optionally, it can be gone on a journey and be recorded according to user The N days trip used times of the history recorded in database calculate the average travel used time.
Above-mentioned triggering moment, that is, above-mentioned predetermined time.Specifically, can be ended according to user's average travel used time and attendance Moment determines triggering moment, for example, attendance cut-off time is 08:00:00, the history trip used time is 45 minutes, length of setting aside some time Degree is 1 hour, then triggering moment can be 06:15:00.
Specifically, the embodiment of the present invention, which can obtain user when reaching triggering moment, often uses traffic path namely above-mentioned Target traffic path, and can further obtain the Current traffic traffic information of common traffic path.
Step 702, when reach triggering moment, obtain user often use traffic path Current traffic traffic information, and according to Traffic information calculated the current trip used time that user often uses traffic path in real time at that time.
Specifically, can be from the opening of third party's urban traffic information analysis system (namely above-mentioned traffic information server) Entrance obtains the Current traffic traffic information that user often uses traffic path.
Step 703, real-time judge user often use the current trip used time of traffic path whether to be more than history and go on a journey the used time.
Specifically, if the used time of currently going on a journey is less than or equal to history and goes on a journey the used time, when can continue to judge that next time calculates It carves (for example, it can be at the time of obtaining user next time often to use the Current traffic traffic information of traffic path to calculate the moment next time) Whether averagely go out the moment more than user, wherein user averagely gos out the i.e. above-mentioned target trip moment constantly.If current trip is used When be more than history go on a journey the used time, then illustrate that user is possible to late, execute step 707, you can to calculate late duration, Ye Jishang State the time difference of current trip used time and history trip used time.
Step 704 judges that next time calculates whether the moment averagely gos out the moment more than user.
Specifically, if it is to be less than user averagely to go out the moment to calculate the moment next time, instruction can be sent, interval is default Duration calculates again after (for example, 5 minutes), namely returns to step 702.
If calculating the moment averagely to go out the moment more than user, user current location can be obtained, and judge user next time Whether go on a journey.
Step 705 obtains user current location, and judges whether user goes on a journey according to user current location.
Specifically, if user has gone on a journey, flow can be terminated, otherwise can with arousal system alarm clock calling user, and Notice prompt user can be sent:You may be late, and please go out at once.
Step 706, arousal system alarm clock simultaneously remind user.
Step 707 calculates duration of being late.
The late duration of step 708, basis, judging user, currently whether trip can be late.
Specifically, if it is determined that user currently to go out guild late, then can be with arousal system alarm clock, and initiate prompt and remind to use Family:Traffic abnormity congestion today, you may be late, please go out as early as possible.Further, it is also possible to send information to attendance server to carry Show attendance management person, same day traffic abnormity congestion (for example, late duration is more than 1 hour), to ensure the attendance management person person of noting Work is late because of special circumstances.
If it is determined that currently trip will not be late user, then it can calculate trip and remind the moment, wherein trip reminds the moment can To be that the when diacritical point that user will not be late adds set aside some time (for example, 15 minutes).
Step 709, arousal system alarm clock simultaneously remind user.
Step 710 calculates the trip prompting moment.
Step 711 judges whether current time is more than that the moment is reminded in trip.
Specifically, if current time, which is more than trip, reminds the moment, can arousal system alarm clock immediately, and initiate to carry Wake up user:Same day traffic congestion, you may be late, please go out as early as possible.It, can be with if current time is less than trip and reminds the moment The arousal system alarm clock calling user when reaching trip and reminding the moment:The traffic congestion same day, the traffic congestion same day, if avoiding being late, Please go out in 15 minutes.
Step 712, arousal system alarm clock simultaneously remind user.
It should be noted that above-mentioned user goes on a journey, database of record can be adjusted with real-time update, be specifically comprised the following steps:
Step a1, trip data of the record same day user from origin to destination, wherein above-mentioned trip data packet Include traffic path, trip used time, trip speed etc..
Step b1, judged according to the traffic path of user's history preset number of days (for example, 20 days) and navigation analysis, foundation are used Family is gone on a journey database of record, acquisition user's average travel speed and average travel used time, and replaces original user's trip record number According to corresponding average travel speed and average travel used time in library.
Step c1, it is obtained according to the traffic path of user's history preset number of days (for example, 20 days) and commonly uses traffic path, and replaced Change corresponding common traffic path in original user's trip database of record.
Step d1, it with newer average travel speed and average travel used time in user's trip database of record and commonly uses out Walking along the street line reminds the trip of next day and provides data.
Step e1, repeat the above steps a1 to step d1.
The embodiment of the present invention by reminding user's trip, build by the traffic path daily to user record and analysis Vertical user's trip database of record, while being combined with third party's urban traffic information analysis system, what Budget Service's same day was late can Can property, ensure that in advance user will not because of the hysteresis quality for obtaining traffic information, caused by user it is late because of force majeure Behavior, it is ensured that the operating time and office efficiency of user.
It is the structure chart of trip alarm set provided in an embodiment of the present invention referring to Fig. 8, Fig. 8, as shown in figure 8, trip carries Device 800 of waking up includes the first acquisition module 801, the first computing module 802, determining module 803 and the first reminding module 804, In:
First acquisition module 801, for when reaching predetermined time, obtaining the Current traffic road conditions of a target traffic path Information;
First computing module 802, for calculating working as the target traffic path according to the Current traffic traffic information The preceding trip used time;
Determining module 803 is more than the target traffic path for the current trip used time in the target traffic path History trip with constantly, determine object time of the current time after the current trip used time;
First reminding module 804 executes trip for the comparison result according to the object time and default cut-off time Prompting is handled.
Optionally, referring to Fig. 9, first reminding module 804 includes the first reminding unit, first reminding unit 8041 are specifically used for:
When the object time is not later than the default cut-off time, the current trip used time and the history are calculated The time difference of trip used time, and the first trip prompting processing is executed according to the time difference;Or
When the object time is not later than the default cut-off time, according to the current trip used time and default cut-off Moment calculates trip and reminds the moment, and when reaching the trip prompting moment, executes the second trip prompting processing.
Optionally, referring to Figure 10, first reminding module 804 further includes:
Second reminding unit 8042 goes out for when the object time is later than the default cut-off time, executing third Row prompting is handled.
Optionally, the default cut-off time is attendance cut-off time, and referring to Figure 11, described device further includes:
Sending module 805, for when the object time is later than the default cut-off time, being sent to attendance server First attendance prompt message, so that the attendance server is identified using default to target according to the first attendance prompt message The attendance exception record of user is identified.
Optionally, referring to Figure 12, described device further includes:
Receiving module 806 receives the attendance after the first attendance prompt message of transmission to attendance server The second attendance prompt message that server returns, wherein the second attendance prompt message is based on institute for the attendance server State the prompt letter that the quantity for the attendance exception record that the default mark is carried in the attendance exception record of target user returns Breath.
Optionally, referring to Figure 13, described device further includes:
Second computing module 807 is counted for being less than or equal to history trip with constantly in the current trip used time Calculate the time difference of the current trip used time and history trip used time;
Second reminding module 808, for executing the 4th trip prompting processing according to the time difference.
Optionally, the target traffic path includes origin, and referring to Figure 14, described device further includes:
First judgment module 809 is sentenced for being less than or equal to history trip with constantly in the current trip used time Whether target trip moment is later than at the time of disconnected current time is after preset duration, wherein the target goes on a journey the moment by pre- If cut-off time and history trip used time determine;
Second acquisition module 810, for being later than the mesh at the time of current time is after the preset duration When marking the row moment, the location of target user is obtained;
Third reminding module 811, for being less than at a distance from the origin in the location of described target user When pre-determined distance, the 5th trip prompting processing is executed.
Optionally, referring to Figure 15, described device further includes:
Third acquisition module 812 obtains the Current traffic of a target traffic path for described when reaching predetermined time Before traffic information, the history traffic path from origin to destination in history N days is obtained respectively, wherein N is just whole Number;
Selecting module 813, for going on a journey from the history from the origin to the history of the destination for N days In route, the most history traffic path of places number is selected as the target traffic path.
Optionally, referring to Figure 16, described device further includes:
Second judgment module 814, for judge target user whether the preset time before the default cut-off time Inside leave the origin;
Third judgment module 815, for when determining default before the default cut-off time of the target user In when leaving the origin, judge the target user present position whether apart from the origin pre-determined distance;
Logging modle 816, for when determining the target user present position apart from the origin pre-determined distance, Record is from the origin to the traffic path of the destination and trip used time.
Above-mentioned trip alarm set 800 can terminal executes in preceding method embodiment each process, to avoid repeating, Which is not described herein again.
The trip alarm set 800 of the embodiment of the present invention, by the first acquisition module 801, for reaching predetermined time When, obtain the Current traffic traffic information of a target traffic path;First computing module 802, for according to the Current traffic Traffic information calculates the current trip used time of the target traffic path;Determining module 803, in the target traffic path The current trip used time be more than the history trip of the target traffic path with constantly, determining that current time currently goes out by described Object time after the row used time;First reminding module 804, for the comparison knot according to the object time and default cut-off time Fruit executes trip prompting processing.The embodiment of the present invention is more than history in the current trip used time of target traffic path and goes on a journey the used time When, further according to current time by it is described it is current trip the used time after object time and default cut-off time comparison result Trip prompting processing is executed, so that user can remind the reasonable arrangement travel time according to trip, trip is improved and reminds Flexibility.
It is the structure chart of electronic equipment provided in an embodiment of the present invention, as shown in figure 17, electronic equipment referring to Figure 17, Figure 17 1700 include:At least one processor 1701, memory 1702, at least one network interface 1704 and user interface 1703.Electricity Various components in sub- equipment 1700 are coupled by bus system 1705.It is understood that bus system 1705 for realizing Connection communication between these components.Bus system 1705 further includes power bus, controlling bus in addition to including data/address bus And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1705 in fig. 17.
Wherein, user interface 1703 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1702 in the embodiment of the present invention can be volatile memory or non-volatile memories Both device, or may include volatile and non-volatile memory.Wherein, nonvolatile memory can be read-only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 1702 of system and method described herein be intended to including but not limited to this A little and any other suitable type memory.
In some embodiments, memory 1702 stores following element, executable modules or data structures, or Their subset of person or their superset:Operating system 17021 and application program 17022.
Wherein, operating system 17021, including various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 17022, including various application programs, such as matchmaker Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented The program of example method may be embodied in application program 17022.
In embodiments of the present invention, by the program for calling memory 1702 to store or instruction, specifically, can be application The program stored in program 17022 or instruction, processor 1701 are used for:When reaching predetermined time, obtains a target and go out walking along the street The Current traffic traffic information of line;The current trip that the target traffic path is calculated according to the Current traffic traffic information is used When;In the history trip that the current trip used time of the target traffic path is more than the target traffic path with constantly, determine Object time of the current time after the current trip used time;According to the comparison of the object time and default cut-off time As a result, executing trip prompting processing.
The method that the embodiments of the present invention disclose can be applied in processor 1701, or real by processor 1701 It is existing.Processor 1701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1701 or software form.Above-mentioned Processor 1701 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 1702, processor 1701 reads the information in memory 1702, the above method is completed in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its It combines to realize.For hardware realization, processing unit may be implemented in one or more application-specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
When the object time is not later than the default cut-off time, the current trip used time and the history are calculated The time difference of trip used time, and the first trip prompting processing is executed according to the time difference;Or
When the object time is not later than the default cut-off time, according to the current trip used time and default cut-off Moment calculates trip and reminds the moment, and when reaching the trip prompting moment, executes the second trip prompting processing.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
When the object time is later than the default cut-off time, third trip prompting processing is executed.
Optionally, the default cut-off time is attendance cut-off time, when computer program is executed by processor 1701 also Following steps can be achieved:
The first attendance prompt message is sent to attendance server, so that the attendance server is carried according to first attendance Show that information is identified the attendance exception record of target user using default mark.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
Receive the second attendance prompt message that the attendance server returns, wherein the second attendance prompt message is The attendance server carries default mark attendance in the attendance exception record based on the target user is remembered extremely The prompt message that the quantity of record returns.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
Be less than or equal to history trip with constantly in the current trip used time, calculate the current trip used time with The time difference of the history trip used time;
The 4th trip prompting processing is executed according to the time difference.
Optionally, the target traffic path includes origin, and computer program may be used also when being executed by processor 1701 Realize following steps:
When the current trip used time being less than or equal to history trip with constantly, judging that current time is by presetting Whether target trip moment is later than at the time of after length, wherein the target trip moment is by default cut-off time and the history The trip used time determines;
When being later than the target trip moment at the time of current time is after the preset duration, target is obtained The location of user;
When the location of described target user is less than pre-determined distance at a distance from the origin, executes the 5th and go out Row prompting is handled.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
The history traffic path from origin to destination in history N days is obtained respectively, wherein N is positive integer;
From in the history traffic path from the origin to the destination of history N days, selection trip The most history traffic path of number is as the target traffic path.
Optionally, following steps be can also be achieved when computer program is executed by processor 1701:
Judge whether target user leaves the origin in the preset time before the default cut-off time;
Determining that the target user leaves the origin in the preset time before the default cut-off time When, judge the target user present position whether apart from the origin pre-determined distance;
When determining the target user present position apart from the origin pre-determined distance, record from the starting point Traffic path and trip used time of the point to the destination.
Electronic equipment 1700 can realize each process that terminal is realized in preceding method embodiment, to avoid repeating, this In repeat no more.
The electronic equipment 1700 of the embodiment of the present invention obtains the current of a target traffic path when reaching predetermined time Traffic information;The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;Institute The history trip that the current trip used time for stating target traffic path is more than the target traffic path determines current time with constantly Object time after the current trip used time;According to the comparison result of the object time and default cut-off time, hold Row trip prompting processing.The embodiment of the present invention is more than history trip use constantly in the current trip used time of target traffic path, into One step according to current time by it is described it is current trip the used time after object time and the comparison result of default cut-off time execute Prompting processing of going on a journey improves the spirit that trip is reminded so that user can remind the reasonable arrangement travel time according to trip Activity.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program The step of trip based reminding method of any of the above-described embodiment of the method is realized when being executed by processor.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (15)

1. a kind of trip based reminding method, which is characterized in that including:
When reaching predetermined time, the Current traffic traffic information of a target traffic path is obtained;
The current trip used time of the target traffic path is calculated according to the Current traffic traffic information;
In the history trip that the current trip used time of the target traffic path is more than the target traffic path with constantly, determine Object time of the current time after the current trip used time;
According to the comparison result of the object time and default cut-off time, trip prompting processing is executed.
2. according to the method described in claim 1, it is characterized in that, described according to the object time and default cut-off time Comparison result executes trip prompting processing, including:
When the object time is not later than the default cut-off time, the current trip used time and history trip are calculated The time difference of used time, and the first trip prompting processing is executed according to the time difference;Or
When the object time is not later than the default cut-off time, according to the current trip used time and default cut-off time It calculates trip to remind the moment, and when reaching the trip prompting moment, executes the second trip prompting processing.
3. according to the method described in claim 1, it is characterized in that, described according to the object time and default cut-off time Comparison result executes trip prompting processing, including:
When the object time is later than the default cut-off time, third trip prompting processing is executed.
4. according to the method described in claim 3, it is characterized in that, the default cut-off time is attendance cut-off time, in institute When stating object time and being later than the default cut-off time, the method further includes:
The first attendance prompt message is sent to attendance server, so that the attendance server prompts to believe according to first attendance Breath is identified the attendance exception record of target user using default mark.
5. according to the method described in claim 4, it is characterized in that, described send the first attendance prompt message to attendance server Later, the method further includes:
Receive the second attendance prompt message that the attendance server returns, wherein the second attendance prompt message is described Attendance server carries the attendance exception record of the default mark in the attendance exception record based on the target user The prompt message that quantity returns.
6. according to the method described in claim 1, it is characterized in that, described according to described in Current traffic traffic information calculating After the current trip used time of target traffic path, the method further includes:
It is less than or equal to history trip with constantly in the current trip used time, calculates current trip used time and described The time difference of history trip used time;
The 4th trip prompting processing is executed according to the time difference.
7. according to the method described in claim 1, it is characterized in that, the target traffic path includes origin, described After the current trip used time for calculating the target traffic path according to the Current traffic traffic information, the method further includes:
It is less than or equal to history trip with constantly in the current trip used time, judges current time after preset duration At the time of whether be later than the target trip moment, wherein the target trip moment is gone on a journey by default cut-off time and the history Used time determines;
When being later than the target trip moment at the time of current time is after the preset duration, target user is obtained Location;
When the location of described target user is less than pre-determined distance at a distance from the origin, executes the 5th trip and carry It wakes up and handles.
8. according to the described method of any one of claim 1-7, which is characterized in that it is described when reaching predetermined time, it obtains Before the Current traffic traffic information of one target traffic path, the method further includes:
The history traffic path from origin to destination in history N days is obtained respectively, wherein N is positive integer;
From in the history traffic path from the origin to the destination of history N days, places number is selected Most history traffic paths is as the target traffic path.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
Judge whether target user leaves the origin in the preset time before the default cut-off time;
When determining that the target user leaves the origin in the preset time before the default cut-off time, sentence Whether the target user present position break apart from the origin pre-determined distance;
When determining the target user present position apart from the origin pre-determined distance, record from the origin to The traffic path of the destination and trip used time.
10. a kind of trip alarm set, which is characterized in that including:
First acquisition module, for when reaching predetermined time, obtaining the Current traffic traffic information of a target traffic path;
First computing module, the current trip for calculating the target traffic path according to the Current traffic traffic information are used When;
Determining module, the history for being more than the target traffic path in the current trip used time of the target traffic path go out The row object time for constantly determining current time after the current trip used time;
First reminding module is executed for the comparison result according to the object time and default cut-off time at trip prompting Reason.
11. device according to claim 10, which is characterized in that first reminding module includes the first reminding unit, First reminding unit is specifically used for:
When the object time is not later than the default cut-off time, the current trip used time and history trip are calculated The time difference of used time, and the first trip prompting processing is executed according to the time difference;Or
When the object time is not later than the default cut-off time, according to the current trip used time and default cut-off time It calculates trip to remind the moment, and when reaching the trip prompting moment, executes the second trip prompting processing.
12. device according to claim 10, which is characterized in that first reminding module further includes:
Second reminding unit, for when the object time is later than the default cut-off time, executing at third trip prompting Reason.
13. device according to claim 12, which is characterized in that the default cut-off time is attendance cut-off time, institute Stating device further includes:
Sending module, for when the object time is later than the default cut-off time, sending first to attendance server and examining Diligent prompt message, so that the attendance server is identified using default to target user's according to the first attendance prompt message Attendance exception record is identified.
14. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 9 is realized when the computer program is executed by the processor Any one of described in trip based reminding method the step of.
15. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes trip based reminding method as claimed in any one of claims 1-9 wherein when the computer program is executed by processor The step of.
CN201710919943.8A 2017-09-30 2017-09-30 A kind of trip based reminding method, device and electronic equipment Pending CN108510230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710919943.8A CN108510230A (en) 2017-09-30 2017-09-30 A kind of trip based reminding method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710919943.8A CN108510230A (en) 2017-09-30 2017-09-30 A kind of trip based reminding method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108510230A true CN108510230A (en) 2018-09-07

Family

ID=63375255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710919943.8A Pending CN108510230A (en) 2017-09-30 2017-09-30 A kind of trip based reminding method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108510230A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020133475A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Information transmission method, apparatus, storage medium and electronic device
CN111461200A (en) * 2020-03-30 2020-07-28 科大讯飞股份有限公司 Event reminding method and device, electronic equipment and computer readable storage medium
CN111457935A (en) * 2019-01-22 2020-07-28 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN111986341A (en) * 2020-08-27 2020-11-24 珠海格力电器股份有限公司 Attendance management method and system
CN112037358A (en) * 2020-07-28 2020-12-04 珠海格力电器股份有限公司 Attendance statistics method and device, electronic equipment and storage medium
CN113822643A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Method and device for setting travel reminding
CN114697443A (en) * 2020-12-30 2022-07-01 博泰车联网科技(上海)股份有限公司 Schedule reminding method and device, storage medium and terminal
CN115018435A (en) * 2021-11-16 2022-09-06 荣耀终端有限公司 Travel reminding method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056364A (en) * 2016-06-28 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Travel prompting method, travel prompting device, and terminal
CN106169227A (en) * 2016-08-31 2016-11-30 广东小天才科技有限公司 A kind of method and wearable device reminded of going on a journey
CN107045528A (en) * 2017-01-10 2017-08-15 深圳市金立通信设备有限公司 A kind of method and terminal reminded of going on a journey

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056364A (en) * 2016-06-28 2016-10-26 宇龙计算机通信科技(深圳)有限公司 Travel prompting method, travel prompting device, and terminal
CN106169227A (en) * 2016-08-31 2016-11-30 广东小天才科技有限公司 A kind of method and wearable device reminded of going on a journey
CN107045528A (en) * 2017-01-10 2017-08-15 深圳市金立通信设备有限公司 A kind of method and terminal reminded of going on a journey

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柯克•D.泽利 著: "《精益分销——将精益生产思想应用于分销领域》", 31 March 2010, 中国物资出版社 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020133475A1 (en) * 2018-12-29 2020-07-02 深圳市欢太科技有限公司 Information transmission method, apparatus, storage medium and electronic device
CN112997175A (en) * 2018-12-29 2021-06-18 深圳市欢太科技有限公司 Information sending method, information sending device, storage medium and electronic equipment
CN111457935A (en) * 2019-01-22 2020-07-28 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN111461200A (en) * 2020-03-30 2020-07-28 科大讯飞股份有限公司 Event reminding method and device, electronic equipment and computer readable storage medium
CN111461200B (en) * 2020-03-30 2023-11-21 科大讯飞股份有限公司 Event reminding method and device, electronic equipment and computer readable storage medium
CN112037358A (en) * 2020-07-28 2020-12-04 珠海格力电器股份有限公司 Attendance statistics method and device, electronic equipment and storage medium
CN112037358B (en) * 2020-07-28 2021-07-20 珠海格力电器股份有限公司 Attendance statistics method and device, electronic equipment and storage medium
CN111986341A (en) * 2020-08-27 2020-11-24 珠海格力电器股份有限公司 Attendance management method and system
CN114697443A (en) * 2020-12-30 2022-07-01 博泰车联网科技(上海)股份有限公司 Schedule reminding method and device, storage medium and terminal
CN113822643A (en) * 2021-08-20 2021-12-21 荣耀终端有限公司 Method and device for setting travel reminding
CN115018435A (en) * 2021-11-16 2022-09-06 荣耀终端有限公司 Travel reminding method and electronic equipment
CN115018435B (en) * 2021-11-16 2023-11-28 荣耀终端有限公司 Travel reminding method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108510230A (en) A kind of trip based reminding method, device and electronic equipment
CN107634993B (en) A kind of information push event-handling method, device and electronic equipment
CN107230046A (en) The reminding method and mobile terminal of a kind of trip information
CN108765933A (en) A kind of method, apparatus, equipment and storage medium for recommending to get on the bus a little
CN109190038A (en) A kind of web-site recommendations method, terminal device and medium based on service appointment
US20210293555A1 (en) Systems and methods for generating trip plan
CN109697535A (en) Pickup based reminding method, device, equipment and storage medium
CN106197450A (en) A kind of navigation reminders method and terminal
CN110322578B (en) Attendance checking method and device
CN104580720A (en) Implementation method of alarm clock
CN105828283B (en) A kind of destination arriving reminding method and mobile terminal
CN110118567A (en) Trip mode recommended method and device
CN104618581A (en) Terminal
CN107995367B (en) Arrival reminding method and device, storage medium and mobile terminal
CN105547311A (en) Route planning method, mobile terminal, and system
US20210262817A1 (en) Systems and methods for predicting estimated time of arrival
CN108171965A (en) Arrival reminding method, apparatus, storage medium and mobile terminal
CN113537955A (en) Milestone project management device and method, electronic equipment and storage medium
CN112129315A (en) Method and device for recommending parking lot, electronic equipment and storage medium
CN108494965A (en) Based reminding method, device and computer readable storage medium
CN109543864A (en) Scheduled visits reminding method, server and storage medium based on traveling time
CN111698645B (en) Position information acquisition method, device, computer equipment and storage medium
CN108040175A (en) Alarm clock setting method, mobile terminal and computer-readable recording medium
CN108038127A (en) A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN112488388A (en) Outbound passenger flow prediction method and device based on probability distribution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180907