CN105117159B - A kind of character processing method and terminal - Google Patents
A kind of character processing method and terminal Download PDFInfo
- Publication number
- CN105117159B CN105117159B CN201510542490.2A CN201510542490A CN105117159B CN 105117159 B CN105117159 B CN 105117159B CN 201510542490 A CN201510542490 A CN 201510542490A CN 105117159 B CN105117159 B CN 105117159B
- Authority
- CN
- China
- Prior art keywords
- treat
- editing area
- pressing operation
- upper screen
- character
- 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.)
- Expired - Fee Related
Links
Abstract
The embodiment of the invention discloses a kind of character processing method and terminal, method therein includes:The pressing operation for treating the input of screen editing area is received, it is described to treat that display needs upper screen character symbol in screen editing area;The pressure value of the pressing operation is detected, judges whether the pressure value of the pressing operation is more than preset pressure threshold value;If so, the slide of screen editing area input is treated in detection for described in, the target sliding trace of the slide is detected;The corresponding relation instructed according to preset sliding trace and character editing, searches the target character edit instruction corresponding to the target sliding trace;For it is described treat to show in upper screen editing area described in treat that upper screen character symbol performs the target character edit instruction found.Using the present invention, the treatment effeciency that terminal treats upper screen character symbol is improved.
Description
Technical field
The present invention relates to field of information processing, more particularly to a kind of character processing method and terminal.
Background technology
With the development of electronic technology, input method function has been increasingly becoming one of common features of electronic equipment.User can
So that using input method input character content, when inputting long sentence, the character of input can be added in input method display interface
Treat screen editing area, if, it is necessary to first pass through long-press when the character that user needs to treat in screen editing area is handled
The startup of the operation triggering edit pattern of pressure, then treats the character of upper screen, then click on selection to need what is performed by selecting frame to choose
Character editing instructs, and causes the selection operation of user cumbersome, reduces the treatment effeciency that terminal treats upper screen character symbol.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of literal processing method and terminal, improves
Terminal treats the treatment effeciency of upper screen character symbol.
In a first aspect, the embodiments of the invention provide a kind of character processing method, methods described includes:
The pressing operation for treating the input of screen editing area is received, it is described to treat that display needs upper screen in screen editing area
Character;
The pressure value of the pressing operation is detected, judges whether the pressure value of the pressing operation is more than preset pressure threshold
Value;
If so, the slide of screen editing area input is treated in detection for described in, the target of the slide is detected
Sliding trace;
The corresponding relation instructed according to preset sliding trace and character editing, is searched corresponding to the target sliding trace
Target character edit instruction;
For it is described treat to show in upper screen editing area described in treat that upper screen character symbol performs the target character found
Edit instruction.
With reference in a first aspect, in the first possible implementation of first aspect, the target character edit instruction
It is described to treat screen editing area for described in delete instruction, duplicate instructions, shearing instruction, transmission instruction or information displaying instruction
The target character edit instruction treated upper screen character symbol execution and found shown in domain, including:
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is treated to carry out in upper screen editing area from described
Delete;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is replicated;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is sheared;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is transmitted;Or
By it is described treat to show in upper screen editing area described in treat that the presupposed information of upper screen character symbol association is shown.
With reference in a first aspect, in second of possible implementation of first aspect, the reception is for treating that screen is compiled
The pressing operation of region input is collected, including:
Receive the pressing operation for shielding the viewing area input that upper screen character symbol is treated described in editing area on described treat;Or
Person,
Receive the pressing operation for the blank viewing area input shielded on described treat in editing area.
With reference in a first aspect, in the third possible implementation of first aspect, the detection pressing operation
Pressure value, judge whether the pressure value of the pressing operation is more than after preset pressure threshold value, detection treats screen for described
The slide of editing area input, before the target sliding trace for detecting the slide, methods described also includes:
If judging, the pressure value of the pressing operation is more than the preset pressure threshold value, judges the pressing operation
Whether operation duration is more than preset duration threshold value;
If so, then performing the detection for the slide for treating the input of screen editing area, the slip is detected
The step of target sliding trace of operation.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, the detection pressing operation
Pressure value, including:
The pressure value of the pressing operation is detected, and shields on described treat in editing area and shows the pressure value.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Receiving module, it is described to treat screen editing area for receiving the pressing operation for treating upper screen editing area input
Middle display needs upper screen character symbol;
First judge module, for detecting the pressure value of the pressing operation, judging the pressure value of the pressing operation is
It is no to be more than preset pressure threshold value;
Detection module, if it is described default to judge that the pressure value of the pressing operation is more than for first judge module
Pressure threshold, for the slide for treating the input of screen editing area, the target for detecting the slide is slided for detection
Track;
Searching modul, for the corresponding relation instructed according to preset sliding trace and character editing, search the target
Target character edit instruction corresponding to sliding trace;
Execution module, for for it is described treat to show in upper screen editing area described in treat that upper screen character symbol performs what is found
The target character edit instruction.
With reference to second aspect, in the first possible implementation of second aspect, the target character edit instruction
To delete instruction, duplicate instructions, shearing instruction, transmission instruction or information displaying instruction;The execution module is specifically used for institute
State treat to show in screen editing area described and treat that upper screen character symbol is treated to be deleted in upper screen editing area from described;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is replicated;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is sheared;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is transmitted;Or
By it is described treat to show in upper screen editing area described in treat that the presupposed information of upper screen character symbol association is shown.
With reference to second aspect, in second of possible implementation of second aspect, the receiving module is specifically used for
Receive the pressing operation for shielding the viewing area input that upper screen character symbol is treated described in editing area on described treat;Or
Receive the pressing operation for the blank viewing area input shielded on described treat in editing area.
With reference to second aspect, in the third possible implementation of second aspect, the terminal also includes:
Second judge module, if it is described to judge that the pressure value of the pressing operation is more than for first judge module
Preset pressure threshold value, then judge whether the operation duration of the pressing operation is more than preset duration threshold value;
If the detection module is judged to grow up during the operation of the pressing operation specifically for second judge module
In the preset duration threshold value, then for the slide for treating the input of screen editing area, detection is described to slide behaviour for detection
The target sliding trace of work.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, first judge module is specific
For detecting the pressure value of the pressing operation, shield on described treat and the pressure value is shown in editing area, and described in judgement
Whether the pressure value of pressing operation is more than preset pressure threshold value.
By implementing the embodiment of the present invention, terminal receives the pressing operation for treating the input of screen editing area, and detection should
The pressure value of pressing operation, judges whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then terminal detection pin
The slide of screen editing area input is treated, detects the target sliding trace of the slide, and according to preset slip
Track and the corresponding relation of character editing instruction, search the target character edit instruction corresponding to target sliding trace, and then soon
Upper screen character symbol performance objective character editing instruction is treated for treat to show in screen editing area promptly, target character editor refers to
Order can be to delete instruction, duplicate instructions, shearing instruction, transmission instruction or information displaying instruction, and improve user uses body
Test, improve the treatment effeciency that terminal treats upper screen character symbol.
Further, after terminal detects the pressure value of pressing operation, and judge that the pressure value of the pressing operation is big
When preset pressure threshold value, terminal determines whether the operation duration of the pressing operation is more than preset duration threshold value, if so,
Terminal just detects the slide for treating the input of screen editing area, so as to search mesh according to the sliding trace of the slide
Marking-up accords with edit instruction, avoids user and touches operation by mistake, improves the accuracy of terminal detection.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of character processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of display interface figure for treating screen editing area provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the second embodiment of character processing method provided in an embodiment of the present invention;
Fig. 4 is the structural representation of the first embodiment of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the second embodiment of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the 3rd embodiment of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims
Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this
Term "and/or" used herein refers to and includes any or all possible group of the list items purpose of one or more mutually bindings
Close.
The embodiments of the invention provide a kind of character processing method and terminal, improves the processing that terminal treats upper screen character symbol
Efficiency.For the ease of understanding the embodiment of the present invention, first the character processing method of the embodiment of the present invention is described below.
Fig. 1 is referred to, is the schematic flow sheet of the first embodiment of character processing method provided in an embodiment of the present invention, should
Method can include but is not limited to following steps.
S101, receive the pressing operation for treating the input of screen editing area, treat in screen editing area that display needs on
Shield character.
In embodiments of the present invention, the region for the character to be sent that screen editing area edits for user is treated, is used
The coded string that family is currently inputted by the input coding character string in interface of input method, input method system according to user, will
It is converted to the word candidate item of inputted character, there is provided is selected to user, wherein, coded string is that input method system is direct
User's input content of reception, user can use arbitrary input medium to carry out the input of coded string, such as keyboard, touch
Touch, audio etc.;User can also use arbitrary input mode, such as phonetic, five, it is stroke, voice, hand-written, the present invention is real
Example is applied to be not especially limited.Terminal receives selection of the user to part word candidate item, so as to the character structure that will have been selected
Upper screen editing area is treated into treating that upper screen character symbol content is shown in, specifically, reference can be made to Fig. 2, is provided in an embodiment of the present invention one
Kind treats the display interface figure of screen editing area, wherein, A treats screen editing area for this, and B is to treat that screen editing area is shown
Treat that upper screen character accords with, treat the word " input method is a kind of coding method " that upper screen character symbol edits for user, C is to treat screen editing area
The viewing area of upper screen character symbol is treated in domain, D is other blank viewing areas for treating screen editing area, and E is to treat screen editing area
The section tail viewing area in domain.Terminal receives the pressing operation that user inputs in a-quadrant.The terminal can include but is not limited to:Intelligence
Can mobile phone (such as Android phone, iOS mobile phones), mobile internet device (MID, Mobile Internet Devices) or
Wearable intelligent equipment etc. possesses the internet device of character input function.The operating body of pressing operation can be user's finger or
Person's capacitance pen etc..
Specifically, the pressing operation can shield on treating treats that the viewing area of upper screen character symbol is triggered in editing area,
Other blank viewing areas in editing area can also be shielded on treating to be triggered, can also shield on treating in editing area and show
The section tail viewing area for treating upper screen character symbol shown is triggered, and the embodiment of the present invention is not especially limited.Reference can be made to Fig. 2, this is pressed
Press operation can be inputted at C, can also be inputted at D, can also be inputted at E.The embodiment of the present invention
Exemplified by being inputted at D.
S103, the pressure value of pressing operation is detected, judge whether the pressure value of pressing operation is more than preset pressure threshold value.
In embodiments of the present invention, terminal detects the pressure value of the pressing operation, and pressure sensor is may be provided with terminal,
Terminal detects user by the pressure sensor and presses pressure value caused by the touch-screen of terminal, and the touch-screen can be pressure-sensitive
Touch-screen.After terminal detects the pressure value of pressing operation, judge whether the pressure value of the pressing operation is more than preset pressure threshold
Value, if so, perform step S105, if it is not, terminal is not responding to the pressing operation, or terminate this flow, the embodiment of the present invention with
Exemplified by terminating this flow.Wherein, the preset pressure threshold value can independently be set by terminal user, can also be given tacit consent to by terminal system
Setting, the embodiment of the present invention are not especially limited.For example, preset pressure threshold value is 1 newton, terminal detects the pressure of pressing operation
Force value is 2 newton, then terminal judges that the pressure value of the pressing operation is more than preset pressure threshold value.
It should be noted that after terminal detects the pressure value of pressing operation, can also be by the pressure value of pressing operation
It is shown in and treats in screen editing area, so that user knows the pressure value of the pressing operation of input, so that user is in pressing
More accurately the pressure value of pressing operation is regulated and controled, is user-friendly so that user is more targeted in pressing.And
Pressure value shields the touch area that viewing area in editing area can be the pressing operation that terminal detects on treating, can be with
To treat other blank viewing areas of upper screen editing area, the embodiment of the present invention is not especially limited.Pressure value shields volume on treating
The display time collected in region can pre-set, such as the display time of pressure value is 1 second.
S105, detection are directed to the slide for treating the input of screen editing area, detect the target sliding trace of slide.
In embodiments of the present invention, after terminal judges that the pressure value of pressing operation is more than preset pressure threshold value, terminal inspection
Chaining pin treats the slide of screen editing area input, and detects the target sliding trace of the slide, wherein, target is slided
Dynamic rail mark can include but is not limited to:S types track, F types track, J-type track, O-shaped track, D types track etc., target sliding trace
The track that can also include sliding to the left along terminal touch screen level, track, the edge slided to the right along terminal touch screen level
Track that terminal touch screen slides straight up, the track slided straight down along terminal touch screen, along terminal touch screen upper left
Angular direction slide track, along terminal touch screen lower-left angular direction slide track, along terminal touch screen upper right angular direction slide
Track, track etc. for being slided along terminal touch screen bottom right angular direction.Reference can be made to Fig. 3, the slide can carry out defeated at C
Enter, can also be inputted at D, can also be inputted at E.The embodiment of the present invention is carried out at D defeated with slide
Exemplified by entering.The embodiment of the present invention is so that the target sliding trace of slide is S types as an example, and the slide equally enters at D
Row input.
Above-mentioned pressing operation can be mutually continuous operation with slide, or separate operation, i.e.,
User is shielded on treating after editing area carries out pressing operation, and what the finger of user can not depart from terminal treats screen editing area
Slide is directly carried out, or, after user shields editing area progress pressing operation on treating, the finger of user departs from terminal
Treat screen editing area, re-start slide.
S107, the corresponding relation instructed according to preset sliding trace and character editing, it is right to search target sliding trace institute
The target character edit instruction answered.
In embodiments of the present invention, the corresponding pass that terminal can be instructed with sliding trace that is preset and storing with character editing
System, in the specific implementation, can be such as:Sliding trace is that corresponding delete in S types track instructs by terminal, is F types track by sliding trace
It is corresponding to send instruction, it is that J-type track corresponds to shearing instruction by sliding trace, sliding trace is sent into instruction for O-shaped track is corresponding,
It is the displaying instruction of D types track corresponding informance by sliding trace;Or terminal by sliding trace be along terminal touch screen level to the left
The track of slip is corresponding to delete instruction, is that the track slided to the right along terminal touch screen level corresponds to duplication and referred to by sliding trace
Order, it is that the track slided straight up along terminal touch screen corresponds to shearing instruction by sliding trace, is along terminal by sliding trace
Corresponding send in track that touch-screen slides straight down instructs, and is to be slided along terminal touch screen upper left angular direction by sliding trace
Track corresponding informance displaying instruction., can be according to above-mentioned preset then after terminal detects the target sliding trace of slide
The instruction of sliding trace and character editing corresponding relation, search the target character edit instruction corresponding to target sliding trace.
For example, terminal detects that the target sliding trace of slide is S types track, then the target word corresponding to S types track is found
Edit instruction is accorded with to instruct to delete.
S109, treat that upper screen character symbol performs the target character editor found and referred to for treat to show in upper screen editing area
Order.
In embodiments of the present invention, terminal treats that upper screen character symbol performs what is found out for treat to show in screen editing area
Target character edit instruction.Specifically, if target character edit instruction instructs to delete, terminal will treat upper screen character symbol from treating
Deleted in screen editing area;Or if target character edit instruction is duplicate instructions, terminal will treat that upper screen character symbol is carried out
Replicate;Or if target character edit instruction is shearing instruction, terminal will treat that upper screen character symbol is sheared;Or if target
Character editing instruction is sends instruction, then terminal will treat that upper screen character symbol is transmitted;Or if target character edit instruction is letter
Breath displaying instructs, then terminal will treat that the presupposed information of upper screen character symbol association is shown.Wherein, with treating that it is pre- that upper screen character symbol associates
If information can be to treat concept corresponding to upper screen character symbol, definition or treat that upper screen character accords with the related content matched according to this.Example
Such as, reference can be made to Fig. 2, if the target character edit instruction that terminal is found out instructs to delete, terminal will treat upper screen character symbol " input
Method is a kind of coding method " from treating to be deleted in upper screen editing area, so as to realize that quick delete treats that upper screen character accords with.
In Fig. 1 inventive embodiments, terminal detects this and pressed according to the pressing operation that screen editing area receives on treating
The pressure value of press operation, judges whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then terminal detection is directed to
The slide of screen editing area input is treated, detects the target sliding trace of the slide, is slided so as to search the target
Target character edit instruction corresponding to track, and then treat that upper screen character symbol performs the mesh for treat to show in screen editing area
Marking-up accords with edit instruction, improves the treatment effeciency that terminal treats upper screen character symbol.
Further, Fig. 3 is referred to, is the flow of the second embodiment of character processing method provided in an embodiment of the present invention
Schematic diagram, this method can include but is not limited to following steps.
S301, receive the pressing operation for treating the input of screen editing area, treat in screen editing area that display needs on
Shield character.
S301 in the embodiment of the present invention can be found in the S101 of embodiment illustrated in fig. 1, and here is omitted.
S303, the pressure value of pressing operation is detected, judge whether the pressure value of pressing operation is more than preset pressure threshold value.
In embodiments of the present invention, terminal detects the pressure value of the pressing operation, and pressure sensor is may be provided with terminal,
Terminal detects user by the pressure sensor and presses pressure value caused by the touch-screen of terminal, and the touch-screen can be pressure-sensitive
Touch-screen.After terminal detects the pressure value of pressing operation, judge whether the pressure value of the pressing operation is more than preset pressure threshold
Value, if so, perform step S305, if it is not, terminal is not responding to the pressing operation, or terminate this flow, the embodiment of the present invention with
Exemplified by terminating this flow.Wherein, the preset pressure threshold value can independently be set by terminal user, can also be given tacit consent to by terminal system
Setting, the embodiment of the present invention are not especially limited.For example, preset pressure threshold value is 1 newton, terminal detects the pressure of pressing operation
Force value is 2 newton, then terminal judges that the pressure value of the pressing operation is more than preset pressure threshold value.
It should be noted that after terminal detects the pressure value of pressing operation, can also be by the pressure value of pressing operation
It is shown in and treats in screen editing area, so that user knows the pressure value of the pressing operation of input, so that user is in pressing
More accurately the pressure value of pressing operation is regulated and controled, is user-friendly so that user is more targeted in pressing.And
Pressure value shields the touch area that viewing area in editing area can be the pressing operation that terminal detects on treating, can be with
To treat other blank viewing areas of upper screen editing area, the embodiment of the present invention is not especially limited.Pressure value shields volume on treating
The display time collected in region can pre-set, such as the display time of pressure value is 1 second.
S305, judges whether the operation duration of pressing operation is more than preset duration threshold value.
In embodiments of the present invention, after terminal judges that the pressure value of pressing operation is more than preset pressure threshold value, terminal is entered
One step judges whether the operation duration of the pressing operation is more than preset duration threshold value, if so, step S307 is performed, if it is not, then eventually
End is not responding to the pressing operation, avoids user's from touching operation by mistake, so as to improve the accuracy of terminal detection, or terminates this stream
Journey, the embodiment of the present invention is exemplified by terminating this flow.Wherein, the preset duration threshold value can independently be set by terminal user,
It can be not especially limited by terminal system default setting, the embodiment of the present invention.For example, preset duration threshold value is 2 seconds, terminal
A length of 3 seconds are detected during the operation of pressing operation, then terminal judges that the operation duration of the pressing operation is more than preset duration
Threshold value.
S307, detection are directed to the slide for treating the input of screen editing area, detect the target sliding trace of slide.
In embodiments of the present invention, if terminal judges that the operation duration of pressing operation is more than preset duration threshold value, eventually
End detection detects the target sliding trace of the slide for treating the slide of screen editing area input, wherein, mesh
Mark sliding trace can include but is not limited to:S types track, F types track, J-type track, O-shaped track, D types track etc., target are slided
Track can also include being the track slided to the left along terminal touch screen level, the rail slided to the right along terminal touch screen level
Mark, the track slided straight up along terminal touch screen, the track slided straight down along terminal touch screen, along terminal touch screen
Track that upper left angular direction is slided, the track slided along terminal touch screen lower-left angular direction, along terminal touch screen upper right angular direction
The track of slip, the track slided along terminal touch screen bottom right angular direction etc..
Above-mentioned pressing operation can be mutually continuous operation with slide, or separate operation, i.e.,
User is shielded on treating after editing area carries out pressing operation, and what the finger of user can not depart from terminal treats screen editing area
Slide is directly carried out, or, after user shields editing area progress pressing operation on treating, the finger of user departs from terminal
Treat screen editing area, re-start slide.
S309, the corresponding relation instructed according to preset sliding trace and character editing, it is right to search target sliding trace institute
The target character edit instruction answered.
S311, treat that upper screen character symbol performs the target character editor found and referred to for treat to show in upper screen editing area
Order.
S309 and S311 in the embodiment of the present invention can be found in the S107 and S109 of embodiment illustrated in fig. 1, no longer superfluous herein
State.
In Fig. 3 inventive embodiments, terminal detects this and pressed according to the pressing operation that screen editing area receives on treating
The pressure value of press operation, judges whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then terminal detection is directed to
The slide of screen editing area input is treated, detects the target sliding trace of the slide, is slided so as to search the target
Target character edit instruction corresponding to track, and then treat that upper screen character symbol performs the mesh for treat to show in screen editing area
Marking-up accords with edit instruction, improves the treatment effeciency that terminal treats upper screen character symbol.Further, when terminal detects pressing operation
Pressure value, and when judging that the pressure value of the pressing operation is more than preset pressure threshold value, terminal determines whether that the pressing is grasped
Whether the operation duration of work is more than preset duration threshold value, if so, terminal just detects the slip for treating the input of screen editing area
Operation, avoid user touches operation by mistake, improves the accuracy of terminal detection.
The above-mentioned method for illustrating the embodiment of the present invention, following for being easy to preferably implement the embodiment of the present invention
Such scheme, correspondingly, the associated terminal for implementing such scheme for coordinating is also provided below.
Fig. 4 is referred to, is the structural representation of the first embodiment of terminal provided in an embodiment of the present invention, terminal 40 is wrapped
Include:Receiving module 401, the first judge module 403, detection module 405, searching modul 407 and execution module 409, wherein,
Receiving module 401, for receiving the pressing operation for treating upper screen editing area input, treat in screen editing area
Display needs upper screen character symbol;
Specifically, receiving module 401 is specifically used for receiving the viewing area on treating shielded and treat upper screen character symbol in editing area
The pressing operation of input;Or
Receive the pressing operation for the blank viewing area input shielded on treating in editing area.
First judge module 403, for detecting the pressure value of pressing operation, judge whether the pressure value of pressing operation is more than
Preset pressure threshold value;
Specifically, the first judge module 403 is specifically used for the pressure value of detection pressing operation, shields on treating in editing area
Pressure value is shown, and judges whether the pressure value of pressing operation is more than preset pressure threshold value.
Detection module 405, if the pressure value for judging pressing operation for the first judge module is more than preset pressure threshold value,
The slide that detection inputs for treating screen editing area, detect the target sliding trace of slide;
Searching modul 407, for the corresponding relation instructed according to preset sliding trace and character editing, search target and slide
Target character edit instruction corresponding to dynamic rail mark;
Execution module 409, for treating that upper screen character symbol performs the target found for treat to show in upper screen editing area
Character editing instructs.
Specifically, target character edit instruction is to delete instruction, duplicate instructions, shearing instruction, transmission instruction or information exhibition
Show instruction;Execution module 409 is specifically used for treating upper screen character symbol from treating upper screen editing area by treat to show in upper screen editing area
In deleted;Or
Treat that upper screen character symbol is replicated by treat to show in upper screen editing area;Or
Treat that upper screen character symbol is sheared by treat to show in upper screen editing area;Or
Treat that upper screen character symbol is transmitted by treat to show in upper screen editing area;Or
The presupposed information for treating upper screen character symbol association for treating to show in upper screen editing area is shown.
It will be appreciated that the function of each functional module of the terminal 40 of the present embodiment can be according to above-mentioned Fig. 1 embodiments of the method
Method specific implementation, here is omitted.
In Fig. 4 inventive embodiments, terminal detects this and pressed according to the pressing operation that screen editing area receives on treating
The pressure value of press operation, judges whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then terminal detection is directed to
The slide of screen editing area input is treated, detects the target sliding trace of the slide, is slided so as to search the target
Target character edit instruction corresponding to track, and then treat that upper screen character symbol performs the mesh for treat to show in screen editing area
Marking-up accords with edit instruction, improves the treatment effeciency that terminal treats upper screen character symbol.
Further, Fig. 5 is referred to, is the structural representation of the second embodiment of terminal provided in an embodiment of the present invention,
Further describe the 26S Proteasome Structure and Function of terminal 40.The terminal 40 includes:Receiving module 401, the first judge module 403, detection mould
Outside block 405, searching modul 407 and execution module 409, in addition to:Second judge module 411, wherein,
Second judge module 411, if judging that the pressure value of pressing operation is more than default pressure for the first judge module 403
Force threshold, then judge whether the operation duration of pressing operation is more than preset duration threshold value.
Judge the operation duration of pressing operation more than default if detection module 405 is specifically used for the second judge module 411
Duration threshold value, then detection are directed to the slide for treating the input of screen editing area, detect the target sliding trace of slide.
It will be appreciated that the function of each functional module of the terminal 40 of the present embodiment can be according to above-mentioned Fig. 3 embodiments of the method
Method specific implementation, here is omitted.
In Fig. 5 inventive embodiments, terminal detects this and pressed according to the pressing operation that screen editing area receives on treating
The pressure value of press operation, judges whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then terminal detection is directed to
The slide of screen editing area input is treated, detects the target sliding trace of the slide, is slided so as to search the target
Target character edit instruction corresponding to track, and then treat that upper screen character symbol performs the mesh for treat to show in screen editing area
Marking-up accords with edit instruction, improves the treatment effeciency that terminal treats upper screen character symbol.Further, when terminal detects pressing operation
Pressure value, and when judging that the pressure value of the pressing operation is more than preset pressure threshold value, terminal determines whether that the pressing is grasped
Whether the operation duration of work is more than preset duration threshold value, if so, terminal just detects the slip for treating the input of screen editing area
Operation, avoid user touches operation by mistake, improves the accuracy of terminal detection.
Fig. 6 is referred to, is the structural representation of the 3rd embodiment of terminal provided by the invention.Wherein, as shown in fig. 6,
Terminal 60 can include:At least one processor 601, such as CPU, at least one bus 602, at least one input unit 603
With at least one output device 604, memory 605.Wherein, bus 602 is used to realize the communication connection between these components;It is defeated
Enter the contact panel of the concretely terminal of device 603, including touch-screen and touch screen, for the behaviour on detection terminal contact panel
Instruct;Output device 604 can include the display screen (Display) of terminal, for exporting, display image or data;Deposit
Reservoir 605 can be high-speed RAM display or non-labile display (non-volatile memory), such as
At least one disk display, memory 605 optionally can also be at least one display for being located remotely from aforementioned processor 601
Device.As shown in fig. 6, as in a kind of memory 605 of Computer display medium can include operating system, network service mould
Block, Subscriber Interface Module SIM and character processing routine.
In the terminal 60 shown in Fig. 6, processor 601 can be used in run memory 605 the character processing journey stored
Sequence, and perform following operate:
The pressing operation inputted for treating upper screen editing area is received by input unit 603, treated in screen editing area
Display needs upper screen character symbol;
The pressure value of pressing operation is detected, judges whether the pressure value of pressing operation is more than preset pressure threshold value;
If so, detection is directed to the slide for treating the input of screen editing area, the target sliding trace of slide is detected;
The corresponding relation instructed according to preset sliding trace and character editing, searches the mesh corresponding to target sliding trace
Marking-up accords with edit instruction;
Treat that upper screen character symbol performs the target character edit instruction found for treat to show in upper screen editing area.
Further, target character edit instruction is to delete instruction, duplicate instructions, shearing instruction, transmission instruction or information
Displaying instruction, processor 601 performs treats that upper screen character symbol performs the target word found for treat to show in screen editing area
Accord with edit instruction the step of can be specially:
Treat upper screen character symbol from treating to be deleted in upper screen editing area by treat to show in upper screen editing area;Or
Treat that upper screen character symbol is replicated by treat to show in upper screen editing area;Or
Treat that upper screen character symbol is sheared by treat to show in upper screen editing area;Or
Treat that upper screen character symbol is transmitted by treat to show in upper screen editing area;Or
The presupposed information for treating upper screen character symbol association for treating to show in upper screen editing area is shown.
Further, processor 601 performed by input unit 603 receive for treat that upper screen editing area inputs by
The step of press operation can be specially:
Receive the pressing operation for shielding the viewing area input that upper screen character symbol is treated in editing area on treating;Or
Receive the pressing operation for the blank viewing area input shielded on treating in editing area.
Further, the pressure value of the perform detection pressing operation of processor 601, judge pressing operation pressure value whether
After the step of preset pressure threshold value, perform detection is directed to the slide for treating the input of screen editing area, and detection is slided
Before the step of target sliding trace of operation, processor 601 is additionally operable to:
If judging, the pressure value of pressing operation is more than preset pressure threshold value, judge pressing operation operation duration whether
More than preset duration threshold value;
If so, then the perform detection of processor 601 is directed to the slide for treating the input of screen editing area, slide is detected
Target sliding trace the step of
Further, the step of pressure value of the perform detection pressing operation of processor 601 can be specially:
The pressure value of pressing operation is detected, and shields on treating in editing area and shows pressure value.
It will be appreciated that the execution step of processor 601 for details, reference can be made to the content of Fig. 1 or Fig. 3 embodiments, here no longer
Repeat.
It should be noted that above-mentioned terminal can include but is not limited to:Smart mobile phone (such as Android phone, iOS mobile phones
Deng), mobile internet device (MID, Mobile Internet Devices) or wearable intelligent equipment etc. possess character input
The internet device of function.
In summary, by implementing the embodiment of the present invention, terminal receives the pressing behaviour for treating the input of screen editing area
Make, detect the pressure value of the pressing operation, judge whether the pressure value of the pressing operation is more than preset pressure threshold value, if so, then
Terminal detection detects the target sliding trace of the slide for treating the slide of screen editing area input, and according to
Preset sliding trace and the corresponding relation of character editing instruction, search the target character editor corresponding to target sliding trace and refer to
Order, and then quickly treat upper screen character symbol performance objective character editing instruction, the target for treat to show in screen editing area
Character editing instruction can be to delete instruction, duplicate instructions, shearing instruction, transmission instruction or information displaying instruction, improve use
The usage experience at family, improve the treatment effeciency that terminal treats upper screen character symbol.
Further, after terminal detects the pressure value of pressing operation, and judge that the pressure value of the pressing operation is big
When preset pressure threshold value, terminal determines whether the operation duration of the pressing operation is more than preset duration threshold value, if so,
Terminal just detects the slide for treating the input of screen editing area, so as to search mesh according to the sliding trace of the slide
Marking-up accords with edit instruction, and avoid user touches operation by mistake, improves the accuracy of terminal detection.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly
Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered scope.
Claims (10)
1. a kind of character processing method, it is characterised in that methods described includes:
The pressing operation for treating the input of screen editing area is received, it is described to treat that display needs upper screen character in screen editing area
Symbol, it is described to treat that screen editing area is the coded string that input method system inputs according to user in interface of input method, by it
The word candidate item of inputted character is converted to, according to selection of the user to part word candidate item, the word that user has been selected
Symbol forms the region for treating that upper screen character symbol content is shown;
The pressure value of the pressing operation is detected, judges whether the pressure value of the pressing operation is more than preset pressure threshold value;
If so, detection, for the slide for treating the input of screen editing area, the target for detecting the slide is slided
Track;
The corresponding relation instructed according to preset sliding trace and character editing, searches the mesh corresponding to the target sliding trace
Marking-up accords with edit instruction;
For it is described treat to show in upper screen editing area described in treat that upper screen character symbol performs the target character editor found
Instruction;
The pressing operation received for treating the input of screen editing area, including:
Receive for the pressing operation for treating to treat the viewing area input of upper screen character symbol described in screen editing area;Or
Receive for the pressing operation for treating other blank viewing area inputs in screen editing area;Or receive and be directed to institute
State the pressing operation for the section tail viewing area input for treating upper screen character symbol for treating to be shown in screen editing area.
2. the method as described in claim 1, it is characterised in that the target character edit instruction refers to delete instruction, replicating
Make, shearing instruction, send instruction or information displaying instruction, it is described for it is described treat to show in screen editing area described treat
Screen character performs the target character edit instruction found, including:
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is treated to be deleted in upper screen editing area from described;
Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is replicated;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is sheared;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is transmitted;Or
By it is described treat to show in upper screen editing area described in treat that the presupposed information of upper screen character symbol association is shown.
3. the method as described in claim 1, it is characterised in that the pressing behaviour received for treating the input of screen editing area
Make, including:
Receive the pressing operation for shielding the viewing area input that upper screen character symbol is treated described in editing area on described treat;Or
Receive the pressing operation for the blank viewing area input shielded on described treat in editing area.
4. the method as described in claim 1, it is characterised in that the pressure value of the detection pressing operation, described in judgement
Whether the pressure value of pressing operation is more than after preset pressure threshold value, and detection is for the slip for treating the input of screen editing area
Operate, before the target sliding trace for detecting the slide, methods described also includes:
If judging, the pressure value of the pressing operation is more than the preset pressure threshold value, judges the operation of the pressing operation
Whether duration is more than preset duration threshold value;
If so, then performing the detection for the slide for treating the input of screen editing area, the slide is detected
Target sliding trace the step of.
5. the method as described in claim 1, it is characterised in that the pressure value of the detection pressing operation, including:
The pressure value of the pressing operation is detected, and shields on described treat in editing area and shows the pressure value.
6. a kind of terminal, it is characterised in that the terminal includes:
Receiving module, it is described to treat to show in screen editing area for receiving the pressing operation for treating upper screen editing area input
It is shown with and treats that upper screen character accords with, it is described to treat that screen editing area is the coding that input method system inputs according to user in interface of input method
Character string, the word candidate item of inputted character is converted into, according to selection of the user to part word candidate item, by user
Selected character forms the region for treating that upper screen character symbol content is shown;
First judge module, for detecting the pressure value of the pressing operation, judge whether the pressure value of the pressing operation is big
In preset pressure threshold value;
Detection module, if the pressure value for judging the pressing operation for first judge module is more than the preset pressure
The slide of screen editing area input is treated in threshold value, detection for described in, detects the target sliding trace of the slide;
Searching modul, for the corresponding relation instructed according to preset sliding trace and character editing, search the target and slide
Target character edit instruction corresponding to track;
Execution module, for for it is described treat to show in upper screen editing area described in treat that upper screen character symbol performs and find described in
Target character edit instruction;
The receiving module is specifically used for:
Receive for the pressing operation for treating to treat the viewing area input of upper screen character symbol described in screen editing area;Or
Receive for the pressing operation for treating other blank viewing area inputs in screen editing area;Or receive and be directed to institute
State the pressing operation for the section tail viewing area input for treating upper screen character symbol for treating to be shown in screen editing area.
7. terminal as claimed in claim 6, it is characterised in that the target character edit instruction refers to delete instruction, replicating
Make, shearing instruction, send instruction or information displaying instruction;The execution module is specifically used for treating described in upper screen editing area
The described of display treats that upper screen character symbol is treated to be deleted in upper screen editing area from described;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is replicated;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is sheared;Or
By it is described treat to show in upper screen editing area described in treat that upper screen character symbol is transmitted;Or
By it is described treat to show in upper screen editing area described in treat that the presupposed information of upper screen character symbol association is shown.
8. terminal as claimed in claim 6, it is characterised in that the receiving module, which is specifically used for receiving shielding on described treat, to be compiled
Collect the pressing operation for the viewing area input that upper screen character symbol is treated described in region;Or
Receive the pressing operation for the blank viewing area input shielded on described treat in editing area.
9. terminal as claimed in claim 6, it is characterised in that the terminal also includes:
Second judge module, if it is described default to judge that the pressure value of the pressing operation is more than for first judge module
Pressure threshold, then judge whether the operation duration of the pressing operation is more than preset duration threshold value;
If the detection module judges that the operation duration of the pressing operation is more than institute specifically for second judge module
Preset duration threshold value is stated, then detection detects the slide for the slide for treating the input of screen editing area
Target sliding trace.
10. terminal as claimed in claim 6, it is characterised in that first judge module is specifically used for detecting the pressing
The pressure value of operation, shield on described treat in editing area and show the pressure value, and judge the pressure value of the pressing operation
Whether preset pressure threshold value is more than.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542490.2A CN105117159B (en) | 2015-08-27 | 2015-08-27 | A kind of character processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510542490.2A CN105117159B (en) | 2015-08-27 | 2015-08-27 | A kind of character processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105117159A CN105117159A (en) | 2015-12-02 |
CN105117159B true CN105117159B (en) | 2017-11-24 |
Family
ID=54665164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510542490.2A Expired - Fee Related CN105117159B (en) | 2015-08-27 | 2015-08-27 | A kind of character processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105117159B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020679A (en) * | 2016-04-29 | 2016-10-12 | 深圳市金立通信设备有限公司 | Input control method and terminal |
TWI633463B (en) * | 2016-06-20 | 2018-08-21 | 鴻海精密工業股份有限公司 | Text input method |
CN106354337A (en) * | 2016-10-21 | 2017-01-25 | 珠海市魅族科技有限公司 | Character deletion method and character deletion device |
CN108062168B (en) * | 2016-11-09 | 2021-10-15 | 北京搜狗科技发展有限公司 | Candidate word screen-on method and device and candidate word screen-on device |
CN107219933A (en) * | 2017-05-10 | 2017-09-29 | 北京百度网讯科技有限公司 | The operation processing method and device of input method, computer equipment and computer-readable recording medium |
CN107885443B (en) * | 2017-09-22 | 2021-02-19 | 创新先进技术有限公司 | Information processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197859A (en) * | 2012-01-09 | 2013-07-10 | 深圳富泰宏精密工业有限公司 | System and method for unlocking screen of electronic device |
CN103970460A (en) * | 2013-01-30 | 2014-08-06 | 三星电子(中国)研发中心 | Touch screen-based operation method and terminal equipment using same |
CN104007914A (en) * | 2013-02-26 | 2014-08-27 | 北京三星通信技术研究有限公司 | Method and device for operating input characters |
CN104063164A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Method and device for screen control |
CN104572602A (en) * | 2014-12-08 | 2015-04-29 | 广州三星通信技术研究有限公司 | Method and device for displaying message |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101691478B1 (en) * | 2011-02-09 | 2016-12-30 | 삼성전자주식회사 | Operation Method based on multiple input And Portable device supporting the same |
-
2015
- 2015-08-27 CN CN201510542490.2A patent/CN105117159B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103197859A (en) * | 2012-01-09 | 2013-07-10 | 深圳富泰宏精密工业有限公司 | System and method for unlocking screen of electronic device |
CN103970460A (en) * | 2013-01-30 | 2014-08-06 | 三星电子(中国)研发中心 | Touch screen-based operation method and terminal equipment using same |
CN104007914A (en) * | 2013-02-26 | 2014-08-27 | 北京三星通信技术研究有限公司 | Method and device for operating input characters |
CN104063164A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Method and device for screen control |
CN104572602A (en) * | 2014-12-08 | 2015-04-29 | 广州三星通信技术研究有限公司 | Method and device for displaying message |
Also Published As
Publication number | Publication date |
---|---|
CN105117159A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105117159B (en) | A kind of character processing method and terminal | |
CN102937864B (en) | A kind of method and apparatus for determining selected text on touch terminal | |
CN104598134B (en) | The fingerprint operating method and system of a kind of mobile terminal | |
CN105183184A (en) | Character processing method and terminal | |
CN102331907A (en) | Character deleting method and device for terminal having touch screen, and terminal | |
CN105045411A (en) | Object control method and terminal | |
CN104571852A (en) | Icon moving method and device | |
CN105138263A (en) | Method and device for jumping to specific page in application | |
CN103235692A (en) | Touch-screen device and method for touch-screen device to select target objects | |
CN105867820A (en) | Text editing method and device for touch screen | |
CN105159567A (en) | Character processing method and terminal | |
CN103500158A (en) | Method and device for annotating electronic document | |
CN105069404A (en) | Method and system for processing fingerprint information | |
CN105094396A (en) | Element deleting method and apparatus based on touch screen | |
CN101685497A (en) | Method and device for processing hand-written information | |
CN103279276B (en) | The method of locating information and device | |
CN104363349A (en) | Short message processing method and portable terminal using same | |
US10140265B2 (en) | Apparatuses and methods for phone number processing | |
CN104077065A (en) | Method for displaying virtual keyboard by touch screen terminal and touch screen terminal | |
CN104267867A (en) | Content input method and device | |
CN103941979B (en) | A kind of method and apparatus for inputting word in a mobile device | |
CN103530041A (en) | Dragging processing method and device and terminal equipment | |
CN109634436A (en) | Association method, device, equipment and the readable storage medium storing program for executing of input method | |
CN105892862A (en) | Rapid editing method and device of screen capture image | |
CN105824694A (en) | Adjustment method and device for resources of applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171124 |
|
CF01 | Termination of patent right due to non-payment of annual fee |