CN107203280B - Punctuation input method and terminal - Google Patents

Punctuation input method and terminal Download PDF

Info

Publication number
CN107203280B
CN107203280B CN201710379043.9A CN201710379043A CN107203280B CN 107203280 B CN107203280 B CN 107203280B CN 201710379043 A CN201710379043 A CN 201710379043A CN 107203280 B CN107203280 B CN 107203280B
Authority
CN
China
Prior art keywords
punctuation mark
punctuation
input
incomplete
virtual
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.)
Active
Application number
CN201710379043.9A
Other languages
Chinese (zh)
Other versions
CN107203280A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710379043.9A priority Critical patent/CN107203280B/en
Publication of CN107203280A publication Critical patent/CN107203280A/en
Application granted granted Critical
Publication of CN107203280B publication Critical patent/CN107203280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The invention provides a punctuation input method and a terminal, the method comprises: detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete preset combined punctuation mark comprises: the editing area has the first punctuation mark but does not have the second punctuation mark or the editing area has the second punctuation mark but does not have the first punctuation mark; if the punctuation mark exists, displaying a punctuation mark to be input on the virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing an incomplete preset combined punctuation mark; and inputting the punctuation marks to be input according to the received input instruction of the punctuation marks to be input by the user. The method and the device are convenient for the user to input the punctuation marks to be input quickly when the incomplete preset combined symbols exist in the editing area of the terminal input interface, are simple and quick to operate, and improve the input experience of the user.

Description

Punctuation input method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a terminal for inputting punctuation marks.
Background
The existing input technology based on the touch screen generally displays a virtual keyboard on the touch screen, and the virtual keyboard is operated by means of touch tools (including fingers, a touch pen, a trackball and the like) to input information. Of course, this would involve the entry of punctuation symbols on the virtual keyboard.
Part of punctuation marks are composed of two parts, for example, (), { }, ", etc., currently, when a user inputs such combined punctuation marks at a terminal, the following two ways are generally adopted:
firstly, switching from a main keyboard to a punctuation keyboard, inputting the left side of a combined punctuation, then switching to the main keyboard to normally input characters, then switching to the punctuation keyboard again, and inputting the right side of the combined punctuation to complete the whole input process;
and secondly, the system can automatically input the right side of the corresponding punctuation mark by switching the main keyboard to the punctuation mark keyboard and inputting the left side of the combined punctuation mark, and moves the input cursor between the left side and the right side of the combined punctuation mark, and after the user finishes inputting the characters, moves the cursor to the right side of the combined punctuation mark again, and finishes the whole input process.
The punctuation input mode has the disadvantages of complicated user operation and poor use experience. Moreover, when the user modifies the text, if one side of the combined punctuation mark is deleted carelessly, the second operation input is adopted, so that the operation is more complicated, the redundant side is also deleted except for finding the corresponding punctuation mark, and the user experience is poor.
Disclosure of Invention
The invention aims to provide a punctuation input method and a terminal, which are used for solving the problems of complicated input operation and poor use experience of the existing user for punctuation.
In a first aspect, an embodiment of the present invention provides an input method for punctuation marks, including:
detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area;
if the symbol to be input exists, displaying a punctuation mark to be input which supplements the incomplete preset combined punctuation mark with a complete symbol to be input on a virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input supplements the incomplete preset combined punctuation mark with a complete symbol to be input;
and inputting the punctuation marks to be input according to the received input instruction of the user to the punctuation marks to be input.
In a second aspect, an embodiment of the present invention provides a terminal, including;
the detection module is used for detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area;
the display module is used for displaying punctuations to be input on a virtual keyboard or at preset positions of an input interface when incomplete preset combined punctuations exist in an editing area of the terminal input interface, wherein the punctuations to be input are used for completely supplementing the incomplete preset combined punctuations;
and the input module is used for inputting the punctuation marks to be input according to the received input instruction of the user on the punctuation marks to be input.
In a third aspect, an embodiment of the present invention provides a terminal, including: the punctuation mark input control program is executed by the processor, and the steps in the punctuation mark input method provided by the first aspect of the embodiment of the present invention are executed.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a punctuation input control program is stored, which, when executed by a processor, implements the steps of the punctuation input method according to the first aspect.
In the above scheme of the embodiment of the invention, when the incomplete preset combined symbol is detected to exist in the editing area of the terminal input interface, the punctuation mark to be input is supplemented completely by the incomplete preset combined symbol by displaying the punctuation mark to be input on the virtual keyboard, so that a user can input the punctuation mark to be input conveniently and quickly, the operation is simple and quick, and the input experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic flow chart illustrating an input method of punctuation marks according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for inputting punctuation marks according to another embodiment of the present invention;
fig. 3 is one of schematic editing interfaces of a terminal according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an editing interface of the terminal according to the embodiment of the present invention;
fig. 5 is a third schematic diagram of an editing interface of the terminal according to the embodiment of the present invention;
FIG. 6 is a fourth schematic diagram of an editing interface of the terminal according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to another embodiment of the present invention;
fig. 10 is a schematic diagram of a terminal structure according to still another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a schematic flow chart of an input method of punctuation marks according to an embodiment of the present invention. The implementation of the method is described in detail below with reference to this figure. As shown in fig. 1, the steps of the method for inputting punctuation provided by the embodiment of the present invention include:
step 101, detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark but not the second punctuation mark is present in the editing region or the second punctuation mark but not the first punctuation mark is present in the editing region.
Here, the combined punctuation mark is composed of a first punctuation mark and a second punctuation mark. Wherein the first punctuation mark and the second punctuation mark are used in cooperation with each other. E.g., ", (), { },", etc.
Generally, if a combined punctuation mark exists in the same row of the editing area and the input mode is from left to right, the first punctuation mark is located on the left side of the second punctuation mark, and the second punctuation mark is located on the right side of the first punctuation mark.
Of course, it is also understood that the first punctuation mark is located to the left of the beginning character entered within the combined punctuation mark and the second punctuation mark is located to the right of the ending character entered within the combined punctuation mark.
And 102, if the punctuation mark exists, displaying a punctuation mark to be input on the virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark.
It should be noted that the virtual keyboard includes: a virtual primary keyboard and a virtual secondary keyboard switchable with each other, the virtual secondary keyboard including a first punctuation mark and a second punctuation mark.
Here, the virtual main keyboard is provided with a virtual switching key which can be switched to the virtual auxiliary keyboard; the virtual auxiliary keyboard is provided with a virtual return key which can return to the virtual main keyboard.
Specifically, as shown in fig. 3, the lower half of the diagram is a virtual main keyboard, wherein the virtual switch key switchable to the virtual sub-keyboard includes: the lower left corner of the figure is marked with a virtual key with the character "symbol" and the lower right side of the figure is marked with a virtual key with the character "123".
Here, if the user clicks the "symbol" key, the terminal responds to the click operation to switch from the virtual main keyboard to the virtual auxiliary keyboard; if the user clicks the '123' key, the terminal responds to the clicking operation and also switches the virtual main keyboard to the virtual auxiliary keyboard.
Here, the virtual sub-keyboard (not shown) has a virtual return key thereon that can return to the virtual main keyboard. In particular, e.g. virtual sub-keyboards
Figure BDA0001304654080000041
The keys of the typeface are return keys.
Also, the virtual main keyboard includes: the virtual letter keys are used for the user to input Chinese and English. In general, the method can further comprise: the usual point numbers. Such as periods, question marks, commas, etc., as shown in fig. 3.
Here, the virtual sub-keyboard may be further divided as needed, such as a virtual numeric keyboard for a user to input numbers and a virtual symbol keyboard for a user to input punctuation marks. The virtual symbol keyboard comprises a first punctuation mark and a second punctuation mark.
Specifically, the virtual numeric keypad includes: virtual number keys for user to input numbers; the virtual symbol keyboard includes: and the virtual symbol key is used for inputting punctuation symbols by a user.
Here, in a preferred embodiment, step 102 may specifically include:
and displaying punctuation marks to be input on a symbol column of the virtual main keyboard.
It should be noted that the symbol column of the virtual main keyboard includes an area where a virtual key that does not affect the text input of the user is located on the virtual main keyboard. Generally, a punctuation mark to be input is displayed on a symbol column of a virtual main keyboard, occupies an area of one virtual key on the virtual main keyboard, and covers an original virtual key of the virtual main keyboard in the area.
For example, the input mode of the virtual main keyboard is pinyin nine keys, and as shown in fig. 4, the symbol bar of the virtual main keyboard includes areas where other virtual keys are located except the squared area where the letter keys are located. As in fig. 4, the symbol bar of the virtual main keyboard is located in the lower left corner of the virtual main keyboard.
If the input mode of the virtual main keyboard is pinyin full keys, the symbol bar of the virtual main keyboard comprises areas where other virtual keys are located except the areas where the letter keys are located.
Furthermore, if the punctuation mark to be input is displayed in the area of one virtual key on the virtual main keyboard and covers the original virtual key of the virtual main keyboard in the area, and when the punctuation mark to be input is detected to be input in the editing area, the punctuation mark to be input on the virtual main keyboard is controlled not to be displayed, and the original virtual key on the preset area is restored to be displayed.
The method has the advantages that the punctuation marks to be input which are completely supplemented by the incomplete preset combined punctuation marks are displayed on the symbol columns of the virtual main keyboard, frequent switching of keyboard modes can be avoided, operation is simple, a user can conveniently and quickly input punctuation marks to be input which are completely supplemented by the incomplete preset combined punctuation marks, and input experience of the user is improved.
In another preferred embodiment, step 102 may further specifically include:
and displaying punctuation marks to be input in the suspension frame at the preset position of the input interface.
Here, the preset position of the input interface may be set by itself according to the personal habits of the user, or may be set at a fixed position of the input interface.
Here, the floating frame is a virtual key in a floating form, and when the virtual key marked with a punctuation mark to be input is displayed in a floating form, the virtual main keyboard or the virtual auxiliary keyboard is always displayed at a preset position of the terminal input interface regardless of the current mode of the virtual keyboard.
Furthermore, if the punctuation mark to be input is displayed by the suspended virtual key, and when the punctuation mark to be input is detected to be input in the editing area, the virtual key for displaying the punctuation mark to be input is controlled not to be displayed, and the display mode does not occupy the alternative area of the original virtual main keyboard, so that the number of the user alternative characters is increased.
It should be further explained that when the first punctuation mark exists but the second punctuation mark does not exist in the editing area, the punctuation mark to be input includes the second punctuation mark; when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
Step 103, inputting the punctuation mark to be input according to the received input instruction of the user to the punctuation mark to be input.
In the embodiment of the invention, when the incomplete preset combined symbol exists in the editing area of the terminal input interface, the punctuation mark to be input for complementing the incomplete preset combined symbol is displayed on the virtual keyboard, so that a user can conveniently and quickly input the punctuation mark to be input, the operation is simple and quick, and the input experience of the user is improved.
Fig. 2 is a schematic flow chart of a punctuation input method according to another embodiment of the present invention. The implementation of the method is described in detail below with reference to this figure.
Step 201, determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
Here, the preset combined punctuation mark includes: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete preset combined punctuation mark comprises: the first punctuation mark but not the second punctuation mark is present in the editing region or the second punctuation mark but not the first punctuation mark is present in the editing region.
Step 202, if the symbol exists, displaying a punctuation mark to be input on the virtual main keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark.
It should be noted that the virtual keyboard includes: a virtual primary keyboard and a virtual secondary keyboard switchable with each other, the virtual secondary keyboard including the first punctuation mark and the second punctuation mark.
In this embodiment, if an incomplete preset combined punctuation mark exists in the editing region, a punctuation mark to be input is supplemented completely with the incomplete preset combined punctuation mark is displayed on the virtual main keyboard or at a preset position of the input interface.
Step 203, inputting the punctuation mark to be input according to the received input instruction of the user to the punctuation mark to be input.
Specifically, an optional implementation manner of this embodiment includes the following steps:
and A1, acquiring the position of the cursor in the editing area.
A2, when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
Here, for example, as shown in fig. 3 or 4, in example 1, in the text input process, if it is detected that there is "(" input "and not present after the cursor") input in the editing region, and the current virtual keyboard is the virtual main keyboard, it is determined that there is an incomplete preset combined punctuation mark in the editing region; then displayed on the virtual main keyboard ")".
Example 2, as shown in fig. 5, the terminal acquires a position of a cursor in the editing region, and detects that there are three punctuations "(", "" "and" ") in a preset region before the position of the cursor in the editing region, and determines that there is a corresponding" "" after the left "", it may be considered that the double-quotation mark is a complete combination punctuation mark, but there is no "" "in the preset region after the position of the cursor, and it may be considered that the parentheses are incomplete combination punctuation marks.
And A3, displaying a second punctuation mark on the virtual main keyboard or a preset position of the input interface.
Continuing to take example 1 as an example, in fig. 3 ")" is displayed in the floating frame at the preset position of the input interface; in fig. 4) "" are displayed at predetermined positions on the symbol bar of the virtual main keyboard, and the virtual keys in the area are covered. Therefore, the input thought of the user from left to right can not be disturbed, the input cursor does not need to be moved for many times, the operation is simple and fast, and the input experience of the user is improved.
Example 2, in fig. 5 ")" refer to the explanation of fig. 3 in example 1, and the description is omitted here.
And A4, inputting the second punctuation mark according to the received input instruction of the user to the second punctuation mark.
Here, the input instruction of the user for the second punctuation mark can be triggered and generated by clicking a virtual key on the input virtual main keyboard, on which the second punctuation mark is displayed, by the user, and the terminal can detect the click input operation of the user; the text including the second punctuation mark can be copied from other places of the editing area by the user and pasted to the place where the cursor is located to trigger generation, and the terminal can detect the copy and paste operation of the user.
Next, taking example 1 as an example, as shown in fig. 3, when the user completes the click input operation on the "displayed floating frame" or completes the "paired") copy and paste operation, the floating frame disappears.
As shown in fig. 4, when the user completes the click input operation on the "") virtual key or the copy and paste operation on the "") virtual key displayed at the preset area position of the virtual main keyboard, the "") virtual key disappears, and the original virtual key at the preset area position is restored to be displayed.
Here, the input of "in example 2, fig. 5") is specifically explained with reference to fig. 3, and is not described again here.
Specifically, another optional implementation manner of this embodiment includes the following steps:
and B1, acquiring the position of the cursor in the editing area.
And B2, when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
For example, in example 3, as shown in fig. 6, the terminal acquires a position of a cursor in the editing region, and detects that there are "", "" "" "" "") "and three punctuations in a preset region after the cursor position in the editing region, and determines that there is a corresponding" "" after the left "", it may be considered that the double-quotation mark is a complete combined punctuation mark, but there is no "(") in the preset region before the cursor position, and it may be considered that the parentheses are incomplete combined punctuation marks.
And B3, displaying the first punctuation mark on the virtual main keyboard or the preset position of the input interface.
Here, the specific display manner of the first punctuation mark refers to the explanation of the step a3, and is not described herein again.
And B4, inputting the first punctuation mark according to the received input instruction of the user to the first punctuation mark.
Here, the process of obtaining the input instruction of the first punctuation mark by the user also refers to the explanation of the above-mentioned step a4, and is not described here again.
It should be noted that the above two preferred embodiments are also applicable to the case where the user carelessly deletes one side of the combined punctuation mark when modifying the text, so that the user can complete the supplementary input of the deleted mark quickly, the operation is simple and fast, and the user input experience is improved.
In the embodiment of the invention, whether the incomplete preset combination symbol exists in the editing area is determined by the obtained position of the cursor in the editing area, and when the incomplete preset combination symbol exists in the editing area, the punctuation mark to be input for supplementing the incomplete preset combination symbol to be input is displayed on the virtual keyboard or the preset position of the input interface, so that a user can conveniently and quickly input the punctuation mark to be input, the operation is simple and quick, and the input experience of the user is improved.
Embodiments of the present invention also provide a computer-readable storage medium on which an input program (instructions) of punctuation is stored, the program (instructions) implementing the following steps when executed by a processor:
detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing interface;
if the punctuation mark exists, displaying a punctuation mark to be input on the virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark;
and inputting the punctuation marks to be input according to the received input instruction of the user to the punctuation marks to be input.
Optionally, the program (instructions), when executed by the processor, may further implement the steps of:
specifically, the virtual keyboard includes: the fine auxiliary keyboard comprises the first punctuation marks and the second punctuation marks;
the method for displaying punctuation marks to be input on the virtual keyboard comprises the following steps:
and displaying punctuation marks to be input on the symbol column of the virtual main keyboard.
The method comprises the following steps of displaying punctuation marks to be input at a preset position of the input interface, wherein the steps comprise:
and displaying punctuation marks to be input in the suspension frame at the preset position of the input interface.
Specifically, when the first punctuation mark exists but the second punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the second punctuation mark;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
The method comprises the following steps of detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the steps comprise:
and determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
Determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area, wherein the step comprises the following steps:
when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area; or
And when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal 300 includes:
a detecting module 301, configured to detect whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, where the preset combined punctuation mark includes: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area;
a display module 302, configured to display a punctuation mark to be input on a virtual keyboard or at a preset position of an input interface when an incomplete preset combined punctuation mark exists in an editing region of a terminal input interface, where the punctuation mark to be input is used to completely supplement the incomplete preset combined punctuation mark;
the input module 303 is configured to input the punctuation mark to be input according to a received input instruction of the user on the punctuation mark to be input.
Specifically, as shown in fig. 8, a schematic diagram of a terminal structure provided in another embodiment of the present invention is shown.
Here, the virtual keyboard in the present embodiment includes: a virtual main keyboard and a virtual auxiliary keyboard which can be switched with each other, wherein the virtual auxiliary keyboard comprises the first punctuation marks and the second punctuation marks;
the display module 302 may further specifically include:
the first display submodule 3021 is configured to display punctuation marks to be input on a symbol column of the virtual main keyboard.
Here, the display module 302 may further specifically include:
the second display submodule 3022 is configured to display a punctuation mark to be input in the floating frame at the preset position of the input interface.
Specifically, when the first punctuation mark exists but the second punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the second punctuation mark;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
In this embodiment of the present invention, the detecting module 301 may further specifically include:
the detection determining submodule 3011 is configured to determine whether an incomplete preset combined punctuation mark exists in the editing region according to the obtained position of the cursor in the editing region.
Here, the detection determining sub-module 3011 may further specifically include:
a first detection determining unit 30111, configured to determine that there is an incomplete preset combined punctuation mark in the current editing region when the first punctuation mark exists in a first preset region before a position where the cursor is located and there is no second punctuation mark after the first punctuation mark;
a second detection determining unit 30112, configured to determine that there is an incomplete preset combined punctuation mark in the current editing region when the second punctuation mark exists in a second preset region after the position of the cursor and there is no first punctuation mark before the second punctuation mark.
According to the terminal provided by the embodiment of the invention, when the detection module detects that the incomplete preset combined symbol exists in the editing area of the terminal input interface, the display module displays the punctuation mark to be input for supplementing the incomplete preset combined symbol to the complete punctuation mark to be input on the virtual keyboard or the preset position of the input interface, and the punctuation mark to be input is input through the input module, so that a user can conveniently and quickly input the punctuation mark to be input, the operation is simple and quick, and the input experience of the user is improved.
The embodiment of the present invention further provides a terminal, which includes a processor, a memory, and an input program of a punctuation mark stored in the memory and capable of running on the processor, where the input program of the punctuation mark is executed by the processor to implement the processes of the embodiment of the punctuation mark input method, and can achieve the same technical effects, and is not described herein again to avoid repetition.
Fig. 9 is a schematic diagram of a terminal structure according to another embodiment of the present invention. The terminal 400 shown in fig. 9 includes:
at least one processor 401, memory 402, at least one network interface 404, and a user interface 403. The various components in the terminal 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 9.
The user interface 403 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that memory 402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 402 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application programs 4022 include various application programs, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In the embodiment of the present invention, the terminal 400 further includes: punctuation input program stored in the memory 402 and executable on the processor 401, in particular punctuation input program in the application 4022, which when executed by the processor 401, implements the following steps: detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area; the punctuation input procedure, when executed by the user interface 403, implements the following steps: when an incomplete preset combined punctuation mark exists in an editing area, displaying a punctuation mark to be input on a virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark; the punctuation input program when executed by the processor 401 implements the steps of: and inputting the punctuation marks to be input according to the received input instruction of the user to the punctuation marks to be input.
It should be noted that the input instructions of the preset combined punctuation marks and punctuation marks to be input can be stored in the memory 402, and the processor 401 can call the input instructions of the preset combined punctuation marks and punctuation marks to be input in the memory 402.
Specifically, the virtual keyboard includes: a virtual main keyboard and a virtual auxiliary keyboard which can be switched with each other, wherein the virtual auxiliary keyboard comprises the first punctuation marks and the second punctuation marks; optionally, the punctuation input program when executed by the processor 401 may further implement the steps of: and displaying punctuation marks to be input on the symbol column of the virtual main keyboard.
Optionally, the punctuation input program when executed by the processor 401 may further implement the steps of: and displaying punctuation marks to be input in the suspension frame at the preset position of the input interface.
Specifically, when the first punctuation mark exists but the second punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the second punctuation mark;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
Optionally, the punctuation input program when executed by the processor 401 may further implement the steps of: and determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
Optionally, the punctuation input program when executed by the processor 401 may further implement the steps of: when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area; or when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
The terminal of the present invention may be a mobile terminal such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The terminal 400 can implement the processes implemented by the terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
In the terminal 400 of the embodiment of the present invention, when executed by the processor 401, the punctuation input program implements the following steps: detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area; the punctuation input procedure, when executed by the user interface 403, implements the following steps: when an incomplete preset combined punctuation mark exists in an editing area, displaying a punctuation mark to be input on a virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark; the punctuation input program when executed by the processor 401 implements the steps of: the punctuation mark to be input is input according to the received input instruction of the user for the punctuation mark to be input, so that when the incomplete preset combined symbol exists in the editing area of the terminal input interface, the punctuation mark to be input is completed by displaying the incomplete preset combined symbol on the virtual keyboard or the preset position of the input interface, the user can conveniently and quickly input the punctuation mark to be input, the operation is simple and quick, and the input experience of the user is improved.
The methods disclosed in the embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The Processor 401 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Fig. 10 is a schematic diagram of a terminal structure according to still another embodiment of the present invention. The terminal 500 shown in fig. 10 includes:
a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the terminal 500, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the terminal 500. Optionally, processor 560 may include one or more processing units.
In this embodiment of the present invention, the terminal 500 further includes: the punctuation input program stored in the first memory 521 and operable on the processor 560 and the data stored in the second memory 522 and callable by the processor 560, in particular, when executed by the processor 560, implement the following steps: detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area; the punctuation input program, when executed by the display unit 540, implements the following steps: when an incomplete preset combined punctuation mark exists in an editing area, displaying a punctuation mark to be input on a virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark; the punctuation input procedure, when executed by the input unit 530, implements the following steps: and inputting the punctuation marks to be input according to the received input instruction of the user to the punctuation marks to be input.
It should be noted that the preset combined punctuation mark may be stored in the second memory 522, and the processor 560 may call the preset combined punctuation mark in the second memory 522; the input instruction of the punctuation mark to be input may be stored in the first memory 521, and the processor 560 may call the input instruction in the first memory 521.
Specifically, the virtual keyboard includes: a virtual main keyboard and a virtual auxiliary keyboard which can be switched with each other, wherein the virtual auxiliary keyboard comprises the first part punctuation marks and the second part punctuation marks; optionally, the punctuation input program when executed by the processor 560 may further implement the following steps: and displaying punctuation marks to be input on the symbol column of the virtual main keyboard.
Optionally, the punctuation input program when executed by the processor 560 may further implement the following steps: and displaying punctuation marks to be input in the suspension frame at the preset position of the input interface.
Specifically, when the first punctuation mark exists but the second punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the second punctuation mark;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
Optionally, the punctuation input program when executed by the processor 560 may further implement the following steps: and determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
Optionally, the punctuation input program when executed by the processor 560 may further implement the following steps: when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area; or when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
In the terminal 500 provided in the embodiment of the present invention, when executed by the processor 560, the input program of the punctuation mark implements the following steps: detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area; the punctuation input program, when executed by the display unit 540, implements the following steps: when an incomplete preset combined punctuation mark exists in an editing area, displaying a punctuation mark to be input on a virtual keyboard or a preset position of the input interface, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark; the punctuation input procedure, when executed by the input unit 530, implements the following steps: the punctuation mark to be input is input according to the received input instruction of the user for the punctuation mark to be input, so that when the incomplete preset combined symbol exists in the editing area of the terminal input interface, the punctuation mark to be input is completed by displaying the incomplete preset combined symbol on the virtual keyboard or the preset position of the input interface, the user can conveniently and quickly input the punctuation mark to be input, the operation is simple and quick, and the input experience of the user is improved.
The terminal of the present invention may be a mobile terminal such as a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The terminal 500 can implement the processes implemented by the terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by controlling the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The terms first, second and the like in the description and in the claims of the present invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A punctuation input method comprising:
detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area;
if the punctuation mark exists, displaying a punctuation mark to be input on the virtual keyboard, wherein the punctuation mark to be input is used for completely supplementing the incomplete preset combined punctuation mark;
inputting the punctuation marks to be input according to the received input instruction of the user to the punctuation marks to be input;
the virtual keyboard includes: a virtual main keyboard and a virtual auxiliary keyboard which can be switched with each other, wherein the virtual auxiliary keyboard comprises the first punctuation marks and the second punctuation marks;
the method for displaying punctuation marks to be input on the virtual keyboard comprises the following steps:
displaying punctuation marks to be input on a symbol column of the virtual main keyboard, wherein the symbol column is used for switching out a virtual auxiliary keyboard;
and after the user finishes inputting the punctuation marks to be input, the virtual keys of the symbol column of the virtual main keyboard are restored to display.
2. The punctuation input method of claim 1, wherein, when the first punctuation exists but a second punctuation does not exist in the editing area, the punctuation to be input comprises the second punctuation;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
3. The punctuation mark input method of claim 1, wherein the step of detecting whether the incomplete pre-set combined punctuation mark exists in the editing area of the terminal input interface comprises:
and determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
4. The punctuation input method of claim 3, wherein the step of determining whether there is an incomplete preset combined punctuation in the editing region according to the obtained position of the cursor in the editing region comprises:
when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area; or
And when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark, determining that an incomplete preset combined punctuation mark exists in the current editing area.
5. A terminal, comprising:
the detection module is used for detecting whether an incomplete preset combined punctuation mark exists in an editing area of a terminal input interface, wherein the preset combined punctuation mark comprises: a first punctuation mark and a second punctuation mark which are used in cooperation with each other; the incomplete pre-defined combination punctuation mark comprises: the first punctuation mark exists but no second punctuation mark exists in the editing area or the second punctuation mark exists but no first punctuation mark exists in the editing area;
the display module is used for displaying punctuations to be input on a virtual keyboard when incomplete preset combined punctuations exist in an editing area of a terminal input interface, wherein the punctuations to be input are used for completely supplementing the incomplete preset combined punctuations;
the input module is used for inputting the punctuation marks to be input according to the received input instruction of the user on the punctuation marks to be input;
the virtual keyboard includes: a virtual main keyboard and a virtual auxiliary keyboard which can be switched with each other, wherein the virtual auxiliary keyboard comprises the first punctuation marks and the second punctuation marks;
the display module includes:
the first display sub-module is used for displaying punctuation marks to be input on a symbol bar of the virtual main keyboard; the symbol bar is used for switching out the virtual auxiliary keyboard;
and after the user finishes inputting the punctuation marks to be input, the virtual keys of the symbol column of the virtual main keyboard are restored to display.
6. The terminal according to claim 5, wherein when the first punctuation mark but no second punctuation mark exists in the editing area, the punctuation mark to be input comprises the second punctuation mark;
and when the second punctuation mark exists but the first punctuation mark does not exist in the editing area, the punctuation mark to be input comprises the first punctuation mark.
7. The terminal of claim 5, wherein the detection module comprises:
and the detection determining submodule is used for determining whether an incomplete preset combined punctuation mark exists in the editing area according to the acquired position of the cursor in the editing area.
8. The terminal of claim 7, wherein the detection determination submodule comprises:
the first detection determining unit is used for determining that an incomplete preset combined punctuation mark exists in the current editing area when the first punctuation mark exists in a first preset area before the position of the cursor and the second punctuation mark does not exist after the first punctuation mark;
and the second detection determining unit is used for determining that an incomplete preset combined punctuation mark exists in the current editing area when the second punctuation mark exists in a second preset area behind the position of the cursor and the first punctuation mark does not exist before the second punctuation mark.
9. A terminal comprising a processor, a memory, and an input control program of punctuation marks stored on said memory and executable on said processor, said input control program of punctuation marks implementing the steps of the input control method of punctuation marks according to any one of claims 1 to 4 when executed by said processor.
10. A computer-readable storage medium, on which a punctuation input control program is stored, the punctuation input control program implementing the steps of the punctuation input control method according to any one of claims 1 to 4, when executed by a processor.
CN201710379043.9A 2017-05-25 2017-05-25 Punctuation input method and terminal Active CN107203280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379043.9A CN107203280B (en) 2017-05-25 2017-05-25 Punctuation input method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379043.9A CN107203280B (en) 2017-05-25 2017-05-25 Punctuation input method and terminal

Publications (2)

Publication Number Publication Date
CN107203280A CN107203280A (en) 2017-09-26
CN107203280B true CN107203280B (en) 2021-05-25

Family

ID=59905992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379043.9A Active CN107203280B (en) 2017-05-25 2017-05-25 Punctuation input method and terminal

Country Status (1)

Country Link
CN (1) CN107203280B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108089723A (en) * 2017-12-21 2018-05-29 北京小米移动软件有限公司 Character input method and device
CN108628534B (en) * 2018-05-14 2021-01-08 维沃移动通信有限公司 Character display method and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN106055251A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Virtual keyboard and terminal comprising same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8386958B1 (en) * 2007-09-12 2013-02-26 Oracle America, Inc. Method and system for character input
US8416192B2 (en) * 2009-02-05 2013-04-09 Microsoft Corporation Concurrently displaying multiple characters for input field positions
JP5615583B2 (en) * 2010-04-08 2014-10-29 京セラ株式会社 Character input device, character input method, and character input program
US9256366B2 (en) * 2012-08-14 2016-02-09 Google Technology Holdings LLC Systems and methods for touch-based two-stage text input
CN106201017A (en) * 2016-07-19 2016-12-07 深圳市金立通信设备有限公司 A kind of input method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102445994A (en) * 2010-09-30 2012-05-09 北京搜狗科技发展有限公司 Intelligence input method and system thereof
CN106055251A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Virtual keyboard and terminal comprising same

Also Published As

Publication number Publication date
CN107203280A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
US11487426B2 (en) Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area
KR102089447B1 (en) Electronic device and method for controlling applications thereof
US9766739B2 (en) Method and apparatus for constructing a home screen in a terminal having a touch screen
CN102722334B (en) The control method of touch screen and device
US9857940B2 (en) Method and apparatus for managing screens in a portable terminal
US20140306897A1 (en) Virtual keyboard swipe gestures for cursor movement
US20120313858A1 (en) Method and apparatus for providing character input interface
EP2669786A2 (en) Method for displaying item in terminal and terminal using the same
US20110320978A1 (en) Method and apparatus for touchscreen gesture recognition overlay
US8456433B2 (en) Signal processing apparatus, signal processing method and selection method of user interface icon for multi-touch panel
US20140306898A1 (en) Key swipe gestures for touch sensitive ui virtual keyboard
EP2735960A2 (en) Electronic device and page navigation method
US20100207870A1 (en) Device and method for inputting special symbol in apparatus having touch screen
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
CN106874046B (en) Application program operation method and mobile terminal
CN107479822B (en) Information input method and terminal
CN102103461A (en) Method for realizing shortcut key mode on touch pad of notebook computer
US20150212726A1 (en) Information processing apparatus and input control method
WO2018177157A1 (en) Character input method of mobile terminal and mobile terminal
JP2014238755A (en) Input system, input method, and smartphone
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
US20120179963A1 (en) Multi-touch electronic device, graphic display interface thereof and object selection method of multi-touch display
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
US20150062015A1 (en) Information processor, control method and program
CN107678813B (en) Desktop icon theme switching method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant