CN108200270A - Terminal control method and device, computer installation and computer readable storage medium - Google Patents

Terminal control method and device, computer installation and computer readable storage medium Download PDF

Info

Publication number
CN108200270A
CN108200270A CN201711385150.9A CN201711385150A CN108200270A CN 108200270 A CN108200270 A CN 108200270A CN 201711385150 A CN201711385150 A CN 201711385150A CN 108200270 A CN108200270 A CN 108200270A
Authority
CN
China
Prior art keywords
terminal
touch control
control operation
text information
double click
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
CN201711385150.9A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711385150.9A priority Critical patent/CN108200270A/en
Publication of CN108200270A publication Critical patent/CN108200270A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

A kind of terminal control method and device, computer installation and computer readable storage medium, by when showing text information in the current display interface of terminal and terminal receives predetermined registration operation control terminal enter text edit mode, in the case where the terminal is in text edit mode, it receives and judges whether the touch control operation on the side of the terminal meets preset condition, if the touch control operation meets preset condition, default edit operation is then carried out to the text information shown in the current display interface of the terminal, the text information that user can show according to the touch control operation on the side of the terminal in the current display interface to the terminal carries out default edit operation, in contrast, optimize the operation of text editing, promote user-interaction experience.

Description

Terminal control method and device, computer installation and computer readable storage medium
Technical field
The present invention relates to electronic technology field, more particularly to a kind of terminal control method and device, computer installation and meter Calculation machine readable storage medium storing program for executing.
Background technology
This part intends to provides background for the embodiments of the present invention stated in claims and specific embodiment Or context.Description herein recognizes it is the prior art not because not being included in this part.
With constantly popularizing for the intelligent terminals such as smart mobile phone, tablet computer, people are using intelligent terminal browsing word Scene it is more and more, and during currently for text into edlin, touch screen is often utilized to carry out the text shown thereon Editor.However, the hand of user easily blocks screen when carrying out edit operation to text using touch screen, caused to text editing Inconvenience affects the interactive experience of user.
Invention content
In view of this, it is necessary to which a kind of terminal control method and device, computer installation and computer-readable storage are provided Medium can optimize text editing operations, promote user-interaction experience.
The present invention provides a kind of terminal control method, and applied to terminal, the terminal control method includes:
If text information is shown in the current display interface of terminal and terminal receives predetermined registration operation, control terminal Into text edit mode;
In the case where the terminal is in text edit mode, the touch control operation on the side of the terminal is received;
Judge whether the touch control operation meets preset condition;
If the touch control operation meets preset condition, to the text information shown in the current display interface of the terminal Carry out default edit operation.
If it is to be appreciated that the touch control operation meets preset condition, to being shown in the current display interface of the terminal The text information shown carries out default edit operation, including at least one of following:
If the touch control operation is double click operation, to certain row in the text information corresponding to the double click operation Font type, font size, line-spacing or the color of word are changed;Or
If the touch control operation is the double click operation for the left side of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are increased;Or
If the touch control operation is the double click operation for the right edge of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are reduced;Or
If the touch control operation is multiple double click operation, in the text information corresponding to each double click operation The font size or line-spacing of certain style of writing word perform change corresponding with the double click operation.
If it is to be appreciated that the touch control operation meets preset condition, to being shown in the current display interface of the terminal The text information shown carries out default edit operation, including at least one of following:
If the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value, to corresponding to touch control operation Strikethrough is deleted, is highlighted or added to certain style of writing word in the text information;Or
If the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold value, Then strikethrough is deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation; Or
If the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold value, It then unerased to certain style of writing word in the text information corresponding to touch control operation, cancel and be highlighted or cancel Add strikethrough.
If it is to be appreciated that the touch control operation meets preset condition, to being shown in the current display interface of the terminal The text information shown carries out default edit operation, including at least one of following:
If the touch control operation is the slide to the first preset direction for terminal left side, by described to the The cursor in certain style of writing word in the text information corresponding to the slide of one preset direction is moved to the left;
If the touch control operation is the slide to the first preset direction for terminal right edge, by described to the The cursor in certain style of writing word in the text information corresponding to the slide of one preset direction moves right.
If it is to be appreciated that the touch control operation meets preset condition, to being shown in the current display interface of the terminal The text information shown carries out default edit operation, including at least one of following:
If the touch control operation be for terminal left side the slide to the second preset direction, choose it is described to Style of writing word on the left of the cursor in certain style of writing word in the text information corresponding to the slide of second preset direction;
If the touch control operation be for terminal right edge the slide to the second preset direction, choose it is described to Style of writing word on the right side of the cursor in certain style of writing word in the text information corresponding to the slide of second preset direction.
The present invention provides a kind of terminal control mechanism, and applied to terminal, the terminal control mechanism includes:
Control module is detected, if for showing text information in the current display interface of terminal and terminal receives Predetermined registration operation, then control terminal enter text edit mode;
Receiving module, under the text edit mode, receiving the touch control operation on the terminal side;
Judgment module, for judging whether the touch control operation meets preset condition;
Editor module, if meeting preset condition for the touch control operation, in the current display interface of the terminal The text information of display carries out default edit operation.
If it is to be appreciated that the touch control operation meets preset condition, to the current display interface of the terminal The text information of upper display carries out default edit operation, including at least one of following:
If the touch control operation is double click operation, to certain row in the text information corresponding to the double click operation Font type, font size, line-spacing or the color of word are changed;Or
If the touch control operation is the double click operation for the left side of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are increased;Or
If the touch control operation is the double click operation for the right edge of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are reduced;Or
If the touch control operation is multiple double click operation, in the text information corresponding to each double click operation The font size or line-spacing of certain style of writing word perform change corresponding with the double click operation.
If it is to be appreciated that the touch control operation meets preset condition, to being shown in the current display interface of the terminal The text information shown carries out default edit operation, including at least one of following:
If the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value, to corresponding to touch control operation Strikethrough is deleted, is highlighted or added to certain style of writing word in the text information;Or
If the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold value, Then strikethrough is deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation; Or
If the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold value, It then unerased to certain style of writing word in the text information corresponding to touch control operation, cancel and be highlighted or cancel Add strikethrough.
The present invention provides a kind of computer installation, and the computer installation includes processor, and the processor is used to perform It is realized during the computer program stored in memory as described in above-mentioned any one the step of terminal control method.
The present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the computer program It is realized when being executed by processor as described in above-mentioned any one the step of terminal control method.
Terminal control method and device provided by the invention, computer installation and computer readable storage medium, by It shows text information in the current display interface of terminal and control terminal enters text volume when terminal receives predetermined registration operation The pattern of collecting, in the case where the terminal is in text edit mode, receives and judges that the touch control operation on the side of the terminal is It is no to meet preset condition, if the touch control operation meets preset condition, to what is shown in the current display interface of the terminal Text information carries out default edit operation, so as to be worked as according to the touch control operation on the side of the terminal to the terminal The text information shown on preceding display interface carries out default edit operation, in contrast, optimizes the operation of text editing, is promoted User-interaction experience.
Description of the drawings
Fig. 1 is the terminal control method flow diagram of first embodiment of the invention;
Fig. 2 is the terminal control method flow diagram of second embodiment of the invention;
Fig. 3 is the terminal control method flow diagram of third embodiment of the invention;
Fig. 4 is the terminal control method flow diagram of four embodiment of the invention;
Fig. 5 is the structure diagram of the terminal of an embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of an embodiment of the present invention.
Main element symbol description
Terminal 1
Memory 10
Processor 20
Display screen 30
Detect control module 11
Receiving module 12
Judgment module 13
Editor module 14
Following specific embodiment will be further illustrated the present invention with reference to above-mentioned attached drawing.
Specific embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Applying mode, the present invention will be described in detail.It should be noted that in the absence of conflict, presently filed embodiment and reality Applying the feature in mode can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, described embodiment The only embodiment of a part of embodiment of the invention rather than whole.Based on the embodiment in the present invention, this field The every other embodiment that those of ordinary skill is obtained without making creative work, belongs to guarantor of the present invention The range of shield.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The normally understood meaning of technical staff is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Terminal control method flow diagrams of the Fig. 1 for first embodiment of the invention, the terminal control method application In terminal, the terminal can be that the intelligence such as smart mobile phone, laptop, desk-top/tablet computer, smartwatch is set It is standby.
As shown in Figure 1, the terminal control method may include steps of:
101:If showing text information in the current display interface of terminal and terminal receiving predetermined registration operation, control Terminal enters text edit mode.
In present embodiment, the current display interface can include in system interface or application interface, such as setting Application interface or browsing device net page interface etc. are read in heart interface, social networking application interface, consulting.The predetermined registration operation is persistently presses Pressure reaches the pressing operation of preset duration, it is possible to understand that and ground, the predetermined registration operation are not limited to the specific pressing mode of pressing operation, Pressing operation is not limited to, can also be touch control type operation or gesture operation, such as slide, clicking operation, pressing behaviour Make.The predetermined registration operation can not also be limited to the position of concrete operations, such as the position of the predetermined registration operation can be the end The touch area of screen side at end or the touch area of side.In other embodiments, the predetermined registration operation is also not necessarily limited to The duration of operation, such as preset duration is pressed with the pressure of preset range.The text information can be different types of word, Number, letter, symbol etc..
102:Receive the touch control operation on the side of the terminal.
In present embodiment, the side is not limited to the side of the terminal acquiescence, when the side can be vertical screen The current display interface is to current display interface when corresponding side or transverse screen to corresponding side.It is described Touch control operation is the operation for clicking preset times, it is possible to understand that ground, the touch control operation include clicking operation, slide, press Press operation.
103:Judge whether the touch control operation meets preset condition, if it is, performing step 104, otherwise continue to hold This step of row terminates flow.
In present embodiment, the terminal storage has touch-control relation list, and the touch-control relation list has recorded described touch Control operation and the correspondence of the preset condition, after the terminal obtains the touch control operation, by the touch control operation with Preset condition in the touch-control relation list compares, if matched, judges that the touch control operation meets preset condition. The touch-control relation list can be that the terminal system is pre-stored or user's sets itself.
104:Default edit operation is carried out to the text information shown in the current display interface of the terminal.
In present embodiment, the preset edit operation is certain the style of writing word chosen in the text information.It can manage Xie Di, the mode of the edit operation are not limited to certain style of writing word chosen in the text information in present embodiment, example Such as, it can also be certain the style of writing word replicated in the text information.
Present embodiment provide terminal control method by shown in current display interface text information and eventually Termination receives predetermined registration operation, then control terminal enters text edit mode, in the case where the terminal is in text edit mode, is connecing If judge that the touch control operation meets preset condition after receiving the touch control operation on the side of the terminal, to the end The text information shown in the current display interface at end carries out default edit operation, so as to according on the side of the terminal Touch control operation carries out default edit operation come the text information shown in the current display interface to the terminal, avoids user Hand the shortcomings that easily blocking screen, in contrast, optimize the operation of text editing, promote user-interaction experience.
Fig. 2 is the terminal control method flow diagram of second embodiment of the invention.The second embodiment with The main distinction of first embodiment is that second embodiment further comprises change pair when the touch control operation is double click operation The step of font type, font size, line-spacing or color of certain word of composing a piece of writing in the text information answered.Need what is illustrated It is, in the range of the spirit or essential attributes of the embodiment of the present invention, each concrete scheme suitable for first embodiment Can be accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition, details are not described herein again.
As shown in Fig. 2, the terminal control method may include steps of:
201:If showing text information in the current display interface of terminal and terminal receiving predetermined registration operation, control Terminal enters text edit mode.
202:Receive the touch control operation on the side of the terminal.
203:Judge whether the touch control operation is double click operation, if it is, performing step 204, otherwise continue to execute This step terminates flow.
204:Font type, font to certain style of writing word in the text information corresponding to the double click operation is big Small, line-spacing or color are changed.
In present embodiment, certain style of writing word in the text information corresponding to the double click operation includes current display Cursor position on interface corresponds to a line.It is to be appreciated that certain described style of writing word can also be certain section of word.It is appreciated that Ground is not limited to body type, font size, line-spacing or color to the change of certain style of writing word in the text information, at least may be used also To be overstriking, inclination, the change of spacing.In other embodiments, step 203 can also be following corresponding with step 204 At least one of:
If the touch control operation is the double click operation for the left side of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are increased;
If the touch control operation is the double click operation for the right edge of terminal, to the institute corresponding to the double click operation The font size or line-spacing for stating certain style of writing word in text information are reduced;
If the touch control operation is multiple double click operation, in the text information corresponding to each double click operation The font size or line-spacing of certain style of writing word perform change corresponding with the double click operation.
The terminal control method that present embodiment provides, in addition to the technique effect with first embodiment, further comprises After detecting that predetermined registration operation enters text edit mode, however, it is determined that the touch control operation then changes corresponding described for double click operation The means of certain style of writing font type of word, font size, line-spacing or color in text information so that user can be according in institute The text information for stating the touch control operation on the side of terminal to show in the current display interface to the terminal carries out diversification Edit operation, while the shortcomings that the hand for avoiding user easily blocks screen, in contrast, optimize the behaviour of text editing Make, promote user-interaction experience.
Fig. 3 is the terminal control method flow diagram of third embodiment of the invention.The third embodiment with The main distinction of first embodiment is, if third embodiment, which further includes, judges the touch control operation corresponding pressure value More than or equal to preset pressure threshold value, then certain style of writing word in the text information corresponding to touch control operation is deleted, The step of being highlighted or adding strikethrough.It should be noted that the model of the spirit or essential attributes in the embodiment of the present invention In enclosing, each concrete scheme suitable for first embodiment can also be accordingly suitable for third embodiment, to save Length and for the sake of avoiding repetition, details are not described herein again.
As shown in figure 3, the terminal control method may include steps of:
301:If showing text information in the current display interface of terminal and terminal receiving predetermined registration operation, control Terminal enters text edit mode.
302:Receive the touch control operation on the side of the terminal.
303:Judge the touch control operation corresponding pressure value whether be greater than or equal to preset pressure threshold value, if greater than or It is equal to, then performs step 304, otherwise continue to execute this step or terminates flow.
304:Certain style of writing word in the text information corresponding to touch control operation is deleted, is highlighted or added Add strikethrough.
In present embodiment, what the preset pressure threshold value can be that system carries can also be that user is voluntarily set. Touch control operation on the side can be the left/right side for acting on the terminal.It is to be appreciated that step 303 is simultaneously It is not limited to judge whether the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value, can also be described in judgement Whether the corresponding operation duration of touch control operation is greater than or equal to preset time threshold or judges the corresponding behaviour of the touch control operation Make whether number is preset number of operations.It is to be appreciated that step 304 is not limited to the word corresponding to touch control operation Strikethrough is deleted, is highlighted or added to certain style of writing word in information or to the institute corresponding to touch control operation State certain row/section word addition underscore, frame or color mark in text information.
In other embodiments, step 303 and step 304 can also include following at least one of corresponding:
If the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold value, Then strikethrough is deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation;
If the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold value, It then unerased to certain style of writing word in the text information corresponding to touch control operation, cancel and be highlighted or cancel Add strikethrough.
The terminal control method that present embodiment provides, in addition to the technique effect with first embodiment, further comprises After entering text edit mode according to predetermined registration operation, if it is default to judge that the touch control operation corresponding pressure value is greater than or equal to Pressure threshold is then deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation Add the operating procedure of strikethrough so that user can be according to the touch control operation on the side of the terminal come to the terminal The text information shown in current display interface carries out diversified edit operation, while the hand for avoiding user easily blocks screen In contrast the shortcomings that curtain, optimizes the operation of text editing, promotes user-interaction experience.
Fig. 4 is the terminal control method flow diagram of four embodiment of the invention.4th embodiment with The main distinction of first embodiment is that it is for the terminal left side that the 4th embodiment, which further includes the touch control operation, The first preset direction slide when, then by corresponding to the word from the slide to the first preset direction believe Cursor the step of being moved to the left in certain style of writing word in breath, it should be noted that in the spirit of the embodiment of the present invention or basic In the range of feature, each concrete scheme suitable for first embodiment can also be suitable for the 4th embodiment accordingly In, for the sake of saving space and avoiding repetition, details are not described herein again.
As shown in figure 4, the terminal control method may include steps of:
401:If showing text information in the current display interface of terminal and terminal receiving predetermined registration operation, control Terminal enters text edit mode.
402:Receive the touch control operation on the side of the terminal.
403:Judge the touch control operation whether be for the first preset direction of the terminal left/right side slip behaviour Make, if it is, performing step 404, otherwise continuing to execute this step or terminating flow.
404:It will be in certain style of writing word in the text information corresponding to the slide to the first preset direction Cursor to the left/move right.
In present embodiment, according to the sliding distance of the slide to the first preset direction according to preset ratio Correspondence determines the distance of the cursor movement.The preset ratio correspondence can be the system default of the terminal Or user sets itself.For example, the left side in the terminal often slides the distance of 0.5cm, corresponding cursor At it the position of a word is moved to the left using current location as starting point in the line.
In other embodiments, step 403 can also be at least one of following with step 404:
If it is the slide for the second preset direction of the terminal left/right side to judge the touch control operation, Choose by the cursor in certain style of writing word in the text information corresponding to the slide to the second preset direction it is left/ The style of writing word on right side;
If it is the slide for the second preset direction of the terminal left/right side to judge the touch control operation, Choose by the cursor in certain style of writing word in the text information corresponding to the slide to the second preset direction it is left/ The style of writing word on right side and after detecting and leaving the left/right side, opens corresponding options menu.
The terminal control method that present embodiment provides, in addition to the technique effect with first embodiment, further includes institute It, then will be described to the first default side when to state touch control operation be the slide for the first preset direction of the terminal left side To slide corresponding to the text information in certain style of writing word in the specific steps that are moved to the left of cursor so that use The text information that family is shown according to the touch control operation on the side of the terminal in the current display interface to the terminal Diversified edit operation is carried out, while the shortcomings that the hand for avoiding user easily blocks screen, in contrast, optimize text The operation of editor promotes user-interaction experience.
Disclosed terminal control method, by showing text information in the current display interface of terminal simultaneously And terminal when receiving predetermined registration operation control terminal enter text edit mode, in the case where the terminal is in text edit mode, It receives and judges whether the touch control operation on the side of the terminal meets preset condition, preset if the touch control operation meets Condition then carries out the text information shown in the current display interface of the terminal default edit operation, and user being capable of basis Touch control operation on the side of the terminal carries out in advance come the text information shown in the current display interface to the terminal If edit operation, in contrast, the operation of text editing is optimized, promote user-interaction experience.
The embodiment of the present invention also provides a kind of computer equipment, including memory, processor and stores on a memory simultaneously The computer program that can be run on a processor, the processor realize institute in any of the above-described embodiment when performing described program The step of terminal control method stated.
Fig. 5 is the structure diagram of the terminal of an embodiment of the present invention, as shown in figure 5, terminal 1 includes memory 10, Terminal control mechanism 100 is stored in memory 10.The terminal 1 can be mobile phone, tablet computer, personal digital assistant etc. Terminal with application display function.The application terminal control device 100 can be applied to the terminal 1, can by It shows text information in the current display interface of terminal and control terminal enters text volume when terminal receives predetermined registration operation The pattern of collecting, in the case where the terminal is in text edit mode, receives and judges that the touch control operation on the side of the terminal is It is no to meet preset condition, if the touch control operation meets preset condition, to what is shown in the current display interface of the terminal Text information carries out default edit operation.Using the embodiment of the present invention, user can be according to touching on the side of the terminal Control operation carries out default edit operation come the text information shown in the current display interface to the terminal, in contrast, excellent Change the operation of text editing, promote user-interaction experience.
In present embodiment, terminal 1 is a mobile phone.Terminal 1 can also include processor 20, display screen 30.Memory 10, Display screen 30 can be electrically connected with processor 20 respectively.
The terminal 1 can be smart mobile phone, laptop, desk-top/tablet computer, personal digital assistant, intelligently wear Wearing formula equipment etc. has the computer equipment of function of surfing the Net.It will be understood by those skilled in the art that the schematic diagram 5 is only eventually The restriction of the example, not structure paired terminal 1 at end 1 can be included than illustrating more or fewer components or combining certain portions Part or different components, such as the terminal 1 can also include input-output equipment, network access equipment, bus etc..
The memory 10 can be different type storage device, for storing Various types of data.For example, it may be terminal 1 memory, memory, can also be the storage card that can be external in the terminal 1, as flash memory, SM cards (Smart Media Card, Smart media card), SD card (Secure Digital Card, safe digital card) etc..In addition, memory can include at a high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.Memory is used to store Various types of data, example Such as, the types of applications program (Applications) installed in the terminal 1 sets using above-mentioned terminal control method, obtains The information such as the data taken.
Alleged processor 20 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 20 can also be any conventional processing Device etc., the processor 20 are the control centres of terminal 1 described in the terminal control mechanism 100/, utilize various interfaces and circuit Connect the various pieces of entire 100/ terminal 1 of terminal control mechanism.
Display screen 30, for showing information.
The content of shooting display device 100 can include one or more modules, one or more of module quilts It is stored in the memory 10 of terminal 1 and is configured to be performed by one or more processors, to complete the embodiment of the present invention.Example Such as, referring to Fig. 6, the terminal 1 can include detecting control module 11, receiving module 12, judgment module 13, editor module 14.The so-called module of the embodiment of the present invention can complete the program segment of a specific function, than program more suitable for describing software Implementation procedure in the processor.
It is understood that each embodiment in corresponding above-mentioned terminal control method, terminal 1 can include institute in Fig. 6 Part or all in each function module shown, the function of each module will introduced in detail below.More than it should be noted that In each embodiment of terminal control method identical noun related terms and its it is specific illustrate be readily applicable to Under to the function introduction of each module.For the sake of saving space and avoiding repetition, details are not described herein again.
Control module 11 is detected, if available for showing text information in the current display interface of terminal and terminal connects Predetermined registration operation is received, then control terminal enters text edit mode.
Receiving module 12, available under the text edit mode, receiving the touch control operation on the terminal side.
Judgment module 13, judges whether the touch control operation meets preset condition.
Editor module 14, if meeting preset condition available for the touch control operation, to the current display circle of the terminal The text information shown on face carries out default edit operation.
Judgment module 13 can be also used for:
Judge whether the touch control operation is double click operation;
Judge whether the touch control operation is double click operation for the left side of terminal;
Judge whether the touch control operation is double click operation for the right edge of terminal;
Judge whether the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value;
Judge that the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold Value;
Judge that the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold Value;Judge whether the touch control operation is slide for the first preset direction of the terminal left/right side;
Judge whether the touch control operation is slide for the second preset direction of the terminal left/right side;
Editor module 14 can be also used for:
To in the text information corresponding to the double click operation after judging the touch control operation for double click operation Font type, font size, line-spacing or the color of certain style of writing word are changed;
To corresponding to the double click operation after judging the touch control operation for for the double click operation of the left side of terminal The text information in certain style of writing word font size or line-spacing increased;
To corresponding to the double click operation after judging the touch control operation for for the double click operation of the right edge of terminal The text information in certain style of writing word font size or line-spacing reduced;
The touch control operation corresponding pressure value is being judged more than or equal to preset pressure threshold value, to corresponding to touch control operation The text information in certain style of writing word deleted, be highlighted or added strikethrough;
The touch control operation corresponding pressure value that the left side of terminal is acted in judgement is greater than or equal to preset pressure Threshold value is then deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation and deleted Except line;
The touch control operation corresponding pressure value that the right edge of terminal is acted in judgement is greater than or equal to preset pressure Threshold value, then in the text information corresponding to touch control operation certain style of writing word unerased, cancel be highlighted or Person cancels addition strikethrough;
Judging that the touch control operation is for the slide for the first preset direction for being directed to the terminal left/right side Afterwards, by the text information corresponding to the slide to the first preset direction certain style of writing word in cursor to Left/right moves;
After the judgement touch control operation is for the slide of the second preset direction of the terminal left/right side, Choose by the cursor in certain style of writing word in the text information corresponding to the slide to the second preset direction it is left/ The style of writing word on right side;
After the judgement touch control operation is for the slide of the second preset direction of the terminal left/right side, Choose by the cursor in certain style of writing word in the text information corresponding to the slide to the second preset direction it is left/ The style of writing word on right side and after detecting and leaving the left/right side, opens corresponding options menu.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the meter The step of calculation machine program realizes the terminal control method in any of the above-described embodiment when being executed by processor.
If module/unit that the terminal control mechanism/terminal/computer equipment integrates is with the shape of SFU software functional unit Formula is realized and is independent product sale or in use, can be stored in a computer read/write memory medium.It is based on Such understanding, the present invention realize all or part of flow in the above embodiment method, can also pass through computer program It is completed to instruct relevant hardware, the computer program can be stored in a computer readable storage medium, the calculating Machine program is when being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes Computer program code, the computer program code can be source code form, object identification code form, executable file or certain A little intermediate forms etc..The computer readable storage medium can include:Any of the computer program code can be carried Entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and Software distribution medium etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the terminal control mechanism/terminal, utilizes various interfaces and the entire terminal of connection The various pieces of control device/terminal.
The memory for storing the computer program and/or module, by running or performing deposited by the processor It stores up computer program and/or module in the memory and calls the data being stored in memory, realize the end Hold the various functions of control device/terminal.The memory can mainly include storing program area and storage data field, wherein, it deposits Store up program area can storage program area, (for example sound-playing function, image play work(to the application program needed at least one function Can etc.) etc.;Storage data field can be stored uses created data (such as audio data, phone directory etc.) etc. according to mobile phone. In addition, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.It needs Illustrate, the content that the computer-readable medium includes can be according to legislation in jurisdiction and the requirement of patent practice Carry out appropriate increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electricity Carrier signal and telecommunication signal.
In several specific embodiments provided by the present invention, it should be understood that disclosed terminal and method, it can be with It realizes by another way.For example, termini embodiment described above is only schematical, for example, the module Division, only a kind of division of logic function can have other dividing mode in actual implementation.
In addition, each function module in each embodiment of the present invention can be integrated in same treatment module, it can also That modules are individually physically present, can also two or more modules be integrated in equal modules.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned exemplary embodiment, And in the case of the spirit or essential attributes without departing substantially from the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of inventive embodiments is indicated by the appended claims rather than the foregoing description, it is intended that by being equal in claim is fallen All changes in the meaning and scope of important document are included in the embodiment of the present invention.It should not be by any attached drawing mark in claim Note is considered as the involved claim of limitation.Furthermore, it is to be understood that one word of " comprising " is not excluded for other units or step, odd number is not excluded for Plural number.Multiple units, module or the device stated in system, device or terminal claim can also be by same unit, moulds Block or device are realized by software or hardware.The first, the second grade words are used to indicate names, and are not offered as any specific Sequence.
Finally it should be noted that embodiment of above is only to illustrate the technical solution of the embodiment of the present invention and it is unrestricted, Although the embodiment of the present invention is described in detail with reference to more than better embodiment, those of ordinary skill in the art should Understand, can modify to the technical solution of the embodiment of the present invention or equivalent replacement should not all be detached from the skill of the embodiment of the present invention The spirit and scope of art scheme.

Claims (10)

1. a kind of terminal control method, applied to terminal, which is characterized in that the terminal control method includes:
If showing text information in the current display interface of terminal and terminal receiving predetermined registration operation, control terminal enters Text edit mode;
In the case where the terminal is in text edit mode, the touch control operation on the side of the terminal is received;
Judge whether the touch control operation meets preset condition;
If the touch control operation meets preset condition, the text information shown in the current display interface of the terminal is carried out Default edit operation.
2. terminal control method as described in claim 1, which is characterized in that if the touch control operation meets preset condition, Default edit operation is carried out to the text information shown in the current display interface of the terminal, including at least one of following:
If the touch control operation is double click operation, to certain style of writing word in the text information corresponding to the double click operation Font type, font size, line-spacing or color be changed;Or
If the touch control operation is the double click operation for the left side of terminal, to the text corresponding to the double click operation The font size or line-spacing of certain style of writing word in word information are increased;Or
If the touch control operation is the double click operation for the right edge of terminal, to the text corresponding to the double click operation The font size or line-spacing of certain style of writing word in word information are reduced;Or
If the touch control operation is multiple double click operation, to certain row in the text information corresponding to each double click operation The font size or line-spacing of word perform change corresponding with the double click operation.
3. terminal control method as claimed in claim 2, which is characterized in that if the touch control operation meets preset condition, Default edit operation is carried out to the text information shown in the current display interface of the terminal, including at least one of following:
If the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value, described in corresponding to touch control operation Strikethrough is deleted, is highlighted or added to certain style of writing word in text information;Or
If the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold value, right Strikethrough is deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation;Or
If the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold value, right Certain style of writing word in the text information corresponding to touch control operation is unerased, cancels and be highlighted or cancel addition Strikethrough.
4. terminal control method as described in claim 1, which is characterized in that if the touch control operation meets preset condition, Default edit operation is carried out to the text information shown in the current display interface of the terminal, including at least one of following:
It, will be described pre- to first if the touch control operation is the slide to the first preset direction for terminal left side The cursor in certain style of writing word in the text information corresponding to the slide of set direction is moved to the left;
It, will be described pre- to first if the touch control operation is the slide to the first preset direction for terminal right edge The cursor in certain style of writing word in the text information corresponding to the slide of set direction moves right.
5. terminal control method as described in claim 1, which is characterized in that if the touch control operation meets preset condition, Default edit operation is carried out to the text information shown in the current display interface of the terminal, including at least one of following:
If the touch control operation is the slide to the second preset direction for terminal left side, choose described to second Style of writing word on the left of the cursor in certain style of writing word in the text information corresponding to the slide of preset direction;
If the touch control operation is the slide to the second preset direction for terminal right edge, choose described to second Style of writing word on the right side of the cursor in certain style of writing word in the text information corresponding to the slide of preset direction.
6. a kind of terminal control mechanism, applied to terminal, which is characterized in that the terminal control mechanism includes:
Detect control module, if for show text information in the current display interface of terminal and terminal receive it is default Operation, then control terminal enters text edit mode;
Receiving module, under the text edit mode, receiving the touch control operation on the terminal side;
Judgment module, for judging whether the touch control operation meets preset condition;
Editor module, if meeting preset condition for the touch control operation, to being shown in the current display interface of the terminal Text information carry out default edit operation.
7. terminal control mechanism as claimed in claim 6, which is characterized in that if the touch control operation meets preset condition, Default edit operation is then carried out to the text information shown in the current display interface of the terminal, including at least one of following:
If the touch control operation is double click operation, to certain style of writing word in the text information corresponding to the double click operation Font type, font size, line-spacing or color be changed;Or
If the touch control operation is the double click operation for the left side of terminal, to the text corresponding to the double click operation The font size or line-spacing of certain style of writing word in word information are increased;Or
If the touch control operation is the double click operation for the right edge of terminal, to the text corresponding to the double click operation The font size or line-spacing of certain style of writing word in word information are reduced;Or
If the touch control operation is multiple double click operation, to certain row in the text information corresponding to each double click operation The font size or line-spacing of word perform change corresponding with the double click operation.
8. terminal control mechanism as claimed in claim 6, which is characterized in that if the touch control operation meets preset condition, Default edit operation is carried out to the text information shown in the current display interface of the terminal, including at least one of following:
If the touch control operation corresponding pressure value is greater than or equal to preset pressure threshold value, described in corresponding to touch control operation Strikethrough is deleted, is highlighted or added to certain style of writing word in text information;Or
If the touch control operation corresponding pressure value for acting on the left side of terminal is greater than or equal to preset pressure threshold value, right Strikethrough is deleted, is highlighted or added to certain style of writing word in the text information corresponding to touch control operation;Or
If the touch control operation corresponding pressure value for acting on the right edge of terminal is greater than or equal to preset pressure threshold value, right Certain style of writing word in the text information corresponding to touch control operation is unerased, cancels and be highlighted or cancel addition Strikethrough.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for performing It is realized during the computer program stored in reservoir as described in claim 1-5 any one the step of terminal control method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It is realized when being executed by processor as described in claim 1-5 any one the step of terminal control method.
CN201711385150.9A 2017-12-20 2017-12-20 Terminal control method and device, computer installation and computer readable storage medium Pending CN108200270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711385150.9A CN108200270A (en) 2017-12-20 2017-12-20 Terminal control method and device, computer installation and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711385150.9A CN108200270A (en) 2017-12-20 2017-12-20 Terminal control method and device, computer installation and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108200270A true CN108200270A (en) 2018-06-22

Family

ID=62577518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711385150.9A Pending CN108200270A (en) 2017-12-20 2017-12-20 Terminal control method and device, computer installation and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108200270A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885713A (en) * 2014-03-27 2014-06-25 联想(北京)有限公司 Information processing method and electronic device
US20140372402A1 (en) * 2013-06-18 2014-12-18 Acer Incorporated Enhanced Searching at an Electronic Device
CN104391641A (en) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 Information processing method and device
CN105183184A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Character processing method and terminal
CN106843684A (en) * 2017-01-11 2017-06-13 努比亚技术有限公司 A kind of device and method, the mobile terminal of editing screen word

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140372402A1 (en) * 2013-06-18 2014-12-18 Acer Incorporated Enhanced Searching at an Electronic Device
CN103885713A (en) * 2014-03-27 2014-06-25 联想(北京)有限公司 Information processing method and electronic device
CN104391641A (en) * 2014-09-22 2015-03-04 贵阳朗玛信息技术股份有限公司 Information processing method and device
CN105183184A (en) * 2015-08-27 2015-12-23 广东欧珀移动通信有限公司 Character processing method and terminal
CN106843684A (en) * 2017-01-11 2017-06-13 努比亚技术有限公司 A kind of device and method, the mobile terminal of editing screen word

Similar Documents

Publication Publication Date Title
CN104636321B (en) Text display method and device
CN108762654B (en) Text editing method, text editing device, text editing terminal and computer readable storage medium
JP6427559B2 (en) Permanent synchronization system for handwriting input
EP3002664A1 (en) Text processing method and touchscreen device
CN105511784A (en) Information input method, device and mobile terminal based on pressure detection
CN104636649A (en) Electronic equipment and guiding method thereof
CN105005448B (en) Application program launching method, device and terminal device
CN107357483A (en) Data sharing method and device, computer equipment and computer-readable recording medium
CN107346229A (en) Pronunciation inputting method and device, computer installation and readable storage medium storing program for executing
CN107180352A (en) A kind of method of payment and device, computer installation and computer-readable recording medium
CN107656693A (en) A kind of method and device that cursor position is determined in touch-screen
CN105867820A (en) Text editing method and device for touch screen
CN104778006A (en) Information editing method and system
CN107833043A (en) Pay control method and device, terminal installation and computer-readable recording medium
CN107704188A (en) Input keyboard provider method and device, terminal and computer-readable recording medium
CN108304115A (en) Terminal entry selection method, device and storage medium and terminal
CN106502536A (en) A kind of page info choosing method and device
CN109324750A (en) Mobile terminal character edit methods and device
CN104808949A (en) Page adjusting method and mobile terminal
CN108268291A (en) A kind of application program delet method and terminal device
CN108200270A (en) Terminal control method and device, computer installation and computer readable storage medium
CN107765980A (en) Input method and device, terminal device and computer-readable recording medium
CN107948387A (en) Terminal control method and device, terminal and readable storage medium storing program for executing
CN106775295A (en) A kind of display methods and mobile terminal based on curve screens
CN105824694A (en) Adjustment method and device for resources of applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180622

RJ01 Rejection of invention patent application after publication