CN104731480B - Image display method and device based on touch screen - Google Patents

Image display method and device based on touch screen Download PDF

Info

Publication number
CN104731480B
CN104731480B CN201510149439.5A CN201510149439A CN104731480B CN 104731480 B CN104731480 B CN 104731480B CN 201510149439 A CN201510149439 A CN 201510149439A CN 104731480 B CN104731480 B CN 104731480B
Authority
CN
China
Prior art keywords
image
touch
touch position
original image
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510149439.5A
Other languages
Chinese (zh)
Other versions
CN104731480A (en
Inventor
冯嘉琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510149439.5A priority Critical patent/CN104731480B/en
Publication of CN104731480A publication Critical patent/CN104731480A/en
Application granted granted Critical
Publication of CN104731480B publication Critical patent/CN104731480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an image display method based on a touch screen, which comprises the following steps: on a thumbnail image display interface, if a touch operation of a thumbnail image is detected, acquiring a touch position of the touch operation of the thumbnail image; displaying a magnified image of the touch location. The invention also discloses an image display device based on the touch screen. According to the method and the device, the amplified image of the touch position is displayed on the thumbnail image display interface, so that the preview of the thumbnail image is clearer and more visual, and the problem of inconvenience in image searching and searching is effectively solved.

Description

Image display method and device based on touch screen
Technical Field
The invention relates to the field of image display, in particular to an image display method and device based on a touch screen.
Background
With the continuous development of communication technology and terminal technology, the storage capacity of a mobile terminal is larger and larger, more and more pictures are stored, the conventional mobile terminal previews images through thumbnail images and searches images through previewed thumbnail images, and the problem of inconvenience in image searching and searching is caused by the fact that the thumbnail images are too small and unclear, so that the problem is urgently solved by the invention.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to solve the problem that image searching and searching are inconvenient due to the fact that a thumbnail image is too small and unclear in the process of previewing the image through the thumbnail image.
In order to achieve the above object, the present invention provides an image display method based on a touch screen, comprising the steps of:
on a thumbnail image display interface, if a touch operation of a thumbnail image is detected, acquiring a touch position of the touch operation of the thumbnail image;
displaying a magnified image of the touch location.
Preferably, the step of displaying the enlarged image of the touch position includes:
determining a touch time of the touch location;
comparing the touch time with a preset time threshold;
and when the touch time is smaller than the preset time threshold, acquiring a local image of the touch position, and displaying an enlarged image of the local image.
Preferably, after the step of comparing the touch time with a preset time threshold, the method further includes:
and when the touch time is greater than or equal to the preset time threshold, determining the thumbnail image positioned at the touch position, and completely displaying the original image corresponding to the thumbnail image.
Preferably, after the step of determining the thumbnail image located at the touch position and completely displaying the original image corresponding to the thumbnail image when the touch time is greater than or equal to the preset time threshold, the method further includes:
when the current position is detected to be at an original image display interface, if the touch operation of the original image is detected, acquiring the touch position of the original image touch operation;
and when the touch position is in a first preset area of the original image display interface, acquiring a local image of the touch position, and displaying an enlarged image of the local image.
Preferably, after the step of acquiring a local image of the touch position and displaying an enlarged image of the local image when the touch position is in a first preset area of the original image display interface, the method further includes:
and when the touch position is in a second preset area of the original image display interface, closing the function of displaying the enlarged image of the local image of the touch position.
In addition, to achieve the above object, the present invention also provides a touch screen-based image display device, including:
the detection module is used for acquiring the touch position of the touch operation of the thumbnail image if the touch operation of the thumbnail image is detected on the display interface of the thumbnail image;
and the amplifying module is used for displaying the amplified image of the touch position.
Preferably, the amplifying module comprises a determining unit, a comparing unit and a local amplifying unit;
the determining unit is used for determining the touch time of the touch position;
the comparison unit is used for comparing the touch time with a preset time threshold;
and the local amplifying unit is used for acquiring a local image of the touch position and displaying an amplified image of the local image when the touch time is less than the preset time threshold.
Preferably, the amplifying module further comprises a complete amplifying unit;
and the complete amplification unit is used for determining the thumbnail image positioned at the touch position and completely displaying the original image corresponding to the thumbnail image when the touch time is greater than or equal to the preset time threshold.
Preferably, the determining unit is further configured to, when it is detected that the current image is located in the original image display interface, obtain a touch position of the original image touch operation if the touch operation of the original image is detected;
the local amplifying unit is further configured to acquire a local image of the touch position and display an amplified image of the local image when the touch position is in a first preset area of the original image display interface.
Preferably, the local enlarging unit is further configured to close the function of displaying the enlarged image of the local image of the touch position when the touch position is in a second preset area of the original image display interface.
According to the method and the device, the amplified image of the touch position is displayed on the thumbnail image display interface, so that the preview of the thumbnail image is clearer and more visual, and the problem of inconvenience in image searching and searching is effectively solved.
Drawings
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating a touch screen-based image display method according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a touch screen-based image display method according to the present invention;
FIG. 5 is a flowchart illustrating a third embodiment of a touch screen-based image display method according to the present invention;
FIG. 6 is a functional block diagram of a touch screen-based image display device according to a first embodiment of the present invention;
FIG. 7 is a diagram illustrating functional modules of a touch screen-based image display device according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive data by using various types of broadcasting systemsAnd broadcasting the received signal. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (I rDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 1220, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 1210 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 1410 as will be described below in connection with a touch screen.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 1810 for reproducing (or playing back) multimedia data, and the multimedia module 1810 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, a CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC)2800MSC 280 configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the hardware structure of the mobile terminal and the communication system, the invention provides various embodiments of the image display method based on the touch screen.
Referring to fig. 3, fig. 3 is a flowchart illustrating a first embodiment of an image display method based on a touch screen according to the present invention.
In this embodiment, the method for displaying an image based on a touch screen includes the steps of:
step S10, if the touch operation of the thumbnail image is detected on the display interface of the thumbnail image, acquiring the touch position of the touch operation of the thumbnail image;
whether the image is currently on a thumbnail image display interface can be identified by monitoring a graphic instruction or bitmap data in the process of displaying the image inside the mobile terminal, for example: the method comprises the steps that graphic instructions and bitmap data input and/or output by a graphic engine in the mobile terminal can be monitored, and when the graphic instructions or the bitmap data are detected to contain thumbnail images, the current thumbnail image display interface is determined; or, by monitoring a cache area for storing graphics related instructions and data in the mobile terminal, when detecting that the instructions or data of the contained thumbnail images are written in and/or output, determining that the thumbnail images are currently in a display interface; alternatively, it may be determined whether the thumbnail image display interface is currently displayed by intercepting display data in the display driver.
When the current thumbnail image display interface is detected, automatically entering an image preview state in a background, receiving touch operation based on a touch screen in real time, and acquiring the touch position of the touch operation of the thumbnail image if the touch operation of the thumbnail image is detected; the method comprises the steps that an image preview state is started when an image preview starting instruction sent by a user based on a key is received through a preset key, touch operation based on a touch screen is received in real time, and if the touch operation of a thumbnail image is detected, the touch position of the touch operation of the thumbnail image is obtained; or the shortcut icon can be opened through the provided image preview, when an image preview opening instruction sent by a user based on the shortcut icon is received, the image preview state is opened, the touch operation based on the touch screen is received in real time, and if the touch operation of the thumbnail image is detected, the touch position of the touch operation of the thumbnail image is acquired.
Step S20, displaying an enlarged image of the touch position;
the enlarged image of the touch position may be an enlarged image of a partial image of the touch position or an original image of a thumbnail image of the touch position. For example: a partial image of the touch position may be acquired and an enlarged image of the partial image may be displayed; or, a thumbnail image of the touch position may be acquired, and an original image of the thumbnail image may be displayed completely; alternatively, the enlarged image of the partial image at the touch position or the original image of the thumbnail image may be determined by determining the touch time.
According to the embodiment, the amplified image of the touch position is displayed on the thumbnail image display interface, so that the preview of the thumbnail image is clearer and more visual, and the problem of inconvenience in image searching and searching is effectively solved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of an image display method based on a touch screen according to the present invention. Based on the first embodiment of the touch screen-based image display method described above, the step S20 includes:
step S21, determining a touch time of the touch position;
on a thumbnail image display interface, if a touch operation of a thumbnail image is detected, acquiring a touch position of the touch operation of the thumbnail image, and determining the touch time of the touch position. For example: if the touch operation is short-press touch, acquiring a touch position of the touch operation, and determining the touch time of the touch position; if the touch operation is sliding touch, acquiring continuously changed touch positions and respectively determining the touch time of each touch position; and if the touch operation is long-press touch, acquiring the touch position of the touch operation and the touch time of the touch position. Preferably, the touch positions may be represented by horizontal and vertical coordinates with the upper left corner of the touch screen as an origin, and each touch position corresponds to one touch time according to the detected touch operation.
Step S22, comparing the touch time with a preset time threshold;
the preset time threshold value can be set by providing a touch time setting interface for a user to set the preset time threshold value based on the touch time setting interface, and when a setting finishing instruction sent by the user based on the touch time setting interface is detected, the touch time setting interface is exited; a window for selecting the preset time threshold value can be provided in the provided image preview setting interface, so that a user can select the preset time threshold value based on the window; alternatively, the comparison may be performed automatically using a time threshold preset by the system.
Preferably, when an image preview configuration instruction is received, a preview configuration interface is provided for a user to set the preset time threshold value based on the configuration interface. The image preview configuration instruction may be triggered in a number of ways, for example: the shortcut icon can be configured through image preview provided by the display interface, when a user touches the shortcut icon, an image preview configuration instruction is triggered, a preview configuration interface is provided, and the user sets the preset time threshold value based on the configuration interface; it is also possible to configure the key by providing an image preview, which when pressed by the user triggers an image preview configuration command. Of course, the preview configuration interface is not limited to allow the user to set the preset time threshold based on the configuration interface, and various settings related to image preview may also be provided, for example: providing an amplification scale setting window based on the configuration interface for a user to set the amplification scale of the amplified image of the thumbnail image display interface; or providing an amplification scale setting window based on the configuration interface, so that a user can set the amplification scale of the amplified image of the original image display interface; or providing a magnified image shape setting window based on the configuration interface for a user to set the shape and the size of the magnified image; or providing a touch track setting window based on the configuration interface for a user to set the shape of the touch track. Preferably, the preview configuration interface may be used for a user to set one or more of the above-mentioned settings related to image preview.
And step S23, when the touch time is less than the preset time threshold, acquiring a partial image of the touch position, and displaying an enlarged image of the partial image.
And when the touch time is smaller than the preset time threshold, acquiring a local image of the touch position, and displaying an enlarged image of the local image. Preferably, the partial image is a partial image of a thumbnail image within a preset range around the touch position. The enlarged image is an enlarged image of the local image enlarged according to a preset proportion; alternatively, the magnified image may be an original image corresponding to the local image; alternatively, the enlarged image may be an image obtained by enlarging or reducing the original image corresponding to the local image in a preset ratio. For example: when the touch time is smaller than the preset time threshold, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, amplifying the local image according to a preset proportion to obtain an amplified image, and displaying the amplified image; or, when the touch time is less than the preset time threshold, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, and acquiring an original image corresponding to the local image, and displaying the original image as an enlarged image, or displaying the original image corresponding to the local image after enlarging or reducing the original image according to a preset scale. It should be understood that the magnified image corresponds to the touch location, for example: when the touch operation is a slide touch, the enlarged image may display enlarged images of respective touch positions as the touch positions are changed. Preferably, the shape and/or size of the magnified image may be set by providing a magnified image setting window of a preset image preview setting interface, so as to improve user experience, for example: the magnified image may be configured as a bubble with a circular shape, or may be configured as another shape such as a heart, a square, etc., to enhance the user experience.
Preferably, when the touch time is less than the preset time threshold, a touch track of the touch operation is displayed, and an enlarged image of the local image of the touch position is displayed at a preset position adjacent to the touch position. And determining a touch track of the touch operation by tracking the touch position and the touch time of the touch operation, and displaying the touch track of the touch operation. The touch track can be used for a user to select the form of the touch track based on the touch track setting interface by providing the touch track setting interface when receiving a touch track setting request, or selecting whether to display the touch track through the touch track setting interface. And when the touch time is less than the preset time threshold, displaying an enlarged image of the local image of the touch position at a preset position adjacent to the touch position. The preset position can be a setting interface for providing a display position of the magnified image when a magnified image setting request is received, so that a user can determine the display position of the magnified image based on the setting interface. For example: the enlarged image may be set to be displayed at an adjacent position at the upper right of the touched position; when the touch position is in a preset range of the right edge of a display interface, displaying the amplified image at an upper left adjacent position of the touch position; and when the touch position is in a preset range at the top of the display interface, displaying the enlarged image at a lower left adjacent position of the touch position, and the like.
And step S24, when the touch time is greater than or equal to the preset time threshold, determining the thumbnail image located at the touch position, and completely displaying the original image corresponding to the thumbnail image.
And when the touch time is greater than or equal to the preset time threshold, determining the thumbnail image positioned at the touch position, acquiring the original image corresponding to the thumbnail image according to the corresponding relation between the thumbnail image and the original image, and displaying the original image. It should be understood that the original image may be an image obtained by performing image processing, including image processing adapted to a screen resolution or the like, on the basis of the original image. For example: when touch operation of a user based on a touch screen is received, if the touch time of a touch position corresponding to the touch operation exceeds 1 second, a thumbnail image corresponding to the touch position is obtained, an original image corresponding to the thumbnail image is obtained according to the corresponding relation between the thumbnail image and the original image, and the original image is displayed in a full screen mode.
In the embodiment, the enlarged image of the touch position is displayed on the thumbnail image display interface, and the enlarged image of the local image of the touch position or the original image of the thumbnail image of the touch position is determined through the touch time, so that the preview of the thumbnail image is clearer and more intuitive, and the problem of inconvenience in image searching and searching is effectively solved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a third embodiment of an image display method based on a touch screen according to the present invention. Based on the first embodiment of the touch screen-based image display method, after step S24, the method further includes:
step S25, when detecting that the current image is at the display interface of the original image, if detecting the touch operation of the original image, acquiring the touch position of the touch operation of the original image;
when an original image corresponding to the touch position thumbnail image is displayed, determining that the original image is currently positioned on an original image display interface, receiving touch operation based on the touch screen in real time, and acquiring a touch position of the touch operation; or, directly receiving a touch operation based on the touch screen in real time when the touch time is greater than or equal to the preset time threshold, and acquiring a touch position of the touch operation; or, it may also be recognized whether the current image is on the original image display interface by monitoring a graphic instruction or bitmap data in the process of displaying an image inside the mobile terminal, for example: the method comprises the steps that graphic instructions and bitmap data input and/or output by a graphic engine in the mobile terminal can be monitored, and when the graphic instructions or the bitmap data are detected to contain original images, the current thumbnail image display interface is determined; or, by monitoring a cache area for storing graphics related instructions and data in the mobile terminal, when detecting that the instructions or data of the included thumbnail images are written in and/or output, determining that the current display interface is in the original display interface; or, it may also be determined whether the display driver is currently in the original image display interface by intercepting the display data in the display driver.
And step S26, when the touch position is in the first preset area of the original image display interface, acquiring a local image of the touch position, and displaying an enlarged image of the local image.
When the original image is displayed, the first preset area may be a display area where the original image is located, or may be a partial area where the original image is located. And when the touch position of the touch operation is in the first preset area, displaying an enlarged image of the local image of the touch position. Preferably, the local image is a local image of the original image within a preset range around the touch position, and the magnified image is a magnified image of the local image magnified according to a preset scale. For example: and when the touch position of the touch operation is in the first preset area, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, amplifying the local image according to a preset proportion to obtain an amplified image, and displaying the amplified image. It should be understood that the magnified image corresponds to the touch location, for example: when the touch operation is a slide touch, the enlarged image may be displayed correspondingly to the change of the touch position.
Preferably, an enlarged image of the partial image of the touch position is displayed at a preset position adjacent to the touch position. The preset position can be a setting interface for providing a display position of the magnified image when a magnified image setting request is received, so that a user can determine the display position of the magnified image based on the setting interface. For example: the enlarged image may be set to be displayed at an adjacent position at the upper right of the touched position; when the touch position is in a preset range of the right edge of a display interface, displaying the amplified image at an upper left adjacent position of the touch position; and when the touch position is in a preset range at the top of the display interface, displaying the enlarged image at a lower left adjacent position of the touch position, and the like.
And step S27, when the touch position is in the second preset area of the original image display interface, closing the function of displaying the enlarged image of the touch position local image.
The second preset area is used for controlling whether an enlarged image of the local image at the touch position is displayed on the original image display interface. The second preset area may be implemented in various forms, for example: providing an image editing menu for editing an image at the bottom, the left side, the right side or the top of the original image display interface, and stopping displaying an enlarged image of a local image at a touch position on the original image display interface when the touch position of the touch operation is in the image editing menu; or providing a shortcut icon for closing the enlarged image at the bottom, the left side, the right side or the top of the original image display interface, and stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is within the shortcut icon for closing the enlarged image. The first preset area may be a display area where the original image is located, or may be a partial area where the original image is located; the second preset area may be a display area where the original image is located, a part of the first preset area, an area other than the display area where the original image is located, or a part of the display area of the original image other than the first preset area. The first preset area is used for displaying an enlarged image of the local image of the touch position when the touch position of the touch operation is in the first preset area; and the second preset area is used for controlling whether to display the enlarged image of the local image at the touch position on the original image display interface.
Preferably, after the step of closing the function of displaying the enlarged image of the touch position partial image, an image editing interface may be provided for a user to edit the original image based on the image editing interface; and when an image editing ending instruction sent by a user based on the image editing interface is received, displaying the edited original image.
The second preset area is further used for triggering an image editing request when the touch position of the touch operation is located in the second preset area of the display interface, and providing an image editing interface for a user to edit the original image based on the image editing interface. For example: providing an image editing menu for editing an image at the bottom, the left side, the right side or the top of the original image display interface, stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is in the image editing menu, and providing an image editing interface for a user to edit the original image based on the image editing interface; or providing a shortcut icon for closing the enlarged image at the bottom, the left side, the right side or the top of the original image display interface, stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is in the shortcut icon for closing the enlarged image, and providing an image editing interface for a user to edit the original image based on the image editing interface. And when an image editing ending instruction sent by a user based on the image editing interface is received, displaying the edited original image.
The embodiment displays the enlarged image of the touch position on the thumbnail image display interface, and determines the enlarged image of the partial image of the touch position or the original image of the thumbnail image of the touch position according to the touch time. When the original image is displayed, the partial image at the touched position is enlarged and displayed. The method and the device not only enable the preview of the thumbnail image to be clearer and more intuitive, but also enable the viewing and browsing of the original image to be clearer, and effectively solve the problem of inconvenience in image searching and searching.
The invention further provides an image display device based on the touch screen.
Referring to fig. 6, fig. 6 is a functional block diagram of a touch screen-based image display device according to a first embodiment of the present invention.
In this embodiment, the touch screen-based image display device includes: a detection module 10 and an amplification module 20.
The detection module 10 is configured to, on a thumbnail image display interface, acquire a touch position of a touch operation of a thumbnail image if the touch operation of the thumbnail image is detected;
whether the image is currently on a thumbnail image display interface can be identified by monitoring a graphic instruction or bitmap data in the process of displaying the image inside the mobile terminal, for example: the method comprises the steps that graphic instructions and bitmap data input and/or output by a graphic engine in the mobile terminal can be monitored, and when the graphic instructions or the bitmap data are detected to contain thumbnail images, the current thumbnail image display interface is determined; or, by monitoring a cache area for storing graphics related instructions and data in the mobile terminal, when detecting that the instructions or data of the contained thumbnail images are written in and/or output, determining that the thumbnail images are currently in a display interface; alternatively, it may be determined whether the thumbnail image display interface is currently displayed by intercepting display data in the display driver.
When the current thumbnail image display interface is detected, automatically entering an image preview state in a background, receiving touch operation based on a touch screen in real time, and acquiring the touch position of the touch operation of the thumbnail image if the touch operation of the thumbnail image is detected; the method comprises the steps that an image preview state is started when an image preview starting instruction sent by a user based on a key is received through a preset key, touch operation based on a touch screen is received in real time, and if the touch operation of a thumbnail image is detected, the touch position of the touch operation of the thumbnail image is obtained; or the shortcut icon can be opened through the provided image preview, when an image preview opening instruction sent by a user based on the shortcut icon is received, the image preview state is opened, the touch operation based on the touch screen is received in real time, and if the touch operation of the thumbnail image is detected, the touch position of the touch operation of the thumbnail image is acquired.
The enlarging module 20 is configured to display an enlarged image of the touch position.
The enlarged image of the touch position may be an enlarged image of a partial image of the touch position or an original image of a thumbnail image of the touch position. For example: a partial image of the touch position may be acquired and an enlarged image of the partial image may be displayed; or, a thumbnail image of the touch position may be acquired, and an original image of the thumbnail image may be displayed completely; alternatively, the enlarged image of the partial image at the touch position or the original image of the thumbnail image may be determined by determining the touch time.
According to the embodiment, the amplified image of the touch position is displayed on the thumbnail image display interface, so that the preview of the thumbnail image is clearer and more visual, and the problem of inconvenience in image searching and searching is effectively solved.
Referring to fig. 7, fig. 7 is a functional module diagram of a second embodiment of the image display device based on a touch screen according to the present invention. Based on the first embodiment of the image display device based on the touch screen, the magnifying module 20 includes a determining unit 21, a comparing unit 22, a local magnifying unit 23, and a complete magnifying unit 24;
the determining unit 21 is configured to determine a touch time of the touch position;
on a thumbnail image display interface, if a touch operation of a thumbnail image is detected, acquiring a touch position of the touch operation of the thumbnail image, and determining the touch time of the touch position. For example: if the touch operation is short-press touch, acquiring a touch position of the touch operation, and determining the touch time of the touch position; if the touch operation is sliding touch, acquiring continuously changed touch positions and respectively determining the touch time of each touch position; and if the touch operation is long-press touch, acquiring the touch position of the touch operation and the touch time of the touch position. Preferably, the touch positions may be represented by horizontal and vertical coordinates with the upper left corner of the touch screen as an origin, and each touch position corresponds to one touch time according to the detected touch operation.
The comparison unit 22 is configured to compare the touch time with a preset time threshold;
the preset time threshold value can be set by providing a touch time setting interface for a user to set the preset time threshold value based on the touch time setting interface, and when a setting finishing instruction sent by the user based on the touch time setting interface is detected, the touch time setting interface is exited; a window for selecting the preset time threshold value can be provided in the provided image preview setting interface, so that a user can select the preset time threshold value based on the window; alternatively, the comparison may be performed automatically using a time threshold preset by the system.
Preferably, when an image preview configuration instruction is received, a preview configuration interface is provided for a user to set the preset time threshold value based on the configuration interface. The image preview configuration instruction may be triggered in a number of ways, for example: the shortcut icon can be configured through image preview provided by the display interface, when a user touches the shortcut icon, an image preview configuration instruction is triggered, a preview configuration interface is provided, and the user sets the preset time threshold value based on the configuration interface; it is also possible to configure the key by providing an image preview, which when pressed by the user triggers an image preview configuration command. Of course, the preview configuration interface is not limited to allow the user to set the preset time threshold based on the configuration interface, and various settings related to image preview may also be provided, for example: providing an amplification scale setting window based on the configuration interface for a user to set the amplification scale of the amplified image of the thumbnail image display interface; or providing an amplification scale setting window based on the configuration interface, so that a user can set the amplification scale of the amplified image of the original image display interface; or providing a magnified image shape setting window based on the configuration interface for a user to set the shape and the size of the magnified image; or providing a touch track setting window based on the configuration interface for a user to set the shape of the touch track. Preferably, the preview configuration interface may be used for a user to set one or more of the above-mentioned settings related to image preview.
The local enlarging unit 23 is configured to, when the touch time is smaller than the preset time threshold, acquire a local image of the touch position, and display an enlarged image of the local image.
And when the touch time is smaller than the preset time threshold, acquiring a local image of the touch position, and displaying an enlarged image of the local image. Preferably, the partial image is a partial image of a thumbnail image within a preset range around the touch position. The enlarged image is an enlarged image of the local image enlarged according to a preset proportion; alternatively, the magnified image may be an original image corresponding to the local image; alternatively, the enlarged image may be an image obtained by enlarging or reducing the original image corresponding to the local image in a preset ratio. For example: when the touch time is smaller than the preset time threshold, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, amplifying the local image according to a preset proportion to obtain an amplified image, and displaying the amplified image; or, when the touch time is less than the preset time threshold, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, and acquiring an original image corresponding to the local image, and displaying the original image as an enlarged image, or displaying the original image corresponding to the local image after enlarging or reducing the original image according to a preset scale. It should be understood that the magnified image corresponds to the touch location, for example: when the touch operation is a slide touch, the enlarged image may display enlarged images of respective touch positions as the touch positions are changed. Preferably, the shape and/or size of the magnified image may be set by providing a magnified image setting window of a preset image preview setting interface, so as to improve user experience, for example: the magnified image may be configured as a bubble with a circular shape, or may be configured as another shape such as a heart, a square, etc., to enhance the user experience.
Preferably, when the touch time is less than the preset time threshold, a touch track of the touch operation is displayed, and an enlarged image of the local image of the touch position is displayed at a preset position adjacent to the touch position. And determining a touch track of the touch operation by tracking the touch position and the touch time of the touch operation, and displaying the touch track of the touch operation. The touch track can be used for a user to select the form of the touch track based on the touch track setting interface by providing the touch track setting interface when receiving a touch track setting request, or selecting whether to display the touch track through the touch track setting interface. And when the touch time is less than the preset time threshold, displaying an enlarged image of the local image of the touch position at a preset position adjacent to the touch position. The preset position can be a setting interface for providing a display position of the magnified image when a magnified image setting request is received, so that a user can determine the display position of the magnified image based on the setting interface. For example: the enlarged image may be set to be displayed at an adjacent position at the upper right of the touched position; when the touch position is in a preset range of the right edge of a display interface, displaying the amplified image at an upper left adjacent position of the touch position; and when the touch position is in a preset range at the top of the display interface, displaying the enlarged image at a lower left adjacent position of the touch position, and the like.
The complete magnification unit 24 is configured to determine the thumbnail image located at the touch position when the touch time is greater than or equal to the preset time threshold, and completely display the original image corresponding to the thumbnail image.
And when the touch time is greater than or equal to the preset time threshold, determining the thumbnail image positioned at the touch position, acquiring the original image corresponding to the thumbnail image according to the corresponding relation between the thumbnail image and the original image, and displaying the original image. It should be understood that the original image may be an image obtained by performing image processing, including image processing adapted to a screen resolution or the like, on the basis of the original image. For example: when touch operation of a user based on a touch screen is received, if the touch time of a touch position corresponding to the touch operation exceeds 1 second, a thumbnail image corresponding to the touch position is obtained, an original image corresponding to the thumbnail image is obtained according to the corresponding relation between the thumbnail image and the original image, and the original image is displayed in a full screen mode.
Further, the determining unit 21 is further configured to, when it is detected that the current display interface of the original image is located, if a touch operation of the original image is detected, obtain a touch position of the touch operation of the original image;
when an original image corresponding to the touch position thumbnail image is displayed, determining that the original image is currently positioned on an original image display interface, receiving touch operation based on the touch screen in real time, and acquiring a touch position of the touch operation; or, directly receiving a touch operation based on the touch screen in real time when the touch time is greater than or equal to the preset time threshold, and acquiring a touch position of the touch operation; or, it may also be recognized whether the current image is on the original image display interface by monitoring a graphic instruction or bitmap data in the process of displaying an image inside the mobile terminal, for example: the method comprises the steps that graphic instructions and bitmap data input and/or output by a graphic engine in the mobile terminal can be monitored, and when the graphic instructions or the bitmap data are detected to contain original images, the current thumbnail image display interface is determined; or, by monitoring a cache area for storing graphics related instructions and data in the mobile terminal, when detecting that the instructions or data of the included thumbnail images are written in and/or output, determining that the current display interface is in the original display interface; or, it may also be determined whether the display driver is currently in the original image display interface by intercepting the display data in the display driver.
The local enlarging unit 23 is further configured to, when the touch position is in a first preset area of the original image display interface, acquire a local image of the touch position, and display an enlarged image of the local image.
When the original image is displayed, the first preset area may be a display area where the original image is located, or may be a partial area where the original image is located. And when the touch position of the touch operation is in the first preset area, displaying an enlarged image of the local image of the touch position. Preferably, the local image is a local image of the original image within a preset range around the touch position, and the magnified image is a magnified image of the local image magnified according to a preset scale. For example: and when the touch position of the touch operation is in the first preset area, acquiring a local image in a circular area with the touch position as the center and the radius of 0.5 mm, amplifying the local image according to a preset proportion to obtain an amplified image, and displaying the amplified image. It should be understood that the magnified image corresponds to the touch location, for example: when the touch operation is a slide touch, the enlarged image may be displayed correspondingly to the change of the touch position.
Preferably, an enlarged image of the partial image of the touch position is displayed at a preset position adjacent to the touch position. The preset position can be a setting interface for providing a display position of the magnified image when a magnified image setting request is received, so that a user can determine the display position of the magnified image based on the setting interface. For example: the enlarged image may be set to be displayed at an adjacent position at the upper right of the touched position; when the touch position is in a preset range of the right edge of a display interface, displaying the amplified image at an upper left adjacent position of the touch position; and when the touch position is in a preset range at the top of the display interface, displaying the enlarged image at a lower left adjacent position of the touch position, and the like.
Further, the local enlarging unit 23 is further configured to close the function of displaying the enlarged image of the local image of the touch position when the touch position is in the second preset area of the original image display interface.
The second preset area is used for controlling whether an enlarged image of the local image at the touch position is displayed on the original image display interface. The second preset area may be implemented in various forms, for example: providing an image editing menu for editing an image at the bottom, the left side, the right side or the top of the original image display interface, and stopping displaying an enlarged image of a local image at a touch position on the original image display interface when the touch position of the touch operation is in the image editing menu; or providing a shortcut icon for closing the enlarged image at the bottom, the left side, the right side or the top of the original image display interface, and stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is within the shortcut icon for closing the enlarged image. The first preset area may be a display area where the original image is located, or may be a partial area where the original image is located; the second preset area may be a display area where the original image is located, a part of the first preset area, an area other than the display area where the original image is located, or a part of the display area of the original image other than the first preset area. The first preset area is used for displaying an enlarged image of the local image of the touch position when the touch position of the touch operation is in the first preset area; and the second preset area is used for controlling whether to display the enlarged image of the local image at the touch position on the original image display interface.
Preferably, the complete magnification unit 24 is further configured to provide an image editing interface for a user to edit the original image based on the image editing interface; and when an image editing ending instruction sent by a user based on the image editing interface is received, displaying the edited original image.
The second preset area is further used for triggering an image editing request when the touch position of the touch operation is located in the second preset area of the display interface, and providing an image editing interface for a user to edit the original image based on the image editing interface. For example: providing an image editing menu for editing an image at the bottom, the left side, the right side or the top of the original image display interface, stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is in the image editing menu, and providing an image editing interface for a user to edit the original image based on the image editing interface; or providing a shortcut icon for closing the enlarged image at the bottom, the left side, the right side or the top of the original image display interface, stopping displaying the enlarged image of the local image at the touch position on the original image display interface when the touch position of the touch operation is in the shortcut icon for closing the enlarged image, and providing an image editing interface for a user to edit the original image based on the image editing interface. And when an image editing ending instruction sent by a user based on the image editing interface is received, displaying the edited original image.
The embodiment displays the enlarged image of the touch position on the thumbnail image display interface, and determines the enlarged image of the partial image of the touch position or the original image of the thumbnail image of the touch position according to the touch time. When the original image is displayed, the partial image at the touched position is enlarged and displayed. The method and the device not only enable the preview of the thumbnail image to be clearer and more intuitive, but also enable the viewing and browsing of the original image to be clearer, and effectively solve the problem of inconvenience in image searching and searching.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. An image display method based on a touch screen is characterized by comprising the following steps:
detecting touch operation based on a touch screen in real time on a thumbnail image display interface, and acquiring a touch position of the touch operation of the thumbnail image if the touch operation of the thumbnail image is detected;
determining a touch time of the touch location;
comparing the touch time with a preset time threshold;
when the touch time is smaller than the preset time threshold, acquiring a local image of the touch position, and displaying an enlarged image of the local image;
and when the touch time is greater than or equal to the preset time threshold, determining the thumbnail image positioned at the touch position, acquiring the original image corresponding to the thumbnail image according to the corresponding relation between the thumbnail image and the original image, and displaying the original image.
2. The touch-screen-based image display method according to claim 1, wherein after the step of determining the thumbnail image located at the touch position and displaying the original image corresponding to the thumbnail image completely when the touch time is greater than or equal to the preset time threshold, the method further comprises:
when the current position is detected to be at an original image display interface, if the touch operation of the original image is detected, acquiring the touch position of the original image touch operation;
and when the touch position is in a first preset area of the original image display interface, acquiring a local image of the touch position, and displaying an enlarged image of the local image.
3. The method for displaying an image on a touch screen according to claim 2, wherein after the step of acquiring a partial image of the touch position and displaying an enlarged image of the partial image when the touch position is in a first preset area of the original image display interface, the method further comprises:
and when the touch position is in a second preset area of the original image display interface, closing the function of displaying the enlarged image of the local image of the touch position.
4. A touch-screen based image display device, comprising:
the detection module is used for detecting touch operation based on a touch screen in real time on a thumbnail image display interface, and acquiring a touch position of the touch operation of the thumbnail image if the touch operation of the thumbnail image is detected;
the amplifying module is used for displaying an amplified image of the touch position;
the amplifying module comprises a determining unit, a comparing unit, a local amplifying unit and a complete amplifying unit;
the determining unit is used for determining the touch time of the touch position;
the comparison unit is used for comparing the touch time with a preset time threshold;
the local amplifying unit is used for acquiring a local image of the touch position and displaying an amplified image of the local image when the touch time is less than the preset time threshold;
and the complete amplification unit is used for determining the thumbnail image positioned at the touch position when the touch time is greater than or equal to the preset time threshold, acquiring the original image corresponding to the thumbnail image according to the corresponding relation between the thumbnail image and the original image, and displaying the original image.
5. The touch-screen-based image display apparatus according to claim 4, wherein the determining unit is further configured to, when detecting that the image is currently located at the original image display interface, if a touch operation of the original image is detected, obtain a touch position of the touch operation of the original image;
the local amplifying unit is further configured to acquire a local image of the touch position and display an amplified image of the local image when the touch position is in a first preset area of the original image display interface.
6. The touch-screen based image display device of claim 5, wherein the partial magnification unit is further configured to turn off the function of displaying the magnified image of the touch location partial image when the touch location is in a second predetermined area of the original image display interface.
CN201510149439.5A 2015-03-31 2015-03-31 Image display method and device based on touch screen Active CN104731480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149439.5A CN104731480B (en) 2015-03-31 2015-03-31 Image display method and device based on touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510149439.5A CN104731480B (en) 2015-03-31 2015-03-31 Image display method and device based on touch screen

Publications (2)

Publication Number Publication Date
CN104731480A CN104731480A (en) 2015-06-24
CN104731480B true CN104731480B (en) 2020-03-17

Family

ID=53455422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149439.5A Active CN104731480B (en) 2015-03-31 2015-03-31 Image display method and device based on touch screen

Country Status (1)

Country Link
CN (1) CN104731480B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162954B (en) * 2015-07-30 2018-11-20 努比亚技术有限公司 embedded picture amplifying method, device and mobile terminal
CN106468984A (en) * 2015-08-11 2017-03-01 阿里巴巴集团控股有限公司 A kind of method of item associations picture rapid preview and device
CN105183346B (en) * 2015-08-27 2019-03-01 努比亚技术有限公司 Image display apparatus and method
CN105867868A (en) * 2016-04-20 2016-08-17 深圳市金立通信设备有限公司 Image display method and image display terminal
KR102611056B1 (en) * 2017-01-16 2023-12-07 엘지전자 주식회사 Mobile terminal and Method for controlling the same
CN107463306B (en) * 2017-07-12 2020-02-14 北京潘达互娱科技有限公司 Image display method and device
CN110362250B (en) * 2018-04-09 2021-03-23 杭州海康威视数字技术股份有限公司 Image local amplification method and device and display equipment
CN111722771B (en) * 2019-03-20 2022-06-07 富士胶片实业发展(上海)有限公司 Image association display method and device and computer readable medium
CN110162251B (en) * 2019-05-17 2021-06-18 网易(杭州)网络有限公司 Image scaling method and device, storage medium and electronic equipment
CN112533021B (en) * 2019-09-19 2023-04-11 Vidaa(荷兰)国际控股有限公司 Display method and display equipment
CN110825286B (en) * 2019-10-30 2021-09-03 北京字节跳动网络技术有限公司 Image processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1263616A (en) * 1998-04-17 2000-08-16 皇家菲利浦电子有限公司 Graphical user interface touch screen with auto zoom feature
CN1578411A (en) * 2003-07-16 2005-02-09 索尼株式会社 Imaging apparatus and imaging system control method
CN103142248A (en) * 2013-03-22 2013-06-12 飞依诺科技(苏州)有限公司 Measuring method for touch screen ultrasonic diagnosis instrument and touch screen ultrasonic diagnosis instrument
CN103294349A (en) * 2012-03-05 2013-09-11 汉王科技股份有限公司 Electronic document previewing method and electronic reading equipment applying same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130212534A1 (en) * 2006-10-23 2013-08-15 Jerry Knight Expanding thumbnail with metadata overlay
CN103616983B (en) * 2013-11-25 2017-11-10 小米科技有限责任公司 A kind of picture display method, device and terminal device
CN103645871B (en) * 2013-12-06 2016-08-17 四川九洲电器集团有限责任公司 A kind of method and system of Dynamic Announce local area image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1263616A (en) * 1998-04-17 2000-08-16 皇家菲利浦电子有限公司 Graphical user interface touch screen with auto zoom feature
CN1578411A (en) * 2003-07-16 2005-02-09 索尼株式会社 Imaging apparatus and imaging system control method
CN103294349A (en) * 2012-03-05 2013-09-11 汉王科技股份有限公司 Electronic document previewing method and electronic reading equipment applying same
CN103142248A (en) * 2013-03-22 2013-06-12 飞依诺科技(苏州)有限公司 Measuring method for touch screen ultrasonic diagnosis instrument and touch screen ultrasonic diagnosis instrument

Also Published As

Publication number Publication date
CN104731480A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104731480B (en) Image display method and device based on touch screen
CN105426097B (en) Real-time split screen size adjusting method and split screen device
CN106844029B (en) Self-management Android process freezing and unfreezing device and method
CN106533928B (en) Method and device for updating unread message reminding identification
CN106304037B (en) Virtual SIM card management method and device
CN106383647B (en) Terminal interface control device and method
CN106527933B (en) Control method and device for edge gesture of mobile terminal
CN106254628B (en) Mobile terminal and multi-screen display method
CN106210286B (en) Parameter adjusting method and device for double-screen mobile terminal
CN106778176B (en) Information processing method and mobile terminal
CN104932697B (en) Gesture unlocking method and device
CN106648324B (en) Hidden icon control method and device and terminal
CN107092418B (en) Terminal and method for operating application floating window
CN106873887B (en) System and method for controlling application function based on gesture
CN106598538B (en) Instruction set updating method and system
CN106250130B (en) Mobile terminal and method for responding key operation
CN109240579B (en) Touch operation method, equipment and computer storage medium
CN106341554B (en) Method and device for quickly searching data content and mobile terminal
CN106161790B (en) Mobile terminal and control method thereof
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN106484534B (en) Control method and control device for displayed mobile terminal
CN106231657B (en) Method and device for switching power saving modes of double-screen mobile terminal
CN105791541B (en) Screenshot method and mobile terminal
CN105227771B (en) Picture transmission method and device
CN106569670B (en) Device and method for processing application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant