CN107145285B - A kind of information extracting method and terminal - Google Patents
A kind of information extracting method and terminal Download PDFInfo
- Publication number
- CN107145285B CN107145285B CN201710335382.7A CN201710335382A CN107145285B CN 107145285 B CN107145285 B CN 107145285B CN 201710335382 A CN201710335382 A CN 201710335382A CN 107145285 B CN107145285 B CN 107145285B
- Authority
- CN
- China
- Prior art keywords
- area
- control operation
- touch
- touch control
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of information extracting method and terminal.The described method includes:, according to the position that the touch control operation occurs, determining a first area when the duration of the touch control operation on the touch screen being more than the threshold value of setting;The adjusting parameter for being adjusted the first area is obtained to be adjusted the coverage area of the first area according to the corresponding relationship of the parameter and the coverage area of second area, obtain second area;The coverage area includes overlay area size;When the touch control operation stops, the information in the second area is extracted.Information extracting method provided by the present invention and terminal are able to solve user and extract the cumbersome problem of information process.
Description
Technical field
The present invention relates to communication and electronic technology field more particularly to a kind of information extracting method and terminals.
Background technique
With communication and the development of electronic technology, the terminal with touch screen is widely available, and user can directly exist
Apply instruction on touch screen, selects information.User is in such a way that touch screen selects the information such as text, picture, file, with tradition
The electric terminal with mouse it is different.Select the mode of information general on the electric terminal with touch screen at present
It is long-pressing touch screen, starts information selection mode, user stops this touch control operation, and then terminal generates the selection area of default
Domain, which is used for division information extraction scope, and extracts the information in the selection region, user further according to oneself
Need to adjust the range of selection region by touch control operation.The target information extracted is wished in order to extract user, it is often necessary to
Multiple steps, it is also desirable to repeatedly adjust selection region, process is cumbersome, it is difficult to meet user and letter is rapidly extracted with convenient step
The demand of breath.
Summary of the invention
The embodiment of the present invention provides a kind of information extracting method and terminal, extracts that information process is cumbersome to ask to solve user
Topic.
In a first aspect, a kind of method of information extraction is provided, applied to the terminal with touch screen, the method packet
It includes:
When the duration of the touch control operation on the touch screen being more than the threshold value of setting, sent out according to the touch control operation
Raw position, determines first area;
The adjusting parameter being adjusted to the first area is obtained, according to the coverage area of the parameter and second area
Corresponding relationship, the coverage area of the first area is adjusted, second area is obtained;
When the touch control operation stops, the information in the second area is extracted.
Second aspect provides a kind of terminal, has touch screen, comprising:
First area generation module: the duration for the touch control operation on the touch screen is more than the threshold value of setting
When, according to the position that the touch control operation occurs, determine first area;
Adjust module: for obtaining the adjusting parameter being adjusted to the first area, according to the parameter and second
The corresponding relationship of the coverage area in region is adjusted the coverage area of the first area, obtains second area;
It extracts: for extracting the information in the second area when the touch control operation stops.
The third aspect, the embodiment of the present invention provide a kind of terminal, comprising: memory, processor and are stored in the storage
On device and the computer program that can run on the processor, the processor realize that the present invention is any when executing described program
Step in information extracting method provided by one embodiment.
Information extracting method provided in an embodiment of the present invention and terminal, can be in the process of user's application long-pressing touch control operation
In, according to the adjusting parameter of acquisition being adjusted to first area, first area is adjusted, so that user passes through once
Touch control operation just can determine the selection region for division information range of choice, and then user only needs to be implemented a step just
Its information for wishing to extract can be extracted, the operating procedure that user extracts specific information is simplified.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the information extracting method flow diagram of the embodiment of the present invention;
Fig. 2 is the information extracting method flow diagram of another embodiment of the present invention;
Fig. 3 A is the information extracting method flow diagram of another embodiment of the present invention;
Fig. 3 B is the first area schematic diagram of embodiment shown in Fig. 3 A;
Fig. 3 C is the second area schematic diagram of embodiment shown in Fig. 3 A;
Fig. 4 A is the information extracting method flow diagram of another embodiment of the present invention;
Fig. 4 B is the terminal of embodiment and the angle schematic diagram of standard flat shown in Fig. 4 A;
Fig. 5 is the information extracting method flow diagram of another embodiment of the present invention;
Fig. 6 is the information extracting method flow diagram of another embodiment of the present invention;
Fig. 7 is the terminal structure block diagram of an embodiment of the present invention;
Fig. 8 is the terminal structure block diagram of another embodiment of the present invention;
Fig. 9 is the terminal structure block diagram of another embodiment of the present invention;
Figure 10 is the terminal structure figure of another embodiment of the present invention;
Figure 11 is the terminal structure figure of another embodiment of the present invention;
Figure 12 is the terminal structure schematic diagram of another embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of information extracting method first, applied to the terminal with touch screen, specific real
It applies in example, the terminal is mobile terminal, such as smart phone, tablet computer etc..As shown in Figure 1, the tool of information extracting method
Steps are as follows for body:
Step 101: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, according to the touching
The position that control operation occurs, determines a first area;
The threshold value of above-mentioned setting can be the time span of setting, such as 1 second or 2 seconds.
Specifically, the size of the first area is preset value, the shape of the first area is preset shape, such as round
Shape, rectangular etc., and the position of the first area can be determined according to the position that the touch control operation occurs.
Specifically, the center for the position that the touch control operation is occurred is as the center of first area or boundary point;It is described
For determining information to be extracted, that is, the information for falling into first area is information to be extracted for first area;Determine the first area
Afterwards, the first area is shown on terminal display screen in a manner of setting, visual, is allowed users to aobvious in terminal
The range of first area is intuitively observed in display screen.
It should be appreciated that user described in the embodiment of the present invention, refers not only to the owner of the terminal, refer to using eventually
The personnel at end.
Step 102: the adjusting parameter that is adjusted to the first area is obtained, according to the parameter and second area
The corresponding relationship of coverage area is adjusted the coverage area of the first area, obtains second area;In specific embodiment
In, behavior is determined the adjusting parameter depending on the user's operation, is applied the touch-control for example, by using certain pressure value and is grasped
Make, or change terminal relative position, angle etc..The second area and first area are information selection region, for determining
Information to be extracted, that is, the information fallen into the first area and second area are information to be extracted.
Specifically, can be to the parameter that first area is adjusted detected during touch control operation continues
It is used to indicate the adjusting parameter being adjusted to first area, such as according to terminal location or the position of angle, the touch control operation
One of data such as variation or pressure and other parameters, terminal moving direction or a variety of are set, the adjusting parameter of acquisition is calculated.
It should be noted that above-mentioned coverage area is the size of second area or the size and shape of second area.It is above-mentioned
The coverage area of first area is adjusted may is that adjustment first area size, or adjustment first area size and
Shape.
Step 103: when the touch control operation stops, extracting the information in the second area.
Specifically, executing the step 102 during the touch control operation continues, hand, stopping institute being lifted in user
When stating touch control operation, second area is no longer adjusted, so that information extraction range determines, and then is extracted and is believed according to second area
Breath.
In a particular embodiment, the first area, second area are shown in a manner of visual, are allowed users to
Intuitively observe the coverage area of first area, second area.
The information may is that any one in text information, website links, pictorial information, the file information etc..
From the above it can be seen that information extracting method provided in an embodiment of the present invention, can execute primary in user
When the touch control operation of long-pressing, the generation of first area, the adjustment of first area are carried out, determines second area, to extract second
Information in region, and then only need to be implemented a touch control operation in user and can realize for division information extraction scope
The adjustment and determination of selection region save the stream for simplifying information extraction without expanding or shrinking manually to selection region
Journey is able to use family and more quickly selects oneself the desired information selected, and extracts the information.
In an embodiment of the present invention, the touch screen is the pressure touch screen with pressure touch function, the ginseng
Number is pressure value of the touch control operation touching by the pressure of the touch screen;The method includes steps as shown in Figure 2:
Step 101: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, according to described
The position that touch control operation occurs, determines a first area;
The threshold value of above-mentioned setting can be the time span of setting, such as 1 second or 2 seconds.
Above- mentioned information selection mode refers to the mode for determining the selection region for division information extraction scope, so as to subsequent
Using determining second area as third region, and extract information therein.
Step 1021: obtaining the touch control operation touching by the pressure value of the pressure of the touch screen;The pressure value passes through
The pressure-detecting device of the pressure touch screen is detected;
Step 1022: according to the corresponding relationship of the pressure value and the coverage area of second area, to the first area
Coverage area be adjusted, obtain second area;For example, when user is larger to pressure touch screen application pressure, the
The two biggish ranges of region overlay one;When the pressure that user applies the pressure touch screen is smaller, second area covering
One lesser range;
Step 103: when the touch control operation stops, extracting the information in the second area.In actual operation, it uses
Family only needs to apply touch control operation to the touch screen, keeps touch control operation, and apply the touch-control using certain pressure
Operation, it will be able to obtain second area of corresponding size, user, can also be by changing institute during applying touch control operation
The pressure value of touch control operation is stated to change the size of second area, to obtain the second area of a covering expected range.
With the development of communication technology, pressure touch has been increasingly becoming the new features of touch screen, benefit of the embodiment of the present invention
With the pressure touch function of pressure touch screen, the determination of the adjusting parameter of first area is carried out.User can be by changing touch-control
The pressure value of operation changes the coverage area of first area.And change the pressure value of touch control operation in touch control operation time-continuing process
Change the coverage area of first area, applies touch control operation, drag operation repeatedly than the prior art to change selection region
Coverage area it is simple many, therefore, the embodiment of the present invention significantly simplifies information extraction process, allows users to lead to
It crosses quick way and extracts the information that oneself wishes extraction.
In another embodiment of the invention, the touch screen is the pressure touch screen with pressure touch function, described
Parameter is pressure value of the touch control operation touching by the pressure of the touch screen;The method includes steps as shown in Figure 3A:
Step 301: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, according to the touching
The position that control operation occurs, determines the round selection region of a default, as first area;It is described circle selection region radius be
Default value, the center of circle are the touch point of the touch control operation;As shown in Figure 3B, when user is by touch screen 307 described in finger touch,
The touch point that finger 305 is contacted with touch screen 307 is the center of circle of the round selection region 306 of default.
The threshold value of above-mentioned setting can be the time span of setting, such as 1 second or 2 seconds.
Step 3021: obtaining the touch control operation touching by the pressure value of the pressure of the touch screen;
Step 3022: according to the corresponding relationship of the pressure value and round second area radius, to the circle of the default
The radius of selection region is adjusted, the round selection region after being adjusted, as second area;As shown in Figure 3 C, according to
The radius of the round selection region of default is adjusted to bigger radius, obtained adjusted second shown in Fig. 3 C by pressure value
Region 308;
Step 303: when the touch control operation stops, extracting the information in the second area.
In another embodiment of the invention, the touch screen is the pressure touch screen with pressure touch function, described
Parameter is pressure value of the touch control operation touching by the pressure of the touch screen;The first area, second area are pros
Shape selection region, after the pressure value for obtaining the touch control operation, according to pressure value and second area side length or diagonal line length
Corresponding relationship, first area is adjusted, the size of first area is changed, the touch control operation stop when, terminate letter
Selection mode is ceased, the information in second area adjusted is extracted.
In another embodiment of the invention, the touch screen is the pressure touch screen with pressure touch function, described
Parameter is pressure value of the touch control operation touching by the pressure of the touch screen;The first area and second area are rectangular
Shape selection region, after the pressure value for obtaining the touch control operation, according to the length of pressure value and rectangle second area or
The corresponding relationship of width is adjusted the rectangle first area of default, changes the size of first area, grasps in the touch-control
When work stops, ending message selection mode extracts the information in second area adjusted.
In another embodiment of the invention, the parameter is the angle of the standard flat of the terminal and setting;It is described
Method includes the steps that as shown in Figure 4 A:
Step 401: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, according to the touching
The position that control operation occurs, determines a first area;
Step 4021: obtaining the angle of the standard flat of the terminal and setting;The standard flat can be set as horizontal plane
Or the arbitrary plane of vertical face or three-dimensional space;Specifically, the standard flat is horizontal plane 405, the end referring to Fig. 4 B
The angle of end and established standards plane is the angle theta between terminal display surface 406 and horizontal plane 405;The angle can be by setting
The testing agencies such as the gyroscope being placed in terminal are detected;
Step 4022: according to the corresponding relationship of the coverage area of the angle and second area, to the first area
Coverage area is adjusted, and obtains second area;In a particular embodiment, pair of the coverage area of the angle and second area
It should be related to, be angle and the corresponding relationship of second area size or the corresponding relationship of the angle and second area shape;Example
Such as, if the upper edge of display screen is higher than lower edge under the terminal behaviour in service, then it is assumed that carried out just to the coverage area
Adjustment, the coverage area is expanded, and widened degree is determined according to angle theta;If being shown under the terminal behaviour in service
The upper edge of display screen is lower than lower edge, then it is assumed that the coverage area into H.Size REG, the coverage area is reduced, is reduced
Degree is determined according to angle theta;
Step 403: when the touch control operation stops, extracting the information in the second area.
In a kind of specific embodiment of the present invention, folder of the parameter between the terminal and the standard flat of setting
Angle, the region is region, after the angle for obtaining the standard flat of the terminal and setting, according to preset angle with it is described
The corresponding relationship of the radius of circular second area determines radius value adjusted, and according to radius value adjusted to described
The round second area of default is adjusted, so that the radius of circle second area adjusted is the radius adjusted
Value.
In a kind of specific embodiment of the present invention, folder of the parameter between the terminal and the standard flat of setting
Angle, the region are square region, after the angle for obtaining the standard flat of the terminal and setting, according to preset angle
With the corresponding relationship of the radius of the square area, side length value adjusted is determined, and according to side length value adjusted to institute
It states first area to be adjusted, so that the side length of the second area of square adjusted is the side length value adjusted.
In a kind of specific embodiment of the present invention, folder of the parameter between the terminal and the standard flat of setting
Angle, the region is rectangular region, after the angle for obtaining the standard flat of the terminal and setting, according to preset angle
With the corresponding relationship of the length or width of the rectangular region, length value or width value adjusted are determined, and according to adjustment
Length value or width afterwards is adjusted the first area, so that the length or width of rectangular second area adjusted
Degree is the length value adjusted or width value.
In a kind of specific embodiment of the present invention, the adjustment of the first area can be held according to the displacement situation of terminal
Row.For example, first area is expanded or shunk towards the identical or opposite direction of moving direction when terminal location occurs mobile.
In another embodiment of the invention, the method includes processes as shown in Figure 5:
Step 501: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, according to the touching
The position that control operation occurs, determines a first area;
Step 502: the first adjustment parameter being adjusted to the first area is obtained, according to the parameter and the secondth area
The corresponding relationship of the coverage area in domain is adjusted the coverage area of the first area, obtains second area;The covering
Range includes overlay area size;In specific embodiment, before touch control operation stopping, getting to the second area
The second adjustment parameter being adjusted, the coverage area of the second area is adjusted, and is updated again second
Region;In the present embodiment, the adjusting parameter includes the first adjustment parameter and second adjustment parameter;
Step 503: the second area of recent update after the touch control operation is stopped, as third region;In
In specific embodiment, after detecting that user's finger leaves the touch screen, that is, think that touch control operation stops;
Step 504: extracting the information in the third region.
In another embodiment of the invention, which comprises
When the duration of the touch control operation on the touch screen being more than the threshold value of setting, start information selection mode;
According to the position that the touch control operation occurs, a first area is determined;
Detect user apply the touch control operation touch point position change and the touch point change after position
Within the detection zone of touch control operation, new selection position is calculated according to the touch point position after change;By described
One region moves to the selection position: detecting that user applies the touch point position of the touch control operation and change and institute
When stating touch point change, if the first area coverage area does not change, user's application touch-control behaviour is being detected
The touch point position of work change and the touch point change after position be located within the detection zone of touch control operation after,
The first area is moved to new selection position;Detect user apply the touch control operation touch point position occur
When change and touch point change, if the first area coverage area have passed through adjustment, user's application institute is being detected
The touch point position for stating touch control operation changes and the touch point change after position be located at the detection zone of touch control operation
Within after, second area is moved to new selection position;
It detects that user stops applying the touch control operation, information user is stopped applying before the touch control operation most
The close second area once updated, as third region;
Extract the information in the third region.
In the prior art, user starts information selection mode, in terminal when applying the touch control operation of long-pressing on touch screen
Visual first area is generated on touch screen, if user wishes to cancel this information selection mode, need to stop this touch-control behaviour
Make, then the other positions other than first area apply primary new touch control operation again, so that user cancels information choosing
Selecting mode, there is also operate cumbersome, not convenient enough the problem of executive mode.Therefore, in another embodiment of the invention, institute
The process of method is stated referring to Fig. 6, comprising:
Step 601: when the duration of the touch control operation on the touch screen being more than the threshold value of setting, starting information choosing
Select mode;Under information selection mode, generate visual region on screen interface, and using the information in the region as to
The information of extraction, while visual region is able to carry out adjustment;
Step 602: the position occurred according to the touch control operation determines a first area;
Step 603: when within the detection zone that the touch point position of the touch control operation is located at touch control operation, acquisition pair
The adjusting parameter that the first area is adjusted is right according to the corresponding relationship of the parameter and the coverage area of second area
The coverage area of the first area is adjusted, and obtains second area;The coverage area includes overlay area size;It is existing
The touch screen of technology, all have the detection range of certain touch control operation, and most of touch screen is limited with the range of display area
Determine the detection range of touch control operation;In inventive embodiments, any position in the display area of touch screen is capable of due to user
Apply touch control operation, thus the detection range of touch control operation is set as to the display area of touch screen;In a particular embodiment, described
Behavior is determined adjusting parameter depending on the user's operation.
Step 604: within the detection zone that the touch point position of the touch control operation is located at touch control operation and the touching
When control operation stops, ending message selection mode extracts the information in the second area;
Step 605: detecting that user applies the touch point position of the touch control operation and changes, and the touch point changes
Position after change is located at except the detection zone of touch control operation, cancels the information selection mode.When specific operation, the head of a household is used
After starting information selection mode by touch screen, finger need to only be slid into except the range of display area, it will be able to cancel information
Selection mode, this process user also only need to be implemented a step and can be realized as, and simplify user and cancel information selection mould
The operation of formula.
In a kind of specific embodiment of the present invention, when the coverage area to the first area is adjusted, including to institute
When stating the shapes and sizes of first area and being adjusted, adjusting parameter includes the adjusting parameter for adjusting the shape of first area
With the adjusting parameter for adjusting first area size.Different adjusting parameters can be obtained by different user's operations, for example,
Adjusting parameter for adjusting first area size is determined according to the pressure value of the pressure of touch control operation, for adjusting first area
Shape adjusting parameter according to the angle of terminal and standard flat determine.
In one embodiment, the present invention provides a kind of terminal, and the terminal has touch screen, structural block diagram such as Fig. 7 institute
Show, comprising: first area generation module 701, adjustment module 702, extraction module 703;Wherein:
First area generation module 701: the duration for the touch control operation on the touch screen is more than setting
When threshold value, according to the position that the touch control operation occurs, a first area is determined;
Adjust module 702: for obtaining the adjusting parameter being adjusted to the first area, according to the parameter and the
The corresponding relationship of the coverage area in two regions is adjusted the coverage area of the first area, obtains second area;It is described
Coverage area includes overlay area size;
Extraction module 703: for extracting the information in the second area when the touch control operation stops.
In some embodiment of the invention, as shown in figure 8, the terminal includes: first area generation module 701, adjustment
Module 702 extracts 703;The touch screen is pressure touch screen;The parameter is touch control operation touching by the touch screen
The pressure value of pressure;
The adjustment module 702 includes: pressure value acquiring unit 7021, the first adjustment unit 7022, wherein
Pressure value acquiring unit 7021: for obtaining the touch control operation touching by the pressure value of the pressure of the touch screen;
The first adjustment unit 7022: for the corresponding relationship according to the pressure value and the coverage area in region, to described
The coverage area of first area is adjusted, and obtains second area.
In some embodiment of the invention, as shown in figure 9, the terminal includes: first area generation module 701, adjustment
Module 702 extracts 703;The terminal further includes the testing agency that the users such as gyroscope detect angle between terminal and horizontal plane,
The parameter is the angle of the standard flat of the terminal and setting;
The adjustment module 702 includes: angle acquiring unit 7023, second adjustment unit 7024, in which:
Angle acquiring unit 7023: for obtaining the angle of the standard flat of the terminal and setting;
Second adjustment unit 7024: for the corresponding relationship according to the angle and the coverage area in region, to described
The coverage area in one region is adjusted, and obtains second area.
In some embodiment of the invention, described extract includes:
Information extraction area determination unit: for detecting that user stops applying the touch control operation, ending message selection
Mode, the second area of the recent update after the touch control operation is stopped, as third region;
Information extraction unit: for extracting the information in the third region.
In some embodiment of the invention, the adjustment module includes:
Position adjust computing unit: for detect user apply the touch control operation touch point position change and
Position after the touch point changes is located within the detection zone of touch control operation, is calculated according to the touch point position after change new
Selection position;
Position adjustment unit: for the second area to be moved to the selection position.
In some embodiment of the invention, the terminal further include:
Information selection mode cancels module: changing for detecting that user applies the touch point position of the touch control operation
Become, and the position after touch point change is located at except the detection zone of touch control operation, cancels the information selection mode.
Information extracting method provided in an embodiment of the present invention and terminal, can be in the process of user's application long-pressing touch control operation
In, according to the adjusting parameter of acquisition being adjusted to first area or second area, region is adjusted, so that user is logical
Crossing a touch control operation just can determine the second area of division information extraction scope, simplify the behaviour that user extracts specific information
Make step.
Meanwhile in the embodiment of the present invention, stressed pressure value can be applied on touch screen according to user to first area
It is adjusted, adjustment process is simple, executes convenient for user.
Figure 10 is the block diagram of the terminal of another embodiment of the present invention.Terminal 1000 shown in Fig. 10 includes: at least one
Processor 1001, memory 1002, at least one communication interface 1004 and user interface 1003.Various components in terminal 1000
It is coupled by bus system 1005.It is understood that bus system 1005 is for realizing the connection communication between these components.
Bus system 1005 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But in order to
For the sake of clear explanation, various buses are all designated as bus system 1005 in Figure 10.
Wherein, user interface 1003 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 1002 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1002 of system and method described herein is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 1002 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 10021 and application program 10022.
Wherein, operating system 10021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 10022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 10022.
In embodiments of the present invention, by the program or instruction of calling memory 1002 to store, specifically, can be application
The program or instruction stored in program 10022, processor 1001 are used for:
When the duration of the touch control operation on the touch screen being more than the threshold value of setting, sent out according to the touch control operation
Raw position determines a first area;
The adjusting parameter being adjusted to the first area is obtained, according to the coverage area of the parameter and second area
Corresponding relationship, the coverage area of the first area is adjusted, second area is obtained;The coverage area includes covering
Area size;
When the touch control operation stops, the information in the second area is extracted.
The method that the embodiments of the present invention disclose can be applied in processor 1001, or real by processor 1001
It is existing.Processor 1001 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1001 or software form.Above-mentioned
Processor 1001 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1002, processor 1001 reads the information in memory 1002, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, the parameter is pressure value of the touch control operation touching by the pressure of the touch screen;Processor 1001
It is also used to:
The touch control operation touching is obtained by the pressure value of the pressure of the touch screen;
According to the corresponding relationship of the pressure value and the coverage area of second area, to the coverage area of the first area
It is adjusted, obtains second area.
Optionally, the parameter is the angle of the standard flat of the terminal and setting;Processor 1001 is also used to:
Obtain the angle of the standard flat of the terminal and setting;
According to the corresponding relationship of the coverage area of the angle and second area, to the coverage area of the first area into
Row adjustment, obtains second area.
Optionally, as another embodiment, processor 1001 is also used to: detecting that user stops applying the touch-control behaviour
Make, the second area of the recent update after the touch control operation is stopped, as third region;
Extract the information in the third region.
Optionally, as another embodiment, processor 1001 is also used to: detecting that user applies the touch control operation
Touch point position changes and the position after touch point change is located within the detection zone of touch control operation, according to change
Touch point position afterwards calculates new selection position;
The first area is moved into the selection position.
Optionally, as another embodiment, processor 1001 is also used to: touch control operation on the touch screen is held
When the continuous time is more than the threshold value of setting, start information selection mode;
When the touch control operation stops, terminating the information selection mode;
Detect that user applies the touch point position of the touch control operation and changes, and the touch point change after position
Except the detection zone of touch control operation, cancel the information selection mode.
Terminal 1000 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating
It states.Terminal provided by the embodiment of the present invention allows user that can obtain expectation by a touch control operation and obtains for drawing
Divide the second area of information range of choice, so that user is not necessarily to modify the coverage area of second area, letter by cumbersome step
User's operation is changed.
Figure 11 is the structural schematic diagram of the terminal of another embodiment of the present invention.Specifically, the terminal in Figure 11 can be
Mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Terminal in Figure 11 includes radio frequency (Radio Frequency, RF) circuit 1110, memory 1120, input unit
1130, display unit 1140, processor 1160, voicefrequency circuit 1170, WiFi (Wireless Fidelity) module 1180 and electricity
Source 1190.
Wherein, input unit 1130 can be used for receiving the number or character information of user's input, and generate and terminal
User setting and the related signal input of function control.Specifically, in the embodiment of the present invention, which be can wrap
Include touch panel 11301.Touch panel 11301, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 11301 such as finger, stylus), and according to pre-
The formula first set drives corresponding attachment device.Optionally, touch panel 11301 may include touch detecting apparatus and touch control
Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will
Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact
Coordinate, then give the processor 1160, and order that processor 1160 is sent can be received and executed.Furthermore, it is possible to using
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 11301.In addition to touch panel
11301, input unit 1130 can also include other input equipments 11302, other input equipments 11302 may include but unlimited
In one of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. or
It is a variety of.
Wherein, display unit 1140 can be used for showing information input by user or be supplied to the information and terminal of user
Various menu interfaces.Display unit 1140 may include display panel 1141, optionally, can use LCD or organic light emission two
The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 11401.
It should be noted that touch panel 11301 can cover display panel 11401, touch display screen is formed, when the touch is shown
After screen detects touch operation on it or nearby, processor 1160 is sent to determine the type of touch event, is then located
It manages device 1160 and provides corresponding visual output in touch display screen according to the type of touch event.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1160 is the control centre of terminal, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in first memory 1121, and calls and be stored in second
Data in memory 1122 execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.It is optional
, processor 1160 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1121 in software program and/or module and/
Or the data in the second memory 1122, processor 1160 are used for:
When the duration of the touch control operation on the touch screen being more than the threshold value of setting, sent out according to the touch control operation
Raw position determines a first area;
The adjusting parameter being adjusted to the first area is obtained, according to the coverage area of the parameter and second area
Corresponding relationship, the coverage area of the first area is adjusted, second area is obtained;The coverage area includes covering
Area size;
When the touch control operation stops, the information in the second area is extracted.
Optionally, the parameter is pressure value of the touch control operation touching by the pressure of the touch screen;The processor
1160 are also used to:
The touch control operation touching is obtained by the pressure value of the pressure of the touch screen;
According to the corresponding relationship of the pressure value and the coverage area of second area, to the coverage area of the first area
It is adjusted, obtains second area.
Optionally, the parameter is the angle of the standard flat of the terminal and setting;The processor 1160 is also used to:
Obtain the angle of the standard flat of the terminal and setting;
According to the corresponding relationship of the coverage area of the angle and second area, to the coverage area of the first area into
Row adjustment, obtains second area.
Optionally, the processor 1160 is also used to:
When the duration of the touch control operation on the touch screen being more than the threshold value of setting, start information selection mode;
When the touch control operation stops, terminating the information selection mode;
Detect that user stops applying the touch control operation, the of recent update after the touch control operation is stopped
Two regions, as third region;
Extract the information in the third region.
Optionally, the processor 1160 is also used to:
Detect user apply the touch control operation touch point position change and the touch point change after position
Within the detection zone of touch control operation, new selection position is calculated according to the touch point position after change;
The first area is moved into the selection position.
Optionally, the processor 1160 is also used to:
Detect that user applies the touch point position of the touch control operation and changes, and the touch point change after position
Except the detection zone of touch control operation, cancel the information selection mode.
As it can be seen that information extracting method provided in an embodiment of the present invention and terminal, allow user only to carry out a touch control operation
Just can determine and adjust the selection region for division information extraction scope, facilitate user to oneself wish extract information into
Row selection is extracted.
Further, the embodiment of the present invention also provides a kind of terminal, and structure is as shown in figure 12, and terminal 1200 includes: storage
Device 1201, processor 1202 and it is stored in the computer journey that can be run on the memory 1201 and on the processor 1202
Sequence 1203, the processor 1202 realize information extraction side provided by any one embodiment of the present invention when executing described program
Step in method.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (7)
1. a kind of information extracting method, applied to the terminal with touch screen characterized by comprising
When the duration of the touch control operation on the touch screen being more than the time threshold of setting, sent out according to the touch control operation
Raw position, determines first area;
The adjusting parameter being adjusted to the first area is obtained, according to the coverage area of the adjusting parameter and second area
Corresponding relationship, the coverage area of the first area is adjusted, second area is obtained;
When the touch control operation stops, the information in the second area is extracted;
The adjusting parameter is the angle of the standard flat of the terminal and setting;
It is described to obtain the adjusting parameter being adjusted to the first area, according to the covering of the adjusting parameter and second area
The corresponding relationship of range is adjusted the coverage area of the first area, obtains the second area, comprising:
Obtain the angle of the standard flat of the terminal and setting;
According to the corresponding relationship of the coverage area of the angle and second area, to the footprint size of the first area into
Row adjustment, obtains the second area.
2. the method described in any one of according to claim 1, which is characterized in that when the touch control operation stops, extracting
Information in the second area, comprising:
The second area of last update after the touch control operation is stopped, as third region;
Extract the information in the third region.
3. the method according to claim 1, wherein after the step of determining first area, comprising:
Position after the touch point position for detecting the touch control operation changes and the touch point changes is located at touch-control
When within the detection zone of operation, new selection position is calculated according to the touch point position after change;
The first area is moved into the new selection position.
4. a kind of terminal has touch screen characterized by comprising
First area generation module: the duration for the touch control operation on the touch screen is more than the time threshold of setting
When, according to the position that the touch control operation occurs, determine first area;
Adjust module: for obtaining the adjusting parameter being adjusted to the first area, according to the parameter and second area
Coverage area corresponding relationship, the coverage area of the first area is adjusted, second area is obtained;
Extraction module: for extracting the information in the second area when the touch control operation stops;
The parameter is the angle of the standard flat of the terminal and setting;
The adjustment module includes:
Angle acquiring unit: for obtaining the angle of the standard flat of the terminal and setting;
Second adjustment unit: for the corresponding relationship according to the angle and the coverage area of second area, to firstth area
The footprint size in domain is adjusted, and obtains second area.
5. terminal according to claim 4, which is characterized in that the extraction module includes:
Information extraction area determination unit: for the second area of the last update after stopping the touch control operation, make
For third region;
Information extraction unit: for extracting the information in the third region.
6. terminal according to claim 4, which is characterized in that the terminal further include:
Position adjusts computing module: changing and described for detecting that user applies the touch point position of the touch control operation
When position after touch point change is located within the detection zone of touch control operation, calculated newly according to the touch point position after change
Select position;
Position adjusting type modules: for the first area to be moved to the selection position.
7. a kind of terminal, there is touch screen characterized by comprising memory, processor and be stored on the memory simultaneously
The computer program that can be run on the processor, the processor are realized when executing described program as in claim 1 ~ 3
Step in described in any item information extracting methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710335382.7A CN107145285B (en) | 2017-05-12 | 2017-05-12 | A kind of information extracting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710335382.7A CN107145285B (en) | 2017-05-12 | 2017-05-12 | A kind of information extracting method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107145285A CN107145285A (en) | 2017-09-08 |
CN107145285B true CN107145285B (en) | 2019-12-03 |
Family
ID=59777540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710335382.7A Active CN107145285B (en) | 2017-05-12 | 2017-05-12 | A kind of information extracting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107145285B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109045687B (en) * | 2018-07-18 | 2022-04-08 | 网易(杭州)网络有限公司 | Numerical value allocation method, device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404457A (en) * | 2015-12-22 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method and device for display content selection |
CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
CN105739881A (en) * | 2014-12-12 | 2016-07-06 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106250022A (en) * | 2016-07-29 | 2016-12-21 | 努比亚技术有限公司 | Content choice method of adjustment, device and terminal |
CN106572249A (en) * | 2016-10-17 | 2017-04-19 | 努比亚技术有限公司 | Region enlargement method and apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102147904B1 (en) * | 2013-04-19 | 2020-08-25 | 삼성전자주식회사 | Electronic device for processing input from touchscreen |
CN103294361B (en) * | 2013-06-26 | 2016-08-03 | 珠海金山办公软件有限公司 | A kind of method, system and device quickly selecting word on touch-screen equipment |
CN104793880A (en) * | 2014-01-16 | 2015-07-22 | 华为终端有限公司 | Interface operation method and terminal |
CN105487775A (en) * | 2015-11-26 | 2016-04-13 | 惠州Tcl移动通信有限公司 | Touch screen control method and mobile terminal |
-
2017
- 2017-05-12 CN CN201710335382.7A patent/CN107145285B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105739881A (en) * | 2014-12-12 | 2016-07-06 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105404457A (en) * | 2015-12-22 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method and device for display content selection |
CN105677081A (en) * | 2015-12-28 | 2016-06-15 | 广东欧珀移动通信有限公司 | Touch control method and terminal device |
CN106250022A (en) * | 2016-07-29 | 2016-12-21 | 努比亚技术有限公司 | Content choice method of adjustment, device and terminal |
CN106572249A (en) * | 2016-10-17 | 2017-04-19 | 努比亚技术有限公司 | Region enlargement method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107145285A (en) | 2017-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
CN106681623B (en) | A kind of sharing method and mobile terminal of screenshotss image | |
CN105824545B (en) | The vision-control method and mobile terminal of a kind of display interface | |
CN106909289B (en) | A kind of operating method and mobile terminal of application controls | |
CN105975152B (en) | Fingerprint-based application program calling method and mobile terminal | |
CN106951174B (en) | A kind of method of adjustment and mobile terminal of dummy keyboard | |
WO2018196699A1 (en) | Method for displaying fingerprint recognition region, and mobile terminal | |
CN106657793B (en) | A kind of image processing method and mobile terminal | |
US20140351748A1 (en) | Split-Screen Display Method and Apparatus, and Electronic Device Thereof | |
CN106293332B (en) | A kind of processing method and mobile terminal of singlehanded positioning application | |
CN106570372B (en) | A kind of the starting method and mobile terminal of application program | |
CN106528160B (en) | A kind of application program image target adding method and terminal | |
CN106227488B (en) | A kind of display methods and mobile terminal of reminder message | |
CN106325753B (en) | A kind of display methods and mobile terminal of payment interface | |
WO2013189396A2 (en) | Method and system for moving application icon on touchscreen | |
CN106959797B (en) | A kind of setting method and mobile terminal notifying footmark | |
CN106911897B (en) | A kind of determination method and mobile terminal shooting focus | |
CN106354303B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN107656683A (en) | One kind operation execution method and mobile terminal | |
CN106406741B (en) | A kind of operation processing method and mobile terminal of mobile terminal | |
CN107924283A (en) | Method, equipment and the graphical interface of user of human-computer interaction | |
CN105893130B (en) | A kind of processing method and mobile terminal of application program for mobile terminal | |
CN106371745B (en) | A kind of interface switching method and mobile terminal | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN106354411B (en) | A kind of interface starting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |