CN107517307A - A kind of method and its terminal that alarm clock is set - Google Patents
A kind of method and its terminal that alarm clock is set Download PDFInfo
- Publication number
- CN107517307A CN107517307A CN201710658488.0A CN201710658488A CN107517307A CN 107517307 A CN107517307 A CN 107517307A CN 201710658488 A CN201710658488 A CN 201710658488A CN 107517307 A CN107517307 A CN 107517307A
- Authority
- CN
- China
- Prior art keywords
- user
- alarm clock
- terminal
- default
- attendance information
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a kind of method and its terminal for setting alarm clock, wherein method includes:Obtain the attendance information of user;According to attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;The alarm clock triggered time is adjusted based on alarm clock adjusting parameter, can be according to the daily attendance information of user, determine the work hours and quitting time on the day of user, and the commuter time of user is matched with default adjustable strategies of turning out for work, obtain user's alarm clock adjusting parameter, then user is adjusted in original alarm clock triggered time, so that user's alarm clock triggered time of second day can match with the actual work hours of user, solve in existing alarm clock setting technology, terminal can not be according to the reality situation on and off duty of user, adjust alarm clock ring time, operating procedure is more, the problem of less efficient, is set.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and its terminal for setting alarm clock.
Background technology
It is increasingly powerful with termination function, it gradually instead of the various equipment in user's daily life.Especially, as eventually
Alarm clock function in end, the individual demand be easy to user's setting due to it and user can be met, it has also become user's is most normal
One of function.
But existing alarm clock sets technology, relies primarily on user and is set manually.Because most company has
Flexible working system, if some employee's overtime is longer, it can postpone the work hours within second day, for above-mentioned analogue,
Terminal can not adjust alarm clock ring time, it is necessary to user manually adjusts, operating procedure according to the reality situation on and off duty of user
It is more, set less efficient.
The content of the invention
The embodiment of the present invention provides a kind of method and its terminal for setting alarm clock, can solve existing alarm clock setting technology,
Rely primarily on user to be set manually, use user for flexible working system, terminal can not be according to the reality of user
Border situation on and off duty, for adjustment alarm clock ring time, it is necessary to which user manually adjusts, operating procedure is more, sets the problem of less efficient.
In a first aspect, the embodiments of the invention provide a kind of method for setting alarm clock, this method includes:
Obtain the attendance information of user;
According to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;
The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
User's attendance information acquiring unit, for obtaining the attendance information of user;
Alarm clock adjusting parameter determining unit, for according to the attendance information and default adjustable strategies of turning out for work, it is determined that
Alarm clock adjusting parameter;
Alarm clock triggered time adjustment unit, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The computer program that terminal performs the above method is held, the computer program includes programmed instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention is by obtaining the attendance information of user;According to the attendance information and default adjustment of turning out for work
Strategy, determine alarm clock adjusting parameter;The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter, can be daily according to user
Attendance information, work hours and quitting time on the day of user are determined, and the commuter time of user is turned out for work with default
Adjustable strategies are matched, and obtain user's alarm clock adjusting parameter, and then user is adjusted in original alarm clock triggered time,
So that user's alarm clock triggered time of second day can match with the actual work hours of user.Thus, it could be seen that the present invention is real
Applying terminal in example can be adjusted according to the attendance of daily user to the ring time of the alarm clock of second day, without user's hand
It is dynamic to set, solve in existing alarm clock setting technology, terminal can not adjust alarm clock and ring according to the reality situation on and off duty of user
The bell time, operating procedure is more, sets the problem of less efficient.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is that first embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock;
Fig. 2 is that second embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock;
Fig. 3 is that third embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock;
Fig. 4 is that fourth embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock;
Fig. 5 is that fifth embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock;
Fig. 6 is a kind of terminal schematic block diagram that first embodiment of the invention provides;
Fig. 7 is a kind of terminal schematic block diagram that second embodiment of the invention provides;
Fig. 8 is a kind of terminal schematic block diagram that third embodiment of the invention provides;
Fig. 9 is a kind of terminal schematic block diagram that fourth embodiment of the invention provides;
Figure 10 is a kind of terminal schematic block diagram that fifth embodiment of the invention provides;
Figure 11 is a kind of terminal schematic block diagram that sixth embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is that first embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock referring to Fig. 1.Wherein, originally
The executive agent that the method for alarm clock is set in inventive embodiments is terminal.The terminal can be mobile phone, tablet personal computer, notebook electricity
The equipment such as brain, but this is not limited to, can also be that other have alarm clock function and the terminal device of data-handling capacity.Such as figure
Shown in 1, the method for the setting alarm clock that first embodiment of the invention provides may include:
In S101, the attendance information of user is obtained.
In the present embodiment, terminal is it is determined that user After Hours, then obtains the attendance information on the day of the user.Wherein, should
Attendance information is including but not limited to following a kind of or at least two combinations:Work hours, quitting time and the work of user
The information related to attendance record such as duration.
In the present embodiment, the attendance information on the day of the attendance information of terminal acquisition is specially user.Especially, if the use
The quitting time at family day, then the attendance information was identified as turning out for work for user the previous day by terminal 12 points more than 24 points or at night
Information.
In the present embodiment, terminal can obtain the attendance information of user by the attendance record equipment of Administrative Area.Specifically
Ground, when user leaves Administrative Area, log-on operation of coming off duty, attendance record can be carried out by way of pressing fingerprint or recognition of face
After equipment receives the next log-on operation of user, as the user at the time of the next log-on operation for receiving user is corresponded to
The next moment and stored.Correspondingly, attendance record equipment can also obtain the working moment of user through the above way
And stored.When terminal detects that user passes through attendance record equipment, attendance record can be sent to attendance record equipment and obtained
Instruction fetch, so that attendance record equipment returns to the attendance information of the user.
Alternatively, in the present embodiment, whether the mode Jing Guo attendance record equipment can be terminal detection user:Detection
Whether the radiofrequency signal of attendance record device, such as infrared signal or Bluetooth signal decay faster radiofrequency signal are received, if
The radiofrequency signal that attendance record device is sent is received, then judges that user passes through attendance record equipment, then performs S101 phase
Close operation.
Alternatively, in the present embodiment, whether the mode Jing Guo attendance record equipment can also be terminal detection user:Obtain
The distance between family and attendance record equipment value are taken, if both distance values are less than predetermined threshold value, judges user by examining
Diligent recording equipment, then perform S101 associative operation.
In the present embodiment, terminal can also obtain the letter of turning out for work of user by server corresponding to the office system of user
Breath.Specifically, the daily work of user is completed dependent on office system, and on the other hand most office system also has and checked card
Function.Therefore, user typically can carry out working punching operation after arrival company by logging in office system;When next, use
Family can also carry out punching operation of coming off duty in office system, it is seen then that the attendance information of user will be also recorded in office system.Terminal
Acquisition of information instruction of turning out for work can be sent to server corresponding to office system, then obtains the attendance information on the day of user.
In the present embodiment, terminal by the positional information of user, can also determine the attendance information of user.Specifically,
User is provided with business address in terminal, and terminal can be believed according to the position of the positional information of user and the business address
The distance between position and business address that breath calculating user is presently in, when terminal is detected corresponding to the positional information of user
The distance between position and the business address are less than pre-determined distance threshold value, then judge that user has reached company, then determine user
Work hours;Correspondingly, the distance is more than pre-determined distance threshold value, then judges that user has left company, determines coming off duty for user
Time, so as to obtain the attendance information of user.
In the present embodiment, terminal can be provided with application program of checking card, for recording the attendance information of user.User is directly logical
The application program of checking card for crossing terminal carries out recording the attendance information of itself, and then terminal is by transferring in the application program of checking card
Check card record, so that it is determined that the attendance information of user.
In S102, according to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined.
In the present embodiment, terminal is matched the attendance information got with default adjustable strategies of turning out for work, and is judged
Alarm clock adjusting parameter corresponding to the attendance information.Wherein, the adjustable strategies of turning out for work are specially according to actually turning out for work on the day of employee
Situation, and to strategy that the user is adjusted the work hours of second day.
In the present embodiment, the adjustable strategies of turning out for work can be the mapping table of attendance information and alarm clock adjusting parameter,
Inquire about the adjustable strategies of turning out for work, it may be determined that alarm clock adjusting parameter corresponding to a certain attendance information.Illustratively, it is given below go out
A kind of implementation of diligent adjustable strategies.The adjustable strategies of turning out for work can be:If the quitting time of a certain employee is 21:30-22:
00 first come off duty interval range in, then the work hours of second day can postpone 30 minutes;If the quitting time is 22:00-23:00
Second come off duty interval range in, then the employee can postpone the work hours of second day one hour;If the quitting time is 23:00-
24:The 3rd of 00 comes off duty in interval range, then the employee can postpone the work hours of second day one and a half hours.Therefore, if with
Quitting time in the attendance information at family is 22:21, according to the adjustable strategies of turning out for work, its alarm clock adjusting parameter is 1 hour.
In the present embodiment, the adjustable strategies of turning out for work can also be the functional relation of attendance information and alarm clock adjusting parameter,
By relevant parameter in attendance information, such as work hours and quitting time, it is directed into the functional relation, then can calculates correspondingly
Alarm clock adjusting parameter.Illustratively, the functional relation of the adjustable strategies of turning out for work can be:
Wherein, Δ is alarm clock adjusting parameter, tCome off dutyWork hours on the day of for user, tWorkingDuring next on the day of for user
Between, tStandardThe standard working duration of company where the user, δ is regulation coefficient.
In the present embodiment, terminal can obtain the adjustable strategies of turning out for work by the server of the office system of user, also may be used
Obtained in a manner of being set manually by user.
Preferably, in the present embodiment, the adjustable strategies of turning out for work also include public holiday and company's non-official holiday pair
The strategy of turning out for work answered.Because the working day quarter-bell that user is typically set refers to Mon-Fri, and public holiday and company
Non- official holiday now, may set alarm clock technology, it is necessary to which user's manual-lock is adjusted on the working day of routine in general
It is whole, it can not be determined the need for closing quarter-bell, or adjustment alarm clock triggered time to weekend triggering according to the situation of actual festivals or holidays
Pattern.Therefore, in the present embodiment, the terminal can determine whether second day be day off according to adjustable strategies of turning out for work, so as to really
Adjusting parameter corresponding to fixed, realizes adjust automatically alarm clock to the purpose of weekend mode.
In S103, the alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
In the present embodiment, terminal is after alarm clock adjusting parameter corresponding to the attendance information on the day of obtaining user, then root
Alarm clock triggered time of second day is adjusted according to the alarm clock adjusting parameter, so as to realize actually turning out for work for alarm clock ring time and user
The purpose that time matches.
In the present embodiment, terminal can record user the benchmark alarm clock triggered time, then according to alarm clock adjusting parameter with
And the benchmark alarm clock triggered time, the alarm clock triggered time of setting second day.Illustratively, the standard work hours of user are 9 points,
The corresponding time of getting up is 7:30, then the benchmark alarm clock triggered time of user is 7:30.If the adjustment ginseng of turning out for work of user
Number is postponement 30 minutes, you can postpones 30 minutes and going to work, then according to benchmark alarm clock triggered time and the alarm clock adjusting parameter, sets
The obtained alarm clock triggered time is 8 points.
In the present embodiment, terminal have recorded the alarm clock triggered time of user's the previous day, then in the alarm clock triggered time
On the basis of, it is adjusted according to alarm clock adjusting parameter.Specifically, the alarm clock triggered time of the previous day is 8 points, and previous
It alarm clock adjusting parameter is postponement 30 minutes;And alarm clock adjusting parameter corresponding to the attendance information on the same day is postponement 40 minutes,
Then the alarm clock triggered time can be adjusted to 8 according to above three parameter:10.
Above as can be seen that a kind of method for setting alarm clock provided in an embodiment of the present invention is by obtaining the letter of turning out for work of user
Breath;According to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;Adjusted and joined based on the alarm clock
In the number adjustment alarm clock triggered times, it can determine the work hours on the day of user according to the daily attendance information of user and come off duty
Time, and the commuter time of user is matched with default adjustable strategies of turning out for work, user's alarm clock adjusting parameter is obtained,
Then user is adjusted in original alarm clock triggered time, so that user's alarm clock triggered time of second day can be with user's
The actual work hours match.Thus, it could be seen that terminal can be according to the attendance of daily user to second in the embodiment of the present invention
The ring time of it alarm clock is adjusted, and is set manually without user, is solved in existing alarm clock setting technology, terminal without
Method adjusts alarm clock ring time, operating procedure is more, sets the problem of less efficient according to the reality situation on and off duty of user.
Referring to Fig. 2, Fig. 2 is that second embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock.Wherein,
The executive agent that the method for alarm clock is set in the embodiment of the present invention is terminal.The terminal can be mobile phone, tablet personal computer, notebook
Apparatus such as computer, but this is not limited to, can also be that other have alarm clock function and the terminal device of data-handling capacity.Such as
Shown in Fig. 2, the method for the setting alarm clock that second embodiment of the invention provides may include:
In S201, if current time reaches the default quitting time, the positional information of the user is obtained.
In the present embodiment, it can just obtain user it needs to be determined that after user is off duty due to terminal and completely turn out for work
Information, therefore, it is necessary to judge whether user is off duty before the attendance information of user is obtained.If user is off duty,
Carry out corresponding attendance information and obtain operation;Conversely, if user is still on duty the time, continue waiting for.
In the present embodiment, due to the standard quitting time of corporate policy be it is fixed, such as 18:00, terminal, which can detect, to be worked as
Whether the preceding moment has reached the standard quitting time of corporate policy, i.e., the default quitting time, if detecting, current time has arrived
Up to the default quitting time, then the positional information of user can be obtained;If detecting, current time does not reach the default quitting time,
Then continue waiting for.Positional information due to obtaining user needs to open the positioning function of terminal, consumes certain calculation resources, if
Obtained for a long time then larger to the electrical source consumption of terminal, therefore, the present embodiment is in order to improve the utilization rate of resource and subtract
The energy consumption of low terminal, it is determined that current time for the standard quitting time of user after, just the positional information of user is carried out
Obtain.
Alternatively, in the present embodiment, terminal can obtain the positional information of user at predetermined intervals, can also be real
When obtain the positional information.Preferably, built-in acceleration transducer in terminal, if detect the acceleration transducer of user
Data value is not 0, then the positional information of user is obtained with the default time.If user under overtime work state, will not usually enter
Row movement, therefore, under the state, the numerical value of the acceleration transducer of terminal is 0, judges that user is still working overtime, does not leave
Company;If detecting, the numerical value of the acceleration transducer of terminal is non-zero, then it represents that user is moving, it may be possible to come off duty, because
This will obtain the positional information of user with the default time, so as to further reduce the energy consumption of terminal.
In the present embodiment, terminal can obtain the positional information of user by mobile network, GPS moulds or WLAN.
Preferably, terminal only obtains the positional information of user in the state of WiFi network connection.
In S202, if position corresponding to the positional information is more than with the distance between the business address of user value
Predetermined threshold value, then perform it is described acquisition user on the day of attendance information operation.
In the present embodiment, terminal then calculates position corresponding to the positional information after the positional information of user is got
The distance between user business address is worth, and specifically, terminal can transfer map application, by the positional information of user and
Business address is labeled respectively in map application, and the distance value by the metering of map application formula between the two.
In the present embodiment, terminal storage judges whether user leaves the distance threshold of company, then above-mentioned default threshold
Value, by the distance between the user current location acquired and business address value compared with predetermined threshold value, if the distance
Value is less than predetermined threshold value, then judgement user is still in company, without obtaining the attendance information of user;If the distance value is more than default threshold
Value, then judge that user has left company, then performs S202 associative operation.
In S203, the attendance information of user is obtained.
S203 is identical with the implementation of S101 in embodiment corresponding to Fig. 1 in the present embodiment, specifically refers to
The associated description of S101 in embodiment corresponding to Fig. 1, will not be repeated here.
In S204, according to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined.
S204 is identical with the implementation of S102 in embodiment corresponding to Fig. 1 in the present embodiment, specifically refers to
The associated description of S102 in embodiment corresponding to Fig. 1, will not be repeated here.
In S205, the alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
S205 is identical with the implementation of S103 in embodiment corresponding to Fig. 1 in the present embodiment, specifically refers to
The associated description of S103 in embodiment corresponding to Fig. 1, will not be repeated here.
In embodiments of the present invention, terminal it is first determined whether reach come off duty the moment, then obtain user positional information,
And user current location and the distance of business address are calculated, determine whether user has been moved off company, may then determine whether to need
Obtain the attendance information of user.Because terminal obtains the attendance information of user, it is however generally that, it is necessary to consume certain flow number
According to, if terminal is to obtain attendance information by the server of office system, also need to be authenticated, the operation such as authentication, because
This repeatedly obtains invalid attendance information in order to avoid terminal, and terminal is being turned out for work after it is determined that user is off duty
The acquisition operation of information, complete attendance information can be disposably acquired so as to realize, reduce the resource consumption of terminal with
And data traffic consumption.
Referring to Fig. 3, Fig. 3 is that third embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock.Wherein,
The executive agent that the method for alarm clock is set in the embodiment of the present invention is terminal.The terminal can be mobile phone, tablet personal computer, notebook
Apparatus such as computer, but this is not limited to, can also be that other have alarm clock function and the terminal device of data-handling capacity.Such as
Shown in Fig. 3, the method for the setting alarm clock that third embodiment of the invention provides is compared with the embodiment shown in Fig. 1 and Fig. 2, this hair
The difference of bright embodiment embodiment corresponding with Fig. 1, Fig. 2 is:It is described obtain user attendance information specifically include S301~
S303:
In S301, send operation note to default server and obtain request;Wherein, the operation note obtains request
Including terminal iidentification;The terminal iidentification is used for the default server and identifies the operation note according to the terminal iidentification
Whether legal obtain request.
In the present embodiment, default server is specially server corresponding to user's office system.User is in the work phase
Between, it is often necessary to work is completed using office system, therefore, the operating time in the operation note of office system can represent to use
The commuter time at family.Specifically, it is necessary to which opening office system is operated flow processing, therefore the user when user goes to work
The operating time of first operation note in same day operation note list matches the work hours with user;And under user
Class when, generally improve corresponding to working report, publish the associative operations such as office system, will also produce an operation note, because
This, the operating time of the last item operation note in same day operation note list also matches with the quitting time of user.Cause
This, terminal by server corresponding to user's office system, can obtain the attendance information of user.
In the present embodiment, terminal sends operation note to the default server and obtains request, and default in order to allow
Server identify that the acquisition request instruction is legal request instruction, the device identification of local is packaged in acquisition request by terminal
In, so that default server carries out authentication operations.It should be noted that user is being registered as the legal of the default server
After user, the terminal user will be registered holding, will the terminal device identification typing into the default server, then
When terminal thinks that default server initiates request operation every time, server carries out authentication operations to the request, judges the terminal
Whether the device identification of equipment matches with the device identification of typing, if the match is successful, then it represents that the request is legitimate request, is held
Row S302 associative operation, conversely, being then determined as illegal request, it is not responding to the request.
In the present embodiment, the device identification of terminal includes but is not limited to a kind of or at least two combinations:Terminal
Communicating number, network address, physical address, international mobile equipment identification number (International Mobile
Equipment Identity, IMEI code) etc..
Alternatively, in the present embodiment, the security operated is obtained in order to further improve, default server is returning
Before office system operation note corresponding to user, in addition to whether the device identification of discriminating user is legal, also need to using user
Identity be identified, i.e., terminal acquisition request in also need to include the identity of user.Wherein, the identity include but
It is not limited to:The finger print information of user, pupil information, the use use for unlocking the provable present terminals such as gesture information, face information
The information of family identity.Preferably, if terminal possesses physical characteristics collecting module, the phases such as the heart rate, blood pressure, body temperature of user can be obtained
Close biological information.Default server will be carried out after the biological information of user is obtained with the information of typing
Match somebody with somebody, determine the identity of the user, determine whether legal operation user, so as to avoid because terminal is taken by criminal, and
The situation for stealing user profile occurs.
Preferably, in the present embodiment, the communication between terminal and default server can be by VLAN (i.e.
VPN) technology interacts communication, can also improve the security of data interaction.
In S302, the office system behaviour that the default server obtains request return according to the operation note is received
Note down.
In the present embodiment, default server then extracts after judging that the operation note obtains request as legitimate request
User's mark in acquisition request, and identified according to the user and determine its corresponding office system operation note.Wherein, this is done
Public system operatio record is mainly used in using the operational circumstances of office system on the day of storing user, includes but is not limited to:In operation
Hold, operate the related record informations related to operation such as time started, operation end time, operation destination object.
In the present embodiment, default server is by the transmission link that has built up, by office system from operation note
Terminal is sent to, then the mobile attendance information for performing then according to the office system operation note, determining user.
In S303, according to the operating time corresponding to the office system operation note, the attendance information is determined.
In the present embodiment, terminal is by the operating time corresponding to first operation note in office system operation note,
Work hours as user;By the operating time corresponding to the last item operation note in office system operation note, as
The quitting time of user, then by above-mentioned two temporal information, the attendance information on the day of user is determined, and perform S304 phase
Close operation.
Due to S204 in embodiment corresponding to S102~S103 or Fig. 2 in S304~S305 embodiments corresponding with Fig. 1~
S205 implementation is identical, specifically refers to the phase of the S102~S103 or S204~S205 in the above embodiments
Description is closed, will not be repeated here.
In embodiments of the present invention, terminal determines the letter of turning out for work of user by obtaining the office system operation note of user
Breath, for the company for equipment of not checking card, the function of obtaining the attendance information of user can be also realized, improves setting alarm clock
Method the scope of application.
Referring to Fig. 4, Fig. 4 is that fourth embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock.Wherein,
The executive agent that the method for alarm clock is set in the embodiment of the present invention is terminal.The terminal can be mobile phone, tablet personal computer, notebook
Apparatus such as computer, but this is not limited to, can also be that other have alarm clock function and the terminal device of data-handling capacity.Such as
Shown in Fig. 4, the method for the setting alarm clock that fourth embodiment of the invention provides is compared with the embodiment shown in Fig. 1 and Fig. 2, this hair
The difference of bright embodiment embodiment corresponding with Fig. 1, Fig. 2 is:It is described obtain user attendance information specifically include S401~
S402:
In S401, the default server is logged according to default log-on message;Wherein, the log-on message includes
The entry address of the login name of the user, login password and the default server.
In the present embodiment, user inputs its corresponding log-on message in terminal in advance, and the log-on message is used to log in
Server corresponding to the office system of user, i.e., above-mentioned default server, with the attendance information of user in real.Its
In, the entry address of login name of the log-on message including user, login password and the default server.Need what is illustrated
It is that the entry address can be the network address (IP address) of default server, or the domain of the default server
Name.
In the present embodiment, terminal is then logged in when reaching the opportunity for obtaining attendance information by default log-on message
Default server, will pass through the attendance information that default server obtains user.Specifically, terminal is according to default service
The entry address of device establishes the communication connection with server, and the login name user is inputted into server with login password,
To carry out register.Terminal then performs S402 associative operation after judging to login successfully.
Alternatively, in the present embodiment, typically can not be direct by public network due to predetermined server corresponding to office system
Connection just communicates, it is necessary to by VPN technologies.Therefore, the log-on message is except the log-on message including predetermined server
Outside, further comprises network address information needed for the VLAN where login service device, VLAN login name with
And login password.
In S402, by the default server lookup and the attendance information is obtained.
In the present embodiment, if terminal terminal is after the Successful login default server, inquire about in its server and deposit
The attendance information of the user of storage, after the completion of acquisition, being locally stored in module of terminal will be fetched, complete to obtain the behaviour of attendance information
Make.
Due to S204 in embodiment corresponding to S102~S103 or Fig. 2 in S403~S404 embodiments corresponding with Fig. 1~
S205 implementation is identical, specifically refers to the phase of the S102~S103 or S204~S205 in the above embodiments
Description is closed, will not be repeated here.
In embodiments of the present invention.The log-on message of correlation can be stored in terminal by user in advance, when terminal judges to use
Family is off duty, then logins default server by log-on message, and obtains the attendance information of user, without user's hand again
Dynamic input, reduces the operation of user, improves setting efficiency.
Referring to Fig. 5, Fig. 5 is that fifth embodiment of the invention provides a kind of schematic flow diagram for the method for setting alarm clock.Wherein,
The executive agent that the method for alarm clock is set in the embodiment of the present invention is terminal.The terminal can be mobile phone, tablet personal computer, notebook
Apparatus such as computer, but this is not limited to, can also be that other have alarm clock function and the terminal device of data-handling capacity.Such as
Shown in Fig. 5, the method for the setting alarm clock that fifth embodiment of the invention provides may include:
In S501, according to the positional information of the home address of the user, the positional information of the business address and
Default trip mode, determines that the trip of the user takes.
In the present embodiment, terminal obtains home address and the business address for the user that user is manually entered, so as to root
The positional information of the home address of user is obtained according to the home address of user, the position that business address is obtained according to business address is believed
Breath, can also by the location information of user, determine user's residence time most long two positions respectively as user residence
The positional information of address and the positional information of business address.
In the present embodiment, the trip mode of user again may be by user and be inputted manually, can also pass through end
End matches preferable trip mode as default trip mode according to above-mentioned two address, and alternatively, terminal will match
To all trip modes and corresponding trip it is time-consuming be shown to user, user is according to time-consuming pair of trip mode and trip
Relation list is answered, selects a kind of trip mode as default trip mode, and the time-consuming work of trip corresponding to the trip mode
Taken for the trip of user.
In the present embodiment, terminal is according to home address, business address, be calculated both at a distance of distance, and according to
Should be at a distance of distance and default trip mode, the trip that estimation obtains user takes.
In S502, gone on a journey the time-consuming and default work hours according to described, determine the benchmark alarm clock triggered time.
In the present embodiment, terminal can extrapolate when setting out of user according to the time-consuming and default work hours of going on a journey
Between, and according to the trip time of general user, obtain the benchmark alarm clock triggered time of user.Illustratively, user's is pre-
If the work hours are 9:00, and the trip being calculated was taken as 45 minutes, and general user needs to wash one's face and rinse one's mouth and eat before travel
Breakfast etc. acts, and takes about 30 minutes, therefore user need to be 7:45 get up, therefore the obtained benchmark alarm clock triggered time is 7:
45。
In the present embodiment, the benchmark alarm clock triggered time is that the alarm clock adjusting parameter of user's the previous day is 0, i.e., and less than
, it is necessary to when being gone to work according to the default work hours, corresponding alarm clock triggers the regularization condition of any adjustable strategies of turning out for work of foot
Time.
In S503, the attendance information of user is obtained.
S503 is identical with the implementation of S101 in embodiment corresponding to Fig. 1 in the present embodiment, specifically refers to
The associated description of S101 in embodiment corresponding to Fig. 1, will not be repeated here.
In S504, according to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined.
S504 is identical with the implementation of S102 in embodiment corresponding to Fig. 1 in the present embodiment, specifically refers to
The associated description of S102 in embodiment corresponding to Fig. 1, will not be repeated here.
In S505, based on the alarm clock adjusting parameter and the benchmark alarm clock triggered time, adjust the alarm clock and touch
Send out the time.
In the present embodiment, terminal will be superimposed on the basis of the benchmark alarm clock triggered time and obtain alarm clock adjusting parameter, from
And the alarm clock triggered time after being adjusted.Illustratively, the benchmark alarm clock triggered time is 7:45, and alarm clock adjusting parameter is to push away
Slow 30 minutes, then the alarm clock triggered time after adjusting is 8:15.
In embodiments of the present invention, terminal can estimate user's by obtaining the home address and business address of user
Trip is time-consuming, and according to the time-consuming and default work hours of going on a journey, determines the benchmark alarm clock triggered time of user, then exist
, can be right according to the benchmark alarm clock triggered time and alarm clock adjusting parameter during the alarm clock triggered time for adjusting user every time in the future
The alarm clock triggered time is adjusted, so as to improve the accuracy of setting and set efficiency.
Referring to Fig. 6, Fig. 6 is a kind of terminal schematic block diagram that first embodiment of the invention provides.The terminal 600 can be
The equipment such as mobile phone, tablet personal computer, notebook computer, but this is not limited to, can also be that other have alarm clock function and data
The terminal device of disposal ability.The each unit that the terminal 600 of the present embodiment includes is each in embodiment corresponding to Fig. 1 for performing
Step, referring specifically to the associated description in embodiment corresponding to Fig. 1 and Fig. 1, do not repeat herein.The terminal of the present embodiment
600 include user's attendance information acquiring unit 601, alarm clock adjusting parameter determining unit 602 and alarm clock triggered time adjustment list
Member 603.
User's attendance information acquiring unit 601, for obtaining the attendance information of user;
Alarm clock adjusting parameter determining unit 602, for according to the attendance information and default adjustable strategies of turning out for work, really
Set an alarm adjusting parameter;
Alarm clock triggered time adjustment unit 603, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
Such scheme, terminal is by obtaining the attendance information of user;According to the attendance information and default tune of turning out for work
Whole strategy, determine alarm clock adjusting parameter;The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter, can be daily according to user
Attendance information, determine the work hours and quitting time on the day of user, and by the commuter time of user with it is default go out
Diligent adjustable strategies are matched, and obtain user's alarm clock adjusting parameter, and then user is adjusted in original alarm clock triggered time
It is whole so that user's alarm clock triggered time of second day can match with the actual work hours of user.It is thus, it could be seen that of the invention
Terminal can be adjusted according to the attendance of daily user to the ring time of the alarm clock of second day in embodiment, without user
Set, solved in existing alarm clock setting technology manually, terminal can not adjust alarm clock according to the reality situation on and off duty of user
Ring time, operating procedure is more, sets the problem of less efficient.
Referring to Fig. 7, Fig. 7 is a kind of terminal schematic block diagram that second embodiment of the invention provides.The terminal 700 can be
The equipment such as mobile phone, tablet personal computer, notebook computer, but this is not limited to, can also be that other have alarm clock function and data
The terminal device of disposal ability.The each unit that the terminal 700 of the present embodiment includes is each in embodiment corresponding to Fig. 2 for performing
Step, referring specifically to the associated description in embodiment corresponding to Fig. 2 and Fig. 2, do not repeat herein.The terminal of the present embodiment
700 include customer position information acquiring unit 701, user comes off duty identifying unit 702, user's attendance information acquiring unit 703, make a noise
Clock adjusting parameter determining unit 704, alarm clock triggered time adjustment unit 705.
Customer position information acquiring unit 701, if reaching the default quitting time for current time, obtain the use
The positional information at family;
User comes off duty identifying unit 702, if for position corresponding to the positional information and the business address of the user
The distance between value be more than predetermined threshold value, then perform it is described obtain user on the day of attendance information operation.
User's attendance information acquiring unit 703, for obtaining the attendance information of user;
Alarm clock adjusting parameter determining unit 704, for according to the attendance information and default adjustable strategies of turning out for work, really
Set an alarm adjusting parameter;
Alarm clock triggered time adjustment unit 705, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
Such scheme, terminal is it is first determined whether reach next moment, the then positional information of acquisition user, and calculate use
Family current location and the distance of business address, determine whether user has been moved off company, may then determine whether to need to obtain user
Attendance information.Because terminal obtains the attendance information of user, it is however generally that, it is necessary to certain data on flows be consumed, if terminal
It is that attendance information is obtained by the server of office system, then also needs to be authenticated, the operation such as authentication, therefore in order to avoid
Terminal repeatedly obtains invalid attendance information, and terminal is carrying out the acquisition of attendance information after it is determined that user is off duty
Operation, can disposably acquire complete attendance information so as to realize, reduce the resource consumption and data traffic of terminal
Consumption.
Referring to Fig. 8, Fig. 8 is a kind of terminal schematic block diagram that third embodiment of the invention provides.The terminal 800 can be
The equipment such as mobile phone, tablet personal computer, notebook computer, but this is not limited to, can also be that other have alarm clock function and data
The terminal device of disposal ability.The each unit that the terminal 800 of the present embodiment includes is each in embodiment corresponding to Fig. 3 for performing
Step, referring specifically to the associated description in embodiment corresponding to Fig. 3 and Fig. 3, do not repeat herein.The terminal of the present embodiment
800, which include operation note, obtains request unit 801, operation note receiving unit 802, attendance information determining unit 803, alarm clock tune
Whole parameter determination unit 804, alarm clock triggered time adjustment unit 805.
Operation note obtains request unit 801, and request is obtained for sending operation note to default server;Wherein,
The operation note, which obtains request, includes terminal iidentification;The terminal iidentification is used for the default server according to the terminal
Mark identifies whether the operation note obtains request legal;
Operation note receiving unit 802, request is obtained according to the operation note for receiving the default server
The office system operation note of return;
Attendance information determining unit 803, for the operating time according to corresponding to the office system operation note, determine institute
State attendance information.
Alarm clock adjusting parameter determining unit 804, for according to the attendance information and default adjustable strategies of turning out for work, really
Set an alarm adjusting parameter;
Alarm clock triggered time adjustment unit 805, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
Such scheme, terminal determine the attendance information of user, for simultaneously by obtaining the office system operation note of user
The company for equipment of not checking card, the function of obtaining the attendance information of user can be also realized, improve the method for setting alarm clock
The scope of application.
Referring to Fig. 9, Fig. 9 is a kind of terminal schematic block diagram that fourth embodiment of the invention provides.The terminal 900 can be
The equipment such as mobile phone, tablet personal computer, notebook computer, but this is not limited to, can also be that other have alarm clock function and data
The terminal device of disposal ability..The each unit that the terminal 900 of the present embodiment includes is used to perform in embodiment corresponding to Fig. 7
Each step, referring specifically to the associated description in embodiment corresponding to Fig. 7 and Fig. 7, do not repeat herein.The terminal of the present embodiment
900 include server log unit 901, attendance information query unit 902, alarm clock adjusting parameter determining unit 903, alarm clock triggering
Time adjustment unit 904.
Server log unit 901, for logging in the default server according to default log-on message;Wherein, institute
State the entry address of login name, login password and the default server that log-on message includes the user;
Attendance information query unit 902, for by the default server lookup and obtaining the attendance information.
Alarm clock adjusting parameter determining unit 903, for according to the attendance information and default adjustable strategies of turning out for work, really
Set an alarm adjusting parameter;
Alarm clock triggered time adjustment unit 904, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
The log-on message of correlation can be stored in terminal by such scheme, user in advance, under terminal judges user
Class, then login default server by log-on message, and obtains the attendance information of user, is manually entered again without user,
Reduce the operation of user, improve setting efficiency.
Referring to Figure 10, Figure 10 is a kind of terminal schematic block diagram that fifth embodiment of the invention provides.The terminal 1000 can be with
For equipment such as mobile phone, tablet personal computer, notebook computers, but this is not limited to, can also be that other have alarm clock function and number
According to the terminal device of disposal ability.The each unit that the terminal 1000 of the present embodiment includes is used to perform in embodiment corresponding to Fig. 5
Each step, referring specifically to the associated description in embodiment corresponding to Fig. 5 and Fig. 5, do not repeat herein.The end of the present embodiment
End 1000 includes the time-consuming computing unit 1001 of trip, benchmark alarm time determining unit 1002, user's attendance information acquiring unit
1003rd, alarm clock adjusting parameter determining unit 1004 and benchmark alarm clock triggered time adjustment unit 1005.
The time-consuming computing unit 1001 of trip, positional information, the office ground for the home address according to the user
The positional information of location and default trip mode, determine that the trip of the user takes;
Benchmark alarm time determining unit 1002, for being gone on a journey the time-consuming and default work hours according to described, it is determined that
The benchmark alarm clock triggered time.
User's attendance information acquiring unit 1003, for obtaining the attendance information of user;
Alarm clock adjusting parameter determining unit 1004, for according to the attendance information and default adjustable strategies of turning out for work,
Determine alarm clock adjusting parameter;
Benchmark alarm clock triggered time adjustment unit 1005, for based on the alarm clock adjusting parameter and the benchmark alarm clock
In the triggered time, adjust the alarm clock triggered time.
Such scheme, terminal can be obtained by way of user is manually entered the home address of user positional information and
The positional information of business address, user's residence time most long two positions point can also be determined by the location information of user
The positional information of home address and the positional information of business address not as user.
Referring to Figure 11, Figure 11 is a kind of terminal schematic block diagram that sixth embodiment of the invention provides.This reality as depicted
Applying the terminal in example can include:One or more processors 1101;One or more input equipments 1102, it is one or more
Output equipment 1103 and memory 1104.Above-mentioned processor 1101, input equipment 1102, output equipment 1103 and memory
1104 are connected by bus 1105.Memory 1102 is used to store computer program, and the computer program includes programmed instruction,
Processor 1101 is used for the programmed instruction for performing the storage of memory 1102.Wherein, processor 1101 is arranged to described in calling
Programmed instruction performs:
Obtain the attendance information of user;
According to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;
The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
Alternatively, processor 1101 is arranged to call described program instruction also to perform:
If current time reaches the default quitting time, the positional information of the user is obtained;
If position corresponding to the positional information is more than predetermined threshold value with the distance between the business address of user value,
Then perform it is described acquisition user on the day of attendance information operation.
Alternatively, processor 1101 is arranged to call described program instruction also to perform:
Operation note, which is sent, to default server obtains request;Wherein, the operation note, which obtains request, includes terminal
Mark;The terminal iidentification is used for the default server and identifies that the operation note obtains request according to the terminal iidentification
It is whether legal;
Receive the office system operation note that the default server obtains request return according to the operation note;
According to the operating time corresponding to the office system operation note, the attendance information is determined.
Alternatively, processor 1101 is arranged to call described program instruction also to perform:
The default server is logged according to default log-on message;Wherein, the log-on message includes the user
Login name, the entry address of login password and the default server;
By the default server lookup and obtain the attendance information.
Alternatively, processor 1101 is arranged to call described program instruction also to perform:
According to the positional information of the home address of the user, the positional information of the business address and default trip side
Formula, determine that the trip of the user takes;
Gone on a journey the time-consuming and default work hours according to described, determine the benchmark alarm clock triggered time;
Based on the alarm clock adjusting parameter and the benchmark alarm clock triggered time, the alarm clock triggered time is adjusted.
Such scheme, by the attendance information for obtaining user;According to the attendance information and default adjustment plan of turning out for work
Slightly, alarm clock adjusting parameter is determined;The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter, can be gone out according to user is daily
Diligent information, determines work hours and quitting time on the day of user, and by the commuter time of user and default tune of turning out for work
Whole strategy is matched, and obtains user's alarm clock adjusting parameter, and then user is adjusted in original alarm clock triggered time, with
User's alarm clock triggered time of second day and the actual work hours of user are enable to match.Thus, it could be seen that the present invention is implemented
Terminal can be adjusted according to the attendance of daily user to the ring time of the alarm clock of second day in example, manual without user
Set, solve in existing alarm clock setting technology, terminal can not adjust alarm clock jingle bell according to the reality situation on and off duty of user
Time, operating procedure is more, sets the problem of less efficient.
It should be appreciated that in embodiments of the present invention, alleged processor 1101 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 1102 can include Trackpad, fingerprint adopts sensor and (is used for the finger print information and fingerprint for gathering user
Directional information), microphone etc., output equipment 1103 can include display (LCD etc.), loudspeaker etc..
The memory 1104 can include read-only storage and random access memory, and provide instruction to processor 1101
And data.The a part of of memory 1104 can also include nonvolatile RAM.For example, memory 1104 may be used also
With the information of storage device type.
In the specific implementation, processor 1101, input equipment 1102, output equipment 1103 described in the embodiment of the present invention
The first embodiment of the executable method provided in an embodiment of the present invention for setting alarm clock is to the realization described in the 5th embodiment
Mode, the implementation of the terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes programmed instruction, and described program instruction is realized when being executed by processor:
Obtain the attendance information of user;
According to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;
The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
Further, also realized when the computer program is executed by processor:
If current time reaches the default quitting time, the positional information of the user is obtained;
If position corresponding to the positional information is more than predetermined threshold value with the distance between the business address of user value,
Then perform it is described acquisition user on the day of attendance information operation.
Further, also realized when the computer program is executed by processor:
Operation note, which is sent, to default server obtains request;Wherein, the operation note, which obtains request, includes terminal
Mark;The terminal iidentification is used for the default server and identifies that the operation note obtains request according to the terminal iidentification
It is whether legal;
Receive the office system operation note that the default server obtains request return according to the operation note;
According to the operating time corresponding to the office system operation note, the attendance information is determined.
Further, also realized when the computer program is executed by processor:
The default server is logged according to default log-on message;Wherein, the log-on message includes the user
Login name, the entry address of login password and the default server;
By the default server lookup and obtain the attendance information.
Further, also realized when the computer program is executed by processor:
According to the positional information of the home address of the user, the positional information of the business address and default trip side
Formula, determine that the trip of the user takes;
Gone on a journey the time-consuming and default work hours according to described, determine the benchmark alarm clock triggered time;
Based on the alarm clock adjusting parameter and the benchmark alarm clock triggered time, the alarm clock triggered time is adjusted.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store meter
The medium of calculation machine program.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
- A kind of 1. method that alarm clock is set, it is characterised in that including:Obtain the attendance information of user;According to the attendance information and default adjustable strategies of turning out for work, alarm clock adjusting parameter is determined;The alarm clock triggered time is adjusted based on the alarm clock adjusting parameter.
- 2. according to the method for claim 1, it is characterised in that the attendance information for obtaining user specifically includes:If current time reaches the default quitting time, the positional information of the user is obtained;If position corresponding to the positional information is more than predetermined threshold value with the distance between the business address of user value, hold The operation of the row attendance information for obtaining user.
- 3. method according to claim 1 or 2, it is characterised in that the attendance information for obtaining user specifically includes:Operation note, which is sent, to default server obtains request;Wherein, the operation note, which obtains request, includes terminal iidentification; The terminal iidentification is used for the default server and identifies whether the operation note obtains request according to the terminal iidentification It is legal;Receive the office system operation note that the default server obtains request return according to the operation note;According to the operating time corresponding to the office system operation note, the attendance information is determined.
- 4. method according to claim 1 or 2, it is characterised in that the attendance information for obtaining user includes:Default server is logged according to default log-on message;Wherein, the log-on message include the user login name, The entry address of login password and the default server;By the default server lookup and obtain the attendance information.
- 5. method to set up according to claim 1, it is characterised in that the method to set up of the alarm clock also includes:According to the positional information of the home address of the user, the positional information of the business address and default trip mode, Determine that the trip of the user takes;Gone on a journey the time-consuming and default work hours according to described, determine the benchmark alarm clock triggered time;It is described to be specially based on the alarm clock adjusting parameter adjustment alarm clock triggered time:Based on the alarm clock adjusting parameter and the benchmark alarm clock triggered time, the alarm clock triggered time is adjusted.
- A kind of 6. terminal, it is characterised in that including:User's attendance information acquiring unit, for obtaining the attendance information of user;Alarm clock adjusting parameter determining unit, for according to the attendance information and default adjustable strategies of turning out for work, determining alarm clock Adjusting parameter;Alarm clock triggered time adjustment unit, for adjusting the alarm clock triggered time based on the alarm clock adjusting parameter.
- 7. terminal according to claim 6, it is characterised in that the user information acquisition unit occurs and specifically included:Customer position information acquiring unit, if reaching the default quitting time for current time, obtain the position of the user Confidence ceases;User comes off duty identifying unit, if for corresponding to the positional information between position and the business address of the user away from From value be more than predetermined threshold value, then perform it is described obtain user on the day of attendance information operation.
- 8. the terminal according to claim 6 or 7, it is characterised in that user's attendance information is obtained and specifically included:Operation note obtains request unit, and request is obtained for sending operation note to default server;Wherein, the operation Record, which obtains request, includes terminal iidentification;The terminal iidentification identifies for the default server according to the terminal iidentification Whether the operation note obtains request legal;Operation note receiving unit, doing for request return is obtained according to the operation note for receiving the default server Public system operatio record;Attendance information determining unit, for the operating time according to corresponding to the office system operation note, it is determined that described turn out for work Information.
- 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performed such as any one of claim 1-5 Methods described.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710658488.0A CN107517307A (en) | 2017-08-03 | 2017-08-03 | A kind of method and its terminal that alarm clock is set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710658488.0A CN107517307A (en) | 2017-08-03 | 2017-08-03 | A kind of method and its terminal that alarm clock is set |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107517307A true CN107517307A (en) | 2017-12-26 |
Family
ID=60723110
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710658488.0A Withdrawn CN107517307A (en) | 2017-08-03 | 2017-08-03 | A kind of method and its terminal that alarm clock is set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107517307A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804507A (en) * | 2018-04-16 | 2018-11-13 | 北京嘀嘀无限科技发展有限公司 | The address location determining method and system of user |
CN111049986A (en) * | 2019-12-20 | 2020-04-21 | 深圳市优必选科技股份有限公司 | Alarm clock setting method and terminal |
CN112801634A (en) * | 2021-03-09 | 2021-05-14 | 深圳市欧瑞博科技股份有限公司 | Intelligent alarm clock setting method and device and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130258818A1 (en) * | 2012-03-30 | 2013-10-03 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN103402021A (en) * | 2013-08-02 | 2013-11-20 | 珠海市魅族科技有限公司 | Method for adjusting business arrangement time and terminal |
CN103529685A (en) * | 2013-09-22 | 2014-01-22 | 天津大学 | Multifunctional intelligent alarm clock based on travelling condition detection |
CN106127452A (en) * | 2016-06-27 | 2016-11-16 | 陈包容 | A kind of method and device of intelligently setting attendance checking calendar |
CN106170041A (en) * | 2016-07-12 | 2016-11-30 | 乐视控股(北京)有限公司 | Alarm clock prompting method, device and terminal |
CN106210308A (en) * | 2016-07-08 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of method of intelligent reminding and terminal |
-
2017
- 2017-08-03 CN CN201710658488.0A patent/CN107517307A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130258818A1 (en) * | 2012-03-30 | 2013-10-03 | Sony Corporation | Information processing apparatus, information processing method, and program |
CN103402021A (en) * | 2013-08-02 | 2013-11-20 | 珠海市魅族科技有限公司 | Method for adjusting business arrangement time and terminal |
CN103529685A (en) * | 2013-09-22 | 2014-01-22 | 天津大学 | Multifunctional intelligent alarm clock based on travelling condition detection |
CN106127452A (en) * | 2016-06-27 | 2016-11-16 | 陈包容 | A kind of method and device of intelligently setting attendance checking calendar |
CN106210308A (en) * | 2016-07-08 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of method of intelligent reminding and terminal |
CN106170041A (en) * | 2016-07-12 | 2016-11-30 | 乐视控股(北京)有限公司 | Alarm clock prompting method, device and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804507A (en) * | 2018-04-16 | 2018-11-13 | 北京嘀嘀无限科技发展有限公司 | The address location determining method and system of user |
CN111049986A (en) * | 2019-12-20 | 2020-04-21 | 深圳市优必选科技股份有限公司 | Alarm clock setting method and terminal |
CN112801634A (en) * | 2021-03-09 | 2021-05-14 | 深圳市欧瑞博科技股份有限公司 | Intelligent alarm clock setting method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102069863B1 (en) | Apparatas and method for controlling a input means of payment function in an electronic device | |
US9628600B2 (en) | User identification in cell phones based on skin contact | |
CN105393193B (en) | Wearable device multi-mode system | |
CN105493073A (en) | Electronic device and inputted signature processing method of electronic device | |
CN107113611B (en) | User authentication confidence based on multiple devices | |
CN103426208A (en) | Cell phone attendance system based on WiFi signals | |
CN105078409A (en) | Information management method and electronic device | |
CN106030511A (en) | Method and apparatus for processing biometric information in electronic device | |
CN107729781A (en) | The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium | |
CN109636401A (en) | A kind of method of payment and system based on the micro- expression of user | |
CN107612901A (en) | One kind applies encryption method and terminal | |
CN107517307A (en) | A kind of method and its terminal that alarm clock is set | |
CN107820210A (en) | One kind is registered method, mobile terminal and computer-readable recording medium | |
CN107193598A (en) | Application starting method, mobile terminal and computer readable storage medium | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN107608724A (en) | A kind of method, terminal and computer-readable recording medium for managing application program | |
CN107491300A (en) | The reminding method and its terminal of a kind of intelligent function | |
CN107920162A (en) | Control method, mobile terminal and the computer-readable recording medium of alarm clock | |
CN107908942A (en) | Electronic equipment, display system, integrated control device and biological characteristic verification method | |
CN107370872A (en) | Method, terminal and the control device of a kind of terminal lock machine and control terminal lock machine | |
CN108781234A (en) | Function control method and terminal | |
CN107402875A (en) | A kind of log recording method, terminal and computer-readable recording medium | |
CN108491142A (en) | A kind of control method of mobile terminal, mobile terminal and storage medium | |
CN108181980A (en) | A kind of terminal control method, terminal and computer readable storage medium | |
CN109992380A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171226 |
|
WW01 | Invention patent application withdrawn after publication |