WO2017032020A1 - 一种图片处理方法及电子终端 - Google Patents

一种图片处理方法及电子终端 Download PDF

Info

Publication number
WO2017032020A1
WO2017032020A1 PCT/CN2016/080431 CN2016080431W WO2017032020A1 WO 2017032020 A1 WO2017032020 A1 WO 2017032020A1 CN 2016080431 W CN2016080431 W CN 2016080431W WO 2017032020 A1 WO2017032020 A1 WO 2017032020A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
electronic terminal
picture
target image
sliding
Prior art date
Application number
PCT/CN2016/080431
Other languages
English (en)
French (fr)
Inventor
李建林
李家达
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017032020A1 publication Critical patent/WO2017032020A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a picture processing method and an electronic terminal.
  • the embodiment of the invention discloses a picture processing method and an electronic terminal, which can improve the efficiency of the user processing the picture.
  • an embodiment of the present invention provides a picture processing method, where the method includes:
  • the electronic terminal receives a sliding operation on the touch display screen for the target picture, wherein the sliding operation includes sliding direction information and velocity size information applied to the touch display screen;
  • the electronic terminal analyzes the range to which the velocity information belongs, and when the velocity information falls within the first preset range, rotates the target image in a direction indicated by the sliding direction information.
  • the method further includes:
  • the electronic terminal locks the target image to blur the target image, or switches the target image to a direction indicated by the sliding direction information, or A zoom operation is performed on the target picture.
  • the electronic terminal receives a double tap operation for the target picture
  • the electronic terminal determines, according to the double-click operation, a browsing attribute of the rotated target image as a latest browsing attribute of the target image.
  • the method further includes:
  • the electronic terminal receives an input click operation, and the click operation includes click strength information
  • the electronic terminal adjusts the target picture to a state before the rotation.
  • the sliding operation includes And the following: before the rotating the target image in the direction indicated by the sliding direction information, the method further includes:
  • the electronic terminal determines whether the fingerprint information matches the preset fingerprint information
  • the electronic terminal performs the step of rotating the target picture in the direction indicated by the sliding direction information when the velocity size information falls within the first preset range.
  • the electronic terminal analysis The range to which the strength information belongs is:
  • the electronic terminal analyzes a range to which the velocity size information belongs and displays the velocity size information.
  • the strength size information is a maximum pressure acquired within a period of time.
  • an embodiment of the present invention provides an electronic terminal, where the electronic terminal includes:
  • a first receiving unit configured to receive a sliding operation on the touch display screen for the target image, wherein the sliding operation includes sliding direction information and velocity size information applied on the touch display screen;
  • the first processing unit is configured to analyze a range to which the velocity size information belongs, and when the velocity size information falls within the first preset range, rotate the target image in a direction indicated by the sliding direction information.
  • the method further includes:
  • a second processing unit configured to: when the velocity size information falls within a second preset range, lock the target image to blur the target image, or switch the target to a direction indicated by the sliding direction information A picture, or performing a zoom operation on the target picture.
  • the method further includes:
  • a second receiving unit configured to receive a double-click operation for the target picture
  • a determining unit configured to determine, according to the double-click operation, a browsing attribute of the rotated target image as a latest browsing attribute of the target image.
  • the method further includes:
  • a third receiving unit configured to receive an input click operation, where the click operation includes click strength information
  • a first determining unit configured to determine whether the click strength information falls within a third preset range
  • an adjusting unit configured to adjust the target picture to a state before the rotation when the determination result of the first determining unit is YES.
  • the sliding operation includes Fingerprint information; also includes:
  • a second determining unit configured to determine whether the fingerprint information matches the preset fingerprint information; if the matching is performed, triggering, by the first processing unit, when the velocity size information falls within the first preset range, The target picture is rotated in a direction indicated by the sliding direction information.
  • the first processing unit analyzes a range to which the strength size information belongs, specifically:
  • the range to which the velocity information belongs is analyzed and the velocity size information is displayed.
  • an embodiment of the present invention provides an electronic terminal, where the electronic terminal includes a processor and a memory, the memory is used to store programs and data, and the processor calls a program in the memory to perform the following operations. ;
  • the range to which the velocity information belongs is analyzed, and when the velocity information falls within the first preset range, the target image is rotated in a direction indicated by the sliding direction information.
  • the processor is further configured to:
  • the electronic terminal locks the target image to blur the target image, or switches the target image to a direction indicated by the sliding direction information, or A zoom operation is performed on the target picture.
  • the processor when the velocity size information falls within a first preset range, rotates the direction indicated by the sliding direction information After the target image, it is also used to:
  • the processor is When the velocity information falls within the first preset range, after rotating the target image in the direction indicated by the sliding direction information, it is further used to:
  • the click operation including click strength information
  • the target picture is adjusted to the state before the rotation.
  • the sliding operation includes Fingerprint information; the processor, when the velocity size information falls within the first preset range, before rotating the target image in the direction indicated by the sliding direction information, is further used to:
  • the processor analyzes The range to which the strength information belongs is specifically:
  • the range to which the velocity information belongs is analyzed and the velocity size information is displayed.
  • the electronic terminal acquires the strength of sliding on the touch display screen when the user views the image.
  • the image is rotated according to the sliding track.
  • the image may be executed on the image.
  • Other operations that is, the user can perform various operations on the image by performing the same operation (only different strengths), and improve the efficiency of processing the image.
  • the image may be locked to achieve the purpose of protecting personal privacy by blurring the image so that the image cannot present complete image data; or when the above-mentioned strength reaches another preset When standard, switching to display the next picture; further improving the processing efficiency of the picture.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • the picture is rotated according to the sliding track, if the user clicks on the picture is sensed When the intensity of the click reaches the preset standard, the rotated picture is restored to the state before the rotation, which further improves the processing efficiency of the picture.
  • the fingerprint information of the user is obtained by touching the display screen to authenticate, and when the user has the relevant authority, the rotation operation is performed on the image, thereby improving the security performance of the electronic terminal.
  • FIG. 1 is a schematic flowchart of a picture processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of still another image processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of still another image processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of still another image processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of still another image processing method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an electronic terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another electronic terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of still another electronic terminal according to an embodiment of the present invention.
  • the electronic terminal described in the present invention may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, A mobile internet device (MID), a wearable device (such as a smart watch (such as iWatch, etc.), a smart bracelet, a pedometer, etc.) or other terminal device that can be installed to deploy an instant messaging application client.
  • the touch display screen of the electronic terminal specifically includes a touch screen and a display screen.
  • an array of pressure sensors can be disposed in the touch screen, and the electronic terminal can obtain pressure information received by the pressure sensor array, wherein the pressure sensor can be, for example, a resistance strain.
  • Piece pressure sensor semiconductor strain gauge pressure sensor, piezoresistive pressure sensor, inductive pressure sensor, capacitive pressure sensor, resonant pressure sensor, etc.
  • the embodiment of the present invention includes, but is not limited to, the foregoing manner to obtain pressure information.
  • FIG. 1 is a schematic flowchart diagram of a picture processing method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S101 The electronic terminal receives a sliding operation for the target picture on the touch display screen, wherein the sliding operation includes sliding direction information and velocity size information applied on the touch display screen.
  • the electronic terminal when displaying the photo, the electronic terminal senses the user's touch through the touch display screen in real time, such as a sliding operation on the touch display screen, and the user may apply to the touch display screen during the sliding process on the touch display screen.
  • the pressure the electronic terminal will obtain the magnitude information of the pressure.
  • the electronic terminal also outputs the magnitude of the velocity by touching the display screen as a reference for the user to perform the operation; further, the user When sliding on the touch screen display, a sliding track is generated, and the touch screen can obtain the track according to the sensing condition of each sensing, and the electronic terminal can analyze the sliding direction information of the sliding operation according to the track.
  • the pressure acquired by the electronic terminal at each moment may be different, so the maximum pressure that has been acquired may be used as the above-mentioned strength information;
  • the pressure value at each moment is calculated by a preset algorithm (such as an averaging algorithm) to obtain a pressure value as the above-mentioned velocity information; of course, the manner of obtaining the above-mentioned velocity information according to the acquired pressure values at each moment is also There are many, here is no longer one by one.
  • the sliding direction information obtained by the sliding trajectory needs to be converted, and the sliding trajectory of the user may be any trajectory, but all the sliding trajectories may correspond to a limited number of directions.
  • Step S102 The electronic terminal analyzes the range to which the velocity information belongs, and the velocity information When falling within the first preset range, the target picture is rotated in the direction indicated by the sliding direction information.
  • the electronic terminal determines whether the velocity size information falls within a preset first preset range, and if it falls, rotates the image according to the sliding direction information.
  • a preset first preset range In the electronic terminal, a plurality of preset ranges are pre-stored, and each preset range corresponds to a type of operation, wherein the operation corresponding to the first preset range is a rotating picture, and how to rotate is determined according to the sliding direction information.
  • the electronic terminal acquires the strength of sliding on the touch display screen when the user views the image.
  • the image is rotated according to the sliding track.
  • the electronic terminal may The picture performs other operations, that is, the user can perform various operations on the picture by performing the same operation (only different strengths), and the efficiency of processing the picture is improved.
  • FIG. 2 is a schematic flowchart diagram of still another image processing method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S201 The electronic terminal receives a sliding operation on the touch display screen for the target picture, wherein the sliding operation includes the sliding direction information and the velocity size information applied on the touch display screen.
  • Step S202 The electronic terminal analyzes the range to which the velocity size information belongs. When the velocity size information falls within the first preset range, the target image is rotated in the direction indicated by the sliding direction information.
  • step S201 and step S202 can be respectively referred to step S101 and step S102 in the embodiment shown in FIG. 1, and details are not described herein again.
  • Step S203 When the velocity size information falls within the second preset range, the electronic terminal locks the target image to blur the target image, or switches the target image to the direction indicated by the sliding direction information, or performs a scaling operation on the target image.
  • the rotation operation is no longer performed on the image, but the blurring operation or the switching operation is performed.
  • the switching operation refers to the operation of switching photos commonly used in the prior art;
  • the fuzzy operation refers to generating a blurred picture based on the original clear picture, and outputting the blurred picture for the user to browse, so as to achieve the purpose of hiding the private picture, subsequent users You can also undo this privacy mode by clicking or swiping. Show the original clear picture.
  • the electronic terminal acquires the strength of the user sliding on the touch screen when viewing the picture.
  • the picture is rotated according to the sliding track.
  • the electronic terminal may The picture performs other operations, that is, the user can perform various operations on the picture by performing the same operation (only different strengths), and the efficiency of processing the picture is improved.
  • the image may be locked to achieve the purpose of protecting personal privacy by blurring the image so that the image cannot present complete image data; or when the above-mentioned strength reaches another preset When standard, switching to display the next picture; further improving the processing efficiency of the picture.
  • FIG. 3 is a schematic flowchart diagram of still another image processing method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S301 The electronic terminal receives a sliding operation on the touch display screen for the target picture, wherein the sliding operation includes the sliding direction information and the velocity size information applied on the touch display screen.
  • Step S302 The electronic terminal analyzes the range to which the velocity size information belongs. When the velocity size information falls within the first preset range, the target image is rotated in the direction indicated by the sliding direction information.
  • step S301 and step S302 can be respectively referred to step S101 and step S102 in the embodiment shown in FIG. 1 , and details are not described herein again.
  • Step S303 The electronic terminal receives a double-click operation for the target picture.
  • the electronic terminal rotates the picture and presents it to the user, and the user can further process the rotated picture, for example, performing a double-click operation on the touch display screen.
  • Step S304 The electronic terminal determines, according to the double-click operation, the browsing attribute of the rotated target picture as the latest browsing attribute of the target picture.
  • the browsing attribute of the rotated picture is determined as the latest browsing attribute of the target picture, that is, when the user browses the picture again, the user is presented to the user. Is the rotated picture.
  • the electronic terminal acquires a slide on the touch display screen when the user views the picture.
  • Dynamic force when the force reaches the preset standard, rotate the picture according to the sliding track.
  • other operations can be performed on the picture, that is, the user can perform the same operation (only the strength is different)
  • improve the efficiency of processing pictures improve the efficiency of processing pictures.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • FIG. 4 is a schematic flowchart diagram of still another image processing method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S401 The electronic terminal receives a sliding operation on the touch display screen for the target picture, wherein the sliding operation includes the sliding direction information and the velocity size information applied on the touch display screen.
  • Step S402 The electronic terminal analyzes the range to which the velocity size information belongs. When the velocity size information falls within the first preset range, the target image is rotated in the direction indicated by the sliding direction information.
  • step S401 and step S402 can be respectively referred to step S101 and step S102 in the embodiment shown in FIG. 1 , and details are not described herein again.
  • Step S403 The electronic terminal receives the input click operation, and the click operation includes the click strength information.
  • the electronic terminal presents the rotated picture to the user, so that the user can view the browsing effect or further process the rotated picture, and the electronic terminal senses the user's touch operation on the touch display screen in real time through the touch screen. If the operation is clicked, when the electronic terminal obtains the click operation, the click strength information included in the click operation is further analyzed, that is, the pressure information applied on the touch display screen when the touch display screen is clicked.
  • Step S404 The electronic terminal determines whether the click strength information falls within a third preset range.
  • the electronic terminal determines whether the acquired click velocity information falls within a third preset range, and the third preset range may have an intersection between the first preset range and the second preset range, because each of them correspondingly slides The pressure at the time and the pressure at the time of the click, so there is no conflict.
  • Each preset range is set according to the actual situation when configuring the electronic terminal.
  • Step S405 If it falls, the electronic terminal adjusts the target picture to the state before the rotation.
  • the rotated image is adjusted to the state before the rotation; when the click velocity information falls into another range, other operations such as deleting and sharing are performed on the image. Wait.
  • the electronic terminal acquires the strength of sliding on the touch display screen when the user views the picture.
  • the picture is rotated according to the sliding track.
  • the electronic terminal may The picture performs other operations, that is, the user can perform various operations on the picture by performing the same operation (only different strengths), and the efficiency of processing the picture is improved.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • FIG. 5 is a schematic flowchart diagram of still another image processing method according to an embodiment of the present invention, where the method includes but is not limited to the following steps.
  • Step S501 The electronic terminal receives a sliding operation on the touch display screen for the target picture, wherein the sliding operation includes the sliding direction information and the velocity size information applied on the touch display screen.
  • step S501 may be corresponding to step S101 in the embodiment shown in FIG. 1, and details are not described herein again.
  • Step S502 The electronic terminal determines whether the fingerprint information matches the preset fingerprint information.
  • the fingerprint display module is provided with a fingerprint collection module.
  • the touch display screen can instantly acquire the fingerprint information of the user, and then the electronic terminal uses the fingerprint information and the pre-stored preset. The fingerprint information is compared to determine whether the two match.
  • the preset fingerprint may refer to a fingerprint of one finger, or may be a fingerprint of multiple fingers. If there are multiple fingerprints, when matching is performed, only one fingerprint is matched to be considered to be matched.
  • Step S503 If the matching is performed, the electronic terminal analyzes the range to which the velocity size information belongs. When the velocity size information falls within the first preset range, the target image is rotated in the direction indicated by the sliding direction information.
  • step S503 may correspond to step S102 in the embodiment shown in FIG. 1, where not Let me repeat.
  • the electronic terminal acquires the strength of sliding on the touch display screen when the user views the picture.
  • the picture is rotated according to the sliding track.
  • the electronic terminal may The picture performs other operations, that is, the user can perform various operations on the picture by performing the same operation (only different strengths), and the efficiency of processing the picture is improved.
  • the fingerprint information of the user is obtained by touching the display screen to authenticate, and when the user has the relevant authority, the rotation operation is performed on the image, thereby improving the security performance of the electronic terminal.
  • FIG. 6 is a schematic structural diagram of an electronic terminal 60 according to an embodiment of the present invention.
  • the electronic terminal 60 may include a first receiving unit 601 and a first processing unit 602, a first receiving unit 601, and a first processing.
  • a detailed description of unit 602 is as follows.
  • the first receiving unit 601 is configured to receive a sliding operation on the touch display screen for the target image, where the sliding operation includes sliding direction information and velocity size information applied on the touch display screen;
  • the first processing unit 602 is configured to analyze the range to which the velocity size information belongs, and when the velocity size information falls within the first preset range, rotate the target image in the direction indicated by the sliding direction information.
  • each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 1 .
  • the electronic terminal 60 acquires the strength of the user sliding on the touch screen when viewing the picture.
  • the picture is rotated according to the sliding track, when the strength does not reach the preset standard.
  • Other operations can be performed on the image, that is, the user can perform various operations on the image by performing the same operation (only different strengths), thereby improving the efficiency of processing the image.
  • FIG. 7 is a schematic structural diagram of still another electronic terminal 60 according to an embodiment of the present invention.
  • the electronic terminal 60 includes the first receiving unit 601 and the first portion in the embodiment shown in FIG.
  • the second processing unit 603 is further configured to: when the velocity size information falls within the second preset range, the target image is locked to make the target image blurred, or the sliding direction information is indicated. The direction switches the target image or performs a zoom operation on the target image.
  • each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
  • the electronic terminal 60 acquires the strength of sliding on the touch display screen when the user views the picture, and when the force reaches the preset standard, the picture is rotated according to the sliding track, when the strength does not reach the preset standard.
  • Other operations can be performed on the image, that is, the user can perform various operations on the image by performing the same operation (only different strengths), thereby improving the efficiency of processing the image.
  • the image may be locked to achieve the purpose of protecting personal privacy by blurring the image so that the image cannot present complete image data; or when the above-mentioned strength reaches another preset When standard, switching to display the next picture; further improving the processing efficiency of the picture.
  • FIG. 8 is a schematic structural diagram of still another electronic terminal 60 according to an embodiment of the present invention.
  • the electronic terminal 60 includes the first receiving unit 601 and the first processing unit 602 in the embodiment shown in FIG.
  • the second receiving unit 604 and the determining unit 605 may also be included, and the detailed description of the second receiving unit 604 and the determining unit 605 is as follows.
  • the second receiving unit 604 is configured to receive a double-click operation for the target picture
  • the determining unit 605 is configured to determine, according to the double-click operation, the browsing attribute of the rotated target picture as the latest browsing attribute of the target picture.
  • each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 3 .
  • the electronic terminal 60 acquires the strength of the user sliding on the touch display screen when viewing the picture, and when the force reaches the preset standard, the picture is rotated according to the sliding track, when the strength does not reach the preset. Standard, you can perform other operations on the image, that is, the user can pass Perform the same operation (only different strength) to achieve multiple control of the image, improving the efficiency of processing the image.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • FIG. 9 is a schematic structural diagram of still another electronic terminal 60 according to an embodiment of the present invention.
  • the electronic terminal 60 includes the first receiving unit 601 and the first processing unit 602 in the embodiment shown in FIG.
  • the third receiving unit 606, the first determining unit 607, and the adjusting unit 608 may also be included, wherein the detailed description of each unit is as follows.
  • the third receiving unit 606 is configured to receive an input click operation, and the click operation includes click strength information
  • the first determining unit 607 is configured to determine whether the click strength information falls within a third preset range
  • the adjusting unit 608 is configured to adjust the target picture to a state before the rotation when the determination result of the first determining unit is YES.
  • each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 4 .
  • the electronic terminal 60 acquires the strength of sliding on the touch display screen when the user views the picture, and when the force reaches the preset standard, the picture is rotated according to the sliding track, when the strength does not reach the preset standard.
  • Other operations can be performed on the image, that is, the user can perform various operations on the image by performing the same operation (only different strengths), thereby improving the efficiency of processing the image.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • FIG. 10 is a schematic structural diagram of still another electronic terminal 60 according to an embodiment of the present invention.
  • the electronic terminal 60 includes the first receiving unit 601 and the first in the embodiment shown in FIG.
  • the processing unit 602 may further include a second determining unit 609, configured to determine whether the fingerprint information matches the preset fingerprint information; if matched, triggering the first processing unit 602 to drop in the velocity information. In the first predetermined range, the target picture is rotated in the direction indicated by the sliding direction information.
  • each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 5.
  • the electronic terminal 60 acquires the strength of the user sliding on the touch display screen when viewing the picture.
  • the force reaches the preset standard
  • the picture is rotated according to the sliding track, when the strength does not reach the preset.
  • other operations can be performed on the image, that is, the user can perform various operations on the image by performing the same operation (only different strengths), thereby improving the efficiency of processing the image.
  • the fingerprint information of the user is obtained through the display screen to authenticate, and when the user has the relevant authority, the rotation operation is performed on the image, thereby improving the security performance of the electronic terminal 60.
  • FIG. 11 is a schematic structural diagram of still another electronic terminal 110 according to an embodiment of the present invention.
  • the electronic terminal 110 may include: at least one processor 1101, such as a CPU, at least one network interface 1104, and a user interface 1103. Memory 1105, at least one communication bus 1102 and display screen 1106. Among them, the communication bus 1102 is used to implement connection communication between these components.
  • the user interface 1103 can include a display 1106.
  • the optional user interface 1103 can also include a standard wired interface and a wireless interface.
  • the communication interface 1104 can optionally include a standard wired interface (such as a data line interface, a network line interface, etc.), and a wireless interface (such as a WI-FI interface, a Bluetooth interface, and a near field communication interface).
  • the memory 1105 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1105 can also optionally be at least one storage device located remotely from the aforementioned processor 1101. As shown in FIG. 11, an operating system, a network communication module, a user interface module, and a control program may be included in the memory 1105 as a computer storage medium.
  • the communication interface 1104 is mainly used to connect to the second terminal.
  • the data communication with the second terminal is performed; and the processor 1101 can be used to call the control program stored in the memory 1105 and perform the following operations:
  • the processor 1101 receives a sliding operation on the touch display screen for the target picture through the user interface 1103, wherein the sliding operation includes sliding direction information and velocity size information applied on the touch display screen;
  • the processor 1101 analyzes the range to which the velocity information belongs, and when the velocity size information falls within the first preset range, rotates the target image in the direction indicated by the sliding direction information.
  • it also includes:
  • the processor 1101 locks the target image to blur the target image, or switches the target image to the direction indicated by the sliding direction information, or performs a scaling operation on the target image.
  • the method further includes:
  • the processor 1101 receives a double-click operation for the target picture through the user interface 1103;
  • the processor 1101 determines the browsing attribute of the rotated target picture as the latest browsing attribute of the target picture according to the double-click operation.
  • the method further includes:
  • the processor 1101 receives an input click operation through the user interface 1103, and the click operation includes click strength information;
  • the processor 1101 determines whether the click strength information falls within a third preset range
  • the processor 1101 adjusts the target picture to the state before the rotation.
  • the sliding operation includes the fingerprint information; when the velocity size information falls within the first preset range, before the processor 1101 rotates the target image in the direction indicated by the sliding direction information, the method further includes:
  • the processor 1101 determines whether the fingerprint information matches the preset fingerprint information
  • the processor 1101 performs a step of rotating the target picture in the direction indicated by the sliding direction information when the velocity size information falls within the first predetermined range.
  • the electronic terminal acquires the strength of sliding on the touch display screen when the user views the picture, and when the force reaches the preset standard, the picture is rotated according to the sliding track, when the strength does not reach the preset standard.
  • Other operations can be performed on the image, that is, the user can perform various operations on the image by performing the same operation (only different strengths), thereby improving the efficiency of processing the image.
  • the image may be locked to achieve the purpose of protecting personal privacy by blurring the image so that the image cannot present complete image data; or when the above-mentioned strength reaches another preset When standard, switching to display the next picture; further improving the processing efficiency of the picture.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • the rotated picture is restored to the state before the rotation, thereby further improving the processing efficiency of the picture.
  • the fingerprint information of the user is obtained by touching the display screen to authenticate, and when the user has the relevant authority, the rotation operation is performed on the image, thereby improving the security performance of the electronic terminal.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

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

一种图片处理方法及电子终端,该方法包括:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息(S201);所述电子终端分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片(S202)。该方法能够提高用户处理图片的效率。

Description

一种图片处理方法及电子终端
本发明要求2015年8月27日递交的发明名称为“一种图片处理方法及电子终端”的申请号201510534803.X的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本发明涉及计算机技术领域,尤其涉及一种图片处理方法及电子终端。
背景技术
近年来,电子技术发展较为迅猛,人们可以通过手机、平板、智能手表等电子终端来拍照、查看图片、播放音乐、购物、玩游戏等。其中,查看图片是大家比较注重的一项功能。
现有技术中,人们在查看图片时往往会对图片进行一些处理,如图片切换、图片缩放、图片旋转等。考虑到照片展示时的美观性,很多功能图标往往不能直接呈现在图片的展示界面中,而是集成在一个总的功能图标中,通过触发总的功能图标来分别呈现各项功能的图标,用户再点击功能图标来触发相应功能。现有技术的缺陷是,用户需要经过多层处理才能对图片进行一些重要操作,使得图片的处理效率较低。
发明内容
本发明实施例公开了一种图片处理方法及电子终端,能够提高用户处理图片的效率。
第一方面,本发明实施例提供了一种图片处理方法,该方法包括:
电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
所述电子终端分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
结合第一方面,在第一方面的第一种可能的实现方式中,还包括:
当所述力度大小信息落入第二预设范围时,所述电子终端锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
结合第一方面,在第一方面的第二种可能的实现方式中,所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还包括:
所述电子终端接收针对所述目标图片的双击操作;
所述电子终端根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还包括:
所述电子终端接收输入的点击操作,所述点击操作包含点击力度信息;
所述电子终端判断所述点击力度信息是否落入第三预设范围;
若落入,则所述电子终端将所述目标图片调整到所述旋转之前的状态。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第四种可能的实现方式中,所述滑动操作包含指纹信息;所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之前,还包括:
所述电子终端判断所述指纹信息是否与预设指纹信息相匹配;
若相匹配,则所述电子终端执行所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片的步骤。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第五种可能的实现方式中,所述电子终端分析出所述力度大小信息所属的范围包括:
所述电子终端分析出所述力度大小信息所属的范围并显示所述力度大小信息。
结合第一方面,或者第一方面的第一种可能的实现方式,或者第一方面的 第二种可能的实现方式,在第一方面的第六种可能的实现方式中,所述力度大小信息为一段时间内获取到的最大压力。
第二方面,本发明实施例提供一种电子终端,该电子终端包括:
第一接收单元,用于接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
第一处理单元,用于分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
结合第二方面,在第二方面的第一种可能的实现方式中,还包括:
第二处理单元,用于当所述力度大小信息落入第二预设范围时,锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
结合第二方面,在第二方面的第二种可能的实现方式中,还包括:
第二接收单元,用于接收针对所述目标图片的双击操作;
确定单元,用于根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,还包括:
第三接收单元,用于接收输入的点击操作,所述点击操作包含点击力度信息;
第一判断单元,用于判断所述点击力度信息是否落入第三预设范围;
调整单元,用于在所述第一判断单元的判断结果为是时,将所述目标图片调整到所述旋转之前的状态。
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,在第二方面的第四种可能的实现方式中,所述滑动操作包含指纹信息;还包括:
第二判断单元,用于判断所述指纹信息是否与预设指纹信息相匹配;若相匹配,则触发所述第一处理单元在所述力度大小信息落入所述第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的 第二种可能的实现方式,在第二方面的第五种可能的实现方式中,所述第一处理单元分析出所述力度大小信息所属的范围,具体为:
分析出所述力度大小信息所属的范围并显示所述力度大小信息。
结合第二方面,或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,在第二方面的第六种可能的实现方式中,所述力度大小信息为一段时间内获取到的最大压力。
第三方面,本发明实施例提供一种电子终端,所述电子终端包括处理器和存储器,所述存储器用于存储程序和数据,所述处理器调用所述存储器中的程序用于执行如下操作;
接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
结合第三方面,在第三方面的第一种可能的实现方式中,所述处理器还用于:
当所述力度大小信息落入第二预设范围时,所述电子终端锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
结合第三方面,在第三方面的第二种可能的实现方式中,所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还用于:
接收针对所述目标图片的双击操作;
根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还用于:
接收输入的点击操作,所述点击操作包含点击力度信息;
判断所述点击力度信息是否落入第三预设范围;
若落入,则将所述目标图片调整到所述旋转之前的状态。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第四种可能的实现方式中,所述滑动操作包含指纹信息;所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之前,还用于:
判断所述指纹信息是否与预设指纹信息相匹配;
若相匹配,则执行所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片的操作。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第五种可能的实现方式中,所述处理器分析出所述力度大小信息所属的范围,具体为:
分析出所述力度大小信息所属的范围并显示所述力度大小信息。
结合第三方面,或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第六种可能的实现方式中,所述力度大小信息为一段时间内获取到的最大压力。
通过实施本发明实施例,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
进一步地,当上述力度达到另一预设标准时,可以锁定图片以达到保护个人隐私的目的,具体方式是将图片模糊化以使图片无法呈现完整的画面数据;或者当上述力度达到另一预设标准时,切换显示下一张图片;进一步地提高了图片的处理效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片进行了双击操作,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片的点击 且点击的力度达到预设标准时,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
再进一步地,通过触摸显示屏获取用户的指纹信息来鉴权,当用户具备相关权限时才会对图片执行旋转操作,提高了电子终端的安全性能。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种图片处理方法的流程示意图;
图2是本发明实施例提供的又一种图片处理方法的流程示意图;
图3是本发明实施例提供的又一种图片处理方法的流程示意图;
图4是本发明实施例提供的又一种图片处理方法的流程示意图;
图5是本发明实施例提供的又一种图片处理方法的流程示意图;
图6是本发明实施例提供的一种电子终端的结构示意图;
图7是本发明实施例提供的又一种电子终端的结构示意图;
图8是本发明实施例提供的又一种电子终端的结构示意图;
图9是本发明实施例提供的又一种电子终端的结构示意图;
图10是本发明实施例提供的又一种电子终端的结构示意图;
图11是本发明实施例提供的又一种电子终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明所描述的电子终端可以是手机、平板电脑、笔记本电脑、掌上电脑、 移动互联网设备(MID,mobile internet device)、可穿戴设备(例如智能手表(如iWatch等)、智能手环、计步器等)或其他可安装部署即时通讯应用客户端的终端设备。上述电子终端的触摸显示屏具体包括触摸屏和显示屏,触摸屏中例如可以设置有压力传感器阵列,电子终端能够通过该压力传感器阵列获取其所受的压力信息,其中,上述压力传感器例如可以是电阻应变片压力传感器、半导体应变片压力传感器、压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等。当然,本发明实施例中包括但不限于上述方式来获取压力信息。
请参见图1,图1是本发明实施例提供的一种图片处理方法的流程示意图,该方法包括但不限于如下步骤。
步骤S101:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息。
具体地,电子终端在展示照片时,会实时通过触摸显示屏感应用户的触控,如在触摸显示屏上的滑动操作,用户在触摸显示屏上滑动的过程中会存在施加于触摸显示屏上的压力,电子终端会获取到该压力的力度大小信息,在一种可选的方案中,电子终端还会通过触摸显示屏输出力度大小的值,以作为用户执行操作的参考;进一步地,用户在触摸显示屏上滑动时会产生一个滑动轨迹,触摸显示屏能够根据自身各个感应的感应情况获取到该轨迹,电子终端可以根据该轨迹分析得出滑动操作的滑动方向信息。
需要说明的是,用户通过手指在触摸显示屏上滑动时,电子终端每一时刻获取到的压力都可能不同,因此可以将已获取到的最大压力作为上述力度大小信息;也可以对已经获取到的各个时刻的压力值通过预设的算法(如取平均值算法)进行计算得出一个压力值作为上述力度大小信息;当然,根据已获取的各个时刻的压力值得到上述力度大小信息的方式还有很多,此处不再一一举例。
进一步地,由滑动轨迹得到滑动方向信息需要进过换算,用户的滑动轨迹可以是任意轨迹,但是所有的滑动轨迹都可以对应到有限的几个方向内。
步骤S102:电子终端分析出力度大小信息所属的范围,当力度大小信息 落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
具体地,电子终端获取到力度大小信息后,判断该力度大小信息是否落入预先设置好的第一预设范围,如果落入,则按照上述滑动方向信息来旋转图片。其中,在电子终端中预存了多个预设范围,每个预设范围都会对应一类操作,其中,第一预设范围对应的操作为旋转图片,具体如何旋转则是根据滑动方向信息来确定。
在图1所描述的方法中,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
请参见图2,图2是本发明实施例提供的又一种图片处理方法的流程示意图,该方法包括但不限于如下步骤。
步骤S201:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息。
步骤S202:电子终端分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
具体地,步骤S201和步骤S202可以分别对应参照图1所示实施例中的步骤S101和步骤S102,此处不再赘述。
步骤S203:当力度大小信息落入第二预设范围时,电子终端锁定目标图片以使目标图片模糊化,或者向滑动方向信息指示的方向切换目标图片,或者对目标图片执行缩放操作。
具体地,当电子终端分析出力度大小信息没有落入第一预设范围而是落入第二预设范围时,不再对图片执行旋转操作,而是执行模糊化操作或者切换操作。切换操作即是指现有技术中常用的切换照片的操作;模糊操作是指以原本的清晰图片为基础生成模糊的图片,并输出模糊图片供用户浏览,以达到隐藏隐私图片的目的,后续用户还可以通过点击或者滑动操作来解除这种隐私模式, 显示原本的清晰图片。
在图2所描述的方法中,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
进一步地,当上述力度达到另一预设标准时,可以锁定图片以达到保护个人隐私的目的,具体方式是将图片模糊化以使图片无法呈现完整的画面数据;或者当上述力度达到另一预设标准时,切换显示下一张图片;进一步地提高了图片的处理效率。
请参见图3,图3是本发明实施例提供的又一种图片处理方法的流程示意图,该方法包括但不限于如下步骤。
步骤S301:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息。
步骤S302:电子终端分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
具体地,步骤S301和步骤S302可以分别对应参照图1所示实施例中的步骤S101和步骤S102,此处不再赘述。
步骤S303:电子终端接收针对目标图片的双击操作。
具体地,电子终端将图片旋转后呈现给用户,用户可以对旋转后的图片作进一步地的处理,例如,在触摸显示屏进行双击操作等。
步骤S304:电子终端根据双击操作,将旋转后的目标图片的浏览属性确定为目标图片的最新浏览属性。
具体地,当电子终端通过触摸显示屏感应到双击操作时,将旋转后的图片的浏览属性确定为目标图片的最新浏览属性,也即是说,当用户再次浏览该图片时,呈现给用户的是旋转后的图片。
在图3所描述的方法中,电子终端获取用户查看图片时在触摸显示屏上滑 动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片进行了双击操作,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
请参见图4,图4是本发明实施例提供的又一种图片处理方法的流程示意图,该方法包括但不限于如下步骤。
步骤S401:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息。
步骤S402:电子终端分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
具体地,步骤S401和步骤S402可以分别对应参照图1所示实施例中的步骤S101和步骤S102,此处不再赘述。
步骤S403:电子终端接收输入的点击操作,点击操作包含点击力度信息。
具体地,电子终端将旋转后的图片呈现给用户,以便用户查看浏览效果或者对旋转后的图片作进一步地的处理,电子终端会通过触摸显示屏实时感应用户对触摸显示屏的触控操作,如点击操作,当电子终端获取到点击操作时还会进一步地分析出该点击操作中包含的点击力度信息,即点击触摸显示屏时施加在触摸显示屏上的压力信息。
步骤S404:电子终端判断点击力度信息是否落入第三预设范围。
具体地,电子终端判断获取的点击力度信息是否落入第三预设范围,第三预设范围与上述第一预设范围、第二预设范围之间可以有交叉部分,由于它们各自对应滑动时的压力和点击时的压力,因此互不冲突。每一种预设范围都在配置电子终端时根据实际情况设置好。
步骤S405:若落入,则电子终端将目标图片调整到旋转之前的状态。
具体地,如果点击力度信息落入了第三预设范围,则将旋转后的图片调整到旋转之前的状态;当点击力度信息落入其他范围时,则对图片执行其他操作,如删除、分享等。
在图4所描述的方法中,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片的点击且点击的力度达到预设标准时,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
请参见图5,图5是本发明实施例提供的又一种图片处理方法的流程示意图,该方法包括但不限于如下步骤。
步骤S501:电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息。
具体地,步骤S501可以对应参照图1所示实施例中的步骤S101,此处不再赘述。
步骤S502:电子终端判断指纹信息是否与预设指纹信息相匹配。
具体地,触摸显示屏中设置有指纹采集模块,用户在触摸显示屏上进行滑动操作时,触摸显示屏能够即时获取到用户的指纹信息,然后由电子终端将该指纹信息与预先存储的预设指纹信息进行比对,以判断二者是否匹配。
进一步地,预设指纹可以是指一个手指的指纹,也可以是多个手指的指纹,如果是多个指纹,那么在进行匹配时,只需要与其中一个指纹相匹配则认为是相匹配的。
步骤S503:若相匹配,则电子终端分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
具体地,步骤S503可以对应参照图1所示实施例中的步骤S102,此处不 再赘述。
在图5所描述的方法中,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,通过触摸显示屏获取用户的指纹信息来鉴权,当用户具备相关权限时才会对图片执行旋转操作,提高了电子终端的安全性能。
上述详细阐述了本发明实施例的方法,为了便于更好地实施本发明实施例的上述方案,相应地,下面提供了本发明实施例的装置。
请参见图6,图6是本发明实施例提供的一种电子终端60的结构示意图,该电子终端60可以包括第一接收单元601和第一处理单元602,第一接收单元601和第一处理单元602的详细描述如下。
第一接收单元601用于接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息;
第一处理单元602用于分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图1所示的方法实施例的相应描述。
在图6所描述的电子终端60中,电子终端60获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
请参见图7,图7是本发明实施例提供的又一种电子终端60的结构示意图,该电子终端60除了包括图6所示实施例中的第一接收单元601和第一处 理单元602外,还可以包括第二处理单元603,第二处理单元603用于当力度大小信息落入第二预设范围时,锁定目标图片以使目标图片模糊化,或者向滑动方向信息指示的方向切换目标图片,或者对目标图片执行缩放操作。
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图2所示的方法实施例的相应描述。
在图7所描述的电子终端60中,电子终端60获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
进一步地,当上述力度达到另一预设标准时,可以锁定图片以达到保护个人隐私的目的,具体方式是将图片模糊化以使图片无法呈现完整的画面数据;或者当上述力度达到另一预设标准时,切换显示下一张图片;进一步地提高了图片的处理效率。
请参见图8,图8是本发明实施例提供的又一种电子终端60的结构示意图,该电子终端60除了包括图6所示实施例中的第一接收单元601和第一处理单元602外,还可以包括第二接收单元604和确定单元605,第二接收单元604和确定单元605的详细描述如下。
第二接收单元604用于接收针对目标图片的双击操作;
确定单元605用于根据双击操作,将旋转后的目标图片的浏览属性确定为目标图片的最新浏览属性。
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图3所示的方法实施例的相应描述。
在图8所描述的电子终端60中,电子终端60获取用户在查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通 过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片进行了双击操作,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
请参见图9,图9是本发明实施例提供的又一种电子终端60的结构示意图,该电子终端60除了包括图6所示实施例中的第一接收单元601和第一处理单元602外,还可以包括第三接收单元606、第一判断单元607和调整单元608,其中,各个单元的详细描述如下。
第三接收单元606用于接收输入的点击操作,点击操作包含点击力度信息;
第一判断单元607用于判断点击力度信息是否落入第三预设范围;
调整单元608用于在第一判断单元的判断结果为是时,将目标图片调整到旋转之前的状态。
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图4所示的方法实施例的相应描述。
在图9所描述的电子终端60中,电子终端60获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片的点击且点击的力度达到预设标准时,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
请参见图10,图10是本发明实施例提供的又一种电子终端60的结构示意图,该电子终端60除了包括图6所示实施例中的第一接收单元601和第一 处理单元602外,还可以包括第二判断单元609,第二判断单元609用于判断指纹信息是否与预设指纹信息相匹配;若相匹配,则触发第一处理单元602在力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
需要说明的是,在本发明实施例中,各个单元的具体实现还可以对应参照图5所示的方法实施例的相应描述。
在图10所描述的电子终端60中,电子终端60获取用户在查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
再进一步地,通过显示屏获取用户的指纹信息来鉴权,当用户具备相关权限时才会对图片执行旋转操作,提高了电子终端60的安全性能。
请参照图11,图11是本发明实施例提供的又一种电子终端110的结构示意图,该电子终端110可以包括:至少一个处理器1101,例如CPU,至少一个网络接口1104,用户接口1103,存储器1105,至少一个通信总线1102以及显示屏1106。其中,通信总线1102用于实现这些组件之间的连接通信。其中,用户接口1103可以包括显示屏(Display)1106,可选用户接口1103还可以包括标准的有线接口、无线接口。通信接口1104可选的可以包括标准的有线接口(如数据线接口、网线接口等)、无线接口(如WI-FI接口、蓝牙接口、近场通讯接口)。存储器1105可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1105可选的还可以是至少一个位于远离前述处理器1101的存储装置。如图11所示,作为一种计算机存储介质的存储器1105中可以包括操作***、网络通信模块、用户接口模块以及控制程序。
在图11所示的电子终端110中,通信接口1104主要用于连接第二终端, 与第二终端进行数据通信;而处理器1101可以用于调用存储器1105中存储的控制程序,并执行以下操作:
处理器1101通过用户接口1103接收在触摸显示屏上针对目标图片的滑动操作,其中,滑动操作包含滑动方向信息和施加在触摸显示屏上的力度大小信息;
处理器1101分析出力度大小信息所属的范围,当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片。
可选的,还包括:
当力度大小信息落入第二预设范围时,处理器1101锁定目标图片以使目标图片模糊化,或者向滑动方向信息指示的方向切换目标图片,或者对目标图片执行缩放操作。
可选的,当力度大小信息落入第一预设范围时,处理器1101向滑动方向信息指示的方向旋转目标图片之后,还包括:
处理器1101通过用户接口1103接收针对目标图片的双击操作;
处理器1101根据双击操作,将旋转后的目标图片的浏览属性确定为目标图片的最新浏览属性。
可选的,当力度大小信息落入第一预设范围时,处理器1101向滑动方向信息指示的方向旋转目标图片之后,还包括:
处理器1101通过用户接口1103接收输入的点击操作,点击操作包含点击力度信息;
处理器1101判断点击力度信息是否落入第三预设范围;
若落入,则处理器1101将目标图片调整到旋转之前的状态。
可选的,滑动操作包含指纹信息;当力度大小信息落入第一预设范围时,处理器1101向滑动方向信息指示的方向旋转目标图片之前,还包括:
处理器1101判断指纹信息是否与预设指纹信息相匹配;
若相匹配,则处理器1101执行当力度大小信息落入第一预设范围时,向滑动方向信息指示的方向旋转目标图片的步骤。
综上所述,通过实施本发明实施例,电子终端获取用户查看图片时在触摸显示屏上滑动的力度,当该力度达到预设标准时,按照滑动轨迹旋转图片,当该力度未达到预设标准时,可以对图片执行其他操作,也即是说用户可以通过执行相同的操作(只是力度不同)来实现对图片的多种控制,提高了处理图片的效率。
进一步地,当上述力度达到另一预设标准时,可以锁定图片以达到保护个人隐私的目的,具体方式是将图片模糊化以使图片无法呈现完整的画面数据;或者当上述力度达到另一预设标准时,切换显示下一张图片;进一步地提高了图片的处理效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片进行了双击操作,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
再进一步地,当按照滑动轨迹旋转图片后,如果感应到用户对图片的点击且点击的力度达到预设标准时,则将旋转后的图片恢复到旋转之前的状态,进一步地提高了图片的处理效率。
再进一步地,通过触摸显示屏获取用户的指纹信息来鉴权,当用户具备相关权限时才会对图片执行旋转操作,提高了电子终端的安全性能。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (21)

  1. 一种图片处理方法,其特征在于,包括:
    电子终端接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
    所述电子终端分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    当所述力度大小信息落入第二预设范围时,所述电子终端锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
  3. 根据权利要求1所述的方法,其特征在于,所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还包括:
    所述电子终端接收针对所述目标图片的双击操作;
    所述电子终端根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
  4. 根据权利要求1~3任一项所述的方法,其特征在于,所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还包括:
    所述电子终端接收输入的点击操作,所述点击操作包含点击力度信息;
    所述电子终端判断所述点击力度信息是否落入第三预设范围;
    若落入,则所述电子终端将所述目标图片调整到所述旋转之前的状态。
  5. 根据权利要求1~3任一项所述的方法,其特征在于,所述滑动操作包 含指纹信息;所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之前,还包括:
    所述电子终端判断所述指纹信息是否与预设指纹信息相匹配;
    若相匹配,则所述电子终端执行所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片的步骤。
  6. 根据权利要求1~3任一项所述的方法,其特征在于,所述电子终端分析出所述力度大小信息所属的范围包括:
    所述电子终端分析出所述力度大小信息所属的范围并显示所述力度大小信息。
  7. 根据权利要求1~3任一项所述的方法,其特征在于,所述力度大小信息为一段时间内获取到的最大压力。
  8. 一种电子终端,其特征在于,包括:
    第一接收单元,用于接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
    第一处理单元,用于分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
  9. 根据权利要求8所述的电子终端,其特征在于,还包括:
    第二处理单元,用于当所述力度大小信息落入第二预设范围时,锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
  10. 根据权利要求8所述的电子终端,其特征在于,还包括:
    第二接收单元,用于接收针对所述目标图片的双击操作;
    确定单元,用于根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
  11. 根据权利要求8~10任一项所述的电子终端,其特征在于,还包括:
    第三接收单元,用于接收输入的点击操作,所述点击操作包含点击力度信息;
    第一判断单元,用于判断所述点击力度信息是否落入第三预设范围;
    调整单元,用于在所述第一判断单元的判断结果为是时,将所述目标图片调整到所述旋转之前的状态。
  12. 根据权利要求8~10任一项所述的电子终端,其特征在于,所述滑动操作包含指纹信息;还包括:
    第二判断单元,用于判断所述指纹信息是否与预设指纹信息相匹配;若相匹配,则触发所述第一处理单元在所述力度大小信息落入所述第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
  13. 根据权利要求8~10任一项所述的电子终端,其特征在于,所述第一处理单元分析出所述力度大小信息所属的范围,具体为:
    分析出所述力度大小信息所属的范围并显示所述力度大小信息。
  14. 根据权利要求8~10任一项所述的电子终端,其特征在于,所述力度大小信息为一段时间内获取到的最大压力。
  15. 一种电子终端,其特征在于,所述电子终端包括处理器和存储器,所述存储器用于存储程序和数据,所述处理器调用所述存储器中的程序用于执行如下操作;
    接收在触摸显示屏上针对目标图片的滑动操作,其中,所述滑动操作包含滑动方向信息和施加在所述触摸显示屏上的力度大小信息;
    分析出所述力度大小信息所属的范围,当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片。
  16. 根据权利要求15所述的电子终端,其特征在于,所述处理器还用于:
    当所述力度大小信息落入第二预设范围时,所述电子终端锁定所述目标图片以使所述目标图片模糊化,或者向所述滑动方向信息指示的方向切换所述目标图片,或者对所述目标图片执行缩放操作。
  17. 根据权利要求15所述的电子终端,其特征在于,所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还用于:
    接收针对所述目标图片的双击操作;
    根据所述双击操作,将旋转后的所述目标图片的浏览属性确定为所述目标图片的最新浏览属性。
  18. 根据权利要求15~17任一项所述的电子终端,其特征在于,所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之后,还用于:
    接收输入的点击操作,所述点击操作包含点击力度信息;
    判断所述点击力度信息是否落入第三预设范围;
    若落入,则将所述目标图片调整到所述旋转之前的状态。
  19. 根据权利要求15~17任一项所述的电子终端,其特征在于,所述滑动操作包含指纹信息;所述处理器在所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片之前,还用于:
    判断所述指纹信息是否与预设指纹信息相匹配;
    若相匹配,则执行所述当所述力度大小信息落入第一预设范围时,向所述滑动方向信息指示的方向旋转所述目标图片的操作。
  20. 根据权利要求15~17任一项所述的电子终端,其特征在于,所述处理器分析出所述力度大小信息所属的范围,具体为:
    分析出所述力度大小信息所属的范围并显示所述力度大小信息。
  21. 根据权利要求15~17任一项所述的电子终端,其特征在于,所述力度大小信息为一段时间内获取到的最大压力。
PCT/CN2016/080431 2015-08-27 2016-04-27 一种图片处理方法及电子终端 WO2017032020A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510534803.X 2015-08-27
CN201510534803.XA CN105204759A (zh) 2015-08-27 2015-08-27 一种图片处理方法及电子终端

Publications (1)

Publication Number Publication Date
WO2017032020A1 true WO2017032020A1 (zh) 2017-03-02

Family

ID=54952479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080431 WO2017032020A1 (zh) 2015-08-27 2016-04-27 一种图片处理方法及电子终端

Country Status (2)

Country Link
CN (1) CN105204759A (zh)
WO (1) WO2017032020A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204759A (zh) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 一种图片处理方法及电子终端
CN105068731B (zh) * 2015-08-27 2018-09-04 广东欧珀移动通信有限公司 一种图片缩放方法及用户终端
CN105653099B (zh) * 2016-03-01 2019-06-11 宇龙计算机通信科技(深圳)有限公司 一种反馈触摸屏按压力度的方法及装置
CN106126081A (zh) * 2016-06-23 2016-11-16 珠海市魅族科技有限公司 一种信息处理方法及装置
CN106648407A (zh) * 2016-09-14 2017-05-10 上海斐讯数据通信技术有限公司 触摸屏设备的图片显示方法及***
CN106873872A (zh) * 2017-01-11 2017-06-20 联想(北京)有限公司 一种控制方法及电子设备
CN107295218B (zh) * 2017-05-27 2019-04-12 维沃移动通信有限公司 一种图片处理方法及移动终端

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130080891A1 (en) * 2011-08-10 2013-03-28 Sung-Ho Byun Recording events generated for performing a task through user equipment
CN103092386A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 一种电子设备及其触控方法
CN104252302A (zh) * 2013-06-26 2014-12-31 富泰华工业(深圳)有限公司 图像自适应调整***及方法
CN104714741A (zh) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 触控操作的方法及装置
CN104778001A (zh) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 一种图片控制方法及图片控制***
CN105045490A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种图像显示控制的方法及移动终端
CN105204759A (zh) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 一种图片处理方法及电子终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332346C (zh) * 2005-05-26 2007-08-15 上海交通大学 扩展相位相关的滑动指纹序列无缝拼接方法
CN101984396A (zh) * 2010-10-19 2011-03-09 中兴通讯股份有限公司 一种自动识别旋转手势的方法及移动终端
KR101823288B1 (ko) * 2012-05-09 2018-01-29 애플 인크. 제스처에 응답하여 디스플레이 상태들 사이를 전이하기 위한 디바이스, 방법, 및 그래픽 사용자 인터페이스

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130080891A1 (en) * 2011-08-10 2013-03-28 Sung-Ho Byun Recording events generated for performing a task through user equipment
CN103092386A (zh) * 2011-11-07 2013-05-08 联想(北京)有限公司 一种电子设备及其触控方法
CN104252302A (zh) * 2013-06-26 2014-12-31 富泰华工业(深圳)有限公司 图像自适应调整***及方法
CN104714741A (zh) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 触控操作的方法及装置
CN104778001A (zh) * 2015-03-20 2015-07-15 广东欧珀移动通信有限公司 一种图片控制方法及图片控制***
CN105045490A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种图像显示控制的方法及移动终端
CN105204759A (zh) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 一种图片处理方法及电子终端

Also Published As

Publication number Publication date
CN105204759A (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2017032020A1 (zh) 一种图片处理方法及电子终端
CN110663018B (zh) 多显示器设备中的应用启动
US10496808B2 (en) User interface for managing access to credentials for use in an operation
US9841944B2 (en) Method for processing information and electronic apparatus
US10551987B2 (en) Multiple screen mode in mobile terminal
US11816194B2 (en) User interfaces for managing secure operations
US20150378557A1 (en) Foldable electronic apparatus and interfacing method thereof
US20140078091A1 (en) Terminal Device and Method for Quickly Starting Program
US11636192B2 (en) Secure login with authentication based on a visual representation of data
WO2017000350A1 (zh) 一种基于触摸屏终端的解锁方法、装置和触摸屏终端
WO2017032016A1 (zh) 一种界面操作方法及电子终端
US20220284084A1 (en) User interface for enrolling a biometric feature
CN107643912B (zh) 一种信息分享方法及移动终端
US11556631B2 (en) User interfaces for managing user account passwords
TW202016709A (zh) 控制方法、電子裝置及非暫態電腦可讀記錄媒體裝置
US11703996B2 (en) User input interfaces
US20230089689A1 (en) User interfaces for digital identification
US20130229427A1 (en) Animated transition from an application window to another application window
TWI587169B (zh) 電子設備設定密碼、解鎖系統及方法
US10289293B2 (en) Method and apparatus for adjusting a graphical object according to operator preference
US20140245214A1 (en) Enabling search in a touchscreen device
US9146633B1 (en) Touch-based hovering on remote devices
CN104866163B (zh) 图像显示方法、装置和电子设备
US10445488B2 (en) Intuitive touch gesture-based data transfer between devices
US11081088B2 (en) Image display method, apparatus, and terminal device

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: 16838282

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: 16838282

Country of ref document: EP

Kind code of ref document: A1