CN106774977A - Punctuation mark automatic matching method, device and terminal device - Google Patents
Punctuation mark automatic matching method, device and terminal device Download PDFInfo
- Publication number
- CN106774977A CN106774977A CN201611150928.3A CN201611150928A CN106774977A CN 106774977 A CN106774977 A CN 106774977A CN 201611150928 A CN201611150928 A CN 201611150928A CN 106774977 A CN106774977 A CN 106774977A
- Authority
- CN
- China
- Prior art keywords
- input instruction
- input
- punctuation mark
- user
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
Abstract
The disclosure is directed to a kind of punctuation mark automatic matching method, device and terminal device, wherein, the method includes:Receive first input instruction of user, corresponding first input content of first input instruction includes the left symbol in paired punctuation mark, according to first input instruction, left symbol in being shown as to punctuation mark, and whether detection receives second input instruction of user in the preset time period since the finish time of the first input instruction, and when second input instruction of user is not received in the preset time period the finish time since the first input instruction, Auto-matching shows right symbol corresponding with above-mentioned left symbol.The technical scheme, Auto-matching and can be shown as right symbol corresponding to left symbol in punctuation mark, it is not necessary to which user is manually entered, and simplifies input operation, improves the operating experience of user.
Description
Technical field
This disclosure relates to applied technical field, more particularly to a kind of punctuation mark automatic matching method, device and terminal set
It is standby.
Background technology
Punctuation mark is the organic component of written language, is the indispensable aid of written language, and it can be with
Help people's formulated thoughts and feelings and understand written language.
In correlation technique, the input method of paired punctuation mark mainly has following two, and one kind is to be input into a left side first
Symbol, is then proceeded to be input into other characters, and the right symbol matched with the left symbol is finally input into again;Another kind is same when being input
When there are a pair or so symbols being close to, user is moved the cursor in the middle of the symbol of left and right, and then is input into other characters, then
Cursor is removed again, or user after other characters to be entered, finally fills right symbol directly by right Puncture.
The content of the invention
The embodiment of the present disclosure provides a kind of punctuation mark automatic matching method, device and terminal device.The technical side
Case is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of punctuation mark automatic matching method, the method includes:
First input instruction of user is received, corresponding first input content of first input instruction includes paired punctuate
Left symbol in symbol;
According to first input instruction, the left symbol in the paired punctuation mark is shown;
Detect whether the of user is received in preset time period since the finish time of first input instruction
Two input instructions;
Second that user is not received in preset time period the finish time since first input instruction is defeated
When entering to instruct, Auto-matching shows right symbol corresponding with the left symbol.
In an embodiment of first aspect, corresponding first input content of first input instruction also includes the first word
Symbol;
It is described to be shown after the left symbol in the paired punctuation mark according to first input instruction, also include:
Show first character in first input content.
In another embodiment of first aspect, corresponding first input content of first input instruction includes mark in pairs
Left symbol and right symbol in point symbol;
It is described that left symbol in the paired punctuation mark is shown according to first input instruction, including:
According to first input instruction, the left symbol and right symbol in the paired punctuation mark are shown.
In above-described embodiment of first aspect, described according to first input instruction, the paired punctuate is shown
After left symbol and right symbol in symbol, methods described also includes:
The deletion instruction of the user is received, and according to the right symbol deleted during the paired left and right symbol is deleted in instruction
Number;
The 3rd input instruction of the user is received, the 3rd input instruction pair is shown according to the 3rd input instruction
The 3rd input content answered;
Second that user is not received in preset time period the finish time since the 3rd input instruction is defeated
When entering to instruct, Auto-matching shows the right symbol in the paired left and right symbol.
In any of the above-described embodiment of first aspect, the preset time period when a length of 2 seconds.
In any of the above-described embodiment of first aspect, the paired punctuation mark at least include it is following any one:Bracket,
Punctuation marks used to enclose the title, quotation marks.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of punctuation mark automatic matching device, the device includes:
Receiver module, is configured as receiving first input instruction of user, and first input instruction is corresponding first defeated
Entering content includes the left symbol in paired punctuation mark;
Display module, is configured as first input instruction received according to the receiver module, show it is described into
Left symbol in punctuation mark;
Detection module, be configured as detection is in the preset time period since the finish time of first input instruction
No the second input instruction for receiving user;
Matching module, is configured as being detected since the finish time of first input instruction in the detection module
Preset time period in when not receiving second input instruction of user, Auto-matching shows right symbol corresponding with the left symbol
Number.
In an embodiment of second aspect, corresponding first input content of first input instruction also includes the first word
Symbol;
The display module, is additionally configured in the paired punctuation mark according to first input instruction, is shown
Left symbol after, show first character in first input content.
In another embodiment of second aspect, corresponding first input content of first input instruction includes mark in pairs
Left symbol and right symbol in point symbol;
The display module, is configured as, according to first input instruction, showing the left side in the paired punctuation mark
Symbol and right symbol.
In above-described embodiment of second aspect, the receiver module is additionally configured in the display module according to institute
The first input instruction is stated, is shown after the left symbol and right symbol in the paired punctuation mark, receive the deletion of the user
Instruction;
Described device, also includes:Removing module;
The removing module, the deletion instruction for being configured as being received according to the receiver module deletes described paired
Right symbol in the symbol of left and right;
The receiver module, is additionally configured to receive the 3rd input instruction of the user;
The display module, the 3rd input instruction for being additionally configured to be received according to the receiver module shows institute
State corresponding 3rd input content of the 3rd input instruction;
The matching module, is additionally configured to the preset time period the finish time since the 3rd input instruction
When not receiving second input instruction of user inside, Auto-matching shows the right symbol in the paired left and right symbol.
In any of the above-described embodiment of second aspect, the preset time period when a length of 2 seconds.
In any of the above-described embodiment of second aspect, the paired punctuation mark at least include it is following any one:Bracket,
Punctuation marks used to enclose the title, quotation marks.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of terminal device, including any of the above-described kind of punctuation mark
Automatic matching device.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of punctuation mark automatic matching device, the device includes:
Processor;
Memory for storing the executable instruction of processor;
Wherein, processor is configured as:
First input instruction of user is received, corresponding first input content of first input instruction includes paired punctuate
Left symbol in symbol;
According to first input instruction, the left symbol in the paired punctuation mark is shown;
Detect whether the of user is received in preset time period since the finish time of first input instruction
Two input instructions;
Second that user is not received in preset time period the finish time since first input instruction is defeated
When entering to instruct, Auto-matching shows right symbol corresponding with the left symbol.
The technical scheme that the embodiment of the present disclosure is provided can include the following benefits:
By receiving first input instruction of user, corresponding first input content of first input instruction includes mark in pairs
Left symbol in point symbol, according to first input instruction, the left symbol in being shown as to punctuation mark, and detects defeated from first
Enter the second input instruction that whether user is received in the preset time period that finish time of instruction starts, and defeated from first
Enter when not receiving second input instruction of user in the preset time period that finish time of instruction starts, Auto-matching show and
The corresponding right symbol of left symbol.The technical scheme, the left symbol in the paired punctuation mark of user input, and in preset time period
When not receiving second operational order of user, Auto-matching simultaneously shows the corresponding right symbol of left symbol, it is not necessary to user's hand again
Dynamic input, simplifies input operation, improves the operating experience of user.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure
Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the punctuation mark automatic matching method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the punctuation mark automatic matching method according to another exemplary embodiment;
Fig. 3 is a kind of flow chart of the punctuation mark automatic matching method according to another exemplary embodiment;
Fig. 4 is a kind of flow chart of the punctuation mark automatic matching method according to further example embodiment;
Fig. 5 is a kind of block diagram of the punctuation mark automatic matching device according to an exemplary embodiment;
Fig. 6 is a kind of entity block diagram of the punctuation mark automatic matching device according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the punctuation mark automatic matching device according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings
It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the punctuation mark automatic matching method according to an exemplary embodiment.This implementation
Example is applied to be illustrated in terminal device with punctuation mark automatic matching method.Wherein, the terminal device is, for example, hand
Machine, personal digital assistant (Personal Digital Assistant, abbreviation PDA) etc., or with input function
Other equipment.As shown in figure 1, the punctuation mark automatic matching method can include following several steps:
In step s 11, first input instruction of user, the corresponding first input content bag of first input instruction are received
Include the left symbol in paired punctuation mark.
In the disclosed embodiments, when user during input operation when needing to be entered as to punctuation mark, now,
User keys in operation by being performed on the display interface of terminal device, is then the terminal device for terminal device
Receive the input instruction of user.What deserves to be explained is, in order to distinguish user in input instruction not in the same time, the embodiment of the present disclosure
Made a distinction with the first input instruction and the second input instruction.
The automatic matching method of punctuation mark is related generally to due to the embodiment of the present disclosure, therefore, in one embodiment, terminal
Corresponding first input content of the first input instruction that equipment is received need at least include the left symbol in paired punctuation mark, and eventually
End equipment needs to perform corresponding display operation according to the first input instruction.
In step s 12, according to the first input instruction, the left symbol in being shown as to punctuation mark.
Optionally, after terminal device receives first input instruction of user, it will be according to first input instruction
Perform corresponding operation.
For example, in one embodiment, when corresponding first input content of the first input instruction is accorded with including paired punctuate
During left symbol in number, terminal device then shows the left symbol in the paired punctuation mark according to the first input instruction,
This display mode similar to character display, that is, when user by input equipment key in need punctuation mark or character
Afterwards, then can successively be shown according to key entry order on the display interface of terminal device.
In step s 13, whether received in preset time period of the detection since the finish time of the first input instruction
Second input instruction of user.
Optionally, at the end of terminal device receives first input instruction of user, and the first input instruction of record
Carve.Therefore, in the present embodiment, after the left symbol during terminal device is shown as to punctuation mark according to the first input instruction,
Terminal device just detects its second input instruction that whether user is also received in preset time period, and according to the result of detection
It is determined that needing the subsequent operation for performing.
What deserves to be explained is, the preset time period refer to since the finish time of the first input instruction after one preset
Time period, and the preset time period specific duration can according to the common input of user custom be set, the embodiment of the present disclosure
And be not limited thereof.For example, if the input speed of user is than comparatively fast, the preset time period can be somewhat shorter, such as 1
Second, and when the input speed of user is slower, the preset time period can be relatively long, such as 3 seconds etc..
In step S14, user is not received in the preset time period the finish time since the first input instruction
The second input instruction when, Auto-matching shows right symbol corresponding with above-mentioned left symbol.
In an embodiment of the disclosure, when the testing result of terminal device is as follows:I.e. terminal device is input into from first
Second input instruction of user is not received in preset time period that the finish time of instruction starts, then now terminal device
Can determine that user has completed the content for needing to be input into paired punctuation mark, now, terminal device is according to the first input instruction
In punctuation mark in pairs specific manifestation form, the corresponding right symbol of left symbol in the Auto-matching paired punctuation mark so that
The right symbol of the paired punctuation mark is shown on the display interface of terminal device.
What deserves to be explained is, the technical scheme of the embodiment of the present disclosure, the left and right symbol in paired punctuation mark needs list
Solely during input, after the left symbol of user input and respective symbols, it is not necessary to which user is manually entered the corresponding right symbol of the left symbol again
Number, input operation is simplified, improve the operating experience of user.
The punctuation mark automatic matching method that the embodiment of the present disclosure is provided, by receiving first input instruction of user, should
Corresponding first input content of first input instruction includes the left symbol in paired punctuation mark, according to first input instruction,
Left symbol in being shown as to punctuation mark, and detect in preset time period since the finish time of the first input instruction and be
In no the second input instruction for receiving user, and preset time period the finish time since the first input instruction not
When receiving second input instruction of user, Auto-matching shows right symbol corresponding with left symbol.The technical scheme, in user
When not receiving second operational order of user in the left symbol in being entered as to punctuation mark, and preset time period, automatic
With and show the corresponding right symbol of left symbol, it is not necessary to user is manually entered again, simplifies input operation, improves the behaviour of user
Experience.
Optionally, on the basis of above-mentioned embodiment illustrated in fig. 1, Fig. 2 is according to another exemplary embodiment
Plant the flow chart of punctuation mark automatic matching method.In the disclosed embodiments, above-mentioned first input instruction is corresponding first defeated
Entering content also includes the first character, as shown in Fig. 2 above-mentioned steps 11 can be replaced following steps 21:
In the step s 21, first input instruction of user, the corresponding first input content bag of first input instruction are received
Include the left symbol and the first character in paired punctuation mark.
Accordingly, as shown in Fig. 2 the embodiment of the present disclosure provide punctuation mark automatic matching method in, in above-mentioned step
After rapid S12, i.e., according to the first input instruction, after the left symbol in being shown as to punctuation mark, also include:
In step S22, the first character in the first input content of display.
As a kind of example, in another embodiment, when corresponding first input content of the first input instruction is included in pairs
Left symbol and the first character in punctuation mark, and left symbol be located at the first character before when, terminal device is then defeated according to first
Enter instruction first to show the left symbol in the paired punctuation mark, and then the first character in the first input content is shown
Show to come.That is, the finish time of the first input instruction is after entry of the first character.
Accordingly, whether preset time period of the terminal device detection since the finish time of the first input instruction also receives
It is that terminal device is detected since the finish time of the first character input to second input instruction of user, and according to detection
Result determine need perform subsequent operation.
The punctuation mark automatic matching method that the embodiment of the present disclosure is provided, in corresponding first input of the first input instruction
Hold when also including the first character, terminal device according to the first input instruction, after the left symbol in being shown as to punctuation mark,
Also show the first character in the first input content, that is, the first input instruction include paired punctuation mark in left symbol with
And first character, such terminal device detects whether to receive user defeated again after left symbol and the first character show
The second input instruction for entering, and when second input instruction of user is not received, Auto-matching shows corresponding with left symbol
Right symbol.The technical scheme, after the left symbol and the first character in showing the paired punctuation mark of user input, and Preset Time
When not receiving second operational order of user in section, Auto-matching simultaneously shows the corresponding right symbol of left symbol, equally simplifies
Input operation, Consumer's Experience is good.
Further, on the basis of above-mentioned embodiment illustrated in fig. 1, in corresponding first input of above-mentioned first input instruction
When content includes the left symbol and right symbol in paired punctuation mark, above-mentioned steps S12 (according to the first input instruction, is shown as
Left symbol in punctuation mark) can be realized by following possible implementation, specifically, embodiment shown in Figure 3.
Fig. 3 is a kind of flow chart of the punctuation mark automatic matching method according to another exemplary embodiment.Such as Fig. 3
It is shown, in the left symbol and right symbol during corresponding first input content of the first input instruction includes paired punctuation mark, on
State step S11 and can be replaced following steps S31:
In step S31, first input instruction of user, the corresponding first input content bag of first input instruction are received
Include the left symbol and right symbol in paired punctuation mark.
Accordingly, above-mentioned steps S12 can be replaced following steps S32:
In step s 32, according to the first input instruction, left symbol and right symbol in being shown as to punctuation mark.
Optionally, in another embodiment, when corresponding first input content of the first input instruction is accorded with including paired punctuate
During left symbol and right symbol in number, i.e., paired punctuation mark is every time occur in pairs, therefore when being entered as to punctuation mark,
According to the first input instruction, left symbol and Auto-matching in being shown as to punctuation mark show and the left symbol terminal device
Corresponding right symbol, that is to say, that terminal device can according to the first input instruction simultaneously be shown as to punctuation mark in left symbol
Number and right symbol.
After the left symbol and right symbol in being shown as to punctuation mark, it can also be detected from the first input terminal device
Whether the preset time period that the finish time of instruction starts also receives other operation input instructions of user, and according to detection
Result determines the subsequent operation for needing to perform.
Optionally, on the basis of the embodiment shown in Fig. 3, (according to the first input instruction, it is shown as right in step S32
Left symbol and right symbol in punctuation mark) after, user needs to be input into corresponding character between the left symbol and right symbol,
So, terminal device performs the content shown in following steps always according to the operational order of user, implements referring specifically to shown in Fig. 4
Example.
Fig. 4 is a kind of flow chart of the punctuation mark automatic matching method according to further example embodiment.Such as Fig. 4
It is shown, after step S32 (according to the first input instruction, left symbol and right symbol in being shown as to punctuation mark), this public affairs
The punctuation mark automatic matching method of embodiment offer is provided, is also included:
In step S41, the deletion instruction of user is received, and the right side in paired left and right symbol is deleted according to deletion instruction
Symbol.
In the present embodiment, because paired punctuation mark is that occur in pairs, therefore terminal device receives the first input and refers to
After order, left symbol and right symbol can be shown as to punctuation mark simultaneously in.However, user needs to be input into after left symbol
Corresponding character, so, in one embodiment, user can delete the right symbol in paired punctuation mark, and be input into corresponding word
Symbol, finally again fills right symbol.
That is, terminal device can receive use after the left symbol and right symbol in being shown as to punctuation mark
The deletion instruction at family, the deletion instructs user's instruction terminal equipment by the right Puncture in paired punctuation mark, i.e. terminal sets
It is standby above-mentioned right symbol to be deleted according to deletion instruction.
In step S42, the 3rd input instruction of user is received, the 3rd input instruction is shown according to the 3rd input instruction
Corresponding 3rd input content.
If user wants to be input into corresponding character after left symbol, then terminal device deletes the above-mentioned right side according to instruction is deleted
After symbol, the 3rd input instruction of user, phase can be received in the preset time period since the deletion order fulfillment moment
Answer, terminal device shows in corresponding 3rd input of the 3rd input instruction according to the 3rd input instruction on display interface
Hold.
Accordingly, above-mentioned steps S13 can be replaced following steps S43, and above-mentioned steps S14 can be replaced following steps S44:
In step S43, detect whether received in the preset time period since the finish time of the 3rd input instruction
Second input instruction of user.
In step S44, user is not received in the preset time period the finish time since the 3rd input instruction
The second input instruction when, Auto-matching be shown as to left and right symbol in right symbol.
Similar, terminal device is received after the 3rd input instruction of user, can record the end of the 3rd input instruction
Moment, and detect the second input that whether user is received in the preset time period since the finish time of the 3rd input instruction
Instruction, and the subsequent operation for determining to need to perform according to the result of detection.
As a kind of example, if terminal device is equal in the preset time period the finish time since the 3rd input instruction
Second input instruction of user is not received, then terminal device can determine that user has completed the input behaviour of the 3rd input instruction
Make, therefore, terminal device can be after corresponding 3rd input content of the 3rd input instruction, and Auto-matching simultaneously shows above-mentioned paired
Right symbol in punctuation mark.
For example, in the present embodiment, when user need input "《Guidelines for Patent Examination》" when, terminal device is received
First input instruction of user, in theory for, it should only display "《", but some input methods can by "》" fill automatically, institute
With, optionally, terminal device can according to the deletion of user instruction first will "》" delete, and receiving the 3rd input of user
After instruction, "《" after, shown " Guidelines for Patent Examination " according to the 3rd input instruction, that is, show "《Guidelines for Patent Examination ", most
Afterwards, second input of user is not received in the preset time period (such as 2 seconds) that the finish time of the 3rd input instruction starts
During instruction, terminal device just Auto-matching with "《" corresponding "》", finally shown on the display interface of terminal device
“《Guidelines for Patent Examination》”.
The punctuation mark automatic matching method that the embodiment of the present disclosure is provided, in corresponding first input of the first input instruction
When appearance includes the left symbol and right symbol in paired punctuation mark, terminal device will be shown as to mark according to the first input instruction
Left symbol and right symbol in point symbol, then receive the deletion instruction of user, and delete left and right in pairs according to deletion instruction
Right symbol in symbol, and the 3rd input instruction of user is received, the 3rd input instruction pair is shown according to the 3rd input instruction
The 3rd input content answered, does not finally receive user in the preset time period the finish time since the 3rd input instruction
The second input instruction when, Auto-matching shows the right symbol in the paired left and right symbol.The technical scheme of the disclosure, for
There is the situation of a pair or so symbols being close to simultaneously during input, directly by right Puncture, and be input into other characters
The right symbol is filled automatically afterwards, it is not necessary to which user moves cursor, it is not required that user manually again deletes the right symbol deleted
Remove, simplify input operation, Consumer's Experience is good.
Optionally, in the punctuation mark automatic matching method that any of the above-described embodiment is provided, above-mentioned preset time period
Shi Changwei 2 seconds.
In the disclosed embodiments, the duration of above-mentioned preset time period need to be set according to the use habit of user.It is real
Trample proof, the duration of preset time period can be set to 2 seconds, 2 seconds input speeds of both not too large influence users meet user again
It is entered as pausing the time of punctuation mark and requires.That is terminal device pauses 2 seconds after the input instruction of user terminates, if
Other instructions of user are not received within the time period of 2 seconds, then by the right symbol Auto-matching of paired punctuation mark.
What deserves to be explained is, the embodiment of the present disclosure does not limit the specific duration of preset time period, and it can be according to each use
The use habit at family is adjusted.Be can be set as a kind of example, on the corresponding terminal device of the embodiment of the present disclosure multiple optional
Duration, such as, and 1 second, 2 seconds, 3 seconds or 5 seconds, or the different choice such as self-defined duration.In the disclosed embodiments, as long as according to
The implementation that preset time period is automatically replenished the right symbol of left symbol correspondence in paired punctuation mark belongs to the embodiment of the present disclosure
Protection category.
Further, in the punctuation mark automatic matching method that any of the above-described embodiment is provided, above-mentioned paired punctuate symbol
Number at least include it is following any one:Bracket, punctuation marks used to enclose the title, quotation marks.
The technical scheme of the embodiment of the present disclosure is applicable to all of paired punctuation mark, such as bracket, punctuation marks used to enclose the title, quotation marks
Deng the symbol for representing different booster actions.For example, conventional bracket includes round bracket (), bracket [], braces { } etc., often
Punctuation marks used to enclose the title include double punctuation marks used to enclose the title《》, single punctuation marks used to enclose the title<>, Chinese punctuation marks used to enclose the title【】Deng accordingly, conventional quotation marks include double drawing
Number " ", single quotation marks ' ' etc..
The embodiment of the present disclosure is not defined as the specific manifestation form to punctuation mark, as long as on paired punctuation mark
Input matching problem belong to the protection domain of the disclosure, the specific manifestation form for other to punctuation mark is herein no longer
Repeat.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality
The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 5 is a kind of block diagram of the punctuation mark automatic matching device according to an exemplary embodiment, punctuate symbol
Number automatic matching device being implemented in combination with by software, hardware or both.As shown in figure 5, the embodiment of the present disclosure is provided
Punctuation mark automatic matching device, including:Receiver module 501, display module 502, detection module 503 and matching module 504.
The receiver module 501, is configured as receiving first input instruction of user, first input instruction corresponding first
Input content includes the left symbol in paired punctuation mark.
The display module 502, is configured as the first input instruction received according to receiver module 501, show it is described into
Left symbol in punctuation mark.
The detection module 503, is configured as detecting in the preset time period since the finish time of the first input instruction
Whether second input instruction of user is received.
The matching module 504, is configured as being detected since the finish time of the first input instruction in detection module 503
Preset time period in when not receiving second input instruction of user, Auto-matching shows right symbol corresponding with left symbol.
The punctuation mark automatic matching device that the embodiment of the present disclosure is provided, can be used to perform embodiment of the method as shown in Figure 1
Technical scheme, its realization principle is similar with technique effect, and here is omitted.
Optionally, in an embodiment of the disclosure, corresponding first input content of the first input instruction also includes first
Character.
Accordingly, above-mentioned display module 502, is additionally configured to, according to the first input instruction, be shown as to punctuation mark
In left symbol after, display the first input content in the first character.
Optionally, in another embodiment of the present disclosure, corresponding first input content of the first input instruction includes paired
Left symbol and right symbol in punctuation mark.
Accordingly, above-mentioned display module 502, is configured as, according to the first input instruction, being shown as in punctuation mark
Left symbol and right symbol.
Further, in the punctuation mark automatic matching device that the embodiment of the present disclosure is provided, above-mentioned receiver module 501,
Be additionally configured in display module 502 according to the first input instruction, the left symbol and right symbol in being shown as to punctuation mark it
Afterwards, the deletion instruction of user is received.
Accordingly, the punctuation mark automatic matching device that the embodiment of the present disclosure is provided, also includes:Removing module.
The removing module, is configured as in the deletion instruction paired left and right symbol of deletion received according to receiver module 501
Right symbol.
Above-mentioned receiver module 501, is additionally configured to receive the 3rd input instruction of user;
Above-mentioned display module 502, the 3rd input instruction for being additionally configured to be received according to receiver module 501 shows the 3rd
Corresponding 3rd input content of input instruction.
Above-mentioned matching module 504, is additionally configured to the preset time period the finish time since the 3rd input instruction
When not receiving second input instruction of user inside, Auto-matching be shown as to left and right symbol in right symbol.
Optionally, in the punctuation mark automatic matching device that any of the above-described embodiment is provided, the preset time period
Shi Changwei 2 seconds.
Optionally, the paired punctuation mark at least include it is following any one:Bracket, punctuation marks used to enclose the title, quotation marks.
On the punctuation mark automatic matching device in above-described embodiment, wherein modules perform the concrete mode of operation
It has been described in detail in the embodiment about the method, explanation will be not set forth in detail herein.
Further, the embodiment of the present disclosure additionally provides a kind of terminal device, and the terminal device includes any of the above-described implementation
The punctuation mark automatic matching device that example is provided, principle and technology effect are implemented for the punctuation mark automatic matching device
Really, repeat no more here.
Inner function module and the structural representation of punctuation mark automatic matching device are the foregoing described, Fig. 6 is shown according to one
Example property implements a kind of entity block diagram of the punctuation mark automatic matching device for exemplifying, as shown in fig. 6, automatic of the punctuation mark
Include with device:Memory 601 and processor 602.
Memory 601, for storing processor-executable instruction.
Processor 602, is used for:
First input instruction of user is received, corresponding first input content of first input instruction includes paired punctuate
Left symbol in symbol;
According to first input instruction, the left symbol in the paired punctuation mark is shown;
Detect whether the of user is received in preset time period since the finish time of first input instruction
Two input instructions;
Second that user is not received in preset time period the finish time since first input instruction is defeated
When entering to instruct, Auto-matching shows right symbol corresponding with the left symbol.
What deserves to be explained is, in the embodiment of the punctuation mark automatic matching device shown in Fig. 6, it should be appreciated that the treatment
Device can be CPU (English:Central Processing Unit, referred to as:CPU), can also be that other are general
Processor, digital signal processor (English:Digital Signal Processor, referred to as:DSP), application specific integrated circuit (English
Text:Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be micro- place
Reason device or the processor can also be any conventional processors etc., and foregoing memory can be read-only storage (English
Text:Read-only memory, abbreviation:ROM), random access memory (English:Random access memory, referred to as:
RAM), flash memory, hard disk or solid state hard disc.SIM is also referred to as subscriber identification card, smart card, digital mobile electricity
Phone must load onto this card and can use.Store the information of digital mobile phone client on computer chip, encryption it is close
The contents such as the telephone directory of key and user.The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware
Computing device is completed, or performs completion with the hardware in processor and software module combination.
Fig. 7 is a kind of block diagram of the punctuation mark automatic matching device according to an exemplary embodiment.For example, punctuate
Symbol automatic matching device 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game control
Platform, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 7, punctuation mark automatic matching device 1000 can include following one or more assemblies:Processing assembly
1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, input/output (I/O) interface
1012, sensor cluster 1014, and communication component 1016.
The integrated operation of the generally control punctuation mark automatic matching device 1000 of processing assembly 1002, such as with display, electricity
Words calling, data communication, camera operation and the associated operation of record operation.Processing assembly 1002 can include one or more
Processor 1020 carrys out execute instruction, to complete all or part of step of above-mentioned method.Additionally, processing assembly 1002 can be wrapped
One or more modules are included, is easy to the interaction between processing assembly 1002 and other assemblies.For example, processing assembly 1002 can be wrapped
Multi-media module is included, to facilitate the interaction between multimedia groupware 1008 and processing assembly 1002.
Memory 1004 is configured as storing various types of data supporting in punctuation mark automatic matching device 1000
Operation.The example of these data include on punctuation mark automatic matching device 1000 operate any application program or
The instruction of method, contact data, telephone book data, message, picture, video etc..Memory 1004 can be by any kind of
Volatibility or non-volatile memory device or combinations thereof realization, such as static RAM (SRAM), electrically erasable
Except programmable read only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
Power supply module 1006 provides electric power for the various assemblies of punctuation mark automatic matching device 1000.Power supply module 1006
Can include power-supply management system, one or more power supplys, and other with generate for punctuation mark automatic matching device 1000, manage
Reason and the associated component of distribution electric power.
Multimedia groupware 1008 is included in one output of offer between punctuation mark automatic matching device 1000 and user
The screen of interface.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen
Including touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one
Or multiple touch sensors are with the gesture on sensing touch, slip and touch panel.The touch sensor can be sensed not only
Touch or the border of sliding action, but also the detection duration related to the touch or slide and pressure.One
In a little embodiments, multimedia groupware 1008 includes a front camera and/or rear camera.When punctuation mark Auto-matching
Device 1000 is in operator scheme, such as screening-mode or during video mode, and front camera and/or rear camera can be received
Outside multi-medium data.Each front camera and rear camera can be a fixed optical lens system or have
Focusing and optical zoom capabilities.
Audio-frequency assembly 1010 is configured as output and/or input audio signal.For example, audio-frequency assembly 1010 includes a wheat
Gram wind (MIC), when punctuation mark automatic matching device 1000 is in operator scheme, such as call model, logging mode and voice is known
During other pattern, microphone is configured as receiving external audio signal.The audio signal for being received can be further stored is depositing
Reservoir 1004 sends via communication component 1016.In certain embodiments, audio-frequency assembly 1010 also includes a loudspeaker, uses
In exports audio signal.
I/O interfaces 1012 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1002 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1014 includes one or more sensors, for being provided for punctuation mark automatic matching device 1000
The state estimation of various aspects.For example, sensor cluster 1014 can detect beating for punctuation mark automatic matching device 1000
Opening/closing state, the relative positioning of component, such as described component is the display of punctuation mark automatic matching device 1000 and small
Keyboard, sensor cluster 1014 can be with 1,000 1 components of detection information display device or punctuation mark automatic matching device
Position changes, and user is presence or absence of with what punctuation mark automatic matching device 1000 was contacted, punctuation mark Auto-matching dress
Put the temperature change of 1000 orientation or acceleration/deceleration and punctuation mark automatic matching device 1000.Sensor cluster 1014 can be with
Including proximity transducer, the presence of the object near detection when without any physical contact is configured to.Sensor cluster
1014 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some implementations
In example, the sensor cluster 1014 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor
Or temperature sensor.
Communication component 1016 be configured to facilitate it is wired between punctuation mark automatic matching device 1000 and other equipment or
The communication of wireless mode.Punctuation mark automatic matching device 1000 can access the wireless network based on communication standard, such as WiFi,
2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 1016 is received from outside via broadcast channel
The broadcast singal or broadcast related information of broadcasting management systems.In one exemplary embodiment, the communication component 1016 is gone back
Including near-field communication (NFC) module, to promote junction service.For example, radio frequency identification (RFID) technology can be based in NFC module,
Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, punctuation mark automatic matching device 1000 can be integrated by one or more application specifics
It is circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), existing
Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, above-mentioned for performing
Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include instruction memory 1004, above-mentioned instruction can by the processor 1020 of punctuation mark automatic matching device 1000 perform with
Complete the above method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory
(RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by.The place of device 1000
When reason device is performed so that punctuation mark automatic matching device 1000 is able to carry out the punctuation mark of above-mentioned each embodiment offer certainly
Dynamic matching process.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claims are pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and
And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appending claims
System.
Claims (14)
1. a kind of punctuation mark automatic matching method, it is characterised in that including:
First input instruction of user is received, corresponding first input content of first input instruction includes paired punctuation mark
In left symbol;
According to first input instruction, the left symbol in the paired punctuation mark is shown;
Detect that whether user is received in the preset time period since the finish time of first input instruction second is defeated
Enter instruction;
The second input that user is not received in preset time period the finish time since first input instruction refers to
When making, Auto-matching shows right symbol corresponding with the left symbol.
2. method according to claim 1, it is characterised in that corresponding first input content of first input instruction is also
Including the first character;
It is described to be shown after the left symbol in the paired punctuation mark according to first input instruction, also include:
Show first character in first input content.
3. method according to claim 1, it is characterised in that the corresponding first input content bag of first input instruction
Include the left symbol and right symbol in paired punctuation mark;
It is described that left symbol in the paired punctuation mark is shown according to first input instruction, including:
According to first input instruction, the left symbol and right symbol in the paired punctuation mark are shown.
4. method according to claim 3, it is characterised in that described according to first input instruction, display is described
After left symbol and right symbol in paired punctuation mark, methods described also includes:
The deletion instruction of the user is received, and according to the right symbol deleted during the paired left and right symbol is deleted in instruction;
The 3rd input instruction of the user is received, shows that the 3rd input instruction is corresponding according to the 3rd input instruction
3rd input content;
The second input that user is not received in preset time period the finish time since the 3rd input instruction refers to
When making, Auto-matching shows the right symbol in the paired left and right symbol.
5. the method according to any one of Claims 1-4, it is characterised in that the preset time period when a length of 2 seconds.
6. the method according to any one of Claims 1-4, it is characterised in that the paired punctuation mark at least include with
Descend any one:Bracket, punctuation marks used to enclose the title, quotation marks.
7. a kind of punctuation mark automatic matching device, it is characterised in that including:
Receiver module, is configured as receiving first input instruction of user, and first input instruction corresponding first is input into interior
Appearance includes the left symbol in paired punctuation mark;
Display module, is configured as first input instruction received according to the receiver module, shows the paired mark
Left symbol in point symbol;
Detection module, is configured as whether detection connects in the preset time period since the finish time of first input instruction
Receive second input instruction of user;
Matching module, is configured as being detected in the detection module pre- since the finish time of first input instruction
If do not receive second input instruction of user in the time period, Auto-matching shows right symbol corresponding with the left symbol.
8. device according to claim 7, it is characterised in that corresponding first input content of first input instruction is also
Including the first character;
The display module, is additionally configured to, according to first input instruction, show the left side in the paired punctuation mark
After symbol, first character in first input content is shown.
9. device according to claim 7, it is characterised in that the corresponding first input content bag of first input instruction
Include the left symbol and right symbol in paired punctuation mark;
The display module, is configured as, according to first input instruction, showing the left symbol in the paired punctuation mark
With right symbol.
10. device according to claim 9, it is characterised in that
The receiver module, is additionally configured in the display module according to first input instruction, shows the paired mark
After left symbol and right symbol in point symbol, the deletion instruction of the user is received;
Described device, also includes:Removing module;
The paired left and right is deleted in the removing module, the deletion instruction for being configured as being received according to the receiver module
Right symbol in symbol;
The receiver module, is additionally configured to receive the 3rd input instruction of the user;
The display module, the 3rd input instruction for being additionally configured to be received according to the receiver module shows described
Corresponding 3rd input content of three input instructions;
The matching module, is additionally configured in the preset time period the finish time since the 3rd input instruction not
When receiving second input instruction of user, Auto-matching shows the right symbol in the paired left and right symbol.
11. device according to any one of claim 7 to 10, it is characterised in that the preset time period when a length of 2
Second.
12. device according to any one of claim 7 to 10, it is characterised in that the paired punctuation mark at least includes
Below any one:Bracket, punctuation marks used to enclose the title, quotation marks.
13. a kind of terminal devices, it is characterised in that including automatic of the punctuation mark any one of claim 7 to 12
With device.
14. a kind of punctuation mark automatic matching devices, it is characterised in that described device includes:
Processor;
Memory for storing the executable instruction of the processor;
Wherein, the processor is configured as:
First input instruction of user is received, corresponding first input content of first input instruction includes paired punctuation mark
In left symbol;
According to first input instruction, the left symbol in the paired punctuation mark is shown;
Detect that whether user is received in the preset time period since the finish time of first input instruction second is defeated
Enter instruction;
The second input that user is not received in preset time period the finish time since first input instruction refers to
When making, Auto-matching shows right symbol corresponding with the left symbol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611150928.3A CN106774977A (en) | 2016-12-14 | 2016-12-14 | Punctuation mark automatic matching method, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611150928.3A CN106774977A (en) | 2016-12-14 | 2016-12-14 | Punctuation mark automatic matching method, device and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106774977A true CN106774977A (en) | 2017-05-31 |
Family
ID=58887539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611150928.3A Pending CN106774977A (en) | 2016-12-14 | 2016-12-14 | Punctuation mark automatic matching method, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106774977A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108089723A (en) * | 2017-12-21 | 2018-05-29 | 北京小米移动软件有限公司 | Character input method and device |
CN108983992A (en) * | 2017-06-05 | 2018-12-11 | 北京搜狗科技发展有限公司 | A kind of candidate item methods of exhibiting and device with punctuation mark |
CN110445922A (en) * | 2019-07-30 | 2019-11-12 | 惠州Tcl移动通信有限公司 | Mobile terminal contact person sharing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655846A (en) * | 2008-08-21 | 2010-02-24 | 联想移动通信科技有限公司 | Punctuation correlation method and punctuation correlation device of Chinese input method |
CN101727464A (en) * | 2008-10-29 | 2010-06-09 | 北京搜狗科技发展有限公司 | Method and device for acquiring alternative name matched pair |
CN102445994A (en) * | 2010-09-30 | 2012-05-09 | 北京搜狗科技发展有限公司 | Intelligence input method and system thereof |
-
2016
- 2016-12-14 CN CN201611150928.3A patent/CN106774977A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655846A (en) * | 2008-08-21 | 2010-02-24 | 联想移动通信科技有限公司 | Punctuation correlation method and punctuation correlation device of Chinese input method |
CN101727464A (en) * | 2008-10-29 | 2010-06-09 | 北京搜狗科技发展有限公司 | Method and device for acquiring alternative name matched pair |
CN102445994A (en) * | 2010-09-30 | 2012-05-09 | 北京搜狗科技发展有限公司 | Intelligence input method and system thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108983992A (en) * | 2017-06-05 | 2018-12-11 | 北京搜狗科技发展有限公司 | A kind of candidate item methods of exhibiting and device with punctuation mark |
CN108089723A (en) * | 2017-12-21 | 2018-05-29 | 北京小米移动软件有限公司 | Character input method and device |
CN110445922A (en) * | 2019-07-30 | 2019-11-12 | 惠州Tcl移动通信有限公司 | Mobile terminal contact person sharing method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104731688B (en) | Point out the method and device of reading progress | |
CN104536935B (en) | Calculate display methods, calculate edit methods and device | |
CN104238875A (en) | Application corner mark addition method and device | |
CN107066172A (en) | The document transmission method and device of mobile terminal | |
CN105549849A (en) | Method and device for processing misoperation instruction | |
CN105138259A (en) | Operation execution method and operation execution device | |
CN107025419A (en) | Fingerprint template input method and device | |
CN104679599A (en) | Application program duplicating method and device | |
CN107239351B (en) | Pasting method and device | |
CN106897937A (en) | A kind of method and apparatus for showing social sharing information | |
CN106802808A (en) | Suspension button control method and device | |
CN106775202A (en) | A kind of method and device of information transfer | |
CN106503131A (en) | Obtain the method and device of interest information | |
CN105892805A (en) | Instant message processing method and device | |
CN106126082A (en) | Control the method for terminal, device and terminal | |
CN106774977A (en) | Punctuation mark automatic matching method, device and terminal device | |
CN106708967A (en) | Page display method and device | |
CN106775210A (en) | The method and apparatus that wallpaper is changed | |
CN107295099A (en) | PUSH message processing method, device and storage medium | |
CN106936986A (en) | Application processing method and device | |
CN107179837A (en) | Input method and device | |
CN106775410A (en) | Application program launching method, device and terminal | |
CN106778198A (en) | Perform the safety certifying method and device of operation | |
CN106792636A (en) | terminal control method and device | |
CN105205404A (en) | User level control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |