WO2017215211A1 - 一种基于具有触摸屏的智能终端的显示图片方法和电子设备 - Google Patents
一种基于具有触摸屏的智能终端的显示图片方法和电子设备 Download PDFInfo
- Publication number
- WO2017215211A1 WO2017215211A1 PCT/CN2016/109587 CN2016109587W WO2017215211A1 WO 2017215211 A1 WO2017215211 A1 WO 2017215211A1 CN 2016109587 W CN2016109587 W CN 2016109587W WO 2017215211 A1 WO2017215211 A1 WO 2017215211A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- degrees
- gradually
- single contact
- equal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Definitions
- the present application relates to the field of computer technologies, and in particular, to a display picture method and an electronic device based on a smart terminal having a touch screen.
- touch screens For a picture on a touch screen, the user usually performs a corresponding display of the picture on the touch screen by operating a specific functional button, for example, an operation of enlarging or reducing the picture.
- the functional button may be a physical button or a virtual button on the touch screen.
- An object of the present application is to provide a method and apparatus for displaying a picture based on a smart terminal having a touch screen to optimize a user's operation mode of displaying a picture on the touch screen and reduce hardware wear.
- a method for displaying a picture based on a smart terminal having a touch screen includes: collecting a single contact on the touch screen; acquiring a touch time of the collected single contact; Determining the touch screen time threshold, determining whether the acquired touch time of the single contact is greater than Or equal to the single contact time threshold; if the acquired touch time of the single contact is greater than or equal to the touch time threshold, identify a moving track of the single contact; and determine the identified single Whether the movement trajectory of the contact matches the preset movement trajectory; if it matches, the displayed picture is subjected to an operation corresponding to the preset movement trajectory.
- the preset touch time threshold is any value greater than or equal to 0.5 s and less than or equal to 2.0 s.
- the preset movement track is a clockwise rotation of N degrees, and the operation corresponding to the clockwise rotation N degrees is to gradually enlarge or gradually reduce the picture; wherein the N is greater than 0 and less than or Any value equal to 360.
- the preset movement trajectory is N degrees rotated counterclockwise, and the operation corresponding to the counterclockwise rotation N degrees is to gradually reduce or gradually enlarge the picture; wherein the N is greater than 0 and less than or Any value equal to 360.
- the N is 90, 180, 270 or 360.
- the picture when rotated to N degrees, the picture is zoomed in to the maximum or reduced to a minimum.
- the identified movement path of the single contact is first rotated counterclockwise by N1 degrees and then rotated clockwise by N2 degrees, and the picture corresponding to clockwise rotation of N degrees is operated to gradually enlarge the picture, and counterclockwise
- the operation corresponding to the rotation of N degrees is to gradually reduce the picture to match;
- the operation of the display picture corresponding to the preset movement track is:
- the picture is gradually reduced, and then the picture is gradually enlarged, and when N1 is greater than or equal to N2, the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the counterclockwise rotation
- the operation of the display picture corresponding to the preset movement track is:
- the image is gradually enlarged, and then the image is gradually reduced.
- N1 is greater than or equal to N2
- the final state of the displayed image is consistent with the relative initial image magnification corresponding to the counterclockwise rotation of
- N1 is less than N2
- the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the clockwise rotation
- the N1 and N2 are any values greater than 0 and less than or equal to N.
- the operation of the display picture corresponding to the preset movement track is:
- the image is gradually enlarged, and then the image is gradually reduced.
- N1 is greater than or equal to N2
- the final state of the displayed image is consistent with the relative initial image magnification corresponding to the clockwise rotation
- N1 is less than N2
- the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the counterclockwise rotation
- the operation of the display picture corresponding to the preset movement track is:
- the picture is gradually reduced, and then the picture is gradually enlarged, and when N1 is greater than or equal to N2, the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the clockwise rotation
- an apparatus for displaying a picture based on a smart terminal having a touch screen includes: a contact collection module for collecting a single contact on the touch screen; and a time acquisition unit for acquiring the collected The touch time of the single contact; the time judging module is configured to determine whether the touch time of the acquired single contact is greater than or equal to a preset touch time threshold; the track identification module, For identifying a movement trajectory of the single contact when the touch time of the acquired single contact is greater than or equal to the preset touch time threshold; the determining module is configured to determine the identified single contact Whether the moving track matches the preset moving track; the picture display module is configured to perform the preset picture on the displayed picture when the recognized motion estimation of the single contact matches the preset moving track The operation corresponding to the fixed movement track.
- the device for displaying a picture based on the smart terminal with a touch screen is characterized in that the preset touch time threshold is any value greater than or equal to 0.5 s and less than or equal to 2.0 s.
- the preset movement track is a clockwise rotation of N degrees, and the operation corresponding to the clockwise rotation N degrees is to gradually enlarge or gradually reduce the picture; wherein the N is greater than 0 and less than or Any value equal to 360.
- the preset movement trajectory is N degrees rotated counterclockwise, and the operation corresponding to the counterclockwise rotation N degrees is to gradually reduce or gradually enlarge the picture; wherein the N is greater than 0 and less than or Any value equal to 360.
- the N is 90, 180, 270 or 360.
- the picture when rotated to N degrees, the picture is zoomed in to the maximum or reduced to a minimum.
- the identified movement path of the single contact is first rotated counterclockwise by N1 degrees and then rotated clockwise by N2 degrees, and the picture corresponding to clockwise rotation of N degrees is operated to gradually enlarge the picture, and counterclockwise
- the operation corresponding to the rotation of N degrees is to gradually reduce the picture to match;
- the picture display module is:
- the picture is gradually reduced, and then the picture is gradually enlarged, and when N1 is greater than or equal to N2, the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the counterclockwise rotation
- the picture display module is:
- the image is gradually enlarged, and then the image is gradually reduced.
- N1 is greater than or equal to N2
- the final state of the displayed image is consistent with the relative initial image magnification corresponding to the counterclockwise rotation of
- N1 is less than N2
- the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the clockwise rotation
- the N1 and N2 are any values greater than 0 and less than or equal to N.
- the picture display module is:
- the image is gradually enlarged, and then the image is gradually reduced.
- N1 is greater than or equal to N2
- the final state of the displayed image is consistent with the relative initial image magnification corresponding to the clockwise rotation
- N1 is less than N2
- the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the counterclockwise rotation
- the picture display module is:
- the picture is gradually reduced, and then the picture is gradually enlarged, and when N1 is greater than or equal to N2, the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the clockwise rotation
- an intelligent terminal having a touch screen, further comprising: a processor, and a sensor electrically connected to the processor and a display screen;
- the sensor is configured to collect a single contact on the touch screen and identify a moving track of the single contact
- the processor is configured to acquire the touch time of the single contact that is collected, and determine whether the touch time of the acquired single contact is greater than or equal to a preset touch time threshold, when the acquired When the touch time of the single contact is greater than or equal to the preset touch time threshold, the trigger sensor identifies the movement track of the single contact, and determines the movement of the single contact recognized by the sensor. Whether the track matches the preset movement track;
- the display screen is configured to perform an operation corresponding to the preset movement track on the displayed picture when the movement track of the identified single contact matches the preset movement track.
- an electronic device comprising:
- At least one processor and,
- the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the electronic device to perform any of the methods described above.
- a non-transitory computer readable storage medium storing computer executable instructions for implementing any of the above Ways.
- a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer performs any of the methods described above.
- FIG. 1 exemplarily shows a flowchart of a method for displaying a picture based on a smart terminal having a touch screen
- FIG. 2 exemplarily shows a schematic diagram of an operation mode in which a picture is gradually enlarged from a normal to a maximum in one embodiment
- FIG. 3 exemplarily shows another schematic diagram of another operation mode in which a picture is gradually enlarged from normal to maximum in one embodiment
- FIG. 4 exemplarily shows a schematic diagram of an operation mode in which a picture is gradually reduced from a normal to a minimum in one embodiment
- FIG. 5 exemplarily shows another schematic diagram of an operation mode in which a picture is gradually reduced from a normal to a minimum in one embodiment
- FIG. 6 exemplarily shows a schematic diagram of an operation mode in which a picture is gradually increased from a normal first and then gradually reduced in an embodiment
- FIG. 7 exemplarily shows another schematic diagram of another operation mode in which a picture is gradually increased from normal before being gradually reduced
- FIG. 8 exemplarily shows a schematic diagram of an operation mode in which a picture is gradually reduced from a normal state and then gradually enlarged in an embodiment
- FIG. 9 exemplarily shows another schematic diagram of another operation mode in which a picture is gradually reduced from normal and then gradually enlarged
- FIG. 10 exemplarily shows a structural block diagram of an apparatus for displaying a picture based on a smart terminal having a touch screen
- FIG. 11 exemplarily shows a structural diagram of an intelligent terminal
- FIG. 12 exemplarily shows a structural diagram of an electronic device
- the outer frame represents a touch screen of the smart terminal
- the inner frame represents the picture displayed on the touch screen
- the arrow movement trajectory indicates the movement trajectory of the acquired single contact when the acquired touch time of the single contact is greater than or equal to the preset touch time threshold.
- a method for displaying a picture based on a smart terminal with a touch screen includes:
- Step 101 Collect a single contact on the touch screen of the smart terminal.
- the smart terminal includes but is not limited to a mobile phone, a personal computer, and a tablet computer.
- the "single contact" may be a single finger or a single stylus pen contacting and pressing a contact formed by the touch screen.
- Step 103 Acquire a touch screen time collected to a single contact.
- Step 105 Determine whether the acquired touch time of the single contact is greater than or equal to a preset touch time threshold.
- the preset touch screen time threshold is any value greater than 0.5 s and less than or equal to 2.0 s.
- Step 107 Acquire a movement track of the single contact when the touch time of the acquired single contact is greater than or equal to a preset touch time threshold.
- Step 109 Determine whether the acquired movement track of the single contact matches the movement track of the preset contact.
- the preset movement track of the contact may be rotated clockwise by N degrees, and the corresponding operation is an operation of gradually enlarging or gradually reducing the picture displayed on the touch screen.
- preset contacts The movement trajectory may also be rotated counterclockwise by N degrees, and the corresponding operation is an operation of gradually reducing or gradually enlarging the actual picture of the touch screen.
- the picture displayed on the touch screen is enlarged to the maximum or reduced to the minimum.
- the N is any value greater than 0 and less than or equal to 360.
- N is 90, 180, 270 or 360
- compared to other angles for example, if N is set to 93 degrees, the user cannot easily find the exact position of 93 degrees by the naked eye. Therefore, when setting the above 90, 180, 270 or 360, the user operation is more intuitive and convenient.
- Step 111 If the acquired movement track of the single contact matches the preset contact movement track, the picture is subjected to an operation corresponding to the preset contact movement track.
- the N1 degree is rotated counterclockwise and the N2 degree is rotated clockwise, and the picture corresponding to the preset clockwise rotation of N degrees is operated to gradually enlarge the picture, one-touch
- the initial position of the point movement track can be anywhere on the screen.
- the dot on the left side of the touch screen indicates the collected single contact, that is, the initial position of the single-contact moving track
- the arrow trajectory indicates the acquired single-contact moving trajectory of the user on the touch screen, which is preset.
- the obtained contact movement track is rotated 360 degrees clockwise, and the touch screen display picture is enlarged to the maximum.
- the touch screen display picture is reduced to the minimum, so as shown in FIG. 2, when acquired The single-contact movement trajectory is 360 degrees clockwise, and when it is rotated 0 degrees counterclockwise, the picture displayed on the touch screen is gradually enlarged to the maximum.
- FIG. 3 when the initial position of the single-contact moving track is on the right side of the touch screen, and the acquired single-contact moving track is rotated clockwise 360, and rotated counterclockwise by 0 degrees, the display on the touch screen is gradually enlarged. The picture is up to the maximum. As shown in FIG.
- the initial position of the single-contact moving track is located on the left side of the touch screen, and the acquired single-contact moving track is rotated 180 degrees clockwise first, then rotated 180 degrees counterclockwise, and then gradually enlarges the display of the touch screen.
- the image is 2 times the original image size, and then the image displayed on the touch screen is gradually reduced to the original image size.
- the initial position of the single-contact moving track is located on the right side of the touch screen, and the acquired single-contact moving track is rotated 180 degrees counterclockwise first, and then rotated 180 degrees clockwise to gradually reduce the touch screen display.
- the picture is 1/2 the original picture size, and then gradually enlarge the touch screen to display the picture to the original picture size.
- the touch screen display image is gradually reduced, and then the image is gradually enlarged, and the initial position of the single-contact moving track can be located anywhere on the screen.
- the dot on the left side of the touch screen indicates the single contact that is collected, that is, the single-contact moving rail is as shown in FIG. 4, and the initial movement of the single-contact moving track is located on the right side of the touch screen, and the acquired single-contact movement is as shown in FIG.
- the trajectory is rotated 360 degrees counterclockwise, rotated clockwise by 0 degrees, and the picture displayed on the touch screen is gradually reduced to the minimum. As shown in FIG.
- the initial position of the single contact moving track is located on the left side of the touch screen, and the obtained single contact
- the movement track is rotated 360 degrees counterclockwise, 0 degrees clockwise, and the picture displayed on the touch screen is gradually reduced to a minimum.
- the initial position of the single-contact moving track is located on the right side of the touch screen, and the acquired single-contact moving track is rotated 180 degrees counterclockwise first, and then rotated 180 degrees clockwise to gradually reduce the picture displayed on the touch screen. Go to 1/2 original image size, and then gradually enlarge the original image size of the image displayed on the touch screen.
- the initial position of the single-contact moving track is located on the right side of the touch screen, and the acquired single-contact moving track is rotated 180 degrees clockwise first, then rotated 180 degrees counterclockwise, and then the picture displayed on the touch screen is gradually enlarged. Go to 2 times the original image size, then gradually reduce the image displayed on the touch screen to the original image size.
- N1 is greater than or equal to N2
- the final state of the displayed picture is consistent with the relative initial picture reduction ratio corresponding to the preset counterclockwise rotation
- degrees corresponds to the initial picture enlargement ratio;
- the identified movement path of the single contact is rotated N1 degrees counterclockwise and then rotated N2 degrees clockwise, and the picture corresponding to the preset clockwise rotation N degrees is to gradually reduce the picture.
- the picture corresponding to the preset counterclockwise rotation of N degrees is to gradually enlarge the picture, the picture on the touch screen is gradually enlarged, and then the picture is gradually reduced, and when N1 is greater than or equal to N2, the final picture is displayed.
- the state is consistent with the relative initial picture enlargement ratio corresponding to the preset counterclockwise rotation
- degree corresponds to a relative initial picture reduction ratio, and the N1 and N2 are arbitrary values greater than 0 and less than or equal to N.
- the identified movement path of the single contact is first rotated clockwise by N1 degrees and then rotated counterclockwise by N2 degrees, and the picture corresponding to the preset clockwise rotation of N degrees is operated to gradually Zoom in
- the picture operation corresponding to the preset counterclockwise rotation of N degrees is to gradually zoom out the picture, and then gradually enlarge the picture on the touch screen, and then gradually reduce the picture, and when N1 is greater than or equal to N2, the picture is displayed.
- the final state is consistent with the relative initial image enlargement ratio corresponding to the preset clockwise rotation
- the picture corresponding to the preset clockwise rotation N degrees is operated to gradually reduce the picture
- preset The counterclockwise rotation of the image corresponding to the N degree is to gradually enlarge the image to match, first gradually reduce the image, and then gradually enlarge the image, and when N1 is greater than or equal to N2, the final state of the displayed image and the preset
- degrees corresponds to the relative initial picture reduction ratio; when N1 is less than N2, the relative state of the displayed picture corresponds to the preset counterclockwise rotation
- the initial image magnification is consistent.
- the touch screen time of the single contact is obtained by collecting a single contact on the touch screen, and the touch time of the obtained single contact is greater than Or equal to a preset time threshold, identifying a single contact movement trajectory of the user, and when the identified single contact movement trajectory matches a preset movement trajectory, performing a preset movement trajectory on the displayed picture
- the corresponding operation enriches the user's display mode of the touch screen picture and reduces the hardware loss.
- the user When a picture is displayed on the touch screen of a smart terminal, the user operates on it, presses a finger on any point on the picture, collects a single contact on the touch screen, and acquires a touch time of the single contact, as shown in FIG. 2 and FIG. 3 As shown in Figures 4, 5, 6, 7, 8, and 9, the red dot indicates the acquired single contact. Determining whether the touch time of the acquired single contact is greater than a preset touch time threshold. In this embodiment, setting the preset touch time threshold to 1.0 s (theoretically preset) Touch screen The time threshold is greater than or equal to 0.5 s and less than or equal to any value in 2.0 s).
- the arrow movement trajectory indicates the movement trajectory of the acquired single contact; whether the movement trajectory of the single contact on the collected touch screen is determined with a preset contact movement trajectory Matching, in this embodiment, the preset contact movement trajectory is N degrees clockwise, and the operation corresponding to the clockwise rotation of N degrees is to gradually enlarge the picture, and when clockwise rotated to N degrees, The picture is enlarged to the maximum; the preset contact trajectory is rotated by N degrees counterclockwise, and the operation corresponding to the counterclockwise rotation of N degrees is to gradually reduce the picture, and when the rotation is counterclockwise to N degrees, the picture is reduced to the minimum.
- N is 360.
- the picture displayed on the touch screen of the smart terminal is operated corresponding to the preset movement track.
- an apparatus for displaying a picture based on a smart terminal with a touch screen includes:
- the contact collection module 1001 is configured to collect a single contact on the touch screen
- the time acquisition module 1003 is configured to acquire the touch time of the collected single contact.
- the time judging module 1005 is configured to determine whether the touch time of the acquired single contact is greater than or equal to a preset touch screen time threshold
- the trajectory identification module 1007 is configured to identify a movement trajectory of the single contact when the acquired touch time of the single contact is greater than or equal to the preset touch time threshold;
- the trajectory determining module 1009 is configured to determine whether the identified movement trajectory of the single contact matches a preset movement trajectory
- the picture display module 1011 is configured to perform an operation corresponding to the preset movement track on the displayed picture when the movement track of the identified single contact matches the preset movement track.
- the device for displaying a picture based on the smart terminal with the touch screen in the embodiment collects a single contact on the touch screen through the contact collecting module 1001, and then acquires the touch time of the collected single contact through the time judging module 1003. Determining, by the time judging module 1005, whether the touch time of the acquired single contact is greater than or equal to the preset touch time threshold; when the acquired touch time of the single contact is greater than or equal to the advance
- the trajectory identification module 1007 identifies the movement trajectory of the single contact
- the trajectory determination module 1009 determines whether the recognized movement trajectory of the single contact matches the preset movement trajectory.
- the displayed picture is subjected to an operation corresponding to the preset movement track by the picture display module 1011.
- the embodiment provides an intelligent terminal, including: a processor 2003 and a sensor 2001 and a display screen 2005 electrically connected to the processor 2003;
- the processor 2003 is configured to obtain the touch time of the collected single contact, and determine whether the touch time of the acquired single contact is greater than or equal to a preset touch time threshold, when the obtained location is obtained.
- the trigger sensor identifies the movement track of the single contact, and determines the movement track of the single contact recognized by the sensor. Whether it matches the preset movement track;
- the display screen 2005 is configured to perform an operation corresponding to the preset movement track on the displayed picture when the movement track of the identified single contact matches the preset movement track.
- the embodiment provides an electronic device including at least one central processing unit 710 and at least one memory 720.
- the at least one memory 720 and the at least one central processing unit 710 are communicatively coupled by a bus 730 for storing computer instructions that, when the electronic device is operating, the at least one central processing unit 710
- the computer instructions stored in the at least one memory 720 are executed such that the electronic device is configured to perform any of the above method embodiments.
- a non-transitory computer readable storage medium storing computer executable instructions for implementing any of the above method embodiments.
- a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when executed by a computer, the computer executing the method embodiment Any method.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种基于具有触摸屏的智能终端的显示图片方法和图片显示装置,该方法包括:通过采集触摸屏上的单触点(101),获取采集到的单触点的触屏时间(103),根据预先设定的触屏时间阈值,判断获取到的单触点的触屏时间是否大于或等于所述触屏时间阈值(105);如果获取到的所述单触点的触屏时间大于或等于所述触屏时间阈值,识别所述单触点的移动轨迹(107),判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配(109),如果匹配,则对显示的图片进行与所述预先设定的移动轨迹对应的操作(111)。根据该方法,丰富了用户对触摸屏图片的显示方式,减少了硬件损耗。
Description
交叉引用
本申请基于申请号为CN201610425627.0、申请日为2016年06月16日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请涉及计算机技术领域,特别的涉及一种基于具有触摸屏的智能终端的显示图片方法和电子设备。
目前,许多智能终端都采用触摸屏。对于触摸屏上的图片,用户通常是通过操作特定的功能性按键,实现触摸屏上图片的相应显示,比如,对图片进行放大或者缩小的操作。其中,该功能性按键可以是物理性按键,也可以是触摸屏上的虚拟按键。
但是,这种方法操作步骤繁琐,用户不能直观体验,而且还会对设备造成一定的硬件磨损。
发明内容
本申请旨在解决上面描述的问题。本申请的一个目的是提供一种基于具有触摸屏的智能终端显示图片的方法和装置,以优化用户对触摸屏显示图片的操作方式,减少硬件磨损。
根据本申请的第一方面,提供了一种基于具有触摸屏的智能终端显示图片的方法,包括:采集触摸屏上的单触点;获取采集到的所述单触点的触屏时间;根据预先设定的触屏时间阈值,判断获取到的所述单触点的触屏时间是否大于
或等于所述单触点时间阈值;如果获取到的所述单触点的触屏时间大于或等于所述触屏时间阈值,识别所述单触点的移动轨迹;判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;如果匹配,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
可选的,所述预先设定的触屏时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值。
可选的,所述预先设定的移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大或逐渐缩小;其中,所述N为大于0且小于或等于360的任意数值。
可选的,所述预先设定的移动轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小或逐渐放大;其中,所述N为大于0且小于或等于360的任意数值。
可选的,所述N为90、180、270或360。
可选的,当旋转到N度时,所述图片放大到最大或者缩小到最小。
可选的,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的操作为将图片逐渐缩小相匹配时;
所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:
先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;
或者,
当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;
所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:
先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致,所述N1和N2为大于0且小于或等于N的任意数值。
可选的,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时;
所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:
先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;
或者,
当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;
所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:
先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致。
根据本申请的第二方面,提供了一种基于具有触摸屏的智能终端显示图片的装置,包括:触点采集模块,用于采集触摸屏上的单触点;时间获取单元,用于获取采集到的所述单触点的触屏时间;时间判断模块,用于判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值;轨迹识别模块,
用于当所获取到的单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,识别单触点的移动轨迹;判断模块,用于判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;图片显示模块,用于当所识别的单触点的移动估计与预先设定的移动轨迹相匹配时,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
可选的,所述基于具有触摸屏的智能终端显示图片的装置,其特征在于,所述预先设定的触屏时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值。
可选的,所述预先设定的移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大或逐渐缩小;其中,所述N为大于0且小于或等于360的任意数值。
可选的,所述预先设定的移动轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小或逐渐放大;其中,所述N为大于0且小于或等于360的任意数值。
可选的,所述N为90、180、270或360。
可选的,当旋转到N度时,所述图片放大到最大或者缩小到最小。
可选的,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的操作为将图片逐渐缩小相匹配时;
所述图片显示模块为:
先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;
或者,
当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2
度,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;
所述图片显示模块为:
先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致,所述N1和N2为大于0且小于或等于N的任意数值。
可选的,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时;
所述图片显示模块为:
先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;
或者,
当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;
所述图片显示模块为:
先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致。
根据本申请的第三方面,提供了一种智能终端,所述智能终端具有触摸屏,还包括:处理器,以及与处理器电连接的传感器以及显示屏;
所述传感器,用于采集触摸屏上的单触点以及识别单触点的移动轨迹;
所述处理器,用于获取采集到的所述单触点的触屏时间,判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值,当所获取到的所述单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,触发传感器识别所述单触点的移动轨迹,判断所述传感器识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;
所述显示屏,用于当所识别的单触点的移动轨迹与预先设定的移动轨迹相匹配时,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
根据本申请的第四方面,提供了一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述电子设备用于执行上述任意一种方法。
根据本申请的第五方面,提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于实现上述任意一种方法。
根据本申请的第六方面,提供了一种计算机程序产品,包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,所述计算机执行上述任意一种方法。
参照附图来阅读对于示例性实施例的以下描述,本申请的其他特性特征和优点将变得清晰。
并入到说明书中并且构成说明书的一部分的附图示出了本申请的实施例,并且与描述一起用于解释本申请的原理。在这些附图中,类似的附图标记用于表示类似的要素。下面描述中的附图是本申请的一些实施例,而不是全部实施
例。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,可以根据这些附图获得其他的附图。
图1示例性的示出了一种基于具有触摸屏的智能终端显示图片的方法的流程图;
图2示例性地示出了一种实施例中图片从正常逐渐放大到最大的操作方式示意图;
图3示例性地示出了一种实施例中图片从正常逐渐放大到最大的另一操作方式示意图;
图4示例性地示出了一种实施例中图片从正常逐渐缩小到最小的操作方式示意图;
图5示例性地示出了一种实施例中图片从正常逐渐缩小到最小的另一操作方式示意图;
图6示例性地示出了一种实施例中图片从正常先逐渐增大,再逐渐缩小的操作方式示意图;
图7示例性地示出了一种实施例中图片从正常先逐渐增大,再逐渐缩小的另一操作方式示意图;
图8示例性地示出了一种实施例中图片从正常先逐渐缩小,再逐渐放大的操作方式示意图;
图9示例性地示出了一种实施例中图片从正常先逐渐缩小,再逐渐放大的另一操作方式示意图;
图10示例性地示出了一种基于具有触摸屏的智能终端显示图片的装置的结构框图;
图11示例性地示出了一种智能终端的结构图;
图12示例性地示出了一种电子设备的结构图;
图中符号说明:
外框表示智能终端的触摸屏;
内框表示触摸屏上显示的图片;
圆点表示获取到的单触点;
箭头移动轨迹表示当所获取的单触点的触屏时间大于或等于预先设定的触屏时间阈值时,所获取的单触点的移动轨迹。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
如图1所示,一种基于具有触摸屏智能终端显的显示图片的方法,包括:
步骤101:采集智能终端的触摸屏上的单触点。
其中,该智能终端包括但不限于手机、个人电脑以及平板电脑。所述的“单触点”可以为单个手指或者单个触屏笔接触并按压触摸屏形成的触点。
步骤103:获取采集到单触点的触屏时间。
步骤105:判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值。
其中,预先设定的触屏时间阈值为大于0.5s且小于或等于2.0s中的任一数值。
步骤107:当所获取到的单触点的触屏时间大于或等于预先设定的触屏时间阈值时,获取单触点的移动轨迹。
步骤109:判断所获取到的单触点的移动轨迹是否与预先设定的触点的移动轨迹相匹配。
其中,预先设定的触点移动轨迹可以为顺时针旋转N度,其对应的操作为将触摸屏显示的图片进行逐渐放大或逐渐缩小的操作。另外,预先设定的触点
移动轨迹也可以为逆时针旋转N度,其对应的操作为将触摸屏现实的图片进行逐渐缩小或逐渐放大的操作。
当旋转到N度时,将触摸屏显示的图片放大到最大或者缩小到最小。其中,所述N为大于0且小于或等于360的任意数值。
当N为90、180、270或360时,相比其他角度,例如:若设定N为93度,用户不能很容易的凭借肉眼找到93度的准确位置。所以设定上述90、180、270或360时,用户操作更加直观便捷。
步骤111:如果所获取到的单触点的移动轨迹与预先设定的触点移动轨迹相匹配时,对图片进行与预先设定的触点移动轨迹相应的操作。
其中,当识别到单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与所述预先设定的顺时针旋转N度对应的图片操作为将图片逐渐放大,单触点移动轨迹的初始位置可以位于屏幕的任意地方。如图2所示,触摸屏左侧圆点表示所采集的单触点,即单触点移动轨迹的初始位置,箭头轨迹表示所获取的用户在触摸屏上的单触点移动轨迹,预先设定当所获取的触点移动轨迹顺时针旋转360度,将触摸屏显示图片放大到最大,当所获取的触点移动轨迹逆时针旋转360度,将触摸屏显示图片缩小到最小,所以如图2所示,当所获取的单触点移动轨迹为顺时针旋转360度,逆时针旋转0度时,逐渐放大触摸屏上显示的图片到最大。又如图3所示,当单触点移动轨迹的初始位置在触摸屏的偏右侧,且所获取的单触点移动轨迹为顺时针旋转360,逆时针旋转0度时,逐渐放大触摸屏上显示的图片到最大。又如图6所示,单触点移动轨迹的初始位置位于触摸屏左侧,所获取的单触点移动轨迹为先顺时针旋转180度,然后逆时针旋转180度,则先逐渐放大触摸屏显示的图片到2倍原图片大小,然后逐渐缩小触摸屏显示的图片到原图片大小。又如图7所示,单触点移动轨迹的初始位置位于触摸屏的右侧,所获取的单触点移动轨迹为先逆时针旋转180度,然后顺时针旋转180度,则先逐渐缩小触摸屏显示的图片到1/2原图片大小,然后逐渐放大触摸屏显示图片到原图片大小。与预先设定的逆时针旋转N度对应
的操作为将图片逐渐缩小相匹配时,先将触摸屏显示图片逐渐缩小,再将图片逐渐放大,单触点移动轨迹的初始位置可以位于屏幕的任意地方。如图2所示,触摸屏左侧圆点表示所采集的单触点,即单触点移动轨如图4所示,单触点移动轨迹的初始位于触摸屏右侧,所获取的单触点移动轨迹为逆时针旋转360度,顺时针旋转0度,逐渐缩小触摸屏上显示的图片到最小,又如图5所示,单触点移动轨迹的初始位置位于触摸屏左侧,所获取的单触点移动轨迹为逆时针旋转360度,顺时针旋转0度,逐渐缩小触摸屏上显示的图片到最小。又如图8所示,单触点移动轨迹的初始位置位于触摸屏右侧,所获取的单触点移动轨迹为先逆时针旋转180度,然后顺时针旋转180度,则逐渐缩小触摸屏显示的图片到1/2原图片大小,然后逐渐放大触摸屏显示的图片原图片大小。又如图9所示,单触点移动轨迹的初始位置位于触摸屏右侧,所获取的单触点移动轨迹为先顺时针旋转180度,然后逆时针旋转180度,则逐渐放大触摸屏显示的图片到2倍原图片大小,然后逐渐缩小触摸屏显示的图片到原图片大小。当N1大于等于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;
或者,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与所述预先设定的顺时针旋转N度对应的图片操作为将图片逐渐缩小,与预先设定的逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时,先将触摸屏显示图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致,所述N1和N2为大于0且小于或等于N的任意数值。
其中,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与所述预先设定的顺时针旋转N度对应的图片操作为将图片逐渐
放大,与预先设定的逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时,先将触摸屏显示图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;
或者,当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与所述预先设定的顺时针旋转N度对应的图片操作为将图片逐渐缩小,与预先设定的逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时,先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致。
本实施例对基于具有触摸屏的智能终端的显示图片的方法,通过通过采集触摸屏上的单触点,获取采集到的单触点的触屏时间,在获取到的单触点的触屏时间大于或等于预先设定的时间阈值之后,识别用户的单触点移动轨迹,当所识别的单触点移动轨迹与预先设定的移动轨迹相匹配时,对显示的图片进行与预先设定的移动轨迹对应的操作,从而丰富了用户对触摸屏图片的显示方式,减少了硬件损耗。
为了使本申请实施例的目的、技术方案和优点更加清楚,下面结合本申请实施例中的附图,给出一种基于具有触摸屏的智能终端显示图片的方案的一种具体实施例。
当某智能终端的触摸屏上显示图片时,用户对其进行操作,用手指按住图片上任意一点,采集触摸屏上的单触点,并获取单触点的触屏时间,如图2、图3、图4、图5、图6、图7、图8和图9中所示,红色的圆点表示采集到的单触点。判断所获取到的单触点的触屏时间,是否大于预先设定的触屏时间阈值,此实施案例中,设定该预先设定的触屏时间阈值为1.0s(理论上预先设定的触屏
时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值)。
当所获取到的单触点的触屏时间大于预先设定的触屏时间阈值时,采集用户在触摸屏上的单触点的移动轨迹,如图2、图3、图4、图5、图6、图7、图8和图9中所示,箭头移动轨迹表示所获取的单触点的移动轨迹;判断所采集的触摸屏上的单触点的移动轨迹是否与预先设定的触点移动轨迹相匹配,此实施例中,预先设定的触点移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大,当顺时针旋转到N度时,将图片放大到最大;预先设定的触点轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小,当逆时针旋转到N度时,将图片缩小到最小,此实施例中N为360。
当所采集到的触摸屏上的单触点的移动轨迹与预先设定的触点移动轨迹相匹配时,对智能终端的触摸屏上显示的图片进行与预先设定的移动轨迹对应的操作。
如图2和图3所示,当用户用手指按住智能终端触摸屏上显示的图片的任意一点,从初始位置开始,顺时针旋转360度,触摸屏显示图片从正常逐渐增大到最大。
如图4和图5所示,当用户用手指按住智能终端触摸屏上显示的图片的任意一点,从初始位置开始,逆时针旋转360度,触摸屏显示图片从正常逐渐缩小到最小。
如图6和7所示,当用户用手指按住智能终端触摸屏上显示的图片上的任意一点,从初始位置开始,先顺时针旋转N1度,再逆时针旋转N2度,触摸屏显示图片从正常先逐渐增大,再逐渐缩小,当N1大于等于N2时,显示图片的最终状态为与预先设定的顺时针旋转|N1-N2|度对应的相对对初始图片放大的比例一致;当N1小于N2时,显示的图片的最终状态为与预先设定的逆时针旋转|N1-N2|度对应的相对初始图片的缩小比例一致,其中N1和N2为大于0且小于360的任意数值。
如图8和9所示,当用户手指按住智能终端触摸屏上显示的图片上的任意一点,从初始位置开始,先逆时针旋转N1度,再顺时针旋转N2度,触摸屏显示图片从正常先逐渐缩小,再逐渐增大,当N1大于等于N2时,显示图片的最终状态为与预先设定的逆时针旋转|N1-N2|度对应的相对对初始图片缩小的比例一致;当N1小于N2时,显示的图片的最终状态为与预先设定的顺时针旋转|N1-N2|度对应的相对初始图片的放大比例一致,
如图10所示,一种基于具有触摸屏的智能终端的显示图片的装置,包括:
触点采集模块1001,用于采集触摸屏上的单触点;
时间获取模块1003,用于获取采集到的所述单触点的触屏时间;
时间判断模块1005,用于判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值;
轨迹识别模块1007,用于当所获取到的所述单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,识别单触点的移动轨迹;
轨迹判断模块1009,用于判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;
图片显示模块1011,用于当所识别的单触点的移动轨迹与预先设定的移动轨迹相匹配时,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
本实施例的一种基于具有触摸屏的智能终端的显示图片的装置,通过触点采集模块1001采集触摸屏上的单触点,然后通过时间判断模块1003获取采集到的单触点的触屏时间,通过时间判断模块1005判断所获取的单触点的触屏时间是否大于或等于所述预先设定的触屏时间阈值;当所获取到的所述单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,通过轨迹识别模块1007识别单触点的移动轨迹,通过轨迹判断模块1009,判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配,当所识别的单触点时,通过图片显示模块1011对显示的图片进行与所述预先设定的移动轨迹对应的操作。
如图11所示,本实施例提供了一种智能终端,包括:处理器2003以及与所述处理器2003电连接的传感器2001和显示屏2005;其中,
传感器2001,用于采集触摸屏上的单触点以及识别单触点的移动轨迹;
处理器2003,用于获取采集到的所述单触点的触屏时间,判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值,当所获取到的所述单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,触发传感器识别所述单触点的移动轨迹,判断所述传感器识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;
显示屏2005,用于当所识别的单触点的移动轨迹与预先设定的移动轨迹相匹配时,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
如图12所示,本实施例提供了一种电子设备,包括至少一个中央处理器710、至少一个存储器720。所述至少一个存储器720和所述至少一个中央处理器710通过总线730通信连接,所述至少一个存储器720用于存储计算机指令,当所述电子设别运行时,所述至少一个中央处理器710执行所述至少一个存储器720存储的计算机指令,使得所述电子设备用于执行上述方法实施例中的任意一种方法。
一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于实现上述方法实施例中的任意一种方法。
一种计算机程序产品,包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,所述计算机执行上述方法实施例中的任意一种方法。
上面描述的内容可以单独地或者以各种方式组合起来实施,而这些变性方式都在本申请的保护范围之内。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制。尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员
应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (26)
- 一种基于具有触摸屏的智能终端的显示图片方法,应用于智能终端,其特征在于,包括:采集触摸屏上的单触点;获取采集到的所述单触点的触屏时间;判断获取到的所述单触点的触屏时间是否大于或等于所述触屏时间阈值;如果获取到的所述单触点的触屏时间大于或等于所述触屏时间阈值,识别所述单触点的移动轨迹;判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;如果匹配,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
- 根据权利要求1所述的方法,其特征在于,所述预先设定的触屏时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值。
- 根据权利要求1所述的方法,其特征在于,所述预先设定的移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大或逐渐缩小;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求1所述的方法,其特征在于,所述预先设定的移动轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小或逐渐放大;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求3或4所述的方法,其特征在于,所述N为90、180、270或360。
- 根据权利要求3或4所述的方法,其特征在于,当旋转到N度时,所述图片放大到最大或者缩小到最小。
- 根据权利要求3或4所述的方法,其特征在于,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N 度对应的操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且,当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;或者,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且,当N1大于等于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;其中,所述N1和N2为大于0且小于或等于N的任意数值。
- 根据权利要求3或4所述的方法,其特征在于,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;或者,当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致。
- 一种智能终端,其特征在于,所述智能终端具有触摸屏,所述智能终端还包括:处理器,以及与处理器电连接的传感器以及显示屏;其中,传感器,用于采集触摸屏上的单触点以及识别单触点的移动轨迹;处理器,用于获取采集到的所述单触点的触屏时间,判断所获取到的单触点的触屏时间是否大于或等于预先设定的触屏时间阈值,当所获取到的所述单触点的触屏时间大于或等于所述预先设定的触屏时间阈值时,触发传感器识别所述单触点的移动轨迹,判断所述传感器识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;显示屏,用于当所识别的单触点的移动轨迹与预先设定的移动轨迹相匹配时,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
- 一种电子设备,其特征在于,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述电子设备用于:采集触摸屏上的单触点;获取采集到的所述单触点的触屏时间;判断获取到的所述单触点的触屏时间是否大于或等于所述触屏时间阈值;如果获取到的所述单触点的触屏时间大于或等于所述触屏时间阈值,识别所述单触点的移动轨迹;判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;如果匹配,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
- 根据权利要求10所述的电子设备,其特征在于,所述预先设定的触屏时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值。
- 根据权利要求10所述的电子设备,其特征在于,所述预先设定的移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大或逐渐缩小;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求10所述的电子设备,其特征在于,所述预先设定的移动轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小或逐渐放大;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求12或13所述的电子设备,其特征在于,所述N为90、180、270或360。
- 根据权利要求12或13所述的电子设备,其特征在于,当旋转到N度时,所述图片放大到最大或者缩小到最小。
- 根据权利要求12或13所述的电子设备,其特征在于,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且,当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;或者,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且,当N1大于等于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;其中,所述N1和N2为大于0且小于或等于N的任意数值。
- 根据权利要求12或13所述的电子设备,其特征在于,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;或者,当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放 大比例一致。
- 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于:采集触摸屏上的单触点;获取采集到的所述单触点的触屏时间;判断获取到的所述单触点的触屏时间是否大于或等于所述触屏时间阈值;如果获取到的所述单触点的触屏时间大于或等于所述触屏时间阈值,识别所述单触点的移动轨迹;判断识别到的所述单触点的移动轨迹是否与预先设定的移动轨迹相匹配;如果匹配,对显示的图片进行与所述预先设定的移动轨迹对应的操作。
- 根据权利要求18所述的非暂态计算机可读存储介质,其特征在于,所述预先设定的触屏时间阈值为大于或等于0.5s且小于或等于2.0s中的任意数值。
- 根据权利要求18所述的非暂态计算机可读存储介质,其特征在于,所述预先设定的移动轨迹为顺时针旋转N度,与所述顺时针旋转N度对应的操作为将图片逐渐放大或逐渐缩小;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求18所述的非暂态计算机可读存储介质,其特征在于,所述预先设定的移动轨迹为逆时针旋转N度,与所述逆时针旋转N度对应的操作为将图片逐渐缩小或逐渐放大;其中,所述N为大于0且小于或等于360的任意数值。
- 根据权利要求20或21所述的非暂态计算机可读存储介质,其特征在于,所述N为90、180、270或360。
- 根据权利要求20或21所述的非暂态计算机可读存储介质,其特征在于,当旋转到N度时,所述图片放大到最大或者缩小到最小。
- 根据权利要求20或21所述的非暂态计算机可读存储介质,其特征在于,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2 度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且,当N1大于等于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;或者,当识别到的所述单触点的移动轨迹为先逆时针旋转N1度再顺时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且,当N1大于等于N2时,显示图片的最终状态与所述预先设定的逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与所述预先设定的顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;其中,所述N1和N2为大于0且小于或等于N的任意数值。
- 根据权利要求20或21所述的非暂态计算机可读存储介质,其特征在于,当识别到的所述单触点的移动轨迹为先顺时针旋转N1度再逆时针旋转N2度,且与顺时针旋转N度对应的图片操作为将图片逐渐放大,与逆时针旋转N度对应的图片操作为将图片逐渐缩小相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐放大,再将图片逐渐缩小,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片放大比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;或者,当识别到的所述单触点的移动轨迹为先顺时针旋转再逆时针旋转,且与顺时针旋转N度对应的图片操作为将图片逐渐缩小,与逆时针旋转N度对应的图片操作为将图片逐渐放大相匹配时;所述对显示图片进行与所述预先设定的移动轨迹对应的操作为:先将图片逐渐缩小,再将图片逐渐放大,且当N1大于等于N2时,显示图片的最终状态与顺时针旋转|N1-N2|度对应的相对初始图片缩小比例一致;当N1小于N2时,显示图片的最终状态与逆时针旋转|N1-N2|度对应的相对初始图片放大比例一致。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,所述计算机执行权利要求1-8中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610425627.0A CN106126087A (zh) | 2016-06-16 | 2016-06-16 | 一种基于具有触摸屏的智能终端的显示图片方法和装置 |
CN201610425627.0 | 2016-06-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215211A1 true WO2017215211A1 (zh) | 2017-12-21 |
Family
ID=57470096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/109587 WO2017215211A1 (zh) | 2016-06-16 | 2016-12-13 | 一种基于具有触摸屏的智能终端的显示图片方法和电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106126087A (zh) |
WO (1) | WO2017215211A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126087A (zh) * | 2016-06-16 | 2016-11-16 | 乐视控股(北京)有限公司 | 一种基于具有触摸屏的智能终端的显示图片方法和装置 |
JP7337574B2 (ja) * | 2019-07-12 | 2023-09-04 | アルパイン株式会社 | 入力検出装置および入力検出方法 |
CN110543274B (zh) * | 2019-07-29 | 2024-02-20 | 惠州Tcl移动通信有限公司 | 一种图像显示方法、移动终端以及具有存储功能的装置 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257824A (zh) * | 2013-04-02 | 2013-08-21 | 东莞宇龙通信科技有限公司 | 一种选定屏幕上显示的操作对象的方法、系统及移动终端 |
CN103279286A (zh) * | 2013-05-06 | 2013-09-04 | 鸿富锦精密工业(深圳)有限公司 | 调整图片显示比例的电子装置及方法 |
US20130234964A1 (en) * | 2012-03-08 | 2013-09-12 | Samsung Electronics Co., Ltd. | Image editing apparatus and method for selecting area of interest |
CN104317491A (zh) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | 显示内容的控制方法、装置和移动终端 |
CN105407211A (zh) * | 2015-10-20 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | 一种基于触摸按键的手势识别系统及方法 |
CN105549842A (zh) * | 2015-12-02 | 2016-05-04 | 魅族科技(中国)有限公司 | 图片编辑方法及装置 |
CN106126087A (zh) * | 2016-06-16 | 2016-11-16 | 乐视控股(北京)有限公司 | 一种基于具有触摸屏的智能终端的显示图片方法和装置 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727261A (zh) * | 2008-10-17 | 2010-06-09 | 华硕电脑股份有限公司 | 页面操作方法与电子装置 |
-
2016
- 2016-06-16 CN CN201610425627.0A patent/CN106126087A/zh active Pending
- 2016-12-13 WO PCT/CN2016/109587 patent/WO2017215211A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130234964A1 (en) * | 2012-03-08 | 2013-09-12 | Samsung Electronics Co., Ltd. | Image editing apparatus and method for selecting area of interest |
CN103257824A (zh) * | 2013-04-02 | 2013-08-21 | 东莞宇龙通信科技有限公司 | 一种选定屏幕上显示的操作对象的方法、系统及移动终端 |
CN103279286A (zh) * | 2013-05-06 | 2013-09-04 | 鸿富锦精密工业(深圳)有限公司 | 调整图片显示比例的电子装置及方法 |
CN104317491A (zh) * | 2014-09-30 | 2015-01-28 | 北京金山安全软件有限公司 | 显示内容的控制方法、装置和移动终端 |
CN105407211A (zh) * | 2015-10-20 | 2016-03-16 | 上海斐讯数据通信技术有限公司 | 一种基于触摸按键的手势识别系统及方法 |
CN105549842A (zh) * | 2015-12-02 | 2016-05-04 | 魅族科技(中国)有限公司 | 图片编辑方法及装置 |
CN106126087A (zh) * | 2016-06-16 | 2016-11-16 | 乐视控股(北京)有限公司 | 一种基于具有触摸屏的智能终端的显示图片方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106126087A (zh) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11323658B2 (en) | Display apparatus and control methods thereof | |
CN105814522B (zh) | 基于运动识别来显示虚拟输入设备的用户界面的设备和方法 | |
US20170269812A1 (en) | Displaying method and electronic apparatus | |
US9880721B2 (en) | Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method | |
JP2006345529A (ja) | ユーザが調整可能な閾値を用いる赤目補正方法及び装置 | |
KR102254794B1 (ko) | 터치 패널 입력 장치, 터치 제스처 판정 장치, 터치 제스처 판정 방법, 및 터치 제스처 판정 프로그램 | |
TW201602867A (zh) | 手持設備上使用者操作模式的識別方法及手持設備 | |
US9846529B2 (en) | Method for processing information and electronic device | |
CN107172347B (zh) | 一种拍照方法及终端 | |
CN108108117B (zh) | 一种截屏方法、装置及终端 | |
WO2017215211A1 (zh) | 一种基于具有触摸屏的智能终端的显示图片方法和电子设备 | |
CN105868235A (zh) | 智能终端的图片预览方法及装置 | |
WO2015131590A1 (zh) | 一种控制黑屏手势处理的方法及终端 | |
EP3293605B1 (en) | Widget displaying method and apparatus for use in flexible display device, computer program and recording medium | |
CN112306235A (zh) | 一种手势操作方法、装置、设备和存储介质 | |
CN106020690A (zh) | 一种视频画面截取方法、装置及一种移动终端 | |
WO2016145827A1 (zh) | 终端的控制方法及装置 | |
CN106845190B (zh) | 显示控制系统及方法 | |
CN105608668B (zh) | 一种信息处理方法及装置 | |
KR20190128921A (ko) | 압력 감지를 이용한 사용자 인증 영상 획득 장치 및 방법 | |
CN104777978A (zh) | 一种终端 | |
WO2019201223A1 (zh) | 屏幕显示的切换方法以及装置及存储介质 | |
US20120256964A1 (en) | Information processing device, information processing method, and program storage medium | |
JP6397508B2 (ja) | 個人用入力パネルを生成する方法および装置 | |
CN105469048A (zh) | 一种提高人脸检测性能的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16905322 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16905322 Country of ref document: EP Kind code of ref document: A1 |