CN109164953A - A kind of document edit method, terminal and computer readable storage medium - Google Patents

A kind of document edit method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109164953A
CN109164953A CN201810842415.1A CN201810842415A CN109164953A CN 109164953 A CN109164953 A CN 109164953A CN 201810842415 A CN201810842415 A CN 201810842415A CN 109164953 A CN109164953 A CN 109164953A
Authority
CN
China
Prior art keywords
region
edited
back side
document
side induction
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
CN201810842415.1A
Other languages
Chinese (zh)
Inventor
陈鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810842415.1A priority Critical patent/CN109164953A/en
Publication of CN109164953A publication Critical patent/CN109164953A/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/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
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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 embodiment of the invention discloses a kind of document edit methods, are applied to terminal, and the terminal includes positive display area and back side induction region, which comprises judges whether current page content is document;If so, selecting region to be edited on the document;The region to be edited is edited by the back side induction region;Show the edited region to be edited.The present invention also provides a kind of terminal can computer readable storage medium by implementing above scheme solve the problems, such as in prior art that user experience is not high when using mobile terminal editor document.

Description

A kind of document edit method, terminal and computer readable storage medium
Technical field
The present invention relates to electronic technology field more particularly to a kind of document edit methods, terminal and computer-readable storage Medium.
Background technique
Now with the continuous development of mobile terminal technology, more and more users start to carry out document on mobile terminals Editing, but due to usually when using mobile terminal, seldom external input equipment, such as mouse, be all by finger into Row operation.So in this case, when user needs on mobile terminals to edit a document, if do not borrowed External work, such as mouse, stylus are helped, and by finger manipulation, at this time blocking due to finger or palm, in documents editing When edit be inaccurate, or even can sometimes generate some maloperations, user experience is not high.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of application operating method, terminal and computer readable storage medium, solution User experience not high problem when utilizing mobile terminal editor document in prior art of having determined.
To solve the above problems, being applied to terminal the present invention provides a kind of document edit method, the terminal includes just Face display area and back side induction region, which comprises judge whether current page content is document;If so, institute It states and selectes region to be edited on document;The region to be edited is edited by the back side induction region;Display editor The region to be edited afterwards.
Optionally, described to judge that the step of whether current page content is document specifically includes: scanning current page;Judgement Whether the text information in the current page is more than the first preset value;If being more than, judge the current page for document.
Optionally, which comprises when the back side induction region described in the user's finger contacts, make the positive viewing area Domain generates a cursor, and the cursor is moved as user's finger moves on the back side induction region.
Optionally, described includes: based on the positive display area the step of selecting region to be edited on the document Cursor, the back side induction region delimit enclosed region;The cursor follows the track of the enclosed region in the text Region to be edited is selected on shelves.
Optionally, the described the step of region to be edited is edited by the back side induction region include: After selecting the region to be edited, the first track is slided in the back side induction region, according to the duplication of first track Text in region to be edited;Slide the second track in the back side induction region, according to second track shearing it is described to Text in editing area;Third track is slided in the back side induction region, will be replicated in advance according to the third track Text affixes in the region to be edited at the ending of text.
Optionally, the described the step of region to be edited is edited by the back side induction region include: After selecting the region to be edited, user is received in the finger that the back side induction region is done and polymerize gesture, and according to the hand Refer to that polymerization gesture reduces the region to be edited;It receives user and separates gesture, and root in the finger that the back side induction region is done Gesture, which is separated, according to the finger amplifies the region to be edited.
Optionally, the described the step of region to be edited is edited by the back side induction region include: After selecting the region to be edited, the cursor is controlled by back side induction region and is fallen into the region to be edited;It receives and uses The left skating gesture of family finger overleaf induction region, and deleted to the left from the cursor according to the left sliding length of the left skating gesture Except byte;Receive the right skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from institute It states and deletes byte at cursor to the right.
Optionally, the method also includes: receive user's release command, incude the back side according to the release command Region disability.
Further, the present invention also provides a kind of terminals, including processor, memory and communication bus;The storage Device, for storing documentation program;The communication bus is for realizing the connection communication between processor and memory;It is described Processor is for the step of executing document edit method as described above.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of described in any item document edit methods as above.
By implementing above scheme, so that it is direct to avoid user's finger when passing through mobile terminal editor document by user What is generated when operating document blocks, and then caused Edit Error, and the user experience is improved.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and Unrestricted mode generally shows each embodiment discussed herein.
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of document edit method of the present invention;
Fig. 4 is a kind of effect diagram of document edit method of the present invention;
Fig. 5 is a kind of module diagram of terminal of the present invention;
Fig. 6 is that a kind of terminal of the present invention forms structural schematic diagram.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, terminal, Intelligent bracelet, pedometer etc. are mobile eventually End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its terminal of each embodiment to realize the present invention, the terminal 100 may include: radio frequency unit (Radio Frequency, RF) 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal shown in Fig. 1 Structure does not constitute the restriction to mobile terminal, and terminal may include components more more or fewer than diagram, or combine certain Component or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to terminal 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location 2000 (Code Division Multiple Access 2000, CDMA2000), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), TD SDMA (Time Division- Synchronous Code Division Multiple Access, TD-SCDMA), frequency division duplex long term evolution (Frequency Division Duplexing-Long Term Evolution, FDD-LTE) and time division duplex long term evolution (Time Division Duplexing-Long Term Evolution, TDD-LTE) etc..
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 102 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 is shown WiFi module 102, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100 It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to terminal of the invention are retouched It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes the user equipment (User of successively communication connection Equipment, UE) 201, evolved UMTS Terrestrial radio access network (Evolved UMTS Terrestrial Radio Access Network, E-UTRAN) 202, evolved packet-based core networks (Evolved Packet Core, EPC) 203 and operation The IP operation 204 of quotient.
Generally, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include mobility management entity (Mobility Management Entity, MME) 2031, ownership Client server (Home Subscriber Server, HSS) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and policy and rate functional entity (Policy and Charging Rules Function, PCRF) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IP multimedia subsystem (IP Multimedia Subsystem, IMS) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.Based on above-mentioned mobile terminal hardware configuration and communications network system, mention The each embodiment of the method for the present invention out.
Fig. 3 is the flow diagram of document edit method of the embodiment of the present invention, is applied to terminal, and the terminal includes front Display area and back side induction region.Wherein positive display area is display screen, and back side induction region can be induction panel, It can be the display vice screen with touch function display screen, as front display screen.As shown in figure 3, the method includes following Step:
In step S300, judge whether current page content is document.
In the present embodiment, described to judge that the step of whether current page content is document specifically includes: scanning is current The page;Judge the text information in the current page whether more than the first preset value;If being more than, the current page is judged For document.Specifically, judging that the text information in current page can be by the image of image recognition technology, such as neural network Identification technology, image recognition technology of Nonlinear Dimension Reduction etc. identify the text number of current page, when text number is more than one When a first preset value, illustrate that current page is mainly word content at this time, it can be determined as document.Certainly, in other realities It applies in mode, it can also be by calculating whether text number in current page in unit area judges more than the second preset value Whether current page is document.
In step S302, if current page content is to select region to be edited on the document for document.
In the present embodiment, when the back side induction region described in the user's finger contacts, keep the positive display area raw At a cursor, the cursor is moved as user's finger moves on the back side induction region.In this way, can be intuitive The movement for experiencing back side induction region be how to be reacted on the display screen of front.
In the present embodiment, described includes: based on the front the step of selecting region to be edited on the document The cursor of display area delimit enclosed region in the back side induction region;The cursor follows the track of the enclosed region Region to be edited is selected on the document.Specifically, it is shown in Figure 4, enclosed region is drawn by overleaf induction region, and Cursor on positive display area also forms an enclosed region, such as rectangle on the current document page therewith, and then passes through this The enclosed region of a rectangle selectes region to be edited.
In step S304, the region to be edited is edited by the back side induction region.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It include: to slide the first track in the back side induction region after selecting the region to be edited, it is multiple according to first track Make the text in the region to be edited;The second track is slided in the back side induction region, is sheared according to second track Text in the region to be edited;Third track is slided in the back side induction region, it will be preparatory according to the third track The text of duplication affixes in the region to be edited at the ending of text.Specifically, the first track can be C, the second track For T, third is estimated as V, by identifying above-mentioned gesture, it can treat the text in editing area and replicated, sheared and glued Patch.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It can also include: to receive user after selecting the region to be edited in the finger that the back side induction region is done and polymerize gesture, And gesture is polymerize according to the finger and reduces the region to be edited;Receive the finger point that user does in the back side induction region Gesture is opened, and gesture is separated according to the finger and amplifies the region to be edited.Specifically, when passing through an enclosed region (ratio Such as rectangle) have selected a region to be edited after, overleaf induction region by two fingers does polymerization gesture at this time, can control The selected area reduction to be edited of system, does separated gesture by two fingers, can control selected region to be edited amplification.I.e. By above two gesture, change the size in region to be edited.
In other embodiments, the step that the region to be edited is edited by the back side induction region It suddenly can also include: to be fallen by the back side induction region control cursor described wait compile after selecting the region to be edited It collects in region;Receive the left skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from Byte is deleted to the left at the cursor;The right skating gesture of user's finger overleaf induction region is received, and according to the left skating The left sliding length of gesture deletes to the right byte from the cursor.Editing area can be treated by the simple left right cunning of cunning Text is deleted, wherein delete byte number can be according to the length of sliding, specifically, the length that will be slided is with byte Number association then deletes two bytes when sliding two centimetres to the left to the left, slides two centimetres to the right, then deletes two words to the right Section.
In step S306, the edited region to be edited is shown.
In the present embodiment, after by performing overleaf the corresponding command of induction region, pass through positive display area Show edited region to be edited in real time, and then guarantee that user can grasp the state of documents editing in real time, convenient for error correction and Guarantee correctness.
It should be noted that further include in the above method receive user release command can control by release command The disability of back side induction region, and then any movement in user's finger overleaf region cannot be incuded.Specifically, the release command A gesture trigger of front display screen with the triggering of physical button, can be also possible to.
By implementing aforesaid way, so that it is direct to avoid user's finger when passing through mobile terminal editor document by user What is generated when operating document blocks, and then caused Edit Error, and the user experience is improved.
Fig. 5 is a kind of module diagram of terminal of the present invention, the terminal include judgment module 501, chosen module 502, Editor module 503, display module 504, memory 505 and processor 506, above-mentioned functional module depositing actually with program code It is stored in memory 505, and is executed by processor 506, to realize the step or method in above-described embodiment.It needs to illustrate It is that the terminal includes positive display area and back side induction region.
Judgment module 501 is for judging whether current page content is document.
In the present embodiment, described to judge that the step of whether current page content is document specifically includes: scanning is current The page;Judge the text information in the current page whether more than the first preset value;If being more than, the current page is judged For document.Specifically, judging that the text information in current page can be by the image of image recognition technology, such as neural network Identification technology, image recognition technology of Nonlinear Dimension Reduction etc. identify the text number of current page, when text number is more than one When a first preset value, illustrate that current page is mainly word content at this time, it can be determined as document.Certainly, in other realities It applies in mode, it can also be by calculating whether text number in current page in unit area judges more than the second preset value Whether current page is document.
Chosen module 502 is used in current page content be to select region to be edited on the document then for document.
In the present embodiment, when the back side induction region described in the user's finger contacts, keep the positive display area raw At a cursor, the cursor is moved as user's finger moves on the back side induction region.In this way, can be intuitive The movement for experiencing back side induction region be how to be reacted on the display screen of front.
In the present embodiment, described includes: based on the front the step of selecting region to be edited on the document The cursor of display area delimit enclosed region in the back side induction region;The cursor follows the track of the enclosed region Region to be edited is selected on the document.Specifically, it is shown in Figure 4, enclosed region is drawn by overleaf induction region, and Cursor on positive display area also forms an enclosed region, such as rectangle on the current document page therewith, and then passes through this The enclosed region of a rectangle selectes region to be edited.
Editor module 503 is for editing the region to be edited by the back side induction region.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It include: to slide the first track in the back side induction region after selecting the region to be edited, it is multiple according to first track Make the text in the region to be edited;The second track is slided in the back side induction region, is sheared according to second track Text in the region to be edited;Third track is slided in the back side induction region, it will be preparatory according to the third track The text of duplication affixes in the region to be edited at the ending of text.Specifically, the first track can be C, the second track For T, third is estimated as V, by identifying above-mentioned gesture, it can treat the text in editing area and replicated, sheared and glued Patch.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It can also include: to receive user after selecting the region to be edited in the finger that the back side induction region is done and polymerize gesture, And gesture is polymerize according to the finger and reduces the region to be edited;Receive the finger point that user does in the back side induction region Gesture is opened, and gesture is separated according to the finger and amplifies the region to be edited.Specifically, when passing through an enclosed region (ratio Such as rectangle) have selected a region to be edited after, overleaf induction region by two fingers does polymerization gesture at this time, can control The selected area reduction to be edited of system, does separated gesture by two fingers, can control selected region to be edited amplification.I.e. By above two gesture, change the size in region to be edited.
In other embodiments, the step that the region to be edited is edited by the back side induction region It suddenly can also include: to be fallen by the back side induction region control cursor described wait compile after selecting the region to be edited It collects in region;Receive the left skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from Byte is deleted to the left at the cursor;The right skating gesture of user's finger overleaf induction region is received, and according to the left skating The left sliding length of gesture deletes to the right byte from the cursor.Editing area can be treated by the simple left right cunning of cunning Text is deleted, wherein delete byte number can be according to the length of sliding, specifically, the length that will be slided is with byte Number association then deletes two bytes when sliding two centimetres to the left to the left, slides two centimetres to the right, then deletes two words to the right Section.
Display module 504 is for showing the edited region to be edited.
In the present embodiment, after by performing overleaf the corresponding command of induction region, pass through positive display area Show edited region to be edited in real time, and then guarantee that user can grasp the state of documents editing in real time, convenient for error correction and Guarantee correctness.
It should be noted that further include in the above method receive user release command can control by release command The disability of back side induction region, and then any movement in user's finger overleaf region cannot be incuded.Specifically, the release command A gesture trigger of front display screen with the triggering of physical button, can be also possible to.
By implementing aforesaid way, so that it is direct to avoid user's finger when passing through mobile terminal editor document by user What is generated when operating document blocks, and then caused Edit Error, and the user experience is improved.
Fig. 6 is the composed structure schematic diagram of terminal of the present invention, as shown in fig. 6, the terminal includes at least: memory 601, Communication bus 602 and processor 603, the terminal include positive display area and back side induction region, in which:
The memory 601, for storing documentation program;
The communication bus 602, for realizing the connection communication between processor and memory;
The processor 603, for executing the documentation program stored in memory, to perform the steps of
Judge whether current page content is document.
In the present embodiment, described to judge that the step of whether current page content is document specifically includes: scanning is current The page;Judge the text information in the current page whether more than the first preset value;If being more than, the current page is judged For document.Specifically, judging that the text information in current page can be by the image of image recognition technology, such as neural network Identification technology, image recognition technology of Nonlinear Dimension Reduction etc. identify the text number of current page, when text number is more than one When a first preset value, illustrate that current page is mainly word content at this time, it can be determined as document.Certainly, in other realities It applies in mode, it can also be by calculating whether text number in current page in unit area judges more than the second preset value Whether current page is document.
If current page content is to select region to be edited on the document for document.
In the present embodiment, when the back side induction region described in the user's finger contacts, keep the positive display area raw At a cursor, the cursor is moved as user's finger moves on the back side induction region.In this way, can be intuitive The movement for experiencing back side induction region be how to be reacted on the display screen of front.
In the present embodiment, described includes: based on the front the step of selecting region to be edited on the document The cursor of display area delimit enclosed region in the back side induction region;The cursor follows the track of the enclosed region Region to be edited is selected on the document.Specifically, it is shown in Figure 4, enclosed region is drawn by overleaf induction region, and Cursor on positive display area also forms an enclosed region, such as rectangle on the current document page therewith, and then passes through this The enclosed region of a rectangle selectes region to be edited.
The region to be edited is edited by the back side induction region.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It include: to slide the first track in the back side induction region after selecting the region to be edited, it is multiple according to first track Make the text in the region to be edited;The second track is slided in the back side induction region, is sheared according to second track Text in the region to be edited;Third track is slided in the back side induction region, it will be preparatory according to the third track The text of duplication affixes in the region to be edited at the ending of text.Specifically, the first track can be C, the second track For T, third is estimated as V, by identifying above-mentioned gesture, it can treat the text in editing area and replicated, sheared and glued Patch.
In the present embodiment, the described the step of region to be edited is edited by the back side induction region It can also include: to receive user after selecting the region to be edited in the finger that the back side induction region is done and polymerize gesture, And gesture is polymerize according to the finger and reduces the region to be edited;Receive the finger point that user does in the back side induction region Gesture is opened, and gesture is separated according to the finger and amplifies the region to be edited.Specifically, when passing through an enclosed region (ratio Such as rectangle) have selected a region to be edited after, overleaf induction region by two fingers does polymerization gesture at this time, can control The selected area reduction to be edited of system, does separated gesture by two fingers, can control selected region to be edited amplification.I.e. By above two gesture, change the size in region to be edited.
In other embodiments, the step that the region to be edited is edited by the back side induction region It suddenly can also include: to be fallen by the back side induction region control cursor described wait compile after selecting the region to be edited It collects in region;Receive the left skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from Byte is deleted to the left at the cursor;The right skating gesture of user's finger overleaf induction region is received, and according to the left skating The left sliding length of gesture deletes to the right byte from the cursor.Editing area can be treated by the simple left right cunning of cunning Text is deleted, wherein delete byte number can be according to the length of sliding, specifically, the length that will be slided is with byte Number association then deletes two bytes when sliding two centimetres to the left to the left, slides two centimetres to the right, then deletes two words to the right Section.
Show the edited region to be edited.
In the present embodiment, after by performing overleaf the corresponding command of induction region, pass through positive display area Show edited region to be edited in real time, and then guarantee that user can grasp the state of documents editing in real time, convenient for error correction and Guarantee correctness.
It should be noted that further include in the above method receive user release command can control by release command The disability of back side induction region, and then any movement in user's finger overleaf region cannot be incuded.Specifically, the release command A gesture trigger of front display screen with the triggering of physical button, can be also possible to.
By implementing aforesaid way, so that it is direct to avoid user's finger when passing through mobile terminal editor document by user What is generated when operating document blocks, and then caused Edit Error, and the user experience is improved.
The present invention also provides a kind of computer readable storage mediums.Document is stored on the computer readable storage medium Editing procedure, the documentation program realize step as described above when being executed by processor.
It should be noted that the description of the above terminal embodiment, be with the description of above method embodiment it is similar, have The similar beneficial effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing that above-mentioned document is compiled in the form of software function module The method of collecting, and when sold or used as an independent product, it also can store in a computer readable storage medium.Base In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a calculating equipment (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention does not limit It is combined in any specific hardware and software.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of document edit method, is applied to terminal, the terminal includes positive display area and back side induction region, spy Sign is, which comprises
Judge whether current page content is document;
If so, selecting region to be edited on the document;
The region to be edited is edited by the back side induction region;
Show the edited region to be edited.
2. document edit method as described in claim 1, which is characterized in that described to judge whether current page content is document The step of specifically include:
Scan current page;
Judge the text information in the current page whether more than the first preset value;
If being more than, judge the current page for document.
3. document edit method as described in claim 1, which is characterized in that the described method includes:
When the back side induction region described in the user's finger contacts, the positive display area is made to generate a cursor, the cursor It is moved as user's finger moves on the back side induction region.
4. document edit method as claimed in claim 3, which is characterized in that described to select region to be edited on the document The step of include:
Based on the cursor of the positive display area, enclosed region delimited in the back side induction region;
The cursor follows the track of the enclosed region to select region to be edited on the document.
5. document edit method as described in claim 1, which is characterized in that it is described by the back side induction region to described The step of region to be edited is edited include:
After selecting the region to be edited, the first track is slided in the back side induction region, it is multiple according to first track Make the text in the region to be edited;
The second track is slided in the back side induction region, the text in the region to be edited is sheared according to second track Word;
Third track is slided in the back side induction region, is affixed to the text replicated in advance according to the third track described In region to be edited at the ending of text.
6. document edit method as described in claim 1, which is characterized in that it is described by the back side induction region to described The step of region to be edited is edited include:
After selecting the region to be edited, the finger polymerization gesture that reception user does in the back side induction region, and according to The finger polymerization gesture reduces the region to be edited;
It receives user and separates gesture in the finger that the back side induction region is done, and separated described in gesture amplifies according to the finger Region to be edited.
7. document edit method as claimed in claim 6, which is characterized in that it is described by the back side induction region to described The step of region to be edited is edited include:
After selecting the region to be edited, the cursor is controlled by back side induction region and is fallen into the region to be edited;
Receive the left skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from the light Byte is deleted at mark to the left;
Receive the right skating gesture of user's finger overleaf induction region, and according to the left sliding length of the left skating gesture from the light Byte is deleted at mark to the right.
8. document edit method as described in claim 1, which is characterized in that the method also includes:
User's release command is received, so that the back side induction region is disabled according to the release command.
9. a kind of terminal, which is characterized in that the terminal includes at least: memory, communication bus and processor, in which:
The memory, for storing documentation program;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the documentation program stored in memory, to realize as described in claim 1 to 8 The step of document edit method.
10. a kind of computer readable storage medium, it is stored with documentation program on the computer readable storage medium, it is described The step of document edit method as described in claim 1 to 8 is realized when documentation program is executed by processor.
CN201810842415.1A 2018-07-27 2018-07-27 A kind of document edit method, terminal and computer readable storage medium Pending CN109164953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810842415.1A CN109164953A (en) 2018-07-27 2018-07-27 A kind of document edit method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810842415.1A CN109164953A (en) 2018-07-27 2018-07-27 A kind of document edit method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109164953A true CN109164953A (en) 2019-01-08

Family

ID=64898511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810842415.1A Pending CN109164953A (en) 2018-07-27 2018-07-27 A kind of document edit method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109164953A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626344A (en) * 2020-11-27 2022-06-14 腾讯科技(深圳)有限公司 Text processing method and related device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1813462A (en) * 2003-06-25 2006-08-02 诺基亚公司 Multifunctional ui input device for moblie terminals
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN103513921A (en) * 2012-06-29 2014-01-15 联想(新加坡)私人有限公司 Text selection utilizing pressure-sensitive touch
CN105205041A (en) * 2015-09-28 2015-12-30 努比亚技术有限公司 Text editing method and device for mobile terminal and mobile terminal
CN105224234A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 Content of text system of selection and mobile terminal
CN105302419A (en) * 2015-11-14 2016-02-03 华中师范大学 Touch screen achieving various gesture operations and operation method of touch screen
US20170052698A1 (en) * 2011-02-10 2017-02-23 Samsung Electronics Co., Ltd. Portable device comprising a touch-screen display, and method for controlling same
CN106775375A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 A kind of end message editing and processing devices and methods therefor
CN108646959A (en) * 2018-04-10 2018-10-12 Oppo广东移动通信有限公司 Screen control method, device and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1813462A (en) * 2003-06-25 2006-08-02 诺基亚公司 Multifunctional ui input device for moblie terminals
US20170052698A1 (en) * 2011-02-10 2017-02-23 Samsung Electronics Co., Ltd. Portable device comprising a touch-screen display, and method for controlling same
CN103309594A (en) * 2012-03-12 2013-09-18 联想(北京)有限公司 Touch screen input method and electronic equipment
CN103513921A (en) * 2012-06-29 2014-01-15 联想(新加坡)私人有限公司 Text selection utilizing pressure-sensitive touch
CN103513879A (en) * 2013-04-26 2014-01-15 展讯通信(上海)有限公司 Touch control device and display control method and device thereof
CN105205041A (en) * 2015-09-28 2015-12-30 努比亚技术有限公司 Text editing method and device for mobile terminal and mobile terminal
CN105224234A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 Content of text system of selection and mobile terminal
CN105302419A (en) * 2015-11-14 2016-02-03 华中师范大学 Touch screen achieving various gesture operations and operation method of touch screen
CN106775375A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 A kind of end message editing and processing devices and methods therefor
CN108646959A (en) * 2018-04-10 2018-10-12 Oppo广东移动通信有限公司 Screen control method, device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626344A (en) * 2020-11-27 2022-06-14 腾讯科技(深圳)有限公司 Text processing method and related device

Similar Documents

Publication Publication Date Title
CN108093123A (en) A kind of message informing processing method, terminal and computer readable storage medium
CN109085990A (en) A kind of gestural control method, mobile terminal and computer readable storage medium
CN109224436A (en) Virtual key based on interface defines method, terminal and storage medium
CN109144441A (en) A kind of screen adjustment method, terminal and computer readable storage medium
CN109726179A (en) Screenshot picture processing method, storage medium and mobile terminal
CN109348306A (en) Video broadcasting method, terminal and computer readable storage medium
CN109165534A (en) terminal control method, terminal and computer readable storage medium
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109584897A (en) Vedio noise reduction method, mobile terminal and computer readable storage medium
CN110278481A (en) Picture-in-picture implementing method, terminal and computer readable storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN109547637A (en) A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN110052024A (en) Method of adjustment, adjustment device, mobile terminal and the storage medium of game vibration
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN109117069A (en) A kind of interface operation method, terminal and computer readable storage medium
CN108196746A (en) A kind of document presentation method and terminal, storage medium
CN109213398A (en) A kind of application quick start method, terminal and computer readable storage medium
CN109164953A (en) A kind of document edit method, terminal and computer readable storage medium
CN109740121A (en) A kind of searching method of mobile terminal, mobile terminal and storage medium
CN109711198A (en) Application management method, mobile terminal and storage medium
CN109683741A (en) Function triggering method, device and computer readable storage medium
CN108900696A (en) A kind of data processing method, terminal and computer readable storage medium

Legal Events

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

Application publication date: 20190108