CN105138255A - Terminal and image information acquisition method - Google Patents
Terminal and image information acquisition method Download PDFInfo
- Publication number
- CN105138255A CN105138255A CN201510354983.3A CN201510354983A CN105138255A CN 105138255 A CN105138255 A CN 105138255A CN 201510354983 A CN201510354983 A CN 201510354983A CN 105138255 A CN105138255 A CN 105138255A
- Authority
- CN
- China
- Prior art keywords
- screenshot
- terminal
- touch
- information
- pressure value
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000004044 response Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 abstract description 15
- 238000004891 communication Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 8
- 238000010295 mobile communication Methods 0.000 description 8
- 230000007423 decrease Effects 0.000 description 7
- 230000003247 decreasing effect Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a terminal. The terminal comprises a setting unit, a touch control response unit and a control unit. The setting unit is used for setting screenshot shape; the touch control response unit is used for receiving touch control operation, responding to the touch control operation, generating screenshot information corresponding to the touch control operation and sending the screenshot information; the control unit is used for receiving the screenshot information and carrying out screenshot processing on the terminal interface according to the screenshot information and the set screenshot shape. The embodiment of the invention further discloses an image information acquisition method.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a terminal and a method for acquiring image information.
Background
With the rapid development of mobile communication technology, terminals have become essential tools in people's daily life; with the wide application of the terminal, screenshot on the terminal screen has become a conventional operation.
Currently, a terminal user generally performs screenshot on a terminal through ways of pulling down a menu, simultaneously pressing a plurality of hard keys, or drawing a graphic area to be intercepted with a finger; however, the screenshot method either needs to be operated by using two hands or only can intercept the whole interface of the terminal, which brings great inconvenience to the terminal user and reduces the use experience of the terminal user.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a terminal and a method for acquiring image information, which can implement screenshot processing on part or all of interfaces of the terminal by a single hand of a terminal user.
The technical scheme of the embodiment of the invention is realized as follows:
an embodiment of the present invention provides a terminal, where the terminal includes: a setting unit for setting a screenshot shape; the touch response unit is used for receiving touch operation, responding to the touch operation and generating and sending screenshot information corresponding to the touch operation; and the control unit is used for receiving the screenshot information and acquiring the image information according to the screenshot information and the set screenshot shape.
In the above scheme, the setting unit is a setting unit with a screenshot shape of rectangle, circle, ellipse, triangle, square or polygon.
In the above scheme, the control unit selects a screenshot area which takes the touch position in the screenshot information as a center and is consistent with the set screenshot shape according to the touch pressure value in the screenshot information.
In the above scheme, the control unit is configured to, when the touch pressure value becomes zero, use a screenshot area selected before the touch pressure value becomes zero as acquired image information, and store the acquired image information as a picture.
In the scheme, the setting unit is a setting unit for setting the filling pattern of the screenshot area;
correspondingly, the control unit is used for marking the selected screenshot area according to the set filling style of the screenshot area.
In the scheme, the setting unit is a setting unit for setting the boundary display style of the screenshot area;
correspondingly, the control unit is used for displaying the control unit of the screenshot area selected by the style mark through the set boundary of the screenshot area.
The embodiment of the invention also discloses a method for acquiring the image information, which comprises the following steps: receiving touch operation; responding to the touch operation, and generating screenshot information corresponding to the touch operation; and acquiring image information according to the screenshot information and the set screenshot shape.
In the above scheme, the screenshot shape includes: rectangular, circular, oval, triangular, square, or polygonal.
In the above scheme, the acquiring image information according to the screenshot information and the set screenshot shape includes: and selecting a screenshot area which takes the touch position in the screenshot information as the center and is consistent with the set screenshot shape according to the touch pressure value in the screenshot information.
In the above scheme, when the touch pressure value becomes zero, the screenshot area selected before the touch pressure value becomes zero is used as the acquired image information, and the acquired image information is stored as a picture.
According to the terminal provided by the embodiment of the invention, after receiving the touch operation of a user, the terminal generates screenshot information corresponding to the touch operation, and dynamically selects a screenshot area which takes the touch position in the screenshot information as the center and is consistent with the set screenshot shape according to the touch pressure value change in the screenshot information; when the touch pressure value becomes zero, storing a screenshot area selected before the touch pressure value becomes zero as a picture, and finishing screenshot processing of a terminal interface; therefore, the terminal can be touched by a single hand of a terminal user, so that screenshot processing of part or all interfaces of the terminal can be realized, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication system in which a terminal according to the present invention is capable of operating;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 4 is a schematic view of a basic processing flow of a method for acquiring image information according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a detailed process of a method for obtaining image information according to an embodiment of the present invention;
fig. 6 is a schematic view of a terminal interface displaying a screenshot area selected according to a touch pressure value in an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a detailed process of a method for acquiring image information according to a second embodiment of the present invention;
fig. 8 is a schematic view of a terminal interface displaying two screenshot areas selected according to a touch pressure value according to an embodiment of the present invention;
the embodiment of the invention provides a processing flow schematic diagram of a method for screenshot on a terminal interface.
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 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 terminal may be implemented in various forms. For example, the terminal described in the present invention may include terminals 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 fixed terminals such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a 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 terminal implementing various embodiments of the present invention.
The 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 shows a terminal having various components, but it is to be understood that not all of the illustrated components are required to be implemented. More or fewer components may alternatively be implemented. The elements of the terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the 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 a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a digital broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), a data broadcasting system of forward link media (MediaFLO), a terrestrial digital broadcasting integrated service (ISDB-T), and the like. 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 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 (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of a 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 cameras 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 121 may be provided according to the configuration of the 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 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 terminal 100 (e.g., an open or closed state of the terminal 100), a position of the terminal 100, presence or absence of contact (i.e., touch input) by a user with respect to the terminal 100, an orientation of the terminal 100, acceleration or deceleration movement and direction of the terminal 100, and the like, and generates a command or signal for controlling an operation of the terminal 100. For example, when the 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 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 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 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 terminal 100 or may be used to transmit data between the terminal and the external device.
In addition, when the 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 terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the terminal. Various command signals or power input from the cradle may be used as signals for identifying whether the 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 terminal 100. For example, when the 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 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. The terminal 100 may include two or more display units (or other display devices) according to a particular desired embodiment, for example, the 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 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 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 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 (incomingmunication) 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 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 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, the terminal has been described in terms of its functions. Hereinafter, a slide-type terminal among various types of terminals such as a folder-type, bar-type, swing-type, slide-type terminal, and the like will be described as an example for the sake of brevity. Therefore, the present invention can be applied to any type of terminal, and is not limited to a slide type terminal.
The 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 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, the CDMA wireless communication system may include a plurality of terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is 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 terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the 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 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 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 terminals 100. The terminal 100 is typically 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 terminal 100.
Based on the above terminal hardware structure and communication system, the composition structure of the terminal 1 provided in the embodiment of the present invention, as shown in fig. 3, includes: a setting unit 10, a touch response unit 20, and a control unit 30; wherein,
the setting unit 10 is used for setting a screenshot shape;
the screenshot shape can be any regular shape or irregular shape such as rectangle, circle, ellipse, triangle, square or polygon;
here, the terminal 1 stores the screen shot shape set by the setting unit 10, and the screen shot shape set last time is used when the terminal 1 uses the screen shot shape parameters before the setting unit 10 resets a new screen shot shape.
The setting unit 10 is further configured to set a filling pattern of the screenshot area;
here, the fill pattern of the screenshot area may include: and filling patterns such as lines, water ripples, dot-dash lines or dots.
The setting unit 10 is further configured to set a boundary display style of the screenshot area;
here, the boundary display style of the screenshot area may include: the boundary of the flicker screenshot area, the boundary of the cyclic flicker screenshot area, and the like.
The touch response unit 20 is configured to receive a touch operation, respond to the touch operation, and generate and send screenshot information corresponding to the touch operation;
here, the touch operation is that the terminal user presses the terminal screen by a finger or the terminal user presses the terminal screen by a touch tool such as a stylus;
specifically, the touch response unit 20 generates screenshot information corresponding to the touch operation according to the touch operation, and sends the screenshot information to the control unit 30;
wherein the screenshot information at least includes: touch pressure values and screen capture positions;
here, the touch pressure value is a pressure value generated when the terminal user presses the screen, and the touch position is a position where the terminal user presses the screen;
in the embodiment of the present invention, the touch response unit 20 receives a touch operation in real time or according to a preset period, generates screenshot information corresponding to the touch operation according to the touch operation, and sends the screenshot information to the control unit 30;
the preset period can be flexibly set according to actual needs.
The control unit 30 is configured to receive screenshot information sent by the touch response unit 20, and perform screenshot processing on a terminal interface according to the screenshot information and a set screenshot shape;
specifically, the control unit 30 receives screenshot information including a touch pressure value and a screenshot position sent by the touch response unit 20, and selects a screenshot area which is centered at the touch position and has a shape identical to that of the screenshot set by the setting unit 10 according to the size of the touch pressure value;
here, as the touch pressure value increases, the screenshot area selected by the control unit 30 also increases; as the touch pressure value decreases, the screenshot area selected by the control unit 30 also decreases; therefore, the size of the selected screenshot area changes along with the touch pressure value, and the screenshot area is dynamically diffused or contracted by taking the touch position as a center;
specifically, when the touch pressure value is increased, the selected screenshot area is correspondingly increased, when the touch pressure value is decreased, the selected screenshot area is correspondingly decreased, and when the touch pressure value is kept at a constant value, the selected screenshot area is not changed.
The control unit 30 is further configured to mark the selected screenshot area according to the filling pattern of the screenshot area set by the setting unit 10, or mark the selected screenshot area according to the boundary display pattern of the screenshot area set by the setting unit 10;
the selected screenshot area can be displayed more clearly by setting the filling style of the screenshot area and the boundary display style of the screenshot area and marking the selected screenshot area according to the set filling style of the screenshot area and the boundary display style of the screenshot area, so that a terminal user can conveniently judge the size of the screenshot area corresponding to the current touch pressure value;
specifically, when the selected screenshot area increases or decreases, the change of the screenshot area may also be displayed through a corresponding dynamic effect, such as: the dynamic increase or decrease of the filling style of the screenshot area increases the interest of a User Interface (UI).
The control unit 30 is further configured to, when the touch pressure value becomes zero, take a screenshot area selected before the touch pressure value becomes zero as acquired image information, and store the acquired image information as a picture;
the pictures can be in any format such as bmp, jpg, gif and the like;
here, the touch pressure value becomes zero, i.e., the terminal user stops pressing the terminal screen.
The control unit 30 is further configured to send and share the picture;
specifically, the control unit 30 may send the stored picture to another terminal, and the control unit 30 may also share the stored picture to social network sites such as a microblog and a WeChat friend circle.
In the embodiment of the invention, the touch operation is that a terminal user presses a screen of the terminal by using a finger; a terminal user can firstly approach an area expected to be captured to a controllable range of a finger of the terminal user through methods such as sliding a screen and the like, and then press the screen of the terminal by using the finger; therefore, a terminal user can conveniently touch the terminal with one hand, screenshot processing of part or all interfaces of the terminal is achieved, and user experience is improved.
As shown in fig. 4, a basic processing flow of the method for acquiring image information according to the embodiment of the present invention includes the following steps:
step 101, receiving touch operation;
specifically, a touch response unit in the device for acquiring the image information receives a touch operation;
here, the touch operation is that a terminal user presses a screen of the terminal with a finger; a terminal user can firstly approach an area expected to be captured to a controllable range of a finger of the terminal user through methods such as sliding a screen and the like, and then press the screen of the terminal by using the finger;
the touch response unit 20 receives the touch operation in real time or according to a preset period, where the preset period can be flexibly set according to actual needs.
102, responding to the touch operation, and generating screenshot information corresponding to the touch operation;
specifically, a touch response unit in the device for acquiring the image information responds to the touch operation to generate screenshot information corresponding to the touch operation;
the screenshot information comprises a touch pressure value and a touch position, the touch pressure value is a pressure value generated when a terminal user presses a screen, and the touch position is a position where the terminal user presses the screen.
103, acquiring image information according to the screenshot information and the set screenshot shape;
specifically, a control unit in the device for acquiring the image information selects a rectangular screenshot area with the touch position as the center according to a touch pressure value in the screenshot information;
here, the set screenshot shape may be a preset screenshot shape or a screenshot shape set in the current operation; the control unit acquires screenshot information in real time or according to a preset period, so that the size of the selected screenshot area changes along with the change of the touch pressure value, and the screenshot area is dynamically diffused or contracted by taking the touch position as a center;
specifically, when the touch pressure value is increased, the selected screenshot area is correspondingly increased, when the touch pressure value is decreased, the selected screenshot area is correspondingly decreased, and when the touch pressure value is kept at a constant value, the selected screenshot area is not changed.
In the embodiment of the invention, the filling style of the screenshot area can be preset, and the selected screenshot area is marked by using the set filling style of the screenshot area; or setting a boundary display style of the screenshot area in advance, and marking the selected screenshot area by using the set boundary display style of the screenshot area; therefore, the selected screenshot area can be displayed more clearly, and a terminal user can conveniently judge the size of the screenshot area corresponding to the current touch pressure value;
specifically, when the selected screenshot area increases or decreases, the change of the screenshot area may also be displayed through a corresponding dynamic effect, such as: the filling style of the screenshot area is dynamically increased or decreased, so that the interest of the UI is increased;
the filling pattern of the screenshot area may include: filling patterns such as lines, water ripples, dot-dash lines or dots; the boundary display style of the screenshot area may include: the boundary of the flicker screenshot area, the boundary of the cyclic flicker screenshot area, and the like.
Example one
The method for acquiring image information in the embodiment of the present invention is applied to a terminal, and a detailed processing flow of the method, as shown in fig. 5, includes the following steps:
step 201, setting a screenshot shape, a filling style of a screenshot area and a boundary display style of the screenshot area;
specifically, the screenshot shape is set to be a circle, the filling pattern of the screenshot area is set to be an oblique line, and the boundary display pattern of the screenshot area is set to be the boundary of the flickering screenshot area.
Step 202, receiving a touch operation;
specifically, a touch response unit in the terminal receives a touch operation;
here, the touch operation is that a terminal user presses a screen of the terminal with a finger; the terminal user can firstly approach the area of the expected screenshot to the range which can be controlled by the finger of the user through methods such as sliding the screen and the like, and then press the screen of the terminal by the finger.
Step 203, responding to the touch operation, and generating screenshot information corresponding to the touch operation;
specifically, a touch response unit in the terminal responds to the touch operation and generates screenshot information corresponding to the touch operation;
the screenshot information comprises a touch pressure value and a touch position, the touch pressure value is a pressure value generated when a terminal user presses a screen, and the touch position is a position where the terminal user presses the screen.
Step 204, acquiring image information according to the screenshot information and the set screenshot shape;
specifically, a control unit in the terminal selects a rectangular screenshot area with the touch position as the center according to a touch pressure value in the screenshot information;
here, the control unit acquires screenshot information in real time or according to a preset period, so that the size of the selected screenshot area changes along with the change of the touch pressure value, and dynamically diffuses or contracts the screenshot area with the touch position as a center;
specifically, when the selected screenshot area increases or decreases, the change of the screenshot area may also be displayed through a corresponding dynamic effect, such as: the filling style of the screenshot area is dynamically increased or decreased, so that the interest of the UI is increased.
In the embodiment of the present invention, a schematic view of a terminal interface displaying a screenshot area selected according to a touch pressure value is shown in fig. 6, where the circular area is a circular screenshot area selected according to a touch pressure value of a terminal user, and a filling style of the screenshot area is an oblique line.
Step 205, when the touch pressure value becomes zero, taking the selected screenshot area as the acquired image information, and storing the acquired image information as a picture;
specifically, when the touch pressure value becomes zero, that is, when the terminal user stops pressing the terminal screen, the control unit takes the screenshot area selected before the touch pressure value becomes zero as the acquired image information, and stores the acquired image information as a picture;
here, the picture may be in any format such as bmp, jpg, or gif.
Example two
The method for acquiring image information in the second embodiment of the present invention is applied to a terminal, and a detailed processing flow of the method, as shown in fig. 7, includes the following steps:
step 301, setting a screenshot shape, a filling style of a screenshot area and a boundary display style of the screenshot area;
specifically, the screenshot shape is set to be a diamond shape, the filling pattern of the screenshot area is set to be a grid, and the boundary display pattern of the screenshot area is set to be the boundary of the circular flicker screenshot area.
Step 302, receiving a touch operation;
specifically, a touch response unit in the terminal receives a touch operation;
here, the touch operation is that a terminal user presses a screen of the terminal with a finger; the terminal user can firstly approach the area of the expected screenshot to the range which can be controlled by the finger of the user through methods such as sliding the screen and the like, and then press the screen of the terminal by the finger.
Step 303, responding to the touch operation, and generating screenshot information corresponding to the touch operation;
specifically, a touch response unit in the terminal responds to the touch operation and generates screenshot information corresponding to the touch operation;
the screenshot information comprises a touch pressure value and a touch position, the touch pressure value is a pressure value generated when a terminal user presses a screen, and the touch position is a position where the terminal user presses the screen.
Step 304, acquiring image information according to the screenshot information and the set screenshot shape;
specifically, a control unit in the terminal selects a rectangular screenshot area with the touch position as the center according to a touch pressure value in the screenshot information;
here, the control unit acquires screenshot information in real time or according to a preset period, so that the size of the selected screenshot area changes along with the change of the touch pressure value, and dynamically diffuses or contracts the screenshot area with the touch position as a center; when the selected screenshot area increases or decreases, the change of the screenshot area can also be displayed through a corresponding dynamic effect, such as: the filling style of the screenshot area is dynamically increased or decreased, so that the interest of the UI is increased.
In the embodiment of the present invention, two terminal interface display diagrams of selecting a screenshot area according to a touch pressure value are shown in fig. 8, where a circular area is a diamond-shaped screenshot area selected according to a touch pressure value of a terminal user, and a screenshot area filling style is a grid.
Step 305, when the touch pressure value becomes zero, taking the selected screenshot area as the acquired image information, and storing the acquired image information as a picture;
specifically, when the touch pressure value becomes zero, that is, when the terminal user stops pressing the terminal screen, the control unit takes the screenshot area selected before the touch pressure value becomes zero as the acquired image information, and stores the acquired image information as a picture;
here, the picture may be in any format such as bmp, jpg, or gif.
Step 306, sending and sharing the picture;
specifically, the terminal may send the stored picture to another terminal, or a control unit in the terminal may share the stored picture to social networking sites such as a microblog, a WeChat friend circle, and the like.
To implement the above-described method of acquiring image information,
in the embodiment of the present invention, part of the functions performed by the touch response unit 20 may be implemented by a pressure sensor.
It should be noted that, in practical applications, the functions of the setting unit 10, the touch response unit 20 and the control unit 30 may be implemented by a Central Processing Unit (CPU), a microprocessor unit (MPU), a Digital Signal Processor (DSP) or a programmable gate array (FPGA) located on the terminal.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (10)
1. A terminal, characterized in that the terminal comprises:
a setting unit for setting a screenshot shape;
the touch response unit is used for receiving touch operation, responding to the touch operation and generating and sending screenshot information corresponding to the touch operation;
and the control unit is used for receiving the screenshot information and acquiring the image information according to the screenshot information and the set screenshot shape.
2. The terminal according to claim 1, wherein the setting unit is a setting unit having a shape of a rectangle, a circle, an ellipse, a triangle, a square, or a polygon in a screenshot.
3. The terminal according to claim 1, wherein the control unit is a control unit that selects a screenshot area that is centered on a touch position in the screenshot information and has a shape identical to a set screenshot shape according to a touch pressure value in the screenshot information.
4. The terminal according to claim 3, wherein the control unit is a control unit that, when the touch pressure value becomes zero, takes a screenshot area selected before the touch pressure value becomes zero as acquired image information, and saves the acquired image information as a picture.
5. The terminal according to claim 3, wherein the setting unit is a setting unit for setting a filling pattern of the screenshot area;
correspondingly, the control unit is used for marking the selected screenshot area according to the set filling style of the screenshot area.
6. The terminal according to claim 3, wherein the setting unit is a setting unit that sets a boundary display style of the screenshot area;
correspondingly, the control unit is used for displaying the control unit of the screenshot area selected by the style mark through the set boundary of the screenshot area.
7. A method of obtaining image information, the method comprising:
receiving touch operation;
responding to the touch operation, and generating screenshot information corresponding to the touch operation;
and acquiring image information according to the screenshot information and the set screenshot shape.
8. The method of claim 7, wherein the screenshot shape comprises: rectangular, circular, oval, triangular, square, or polygonal.
9. The method of claim 7, wherein obtaining image information according to the screenshot information and the set screenshot shape comprises:
and selecting a screenshot area which takes the touch position in the screenshot information as the center and is consistent with the set screenshot shape according to the touch pressure value in the screenshot information.
10. The method according to claim 9, wherein when the touch pressure value becomes zero, a screenshot area selected before the touch pressure value becomes zero is taken as acquired image information, and the acquired image information is saved as a picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510354983.3A CN105138255A (en) | 2015-06-24 | 2015-06-24 | Terminal and image information acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510354983.3A CN105138255A (en) | 2015-06-24 | 2015-06-24 | Terminal and image information acquisition method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105138255A true CN105138255A (en) | 2015-12-09 |
Family
ID=54723617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510354983.3A Pending CN105138255A (en) | 2015-06-24 | 2015-06-24 | Terminal and image information acquisition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105138255A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487781A (en) * | 2016-01-29 | 2016-04-13 | 广东欧珀移动通信有限公司 | Screen capture method and terminal device |
CN105700790A (en) * | 2016-01-11 | 2016-06-22 | 广东欧珀移动通信有限公司 | Screenshot method and terminal device |
CN105718163A (en) * | 2016-01-20 | 2016-06-29 | 广东欧珀移动通信有限公司 | Screen capture method and apparatus for mobile terminal |
CN105867820A (en) * | 2016-03-31 | 2016-08-17 | 百度在线网络技术(北京)有限公司 | Text editing method and device for touch screen |
CN106021108A (en) * | 2016-05-19 | 2016-10-12 | 努比亚技术有限公司 | Application program testing device, mobile terminal and method |
CN106354306A (en) * | 2016-08-26 | 2017-01-25 | 青岛海信电器股份有限公司 | Response method and device for touching operation |
CN107171945A (en) * | 2017-06-29 | 2017-09-15 | 珠海市魅族科技有限公司 | Image information processing method and device, computer installation and readable storage medium storing program for executing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707879A (en) * | 2012-04-17 | 2012-10-03 | 上海量明科技发展有限公司 | Method for selecting image contour of screenshot area, client and system |
CN103019578A (en) * | 2011-09-27 | 2013-04-03 | 中国移动通信集团公司 | Text selection method and test selection device as well as picture interception method and picture interception device |
CN103544021A (en) * | 2013-11-01 | 2014-01-29 | 锤子科技(北京)有限公司 | Screen capturing method and device for screen content of mobile terminal |
CN103761048A (en) * | 2014-01-24 | 2014-04-30 | 深圳市金立通信设备有限公司 | Terminal screen shot method and terminal |
CN103870183A (en) * | 2012-12-14 | 2014-06-18 | 联想(北京)有限公司 | Screen capturing method and screen capturing device |
CN104714721A (en) * | 2014-12-30 | 2015-06-17 | 上海孩子国科教设备有限公司 | Data section method and client side |
-
2015
- 2015-06-24 CN CN201510354983.3A patent/CN105138255A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019578A (en) * | 2011-09-27 | 2013-04-03 | 中国移动通信集团公司 | Text selection method and test selection device as well as picture interception method and picture interception device |
CN102707879A (en) * | 2012-04-17 | 2012-10-03 | 上海量明科技发展有限公司 | Method for selecting image contour of screenshot area, client and system |
CN103870183A (en) * | 2012-12-14 | 2014-06-18 | 联想(北京)有限公司 | Screen capturing method and screen capturing device |
CN103544021A (en) * | 2013-11-01 | 2014-01-29 | 锤子科技(北京)有限公司 | Screen capturing method and device for screen content of mobile terminal |
CN103761048A (en) * | 2014-01-24 | 2014-04-30 | 深圳市金立通信设备有限公司 | Terminal screen shot method and terminal |
CN104714721A (en) * | 2014-12-30 | 2015-06-17 | 上海孩子国科教设备有限公司 | Data section method and client side |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105700790A (en) * | 2016-01-11 | 2016-06-22 | 广东欧珀移动通信有限公司 | Screenshot method and terminal device |
CN105718163A (en) * | 2016-01-20 | 2016-06-29 | 广东欧珀移动通信有限公司 | Screen capture method and apparatus for mobile terminal |
CN105487781A (en) * | 2016-01-29 | 2016-04-13 | 广东欧珀移动通信有限公司 | Screen capture method and terminal device |
CN105487781B (en) * | 2016-01-29 | 2018-12-04 | 广东欧珀移动通信有限公司 | A kind of screenshot method and terminal device |
CN105867820A (en) * | 2016-03-31 | 2016-08-17 | 百度在线网络技术(北京)有限公司 | Text editing method and device for touch screen |
CN106021108A (en) * | 2016-05-19 | 2016-10-12 | 努比亚技术有限公司 | Application program testing device, mobile terminal and method |
CN106021108B (en) * | 2016-05-19 | 2018-11-20 | 努比亚技术有限公司 | application testing device, mobile terminal and method |
CN106354306A (en) * | 2016-08-26 | 2017-01-25 | 青岛海信电器股份有限公司 | Response method and device for touching operation |
CN107171945A (en) * | 2017-06-29 | 2017-09-15 | 珠海市魅族科技有限公司 | Image information processing method and device, computer installation and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468158B (en) | Color adjustment method and mobile terminal | |
CN105138255A (en) | Terminal and image information acquisition method | |
CN105138260A (en) | Application switching method and terminal | |
CN106028090A (en) | Mobile terminal and video recording method thereof | |
CN104866352A (en) | Method for starting application and mobile terminal | |
CN107092418A (en) | The terminal and method of operation application suspension windows | |
CN105049612A (en) | Method of realizing recording and device of realizing recording | |
CN105227771B (en) | Picture transmission method and device | |
CN105554285B (en) | Processing method for taking person photo and intelligent mobile terminal | |
CN106791149A (en) | A kind of method of mobile terminal and control screen | |
CN104639428B (en) | Self-adaptive method for session scene in instant messaging and mobile terminal | |
CN106897044B (en) | Screen color temperature consistency fault-tolerant method and terminal | |
CN106792878B (en) | Data traffic monitoring method and device | |
CN105094733B (en) | Split screen display method and device | |
CN104850351B (en) | A kind of method and apparatus for realizing Rimless interaction | |
CN106900037B (en) | Display method and terminal | |
CN105138235A (en) | Picture processing apparatus and method | |
CN104932711A (en) | Method and device for realizing input mode switching | |
CN105120092B (en) | A kind of mobile terminal and desktop icons display device thereof and method | |
CN105100607B (en) | A kind of filming apparatus and method | |
CN106780661A (en) | A kind of picture editing method and terminal | |
CN105847590A (en) | Picture display device and method of Android system | |
CN105094636A (en) | Control method and apparatus for browsing of application view | |
CN105094596B (en) | A kind of method, apparatus and mobile terminal of adjustment file-sharing mode | |
CN105049640B (en) | A kind of apparatus and method for realizing focusing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151209 |