CN106775409A - A kind of data-erasure method and system - Google Patents
A kind of data-erasure method and system Download PDFInfo
- Publication number
- CN106775409A CN106775409A CN201611187192.7A CN201611187192A CN106775409A CN 106775409 A CN106775409 A CN 106775409A CN 201611187192 A CN201611187192 A CN 201611187192A CN 106775409 A CN106775409 A CN 106775409A
- Authority
- CN
- China
- Prior art keywords
- touch
- selection region
- data
- screen
- icon
- 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.)
- Withdrawn
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/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)
Abstract
The present invention provides a kind of data-erasure method and system, and the method is applied to the terminal installation with touch-screen, including receives the touch control operation acted at least two touch points of touch-screen;Determine selection region according at least two touch points;When touch control operation meets preset trigger condition, the display content being pointed to according to default deletion rule in selection region is deleted.The system includes touch control operation receiver module, for receiving the touch control operation acted at least two touch points of touch-screen;Selection region determining module, for determining selection region according at least two touch points;Data removing module, for when touch control operation meets preset trigger condition, the display content being pointed to according to default deletion rule in selection region to be deleted.The present invention can reduce the operation that user performs when data are deleted, and improve the efficiency of data deletion action.
Description
Technical field
Data the present invention relates to terminal installation delete field, specifically entering line number by shirtsleeve operation in one kind
According to delet method and the system for realizing the method.
Background technology
The terminal installations such as smart mobile phone, panel computer turn into people's daily life in most frequently with electronic equipment, people
Like storing substantial amounts of data on intelligent electronic device, as storage data on the terminal device are more and more, terminal
The residual memory space of device is less and less, and people need the data for often being stored to terminal installation to arrange, and such as clear up
Unwanted data, so as to the data for vacateing enough spaces to store new.
By taking the icon in the application program shown by desk interface as an example, as shown in figure 1, on the screen 11 of terminal installation
The icon 12 of the multiple application programs of display, the icon 12 of each application program characterizes an application program, when user touches one
During application icon 12, terminal installation will run corresponding application program, and the main boundary of the application program is shown on screen 11
Face.When user thinks not using a certain application program, the figure of the application program can be deleted from the desk interface of screen
Mark.
For example, user thinks that the application program of a certain browser need not be used, then can grow by the figure of the application program
Mark 14, now, a deletion icon 13 for dustbin shape is shown in the lower section of screen 11, and user needs the icon that press...withes one's finger
14 and on screen 11 slide, with the slip of finger, icon 14 will follow finger to be slided on screen 11.When icon 14 is slided
Move to delete icon 13 on when, terminal installation will icon 14 deleted from desk interface.
It can be seen that, user needs to perform cumbersome operation when icon is deleted, it is necessary first to the icon that length is deleted on demand, so
After drag the icon to a specific position, deleting the operation of icon needs to consume longer time, it usually needs 2 seconds to 3
Time second.
Additionally, if user needs cleaning photo, song, existing deletion mode is often to need to be deleted on demand with the head of a household
Picture, the icon of song for removing, then slide into deletion icon top by the icon of picture, song files, or length is on demand
After the icon of the files such as picture, the song of deletion, show properties interface, performed by clicking on the delete button on properties interface
The deletion action of file.
It can be seen that, no matter the icon for deleting application program still deletes the operation such as song, picture, or delete the characters such as word
Operation, user is required to perform cumbersome operation, and the operating time is more long, is unfavorable for that user completes text in a short time
The deletion action of part, icon.
The content of the invention
The main object of the present invention be to provide one kind can allow user by shirtsleeve operation can realize data delete
Data-erasure method.
It is a further object of the present invention to provide a kind of simple data deletion system of data deletion action.
In order to realize above-mentioned main purpose, the data-erasure method that the present invention is provided is applied to the end with touch-screen
End device, the method includes receiving the touch control operation acted at least two touch points of touch-screen;Touched according at least two
Control point determines selection region;When touch control operation meets preset trigger condition, selection region is pointed to according to default deletion rule
Interior display content is deleted.
From such scheme, when user carries out data deletion action, it is only necessary to click on screen with two or more fingers
Data are deleted in the upper and slip by finger on screen, for example, selection region is determined according to touch control operation, thus really
Fixed data to be deleted, for example, after determining the data between two touch points, the data between two touch points are deleted.Can
See, when user performs the operation that data delete and need not grow the data deleted on demand, it is not required that the number of deletion will be needed
According to or corresponding icon drag, the process that whole data are deleted only needs to the very short time can be realized.
One preferred scheme is that touch control operation meets preset trigger condition to be included:Between at least two touch points away from
From in reduction;Or predetermined pressure is more than to the corresponding pressure value of pressing operation of each touch point at least two touch points
Threshold value.
As can be seen here, terminal installation passes through to judge the reduction of the distance between two touch points or the pressing of each touch point
Operate corresponding pressure value more than predetermined pressure threshold, can just judge to meet default trigger condition, it is to avoid mistake performs deletion
Operation.
Further scheme is to determine that selection region includes according at least two touch points:By between two touch points
Connecting line determines selection region as diagonal and according to diagonal;Or using the connecting line between two touch points as straight
Footpath simultaneously determines selection region according to diameter;Or two touch points are identified as beginning and end and according to starting point and end
Put to determine selection region.
It can be seen that, determining the mode of selection region can have various ways, thus it is convenient according to different service conditions come
Suitable mode is selected to determine selection region, it is user-friendly.
Further scheme is that display content includes the icon of application, and selection region is pointed to according to default deletion rule
Interior display content carries out deletion to be included:It is pointed to take application of the memory space more than or equal to predetermined value in selection region
Deleted.
As can be seen here, terminal installation is not to delete all selected data, and it is larger to be directed to occupancy memory space
Data deleted, so can both ensure the memory space of terminal installation, can avoid again mistake delete data.
Further scheme is that display content includes word, the figure in picture library application in application icon, word applications
Photo, audio file or video file or combinations thereof in piece or file application.
It can be seen that, the data of deletion can be diversified, and can be the combination of the data of various multi-forms.
To realize above-mentioned another object, the data deletion system that the present invention is provided is applied to the terminal dress with touch-screen
Put, the system includes touch control operation receiver module, for receiving the touch-control behaviour acted at least two touch points of touch-screen
Make;Selection region determining module, for determining selection region according at least two touch points;Data removing module, for touching
When control operation meets preset trigger condition, the display content being pointed to according to default deletion rule in selection region is deleted.
From above-mentioned scheme, when user carries out data deletion action, such as delete the icon in desk interface or delete
Except character etc., can be clicked on screen by using two or more fingers and by reducing two fingers on the screen between
Away from deleting data, such as slip according to finger determines the data between two touch points, and determine two touch points it
Between data after, by between two touch points data delete.Or, by firmly touching touch-screen, it is also possible to perform data
The operation of deletion.So, when user performs the operation that data delete and the data deleted on demand need not be grown, it is not required that general
Need on character or corresponding icon drag to the deletion icon of deletion, or character, icon that length is deleted on demand are with aobvious
Show properties interface to delete data, the process that whole data are deleted only needs to the very short time can be realized.
Brief description of the drawings
Fig. 1 is the schematic diagram that existing terminal installation carries out data deletion;
Fig. 2 is the flow chart of data-erasure method first embodiment of the present invention;
Fig. 3 is the schematic diagram using the first state of data-erasure method first embodiment of the present invention;
Fig. 4 is the schematic diagram that the selection region second way is determined using data-erasure method first embodiment of the present invention;
Fig. 5 is the schematic diagram that the third mode of selection region is determined using data-erasure method first embodiment of the present invention;
Fig. 6 is the schematic diagram using the second state of data-erasure method first embodiment of the present invention;
Fig. 7 is the structured flowchart of data deletion system first embodiment of the present invention;
Fig. 8 is the flow chart of data-erasure method second embodiment of the present invention;
Fig. 9 is using the schematic diagram of data-erasure method second embodiment of the present invention;
Figure 10 is the structured flowchart of data deletion system second embodiment of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
Specific embodiment
Data-erasure method of the present invention is applied on the terminal installation such as smart mobile phone or panel computer, especially
Ground, is portable terminal installation, and terminal installation is provided with touch-screen, and user can with point touching screen or on the touchscreen
Slide, terminal installation can be responded according to the touch for being formed on the touchscreen, pressing that receive or slip signals.This hair
The data deletion system of invention is to run on the terminal device, and for realizing above-mentioned data-erasure method.
Data-erasure method first embodiment:
The data-erasure method of the present embodiment is applied on the terminal installations such as smart mobile phone, panel computer, it is preferred that
The screen of terminal installation is touch-screen, and terminal installation can receive touch signal, pressing or the slip letter formed on touch-screen
Number.The present embodiment can be by obtaining on screen after the signal of at least two touch points, according to the sliding trace of touch point
To perform the deletion action of data.The workflow of the present embodiment is introduced with reference to Fig. 2.
First, step S1 is performed, reception acts on the touch control operation of at least two touch points on touch-screen.
An embodiment of the present embodiment is that the instruction of data deletion action is the instruction that finger is slided, therefore, first
Need to obtain at least two touch points for being formed on the touchscreen.One example is, as shown in figure 3, in the desktop of terminal installation
After the start of interface, i.e. terminal installation in shown main interface, multiple icons are shown on screen 21, these icons are commonly used
The icon of the application program that the icon of program, such as system are carried, or the icon of application program that user voluntarily installs.And
And, into multiple lines and multiple rows, one has 16 icons to multiple icon arrangements on the interface in Fig. 3, is arranged in the row of four row four.For example,
It is respectively from top to bottom four icons of application program on diagonal from upper left side to lower right, is respectively icon 22, icon
23rd, icon 24 and icon 25.
If user needs to delete the part icon in desk interface, two finger Touch screens 21 can be used, now, eventually
End device detects the signal for having two touch points on screen, and such as user touches icon 22 and icon 25, now terminal installation
Detect two finger Touch screens 21.Now, two touch points are respectively the display locations of icon 22 and icon 25.
Certainly, the touch point shown in Fig. 3 is two, in other embodiments, three can be simultaneously formed on the touchscreen
Individual touch point, such as user touch touch-screen simultaneously using three fingers, so as to form three touch points on the touchscreen.
Then, step S2 is performed, selection region is determined according at least two touch points.
After the signal for getting two or more touch point on screen, determined according at least two touch points
Selection region, for example, using the connecting line between two touch points as diagonal, and determines to select area according to the diagonal
Domain.In the state of as shown in Figure 3, can be using the position where icon 22 and icon 25 as cornerwise two end points, i.e.,
Dotted line in figure between icon 22 and icon 25, using the dotted line as diagonal, is consequently formed a region for rectangle, such as schemes
Shown in dotted rectangle, the rectangular area is selection region.
Another scheme is, using the connecting line between two touch points as diameter, and according to the diameter come determine selection
Region.As shown in Figure 4, two fingers of user are clicked on two icons of screen, two positions of finger Touch screen
Put to form two touch points, now make straight line with two touch points, the dotted line in such as Fig. 4, and with the dotted line be straight
Footpath, diameter midpoint be circle the center of circle, it is determined that can be obtained after the center of circle, the diameter of circle circle region, such as Fig. 4
Shown in broken circle, so as to obtain a selection region.
Yet another approach is, two touch points are identified as into beginning and end, and determined according to beginning and end
Selection region.For example, using two touch points as the beginning and end of straight line, with the line between two touch points
Alternatively region.For example shown in Fig. 3 respectively using icon 22 and icon 25 as the dotted line of Origin And Destination, dotted line is passed through
The icon crossed is displayed content in selected region.
Yet another approach is that passage is shown on the touchscreen, as shown in Figure 5, and this section of word includes multirow
Character, each line character includes multiple characters, if two fingers of user are clicked in this section of the two of word characters
On, character 27 and character 28 in such as Fig. 5 then can be using characters 27 as starting point, and character 28 selects character 27 as terminal
And the word between character 28, now character 27 will alternatively region to the region between character 28 in paragraph.
Then, step S3 is performed, judges whether touch control operation meets default trigger condition.
In the present embodiment, default trigger condition can the distance between at least two touch points reducing.For example, inspection
User is surveyed to having a finger or two fingers to be slided on screen 21, and after finger slip so that at least two hands
The distance between finger is reducing.As shown in Figure 6, the finger of user is slided on screen 21, and such as two fingers are all in screen 21
Slided to the right after upper slip, wherein left-hand finger touching icon 22, and moved to upper left side after right finger touching icon 25
Dynamic, in finger moving process, the distance between two fingers will be gradually reduced.In this case, terminal installation may determine that
The distance between two fingers reduce.
Another situation is that the corresponding pressure value of pressing operation to each touch point at least two touch points is more than
Predetermined pressure threshold.For example, after two fingers touching touch-screen of user, and firmly press, now touch-screen is pressed
The corresponding pressure value of press operation, and the pressure value of two touch points detected, if it is determined that two pressure values of touch point
Predetermined pressure threshold is all higher than, then the judged result of step S3 is yes.If the pressure value only one of which of two touch points is big
In scheduled pressure value, then the judged result of step S3 is no;If the pressure value of two touch points is respectively less than scheduled pressure value,
It is no that the judged result of step S3 is also.
Finally, step S4 is performed, the display content being pointed to according to default deletion rule in selection region is deleted.
Judge that the distance between two touch points reduces in step S3, or judge two pressing operations of touch point
When corresponding pressure value is all higher than predetermined pressure threshold, then it represents that user have issued to be needed to delete desk interface top component mark
Instruction, now, by be located at selection region in display content carry out deletion action., it is necessary to the icon deleted in the present embodiment
It is the icon between two touch points.It is as shown in Figure 3, between icon 22 and icon 25, show respectively icon 23 and
Icon 24, accordingly, it is determined that needing the icon deleted to be icon 23 and icon 24.
Certainly, due to deleting icon 23 and icon 24 in desk interface, it may be possible to which user is not intended in desktop circle
The icon of the application program is shown on face, it is also possible to which user is no longer desire to use the application program, therefore, in above-mentioned icon 23
And after icon 24, the unloading operation of application program can be performed, will icon 23 and the corresponding application program of icon 24 unload
Carry.Certainly, a prompt window is shown for example on screen 21, it is necessary to issue the user with prompt message before unloading application program,
Display " the unloading application program on prompt window" sentence, and show the virtual key of " confirmation ", if user is true
Need to unload corresponding application program calmly, the virtual key of " confirmation " can be clicked on, terminal installation can perform respective application
The unloading operation of program.If user chooses cancels unloading application program, terminal installation is only by icon 23 and icon 24
Deleted from desk interface, but do not unload corresponding application program.
Certainly, prompt message comprising be not limited to word prompting, can also including vibrations, audio output, video frequency output etc. shape
Formula.For example, before application program is unloaded, terminal installation prompts the user whether to need unloading this applies journey by sending vibration signal
Sequence, or voice messages such as " whether PLSCONFM unload the application " is sent, or the mode such as broadcasting video, animation is carried on screen
Show user.Can also be the combination of above-mentioned various ways, such as the display reminding sentence on screen is simultaneously emitted by suggestion voice
Deng the unloading operation of the prompting user's confirmation currently executing application for becoming apparent from.
Certainly, in the application program corresponding to the icon selected by unloading, whether the application program can first be judged
Do not run through long-time, that is, before current point in time, if the time of off-duty exceedes preset value, such as more than 1
Do not ran within individual month, if it is determined that application program to be unloaded was not run more than 1 month, then may determine that this applied journey
Sequence is the application program not used for a long time, then perform unloading operation.If application program was once run in a short time,
The application program is not unloaded, or prompt message is sent before unloading, such as pointed out the application program in a short time once
Ran, if need unloading.As user determines to need to unload the application program, then unloading operation is performed to the application program.
As shown in Figure 6, start what is slided after being click on icon 22 and click icon 25 due to user's finger, therefore figure
Mark 22 and icon 25 will follow finger to slide, and after icon 23 and icon 24 is deleted, icon 22 and icon 25 will
Rest on finger and touch the position on screen 21, and when finger is removed from screen 21, i.e., when touch point disappears, icon
22 will stay on the position that left-hand finger is removed from screen 21, and icon 25 will stay on right finger and be removed from screen 21
Position, i.e., icon 22 will be located at original icon 23 where position, and the position where icon 25 will stay on original icon 24
Put.
Certainly, the data that the present embodiment is deleted are the icons of application program, and during practical application, user can be by this hair
Bright method is only deleted other kinds of data, and such as user is when photo is browsed, it would however also be possible to employ identical operation will not be wished
Hope that the photo for retaining is deleted, or when music-documents are browsed, the music-documents that need not will retain are deleted, and certainly, are now deleted
Under division operation should be the browser interface of music-documents, the icon of multiple music-documents is shown under the browser interface, user is only
Need to click on two of which icon and delete unwanted music-documents by sliding finger.
Certainly, the content of deletion except can be application program icon, picture library application in picture, file application in
Photo or audio file or video file outside, word in can also be in the application programs such as word etc., it is also possible to
It is the combination of above-mentioned various objects, you can be deleted together after combining picture, audio-video document etc..
Additionally, during practical application, user can use three fingers Touch screen 21 simultaneously, that is, the shape on screen 21
Into three touch points, for example, a finger Touch screen 21 of two fingers of left hand and the right hand, now, it is only necessary to have and appoint
What finger is slided on screen 21, and the slip of the finger can cause have the distance between any two finger to reduce,
The spacing for having any two touch point reduces, then it is assumed that user have issued the instruction for deleting icon, is now deleting distance just
Icon between two fingers for reducing.
Certainly, multiple fingers and need not Touch screen 21 simultaneously, can priority Touch screen 21, it is only necessary at certain for the moment
Inscribe, two or more touch points are detected simultaneously by screen 21.For example, two finger priority Touch screens 21,
Behind two fingers equal Touch screen 21, two touch points are formed on screen.Also, if data to be deleted be picture,
Audio frequency and video document etc., can first judge that whether data to be deleted take the size of memory space more than preset value, such as to be deleted
The size of data whether be more than 1M, if data to be deleted are smaller, deletion action can not be performed, that is, only delete and account for
With the data that memory space is larger.
Data deletion system first embodiment:
Referring to Fig. 7, the data deletion system of the present embodiment is applied on the terminal installation with touch-screen, is such as had and is touched
Smart mobile phone, panel computer of screen etc., and there is data deletion system touch control operation receiver module 31, selection region to determine mould
Block 32 and data removing module 33.
Wherein, touch control operation receiver module 31 is used to receive the touch-control behaviour acted at least two touch points of touch-screen
Make.
In the present embodiment, whether touch control operation receiver module 31 may determine that the signal for having touch point on screen, for example,
Multiple icons are shown in the desk interface of terminal installation, on screen, multiple icons can be arranged in multiple lines and multiple rows, for example, arrange
Cheng Sihang tetra- is arranged, the signal that touch point judge module 31 is used for acquisition two or above finger Touch screen and is formed.
In the present embodiment, selection region determining module 32 is used to determine selection region according at least two touch points.
For example, after two signals of finger Touch screen are got, selection region determining module 32 is touched according to two
The position for controlling point determines a selection region, for example, using the connecting line between two touch points as diagonal, and according to this pair
Linea angulata determines selection region.Or, using the connecting line between two touch points as diameter, and according to the diameter come determine choosing
Select region.Because the position where two touch points determines, and two touch point positions can be used as a circle
Two end points of the diameter of shape, diameter midpoint is the center of circle of circle, it is determined that can obtain circle after the center of circle, the diameter of circle
The region of shape a, it is also possible to obtain selection region.Or, two touch points are identified as beginning and end, and root
Determine selection region according to beginning and end.For example, using two touch points as the beginning and end of straight line, with two
Line between individual touch point alternatively region.
In the present embodiment, data removing module 33 is used to, when touch control operation meets preset trigger condition, be deleted according to default
The display content being pointed to except rule in selection region is deleted.
For example, if it is determined that at least one touch point is slided on screen, that is, detect user whether have a finger or
Two fingers of person are slided on screen, if detected at least one finger slided on screen, determine whether two
Whether the distance between touch point reduces.For example, if the finger of user is slided on screen, such as two fingers are all on screen
Slide, wherein left-hand finger is slided to the right after clicking on the first icon, and to upper left side after right finger the second icon of click
Mobile, in two finger moving process, the distance between two fingers will be gradually reduced.Now, terminal installation can determine
User have issued to be needed to delete the component target instruction of desk interface top, you can deleted with to the part icon on desktop.
, it is necessary to the icon deleted is the figure in selection region determined by selection region determining module 32 in the present embodiment
Mark, if for example, selection region is a rectangle, the icon deleted is the icon being located in the rectangular area;If selection
Region is a region for circle, then the icon deleted is the icon being located in the rectangular area;If selection region is with two
Individual touch point is the straight line of start-stop position, then the icon deleted is the icon between two touch points.
When data removing module 33 performs the deletion action of data, the first icon and the second icon can will be initially positioned at
Between icon delete.Certainly, user may be desirable to only be deleted from desk interface and be initially positioned at the first icon and the
Icon between two icons, it is also possible to be desirable to the deleted corresponding application program of icon of unloading, therefore, data removing module 33
Can also carry out the unloading operation of application program.Certainly, it is necessary to issue the user with prompt message before unloading application program, for example
A prompt window is shown on screen, display " the unloading application program on prompt window" sentence, and show one
The virtual key of " confirmation ", if the user determine that needing to unload corresponding application program, can click on the virtual key of " confirmation ",
Terminal installation can perform the unloading operation of corresponding application programs.Of course, it is possible to only unloading for a long time do not use should
With program, that is, it needs to be determined that the time of the application program off-duty is more than Preset Time before application program is unloaded
Value.
Also, when user click on desk interface on icon after and finger slided on screen, the icon being now clicked
The slip of finger will be followed and slided on screen, therefore, after finger stops sliding, the icon being clicked will stay on finger
The position for finally stopping, if finger is removed from screen, i.e., after touch point disappears, the icon being clicked will stay on and finally stop
The position that the position stayed, i.e. touch point disappear.Now, it is likely to which the icon being clicked will occupy deleted icon
Position.Certainly, if the user desired that the icon that will be clicked is included in original position, can drag the icon that is clicked and
By icon drag to the position for wishing to stop.
Additionally, preset trigger condition is not limited to the reduction of the distance between two touch points, two touch points are can also be
The corresponding pressure value of pressing operation of each touch point is more than predetermined pressure threshold, it is also possible to be considered to meet trigger condition, from
And perform the deletion action to display content in selection region.
In the present embodiment, data removing module 33 is selected or display content that deleted is not limited to the figure of application program
Mark, can also be the word of copy editor's application programs such as interior photo, character, audio-video document, the word for being included of file
Deng can also be the combination of above-mentioned various objects.And the direction that the slip of finger is not limited to diagonally is slided, and can be edge
The slip of horizontal direction or vertical direction.
Data-erasure method second embodiment:
Referring to Fig. 8, the data-erasure method of the present embodiment includes performing following step.
Step S11 is first carried out, reception acts on two touch control operations of touch point of touch-screen.
As shown in Figure 9, at a documents editing interface of terminal installation, the multiple edited is shown on screen 41
Character, the character 42,43,44,45,46,47 for such as showing from left to right, plurality of character arrangements are in a row.If user needs
Partial character therein is deleted, two finger Touch screens 41 can be used, now, terminal installation is detected on screen there are two
The signal of touch point, such as user click on character 42 and character 47, and now terminal installation detects two finger Touch screens 41.
Step S11 is to obtain two signals of finger Touch screen 41, and now, two touch points are respectively character 42 and character 47
Display location.
Then, step S12 is performed, selection region is determined according to two touch points.
After two signals of touch point are got on screen, selection region, example are determined according to the two touch points
Such as, under in the situation illustrated in figure 9, the position where being located at character 42 and character 47 respectively due to two touch points, then really
It with two touch points is Origin And Destination that selection region on fixed can be, and the straight line being consequently formed alternatively region.
Therefore, in the case of shown in Fig. 9, selection region is the region that two touch points are passed through as straight line and the straight line.
Certainly, under other embodiment, can also using the connecting line between two touch points as diagonal, and according to
The diagonal determines selection region.Or, using the connecting line between two touch points as diameter, and according to the diameter come really
Determine selection region.As using the position where two touch points as the two of the diameter of circle end points, diameter midpoint is
The circular center of circle, it is determined that can obtain the region of circle after the center of circle, the diameter of circle, it is also possible to obtain a selection area
Domain.
Then, step S13 is performed, judges whether two touch points are all subtracting in the distance slided and between two touch points
It is small.
For example, after two signals of finger Touch screen 41 are got, then judging two touch points whether all in screen
Slided on curtain 21, that is, whether two fingers of detection user slide all on screen 41, if having detected two fingers
Slided all on screen 41, and the distance between two touch points are reducing, then judge to meet the Rule of judgment of step S13.
Certainly, if in two touch points, only one of which touch point is not all slided in slip, or two touch points, then step S13
Judged result be no.Also, if two touch points are all sliding, but the distance between two touch points do not reduce,
It is no that then the judged result of step S13 is also.
As shown in Figure 9, such as two fingers are slided all on screen 41, and wherein left-hand finger is clicked on character 42 and breakked away to the right
Dynamic, and right finger is moved after clicking on character 47 to left side, in finger moving process, the distance between two fingers will gradually
Reduce.Therefore, the judged result of step S13 is that the distance between two fingers reduce.
Step S13 is actually, for judging that touch control operation meets preset trigger condition, in other embodiments, to preset
Trigger condition can also be and whether judge corresponding pressure value of two touch points in pressing more than default pressure threshold, such as
Really two corresponding pressure values of touch point pressing are all higher than default pressure threshold, then may determine that touch control operation meets default
Trigger condition.
Finally, step S14 is performed, deletion action is carried out to character shown in selection region.
Because in step s 13, terminal installation judges that the distance between two fingers reduce, represent that user have issued
The instruction of deletion character is needed, now, deletion action is carried out to character shown in selection region.As shown in Figure 9, in word
Symbol 42 and character 47 between, character 43,44,45,46 is shown respectively, accordingly, it is determined that need delete character be character 43,
44、45、46.Therefore, step S14 is exactly to delete character 43,44,45,46.
Finally, it is as shown in Figure 9, start what is slided after being click on character 42 and click character 47 due to user's finger,
Therefore character 42 and character 47 will follow finger to slide, and after character 43,44,45,46 is deleted, character 42 and character
47 will stay on finger touches the position on screen 41, and when finger is removed from screen 41, i.e., when touch point disappears,
Character 42 will stay on the position that left-hand finger is removed from screen 41, and character 47 will stay on right finger from screen 41
The position removed, i.e. character 42 are by the position where being located at original character 44, and character 47 will stay on the place of original character 45
Position.
Certainly, in other embodiments, user can use three fingers Touch screen 41 simultaneously, that is, in screen
Three touch points are formed on 41, for example, a finger Touch screen 41 of two fingers of left hand and the right hand, now, only needs
There is any two finger to be slided on screen 41, and the distance between the slip of two fingers latter two finger reduces, then
Think that user have issued the instruction for deleting character, now delete the character between two fingers that distance is reducing.
Certainly, multiple fingers and need not Touch screen 41 simultaneously, can priority Touch screen 41, it is only necessary at certain for the moment
Inscribe, two or more touch points are detected simultaneously by screen 41.For example, two finger priority Touch screens 41,
Behind two fingers equal Touch screen 41, two touch points are formed on screen.
Data deletion system second embodiment:
Referring to Figure 10, there are the present embodiment touch control operation receiver module 51, selection region determining module 52 and data to delete
Except module 53.
Wherein, touch control operation receiver module 51 is used to receive the touch-control behaviour acted at least two touch points of touch-screen
Make.
For example, showing multiple characters in the desk interface of terminal installation, on screen, multiple characters can be arranged in one
OK, such as transversely arranged or longitudinal arrangement, touch control operation receiver module 51 is used to obtaining two finger Touch screens of user and shape
Into touch point signal, and obtain the touch control operation that the two touch points are formed.
Selection region determining module 52 is used to determine selection region according to two touch points.
For example, after two signals of finger Touch screen are got, selection region determining module 52 is touched according to two
The position of point is controlled, a selection region is determined, identified selection region can be the connecting line conduct between two touch points
Diagonal, and selection region is determined according to the diagonal, or two touch point positions are used as circle
Two end points of diameter, diameter midpoint is the center of circle of circle, it is determined that can obtain circle after the center of circle, the diameter of circle
Region a, it is also possible to obtain selection region.Or, two touch points are identified as beginning and end, and according to rising
Put with terminal to determine selection region.For example, two touch points are touched as the beginning and end of straight line with two
Line alternatively region between control point.
Data removing module 53 is used to, when touch control operation meets preset trigger condition, be pointed to according to default deletion rule
Display content in selection region is deleted.
For example, the preset trigger condition of the present embodiment can be two touch points while sliding on the touchscreen and two
The distance between touch point reduces, that is, need to determine whether that two touch points are slided on screen, that is, detection user is
No two fingers slide formed slip instruction all on screen, are formed if detecting two fingers and being slided all on screen
Slip instruction, then determine whether whether the distance between two touch points reduce.If for example, the finger of user is in screen
Upper slip, such as two fingers are slided all on screen, and wherein left-hand finger is slided after clicking on the first character to right side, and right hand hand
Indication is hit after the second character and is moved to left side, and in two finger moving process, the distance between two fingers will be gradually reduced.
Now, terminal installation can determine that user have issued the instruction of the partial character for needing to delete shown on screen.
Certainly, corresponding pressure value is all higher than default pressure when preset trigger condition can also be that each touch point is pressed
Force threshold, if corresponding pressure value is all higher than default pressure threshold when each touch point is pressed, judges to meet and touches
Clockwork spring part, corresponding pressure value is less than default pressure threshold when being pressed if a touch point, then judge to be unsatisfactory for triggering
Condition.
If it is determined that meeting trigger condition, then deletion action is carried out to content shown in selection region.The present embodiment
In, shown content is character in selection region, then it is the character between two touch points to need the character deleted.Therefore,
In the present embodiment, the data being selected are shown in the character of documents editing interface or character editing inframe, that is, are located at
Character between two touch points.
The deletion action that data removing module 53 performs data will be initially positioned between the first character and the second character
Character deletion.For example, when user click on desk interface on character after and finger slided on screen, the word being now clicked
Symbol will follow the slip of finger and be slided on screen, therefore, after finger stops sliding, the character being clicked will stay on hand
Refer to the last position for stopping, if finger is removed from screen, i.e., after touch point disappears, the character being clicked will stay on finally
The position that the position of stop, i.e. touch point disappear.Now, it is likely to which the character being clicked will occupy deleted character
Position.
Certainly, in the present embodiment, the data that data removing module 53 is deleted are not limited to the icon of application program, word texts
Various characters in shelves, can also be photo, audio-video document etc., or picture, character, the combination of audio-video document
Deng.Also, the slip of finger is not limited to the slip of oblique line, can be horizontally oriented or vertical direction slip.
It can be seen that, deletion action is carried out to icon, character, photo, document etc. by the method for the present invention, user is not required to
The data deleted on demand are grown, such as length presses icon, photo, virtual key, and icon, photo etc. are dragged into deletion figure
Put on, using delet method of the invention, user is only needed to perform shirtsleeve operation, and icon, character etc. are deleted and grasped
The time of work is very short, can be completed in 1 second, substantially increases the efficiency of data deletion.
Certainly, above-mentioned scheme is the preferred embodiment of the invention, and practical application is that can also have more changes,
For example, two touch points are not necessarily along linear motion on screen, if the sliding trace of two touch points is circular arc, only
After needing two touch points to slide, the distance between two touch points reduce, and are also considered as touch control operation and meet default triggering bar
Part, can also perform corresponding data deletion action, and such change has no effect on implementation of the invention, should also be included in this hair
In bright protection domain.
Claims (10)
1. a kind of data-erasure method, is applied to the terminal installation with touch-screen, it is characterised in that the data-erasure method bag
Include:
Reception acts on the touch control operation at least two touch points of the touch-screen;
Selection region is determined according at least two touch point;
When the touch control operation meets preset trigger condition, it is pointed to according to default deletion rule aobvious in the selection region
Show that content is deleted.
2. data-erasure method according to claim 1, it is characterised in that:The touch control operation meets preset trigger condition
Including:
The distance between described at least two touch point is reducing;
Or predetermined pressure is more than to the corresponding pressure value of pressing operation of each touch point at least two touch point
Threshold value.
3. data-erasure method according to claim 1, it is characterised in that described true according at least two touch point
Determining selection region includes:
Connecting line between two touch points is determined into selection region as diagonal and according to the diagonal;
Or the connecting line between two touch points is determined into selection region as diameter and according to the diameter;
Or two touch points are identified as beginning and end and selection region is determined according to the beginning and end.
4. data-erasure method according to claim 1 and 2, it is characterised in that the display content includes the figure of application
Mark, the display content that the default deletion rule of the basis is pointed in the selection region carries out deletion to be included:
The occupancy memory space being pointed in the selection region is deleted more than or equal to the application of predetermined value.
5. the data-erasure method according to any one of claims 1 to 3, it is characterised in that:The display content includes should
Word in being applied with icon, word, the picture in picture library application or the photo in file application, audio file are regarded
Frequency file or combinations thereof.
6. a kind of data deletion system, is applied to the terminal installation with touch-screen, it is characterised in that the data deletion system bag
Include:
Touch control operation receiver module, for receiving the touch control operation acted at least two touch points of the touch-screen;
Selection region determining module, for determining selection region according at least two touch point;
Data removing module, for when the touch control operation meets preset trigger condition, being pointed to according to default deletion rule
Display content in the selection region is deleted.
7. data deletion system according to claim 6, it is characterised in that what the data removing module judged described touches
Control operation meets preset trigger condition to be included:
The distance between described at least two touch point is reducing;
Or predetermined pressure is more than to the corresponding pressure value of pressing operation of each touch point at least two touch point
Threshold value.
8. data deletion system according to claim 6, it is characterised in that the selection region determining module is according to
At least two touch points determine that selection region includes:
Connecting line between two touch points is determined into selection region as diagonal and according to the diagonal;
Or the connecting line between two touch points is determined into selection region as diameter and according to the diameter;
Or two touch points are identified as beginning and end and selection region is determined according to the beginning and end.
9. the data deletion system according to claim 6 or 7, it is characterised in that the display content includes the figure of application
Mark, the data removing module carries out deletion bag according to the display content that default deletion rule is pointed in the selection region
Include:
The occupancy memory space being pointed in the selection region is deleted more than or equal to the application of predetermined value.
10. the data deletion system according to any one of claim 6 to 8, it is characterised in that:
The display content includes the word in application icon, word applications, the picture in picture library application or file application
In photo, audio file or video file or combinations thereof.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187192.7A CN106775409A (en) | 2016-12-20 | 2016-12-20 | A kind of data-erasure method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187192.7A CN106775409A (en) | 2016-12-20 | 2016-12-20 | A kind of data-erasure method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775409A true CN106775409A (en) | 2017-05-31 |
Family
ID=58896302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611187192.7A Withdrawn CN106775409A (en) | 2016-12-20 | 2016-12-20 | A kind of data-erasure method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775409A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108776580A (en) * | 2018-06-04 | 2018-11-09 | 珠海格力电器股份有限公司 | The reminding method and device of window |
CN110096200A (en) * | 2019-04-09 | 2019-08-06 | 网易(杭州)网络有限公司 | Text handling method and device, storage medium, electronic equipment |
WO2020151522A1 (en) * | 2019-01-24 | 2020-07-30 | 维沃移动通信有限公司 | Content deletion method, terminal, and computer-readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100321319A1 (en) * | 2009-06-17 | 2010-12-23 | Hefti Thierry | Method for displaying and updating a view of a graphical scene in response to commands via a touch-sensitive device |
CN103853476A (en) * | 2012-12-04 | 2014-06-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106201270A (en) * | 2016-07-15 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of processing method and processing device of destination object |
-
2016
- 2016-12-20 CN CN201611187192.7A patent/CN106775409A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100321319A1 (en) * | 2009-06-17 | 2010-12-23 | Hefti Thierry | Method for displaying and updating a view of a graphical scene in response to commands via a touch-sensitive device |
CN103853476A (en) * | 2012-12-04 | 2014-06-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106201270A (en) * | 2016-07-15 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of processing method and processing device of destination object |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108776580A (en) * | 2018-06-04 | 2018-11-09 | 珠海格力电器股份有限公司 | The reminding method and device of window |
WO2020151522A1 (en) * | 2019-01-24 | 2020-07-30 | 维沃移动通信有限公司 | Content deletion method, terminal, and computer-readable storage medium |
US11579767B2 (en) | 2019-01-24 | 2023-02-14 | Vivo Mobile Communication Co., Ltd. | Content deleting method, terminal, and computer readable storage medium |
CN110096200A (en) * | 2019-04-09 | 2019-08-06 | 网易(杭州)网络有限公司 | Text handling method and device, storage medium, electronic equipment |
CN110096200B (en) * | 2019-04-09 | 2020-12-22 | 网易(杭州)网络有限公司 | Text processing method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11487426B2 (en) | Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area | |
EP2565770B1 (en) | A portable apparatus and an input method of a portable apparatus | |
EP2608006B1 (en) | Category search method and mobile device adapted thereto | |
KR101835188B1 (en) | Using pressure differences with a touch-sensitive display screen | |
KR101673068B1 (en) | Text select and enter | |
CN102221957B (en) | Electronic equipment and operation control method thereof | |
US9495091B2 (en) | Method and apparatus for displaying text information in mobile terminal | |
CN103631516B (en) | The method of touch-sensitive device and the manipulation based on touch to content | |
CN103518186B (en) | For the method and apparatus that item controlled shows | |
KR101857571B1 (en) | Method and apparatus for moving items using touchscreen | |
EP2613286A1 (en) | Mobile terminal and message-based conversation operation method for the same | |
CN104111787B (en) | A kind of method and apparatus for realizing text editing on touch screen interface | |
EP2669786A2 (en) | Method for displaying item in terminal and terminal using the same | |
CN103064627B (en) | A kind of application management method and device | |
JP6448639B2 (en) | Text selection method, apparatus and terminal | |
US20130215059A1 (en) | Apparatus and method for controlling an object in an electronic device with touch screen | |
CN103970460A (en) | Touch screen-based operation method and terminal equipment using same | |
CN102841737A (en) | Method and apparatus for providing graphic user interface having item deleting function | |
CN103473014A (en) | Multitask switching method and terminal | |
CN103699327A (en) | Terminal equipment and selection method and selection device for touch screen terminal | |
CN106775409A (en) | A kind of data-erasure method and system | |
US9955324B2 (en) | SMS message processing method for mobile terminal and mobile terminal | |
US20150046855A1 (en) | Electronic apparatus, control method for electronic apparatus, and program | |
CN103941999B (en) | A kind of information processing method and electronic equipment | |
JP2014071755A (en) | Editing device and method for controlling editing device |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170531 |
|
WW01 | Invention patent application withdrawn after publication |