Summary of the invention
In order to overcome above-mentioned defect of the prior art, the invention provides a kind of locking means of touch-screen, this locking means comprises:
The gesture operation that user is directed to this mobile terminal is detected when the touch-screen of mobile terminal is in illuminating state;
If detect, described user performs from the frame of described mobile terminal to the slide in described touch-screen, then along with described slide slides on described touch-screen show covering layer in order to hide described slide the region of process;
When detecting that described covering layer hides described touch-screen completely, triggering described touch-screen and extinguishing.
According to an aspect of the present invention, in this locking means, along with described slide slide on described touch-screen display covering layer in order to hide described slide the region of process comprise: determine the contact coordinate of user on described touch-screen described in the glide direction of described user and Real-time Obtaining according to described slide; According to described glide direction and described contact coordinate determine described slide the region of process; Covering layer is drawn in described region.
According to another aspect of the present invention, in this locking means, if detect, described user stops described slide and release and the contact of described touch-screen, then determine described user sliding distance along described glide direction on described touch-screen according to described contact coordinate; Described sliding distance and predetermined threshold value are compared; If comparative result is described sliding distance exceed described predetermined threshold value, then drawing described covering layer makes it continue to slide until hide described touch-screen completely along described glide direction, otherwise draws described covering layer and make it slide until disappear from described touch-screen along the direction contrary with described glide direction.
According to a further aspect of the invention, in this locking means, described glide direction comprises vertical direction, horizontal direction or diagonal.
According to a further aspect of the invention, in this locking means, the color of described covering layer is black.
Correspondingly, present invention also offers a kind of locking device of touch-screen, this locking device comprises:
Gesture detection module, for detecting the gesture operation that user is directed to this mobile terminal when the touch-screen of mobile terminal is in illuminating state;
Slip display module, if detect that described user performs from the frame of described mobile terminal to the slide in described touch-screen for described gesture detection module, along with described slide slides on described touch-screen show covering layer in order to hide described slide the region of process;
Trigger and extinguish module, for when detecting that described covering layer hides described touch-screen completely, triggering described touch-screen and extinguishing.
According to an aspect of the present invention, in this locking device, described slip display module comprises: acquiring unit, if detect that described user performs from the frame of described mobile terminal to the slide in described touch-screen for described gesture detection module, determines the contact coordinate of user on described touch-screen described in the glide direction of described user and Real-time Obtaining according to described slide; Area determination unit, for determine according to described glide direction and described contact coordinate described slide the region of process; Drawing unit, for drawing covering layer in described region.
According to another aspect of the present invention, this locking device also comprises: processing module, and this processing module comprises distance determining unit and comparing unit further; Described distance determining unit, if detect that described user stops described slide and release and the contact of described touch-screen for described gesture detection module, determines described user sliding distance along described glide direction on described touch-screen according to described contact coordinate; Described comparing unit, for comparing described sliding distance and predetermined threshold value; If described comparing unit compares and obtains described sliding distance and exceed described predetermined threshold value, then described drawing unit is drawn described covering layer and is made it continue to slide until hide described touch-screen completely along described glide direction, otherwise described drawing unit is drawn described covering layer and made it slide until disappear from described touch-screen along the direction contrary with described glide direction.
According to a further aspect of the invention, in this locking device, described glide direction comprises vertical direction, horizontal direction or diagonal.
According to a further aspect of the invention, in this locking device, the color of described covering layer is black.
The locking means of touch-screen provided by the present invention and device are when detecting that user performs from the frame of mobile terminal to slide in touch-screen, along with this slide slides the region that slides past to hide user of display covering layer on the touchscreen, present from visual experience the dynamic effect that user pulls curtain, when covering layer hides touch-screen completely, sensing touch screen extinguishes with the locking realizing this touch-screen.Thus, on the one hand, due to without the need to operating on & off switch, therefore effectively reducing the loss of on & off switch, being beneficial to the prolongation in mobile terminal serviceable life to a certain extent; On the other hand, because the operation of user to screen locking realizes at touch-screen and on being positioned at around touch-screen frame, therefore when locking touch-screen user without the need to being switched to the operation being directed on & off switch as traditional operation from the operation being directed to touch-screen, thus ensure that the fluency of user operation, the use health check-up making user good; Another aspect, touch-screen presents user in screen locking process and to leave behind the dynamic effect of curtain, make the lively entertaining of whole screen locking process, visual experience is good, is conducive to the experience promoting user further; Another aspect, gesture operation is expanded on the frame of mobile terminal, screen locking is realized by the slide being directed to both the frame of mobile terminal and touch-screen, thus can effectively with prior art in be only directed to touch-screen gesture operation make a distinction, therefore user can utilize gesture operation to realize screen locking on the basis not changing existing operating habit.
Embodiment
For a better understanding and interpretation of the present invention, below in conjunction with accompanying drawing, the present invention is described in further detail.
The invention provides a kind of locking means of touch-screen.Please refer to Fig. 1, Fig. 1 is the locking means process flow diagram according to touch-screen of the present invention.As shown in the figure, this locking means comprises the following steps:
In step S101, detect when the touch-screen of mobile terminal is in illuminating state the gesture operation that user is directed to this mobile terminal;
In step s 102, if detect, described user performs from the frame of described mobile terminal to the slide in described touch-screen, then along with described slide slides on described touch-screen show covering layer in order to hide described slide the region of process;
In step s 103, when detecting that described covering layer hides described touch-screen completely, triggering described touch-screen and extinguishing.
Particularly, in step S101, in the present embodiment, mobile terminal is the smart mobile phone with touch-screen.In other embodiments, mobile terminal can also be panel computer or other there is the Portable intelligent terminal of touch-screen.It will be appreciated by persons skilled in the art that every there is touch-screen and the electronic equipment with screen locking demand include in the scope that the present invention protects.
The gesture operation of user to mobile terminal is detected under the touch-screen of mobile terminal is in illuminating state.Wherein, user sends instruction by gesture operation to mobile terminal, and mobile terminal realizes corresponding function according to this instruction.It should be noted that, the touch-screen of mobile terminal is in illuminating state and illustrates that touch-screen works, what now touch-screen carries out output display can be any interface, the system desktop of such as mobile terminal, system interface, the runnable interface of application program, the unlock interface etc. of mobile terminal are set.That is, any interface shown by the touch-screen of mobile terminal all can be implemented the locking means of touch-screen provided by the present invention.
In step s 102, if detect, the gesture operation of user to mobile terminal is from the frame of mobile terminal to the slide in touch-screen, what then judge that user performs is the gesture operation of locking touch-screen, in this case, slide along with this user slides display covering layer on the touchscreen, this covering layer for hide user on touch-screen slide the region of process.Particularly, comprise from the frame of mobile terminal to the slide in touch-screen: then the upper side frame touching mobile terminal vertically slides from top to bottom in touch-screen, then the lower frame touching mobile terminal vertically slides from bottom to top in touch-screen, then the left frame touching mobile terminal slides in dextrad touch-screen from a left side in the horizontal direction, then the left frame touching mobile terminal slides in left-hand touch-screen from the right side in the horizontal direction, touch the then diagonally interior slip of touch-screen of mobile terminal upper left corner frame/upper right corner frame/lower left corner frame/lower right corner frame.When detecting that user performs above-mentioned slide for mobile terminal, then what judge that user performs is the gesture operation of locking touch-screen.It will be understood by those skilled in the art that, in actual applications, only can limit the gesture operation that above-mentioned a kind of slide locks as touch-screen, such as, only have and judge that this user perform touch-screen lock operation when then the upper side frame that user touches mobile terminal vertically slides in touch-screen from top to bottom, also the gesture operation that above-mentioned multiple slide locks as touch-screen can be limited, such as, all judge that this user performs touch-screen lock operation when user performs the operation of above-mentioned any one.In the present embodiment, the slide of user singly refers to slide.In other embodiments, user also can adopt and refer to that the mode of sliding realizes this slide more.After judging that user performs the operation of touch-screen locking, namely when detecting that the finger of user slides in touch-screen from the frame touching mobile terminal, on the touchscreen along with the finger sliding of user shows a covering layer, the region of this covering layer to user's finger sliding process hides.Particularly, first, the glide direction that user points and user in real finger contact coordinate on the touchscreen in sliding process is determined according to the slide of user.Wherein, according to above-mentioned slide, glide direction can be vertical direction, horizontal direction or diagonal.Further, vertical direction can be from top to bottom or from bottom to top; Horizontal direction can be right or left from the right side from a left side; Diagonal can be from the upper left corner to the lower right corner, from the upper right corner to the lower left corner, from the lower left corner to the upper right corner or from the lower right corner to the upper left corner.Contact coordinate refer to the finger of user in sliding process and the contact between touch-screen be positioned at touch-screen coordinate figure in a coordinate system.Then, according to the glide direction of user's finger and contact coordinate determine user slide the region of process.In the present embodiment, determine a certain moment user slide the region of process, the region in the contact coordinate of coordinate figure when user is started to slip into touch-screen in contact coordinate and corresponding to glide direction and this moment user and between the coordinate figure corresponding to glide direction be defined as this moment user slide the region of process.Below with three embody rule scenes to how determining that the region that user slides past is described.Suppose that the initial point of touch-screen place coordinate system is arranged on the summit in the touch-screen upper left corner, being extended to the right by initial point is X-axis positive dirction, be Y-axis positive dirction by initial point to downward-extension, suppose that a certain moment user finger contact coordinate is on the touchscreen (x, y).If user finger glide direction be from top to bottom, so determine the region of this moment user's finger sliding process be in Y direction coordinate figure from the region between 0 to y; If the glide direction of user's finger is from left and right, so determine the region of this moment user's finger sliding process be in X-direction coordinate figure from the region between 0 to x; If user finger glide direction be from the upper left corner to the lower right corner, so determine the summit in the region of this moment user's finger sliding process be respectively (0,0), (x, 0), (x, y) and (0, region y).Be directed to other glide directions, by that analogy, this is no longer going to repeat them for the defining method in the region that user slides past.Then, in the region that the user determined slides past, draw covering layer, the regional coverage utilizing this covering layer user to be slid past is lived.It will be understood by those skilled in the art that, above-mentioned covering layer of drawing in the region that user slides past is only a kind of preferred implementation, in other embodiments, the covering layer the same with touch-screen size can also be generated in advance, after determining the region that user slides past, this covering layer generated in advance mobile to corresponding position to hide this region.Owing to detecting user's contact coordinate on the touchscreen in real time and the region that slides past to hide user of corresponding drafting covering layer, therefore visually present the dynamic effect that user's finger pull curtain carries out answering a curtain call.Illustrate, when user's finger vertically slides to touch-screen from top to bottom from upper side frame, covering layer presents along with user's finger sliding shows this behavior the visual effect that user points drop-down curtain.In a preferred embodiment, the color of covering layer is black, namely the color that presents after putting out screen of touch-screen.In other embodiments, covering layer also can be other colors, or uses the figuratum picture of tool as covering layer.It will be understood by those skilled in the art that; the present invention do not limit covering layer concrete color, whether there is pattern and whether transparent; every hide along with user's finger sliding user on touch-screen slide the region of the process covering layer that can present curtain calls visual effect to user include in the scope that the present invention protects; for brevity, will not enumerate at this.
It should be noted that, the finger being directed to user does not carry out the situation of sliding in strict accordance with vertical direction, horizontal direction or diagonal, also only can determine according to the particular location of user's finger touch frame the glide direction that user points.Illustrate, the mode of upper side frame then with curve in touch-screen that user touches mobile terminal is slided, and in this case, can be vertically process from top to bottom according to glide direction.
In step s 103, when detecting that covering layer hides touch-screen completely, namely user's finger sliding is through all regions of touch-screen, triggers this touch-screen and extinguishes with the locking realizing touch-screen.Illustrate, user's finger vertically slides from top to bottom from the upper side frame of mobile terminal in touch-screen, when the finger sliding of user is to touch-screen bottom margin, covering layer is also along with the finger sliding display of user is to touch-screen, covered in completely at interface current for touch-screen, now sensing touch screen extinguishes.When adopting black mask layer, when covering layer covers in touch-screen completely, although touch-screen does not now put out screen, but the visual effect of presenting to user is touch-screen along with the slide of user extinguishes until extinguish completely gradually, due to covering layer color with put out screen after the color that presents of touch-screen the same, therefore hide touch-screen gradually from covering layer and put out the whole process of screen to final sensing touch screen again bring user a kind of very smooth visual experience to hiding touch-screen completely.
Please refer to Fig. 2, Fig. 3 and Fig. 4.Wherein, Fig. 2 discloses user vertically slides to realize touch-screen locking from top to bottom in touch-screen process from the upper side frame of mobile terminal.As shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger when (as shown in white dashed line arrow direction) slides into the first contact coordinate vertically from top to bottom black mask layer show with finger sliding that--> user points black mask layer when continuation vertically slides into the second contact coordinate from top to bottom and shows--> user's finger sliding hides touch-screen completely to black mask layer during touch-screen bottom margin--with finger sliding > sensing touch screen puts out screen.Similarly, Fig. 3 discloses user slides to realize touch-screen locking in the horizontal direction in dextrad touch-screen from left side process from the left frame of mobile terminal.Fig. 4 discloses user diagonally slides to realize touch-screen locking in touch-screen process from the upper left corner frame of mobile terminal.For brevity, no longer process shown in Fig. 3 and Fig. 4 is described in detail at this.
In other application scenes, there is the situation that user lifts finger in slide process.Be directed to this situation, processing mode is as follows: if detect, user stops slide and lifts the contact of finger release and touch-screen, then determine this user on the touchscreen along the sliding distance of glide direction according to stopping slip moment user contact coordinate on the touchscreen, and this sliding distance and predetermined threshold value are compared.If comparative result shows user, sliding distance on the touchscreen exceedes predetermined threshold value, then judge that user wishes to continue to realize screen locking behavior, in this case, continues to draw covering layer and makes it continue to slide until hide touch-screen completely along glide direction; If comparative result shows user, sliding distance does not on the touchscreen exceed predetermined threshold value, then judge that user midway is wanted to abandon screen locking behavior, in this case, drawing covering layer makes it slide until disappear from touch-screen along the direction contrary with glide direction, and what now touch screen display is interface before user performs lock operation.In the present embodiment, if glide direction is vertical direction, then predetermined threshold value equal touch-screen in the vertical direction height 1/2; If glide direction is horizontal direction, then predetermined threshold value equal that touch-screen goes up width in the horizontal direction 1/2; If glide direction is diagonal, then predetermined threshold value equals 1/2 of touch-screen catercorner length.In addition, because user's finger have left touch-screen, covering layer will continue to slide, and therefore covering layer can continue to slide according to the sliding speed pre-set, and wherein, the concrete value of this sliding speed can be arranged according to user's visual experience.Please refer to Fig. 5, as shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger vertically from top to bottom (as shown in white dashed line arrow direction) slide and sliding distance does not exceed predetermined threshold value (i.e. touch-screen height 1/2) time black mask layer show with finger sliding--> user point continuation vertically slide from top to bottom and sliding distance exceedes predetermined threshold value (touch-screen height 1/2) time black mask layer show--covering layer continuation vertically slip from top to bottom after > user's finger leaves touch-screen--with finger sliding > covering layer slide into the schematic diagram that touch-screen bottom margin hides touch-screen completely.Please refer to Fig. 6, as shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger vertically from top to bottom (as shown in white dashed line arrow direction) slide and sliding distance does not exceed predetermined threshold value (i.e. touch-screen height 1/2) time black mask layer show with finger sliding that--covering layer vertically slides > after user's finger leaves touch-screen before sliding distance does not exceed predetermined threshold value that--> covering layer vertically continues slip from bottom to top--> covering layer slides into touch-screen top and disappears from touch-screen from bottom to top.
It should be noted that, although describe the operation of the inventive method in the accompanying drawings with particular order, but this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.On the contrary, the step described in process flow diagram can change execution sequence.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
Correspondingly, present invention also offers a kind of locking device of touch-screen.Please refer to Fig. 7, Fig. 7 is the locking device structure schematic diagram according to touch-screen of the present invention.As shown in the figure, this device 20 comprises:
Gesture detection module 210, for detecting the gesture operation that user is directed to this mobile terminal when the touch-screen of mobile terminal is in illuminating state;
Slip display module 220, if detect that described user performs from the frame of described mobile terminal to the slide in described touch-screen for described gesture detection module 210, along with described slide slides on described touch-screen show covering layer in order to hide described slide the region of process;
Trigger and extinguish module 230, for when detecting that described covering layer hides described touch-screen completely, triggering described touch-screen and extinguishing.
Below, be described in detail to the specific works process of upper module.
Particularly, in the present embodiment, mobile terminal is the smart mobile phone with touch-screen.In other embodiments, mobile terminal can also be panel computer or other there is the Portable intelligent terminal of touch-screen.It will be appreciated by persons skilled in the art that every there is touch-screen and the electronic equipment with screen locking demand include in the scope that the present invention protects.
Under the touch-screen of mobile terminal is in illuminating state, gesture detection module 210 detects the gesture operation of user to mobile terminal.Wherein, user sends instruction by gesture operation to mobile terminal, and mobile terminal realizes corresponding function according to this instruction.It should be noted that, the touch-screen of mobile terminal is in illuminating state and illustrates that touch-screen works, what now touch-screen carries out output display can be any interface, the system desktop of such as mobile terminal, system interface, the runnable interface of application program, the unlock interface etc. of mobile terminal are set.
If gesture detection module 210 detects that the gesture operation of user to mobile terminal is from the frame of mobile terminal to the slide in touch-screen, then what judge that user performs is the gesture operation of locking touch-screen.Known by foregoing description, the gesture operation that gesture detection module 210 can detect comprises two parts: a part is that user touches mobile terminal frame and slides into the operation of touch-screen, and another part is the operation that user is directed to touch-screen.In actual applications, there is various ways in the specific implementation of gesture detection module 210.In a specific embodiment, the sensing element being used for detecting user and being directed to the gesture operation of touch-screen can be extended under the frame of mobile terminal, thus realize mobile terminal frame being touched for user and sliding into the detection of the gesture operation of touch-screen.Comprise from the frame of mobile terminal to the slide in touch-screen: then the upper side frame touching mobile terminal vertically slides from top to bottom in touch-screen, then the lower frame touching mobile terminal vertically slides from bottom to top in touch-screen, then the left frame touching mobile terminal slides in dextrad touch-screen from a left side in the horizontal direction, then the left frame touching mobile terminal slides in left-hand touch-screen from the right side in the horizontal direction, touch the then diagonally interior slip of touch-screen of mobile terminal upper left corner frame/upper right corner frame/lower left corner frame/lower right corner frame.When gesture detection module 210 detects that user performs above-mentioned slide for mobile terminal, then what judge that user performs is the gesture operation of locking touch-screen.It will be understood by those skilled in the art that, in actual applications, only can limit the gesture operation that above-mentioned a kind of slide locks as touch-screen, such as, the gesture detection module 210 when then the upper side frame that user touches mobile terminal vertically slides in touch-screen is only had to judge that this user performs touch-screen lock operation from top to bottom, also the gesture operation that above-mentioned multiple slide locks as touch-screen can be limited, such as, when user performs the operation of above-mentioned any one, gesture detection module 210 all judges that this user performs touch-screen lock operation.In the present embodiment, the slide of user singly refers to slide.In other embodiments, user also can adopt and refer to that the mode of sliding realizes this slide more.
After gesture detection module 210 judges that user performs the operation of touch-screen locking, namely when gesture detection module 210 detects that the finger of user slides in touch-screen from the frame touching mobile terminal, slip display module 220 to slide display covering layer on the touchscreen along with the slide of this user, this covering layer for hide user on touch-screen slide the region of process.Particularly, slip display module 220 comprises acquiring unit 2201, area determination unit 2202 and drawing unit 2203 further.Below the course of work of the unit included by slip display module 220 is described.First, acquiring unit 2201 determines the glide direction that user points and user in real finger contact coordinate on the touchscreen in sliding process according to the slide of user.Wherein, according to above-mentioned slide, glide direction can be vertical direction, horizontal direction or diagonal.Further, vertical direction can be from top to bottom or from bottom to top; Horizontal direction can be right or left from the right side from a left side; Diagonal can be from the upper left corner to the lower right corner, from the upper right corner to the lower left corner, from the lower left corner to the upper right corner or from the lower right corner to the upper left corner.Contact coordinate refer to the finger of user in sliding process and the contact between touch-screen be positioned at touch-screen coordinate figure in a coordinate system.Then, the glide direction pointed according to user of area determination unit 2202 and contact coordinate determine user slide the region of process.In the present embodiment, determine a certain moment user slide the region of process, the region in the contact coordinate of coordinate figure when user starts to slip into touch-screen by area determination unit 2202 in contact coordinate and corresponding to glide direction and this moment user and between the coordinate figure corresponding to glide direction be defined as this moment user slide the region of process.Below with three embody rule scenes to how determining that the region that user slides past is described.Suppose that the initial point of touch-screen place coordinate system is arranged on the summit in the touch-screen upper left corner, being extended to the right by initial point is X-axis positive dirction, be Y-axis positive dirction by initial point to downward-extension, suppose that a certain moment user finger contact coordinate is on the touchscreen (x, y).If user finger glide direction be from top to bottom, so area determination unit 2202 determine the region of this moment user's finger sliding process be in Y direction coordinate figure from the region between 0 to y; If the glide direction of user's finger is from left and right, so area determination unit 2202 determine the region of this moment user's finger sliding process be in X-direction coordinate figure from the region between 0 to x; If the glide direction of user's finger is from the upper left corner to the lower right corner, so area determination unit 2202 determines that the summit in the region of this moment user's finger sliding process is respectively (0,0), (x, 0), (x, y) and (0, region y).Be directed to other glide directions, by that analogy, this is no longer going to repeat them for the defining method in the region that area determination unit 2202 couples of users slide past.Then, drawing unit 2203 draws covering layer in the region that the user determined slides past, and the regional coverage utilizing this covering layer user to be slid past is lived.It will be understood by those skilled in the art that, above-mentionedly utilize drawing unit 2203 in the region that user slides past, draw covering layer to be only a kind of preferred implementation, in other embodiments, slip display module 220 can also comprise generation mobile unit (not shown), this generation mobile unit generates the covering layer the same with touch-screen size in advance, after area determination unit 2202 determines the region that user slides past, generate mobile unit and move this covering layer generated in advance to corresponding position to hide this region.Because acquiring unit 2201 detects in real time user's contact coordinate on the touchscreen and the region slid past to hide user by the corresponding drafting covering layer of drawing unit 2203, therefore visually present the dynamic effect that user's finger pull curtain carries out answering a curtain call.Illustrate, when user's finger vertically slides to touch-screen from top to bottom from upper side frame, covering layer presents along with user's finger sliding shows this behavior the visual effect that user points drop-down curtain.In a preferred embodiment, the color of covering layer is black, namely the color that presents after putting out screen of touch-screen.In other embodiments, covering layer also can be other colors, or uses the figuratum picture of tool as covering layer.It will be understood by those skilled in the art that; the present invention do not limit covering layer concrete color, whether there is pattern and whether transparent; every hide along with user's finger sliding user on touch-screen slide the region of the process covering layer that can present curtain calls visual effect to user include in the scope that the present invention protects; for brevity, will not enumerate at this.
It should be noted that, the finger being directed to user does not carry out the situation of sliding in strict accordance with vertical direction, horizontal direction or diagonal, acquiring unit 2201 also only can determine according to the particular location of user's finger touch frame the glide direction that user points.Illustrate, the mode of upper side frame then with curve in touch-screen that user touches mobile terminal is slided, and in this case, acquiring unit 2201 can be vertically process from top to bottom according to glide direction.
When triggering extinguishing module 230 and detecting that covering layer hides touch-screen completely, namely user's finger sliding is through all regions of touch-screen, triggers extinguishing module 230 and triggers the extinguishing of this touch-screen with the locking realizing touch-screen.Illustrate, user's finger vertically slides from top to bottom from the upper side frame of mobile terminal in touch-screen, when the finger sliding of user is to touch-screen bottom margin, covering layer is also along with the finger sliding display of user is to touch-screen, interface current for touch-screen is covered in completely, now triggers and extinguish the extinguishing of module 230 sensing touch screen.When adopting black mask layer, when covering layer covers in touch-screen completely, although touch-screen does not now put out screen, but the visual effect of presenting to user is touch-screen along with the slide of user extinguishes until extinguish completely gradually, due to covering layer color with put out screen after the color that presents of touch-screen the same, therefore hide touch-screen gradually from covering layer and put out the whole process of screen to final sensing touch screen again bring user a kind of very smooth visual experience to hiding touch-screen completely.
Please refer to Fig. 2, Fig. 3 and Fig. 4.Wherein, Fig. 2 discloses user vertically slides to realize touch-screen locking from top to bottom in touch-screen process from the upper side frame of mobile terminal.As shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger when (as shown in white dashed line arrow direction) slides into the first contact coordinate vertically from top to bottom black mask layer show with finger sliding that--> user points black mask layer when continuation vertically slides into the second contact coordinate from top to bottom and shows--> user's finger sliding hides touch-screen completely to black mask layer during touch-screen bottom margin--with finger sliding > sensing touch screen puts out screen.Similarly, Fig. 3 discloses user slides to realize touch-screen locking in the horizontal direction in dextrad touch-screen from left side process from the left frame of mobile terminal.Fig. 4 discloses user diagonally slides to realize touch-screen locking in touch-screen process from the upper left corner frame of mobile terminal.For brevity, no longer process shown in Fig. 3 and Fig. 4 is described in detail at this.
In further embodiments, locking device 20 provided by the present invention also comprises processing module (not shown), and this processing module comprises distance determining unit (not shown) and comparing unit (not shown) further.Below the course of work of the unit included by processing module is described.Particularly, in application scenes, there is the situation that user lifts finger in slide process.Be directed to this situation, the processing mode of processing module is as follows: if gesture detection module 210 detects that user stops slide and lifts the contact of finger release and touch-screen, distance determining unit then determines this user on the touchscreen along the sliding distance of glide direction according to stopping slip moment user contact coordinate on the touchscreen, and this sliding distance and predetermined threshold value compare by comparing unit.If the comparative result of comparing unit shows user, sliding distance on the touchscreen exceedes predetermined threshold value, then judge that user wishes to continue to realize screen locking behavior, in this case, drawing unit 2203 continuation drafting covering layer makes it continue to slide until hide touch-screen completely along glide direction; If the comparative result of comparing unit shows user, sliding distance does not on the touchscreen exceed predetermined threshold value, then judge that user midway is wanted to abandon screen locking behavior, in this case, drawing unit 2203 draws covering layer makes it slide until disappear from touch-screen along the direction contrary with glide direction, and what now touch screen display is interface before user performs lock operation.In the present embodiment, if glide direction is vertical direction, then predetermined threshold value equal touch-screen in the vertical direction height 1/2; If glide direction is horizontal direction, then predetermined threshold value equal that touch-screen goes up width in the horizontal direction 1/2; If glide direction is diagonal, then predetermined threshold value equals 1/2 of touch-screen catercorner length.In addition, because user's finger have left touch-screen, covering layer will continue to slide, and therefore covering layer can continue to slide according to the sliding speed pre-set, and wherein, the concrete value of this sliding speed can be arranged according to user's visual experience.Please refer to Fig. 5, as shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger vertically from top to bottom (as shown in white dashed line arrow direction) slide and sliding distance does not exceed predetermined threshold value (i.e. touch-screen height 1/2) time black mask layer show with finger sliding--> user point continuation vertically slide from top to bottom and sliding distance exceedes predetermined threshold value (touch-screen height 1/2) time black mask layer show--covering layer continuation vertically slip from top to bottom after > user's finger leaves touch-screen--with finger sliding > covering layer slide into the schematic diagram that touch-screen bottom margin hides touch-screen completely.Please refer to Fig. 6, as shown in the figure, according to the direction in figure indicated by flow arrow, this touch-screen locking process is as follows: the dynamic terminal interface of touch-screen locking reach--> user's finger touch mobile terminal upper side frame--> user's finger vertically from top to bottom (as shown in white dashed line arrow direction) slide and sliding distance does not exceed predetermined threshold value (i.e. touch-screen height 1/2) time black mask layer show with finger sliding that--covering layer vertically slides > after user's finger leaves touch-screen before sliding distance does not exceed predetermined threshold value that--> covering layer vertically continues slip from bottom to top--> covering layer slides into touch-screen top and disappears from touch-screen from bottom to top.
Please refer to Fig. 8, Fig. 8 is the structural representation of the intelligent terminal of the locking means that can realize touch-screen provided by the invention, and this intelligent terminal comprises above the described mobile terminal mentioned.Fig. 8 schematically shows the common structure of described intelligent terminal, is described the intraware of common intelligent terminal, software and protocol architecture with reference to figure 8.
This intelligent terminal has processor 510, and it is responsible for the integrated operation of intelligent terminal, and any business can be utilized can to obtain the realization of CPU (central processing unit), digital signal processor or any other electronic programmable logic device.The related storer 520 of processor 510 tool, this storer 520 includes but not limited to RAM storer, ROM storer, eeprom memory, flash memory or its combination.Storer 520 controls for various object by processor 500, and one of them is as software stored program instruction various in intelligent terminal and data.
The software view of this intelligent terminal comprises real time operating system 540, driver for man-machine interface 560, application processor 550 and various application.Described application examples is text editor 551, handwriting recognition application 552 and other multimedia application 553 various in this way, and typically these other multimedia application comprise such as audio call application, video call application, send and reception Short Message Service (SMS) messages application, multimedia information service (MMS) application or e-mail applications, web browser, instant message transrecieving application, book applications, calendar application, control panel application, camera application, one or more video-game, notepad appli-cation etc.Two or more that it should be noted that above-mentioned application can perform as same application.
Described intelligent terminal also comprises one or more hardware control, for together with the driver of man-machine interface 560 with display device 561, physical button 562, microphone 563 and other I/O equipment various (such as loudspeaker, Vib., Ring Generator, LED indicator etc.) cooperate, to realize the man-machine interaction of described intelligent terminal.Those skilled in the art are to be understood that user can carry out operative intelligence terminal by the man-machine interface 560 formed like this.
The software view of this intelligent terminal can also comprise the logic relevant to communication such as various module, protocol stack, driver, be summarized as communication interface 570 as shown in Figure 8, for for wireless radio interface 571 and alternatively for blue tooth interface 572 and/or infrared interface 573 provide communication service (such as transmit, network and connectedness), to realize the network connectivty of described intelligent terminal.Wireless radio interface 571 comprises inside or exterior antenna and the suitable radio circuit for setting up and safeguard the wireless link towards base station.As known to the skilled person, described radio circuit comprises a series of analog-and digital-electronic package, and it forms radio receiver and transmitter together.These assemblies such as comprise bandpass filter, amplifier, frequency mixer, local oscillator, low-pass filter, ad/da converter etc.
Mobile communication terminal can also comprise reader device 530, and this reader device 530 generally includes processor and data-carrier store etc., for reading the information of SIM card and the network that provides of cooperation wireless radio interface 517 access carrier of taking this as a foundation.
The locking means of touch-screen provided by the invention can use programmable logic device (PLD) to realize, also may be embodied as computer software, can be such as a kind of computer program according to embodiments of the invention, run this program product and computing machine is performed for demonstrated method.Described computer program comprises computer-readable recording medium, this medium comprises computer program logic or code section, for realizing each step of said method.Described computer-readable recording medium can be the built-in medium be mounted in a computer or the removable medium (such as hot-plugging technology memory device) can dismantled from basic computer.Described built-in medium includes but not limited to rewritable nonvolatile memory, such as RAM, ROM, flash memory and hard disk.Described removable medium includes but not limited to: optical storage media (such as CD-ROM and DVD), magneto-optic storage media (such as MO), magnetic recording medium (such as tape or portable hard drive), have the media (such as storage card) of built-in rewritable nonvolatile memory and have the media (such as ROM box) of built-in ROM.
It will be appreciated by those skilled in the art that any computer system with suitable programmer all can perform all steps of the method for the present invention be included in program product.Although the most embodiments described in this instructions all lay particular emphasis on software program, as the alternate embodiment of firmware and hardware implementing method provided by the invention equally within the scope of protection of present invention.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of miscellaneous part, unit or step, odd number does not get rid of plural number.Multiple parts, unit or the device of stating in system claims also can be realized by software or hardware by parts, unit or a device.
The locking means of touch-screen provided by the present invention and device are when detecting that user performs from the frame of mobile terminal to slide in touch-screen, along with this slide slides the region that slides past to hide user of display covering layer on the touchscreen, present from visual experience the dynamic effect that user pulls curtain, when covering layer hides touch-screen completely, sensing touch screen extinguishes with the locking realizing this touch-screen.Thus, on the one hand, due to without the need to operating on & off switch, therefore effectively reducing the loss of on & off switch, being beneficial to the prolongation in mobile terminal serviceable life to a certain extent; On the other hand, because the operation of user to screen locking realizes at touch-screen and on being positioned at around touch-screen frame, therefore when locking touch-screen user without the need to being switched to the operation being directed on & off switch as traditional operation from the operation being directed to touch-screen, thus ensure that the fluency of user operation, the use health check-up making user good; Another aspect, touch-screen presents user in screen locking process and to leave behind the dynamic effect of curtain, make the lively entertaining of whole screen locking process, visual experience is good, is conducive to the experience promoting user further; Another aspect, gesture operation is expanded on the frame of mobile terminal, screen locking is realized by the slide being directed to both the frame of mobile terminal and touch-screen, thus can effectively with prior art in be only directed to touch-screen gesture operation make a distinction, therefore user can utilize gesture operation to realize screen locking on the basis not changing existing operating habit.
Above disclosedly be only preferred embodiments more of the present invention, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.