CN106775580A - A kind of text input control method, mobile terminal and hand-held mobile terminal - Google Patents
A kind of text input control method, mobile terminal and hand-held mobile terminal Download PDFInfo
- Publication number
- CN106775580A CN106775580A CN201611076783.7A CN201611076783A CN106775580A CN 106775580 A CN106775580 A CN 106775580A CN 201611076783 A CN201611076783 A CN 201611076783A CN 106775580 A CN106775580 A CN 106775580A
- Authority
- CN
- China
- Prior art keywords
- group
- character
- operation result
- calculating
- mobile terminal
- 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
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/57—Arithmetic logic units [ALU], i.e. arrangements or devices for performing two or more of the operations covered by groups G06F7/483 – G06F7/556 or for performing logical operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computing Systems (AREA)
- Computational Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Calculators And Similar Devices (AREA)
Abstract
The invention discloses a kind of text input control method, the text entry application in mobile terminal is applied to, including:Obtain one group of character of input;Judge whether one group of character meets calculation condition, if so, then calculating the operation result of one group of character;Show the operation result.In the present invention, due to directly having obtained result of calculation under text input application interface, without switching to calculator, therefore more facilitate.The invention also discloses a kind of mobile terminal and hand-held mobile terminal.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of text input control method, mobile terminal and hand
Hold mobile terminal.
Background technology
In the prior art, user generally requires to be input into some numerals when text message is input into, and these numerals are also frequent
Needs are calculated.Generally faced with this situation, user needs opening calculator application to be calculated, and obtains result of calculation
Afterwards, then be switched to input text message application.Obviously, this mode causes that whole process is relatively complicated.
The content of the invention
The technical problems to be solved by the invention are to provide more convenient text entry method.
In order to solve the above-mentioned technical problem, the present invention proposes a kind of text input control method, is applied in mobile terminal
Text entry application, including:
Obtain one group of character of input;
Judge whether one group of character meets calculation condition, if so, then calculating the operation result of one group of character;
Show the operation result.
In an embodiment of the invention, it is described to judge whether one group of character meets calculation condition, if so, then calculating
The operation result of one group of character includes:
Judge in one group of character whether the factor matched comprising operator and with the operator, if then calculating institute
State one group of operation result of character.
In an embodiment of the invention, it is described to judge whether one group of character meets calculation condition, if so, then calculating
The operation result of one group of character includes:
Judge the factor and the calculating designator whether matched with the operator comprising operator in one group of character,
If then calculating the operation result of one group of character.
In an embodiment of the invention, the displaying operation result includes:
The operation result is replaced at least part of displaying of one group of character;Or,
Show the operation result in the predeterminated position of the display screen of the mobile terminal.
In an embodiment of the invention, the text entry application includes note application, notepad appli-cation, short message should
With or instant messaging application.
Accordingly, the present invention also proposes a kind of mobile terminal, including:
Receiving unit, one group of character for obtaining input;
Judging unit, for judging whether one group of character meets calculation condition, if so, then calculating one group of character
Operation result;
Output unit, shows the operation result.
Wherein, it is described to judge whether one group of character meets calculation condition, if so, then calculating the fortune of one group of character
Calculating result includes:
Judge in one group of character whether the factor matched comprising operator and with the operator, if then calculating institute
State one group of operation result of character.
Wherein, it is described to judge whether one group of character meets calculation condition, if so, then calculating the fortune of one group of character
Calculating result includes:
Judge the factor and the calculating designator whether matched with the operator comprising operator in one group of character,
If then calculating the operation result of one group of character.
Wherein, the displaying operation result includes:
The operation result is replaced at least part of displaying of one group of character;Or,
Show the operation result in the predeterminated position of the display screen of the mobile terminal.
On the other hand, the present invention also proposes a kind of hand-held mobile terminal, including processor and memory, and the memory is deposited
Computer-readable program is contained, computer calibration program described in the computing device is realizing:
Obtain one group of character of input;
Judge whether one group of character meets calculation condition, if so, then calculating the operation result of one group of character;
Show the operation result.
In the present invention, due to directly having obtained result of calculation under text input application interface, without switching to meter
Device is calculated, therefore is more facilitated.
Brief description of the drawings
Fig. 1 is a kind of flow chart of one embodiment of text input control method of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
With reference to Fig. 1, it is illustrated that a kind of flow chart of one embodiment of text input control method of the invention, it is applied to
In mobile terminal, especially hand-held mobile terminal.Before the present embodiment is illustrated, the applied field of the present embodiment is briefly illustrated first
Scape:User opens text input application (for example:Note application, notepad appli-cation, short message application, instant message application etc.) it is defeated
, it is necessary to be input into the refund amount of money monthly of 12 phase of current credit card bill installment reimbursement when entering word, and user remembers account
Single total amount.The present embodiment is comprised the following steps:
Step S11, obtains one group of character of input.
In this step, user is input into by word and applied, such as note application mentioned above etc., is input into character, mobile
Terminal receives these and is input into and shows.Wherein, one group of described character can be comprising numeral and/or operator, or
Not comprising numeral and operator.
For example, one group of character can be following several (within quotation marks), these citings are certainly not limited to:
The first:" today, I received Credit Statement, and bill total amount is 8300 yuan, and I prepares point refund of 12 phases, nothing
Service charge, will go back 8300 ÷ 12=in one month through calculating "
Second:" today, I received Credit Statement "
The third:" bill total amount is 8300 yuan, and I prepares a point 12 phases refund "
4th kind:" to go back 8300 ÷ 12 within one month through calculating "
5th kind:" to go back 8300 ÷ 12=within one month through calculating "
Step S12, judges whether one group of character meets calculation condition, if so, then calculating the fortune of one group of character
Calculate result.
In this step, calculation condition refers to default condition, and the satisfaction of the condition allows to calculate a result, and
And have the mark for indicating to be calculated accordingly.
In an embodiment of the invention, whether this step can specifically include judging include computing in one group of character
Symbol and the factor matched with the operator, if then calculating the operation result of one group of character.And operator can be then
Refer to the instruction of the such as computing mode of plus-minus multiplier etc, and the factor of AND operator matching refers to then to complete indicated by operator
Computing required for parameter, it is clear that these parameters should be in satisfactory position, and this is also a part for calculation condition.Under
Face is come illustratively with specific example:
In the case of for above one group of character being the first, operator refers to " ÷ ", and the factor refer to then close to
The 8300 and 12 of " ÷ " both sides.That is for division arithmetic, it is desirable to have two factors of divisor and dividend, and divisor and
Dividend should be close to " ÷ ", so could normally calculate.Also, in the present embodiment, it is not necessary to equal sign "=" etc.
Calculate designator simply to need to carry out the computing, that is to say, that have operator and the factor for matching, it is possible to counted
Let it pass.
In the case of for above one group of character being second, due to no operator, also not with the operator phase
The factor of matching, therefore the judged result of this step should be no, also just not calculate subsequently.
For in the case of above one group of character is the 5th kind, operator " ÷ " and the factor " 8300 ", " 12 " all possess
, therefore can be carried out subsequently calculating.Although there is "=" symbol to exist below, but it does not influence the normal of this step
Perform.
In another embodiment, whether this step can specifically include judging include fortune in one group of character
The factor and calculate designator that operator is matched with the operator, if then calculating the operation result of one group of character.For
The explanation of operator and the factor, may be referred to the description of relevant portion above, will not be repeated here.With the difference of foregoing embodiments
It is also to include calculating designator in the present embodiment, this effect for calculating designator is to indicate to be entered according to operator and the factor
The follow-up calculating of row.Illustrated with specific example below:
It is the situation of the first for above one group of character, operator refers to " ÷ ", and the factor refers to then 8300 and 12,
And it refers to then equal sign "=" to calculate designator.Therefore, under the instruction of "=", mobile terminal can by 8300 divided by 12 result meter
Calculate.
For the situation that above one group of character is second, due to operator, the factor and calculate designator and do not have, because
This judged result is no, then will not be calculated.
For the situation that above one group of character is the 4th kind, operator is " ÷ ", the factor be 8300 what 12, but do not have
Designator is calculated, therefore follow-up calculating can not be carried out.
In the present embodiment, the situation that designator is not limited to equal sign is calculated, can also be other, such as in Preset Time
Then think to obtain calculating without operation to indicate, or can also be other characters and indicated, for example, can also be branch
Deng.In a word, can be configured as needed.
Step S13, shows the operation result.
In this step, shown for users to use, can specifically include following after obtaining operation result
Several exhibition methods, are certainly not limited to these situations:
Exhibition method one:Operation result is replaced into original operator and factor displaying.
It is the situation of the first for above one group of character, under exhibition method one, bandwagon effect is as follows:
" today, I received Credit Statement, and bill total amount is 8300 yuan, and I prepares a point 12 phases refund, without service charge,
To go back 691.67=within one month through calculating "
Exhibition method two:Operation result is replaced into original operator, the factor and designator is calculated.
It is the situation of the first for above one group of character, under exhibition method two, bandwagon effect is as follows:
" today, I received Credit Statement, and bill total amount is 8300 yuan, and I prepares a point 12 phases refund, without service charge,
To go back 691.67 within one month through calculating "
Exhibition method three:Operation result is replaced into original operator and factor displaying, and will calculate designator adjust to
Before operation result.
It is the situation of the first for above one group of character, under exhibition method three, bandwagon effect is as follows:
" today, I received Credit Statement, and bill total amount is 8300 yuan, and I prepares a point 12 phases refund, without service charge,
To go back=691.67 within one month through calculating "
Exhibition method four:Show the operation result in the predeterminated position of the display screen of the mobile terminal.
For example, top/bottom/corner/center/edge at interface applied in word input etc., or in display screen
Top/bottom/corner/center/edge etc..In a word, as long as predeterminated position or the position obtained by predetermined manner are all existed
In protection scope of the present invention.
In a kind of embodiment of mobile terminal of the invention, it includes following part, wherein for embodiment of the method in
Related part can mutually refer to:
Receiving unit, one group of character for obtaining input, its detailed description may be referred to the relevant portion of step S11.
Judging unit, for judging whether one group of character meets calculation condition, if so, then calculating one group of character
Operation result, its detailed description may be referred to the relevant portion of step S12.
Output unit, shows the operation result, and its detailed description may be referred to the relevant portion of step S13.
In an embodiment of the invention, it is described to judge whether one group of character meets calculation condition, if so, then calculating
The operation result of one group of character includes:
Judge in one group of character whether the factor matched comprising operator and with the operator, if then calculating institute
State one group of operation result of character.
In another embodiment, it is described to judge whether one group of character meets calculation condition, if so, then counting
The operation result for calculating one group of character includes:
Judge the factor and the calculating designator whether matched with the operator comprising operator in one group of character,
If then calculating the operation result of one group of character.
In an embodiment of the invention, the displaying operation result includes:
The operation result is replaced at least part of displaying of one group of character;Or,
Show the operation result in the predeterminated position of the display screen of the mobile terminal.
In a kind of embodiment of hand-held mobile terminal of the invention, including processor and memory, the memory storage
There is computer-readable program, computer calibration program described in the computing device is realizing being illustrated in embodiment of the method above
Process so that hand-held mobile terminal can calculate operation result and it is easily supplied to user, facilitate user to make
With, foregoing embodiments are may be referred to for specific process, skip over herein.Wherein, the processor at least includes a treatment
Core, is communicated between the processor and memory by bus structures.
It is appreciated that the hand-held mobile terminal can be mobile phone or panel computer etc., and its except above-mentioned processor and
Outside memory, also including display screen, radio-frequency module, antenna, WIFI module, bluetooth module, touch-screen, loudspeaker etc..
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding
Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.
Claims (10)
1. a kind of text input control method, is applied to the text entry application in mobile terminal, it is characterised in that including:
Obtain one group of character of input;
Judge whether one group of character meets calculation condition, if so, then calculating the operation result of one group of character;
Show the operation result.
2. method according to claim 1, it is characterised in that described to judge whether one group of character meets computing bar
Part, if so, the operation result for then calculating one group of character includes:
Judge in one group of character whether the factor matched comprising operator and with the operator, if then calculating described one
The operation result of group character.
3. method according to claim 1, it is characterised in that described to judge whether one group of character meets computing bar
Part, if so, the operation result for then calculating one group of character includes:
Judge the factor and the calculating designator whether matched with the operator comprising operator in one group of character, if
Then calculate the operation result of one group of character.
4. method according to claim 1, it is characterised in that the displaying operation result includes:
The operation result is replaced at least part of displaying of one group of character;Or,
Show the operation result in the predeterminated position of the display screen of the mobile terminal.
5. method according to any one of claim 1 to 4, it is characterised in that the text entry application includes note
Using, notepad appli-cation, short message application or instant messaging application.
6. a kind of mobile terminal, it is characterised in that including:
Receiving unit, one group of character for obtaining input;
Judging unit, for judging whether one group of character meets calculation condition, if so, then calculating the fortune of one group of character
Calculate result;
Output unit, shows the operation result.
7. mobile terminal according to claim 6, it is characterised in that described to judge whether one group of character meets computing
Condition, if so, the operation result for then calculating one group of character includes:
Judge in one group of character whether the factor matched comprising operator and with the operator, if then calculating described one
The operation result of group character.
8. mobile terminal according to claim 6, it is characterised in that described to judge whether one group of character meets computing
Condition, if so, the operation result for then calculating one group of character includes:
Judge the factor and the calculating designator whether matched with the operator comprising operator in one group of character, if
Then calculate the operation result of one group of character.
9. mobile terminal according to claim 6, it is characterised in that the displaying operation result includes:
The operation result is replaced at least part of displaying of one group of character;Or,
Show the operation result in the predeterminated position of the display screen of the mobile terminal.
10. a kind of hand-held mobile terminal, including processor and memory, the memory storage have computer-readable program, institute
Computer calibration program described in computing device is stated to realize:
Obtain one group of character of input;
Judge whether one group of character meets calculation condition, if so, then calculating the operation result of one group of character;
Show the operation result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076783.7A CN106775580A (en) | 2016-11-28 | 2016-11-28 | A kind of text input control method, mobile terminal and hand-held mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076783.7A CN106775580A (en) | 2016-11-28 | 2016-11-28 | A kind of text input control method, mobile terminal and hand-held mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775580A true CN106775580A (en) | 2017-05-31 |
Family
ID=58898015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611076783.7A Pending CN106775580A (en) | 2016-11-28 | 2016-11-28 | A kind of text input control method, mobile terminal and hand-held mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775580A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107705195A (en) * | 2017-09-29 | 2018-02-16 | 努比亚技术有限公司 | A kind of computational methods of bill, terminal and readable storage medium storing program for executing |
CN108962220A (en) * | 2018-07-26 | 2018-12-07 | 北京小米移动软件有限公司 | Multimedia file plays the text display method and device under scene |
CN110084225A (en) * | 2019-05-16 | 2019-08-02 | 中国联合网络通信集团有限公司 | Scanning, digital operation and printing equipment and system based on 5G cloud storage |
CN111344673A (en) * | 2017-09-07 | 2020-06-26 | 深圳传音通讯有限公司 | Chatting interface-based calculator using method and device and storage medium |
CN111708473A (en) * | 2020-05-25 | 2020-09-25 | 维沃移动通信有限公司 | Operation control method and device of application program and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063063A (en) * | 2014-06-05 | 2014-09-24 | 北京搜狗科技发展有限公司 | Mathematical calculation input method of input method and input method system |
CN104881288A (en) * | 2015-06-01 | 2015-09-02 | 厦门美图移动科技有限公司 | Automatic computing method and system in text mode |
CN105700845A (en) * | 2016-02-26 | 2016-06-22 | 努比亚技术有限公司 | Method and device for displaying digit arithmetic result in document |
-
2016
- 2016-11-28 CN CN201611076783.7A patent/CN106775580A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063063A (en) * | 2014-06-05 | 2014-09-24 | 北京搜狗科技发展有限公司 | Mathematical calculation input method of input method and input method system |
CN104881288A (en) * | 2015-06-01 | 2015-09-02 | 厦门美图移动科技有限公司 | Automatic computing method and system in text mode |
CN105700845A (en) * | 2016-02-26 | 2016-06-22 | 努比亚技术有限公司 | Method and device for displaying digit arithmetic result in document |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111344673A (en) * | 2017-09-07 | 2020-06-26 | 深圳传音通讯有限公司 | Chatting interface-based calculator using method and device and storage medium |
CN107705195A (en) * | 2017-09-29 | 2018-02-16 | 努比亚技术有限公司 | A kind of computational methods of bill, terminal and readable storage medium storing program for executing |
CN108962220A (en) * | 2018-07-26 | 2018-12-07 | 北京小米移动软件有限公司 | Multimedia file plays the text display method and device under scene |
CN108962220B (en) * | 2018-07-26 | 2021-03-09 | 北京小米移动软件有限公司 | Text display method and device in multimedia file playing scene |
CN110084225A (en) * | 2019-05-16 | 2019-08-02 | 中国联合网络通信集团有限公司 | Scanning, digital operation and printing equipment and system based on 5G cloud storage |
CN111708473A (en) * | 2020-05-25 | 2020-09-25 | 维沃移动通信有限公司 | Operation control method and device of application program and electronic equipment |
CN111708473B (en) * | 2020-05-25 | 2022-02-18 | 维沃移动通信有限公司 | Operation control method and device of application program and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775580A (en) | A kind of text input control method, mobile terminal and hand-held mobile terminal | |
CN109034783A (en) | Bill refund calculation method, device and computer readable storage medium | |
CN110704519A (en) | Business document conversion method and device, storage medium and computer equipment | |
CN107506637A (en) | Information displaying method and device, terminal and readable storage medium storing program for executing | |
CN105183311A (en) | Folder merging method and device | |
CN105094520A (en) | Display method and terminal | |
CN110427243A (en) | Improve method, terminal and the storage medium of advertisement interaction effect of spreading its tail | |
CN111638818B (en) | Window position adjusting method and device and electronic equipment | |
CN107784492A (en) | Information processing method, device, computer installation and computer-readable recording medium | |
CN111752459A (en) | Information processing method, device, equipment and storage medium | |
EP3654156A1 (en) | Method and apparatus for customizing status bar on terminal, and electronic device | |
CN105512934A (en) | Method and device for inputting business parameters | |
CN112929254B (en) | Message processing method and device and electronic equipment | |
CN103123623A (en) | Method and device for providing webpage hierarchy information | |
CN109118365A (en) | Income calculation method, apparatus and computer readable storage medium | |
CN108174009B (en) | Business card sharing method based on double screens, mobile terminal and device | |
US10353855B2 (en) | Systems, devices and methods for a calculator user interface | |
CN112905072B (en) | Application processing method and device and electronic equipment | |
WO2022143377A1 (en) | Information display method and apparatus, device, and storage medium | |
CN107909371A (en) | Method of payment, payment mechanism, computer installation and computer-readable recording medium | |
CN112328138B (en) | Data display method, device and storage medium | |
CN110956350A (en) | Method, device and system for distributing rewards | |
CN114612091A (en) | Automatic account checking method and device, electronic equipment and storage medium | |
CN105827400B (en) | A kind of method, server and system that identifying code effective time is set | |
CN108051993A (en) | A kind of display methods of smartwatch, system and smartwatch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |