CN103186338B - A kind of method and electronic equipment setting clock - Google Patents

A kind of method and electronic equipment setting clock Download PDF

Info

Publication number
CN103186338B
CN103186338B CN201110460542.3A CN201110460542A CN103186338B CN 103186338 B CN103186338 B CN 103186338B CN 201110460542 A CN201110460542 A CN 201110460542A CN 103186338 B CN103186338 B CN 103186338B
Authority
CN
China
Prior art keywords
clock
line segment
moment
interface
minute hand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110460542.3A
Other languages
Chinese (zh)
Other versions
CN103186338A (en
Inventor
甘大勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110460542.3A priority Critical patent/CN103186338B/en
Publication of CN103186338A publication Critical patent/CN103186338A/en
Application granted granted Critical
Publication of CN103186338B publication Critical patent/CN103186338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and the electronic equipment that set clock, the method of this setting clock is applied to an electronic equipment, this electronic equipment comprises touch sensing unit and display unit, when this display unit shows a clock interface, obtain a continuous input trajectory on the display unit with region corresponding to clock interface by touch sensing unit; According to continuous input trajectory, determine the input starting point of continuous input trajectory, input terminal and track flex point; Using the line between input starting point and track flex point as the first line segment, using the line between track flex point and input terminal as the second line segment; According to length relation and the position relationship of the first line segment and the second line segment, determine the second clock moment that input trajectory is corresponding; Clock setting is carried out according to the second clock moment.The present invention can be simple, completes the setting of clock easily.

Description

A kind of method and electronic equipment setting clock
Technical field
The present invention relates to technical field of hand gesture recognition, relate to a kind of method and the electronic equipment that set clock in particular.
Background technology
Touch-screen is a kind of novel man-machine interaction mode, compared with traditional keyboard, adopts touch-screen to carry out input operation convenient, quick.Current touch-screen has been applied in various electronic equipment, and the electronic equipment such as mobile phone, PDA as being provided with touch-screen is more prevalent.
People often need to set the clock in electronic equipment in daily life, such as, when user finds that time of showing in electronic equipment is inaccurate or user sets alarm time, all need to relate to the operation that clock resets or adjusts.For touch-screen electronic equipment, the mode that existing clock setting or regulative mode are generally numeral input or input of rolling realizes, and the operating process that these modes carry out clock setting is loaded down with trivial details, consuming time longer.For touch-screen mobile phone, when user needs to carry out clock adjustment, open clock adjustment interface, this clock adjustment interface is quarter-bell clocking interface or timing interface, if adopt the mode of numeral input, then user needs repeatedly the virtual digit button of specifying that point touching shields, and to distinguish the numeral of input clock and minute correspondence, just can complete the operation of setting clock; If adopt the mode of input of rolling, in the process of adjustment clock, then there will be the digital bottom brace of clock and minute correspondence respectively, carry out numeral by constantly pulling this digital bottom brace to roll, and then select clock and minute each self-corresponding time figure respectively.
As known from the above, the mode of existing setting clock, operating process is loaded down with trivial details, complicated, and therefore, those skilled in the art's technical matters in the urgent need to address is: how can realize clock setting fast and easily.
Summary of the invention
In view of this, the invention provides a kind of method and the electronic equipment that set clock, can be simple, conveniently realize the setting of clock.
For achieving the above object, the invention provides following technical scheme: a kind of method setting clock, is applied to an electronic equipment, and described electronic equipment comprises touch sensing unit and display unit, and the method comprises:
When described display unit shows a clock interface, on described display unit, obtain a continuous input trajectory by described touch sensing unit with region corresponding to described clock interface;
According to described continuous input trajectory, determine the input starting point of described continuous input trajectory, input terminal and track flex point;
Using the line between described input starting point and described track flex point as the first line segment, using the line between described track flex point and described input terminal as the second line segment;
According to the position relationship of described first line segment and described second line segment, determine the second clock moment corresponding to described continuous input trajectory;
Clock setting is carried out according to the described second clock moment.
Preferably, the described position relationship according to described first line segment and described second line segment, determine to comprise the second clock moment that described input trajectory is corresponding:
Using the pointer of line segment shorter in described first line segment and the second line segment as hour hands, using the pointer of line segment longer in described first line segment and the second line segment as minute hand, according to the position relationship of described hour hands and minute hand, determine the described second clock moment.
Preferably, the described position relationship according to described first line segment and described second line segment, determine to comprise the second clock moment that described input trajectory is corresponding:
Using the pointer of described first line segment as hour hands, using the pointer of described second line segment as minute hand, determine the position relationship of described hour hands and minute hand;
According to the position relationship of described hour hands and minute hand, determine moment time of this pointer and minute hand instruction, using this moment time as the described second clock moment.
Preferably, at the position relationship according to described first line segment and described second line segment, when determining second clock moment corresponding to described input trajectory, also comprise:
Read clock dial plate on described clock interface, and on described clock face, demonstrate the described second clock moment.
Preferably, read clock dial plate on described clock adjustment interface, described clock face demonstrates the described second clock moment, comprising:
Using the position of the position at line segment place shorter in described first line segment and the second line segment as the minute hand place of described clock face, using the hour hands position of the position at line segment place longer in described first line segment and the second line segment as described clock face;
According to described hour hands position and described minute hand position, described clock face shows described hour hands and minute hand, and on described clock face, demonstrate the described second clock moment.
Preferably, also comprise:
Identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time;
Clock setting is carried out according to described 3rd clock time.
Preferably, described clock interface comprises: the interface zone of read clock, or the interface that clock regulates;
Describedly carry out clock setting according to the described second clock moment, comprising:
The time of current for described electronic equipment display is adjusted to the described second clock moment.
Preferably, described clock display interface comprises: the interface of alarm clock setting;
Describedly carry out clock setting according to the described second clock moment, comprising:
The alarm clock jingle bell moment of described electronic equipment is set as the described second clock moment.
On the other hand, present invention also offers a kind of electronic equipment, comprising:
Display unit, shows a clock interface on the display interface at described electronic equipment;
Touch sensing unit, obtains a continuous input trajectory for region corresponding to described clock interface;
Trajectory analysis unit, for according to described continuous input trajectory, determines the input starting point of described continuous input trajectory, input terminal and track flex point;
Line segment determining unit, for using the line between described input starting point and described track flex point as the first line segment, using the line between described track flex point and described input terminal as the second line segment;
Clock determining unit, for the position relationship according to described first line segment and described second line segment, determines the second clock moment corresponding to described continuous input trajectory;
Clock setting unit, for carrying out clock setting according to the described second clock moment.
Preferably, described clock determining unit is specially: for using the pointer of line segment shorter in described first line segment and the second line segment as hour hands, using the pointer of line segment longer in described first line segment and the second line segment as minute hand, according to the position relationship of described hour hands and minute hand, determine the described second clock moment.
Preferably, described clock determining unit, be specially: for using the pointer of described first line segment as hour hands, using the pointer of described second line segment as minute hand, determine the position relationship of described hour hands and minute hand, and according to the position relationship of described hour hands and minute hand, determine moment time of this pointer and minute hand instruction, using this moment time as the described second clock moment.
Preferably, this electronic equipment also comprises: dial plate display unit, for when described clock determining unit determines the described second clock moment, and read clock dial plate on described clock interface, and on described clock face, demonstrate the described second clock moment.
Preferably, described dial plate display unit, comprising:
Pointer position determining unit, for using the position of the position at line segment place shorter in described first line segment and the second line segment as the minute hand place of described clock face, using the hour hands position of the position at line segment place longer in described first line segment and the second line segment as described clock face;
Moment display unit, for according to described hour hands position and described minute hand position, described clock face shows described hour hands and minute hand, and on described clock face, demonstrates the described second clock moment.
Preferably, this electronic equipment also comprises:
Adjustment unit, for identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time;
Clock adjustment unit, for carrying out clock setting according to described 3rd clock time.
Preferably, described display unit is specially: the interface zone representing read clock on the display interface at described electronic equipment, or represents clock adjustment interface;
Described clock setting unit is specially: for the time of current for described electronic equipment display is adjusted to the described second clock moment.
Preferably, described display unit is specially: on the display interface at described electronic equipment, represent alarm clock setting interface;
Described clock setting unit is specially: for the alarm clock jingle bell moment of described electronic equipment is set as the described second clock moment.
Known via above-mentioned technical scheme, compared with prior art, the invention provides a kind of method and the electronic equipment that set clock, when display unit shows a clock interface, obtain a continuous input trajectory on the display unit with region corresponding to clock interface by touch sensing unit; According to continuous input trajectory, determine the input starting point of continuous input trajectory, input terminal and track flex point, and then using the line between input starting point and track flex point as the first line segment, using the line between track flex point and described input terminal as the second line segment; Thus according to the length relation of the first line segment and described second line segment and position relationship, determine the second clock moment that input trajectory is corresponding, and carry out clock setting according to this second clock moment.The present invention in the process of setting clock without the need to repeated multiple times input the digital or digital bottom brace that slides, just the adjustment realizing clock that can be fairly simple, simultaneously in the process of carrying out clock adjustment, without the need to carrying out input operation at the digital keys of specifying or the drop-down digital bar position of specifying, be more convenient for user to the clock setting of electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 shows a kind of schematic flow sheet setting the embodiment of the method 1 of clock of the present invention;
Fig. 2 shows a kind of schematic flow sheet setting the embodiment of the method 2 of clock of the present invention;
Fig. 3 shows the continuous input trajectory schematic diagram on the clock interface of mobile phone;
Fig. 4 shows the schematic diagram according to the continuous input trajectory display second clock moment on the clock interface of mobile phone;
Fig. 5 shows the schematic diagram of the another kind of implementation according to the continuous input trajectory display second clock moment on the clock interface of mobile phone;
Fig. 6 shows a kind of schematic flow sheet setting the embodiment of the method 3 of clock of the present invention;
Fig. 7 shows a kind of schematic flow sheet setting the embodiment of the method 4 of clock of the present invention;
Fig. 8 shows the structural representation of a kind of electronic equipment embodiment 1 of the present invention;
Fig. 9 shows the structural representation of a kind of electronic equipment embodiment 2 of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method and the electronic equipment that set clock, the method of this setting clock is applied to an electronic equipment, this electronic equipment comprises touch sensing unit and display unit, when this display unit shows a clock interface, obtain a continuous input trajectory on the display unit with region corresponding to clock interface by touch sensing unit; According to continuous input trajectory, determine the input starting point of continuous input trajectory, input terminal and track flex point; Using the line between input starting point and track flex point as the first line segment, using the line between track flex point and input terminal as the second line segment; According to length relation and the position relationship of the first line segment and the second line segment, determine the second clock moment that input trajectory is corresponding; Clock setting is carried out according to the second clock moment.The present invention in the process of setting clock without the need to repeated multiple times input the digital or digital bottom brace that slides, just the adjustment of clock can be realized, simultaneously in the process of carrying out clock adjustment, without the need to carrying out input operation at the digital keys of specifying or the drop-down digital bar position of specifying, thus realize the clock setting that simply, conveniently completes electronic equipment.
Below in conjunction with accompanying drawing, a kind of method setting clock of the present invention is described in detail.
See Fig. 1, show a kind of structural representation setting the embodiment of the method 1 of clock of the present invention, the method of the present embodiment is applied to electronic equipment, this electronic equipment comprises touch sensing unit and display unit, this electronic equipment can for being provided with mobile phone, the on hand computer etc. of touch-screen, and the method for the present embodiment comprises:
Step 101: when display unit shows a clock interface, obtains a continuous input trajectory on the display unit by touch sensing unit with region corresponding to this clock interface.
Display unit is the module realizing displaying interface in this electronic equipment, can represent clock interface by this display unit on the display interface of electronic equipment.
Wherein, this clock interface can be the interface being interpreted as that electronic equipment carries out clock and represents, and representing user in interface at clock can know current moment or time point intuitively.As the interface at the place, region of displaying time in mobile phone screen.Interface zone for the displaying time of other electronic equipments is suitable for too.
This clock interface also can be the interface regulating clock, can adjust in this interface to the time of the current realization of electronic equipment.As, for mobile phone, when user finds that time that mobile phone shows is inaccurate, the Timing interface of mobile phone will be opened, this mobile phone in this interface, the time that mobile phone shows corrected, regulates or change this moment time, so that can demonstrate the moment point after adjustment.
This clock interface also can be understood as alarm clock or quarter-bell setting interface, can jingle bell moment of setting alarm clock in this interface, or the adjustment original set alarm clock moment.As, still for mobile phone, when user needs to set a quarter-bell by mobile phone, then first open the interface entering into mobile phone setting alarm clock, carry out the setting in alarm clock jingle bell moment on the surface, or the alarm time of original setting is adjusted.
In invention, the touch sensing unit of electronic equipment can be understood as the module of touch operation on touch-screen in induced electricity subset, as sensor, can also comprise the processor etc. be connected with sensor.
When user carries out touch operation in the region corresponding to the clock interface of electronic equipment, what touch sensing unit can respond to this clock interface slidably inputs gesture, and then slidably input gesture according to the user sensed, obtain the continuous input trajectory corresponding with user's slide.
It should be noted that, this continuous input trajectory got in the present invention is made up of the broken line of two, there is certain angle between these two broken lines.
Step 102: according to the continuous input trajectory obtained, determines the input starting point of this continuous input trajectory, input terminal and track flex point.
The slide gesture on electronic equipment display interface is represented due to this continuous input trajectory, just can identify according to this continuous input trajectory starting point, terminal and the flex point that on display interface, gesture inputs, this flex point is the intersection point of two broken lines in the track of input continuously.The starting point of gesture input, terminal and flex point are also just the input starting point of this continuous input trajectory, input terminal and track flex point respectively.
Step 103: using the line between this input starting point and track flex point as the first line segment, using the line between track flex point and input terminal as the second line segment.
Clock time to be set can be determined in order to follow-up, after determining the input starting point of input continuously, input terminal and track flex point, can using input starting point and track flex point between line as the first line segment, using track flex point and input terminal between line as the second line segment.
Wherein, this first line segment and the second line segment can be that user directly touches two broken lines sliding and obtain on electronic equipment display interface.Further, two curves because the slip of user on display interface touches what may mark, if the line between inputting between contact and track flex point may be bending, in order to user can be determined more accurately in display interface by inputting the time that gesture inputs, the line segment that input starting point and track flex point can be connected to form in the present invention is as the first line segment, and line segment track flex point and input terminal are connected to form is as the second line segment.
Step 104: according to the position relationship of the first line segment and the second line segment, determine the second clock moment corresponding to continuous input trajectory.
After the first line segment and the second line segment are determined, the length relation of this first line segment and the second line segment, and first line segment and the position relationship residing for the second line segment just determined, this position relationship comprises the angled relationships etc. between the position at two line segment places and two line segments.
According to the position relationship of the first line segment and the second line segment, when determining the second clock moment corresponding to continuous input trajectory, can by the position relationship in corresponding for the position relationship between the first line segment and the second line segment clock and watch between hour hands and minute hand, thus moment time that the composition position relationship possibility estimating this first line segment and the second line segment is corresponding, and according to the corresponding relation of the first line segment preset and the second line segment and hour hands or minute hand, determine the clock time that this input trajectory is corresponding and second clock moment.
Specifically according to the length relation of the first line segment and the second line segment and position relationship, the second clock moment corresponding to continuous input trajectory can be determined.Generally, it is different when user slidably inputs length with the second line segment of the first line segment corresponding to sliding trace of obtaining, can preset the pointer of line segment shorter in the first line segment and the second line segment as hour hands, using the pointer of line segment longer in the first line segment and the second line segment as minute hand, according to the position relationship of these hour hands and minute hand, determine the second clock moment.As, the length of the first line segment is less than this second line segment length, then using the pointer of this first line segment as hour hands, the position at this first line segment place is as the pointer position of these hour hands.Otherwise, then using the pointer of this second line segment as hour hands.
Certainly, also can set the pointer of line segment longer in the first line segment and the second line segment as hour hands, and using the hour hands of line segment shorter in the first line segment and the second line segment as minute hand.
In addition, specific implementation is according to the position relationship of the first line segment and the second line segment, determine that the mode in the second clock moment corresponding to continuous input trajectory can also be: using the pointer of the first line segment as hour hands, the position at the first line segment place is as hour hands position, using the pointer of the second line segment as minute hand, the position at the second line segment place is as the position of minute hand, and then according to the position relationship of described hour hands and minute hand, determine moment time of this pointer and minute hand instruction, using this moment time as the described second clock moment, thus obtain moment time corresponding to continuous input trajectory.Certainly, also can be using the pointer of the second line segment as hour hands, and using the pointer of the first line segment as minute hand.
Wherein, this second clock moment refers to moment time determined according to this input trajectory.The second clock moment is to distinguish with the time of current display in this electronic equipment or the time of quarter-bell original start herein.That is, using moment time of the current display of this clock interface in current time or electronic equipment as the first clock time, and using the time moment corresponding with the continuous input trajectory of user as the second clock moment.Such as, on the clock display interface of electronic equipment, the time of current realization is 9:00, then the first clock time is 9:00, and determine that hour hands and minute hand position and angled relationships obtain moment time according to the first line segment of continuous input trajectory and the second line segment, be assumed to be 3:45, then the second clock moment that this continuous input trajectory is corresponding is 3:45.
Step 105: carry out clock setting according to the second clock moment determined.
Determine, to after the second clock moment, just can carry out the setting in second clock moment, according to the difference of clock interface, setting the second clock moment can be adjust current display time or directly alarm clock is set as this moment etc.
In the present embodiment, when user needs to carry out clock setting, gesture input can be carried out by the clock interface that demonstrates at electronic equipment display unit, the sensing unit of this electronic equipment can according to gesture input acquisition one input trajectory continuously of user, and determine the input starting point of this continuous input trajectory, input terminal and track flex point, using the line between input starting point and track flex point as the first line segment, using the line between input terminal and track flex point as the second line segment, and then determine according to the position relationship of the second line segment and the second line segment the second clock moment that continuous input trajectory is corresponding, and then execution carries out the operation of clock setting according to this second clock moment, in the process of carrying out clock setting, as long as user marks corresponding with waiting to set the moment two according to the time of setting on this clock interface can represent hour hands and minute hand, and there is the line segment of flex point, electronic equipment carries out analysis to continuous input trajectory and identifies, just corresponding moment time can be determined, and then set according to this second clock moment, operating process is simple, convenient.
In actual applications, according to the continuous input trajectory on display interface may and user's moment time to be set between there is certain deviation, therefore, this second clock moment can wait as one the discreet value setting the moment, and determine that one is treated the setting-up time moment accurately, sets according to this second clock moment and the follow-up adjustment gesture of user.To introduce in detail below.
See Fig. 2, show a kind of schematic flow sheet setting the embodiment of the method 2 of clock of the present invention, the method for the present embodiment is applied to electronic equipment, and this electronic equipment comprises touch sensing unit and display unit, and the method for the present embodiment comprises:
Step 201: when display unit shows a clock interface, obtains a continuous input trajectory on the display unit by touch sensing unit with region corresponding to this clock interface.
Step 202: according to the continuous input trajectory obtained, determines the input starting point of this continuous input trajectory, input terminal and track flex point.
Step 203: using the line between this input starting point and track flex point as the first line segment, using the line between track flex point and input terminal as the second line segment.
Step 202 is similar to the operating process of step 103 to step 101 in embodiment 1 to the operating process of step 203, does not repeat them here.
Step 204: using the pointer of line segment shorter in the first line segment and the second line segment as hour hands, using the pointer of line segment longer in the first line segment and the second line segment as minute hand, according to the position relationship of these hour hands and minute hand, determine the second clock moment corresponding with these hour hands and minute hand position relationship.
Using the pointer of line segment shorter in the first line segment and the second line segment as hour hands, and using the pointer of line segment longer in the first line segment and the second line segment as minute hand, and then determine moment time that these hour hands and minute hand indicate, using this moment time as the second clock moment according to the position of hour hands and minute hand.
Step 205: according to the second clock moment determined, read clock dial plate on clock interface, and on described clock face, demonstrate the described second clock moment.
After determining the second clock moment, a clock face can also be shown in this clock display interface, and then demonstrate this second clock moment by the hour hands on clock face and minute hand.Concrete, can using the position of the position at line segment place shorter in the first line segment and the second line segment as the minute hand place of clock face, using the hour hands position of the position at line segment place longer in the first line segment and the second line segment as clock face.According to this hour hands position and minute hand position, clock face shows described hour hands and minute hand, and on clock face, demonstrate the second clock moment.
In order to clearly describe the operation of step 204 and step 205, be described for the clock setting of mobile phone below, see Fig. 3, at certain clock interface (setting is the interface of the interface of displaying time, the interface of regulation time or setting alarm clock etc.) of mobile phone, if user needs to carry out clock setting, then can be inputted by gesture on this clock interface, obtain a continuous print sliding trace, this continuous sliding trace is made up of two sections of line segments, and this continuous input trajectory forms by by input starting point, track flex point and input terminal.
Continuous input trajectory in Fig. 3 is analyzed by electronic equipment, using the line between input starting point and track flex point as the first line segment, using track flex point as the second line segment, the second clock moment can be determined according to the length relation of this first line segment and the second line segment and position relationship, in order to user can intuitively to seeing the second clock moment determined, also be convenient to this second clock moment of the follow-up adjustment of user, can this second clock moment be presented on a clock face, as shown in Figure 4.In the diagram, because the first line segment is shorter, can using the hour hands of the first line segment as this clock face, using the minute hand of the second line segment as this clock face, and then determine moment time indicated by this clock face, using this moment time as the second moment time according to the position of these hour hands and minute hand and angle.
It should be noted that, in the present embodiment, in order to clearly describe the solution of the present invention, when determining the second clock moment corresponding with continuous input trajectory, and on display interface, show a clock face to indicate the process in this second clock moment, all to determine hour hands and minute hand position according to the length relation of the first line segment and the second line segment and position relationship, and then obtain the description that the second clock moment carries out.But the mode in second clock moment is determined for other and on clock face, represents the second clock moment, applicable equally in the present embodiment.Such as, preset the pointer of the first line segment as hour hands, using the pointer of the second line segment as minute hand, then when carrying out clock face display, can using the hour hands position of the first line segment as this clock face, using the minute hand position of the second line segment as this clock face, thus show these hour hands and minute hand on this clock face, obtain the second clock moment.
Step 206: identify user on this clock face to the operation of transferring of hour hands and minute hand, according to the transfer track of user to hour hands and minute hand, the moment that clock face shows is adjusted, obtains the 3rd clock time.
When clock face shows this second clock moment by hour hands and minute hand, if user finds to there is deviation between this second clock moment and oneself time to be set, then can transfer to this clock and minute hand on this clock face of this clock interface.Electronic equipment sense user to these hour hands and/or minute hand transfer operation time, according to the transfer direction of user on hour hands or minute hand, determine the rotation direction of hour hands or minute hand, and then realize adjusting the moment that clock face shows, obtain the 3rd clock time.
Such as, the second clock moment is 3:00, and the moment of user's actual needs setting is 3:10, then finger is placed on the minute hand on the dial plate shown in Fig. 4 by user, then as required along sliding clockwise or counterclockwise, thus realizes the adjustment to this minute hand position, reach the adjustment in moment time set minute, minute hand to be transferred to 10 points of corresponding positions, and then be that the hour hands of clock face change accordingly by this, the display moment of this clock face is adjusted to 3:10.
Wherein, the 3rd clock time correspondence is transferred after operation, and in the moment that this clock face shows, generally, the 3rd clock time is different from the second clock moment.But also likely user finds after transferring that the second clock moment is the moment needing setting, may continue to adjust the hour hands on this clock face and minute hand, makes the 3rd clock time that obtains identical with the second clock moment.
Step 207: carry out clock setting according to the 3rd clock time.
When being carried out to after adjustment obtains the 3rd clock time, just can carry out clock setting according to the 3rd clock time the second clock moment.The process set the 3rd clock time is identical with the setting second clock moment described in embodiment 1.
In the present embodiment, the second clock moment corresponding with this input gesture is determined according to the input gesture of user on clock interface, and show this second clock moment at this clock interface by a clock face, if there is deviation in the moment that user is to be set and second clock moment, then user directly can transfer on this clock face, operation of transferring in this clock face of electronic equipment identification, determine the 3rd clock time, and then can set according to the 3rd clock time, thus convenient, while succinctly carrying out clock setting, ensure that the consistance of the setting-up time of input and user's time actual to be set.
It should be noted that, in order to user can adjust the second clock moment in the present embodiment, when determining the second clock moment, this clock interface shows a clock face, and this second clock moment is shown on this clock face, so that according to the moment that this clock face demonstrates, user determines whether this second clock moment exists deviation with the moment to be set, and then obtain the 3rd clock time by minute hand or hour hands on this clock face of adjustment.But the present invention is not limited to this, the present invention, also can not read clock dial plate when determining the second clock moment, only retains user and to slide the sliding trace that gesture input obtains, and on this clock interface, the second clock moment is shown in digital form, as shown in Figure 5.If user finds that the second clock moment determined exists deviation with the moment to be set, user can slidably input track adjustment to what this clock interface showed, concrete is identical with the operation of minute hand with the hour hands transferred on dial plate, two line segments slidably inputed by this this in track carry out the adjustment of realization to the time of transferring, obtain the 3rd clock time, and the 3rd clock time is presented on this clock interface in digital form.
See Fig. 6, show a kind of schematic flow sheet setting the embodiment of the method 3 of clock of the present invention, the method for the present embodiment is applied to electronic equipment, and this electronic equipment comprises touch sensing unit and display unit, and the method for the present embodiment comprises:
Step 601: the interface being represented a read clock by display unit, obtains a continuous input trajectory by the region of touch sensing unit corresponding to the interface of this read clock.
Show the interface of current time in the interface of electronic equipment read clock i.e. electronic equipment, above on the main interface of mobile phone, show the time, the interface of read clock just can be thought in this main interface.
Corresponding, the region corresponding to the interface of this read clock, can be understood as the specified scope region in displaying time moment on this interface.In certain limit as the position of interface display time main on mobile phone, user can carry out input gesture, to carry out clock setting or adjustment, and for example, notebook computer can at the lower right displaying time at main interface, also can detect user in the position specified scope of then this displaying time and slidably input gesture, and then carry out follow-up time adjustment according to slidably inputing track.
Step 602: according to the continuous input trajectory obtained, determines the input starting point of this continuous input trajectory, input terminal and track flex point.
Step 603: according to the position relationship of the first line segment and the second line segment, determine the second clock moment corresponding to continuous input trajectory.
Wherein, this second clock moment is that current time shown in the interface with this read clock distinguishes, using the time of current for the interface of this read clock display as the first clock time, and moment time determined according to continuous input sliding trace by current time is as the second clock moment.Such as, for mobile phone, when being carried out clock by the present invention and regulating, the time of current display on the interface of the read clock of this mobile phone is 8:10, and be 8:30 at current time according to moment time that continuous input trajectory is determined, then current time and 8:10 are the first clock time, and the moment determined and 8:30 are the second clock moment.
Directly the first clock time that this display interface determined shows can be changed to the second clock moment in the present invention, regulate to realize clock.Certainly, also can to carry out the second clock moment after adjustment obtains the 3rd clock time at the follow-up track of transferring according to user, then the first clock time is changed to the 3rd clock time, which kind of mode of concrete employing can set as required.
Step 604: show a clock face on the interface of this read clock, and this second clock moment is demonstrated on described clock face.
Step 605: identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to hour hands and minute hand, the moment that clock face shows is adjusted, obtains the 3rd clock time.
The implementation procedure of step 602 to 605 see the description of embodiment 1 and embodiment 2, can not repeat them here.
Step 606: the moment shown on the interface of this read clock is adjusted to the 3rd clock time.
After determining the 3rd clock time, just the current temporal instance that this electronic equipment is shown on the interface of this read clock can be adjusted to the 3rd clock time.As worked as the continuous input trajectory detected in the appointed area of displaying time on the main interface of mobile phone, and after determining to make the 3rd clock time according to method of the present invention, then can be the 3rd clock time by current for main for this mobile phone interface shown time adjustment.
The present embodiment be for be described through at the interface of electronic equipment read clock to input gesture identification determine setting when, but the process of carrying out adjusting for the interface of carrying out clock adjustment at electronic equipment is suitable for too, this process and the present embodiment similar, in this no longer repeated description.
See Fig. 7, show a kind of schematic flow sheet setting the embodiment of the method 4 of clock of the present invention, the method for the present embodiment is applied to electronic equipment, and this electronic equipment comprises touch sensing unit and display unit, and the method for the present embodiment comprises:
Step 701: by display unit display alarm clock setting interface, obtain a continuous input trajectory by touch sensing unit in the region that this alarm clock setting interface is corresponding.
This alarm clock setting interface refers to the interface of carrying out alarm clock adjustment or setting.When needs adjustment or the setting alarm clock quarter-bell jingle bell moment time, can unlocking electronic equipment alarm clock setting interface.
The present embodiment is when carrying out alarm clock setting, user can carry out the input of slip gesture at this alarm clock setting interface, the touch sensing unit of this electronic equipment can detect the gesture input of user, and then determine to get continuous input trajectory, determine that user needs the alarm clock jingle bell moment set so that follow-up according to this continuous input gesture.
Step 702: according to the continuous input trajectory obtained, determines the input starting point of this continuous input trajectory, input terminal and track flex point.
Step 703: using the pointer of line segment shorter in the first line segment and the second line segment as hour hands, using the pointer of line segment longer in the first line segment and the second line segment as minute hand, according to the position relationship of hour hands and minute hand, determines the described second clock moment.
This second clock moment is to distinguish with shown former quarter-bell jingle bell moment in alarm clock display interface, and then using the alarm clock jingle bell moment (i.e. the alarm clock jingle bell moment of original setting) of shown setting current in this alarm clock display interface as the first clock time, and slidably input track as the second clock moment using what determine according to continuous input trajectory.In addition, if user sets new alarm clock, and this alarm clock setting interface may not exist the alarm clock jingle bell moment of original setting, then using current moment time as the first clock time, and track can be slidably inputed as the second clock moment using what determine according to continuous input trajectory.
Such as, for alarm clock setting interface, suppose that current time is 9:00, determine that moment time that input trajectory continuous in this is corresponding is 5:00 at current time determination continuous path, if user is setting alarm clock first, then this alarm clock setting interface may not show any time, now using current time 9:00 as the first clock time, and using the moment 5:00 that determines as the second clock moment; If user modified to the alarm clock jingle bell moment of original setting, then this alarm clock setting interface shows the alarm clock jingle bell moment of original setting, as set the original alarm clock jingle bell moment set as 6:30, then this 6:30 is as the first clock time, and the moment 5:00 determined by continuous for current basis input trajectory is as the second clock moment.
Step 704: at this alarm clock setting interface display one clock face, and demonstrate the described second clock moment on described clock face.
When determining the second clock moment, a clock face can be shown on this alarm clock display interface, and then show this second clock moment on this clock face.Simultaneously, the alarm clock setting moment that this alarm clock setting interface shows also can change to this second clock moment, the moment that first alarm clock can certainly not set interface setting changes to the second clock moment, after having operated until follow-up the adjustment in second clock moment, in this alarm clock jingle bell moment of display.
Step 705: identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time.
Step 706: on this alarm clock setting interface, the alarm clock jingle bell moment will be set as the 3rd clock time.
When user sets a new alarm clock, this alarm clock display interface does not exist the ring time of original setting, then the 3rd clock time can be set as the alarm clock jingle bell moment.If this alarm clock setting interface shows the alarm clock jingle bell moment of principle setting, then the original alarm clock jingle bell moment is adjusted to the 3rd clock time.
The present embodiment, when user needs to carry out alarm clock setting, without the need to the virtual digit button of specifying that user needs repeatedly point touching to shield, distinguishes the numeral of input clock and minute correspondence.User only needs to carry out gesture input in alarm clock setting, and then the time to be set mark, electronic equipment leads to continuous input trajectory on this alarm clock setting interface, and can determine for the second moment time, to obtain the time range of an alarm clock setting, and a clock face is represented to show this moment the second time on this alarm clock setting interface, and then the operation of transferring detected on this clock face, the second moment time on this clock face was adjusted to for the 3rd moment time, and the 3rd clock time is set as the jingle bell moment of this alarm clock.
Corresponding a kind of method setting clock of the present invention, present invention also offers a kind of electronic equipment.See Fig. 8, show the structural representation of a kind of electronic equipment embodiment 1 of the present invention, the electronic equipment of the present embodiment comprises: display unit 810, touch sensing unit 820, trajectory analysis unit 830, line segment determining unit 840, clock determining unit 850 and clock setting unit 860.
Wherein, display unit 810, shows a clock interface on the display interface at described electronic equipment.
Touch sensing unit 820, obtains a continuous input trajectory for region corresponding to described clock interface.
Trajectory analysis unit 830, for according to described continuous input trajectory, determines the input starting point of described continuous input trajectory, input terminal and track flex point.
Line segment determining unit 840, for using the line between described input starting point and described track flex point as the first line segment, using the line between described track flex point and described input terminal as the second line segment.
Clock determining unit 850, for the position relationship according to described first line segment and described second line segment, determines the second clock moment corresponding to described continuous input trajectory.
Clock setting unit 860, for carrying out clock setting according to the described second clock moment.
Be understandable that, this electronic equipment can the electronic equipment such as touch-screen mobile phone, IPAD, notebook.
Wherein clock determining unit determines that the mode in this second clock moment can have multiple, correspondence is a kind of mode wherein, this clock determining unit 850, be specially: for using the pointer of line segment shorter in described first line segment and the second line segment as hour hands, using the pointer of line segment longer in described first line segment and the second line segment as minute hand, according to the position relationship of described hour hands and minute hand, determine the described second clock moment.
The another kind of mode in corresponding clock determining unit determination second clock moment, this clock determining unit 850, be specially: for using the pointer of described first line segment as hour hands, using the pointer of described second line segment as minute hand, determine the position relationship of described hour hands and minute hand, and according to the position relationship of described hour hands and minute hand, determine moment time of this pointer and minute hand instruction, using this moment time as the described second clock moment.
See Fig. 9, show the structural representation inventing a kind of electronic equipment embodiment 2, the electronic equipment of the present embodiment comprises: display unit 810, touch sensing unit 820, trajectory analysis unit 830, line segment determining unit 840, clock determining unit 850, clock setting unit 860, dial plate display unit 870, adjustment unit 880 and clock adjustment unit 890.
Wherein, this dial plate display unit 870, for when described clock determining unit determines the described second clock moment, read clock dial plate on described clock interface, and on described clock face, demonstrate the described second clock moment.
Concrete, this dial plate display unit 870, comprising: pointer position determining unit and moment display unit.
This pointer position determining unit, for using the position of the position at line segment place shorter in described first line segment and the second line segment as the minute hand place of described clock face, using the hour hands position of the position at line segment place longer in described first line segment and the second line segment as described clock face.
This moment display unit, for according to described hour hands position and described minute hand position, described clock face shows described hour hands and minute hand, and on described clock face, demonstrates the described second clock moment.
Further, in order to the time to be set can be got accurately, also need to adjust the second clock moment.Therefore, the electronic equipment of the present embodiment also comprises adjustment unit 880 and clock adjustment unit 890.
Wherein, adjustment unit 880, for identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time.
Clock adjustment unit 890, for carrying out clock setting according to described 3rd clock time.
In addition, display unit can show multiple clock interface.Be wherein an interface for read clock, corresponding, this display unit is specially: the interface zone representing read clock on the display interface at described electronic equipment, or represents clock adjustment interface;
Corresponding, clock setting unit is specially: for the time of current for described electronic equipment display is adjusted to the described second clock moment.
Display unit can also show alarm clock setting interface, corresponding, this display unit is specially: the interface of carrying out alarm clock setting for representing described electronic equipment;
This correspondence, clock setting unit is specially: for the described electronic equipment alarm clock jingle bell moment is set as the described second clock moment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (16)

1. set a method for clock, be applied to an electronic equipment, described electronic equipment comprises touch sensing unit and display unit, it is characterized in that, the method comprises:
When described display unit shows a clock interface, on described display unit, obtain a continuous input trajectory by described touch sensing unit with region corresponding to described clock interface;
According to described continuous input trajectory, determine the input starting point of described continuous input trajectory, input terminal and track flex point;
Using the line between described input starting point and described track flex point as the first line segment, using the line between described track flex point and described input terminal as the second line segment;
According to the position relationship of described first line segment and described second line segment, determine the second clock moment corresponding to described continuous input trajectory;
Clock setting is carried out according to the described second clock moment.
2. method according to claim 1, is characterized in that, the described position relationship according to described first line segment and described second line segment, determines to comprise the second clock moment that described input trajectory is corresponding:
Using the pointer of line segment shorter in described first line segment and the second line segment as hour hands, using the pointer of line segment longer in described first line segment and the second line segment as minute hand, according to the position relationship of described hour hands and minute hand, determine the described second clock moment.
3. method according to claim 1, is characterized in that, the described position relationship according to described first line segment and described second line segment, determines to comprise the second clock moment that described input trajectory is corresponding:
Using the pointer of described first line segment as hour hands, using the pointer of described second line segment as minute hand, determine the position relationship of described hour hands and minute hand;
According to the position relationship of described hour hands and minute hand, determine moment time of these hour hands and minute hand instruction, using this moment time as the described second clock moment.
4. method according to claim 1, is characterized in that, at the position relationship according to described first line segment and described second line segment, when determining second clock moment corresponding to described input trajectory, also comprises:
Read clock dial plate on described clock interface, and on described clock face, demonstrate the described second clock moment.
5. method according to claim 4, is characterized in that, read clock dial plate on described clock interface, described clock face demonstrates the described second clock moment, comprising:
Using the position of the position at line segment place shorter in described first line segment and the second line segment as the minute hand place of described clock face, using the hour hands position of the position at line segment place longer in described first line segment and the second line segment as described clock face;
According to described hour hands position and described minute hand position, described clock face shows described hour hands and minute hand, and on described clock face, demonstrate the described second clock moment.
6. method according to claim 5, is characterized in that, also comprises:
Identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time;
Clock setting is carried out according to described 3rd clock time.
7. method according to claim 1, is characterized in that, described clock interface comprises:
The interface zone of read clock, or the interface that clock regulates;
Describedly carry out clock setting according to the described second clock moment, comprising:
The time of current for described electronic equipment display is adjusted to the described second clock moment.
8. method according to claim 1, is characterized in that, described clock display interface comprises:
The interface of alarm clock setting;
Describedly carry out clock setting according to the described second clock moment, comprising:
The alarm clock jingle bell moment of described electronic equipment is set as the described second clock moment.
9. an electronic equipment, is characterized in that, comprising:
Display unit, shows a clock interface on the display interface at described electronic equipment;
Touch sensing unit, obtains a continuous input trajectory for region corresponding to described clock interface;
Trajectory analysis unit, for according to described continuous input trajectory, determines the input starting point of described continuous input trajectory, input terminal and track flex point;
Line segment determining unit, for using the line between described input starting point and described track flex point as the first line segment, using the line between described track flex point and described input terminal as the second line segment;
Clock determining unit, for the position relationship according to described first line segment and described second line segment, determines the second clock moment corresponding to described continuous input trajectory;
Clock setting unit, for carrying out clock setting according to the described second clock moment.
10. electronic equipment according to claim 9, it is characterized in that, described clock determining unit is specially: for using the pointer of line segment shorter in described first line segment and the second line segment as hour hands, using the pointer of line segment longer in described first line segment and the second line segment as minute hand, according to the position relationship of described hour hands and minute hand, determine the described second clock moment.
11. electronic equipments according to claim 9, it is characterized in that, described clock determining unit, be specially: for using the pointer of described first line segment as hour hands, using the pointer of described second line segment as minute hand, determine the position relationship of described hour hands and minute hand, and according to the position relationship of described hour hands and minute hand, determine moment time of these hour hands and minute hand instruction, using this moment time as the described second clock moment.
12. electronic equipments according to claim 9, it is characterized in that, also comprise: dial plate display unit, for when described clock determining unit determines the described second clock moment, read clock dial plate on described clock interface, and on described clock face, demonstrate the described second clock moment.
13. electronic equipments according to claim 12, is characterized in that, described dial plate display unit, comprising:
Pointer position determining unit, for using the position of the position at line segment place shorter in described first line segment and the second line segment as the minute hand place of described clock face, using the hour hands position of the position at line segment place longer in described first line segment and the second line segment as described clock face;
Moment display unit, for according to described hour hands position and described minute hand position, described clock face shows described hour hands and minute hand, and on described clock face, demonstrates the described second clock moment.
14. electronic equipments according to claim 13, is characterized in that, also comprise:
Adjustment unit, for identify user on described clock face to the operation of transferring of described hour hands and minute hand, according to the transfer track of user to described hour hands and minute hand, the moment that described clock face shows is adjusted, obtains the 3rd clock time;
Clock adjustment unit, for carrying out clock setting according to described 3rd clock time.
15. electronic equipments according to claim 9, is characterized in that, described display unit is specially: the interface zone representing read clock on the display interface at described electronic equipment, or represent clock adjustment interface;
Described clock setting unit is specially: for the time of current for described electronic equipment display is adjusted to the described second clock moment.
16. electronic equipments according to claim 9, is characterized in that, described display unit is specially: on the display interface at described electronic equipment, represent alarm clock setting interface;
Described clock setting unit is specially: for the alarm clock jingle bell moment of described electronic equipment is set as the described second clock moment.
CN201110460542.3A 2011-12-31 2011-12-31 A kind of method and electronic equipment setting clock Active CN103186338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460542.3A CN103186338B (en) 2011-12-31 2011-12-31 A kind of method and electronic equipment setting clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460542.3A CN103186338B (en) 2011-12-31 2011-12-31 A kind of method and electronic equipment setting clock

Publications (2)

Publication Number Publication Date
CN103186338A CN103186338A (en) 2013-07-03
CN103186338B true CN103186338B (en) 2015-11-25

Family

ID=48677521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460542.3A Active CN103186338B (en) 2011-12-31 2011-12-31 A kind of method and electronic equipment setting clock

Country Status (1)

Country Link
CN (1) CN103186338B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739807A (en) * 2014-12-08 2016-07-06 中兴通讯股份有限公司 Counting-down method and apparatus
CN104991687B (en) * 2015-06-09 2018-05-08 惠州Tcl移动通信有限公司 A kind of method and system for obtaining touch-screen equipment curve manipulation track
CN105159586B (en) * 2015-08-27 2018-01-23 广东欧珀移动通信有限公司 A kind of alarm clock prompting method and mobile terminal
CN105843505A (en) * 2016-03-21 2016-08-10 北京小米移动软件有限公司 Alarm clock time configuration method and apparatus
CN109032378B (en) * 2018-07-13 2020-10-16 汉王科技股份有限公司 Sliding input method and device
CN112947836A (en) * 2019-12-11 2021-06-11 北京集创北方科技股份有限公司 Gesture recognition method and system based on inflection point characteristics, storage medium and touch screen device
CN112506079A (en) * 2020-11-20 2021-03-16 广东芬尼科技股份有限公司 Controller for setting timing, method for setting timing and electric appliance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484135A (en) * 2002-08-08 2004-03-24 �Ҵ���˾ System and method for configuring time related setting using graphical interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101239797B1 (en) * 2007-02-07 2013-03-06 엘지전자 주식회사 Electronic Device With Touch Screen And Method Of Providing Analog Clock Using Same
US20110191675A1 (en) * 2010-02-01 2011-08-04 Nokia Corporation Sliding input user interface

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484135A (en) * 2002-08-08 2004-03-24 �Ҵ���˾ System and method for configuring time related setting using graphical interface

Also Published As

Publication number Publication date
CN103186338A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN103186338B (en) A kind of method and electronic equipment setting clock
JP5721662B2 (en) Input receiving method, input receiving program, and input device
US20150124001A1 (en) Method and electronic apparatus for achieving translation of a screen display interface
CN103809843B (en) A kind of method and apparatus adjusting brightness of display screen in a browser
CN104317452B (en) Method for controlling large-screen intelligent device
EP2770423A2 (en) Method and apparatus for operating object in user device
WO2014024363A1 (en) Display control device, display control method and program
TW201516840A (en) Electronic display device and method
US10671269B2 (en) Electronic device with large-size display screen, system and method for controlling display screen
JP2019061563A (en) Electronic apparatus
CN105302350A (en) Wearable intelligent apparatus and computer execution method
CN203301578U (en) Cellphone with auxiliary touch controller
US9507515B2 (en) System and method for data selection by means of a touch-sensitive surface
CN105573631A (en) Touch display electronic device and control method thereof
US9563346B2 (en) Method for scrolling a displayed image in a touch system
CN102566880A (en) Electronic device with touch screen and method for adjusting touch position of software keyboard
TWI480792B (en) Operating method of electronic apparatus
KR20140140407A (en) Terminal and method for controlling multi-touch operation in the same
KR101503159B1 (en) Method of controlling touch-screen detecting eyesight
CN106527717A (en) Information input recognition method and device
CN106961521B (en) Electronic equipment and reminding generation method thereof
JP2015215840A (en) Information processor and input method
US20190332255A1 (en) Character Input Method and Apparatus, and Terminal
CN104423657A (en) Information processing method and electronic device
JP2016051233A (en) Document processor and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant