CN109324750A - Mobile terminal character edit methods and device - Google Patents

Mobile terminal character edit methods and device Download PDF

Info

Publication number
CN109324750A
CN109324750A CN201811087099.8A CN201811087099A CN109324750A CN 109324750 A CN109324750 A CN 109324750A CN 201811087099 A CN201811087099 A CN 201811087099A CN 109324750 A CN109324750 A CN 109324750A
Authority
CN
China
Prior art keywords
character
touch control
control operation
editing interface
sliding
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
CN201811087099.8A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Tianjin ByteDance Technology Co Ltd
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 Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201811087099.8A priority Critical patent/CN109324750A/en
Publication of CN109324750A publication Critical patent/CN109324750A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application proposes a kind of mobile terminal character edit methods and device, wherein, method includes: when character editing interface gets touch control operation, determine the attribute information of touch control operation, if the attribute information of touch control operation meets the first preset condition, then determine that touch control operation is character selection operation, record sliding initial position and the sliding end position of touch control operation, according to the location information of character each in character editing interface, the sliding initial position of touch control operation and sliding end position, the target character that touch control operation is chosen is determined.Thus, when determining that touch control operation is character selection operation by the attribute information according to touch control operation, according to the location information of character each in character editing interface, the sliding initial position of touch control operation and sliding end position, determine the target character chosen, it realizes and character selection can be realized by simple touch-control slide, it is easy to operate, convenient, it is high-efficient.

Description

Mobile terminal character edit methods and device
Technical field
This application involves technical field of mobile terminals more particularly to a kind of mobile terminal character edit methods and device.
Background technique
With the development of mobile terminal technology, also may be implemented to replicate character at present in the terminal, shear, The edit operations such as stickup.It needs first to select character when carrying out aforesaid operations, in the related technology, usually passes through pressing behaviour first Make, to start text choice box, and then selects character by the both ends of sliding textbox, the character of selection is cut again later The operation such as cut, replicate.
As it can be seen that need just complete the editor of character in the related technology by multi-pass operation, operating process is cumbersome, efficiency It is low.
Summary of the invention
The embodiment of the present application proposes a kind of mobile terminal character edit methods and device, is moving in the related technology for solving The problem of method that dynamic terminal edits character, operating process is cumbersome, low efficiency.
The embodiment of the present application proposes a kind of mobile terminal character editing device.
The embodiment of the present application proposes a kind of electronic equipment.
The embodiment of the present application proposes a kind of computer readable storage medium.
The application one side embodiment proposes a kind of mobile terminal character edit methods, comprising:
When character editing interface gets touch control operation, the attribute information of the touch control operation is determined, wherein the touching The attribute information of control operation includes at least one of following information: operation object, operating position and glide direction;
If the attribute information of the touch control operation meets the first preset condition, it is determined that the touch control operation is character selection Operation;
Record sliding initial position and the sliding end position of the touch control operation;
According to the location information of each character, the sliding initial position of the touch control operation and cunning in the character editing interface Dynamic end position, determines the target character that the touch control operation is chosen.
The mobile terminal character edit methods of the embodiment of the present application, by getting touch control operation at character editing interface When, the attribute information of touch control operation is determined, if the attribute information of touch control operation meets the first preset condition, it is determined that touch control operation For character selection operation, sliding initial position and the sliding end position of touch control operation are recorded, according to each in character editing interface The location information of character, the sliding initial position of touch control operation and sliding end position, determine the target word that touch control operation is chosen Symbol.When determining that touch control operation is character selection operation by the attribute information according to touch control operation as a result, according to character editing circle The location information of each character, the sliding initial position of touch control operation and sliding end position, determine the target character chosen in face, It realizes and realizes that character selects by simple touch-control slide, it is easy to operate, convenient, it is high-efficient.
The application another aspect embodiment proposes a kind of mobile terminal character editing device, comprising:
First determining module, for determining the category of the touch control operation when character editing interface gets touch control operation Property information, wherein the attribute information of the touch control operation includes at least one of following information: operation object, operating position and Glide direction;
Second determining module, described in determining when the attribute information of the touch control operation meets the first preset condition Touch control operation is character selection operation;
Logging modle, for recording sliding initial position and the sliding end position of the touch control operation;
Third determining module, for according to the location information of each character, the touch control operation in the character editing interface Sliding initial position and sliding end position, determine the target character that the touch control operation is chosen.
The mobile terminal character editing device of the embodiment of the present application, by getting touch control operation at character editing interface When, the attribute information of touch control operation is determined, if the attribute information of touch control operation meets the first preset condition, it is determined that touch control operation For character selection operation, sliding initial position and the sliding end position of touch control operation are recorded, according to each in character editing interface The location information of character, the sliding initial position of touch control operation and sliding end position, determine the target word that touch control operation is chosen Symbol.When determining that touch control operation is character selection operation by the attribute information according to touch control operation as a result, according to character editing circle The location information of each character, the sliding initial position of touch control operation and sliding end position, determine the target character chosen in face, It realizes and character selection can be realized by simple touch-control slide, it is easy to operate, convenient, it is high-efficient.
The application another aspect embodiment proposes a kind of electronic equipment, comprising: memory and processor, wherein described Processor is corresponding with the executable program code to run by reading the executable program code stored in the memory Program, for realizing the mobile terminal character edit methods as described in above-mentioned one side embodiment.
The application another aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes the mobile terminal character editing side as described in above-mentioned one side embodiment when the computer program is executed by processor Method.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of mobile terminal character edit methods provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram at character editing interface provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another mobile terminal character edit methods provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of mobile terminal character editing device provided by the embodiments of the present application;
Fig. 5 is the hardware structural diagram for illustrating the electronic equipment according to the embodiment of the present application;
Fig. 6 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the mobile terminal character edit methods and device of the embodiment of the present application are described.
The embodiment of the present application, for the method edited in the related technology in mobile terminal to character, operating process is numerous The problem of trivial, low efficiency, the embodiment of the present application provides a kind of mobile terminal character edit methods.
The mobile terminal character edit methods of the embodiment of the present application, by getting touch-control behaviour at character editing interface first When making, the attribute information of touch control operation is determined, if the attribute information of touch control operation meets the first preset condition, it is determined that touch-control behaviour As character selection operation, sliding initial position and the sliding end position of touch control operation are then recorded, further according to character editing The location information of each character, the sliding initial position of touch control operation and sliding end position, determine that touch control operation is chosen in interface Target character.When determining that touch control operation is character selection operation by the attribute information according to touch control operation as a result, according to word The location information of each character in editing interface, the sliding initial position of touch control operation and sliding end position are accorded with, what determination was chosen Target character realizes and character selection can be realized by simple touch-control slide, easy to operate, convenient, high-efficient.
Fig. 1 is a kind of flow diagram of mobile terminal character edit methods provided by the embodiments of the present application.
Mobile terminal character edit methods provided by the embodiments of the present application, can be by mobile terminal character provided by the present application Editing device executes, and above-mentioned apparatus is configured in electronic equipment, selects character by touch-control slide to realize.
In the present embodiment, electronic equipment can be mobile terminal such as mobile phone, tablet computer etc. with various operating systems, touching Touch the portable hardware device of screen and/or display screen.
As shown in Figure 1, the mobile terminal character edit methods include:
Step 101, when character editing interface gets touch control operation, the attribute information of touch control operation is determined.
In the present embodiment, character editing interface, which refers to, the character editings operation such as can be selected, be replicated, being sheared, being pasted Interface.When user is when character editing interface carries out touch control operation, mobile terminal character editing device can get touch-control behaviour Make.
Wherein, touch control operation includes clicking operation, pressing operation, slide etc., and the attribute information of touch control operation includes At least one of following information: operation object, operating position and glide direction.
When character editing interface gets touch control operation, the attribute information of touch control operation is determined.For example, when user presses A certain position in character editing interface can then determine that the pressing position is the position of touch control operation.For another example, when user compiles in symbol A certain position performs slide in editing interface, then the operating position of this touch control operation, can be the starting of slide Position, can also include the other positions that the slide passes through, and glide direction can be the length of sliding trace and mobile terminal The angle of side or short side.
Step 102, if the attribute information of touch control operation meets the first preset condition, it is determined that touch control operation is character selection Operation.
After determining the attribute information of touch control operation, whether can meet the first default item according to the attribute information of touch control operation Part judges whether touch control operation is character selection operation.When touch information meets the first preset condition, determine that touch control operation is Character selection operation.
If the operation object of touch control operation is located at character zone for the operating position of cursor and touch control operation, can determine The attribute information of touch control operation meets the first preset condition.Wherein, cursor is used to indicate currently inputs in character editing interface The end position of position or character selection, character zone are the region in character editing interface comprising character.
In practical applications, it can be moved by an icon representation cursor, the icon in character editing interface.When with When family inputs text in character editing interface, icon is movable to after the character being newly entered, i.e., current input position.And When user slides icon, the character in character zone can choose.For example, cunning can be passed through in Fig. 2 in character editing interface It is dynamic to be moved to icon before " with " of " with ", it then slides to the right and is moved to icon after " the selecting " of " selection ", thus It chooses " with direct sliding selection ", at this moment icon is located at the end position of character selection.
Alternatively, if the operating position of touch control operation is located at character zone, and the cunning of the sliding initial position of touch control operation Angle in dynamic direction and character editing interface between the glide direction of character is greater than threshold value, can determine the attribute letter of touch control operation Breath meets the first preset condition.Wherein, in character editing interface the glide direction of character refer to character sliding control area in roll The rotating direction of dynamic item, threshold value can according to need setting, such as can be set to 30 degree, 45 degree etc..
For example, if the glide direction of character is longitudinal direction, then when the glide direction and character of the initial position of touch control operation Glide direction between angle be 90 °, be greater than threshold value, then can determine touch control operation be character selection operation.
Step 103, sliding initial position and the sliding end position of touch control operation are recorded.
In the present embodiment, coordinate system can be established on character editing interface, any position in character editing interface can be with Use coordinate representation.When touch control operation starts, the coordinate information of the sliding initial position of touch control operation is recorded, when touch control operation knot Shu Shi records the coordinate information of the sliding end position of touch control operation.
Step 104, according to the location information of character each in character editing interface, the sliding initial position of touch control operation and cunning Dynamic end position, determines the target character that touch control operation is chosen.
In the present embodiment, according to the sliding initial position of the location information of character each in character editing interface, touch control operation And sliding end position, it can determine the character between the initial position in slide and the end position of slide, These characters are the target character that touch control operation is chosen.
The mobile terminal character edit methods of the embodiment of the present application, by determining touch-control according to the attribute information of touch control operation Whether operation is character selection operation, when determining touch control operation is character selection operation, according to the cunning of the touch control operation of record Dynamic initial position and the location information for sliding end position and each character, determine the character of touch control operation selection, realize logical Touch-control slide selection character is crossed, compared to character is selected by pressing, sliding choice box in the related technology, is operated simpler It is single, convenient, it is high-efficient.
In above-described embodiment, character can choose by touch-control slide, for example, if selection multirow character when, can The row right end is slided into since the initial position of slide, selects the character of next line by slide again later, directly The character of selection in need to having selected.
In order to improve the efficiency of selection character, adjustment character selects speed, in the present embodiment, is determining that touch control operation is word It, can be according between the sliding of the character in the sliding area of touch control operation, with character editing interface control area after according with selection operation Distance, adjust character editing interface in show character selection speed.Wherein, there is control word in character sliding control area Accord with the scroll bar of editing interface sliding.
In the present embodiment, the distance between sliding area and character sliding control area of touch control operation can be pre-established, The corresponding relationship between speed is selected with character, so as to according in the sliding area of touch control operation and character editing interface Character slides the distance between control area, determines that the character of display selects speed.For example, setting touch control operation sliding area with The distance that character slides between control area is smaller, and character selects speed faster, then when user moves in character editing interface When sliding area, then character editing interface can dynamically adjust the selection speed of character.
In practical applications, after choosing target character, it can replicate, paste target character, or by target character The other positions etc. being inserted into character editing interface.It is described in detail below with reference to Fig. 3, Fig. 3 mentions for the embodiment of the present application The flow diagram of another mobile terminal character edit methods supplied.
As shown in figure 3, the mobile terminal character edit methods include:
Step 201, when character editing interface gets touch control operation, the attribute information of touch control operation is determined.
Step 202, if the attribute information of touch control operation meets the first preset condition, it is determined that touch control operation is character selection Operation.
Step 203, sliding initial position and the sliding end position of touch control operation are recorded.
Step 204, according to the location information of character each in character editing interface, the sliding initial position of touch control operation and cunning Dynamic end position, determines the target character that touch control operation is chosen.
In the present embodiment, step 201- step 204 is similar with above-mentioned steps 101- step 104, therefore details are not described herein.
Step 205, if getting the moving operation to target character, whether the end position for detecting moving operation is word Accord with any position in editing interface.
After determining the target character that touch control operation is chosen, if get the moving operation to target character, detection is moved At the end of dynamic operation, whether the end position of moving operation is any position in character editing interface.
It, can be by judging the coordinate information and character editing interface boundary of the end position of moving operation in the present embodiment Coordinate information, determine whether the end position of moving operation is in character editing interface.
Step 206, if the end position of moving operation is any position in character editing interface, target character is moved It moves to the end position of moving operation.
In the present embodiment, when the end position of moving operation is any position in character editing interface, by target word Symbol is moved at the end position of moving operation, that is to say, that by the end position of the target character chosen insertion moving operation Place.
It, can be by all characters after at the end position for being located at moving operation successively as a kind of possible implementation It moves back, so that target character is sequentially inserted into the end position of moving operation, so that rear character, which is presented, avoids mobile character The effect of block.More specifically, by be located at moving operation end position at after all characters move back a character position, will First character in target character is inserted at mobile end position, then by all characters after the first character of insertion A character position is moved back, after second character is inserted into the first character of insertion in target character, until will own Target character insertion is completed.
Alternatively, calculating the quantity for the target character chosen first, later according to the quantity of target character, grasped first by mobile All characters after the end position of work move back the character position of respective numbers, then target character is inserted into moving operation End position.Assuming that the quantity of target character is m, then all characters after moving operation end position are successively moved back m Then target character is sequentially inserted at the end position of moving operation by character position.
In practical applications, during mobile target character, it can can pass through other characters, target character is moved Move the end position of moving operation.In order to not influence other characters, as alternatively possible implementation, in mobile target During character, when there are other characters in the movement routine of target character, other character positions are adjusted so that target character Across other characters, and after target character passes through, other characters are restored to original position.
For example, sharing five line characters in character editing interface, target character is in the third line, when mobile target character passes through When certain characters in the second row, these characters in the second row can be moved up, after target character passes through these characters, then by this A little characters are restored to original position.
In addition, knowing which the target character of insertion has in order to facilitate user, and the start bit for the target character being inserted into It sets and end position, in the present embodiment, the Show Styles of target character can be changed, such as the color or mark of change font are bright, Pattern identical with other characters is adjusted to after showing preset time, then by target character.
Step 207, if the end position of moving operation is not any position in character editing interface, by target character It is deleted from current character editing interface, and target character is stored in the shear plate of mobile terminal.
In the present embodiment, when the end position of moving operation is not any position in character editing interface, i.e. movement is grasped When target character is moved to except character editing interface by work, target character is deleted from current character editing interface, and will Target character is deposited into the shear plate of mobile terminal.It is understood that may be set to be the end position when moving operation When not being any position in character editing interface, target character is deleted from current character editing interface, or by target It is deposited into the shear plate of mobile terminal.
In the present embodiment, by target character after being deleted in current character editing interface, can will be in character editing interface All characters after target character, the character position for the target character quantity that successively moves forward.For example, the quantity of target character is m, In character editing interface when delete target character, by all characters m character position of Forward after target character.
The mobile terminal character edit methods of the embodiment of the present application, by touch control operation be character selection operation when, according to The sliding initial position of touch control operation and the position of sliding end position and each character, determine the target character chosen, When getting the slide to target character, by judging whether the end position of moving operation is appointing for character editing interface One position determines that target character be progress insertion operation, or duplication or shearing manipulation.
That is, the scheme based on the application, user can choose target character by slide, and pass through movement Target character is realized and carries out insertion operation, duplication operation, shearing manipulation etc. to target character.
It is to determine that target character be insertion according to the end position of the moving operation to target character in above-described embodiment Operation or duplication either shearing manipulation.In the present embodiment, it can also be determined according to the moving direction of moving operation to target Character is duplication operation or shearing manipulation.
Specifically, when getting the moving operation to target character, judge the moving direction of moving operation.When movement side When to for first direction, duplication operation is carried out to target character;When moving direction is second direction, shearing behaviour is carried out to character Make.
For example, first direction is vertically to the top of mobile terminal, second direction is vertically to the lower section of mobile terminal.When When target character is mobile to the top of mobile terminal vertically, by the shear plate of target character deposit mobile terminal, duplication is realized Operation;When target character is mobile to the lower section of mobile terminal vertically, target character is deleted from character editing interface, and And by the shear plate of target character deposit mobile terminal, to realize shearing manipulation.
For another example, first direction is that the left, second direction is to the right.When target character to be moved to the left, by target character It is stored in the shear plate of mobile terminal;When target character moves right, target character is deleted from character editing interface, and By the shear plate of target character deposit mobile terminal, shearing manipulation is completed.
It should be noted that first direction and second direction can be set according to actual needs, the present embodiment does not limit this It is fixed.
Based on the above embodiment, after the attribute information of above-mentioned determining touch control operation, if the attribute information of touch control operation Meet the second preset condition, then it will be at the operating position of the character write-in touch control operation in the shear plate of mobile terminal.
When the operating position of touch control operation is any position in character editing interface, and the operating position in preset duration It does not change, it is believed that the attribute information of touch control operation meets the second preset condition.For example, user is at character editing interface The middle a certain position of pressing, then touch-control behaviour can be written in the character in the shear plate of mobile terminal by mobile terminal character editing device At the operating position of work, i.e., the character stored on shear plate is affixed at operating position, to realize paste operation.
In practical applications, in order to realize the diversification of edit operation, in the above-mentioned sliding behaviour got to target character After work, edit control can be shown in the predeterminable area at character editing interface, the operation according to user to edit control, to target word Symbol is edited.Wherein, edit control includes the buttons such as choosing entirely, duplication, shearing, stickup, deletion;Predeterminable area can be according to need It is configured.
For example, if mobile terminal character editing device can be by mesh when user clicks the Copy button on edit control On the shear plate of marking-up symbol deposit mobile terminal.Alternatively, if user clicks " deletion " button, mobile terminal character editing device Target character can be deleted from character editing interface.
As a result, after getting to the slide of target character, edit control is shown in character editing interface, it can be with So that user realizes the operation to target character by the operation to edit control.
Alternatively, just the predeterminated position at character editing interface always show when mobile terminal enters character editing interface Edit control, until mobile terminal quit character editing interface, thus user can at any time be carried out character using edit control The operations such as selection, duplication, stickup.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of mobile terminal character editing device.Fig. 4 is this Apply for a kind of structural schematic diagram for mobile terminal character editing device that embodiment provides.
As shown in figure 4, the mobile terminal character editing device include: the first determining module 310, the second determining module 320, Logging modle 330, third determining module 340.
First determining module 310 is used for when character editing interface gets touch control operation, determines the attribute of touch control operation Information, wherein the attribute information of touch control operation includes at least one of following information: operation object, operating position and sliding side To.
Second determining module 320 is used to determine that touch-control is grasped when the attribute information of touch control operation meets the first preset condition As character selection operation.
Logging modle 330 is used to record sliding initial position and the sliding end position of touch control operation.
Third determining module 340 is used for the sliding of the location information, touch control operation according to character each in character editing interface Initial position and sliding end position, determine the target character that touch control operation is chosen.
In a kind of possible implementation of the embodiment of the present application, above-mentioned second determining module 320 is also used to:
The operation object of touch control operation is located at character zone for the operating position of cursor and touch control operation, and wherein cursor is used In the end position for indicating current input position or character selection in character editing interface;
Alternatively,
The operating position of touch control operation is located at character zone and slides glide direction and the character editing interface of initial position Angle between the glide direction of middle character is greater than threshold value, and wherein the glide direction of character is character sliding control in character editing interface The rotating direction of scroll bar in region processed.
In a kind of possible implementation of the embodiment of the present application, which may also include that
Module is adjusted, for after determining that touch control operation is character selection operation, according to the sliding area of touch control operation, At a distance between the character sliding control area in character editing interface, the character selection speed shown in character editing interface is adjusted Degree.
In a kind of possible implementation of the embodiment of the present application, which may also include that
Detection module, for after determining the target character that the touch control operation is chosen, if getting to target character Moving operation, then whether the end position for detecting moving operation is any position in character editing interface;
First control module, for being any position in character editing interface when the end position for detecting moving operation When, target character is moved at the end position of moving operation.
Second control module detects that the end position of moving operation is not any bit in character editing interface for working as When setting, target character is deleted from current character editing interface, and/or, by the shear plate of target character deposit mobile terminal.
In a kind of possible implementation of the embodiment of the present application, which may also include that
Judgment module, for judging the moving direction of moving operation when getting the moving operation to target character;
Second control module is also used to carry out duplication operation to target character when moving direction is first direction;It is moving When flowing mode is second direction, shearing manipulation is carried out to target character.
In a kind of possible implementation of the embodiment of the present application, the first control module is also used to:
When there are other characters in the movement routine of target character, the position of other characters is adjusted so that target character passes through it His character, and after target character passes through, other characters are restored to original position.
In a kind of possible implementation of the embodiment of the present application, which may also include that
Display module, the predeterminable area after getting the slide to target character, at character editing interface Show edit control;
Editor module edits the target character for the operation according to user to edit control.
In a kind of possible implementation of the embodiment of the present application, above-mentioned first control module is also used to:
All characters after at the end position for being located at slide are successively moved back, so that target character is sequentially inserted into To the end position of slide.
It should be noted that the aforementioned explanation to mobile terminal character edit methods embodiment, is also applied for the reality The mobile terminal character editing device of example is applied, therefore details are not described herein.
The mobile terminal character editing device of the embodiment of the present application, by getting touch control operation at character editing interface When, the attribute information of touch control operation is determined, if the attribute information of touch control operation meets the first preset condition, it is determined that touch control operation For character selection operation, sliding initial position and the sliding end position of touch control operation are recorded, according to each in character editing interface The location information of character, the sliding initial position of touch control operation and sliding end position, determine the target word that touch control operation is chosen Symbol.When determining that touch control operation is character selection operation by the attribute information according to touch control operation as a result, according to character editing circle The location information of each character, the sliding initial position of touch control operation and sliding end position, determine the target character chosen in face, It realizes and character selection can be realized by simple touch-control slide, it is easy to operate, convenient, it is high-efficient.
In order to realize above-described embodiment, the embodiment of the present application also proposes a kind of electronic equipment, comprising: memory and processing Device, wherein the processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for realizing the mobile terminal character edit methods as described in above-described embodiment.
Fig. 5 is the hardware structural diagram for illustrating the electronic equipment according to the embodiment of the present application.Electronic equipment can be with each Kind of form is implemented, and the electronic equipment in the application can include but is not limited to such as mobile phone, smart phone, notebook electricity Brain, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), is led at digit broadcasting receiver The mobile terminal device of boat device, vehicle-mounted terminal equipment, vehicle-mounted display terminal, vehicle electronics rearview mirror etc..
As shown in figure 5, electronic equipment 1100 may include wireless communication unit 1110, A/V (audio/video) input unit 1120, user input unit 1130, sensing unit 1140, output unit 1150, memory 1160, interface unit 1170, control Device 1180 and power supply unit 1190 etc..Fig. 5 shows the electronic equipment with various assemblies, it should be understood that not It is required that implementing all components shown.More or fewer components can alternatively be implemented.
Wherein, wireless communication unit 1110 allows the radio between electronic equipment 1100 and wireless communication system or network Communication.A/V input unit 1120 is for receiving audio or video signal.What user input unit 1130 can be inputted according to user Order generates key input data with the various operations of controlling electronic devices.Sensing unit 1140 detects the current of electronic equipment 1100 State, the position of electronic equipment 1100, user take the presence or absence of touch input of electronic equipment 1100, electronic equipment 1100 Acceleration or deceleration to, electronic equipment 1100 is mobile and direction etc., and generates the operation for being used for controlling electronic devices 1100 Order or signal.Interface unit 1170 be used as at least one external device (ED) connect with electronic equipment 1100 can by connect Mouthful.Output unit 1150 is configured to provide output signal with vision, audio and/or tactile manner.Memory 1160 can be deposited The software program etc. of processing and control operation that storage is executed by controller 1180, or can temporarily store oneself through output or The data that will be exported.Memory 1160 may include the storage medium of at least one type.Moreover, electronic equipment 1100 can be with It cooperates with the network storage device for the store function for executing memory 1160 by network connection.The usually control electricity of controller 1180 The overall operation of sub- equipment.In addition, controller 1180 may include for reproducing or the multi-media module of multimedia playback data. The handwriting input executed on the touchscreen or picture can be drawn input and be known by controller 1180 with execution pattern identifying processing It Wei not character or image.Power supply unit 1190 receives external power or internal power and is provided under the control of controller 1180 Operate electric power appropriate needed for each element and component.
The various embodiments for the mobile terminal character edit methods that the application proposes can be to use such as computer soft The computer-readable medium of part, hardware or any combination thereof is implemented.Hardware is implemented, the mobile terminal word that the application proposes The various embodiments for according with edit methods can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processing Device, microcontroller, microprocessor, is designed to execute at least one of electronic unit of function described herein controller Implement, in some cases, the various embodiments for the mobile terminal character edit methods that the application proposes can control Implement in device 1180.For software implementation, the various embodiments for the mobile terminal character edit methods that the application proposes can be with Implement with the individual software module that allows to execute at least one functions or operations.Software code can be by with any appropriate Software application (or program) that programming language is write is implemented, software code can store in memory 1160 and by Controller 1180 executes.
In order to realize above-described embodiment, the embodiment of the present application proposes a kind of computer readable storage medium, stores thereon There is computer program, the mobile terminal character editor as described in above-described embodiment is realized when which is executed by processor Method.
Fig. 6 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present application.As shown in fig. 6, root According to the computer readable storage medium 800 of the embodiment of the present application, it is stored thereon with computer-readable instruction 801.When the computer When readable instruction 801 is run by processor, the complete of the mobile terminal character edit methods of each embodiment of the application above-mentioned is executed Portion or part steps.
In the description of this specification, in addition, term " first ", " second " etc. are used for description purposes only, and cannot understand For indication or suggestion relative importance or implicitly indicate the quantity of indicated technical characteristic.Define as a result, " first ", The feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present application, " multiples' " contains Justice is at least two, such as two, three etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (11)

1. a kind of mobile terminal character edit methods characterized by comprising
When character editing interface gets touch control operation, the attribute information of the touch control operation is determined, wherein the touch-control is grasped The attribute information of work includes at least one of following information: operation object, operating position and glide direction;
If the attribute information of the touch control operation meets the first preset condition, it is determined that the touch control operation is character selection behaviour Make;
Record sliding initial position and the sliding end position of the touch control operation;
According to the location information of each character, the sliding initial position of the touch control operation and sliding knot in the character editing interface Beam position determines the target character that the touch control operation is chosen.
2. the method as described in claim 1, which is characterized in that the attribute information of the touch control operation meets the first default item Part, comprising:
The operation object of the touch control operation is located at character zone for the operating position of cursor and the touch control operation, wherein institute Cursor is stated for indicating the end position of current input position or character selection in the character editing interface;
Alternatively,
The operating position of the touch control operation be located at character zone and it is described sliding initial position glide direction and the character Angle in editing interface between the glide direction of character is greater than threshold value, wherein in the character editing interface character glide direction The rotating direction of scroll bar in control area is slided for character.
3. the method as described in claim 1, which is characterized in that the determination touch control operation be character selection operation it Afterwards, further includes:
According in the sliding area of the touch control operation, with the character editing interface character slide control area between away from From, adjust shown in the character editing interface character selection speed.
4. the method as described in claim 1, which is characterized in that the target character that the determination touch control operation is chosen it Afterwards, further includes:
If getting the moving operation to the target character, whether the end position for detecting the moving operation is that character is compiled Any position in editing interface;
If so, the target character is moved at the end position of the moving operation;
If it is not, then delete the target character from current character editing interface, and/or, the target character is stored in institute State the shear plate of mobile terminal.
5. the method as described in claim 1, which is characterized in that the target character that the determination touch control operation is chosen it Afterwards, further includes:
If getting the moving operation to the target character, the moving direction of the moving operation is judged;
If the moving direction is first direction, duplication operation is carried out to the target character;
If the moving direction is second direction, shearing manipulation is carried out to the target character.
6. method as claimed in claim 4, which is characterized in that described that the target character is moved to the moving operation At end position, comprising::
When there are other characters in the movement routine of the target character, the position of other characters is adjusted so that the target Character passes through other described characters, and after the target character passes through, other described characters are restored to original position.
7. method as claimed in claim 4, which is characterized in that it is described get to the slide of the target character it Afterwards, further includes:
Predeterminable area at the character editing interface shows edit control;
The target character is edited in operation according to user to the edit control.
8. the method as described in claim 4-7 is any, which is characterized in that described that the target character is moved to the sliding At the end position of operation, comprising:
All characters after at the end position for being located at the slide are successively moved back, so that the target character is successively It is inserted at the end position of the slide.
9. a kind of mobile terminal character editing device characterized by comprising
First determining module, for when character editing interface gets touch control operation, determining that the attribute of the touch control operation is believed Breath, wherein the attribute information of the touch control operation includes at least one of following information: operation object, operating position and sliding Direction;
Second determining module, for determining the touch-control when the attribute information of the touch control operation meets the first preset condition Operation is character selection operation;
Logging modle, for recording sliding initial position and the sliding end position of the touch control operation;
Third determining module, for the cunning according to the location information of each character, the touch control operation in the character editing interface Dynamic initial position and sliding end position, determine the target character that the touch control operation is chosen.
10. a kind of electronic equipment characterized by comprising memory and processor, wherein the processor is by reading institute The executable program code that stores in memory is stated to run program corresponding with the executable program code, with for realizing Such as mobile terminal character edit methods described in any one of claims 1-8.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Such as mobile terminal character edit methods of any of claims 1-8 are realized when processor executes.
CN201811087099.8A 2018-09-18 2018-09-18 Mobile terminal character edit methods and device Pending CN109324750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811087099.8A CN109324750A (en) 2018-09-18 2018-09-18 Mobile terminal character edit methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811087099.8A CN109324750A (en) 2018-09-18 2018-09-18 Mobile terminal character edit methods and device

Publications (1)

Publication Number Publication Date
CN109324750A true CN109324750A (en) 2019-02-12

Family

ID=65264982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811087099.8A Pending CN109324750A (en) 2018-09-18 2018-09-18 Mobile terminal character edit methods and device

Country Status (1)

Country Link
CN (1) CN109324750A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286899A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Edit methods and device, the storage medium of application program display interface
CN111665952A (en) * 2019-03-06 2020-09-15 宋运峰 Input method suitable for touch input equipment and somatosensory input equipment
CN115048030A (en) * 2022-08-12 2022-09-13 广东新空电子科技股份有限公司 Character merging method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799358A (en) * 2012-06-20 2012-11-28 中兴通讯股份有限公司 Method and device for determining display position of cursor
CN105867820A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Text editing method and device for touch screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799358A (en) * 2012-06-20 2012-11-28 中兴通讯股份有限公司 Method and device for determining display position of cursor
CN105867820A (en) * 2016-03-31 2016-08-17 百度在线网络技术(北京)有限公司 Text editing method and device for touch screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665952A (en) * 2019-03-06 2020-09-15 宋运峰 Input method suitable for touch input equipment and somatosensory input equipment
CN110286899A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Edit methods and device, the storage medium of application program display interface
CN110286899B (en) * 2019-06-28 2023-12-15 北京字节跳动网络技术有限公司 Editing method and device for application display interface and storage medium
CN115048030A (en) * 2022-08-12 2022-09-13 广东新空电子科技股份有限公司 Character merging method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106776514B (en) Annotating method and device
US8751921B2 (en) Presenting annotations in hierarchical manner
US5923325A (en) System and method for enhancing conveyed user information relating to symbols in a graphical user interface
US7886228B2 (en) Method and apparatus for storytelling with digital photographs
US6999622B2 (en) Stroke data editing device
CN109324750A (en) Mobile terminal character edit methods and device
CN109085965A (en) Take down notes generation method, electronic equipment and computer storage medium
CN109445657B (en) Document editing method and device
US20120159318A1 (en) Full screen view reading and editing user interface
CN103927107B (en) A kind of information processing method and electronic equipment
CN102591562A (en) Display apparatus and method of providing user interface thereof
JP2009508230A (en) Reading mode for electronic documents
CN104360808A (en) Method and device for editing documents by using symbolic gesture instructions
CN106502493A (en) A kind of multi-screen display method and terminal
CN109215098B (en) Handwriting erasing method and device
CN106776078A (en) Clipboard content processing method and device and terminal equipment
CN109271075A (en) Page elements autoplacement method and device
WO2003090095A1 (en) Insertion of space in a geometric document
CN105760059A (en) Message reading control method and device
US20120014619A1 (en) Image processing device, image processing method and image processing program
CN111833917A (en) Information interaction method, readable storage medium and electronic device
US10175859B2 (en) Method for document navigation using a single-page gesture and a gesture for setting and maintaining a number of pages turned by subsequent gestures
US20170060820A1 (en) Authoring tool including style selector bars for selecting styles for media components
CN105335040B (en) Date switching method, device and mobile terminal
CN106648349A (en) Information displaying 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190515

Address after: Room B0035, 2nd floor, No. 3 Courtyard, 30 Shixing Street, Shijingshan District, Beijing, 100041

Applicant after: BEIJING ZIJIE TIAODONG NETWORK TECHNOLOGY CO., LTD.

Address before: 300000 Tianjin Binhai High-tech Zone Binhai Science Park, No. 39, No. 6 High-tech Road, 9-3-401

Applicant before: Tianjin bytes pulsation Technology Co., Ltd.