WO2019015581A1 - Procédé de suppression de texte et terminal mobile - Google Patents

Procédé de suppression de texte et terminal mobile Download PDF

Info

Publication number
WO2019015581A1
WO2019015581A1 PCT/CN2018/095966 CN2018095966W WO2019015581A1 WO 2019015581 A1 WO2019015581 A1 WO 2019015581A1 CN 2018095966 W CN2018095966 W CN 2018095966W WO 2019015581 A1 WO2019015581 A1 WO 2019015581A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
sliding
characters
text input
input box
Prior art date
Application number
PCT/CN2018/095966
Other languages
English (en)
Chinese (zh)
Inventor
马亮
张宝亮
邱杰
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2019015581A1 publication Critical patent/WO2019015581A1/fr

Links

Images

Classifications

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

Definitions

  • the present disclosure relates to the field of mobile terminal technologies, and in particular, to a text deletion method and a mobile terminal.
  • an embodiment of the present disclosure provides a text deletion method, which is applied to a mobile terminal, and the method includes:
  • the sliding operation of the mobile terminal in the text input box is detected, monitoring the sliding direction of the sliding operation; if the sliding direction conforms to the first preset direction, determining to perform a deleting operation in the text input box; The sliding direction conforms to the second preset direction, and then it is determined that the undo deletion operation is performed in the text input box.
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • a sliding direction detecting module configured to monitor a sliding direction of the sliding operation when detecting a sliding operation of the mobile terminal in the text input box; and deleting an operation execution module, if the sliding direction conforms to the first preset direction, And determining to perform a delete operation in the text input box; and canceling the delete operation execution module, if the sliding direction conforms to the second preset direction, determining to perform the undo delete operation in the text input box.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being the processor The steps to implement the above text deletion method at execution time.
  • an embodiment of the present disclosure further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the step of implementing the text deletion method when the computer program is executed by a processor .
  • FIG. 1 is a flowchart of a text deletion method in Embodiment 1 of the present disclosure
  • FIG. 2 is a flowchart of a text deletion method in Embodiment 2 of the present disclosure
  • FIG. 2A is a schematic view showing a range of a sliding area in Embodiment 2 of the present disclosure
  • 2B is a schematic view showing a sliding operation distance in the second embodiment of the present disclosure.
  • FIG. 2C is a schematic view showing a sliding operation direction in Embodiment 2 of the present disclosure.
  • FIG. 3 is a structural block diagram of a mobile terminal according to Embodiment 3 of the present disclosure.
  • FIG. 4 is a structural block diagram of a mobile terminal according to Embodiment 3 of the present disclosure.
  • FIG. 5 is a structural block diagram of a mobile terminal according to Embodiment 4 of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present disclosure.
  • FIG. 1 a flow chart of a text deletion method according to Embodiment 1 of the present disclosure is shown, which may specifically include the following steps:
  • Step 110 If the sliding operation of the mobile terminal in the text input box is detected, the sliding direction of the sliding operation is monitored.
  • the text input mode is triggered.
  • the Android system can monitor the current state through the state of the function AutoCompleteTextView. Whether the interface triggers the text input state, and further monitors whether the user performs a sliding operation in the state.
  • the listener GestureDetector.OnGestureListener can be used to determine whether the left or right slides according to the x or y axis change coordinates and slide according to different gestures.
  • the event processing doResult(int action) is performed.
  • the trigger to the sliding event it can be determined by which axis is moved by monitoring the moving distance of the sliding operation on the X-axis and the Y-axis of the coordinate system on the Android screen. Which axis has a large moving distance is which axis to move, and then determines the moving direction of the sliding operation.
  • the coordinate point of the user pressing the finger can be monitored by the Android function MotionEvent.ACTION_DOWN, MotionEvent.ACTION_MOVE monitors the user's finger movement event, and MotionEvent.ACTION_UP monitors the coordinates of the user's finger when lifting.
  • the method of detecting the user sliding operation and the corresponding coordinates is not limited to the above description, and the embodiment of the present disclosure does not limit this.
  • Step 120 If the sliding direction conforms to the first preset direction, determine to perform a delete operation in the text input box.
  • the preset direction after determining the specific sliding direction of the sliding operation of the user according to the foregoing method, matching with the preset sliding direction, and performing a corresponding operation, for example, the preset direction may be top-down, bottom-up.
  • the sliding operation can form a fixed figure, such as a circle, a triangle, or the like, on the display screen of the mobile terminal, and the embodiment of the present disclosure is not specifically limited.
  • Step 130 If the sliding direction meets the second preset direction, determine to perform an undo delete operation in the text input box.
  • step 130 when it is determined that the sliding direction of the sliding operation matches the preset second sliding direction, and the operation corresponding to the second preset direction is the undo deletion operation, then the previous user is The text deleted in the text box is restored in the original display area.
  • the second preset direction may be a direction opposite to the first preset direction, which is convenient for the user to memorize, and may be arbitrarily set according to user requirements. The comparison of the embodiments of the present disclosure is not limited.
  • the deletion operation or the undo deletion operation reduces the user's operation steps of deleting or undoing the deletion of the text, and the beneficial effect of the user's use experience is enhanced.
  • FIG. 2 a flowchart of a text deletion method according to Embodiment 2 of the present disclosure is shown, which may specifically include the following steps:
  • Step 210 If the sliding operation of the mobile terminal in the text input box is detected, the sliding direction of the sliding operation is monitored.
  • This step is the same as step 110 and will not be described in detail herein.
  • Step 220 If the sliding direction conforms to the first preset direction, detecting a character covered by the area of the sliding operation.
  • the terminal after determining that the terminal enters the “character input” state, it is detected whether the user performs a right-to-left sliding operation on the terminal, wherein the sliding direction from the right to the left is the first preset direction, if not If it is detected that the user performs a right-to-left operation on the terminal, the detection is maintained until the user detects a right-to-left " ⁇ " operation on the terminal, and if the user is detected to make a right-to-left operation on the terminal.
  • the " ⁇ " type sliding operation determines which area of the smart terminal display screen the user performs the sliding operation, and the intelligent terminal records the area range, as shown in FIG. 2A, detecting the right-to-left " ⁇ "
  • the character covered in the area where the slide operation is located is "smart".
  • Step 230 After the overwritten characters are cached, perform a delete operation.
  • the "smart” is cached in a preset cache directory, and then the "smart” word is deleted. operating.
  • Step 240 If the sliding direction meets the second preset direction, detecting a distance that the sliding operation slides in the text input box.
  • the sliding direction from left to right is the second.
  • the preset direction is maintained until the user detects that the user performs a left-to-right sliding operation on the terminal, detecting that the user performs an "L"-type sliding operation from left to right on the terminal, detecting and determining that the user is sliding.
  • the distance of the operation wherein the method of step 110 can be used to detect the start operation coordinate and the end coordinate of the sliding operation on the display screen of the mobile terminal when the user slides, thereby calculating the distance of the sliding operation, as shown in FIG. 2B.
  • the direction is the direction in which the user slides, and the distance indicated by the arrow is the distance the user slides.
  • Step 250 If the sliding distance exceeds a preset distance threshold, perform an undo deletion operation.
  • the distance of the sliding operation is detected, and it is determined whether the preset sliding operation displacement threshold is exceeded.
  • the distance of the sliding operation may be measured in millimeters.
  • the preset sliding distance threshold is a character distance. 4 mm, if the sliding distance exceeds 4 mm, the preset distance threshold is exceeded, and the character deleted by the user is restored.
  • step 250 includes: sub-step 251 - sub-step 253.
  • sub-step 251 if the sliding distance exceeds the preset distance threshold, the preset number of characters corresponding to the preset distance threshold is obtained.
  • the preset sliding distance threshold is 4 mm for one character and the sliding distance exceeds 4 mm
  • the number of characters to be restored corresponding to the preset distance threshold is first obtained. For example, 4 mm corresponds to recovering one character, then 8 mm corresponds to recovering two characters.
  • Sub-step 252 obtaining a multiple of the sliding distance exceeding a preset distance threshold.
  • the sliding distance is compared with the preset distance threshold to obtain a multiple of the sliding distance exceeding the preset distance threshold, for example, the preset sliding distance is 4 mm, and the current sliding distance is 9 mm, then The sliding distance exceeds the preset distance threshold by a factor of two.
  • the preset distance threshold can be changed according to the needs of the user, and the embodiment of the present disclosure does not limit this.
  • Sub-step 253 according to the multiple of the preset distance threshold, the characters of the preset multiples of the corresponding multiples are sequentially restored to the text input box, where
  • the cached deleted characters are all restored to the text input box in order.
  • the undo deletion operation is performed according to the corresponding number of characters corresponding to the multiple, for example, 4 mm corresponds to recover one character, then twice is equivalent to 8 mm corresponds to the recovery of two characters.
  • the preset number of characters is also modified as needed, and the embodiment of the present disclosure does not limit this.
  • the deleted text cache is in the system-specific directory. If the number of deleted characters in the cache is less than the preset number of characters or the corresponding multiple of the preset number of characters according to the user's recovery delete operation, the deleted characters will be cached. All recovered, for example, 4 mm corresponds to recovering one character, then twice is equivalent to 8 mm, corresponding to recovering two characters, and there is only one deleted character in the cache, or there is no cache deleted character, then only one character is restored. Or do nothing.
  • the deleted text is cached in the system-specific directory, but after the user exits the current input text state, the cache is automatically cleared to reduce system data redundancy, which is not limited in this embodiment.
  • the method further includes:
  • step A210 if the sliding direction conforms to the second preset direction, the execution duration of the sliding operation is detected.
  • the sliding operation direction is the second preset. The direction is maintained until the user detects a sliding operation on the terminal, detecting that the user performs a sliding operation on the terminal, and detecting and determining the duration of the user performing the sliding operation, wherein the description may be performed in step 110.
  • the method detects the start time and the end time of the sliding operation on the display screen of the mobile terminal when the user slides, and then calculates the duration of the sliding operation.
  • step A220 if the execution duration exceeds the preset time threshold, the undo delete operation is performed according to the preset number of characters corresponding to the preset time threshold.
  • detecting and determining when the user performs the sliding operation detecting the time when the user's finger stops sliding and staying on the screen, detecting whether the time that the finger stops on the screen after the finger stops sliding exceeds the set threshold, and the multiple is exceeded. Undo the delete operation.
  • the step A220 includes: sub-steps A221-A223.
  • sub-step A221 if the execution duration exceeds the preset time threshold, the preset number of characters corresponding to the preset time threshold is obtained.
  • the preset sliding time threshold is 1 second for one character and the sliding operation time exceeds 1 second
  • the number of characters to be restored corresponding to the preset time threshold is first acquired, for example, 1 second corresponding recovery.
  • One character, then 2 mm corresponds to recovering two characters.
  • Sub-step A222 obtaining a multiple of the execution duration (which may also be referred to as a sliding duration) exceeding a preset time threshold.
  • the execution duration is compared with the preset time threshold, and the execution duration is a multiple of the preset time threshold.
  • the preset sliding time threshold is 1 second, and the current execution time is 5 seconds. Then the slip execution time exceeds the preset time threshold by a factor of five.
  • the preset time threshold may be changed according to the user's needs, and the embodiment of the present disclosure does not limit this.
  • the cached deleted characters are all restored to the text input box in order.
  • the undo deletion operation is performed according to the corresponding number of characters corresponding to the multiple, for example, one second corresponds to recover one character, then five times is equivalent to 5 seconds corresponds to recovery of five characters.
  • the preset number of characters is also modified as needed, and the embodiment of the present disclosure does not limit this.
  • the deleted text cache is in the system-specific directory. If the number of deleted characters in the cache is less than the preset number of characters or the corresponding multiple of the preset number of characters according to the user's recovery delete operation, the deleted characters will be cached. All recovery, for example, 1 second corresponds to recovering one character, then 5 times is equivalent to 5 seconds, corresponding to recovery of five characters, and the cache has only one deleted character, or does not cache deleted characters, then only one character is restored. Or do nothing.
  • the sliding operation of the mobile terminal in the text input box and the sliding direction of the sliding operation are detected, and the sliding direction of the sliding operation is matched with the preset sliding direction, and the sliding direction of the user is detected.
  • the sliding distance or the length of the sliding operation determines the number of characters for performing the undo deletion operation corresponding to the preset sliding direction.
  • FIG. 3 a structural block diagram of a mobile terminal according to Embodiment 3 of the present disclosure is shown.
  • the mobile terminal 300 includes a sliding direction detecting module 301, a deleting operation executing module 302, and an undo deleting operation executing module 303.
  • each module of the mobile terminal 400 the functions of each module of the mobile terminal 400 and the interaction relationship between the modules are respectively described in detail below.
  • the sliding direction detecting module 401 is configured to monitor a sliding direction of the sliding operation if detecting a sliding operation of the mobile terminal in the text input box;
  • the deletion operation execution module 402 is configured to perform a deletion operation in the text input box if the sliding direction conforms to the first preset direction;
  • the delete operation execution module 402 includes:
  • the cover character determining sub-module 4021 is configured to detect a character covered by the area of the sliding operation if the sliding direction conforms to the first preset direction;
  • the delete operation execution sub-module 4022 is configured to perform the delete operation after buffering the overwritten characters.
  • the undo deletion operation execution module 403 is configured to perform an undo deletion operation in the text input box if the sliding direction conforms to the second preset direction.
  • the undo delete operation execution module 403 includes:
  • the sliding distance determining sub-module 4031 is configured to detect a sliding distance of the sliding operation in the text input box if the sliding direction conforms to the second preset direction;
  • the delete operation execution sub-module 4032 is configured to perform an undo delete operation if the sliding distance exceeds a preset distance threshold.
  • the undo delete operation execution submodule 4032 includes:
  • a preset number of characters obtaining unit configured to acquire a preset number of characters corresponding to the preset distance threshold if the sliding distance exceeds a preset distance threshold
  • a transcendental multiple determining unit configured to acquire a multiple of the sliding distance exceeding a preset distance threshold
  • a recovery unit configured to restore the characters of the preset number of characters of the corresponding multiple to the text input box according to the multiple of the preset distance threshold, wherein
  • the cached deleted characters are all restored to the text input box in order.
  • the undo delete operation execution module 403 further includes:
  • the execution time determination submodule is configured to detect an execution duration of the sliding operation if the sliding direction conforms to the second preset direction;
  • the undo deletion sub-module is configured to perform an undo deletion operation according to the preset number of characters corresponding to the preset time threshold, if the execution duration exceeds a preset time threshold.
  • the undo delete operation submodule includes:
  • a preset character number obtaining unit configured to acquire a preset number of characters corresponding to the preset time threshold if the execution time exceeds a preset time threshold
  • a time-multiple-acquisition acquiring unit configured to acquire a multiple of the execution duration exceeding a preset time threshold
  • the cached deleted characters are all restored to the text input box in order.
  • the sliding operation of the mobile terminal in the text input box and the sliding direction of the sliding operation are detected, and the sliding direction of the sliding operation is matched with the preset sliding direction, and the sliding direction of the user is detected.
  • the sliding distance or the length of the sliding operation determines the number of characters for performing the undo deletion operation corresponding to the preset sliding direction.
  • FIG. 5 a structural block diagram of a mobile terminal in Embodiment 4 of the present disclosure is shown.
  • the mobile terminal 500 shown in FIG. 5 includes at least one processor 501, a memory 502, at least one network interface 504, and a user interface 503.
  • the various components in mobile terminal 500 are coupled together by a bus system 505.
  • bus system 505 is used to implement connection communication between these components.
  • the bus system 505 includes a power bus, a control bus, and a status signal bus in addition to the data bus.
  • various buses are labeled as bus system 505 in FIG.
  • the user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen, etc.).
  • a pointing device eg, a mouse, a trackball, a touchpad, or a touch screen, etc.
  • the memory 502 in an embodiment of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • the memory 502 of the systems and methods described in the embodiments of the present disclosure is intended to comprise, without being limited to, these and any other suitable types of memory.
  • memory 502 stores elements, executable modules or data structures, or a subset thereof, or their extended set: operating system 5021 and application 5022.
  • the operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
  • the application 5022 includes various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services.
  • a program implementing the method of the embodiments of the present disclosure may be included in the application 5022.
  • the processor 501 by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is configured to detect the sliding operation of the mobile terminal in the text input box. And monitoring the sliding direction of the sliding operation; if the sliding direction conforms to the first preset direction, determining to perform a deleting operation in the text input box; if the sliding direction conforms to the second preset direction, determining The undo delete operation is performed in the text input box.
  • the method disclosed in the above embodiments of the present disclosure may be applied to the processor 501 or implemented by the processor 501.
  • Processor 501 may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 501 or an instruction in a form of software.
  • the processor 501 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
  • the embodiments described in the embodiments of the present disclosure may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device Digital Signal Processing Equipment
  • PLD programmable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described in the embodiments of the present disclosure may be implemented by modules (eg, procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the processor 501 is further configured to: if the sliding direction meets the first preset direction, Then, the character covered by the area of the sliding operation is detected; after the overwritten character is buffered, a deletion operation is performed.
  • the processor 501 is further configured to: if the sliding direction meets the second preset direction And detecting a sliding distance of the sliding operation in the text input box; if the sliding distance exceeds a preset distance threshold, performing an undo deletion operation.
  • the processor 501 is further configured to: if the sliding distance exceeds the preset distance threshold, obtain the preset distance threshold a preset number of characters; obtaining a multiple of the sliding distance exceeding a preset distance threshold; and returning, according to the multiple of the preset distance threshold, a character of the preset multiple of the preset number of characters to the text input box ,among them,
  • the cached deleted characters are all restored to the text input box in order.
  • the processor 501 is further configured to: if the sliding direction meets the second preset direction The execution time of the sliding operation is detected. If the execution time exceeds the preset time threshold, the undo deletion operation is performed according to the preset number of characters corresponding to the preset time threshold.
  • the processor 501 is further configured to: if the execution duration exceeds, when the undo deletion operation is performed according to the preset number of characters corresponding to the preset time threshold
  • the preset time threshold is obtained, the preset number of characters corresponding to the preset time threshold is obtained; and the execution duration is greater than a preset time threshold; and the multiple of the corresponding multiple is exceeded according to the multiple of the preset time threshold
  • the characters of the preset number of characters are restored to the text input box, where
  • the cached deleted characters are all restored to the text input box in order.
  • the sliding operation of the mobile terminal in the text input box and the sliding direction of the sliding operation are detected, and the sliding direction of the sliding operation is matched with the preset sliding direction, and the sliding direction of the user is detected.
  • the corresponding sliding distance or the length of the sliding operation determines the number of characters of the undo delete operation corresponding to the preset sliding direction.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to Embodiment 5 of the present disclosure.
  • the mobile terminal of the embodiment of the present disclosure may be a mobile phone, a tablet computer, a personal digital assistant (PDA), or an in-vehicle computer or the like.
  • PDA personal digital assistant
  • the mobile terminal in FIG. 6 includes a radio frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a WiFi (Wireless Fidelity) module 680, and a power supply 690.
  • RF radio frequency
  • the input unit 630 can be configured to receive numeric or character information input by the user, and generate signal input related to user settings and function control of the mobile terminal.
  • the input unit 630 may include a touch panel 631.
  • the touch panel 631 also referred to as a touch screen, can collect touch operations on or near the user (such as the operation of the user using a finger, a stylus, or the like on any suitable object or accessory on the touch panel 631), and according to the preset
  • the programmed program drives the corresponding connection device.
  • the touch panel 631 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 660 is provided and can receive commands from the processor 660 and execute them.
  • the touch panel 631 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 630 may further include other input devices 632, which may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. One or more of them.
  • the display unit 640 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal.
  • the display unit 640 can include a display panel 641.
  • the display panel 641 can be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
  • the touch panel 631 can cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation on or near it, it is transmitted to the processor 660 to determine the type of the touch event, and then the processor The 660 provides a corresponding visual output on the touch display depending on the type of touch event.
  • the touch display includes an application interface display area and a common control display area.
  • the arrangement manner of the application interface display area and the display area of the common control is not limited, and the arrangement manner of the two display areas can be distinguished by up-and-down arrangement, left-right arrangement, and the like.
  • the application interface display area can be used to display the interface of the application. Each interface can contain interface elements such as at least one application's icon and/or widget desktop control.
  • the application interface display area can also be an empty interface that does not contain any content.
  • the common control display area is used to display controls with high usage, such as setting buttons, interface numbers, scroll bars, phone book icons, and the like.
  • the processor 660 is a control center of the mobile terminal, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the first memory 621, and calling the second memory.
  • the data in 622 performs various functions and processing data of the mobile terminal, thereby performing overall monitoring on the mobile terminal.
  • processor 660 can include one or more processing units.
  • the processor 660 is configured to detect the mobile terminal in the text input box by calling the software program and/or the module stored in the first memory 621 and/or the data in the second memory 622. a sliding operation, monitoring a sliding direction of the sliding operation; if the sliding direction conforms to the first preset direction, determining to perform a deleting operation in the text input box; if the sliding direction conforms to the second preset direction And determining to perform an undo delete operation in the text input box.
  • the processor 660 is further configured to: if the sliding direction meets the first preset direction, Then, the character covered by the area of the sliding operation is detected; after the overwritten character is buffered, a deletion operation is performed.
  • the processor 660 is further configured to: if the sliding direction meets the second preset direction And detecting a distance that the sliding operation slides in the text input box; if the sliding distance exceeds a preset distance threshold, performing an undo delete operation.
  • the processor 660 is further configured to: if the sliding distance exceeds the preset distance threshold, obtain the preset distance threshold a preset number of characters; obtaining a multiple of the sliding distance exceeding a preset distance threshold; and returning, according to the multiple of the preset distance threshold, a character of the preset multiple of the preset number of characters to the text input box ,among them,
  • the cached deleted characters are all restored to the text input box in order.
  • the processor 660 is further configured to: if the sliding direction meets the second preset direction The execution time of the sliding operation is detected. If the execution time exceeds the preset time threshold, the undo deletion operation is performed according to the preset number of characters corresponding to the preset time threshold.
  • the processor 660 is further configured to: if the execution duration exceeds, when the undo deletion operation is performed according to the preset number of characters corresponding to the preset time threshold The preset time threshold is obtained, the preset number of characters corresponding to the preset time threshold is obtained; and the execution duration is greater than a preset time threshold; and the multiple of the corresponding multiple is exceeded according to the multiple of the preset time threshold The characters of the preset number of characters are restored to the text input box, where
  • the cached deleted characters are all restored to the text input box in order.
  • the sliding operation of the mobile terminal in the text input box and the sliding direction of the sliding operation are detected, and the sliding direction of the sliding operation is matched with the preset sliding direction, and the sliding direction of the user is detected.
  • the corresponding sliding distance or the length of the sliding operation determines the number of characters of the undo delete operation corresponding to the preset sliding direction.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of a mobile terminal in accordance with embodiments of the present disclosure.
  • the present disclosure may also be implemented as a device or device program (eg, a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the present disclosure may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

La présente invention concerne un procédé de suppression de texte et un terminal mobile. Le procédé comprend les étapes suivantes : si une opération de glissement sur un terminal mobile dans une boîte d'entrée de texte est détectée, surveiller une direction de coulissement de l'opération de coulissement ; si la direction de coulissement coïncide avec une première direction prédéfinie, déterminer l'exécution d'une opération de suppression dans la boîte d'entrée de texte ; et si la direction de coulissement coïncide avec une seconde direction prédéfinie, déterminer l'exécution d'une opération de perte de suppression dans la boîte d'entrée de texte.
PCT/CN2018/095966 2017-07-17 2018-07-17 Procédé de suppression de texte et terminal mobile WO2019015581A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710581598.1 2017-07-17
CN201710581598.1A CN107506130B (zh) 2017-07-17 2017-07-17 一种文字删除方法及移动终端

Publications (1)

Publication Number Publication Date
WO2019015581A1 true WO2019015581A1 (fr) 2019-01-24

Family

ID=60679930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/095966 WO2019015581A1 (fr) 2017-07-17 2018-07-17 Procédé de suppression de texte et terminal mobile

Country Status (2)

Country Link
CN (1) CN107506130B (fr)
WO (1) WO2019015581A1 (fr)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506130B (zh) * 2017-07-17 2022-03-04 维沃移动通信有限公司 一种文字删除方法及移动终端
CN108572745A (zh) * 2018-03-16 2018-09-25 珠海市魅族科技有限公司 一种输入法应用方法及装置
CN118051384A (zh) * 2018-04-28 2024-05-17 北京搜狗科技发展有限公司 输入处理方法、装置、电子设备和存储介质
CN108762648A (zh) * 2018-04-28 2018-11-06 维沃移动通信有限公司 屏幕操作控制方法及移动终端
CN110471600A (zh) * 2019-08-22 2019-11-19 浙江诺诺网络科技有限公司 一种文本编辑方法、装置和文本编辑器
CN112445403A (zh) * 2020-11-30 2021-03-05 北京搜狗科技发展有限公司 一种文本处理方法、装置和用于文本处理的装置
CN113949815A (zh) * 2021-11-17 2022-01-18 维沃移动通信有限公司 一种拍摄预览方法、装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010089740A1 (fr) * 2009-02-04 2010-08-12 Benjamin Firooz Ghassabian Système d'entrée de données
CN104346066A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理方法和电子设备
CN105183310A (zh) * 2015-08-26 2015-12-23 深圳市金立通信设备有限公司 一种信息编辑方法及终端
CN106775375A (zh) * 2016-11-21 2017-05-31 努比亚技术有限公司 一种终端信息编辑处理装置及其方法
CN107506130A (zh) * 2017-07-17 2017-12-22 维沃移动通信有限公司 一种文字删除方法及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176969A (zh) * 2011-12-20 2013-06-26 腾讯科技(深圳)有限公司 一种分享微博消息的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010089740A1 (fr) * 2009-02-04 2010-08-12 Benjamin Firooz Ghassabian Système d'entrée de données
CN104346066A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理方法和电子设备
CN105183310A (zh) * 2015-08-26 2015-12-23 深圳市金立通信设备有限公司 一种信息编辑方法及终端
CN106775375A (zh) * 2016-11-21 2017-05-31 努比亚技术有限公司 一种终端信息编辑处理装置及其方法
CN107506130A (zh) * 2017-07-17 2017-12-22 维沃移动通信有限公司 一种文字删除方法及移动终端

Also Published As

Publication number Publication date
CN107506130A (zh) 2017-12-22
CN107506130B (zh) 2022-03-04

Similar Documents

Publication Publication Date Title
WO2019015581A1 (fr) Procédé de suppression de texte et terminal mobile
WO2018157662A1 (fr) Procédé de commande d'affichage de volume pour terminal mobile et terminal mobile
JP6055961B2 (ja) テキスト選択及び入力
CN105824559B (zh) 一种误触识别及处理方法和电子设备
WO2018196699A1 (fr) Procédé d'affichage de région de reconnaissance d'empreinte digitale, et terminal mobile
CN106126077B (zh) 一种应用程序图标的显示控制方法和移动终端
US20120212438A1 (en) Methods and apparatuses for facilitating interaction with touch screen apparatuses
CN107193438B (zh) 一种管理桌面图标的方法及移动终端
WO2018166434A1 (fr) Procédé de traitement d'icônes et terminal mobile
US20130207905A1 (en) Input Lock For Touch-Screen Device
CN107562345B (zh) 一种信息存储方法及移动终端
WO2018068328A1 (fr) Terminal et procédé d'affichage d'interface
CN107479822B (zh) 一种信息输入方法和终端
WO2018133615A1 (fr) Procédé d'exploitation de programmes d'application et terminal mobile
WO2017132963A1 (fr) Procédé de traitement de données et dispositif électronique
WO2018166469A1 (fr) Procédé pour copier-coller multi-trajet, et terminal mobile
CN106873874B (zh) 一种应用程序开启方法及移动终端
WO2018177157A1 (fr) Procédé de saisie de caractères et terminal mobile
KR20140136855A (ko) 기능 실행 방법 및 그 전자 장치
KR20140104822A (ko) 가상 키 패드를 디스플레이하기 위한 방법 및 그 전자 장치
CN106873891B (zh) 一种触控操作的方法及移动终端
WO2018054125A1 (fr) Procédé d'affichage d'informations pour terminal mobile, et terminal mobile
WO2019037680A1 (fr) Procédé de commande de l'interface d'opérations d'un terminal mobile, et terminal mobile
WO2018177156A1 (fr) Procédé de fonctionnement d'un terminal mobile, et terminal mobile
CN107632761B (zh) 一种显示内容查看方法、移动终端和计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18836172

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18836172

Country of ref document: EP

Kind code of ref document: A1