CN107357509A - Text maninulation performs method and device - Google Patents

Text maninulation performs method and device Download PDF

Info

Publication number
CN107357509A
CN107357509A CN201610302296.1A CN201610302296A CN107357509A CN 107357509 A CN107357509 A CN 107357509A CN 201610302296 A CN201610302296 A CN 201610302296A CN 107357509 A CN107357509 A CN 107357509A
Authority
CN
China
Prior art keywords
pressure value
press
text
press pressure
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610302296.1A
Other languages
Chinese (zh)
Inventor
梁震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610302296.1A priority Critical patent/CN107357509A/en
Priority to PCT/CN2016/086445 priority patent/WO2017193456A1/en
Publication of CN107357509A publication Critical patent/CN107357509A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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

Abstract

The invention provides a kind of text maninulation to perform method and device, wherein, this method includes:Detect the first press pressure value of the first press event and the first press event on the predeterminated position of touch-screen;The text maninulation speed that pre-set text according to corresponding to the first press pressure value determines execution predeterminated position operates;Pre-set text operation is performed according to the text maninulation speed of determination, solves the problems, such as service speed during uncontrollable execution text maninulation in correlation technique, realizes service speed when control performs text maninulation.

Description

Text maninulation performs method and device
Technical field
The present invention relates to the communications field, and method and device is performed in particular to a kind of text maninulation.
Background technology
In general touch apparatus input mode at present, operated key (such as:Delete button) response will It is only in response to click action, clicks on delete a character, it is necessary to when deleting multiple characters every time, need Will once button, or being that can respond click simultaneously and long-press is not loosed one's grip, long-press duration reaches During certain time, delete speed and accelerate or progressively accelerate.
According to the mode of operation of foregoing description, the problem of so causing is exactly that user is deleting a large amount of texts Word and when thinking accurately to rest on some position, slowly clicks on that to delete then speed not fast enough again and again, Do not loose one's grip into fast mode due to deletion speed can not be accurately controlled if pinned, and soon arrive Can not slow down up to during destination locations, thus can not accurately rest on desired position, this can to user with The inconvenience come.
For in correlation technique it is uncontrollable perform text maninulation when service speed the problem of, at present also Do not efficiently solve scheme.
The content of the invention
The embodiments of the invention provide a kind of text maninulation to perform method and device, at least to solve correlation In technology it is uncontrollable perform text maninulation when service speed the problem of.
According to one embodiment of present invention, there is provided a kind of text maninulation performs method, including:Inspection The first press event surveyed on the predeterminated position of touch-screen and the first of first press event is pressed Pressure pressure value;It is default according to corresponding to the first press pressure value determines the execution predeterminated position The text maninulation speed of text maninulation;The default text is performed according to the text maninulation speed of determination This operation.
Alternatively, the institute according to corresponding to the first press pressure value determines the execution predeterminated position Stating the text maninulation speed of pre-set text operation includes:Determine that the first press pressure value is fallen into Preset pressure value scope;Default press pressure value and behaviour are obtained according to the preset pressure value scope Make the mapping relations of speed;It is true according to the mapping relations of the default press pressure value and service speed The service speed corresponding to the fixed first press pressure value.
Alternatively, determined to perform described preset in the predeterminated position according to the first press pressure value The text maninulation speed of text maninulation includes:Determine the first press pressure value;Obtain pressing The mapping relations of pressure value and service speed;According to the first press pressure value, and the mapping Relation determines the service speed corresponding to the first press pressure value.
Alternatively, detect first press event on the predeterminated position of the touch-screen and The first press pressure value of first press event includes:Detection is described in the touch-screen The second press pressure value of the second press event and second press event on predeterminated position; Judge whether the second press pressure value is more than preset pressure value;In the case where the judgment result is yes, Detect the first press pressure value of first press event and first press event.
Alternatively, the predetermined registration operation corresponding to the predeterminated position includes at least one of:It is described to touch Touch text suppression operation corresponding to the upper text delete key of screen, on the touch-screen corresponding to directionkeys Text entry operation in mobile cursor operations, the touch-screen corresponding to text entry keys.
According to another embodiment of the invention, there is provided a kind of text maninulation performs device, including: Detection module, pressed for detecting the first press event and described first on the predeterminated position of touch-screen First press pressure value of pressure event;Determining module, for being determined according to the first press pressure value Perform the text maninulation speed of the pre-set text operation corresponding to the predeterminated position;Execution module, use Operated in performing the pre-set text according to the text maninulation speed of determination.
Alternatively, the determining module includes:First determining unit, for determining first pressing The preset pressure value scope that pressure value is fallen into;First acquisition unit, for according to the preset pressure value Scope obtains the mapping relations of default press pressure value and service speed;Second determining unit, is used for The first pressing pressure is determined according to the mapping relations of the default press pressure value and service speed The service speed corresponding to force value.
Alternatively, the determining module includes:3rd determining unit, for determining first pressing Pressure value;Second acquisition unit, for obtaining the mapping relations of press pressure value and service speed;The Four determining units, for according to the first press pressure value, and described in the mapping relations determine The service speed corresponding to first press pressure value.
Alternatively, the detection module includes:First detection unit, for detecting in the touch-screen The predeterminated position on the second press event and second press event it is described second pressing Pressure value;Judging unit, for judging whether the second press pressure value is more than preset pressure value; Second detection unit, in the case where the judgment result is yes, detect first press event and The first press pressure value of first press event.
Alternatively, the predetermined registration operation corresponding to the predeterminated position includes at least one of:It is described to touch Touch text suppression operation corresponding to the upper text delete key of screen, on the touch-screen corresponding to directionkeys Text entry operation in mobile cursor operations, the touch-screen corresponding to text entry keys.
By the present invention, the first press event on the predeterminated position of touch-screen and the first pressing are detected First press pressure value of event;According to corresponding to the first press pressure value determines execution predeterminated position The text maninulation speed of pre-set text operation;Pre-set text behaviour is performed according to the text maninulation speed of determination Make, it can be seen that, detect the first press event and the first press event using such scheme first is pressed Pressure pressure value, determine to perform the speed of text maninulation further according to the first press pressure value, according to determination Speed performs text maninulation, it is thereby achieved that service speed during control execution text maninulation, so as to Solves the problems, such as service speed during uncontrollable execution text maninulation in correlation technique.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the one of the application Part, schematic description and description of the invention are used to explain the present invention, not formed to this hair Bright improper restriction.In the accompanying drawings:
Fig. 1 is the hardware configuration that a kind of text maninulation of the embodiment of the present invention performs the mobile terminal of method Block diagram;
Fig. 2 is the flow chart that a kind of text maninulation according to embodiments of the present invention performs method;
Fig. 3 is the schematic diagram of mapping function according to embodiments of the present invention;
Fig. 4 is a kind of structured flowchart one of text maninulation performs device according to embodiments of the present invention;
Fig. 5 is a kind of structured flowchart two of text maninulation performs device according to embodiments of the present invention;
Fig. 6 is a kind of structured flowchart three of text maninulation performs device according to embodiments of the present invention;
Fig. 7 is a kind of structured flowchart four of text maninulation performs device according to embodiments of the present invention;
Fig. 8 is the schematic diagram that interface is performed according to the text maninulation of alternative embodiment of the present invention;
Fig. 9 is the schematic diagram of the matched curve performed according to the text maninulation of alternative embodiment of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
It should be noted that the term in description and claims of this specification and above-mentioned accompanying drawing " first ", " second " etc. be for distinguishing similar object, without for describe specific order or Precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can mobile terminal, terminal or Performed in the similar arithmetic unit of person.Exemplified by running on mobile terminals, Fig. 1 is implementation of the present invention A kind of text maninulation of example performs the hardware block diagram of the mobile terminal of method, as shown in figure 1, moving Dynamic terminal 10 can include one or more (processors of (one is only shown in figure) processor 102 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing Device), the memory 104 for data storage and the transmitting device 106 for communication function. It will appreciated by the skilled person that the structure shown in Fig. 1 is only to illustrate, it is not to above-mentioned The structure of electronic installation causes to limit.For example, mobile terminal 10 may also include than shown in Fig. 1 more More either less components have the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, and such as present invention is implemented Programmed instruction/module corresponding to carrier phase recovery method in example, processor 102 are stored by running Software program and module in memory 104, so as to perform at various function application and data Reason, that is, realize above-mentioned method.Memory 104 may include high speed random access memory, may also include non- Volatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile Solid-state memory.In some instances, memory 104 can further comprise relative to processor 102 Remotely located memory, these remote memories can pass through network connection to mobile terminal 10.On State network example include but is not limited to internet, intranet, LAN, mobile radio communication and It is combined.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network is specific Example may include the wireless network that the communication providerses of mobile terminal 10 provide.In an example, Transmitting device 106 includes a network adapter (Network Interface Controller, NIC), It can be connected so as to be communicated with internet by base station with other network equipments.In an example In, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, and it is used to pass through Wireless mode is communicated with internet.
A kind of text maninulation is provided in the present embodiment and performs method, and Fig. 2 is implemented according to the present invention A kind of text maninulation of example performs the flow chart of method, as shown in Fig. 2 the flow comprises the following steps:
Step S202, detect the first press event on the predeterminated position of touch-screen and the first pressing First press pressure value of event;
Step S204, the default text according to corresponding to the first press pressure value determines execution predeterminated position The text maninulation speed of this operation;
Step S206, pre-set text operation is performed according to the text maninulation speed of determination.
Alternatively, above-mentioned text maninulation performs method and can be, but not limited to be applied to perform text maninulation In scene.Such as:Enter the scene of edlin on touch apparatus to text.
Alternatively, above-mentioned text maninulation performs method and can be, but not limited to be applied to the end with touch-screen End, such as:Mobile phone, tablet personal computer, notebook computer, desktop computer, Intelligent worn device etc..
By above-mentioned steps, detect the first press event on the predeterminated position of touch-screen and first and press First press pressure value of pressure event;According to corresponding to the first press pressure value determines execution predeterminated position Pre-set text operation text maninulation speed;Pre-set text is performed according to the text maninulation speed of determination Operation, it can be seen that, detect the first of the first press event and the first press event using such scheme Press pressure value, determine to perform the speed of text maninulation further according to the first press pressure value, according to determination Speed perform text maninulation, it is thereby achieved that control perform text maninulation when service speed, from And solve the problems, such as in correlation technique it is uncontrollable perform text maninulation when service speed.
In the present embodiment, the predetermined registration operation corresponding to predeterminated position can be, but not limited to include below extremely It is one of few:Directionkeys institute in text suppression operation, touch-screen on touch-screen corresponding to text delete key Text entry operation in corresponding mobile cursor operations, touch-screen corresponding to text entry keys.
In the present embodiment, can be according to the mapping function of press pressure value and text maninulation speed Pressure2SpeedFunction (p) determines text maninulation speed, Pressure2SpeedFunction (p) can be determined according to actual conditions, such as:Customer responsiveness speed condition, skilled user, year Light customer responsiveness speed, then reaction speed is slower for old user, novice users, and Fig. 3 is basis The schematic diagram of the mapping function of the embodiment of the present invention, as shown in figure 3, touch pressure span is 0~1, According to curve, the speed of mapping is 0~2.During this curve of practical application, (this value of multiplying power 25 can be taken To test the refresh rate of example program) determine the number of characters of actual deletion per second.
Alternatively, in above-mentioned steps S204, text maninulation speed is determined according to the first press pressure value The mode of degree can be, but not limited to be one below:
Mode one, it may be determined that the preset pressure value scope that the first press pressure value is fallen into, according to default Range of pressure values obtains the mapping relations of default press pressure value and service speed, further according to default Press pressure value and the mapping relations of service speed determine the corresponding service speed of the first press pressure value.
Such as:Text maninulation is by taking deletion action as an example, and above-mentioned mapping relations are with mapping function Exemplified by Pressure2SpeedFunction (p), wherein, p represents the first press pressure value, such as Fig. 3 In it is shown in solid, mapping function Pressure2SpeedFunction (p) can be, but not limited to be point Section function come realize pressure with delete speed reasonable mapping, it is as follows:
Wherein, p is worked as<During P0, it is divided into two kinds of situations, a kind of situation is not yet to enter through pressure control System delete speed continuous deletion state, now, system after the first character before deleting cursor, The rear of other words is rested on, waits the order further deleted;Another situation is to come into To the state continuously deleted by mapping relations, but because pressure is already less than predetermined threshold P0, this When finger and screen be in partly accepting and partly rejecting state, be unfavorable for the speed that effective control is deleted, therefore return To the state of cursor dwell, it is 0 to delete speed.
As P0 < p < P1, it is more than threshold value P0 and less big state in pressure, now, What is entered is the continuous puncturing pattern of low speed variable-ratio, and pressure is oblique with the mapping relations curve of deletion speed Rate is smaller, is advantageous to size of the user by control pressure, is accurately controlled the speed of deletion, can be with From 0~15 characters per second between freely control.
Work as p>During P1, in pressure soon close to the state of maximum.Now, entrance is at a high speed The continuous puncturing pattern of variable-ratio, pressure and the slope for deleting speed mapping curve are larger, are advantageous to user By the size of control pressure, speed when deleting at a high speed is more accurately controlled, can be from per second 15 Individual character freely controls between 50 characters per second.
Above-mentioned piecewise function can allow user's actual use to control whether speed from origin to experience Parameter constant is improved, such as, if user feels low speed, speed is relative to pressure Rate of change is higher, then can further reduce the slope of low speed segment;If feel that maximum speed is too high Or it is not high enough, the maximum speed and slope of high speed can also be adjusted, solves equation again.
Mode two, it may be determined that the first press pressure value, acquisition press pressure value and service speed are reflected Relation is penetrated, determines that the first press pressure value is corresponding further according to the first press pressure value, and mapping relations Service speed.
Such as:It can use 2 times, 3 bezier curve equations or other curvilinear equations are fitted to replace It is for the mode of piecewise function, percentage speed variation is more smooth and coherent.As shown by the dotted line in fig. 3 Curve, root is it was deduced that lower slope can be obtained in low regime.
Naturally, user is allowed to control the design that speed is complete intuition using the size of pressure, Belong to can quickly acquistion, the technical ability without memory, common example is for example, former game machine Game, if necessary control personage jump scene, when player want jump it is very high when, just Can more great dynamicses remove to press corresponding button, it is desirable to when acceleration faster, also can it is unconscious more The button that the pressing of great dynamicses accelerates.Therefore, the solution of the present invention belongs to more excellent compared to other schemes Scheme.
Alternatively, in above-mentioned steps S202, the press pressure to predeterminated position can detected Into the state according to press pressure value speed change when value reaches predetermined value.Such as:It can detect and touch Second press pressure value of the second press event and the second press event on the predeterminated position of screen, judge Whether the second press pressure value is more than preset pressure value, in the case where the judgment result is yes, detection the First press pressure value of one press event and the first press event.
Embodiment 2
A kind of text maninulation performs device is additionally provided in the present embodiment, and the device is above-mentioned for realizing Embodiment and preferred embodiment, repeating no more for explanation was carried out.As used below, Term " module " can realize the combination of the software and/or hardware of predetermined function.Although following examples institute The device of description is preferably realized with software, but hardware, or the reality of the combination of software and hardware Now and may and it be contemplated.
Fig. 4 is a kind of structured flowchart one of text maninulation performs device according to embodiments of the present invention, such as Shown in Fig. 4, the device includes:
1) detection module 42, for detect the first press event on the predeterminated position of touch-screen and First press pressure value of the first press event;
2) determining module 44, coupled to detection module 42, for being determined according to the first press pressure value Perform the text maninulation speed of the pre-set text operation corresponding to predeterminated position;
3) execution module 46, coupled to determining module 44, for the text maninulation speed according to determination Perform pre-set text operation.
Alternatively, above-mentioned text maninulation performs device can be, but not limited to be applied to perform text maninulation In scene.Such as:Enter the scene of edlin on touch apparatus to text.
Alternatively, above-mentioned text maninulation performs device can be, but not limited to be applied to the end with touch-screen End, such as:Mobile phone, tablet personal computer, notebook computer, desktop computer, Intelligent worn device etc..
By said apparatus, detection module detects the first press event on the predeterminated position of touch-screen With the first press pressure value of the first press event;Determining module determines to hold according to the first press pressure value The text maninulation speed of pre-set text operation corresponding to row predeterminated position;Execution module is according to determination Text maninulation speed performs pre-set text operation, it can be seen that, using the pressing of such scheme detection first First press pressure value of event and the first press event, determine to perform further according to the first press pressure value The speed of text maninulation, text maninulation is performed according to the speed of determination, it is thereby achieved that control performs Service speed during text maninulation, so as to solve in correlation technique it is uncontrollable execution text maninulation when Service speed the problem of.
In the present embodiment, the predetermined registration operation corresponding to predeterminated position can be, but not limited to include below extremely It is one of few:Directionkeys institute in text suppression operation, touch-screen on touch-screen corresponding to text delete key Text entry operation in corresponding mobile cursor operations, touch-screen corresponding to text entry keys.
In the present embodiment, can be according to the mapping function of press pressure value and text maninulation speed Pressure2SpeedFunction (p) determines text maninulation speed, Pressure2SpeedFunction (p) can be determined according to actual conditions, such as:Customer responsiveness speed condition, skilled user, year Light customer responsiveness speed, then reaction speed is slower for old user, novice users, and Fig. 3 is basis The schematic diagram of the mapping function of the embodiment of the present invention, as shown in figure 3, touch pressure span is 0~1, According to curve, the speed of mapping is 0~2.During this curve of practical application, (this value of multiplying power 25 can be taken To test the refresh rate of example program) determine the number of characters of actual deletion per second.
Fig. 5 is a kind of structured flowchart two of text maninulation performs device according to embodiments of the present invention, such as Shown in Fig. 5, optionally it is determined that module 44 includes:
1) the first determining unit 52, the preset pressure value model fallen into for determining the first press pressure value Enclose;
2) first acquisition unit 54, coupled to the first determining unit 52, for according to preset pressure value Scope obtains the mapping relations of default press pressure value and service speed;
3) the second determining unit 56, coupled to first acquisition unit 54, for according to default pressing Pressure value and the mapping relations of service speed determine the corresponding service speed of the first press pressure value.
Fig. 6 is a kind of structured flowchart three of text maninulation performs device according to embodiments of the present invention, such as Shown in Fig. 6, optionally it is determined that module 44 includes:
1) the 3rd determining unit 62, for determining the first press pressure value;
2) second acquisition unit 64, coupled to the 3rd determining module 62, for obtaining press pressure value With the mapping relations of service speed;
3) the 4th determining unit 66, coupled to second acquisition unit 64, for being pressed according to the first pressing Force value, and mapping relations determine service speed corresponding to the first press pressure value.
Fig. 7 is a kind of structured flowchart four of text maninulation performs device according to embodiments of the present invention, such as Shown in Fig. 7, alternatively, detection module 42 includes:
1) the first detection unit 72, for detecting the second pressing thing on the predeterminated position of touch-screen Second press pressure value of part and the second press event;
2) judging unit 74, coupled to the first detection unit 72, for judging the second press pressure value Whether preset pressure value is more than;
3) the second detection unit 76, coupled to judging unit 74, for the feelings for being yes in judged result Under condition, the first press pressure value of the first press event and the first press event is detected.
It should be noted that above-mentioned modules can be realized by software or hardware, for The latter, it can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on same processor In;Or above-mentioned module is located in multiple processors respectively.
It is described in detail with reference to alternative embodiment of the present invention.
Alternative embodiment of the present invention provides a kind of text maninulation and performs equipment, and the equipment is by 3 part groups Into, respectively subsystem, pressure touch subsystem, display subsystem.Wherein, master control subsystem System completes the transmitting-receiving of data, processing, response, the control of user's operation, and touch-screen and display etc. Subsystem is uniformly controlled first management;The touch position of pressure touch subsystem responsible subsystem requirement Put the detection with touch pressure size;Display subsystem is responsible for the display of system interface and all the elements.
Alternative embodiment of the present invention additionally provides a kind of text maninulation and performs method.In this alternative embodiment In, text maninulation is exemplified by controlling deletion and cursor movement.This method comprises the following steps:
Step 1, for user when beginning to use the present apparatus, touch-screen is in illuminating state, system interface In common word input state, user can be completed to text by most common touch clicking operation The input of word content
Step 2, when user's discovery input content is wrong, needs to be replaced by other guide, Into the mode of operation for deleting word.
Step 3, now, user will click on the delete key on entering method keyboard, be deleted when user contacts During key, no matter pressure size, delete cursor before a character.
Step 4, hereafter, system enters pressure detecting state, if pressure touch screen report second Press pressure value is that p has been more than preset threshold value P0, then enters and deleted according to pressure size continuous change The state of word, the speed for deleting word use the mapping of press pressure value and speed preset in system Function Pressure2SpeedFunction (p) is determined, and according to the size of pressure p, pressure is got over Greatly, it is faster to delete speed, in the case where finger is without departing from screen, deleting speed can be in 0 character Freely controlled between/the second~~50 character per second (exemplary values, this value for delete the maximum of word speed).
Optionally, system still can be deleted in a manner of old touch duration detection into quick Pattern.
Optionally, system can be entered when the speed of deletion word per second is more than the word number of words of a line Enter the pattern of Delete Entire Row, also, the interval time between deleting every time can be with the every row numbers of words of value t= / speed is deleted, to keep actual speed of deleting, as stationary value, the purpose into Delete Entire Row pattern is to have See the position of deletion clearly beneficial to user, and exit the pattern deleted at a high speed at any time and return to low-speed mode, essence The really last position for stopping deleting of control.
Alternative embodiment of the present invention is illustrated below in conjunction with the accompanying drawings.
Fig. 8 is according to the schematic diagram at the text maninulation of alternative embodiment of the present invention execution interface, such as Fig. 8 It is shown, button 802 is deleted, tuning parameter shows 804, Text Entry 806, inputs cursor 808.
Button 802 is deleted when finger touches, system starts after performing deletion, alternative embodiment of the present invention Text maninulation perform method comprise the following steps:
Step 1, conventional deletion action is responded, deletes a word before input cursor 808.
Step 2, input cursor 808 stops, and system monitors the second press pressure value p size in real time, It is prepared to enter into continuous deletion state.
Step 3, as the touch pressure p of system detectio to user>Before P0, cursor dwell, prepare into Enter continuous deletion state.
Step 4, as the touch pressure p of system detectio to user>After P0, system starts continuous (25 Frame/second, detection is once during per frame refreshing) size of detection pressure p, and according to invention core " pressure x velocity mapping function " Pressure2SpeedFunction (p) calculate current instantaneous delete Except speed (DeleteSpeed) value, it is allowed to which the value is decimal.
Step 5, number of characters should be deleted by instantaneous deletion speed (DeleteSpeed) value being added to total (TotalDelete, it is allowed to which the value removes decimal, 0) the value initial value is.
Step 6, if number of characters should be deleted by amounting to>1, then take total to delete the integer portion of number of characters Number of characters N should be deleted when secondary by being divided into;By the rear N number of character deletion for the word deleted in frame, amounting to should Delete number of characters and be changed into initial value-N, i.e., only retain fractional part, continue back at step 4 detection pressure p.
Step 7, if detecting the touch pressure p when system detectio to user<P0, then it is instantaneous to delete Speed is equal to 0, and cursor stops, and continues back at step 4 detection pressure p.
Step 8, if detecting that user's finger leaves touch-screen, this continuous deletion action process Terminate.
Wherein, step 3- steps 8, in every frame refreshing, order performs once.
For the touch apparatus of no pressure parameter, pressure parameter can also be replaced by using area parameters Etc. mode, reach the effect of the same or like speed control of the above method.
It is mentioned above to replace piecewise function using curve matching, such as:Fig. 9 is according to this hair The schematic diagram for the matched curve that the text maninulation of bright alternative embodiment performs, as shown in figure 9, fitting please The search expression is asked to be:Exp fit { { 0.15,0 }, { 0.75,0.6 }, { 1,2 } }, it can obtain using same The acceleration fitting difference curve of sample reference point is as follows:
Pressure2SpeedFunction (p)=0.0155394e^ (4.85815p)
It can be seen that more approximate and smooth curve can be obtained to control deletion speed.If examine Consider the performance impact that the amount of calculation difference of various functions is brought, then the linear equation for selecting more to be segmented comes It can also reach the effect with curve approximation instead of curvilinear equation.
In summary, the text maninulation provided using the embodiment of the present invention and alternative embodiment performs method And device, service speed when control performs text maninulation is realized, so as to solve in correlation technique The problem of uncontrollable service speed when performing text maninulation, without increasing additional attachments, without additional The increase of cost, and operate more intuitively and conveniently.
The above embodiments are merely illustrative of the technical solutions of the present invention rather than is limited, this area Those of ordinary skill technical scheme can be modified or equivalent substitution, without de- From the spirit and scope of the present invention, protection scope of the present invention should be to be defined described in claim.
Embodiment 3
Through the above description of the embodiments, those skilled in the art can be understood that root The mode of required general hardware platform can be added by software according to the method for above-described embodiment to realize, when So can also be by hardware, but the former is more preferably embodiment in many cases.Based on such reason Solution, the part that technical scheme substantially contributes to prior art in other words can be with soft The form of part product embodies, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) in, including some instructions are make it that a station terminal equipment (can To be mobile phone, computer, server, or network equipment etc.) perform each embodiment institute of the present invention The method stated.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, on State storage medium and can be configured to the program code that storage is used to perform following steps:
S1, detect the of the first press event on the predeterminated position of touch-screen and the first press event One press pressure value;
S2, what the pre-set text according to corresponding to the first press pressure value determines execution predeterminated position operated Text maninulation speed;
S3, pre-set text operation is performed according to the text maninulation speed of determination.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, only Read memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
Alternatively, in the present embodiment, processor is held according to the program code stored in storage medium The method and step that row above-described embodiment is recorded.
Alternatively, the specific example in the present embodiment may be referred to above-described embodiment and optional embodiment Described in example, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step It can be realized with general computing device, they can be concentrated on single computing device, or It is distributed on the network that multiple computing devices are formed, alternatively, they be able to can be held with computing device Capable program code realizes, it is thus possible to be stored in storage device by computing device Lai Perform, and in some cases, can be shown or described to be performed different from order herein Step, they are either fabricated to each integrated circuit modules respectively or by multiple moulds in them Block or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any spy Fixed hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention God any modification, equivalent substitution and improvements made etc., should be included in the present invention with principle Protection domain within.

Claims (10)

1. a kind of text maninulation performs method, it is characterised in that including:
The first press event and described first detected on the predeterminated position of touch-screen is pressed First press pressure value of pressure event;
According to corresponding to the first press pressure value determines the execution predeterminated position The text maninulation speed of pre-set text operation;
The pre-set text operation is performed according to the text maninulation speed of determination.
2. according to the method for claim 1, it is characterised in that according to described the One press pressure value determines to perform the pre-set text behaviour corresponding to the predeterminated position The text maninulation speed made includes:
Determine the preset pressure value scope that the first press pressure value is fallen into;
Default press pressure value and operation speed are obtained according to the preset pressure value scope The mapping relations of degree;
According to determining the mapping relations of the default press pressure value and service speed The service speed corresponding to first press pressure value.
3. according to the method for claim 1, it is characterised in that according to described the One press pressure value determines to perform the institute of the pre-set text operation in the predeterminated position Stating text maninulation speed includes:
Determine the first press pressure value;
Obtain the mapping relations of press pressure value and service speed;
Described first is determined according to the first press pressure value, and the mapping relations The service speed corresponding to press pressure value.
4. according to the method for claim 1, it is characterised in that detection is described First press event and first pressing on the predeterminated position of touch-screen The first press pressure value of event includes:
Detect the second press event on the predeterminated position of the touch-screen and described The second press pressure value of second press event;
Judge whether the second press pressure value is more than preset pressure value;
In the case where the judgment result is yes, first press event and described the are detected The first press pressure value of one press event.
5. method according to any one of claim 1 to 4, it is characterised in that Predetermined registration operation corresponding to the predeterminated position includes at least one of:The touch-screen Directionkeys institute is right in text suppression operation, the touch-screen corresponding to upper text delete key Text input in the mobile cursor operations answered, the touch-screen corresponding to text entry keys Operation.
A kind of 6. text maninulation performs device, it is characterised in that including:
Detection module, for detecting the first press event on the predeterminated position of touch-screen With the first press pressure value of first press event;
Determining module, for being determined to perform described preset according to the first press pressure value The text maninulation speed of pre-set text operation corresponding to position;
Execution module, it is described default for being performed according to the text maninulation speed of determination Text maninulation.
7. device according to claim 6, it is characterised in that the determination mould Block includes:
First determining unit, the default pressure fallen into for determining the first press pressure value Force value scope;
First acquisition unit, for obtaining default press according to the preset pressure value scope The mapping relations of pressure pressure value and service speed;
Second determining unit, for according to the default press pressure value and service speed Mapping relations determine the service speed corresponding to the first press pressure value.
8. device according to claim 6, it is characterised in that the determination mould Block includes:
3rd determining unit, for determining the first press pressure value;
Second acquisition unit, for obtaining the mapping relations of press pressure value and service speed;
4th determining unit, for according to the first press pressure value, and described reflect The relation of penetrating determines the service speed corresponding to the first press pressure value.
9. device according to claim 6, it is characterised in that the detection mould Block includes:
First detection unit, for detecting on the predeterminated position of the touch-screen The second press pressure value of second press event and second press event;
Judging unit, for judging whether the second press pressure value is more than preset pressure Value;
Second detection unit, in the case where the judgment result is yes, detection described the The first press pressure value of one press event and first press event.
10. the device according to any one of claim 6 to 9, it is characterised in that Predetermined registration operation corresponding to the predeterminated position includes at least one of:The touch-screen Directionkeys institute is right in text suppression operation, the touch-screen corresponding to upper text delete key Text input in the mobile cursor operations answered, the touch-screen corresponding to text entry keys Operation.
CN201610302296.1A 2016-05-09 2016-05-09 Text maninulation performs method and device Pending CN107357509A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610302296.1A CN107357509A (en) 2016-05-09 2016-05-09 Text maninulation performs method and device
PCT/CN2016/086445 WO2017193456A1 (en) 2016-05-09 2016-06-20 Method and device for performing text manipulation operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610302296.1A CN107357509A (en) 2016-05-09 2016-05-09 Text maninulation performs method and device

Publications (1)

Publication Number Publication Date
CN107357509A true CN107357509A (en) 2017-11-17

Family

ID=60266113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610302296.1A Pending CN107357509A (en) 2016-05-09 2016-05-09 Text maninulation performs method and device

Country Status (2)

Country Link
CN (1) CN107357509A (en)
WO (1) WO2017193456A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268162A (en) * 2021-06-02 2021-08-17 广州绿怡信息科技有限公司 Screen replacement detection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068721A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Operation menu display method and terminal
CN105183227A (en) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 Character deletion method and device and electronic equipment
CN105373309A (en) * 2015-11-26 2016-03-02 努比亚技术有限公司 Text selection method and mobile terminal
CN105824459A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Text reproducing and pasting method and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8059101B2 (en) * 2007-06-22 2011-11-15 Apple Inc. Swipe gestures for touch screen keyboards
CN103970460A (en) * 2013-01-30 2014-08-06 三星电子(中国)研发中心 Touch screen-based operation method and terminal equipment using same
JP6171998B2 (en) * 2014-03-14 2017-08-02 ソニー株式会社 Information processing apparatus, input apparatus, information processing method, and program
CN105404444B (en) * 2015-11-26 2019-07-05 广州华多网络科技有限公司 Cursor-moving method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068721A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Operation menu display method and terminal
CN105183227A (en) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 Character deletion method and device and electronic equipment
CN105373309A (en) * 2015-11-26 2016-03-02 努比亚技术有限公司 Text selection method and mobile terminal
CN105824459A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Text reproducing and pasting method and mobile terminal

Also Published As

Publication number Publication date
WO2017193456A1 (en) 2017-11-16

Similar Documents

Publication Publication Date Title
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
CN105824875B (en) A kind of photo be shared method and mobile terminal
US11258810B2 (en) Identity authentication method, apparatus, and system
CN102780653B (en) Quick method, client and the system communicated in instant messaging
CN108363593A (en) Application program preloads method, apparatus, storage medium and terminal
CN112000269B (en) Screen opening method and device and electronic equipment
CN110955370A (en) Switching method and device of skill control in game and touch terminal
CN106775087A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN105677199A (en) Inputting method and device based on pressure touch
CN112516583A (en) Data processing method and device in game and electronic terminal
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN108122161A (en) A kind of Method of Commodity Recommendation, device, terminal and readable storage medium storing program for executing
CN106708357A (en) Screen brightness regulating method and electronic device
CN107943388A (en) Information deletion method and device
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN112817676B (en) Information processing method and electronic device
CN107357509A (en) Text maninulation performs method and device
CN108769149B (en) Application partition processing method and device and computer readable storage medium
JP2016538613A (en) Interface function analysis and display method, apparatus, and computer storage medium
CN104331214B (en) Information processing method and electronic equipment
CN107807779A (en) A kind of touch operation method and device
CN104007916B (en) A kind of information processing method and electronic equipment
CN108021313B (en) Picture browsing method and terminal
CN112506407B (en) File sharing method and device
CN105530529B (en) Quick application control method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117