CN102857607B - A kind of system and method for real-time statistic note quantity - Google Patents
A kind of system and method for real-time statistic note quantity Download PDFInfo
- Publication number
- CN102857607B CN102857607B CN201210356275.XA CN201210356275A CN102857607B CN 102857607 B CN102857607 B CN 102857607B CN 201210356275 A CN201210356275 A CN 201210356275A CN 102857607 B CN102857607 B CN 102857607B
- Authority
- CN
- China
- Prior art keywords
- note
- short message
- message content
- input
- characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses the system and method for a kind of real-time statistic note quantity, system includes statistical module, computing module and display module, and method includes number of characters and addressee's number of the short message content of step: S1, statistics input;Note needed for S2, the number of characters allowing the short message content of the max number of characters sent, input according to every note and addressee's number calculate is total;The note sum that S3, display calculate.The system and method for the real-time statistic note quantity of the present invention, required note sum can be gone out according to the max number of characters that every note permission sends, the number of characters of the short message content of input and addressee's number instant computing and show, allow user to understand the total quantity sending note before sending note, improve the experience of user.
Description
Technical field
The present invention relates to UI mutual, more particularly, it relates to the system of a kind of real-time statistic note quantity and
Method.
Background technology
People can mutually send note by mobile phone terminal, and a mobilephone terminal user can send short simultaneously
Letter is to multiple mobilephone terminal users (mass-sending).
Mobile operator specifies that every note can send 70 chinese characters or 160 pure English characters, and
And, mobile phone terminal brand and the difference of model, the number of characters that can send in every note also differs.Work as hands
When the number of characters of machine terminal use input exceedes the max number of characters that every note is allowed transmission, mobile phone terminal
The character of input can be split into many parts automatically, be transmitted in the way of a plurality of note.
Existing mobile phone terminal has the function of number of characters shared by the current note of real-time statistics, but cannot be instant
Statistics sends the quantity of note, the note quantity finally sent, could by mobile phone eventually after short message sending success
End subscriber is known, thus there will be problem, and such as, a mobilephone terminal user edits 72 Chinese characters
The short message content of character, these short message contents are split into two notes the most at last and are transmitted, but pass through
Suitable adjustment, this user is easy to be controlled by short message content within 70 chinese characters, short with one
Letter is transmitted, say, that cause the waste of note.When this mobilephone terminal user is only to another hands
When machine terminal use sends this note, problem is the most inconspicuous, and when mass-sending on a large scale, such as mass-sending is given
10 mobilephone terminal users, sender will consume 10 notes more, and bringing to the sender of note need not
The economic loss wanted.
Summary of the invention
The present invention is directed to existing mobile phone terminal and cannot send the defect of quantity of note by real-time statistic, it is provided that one
Plant the system and method for real-time statistic note quantity.
The present invention solves its technical problem and the technical scheme is that a kind of real-time statistic note quantity of offer
Method, comprises the following steps:
S0a, the short message content of reception input, check and mark the wrong portion occurred in short message content automatically
Point;
S0b, judge whether to revise the error section checked one by one, and be there is a need to repair according to controlling amendment
The error section changed;
The number of characters of the short message content that S1, statistics input and addressee's number;
S2, the max number of characters allowing to send according to every note, input short message content number of characters, with
And the note sum needed for the calculating of addressee's number;
S2c, judge whether the number of characters of the short message content of described input exceedes default threshold value;It is to perform
Step S3, otherwise performs step S1;
The note sum that S3, display calculate;
Wherein, step S2 includes:
S2a, the number of characters of short message content of input allow the max number of characters sent divided by every note, and
Will be unable to aliquot part be designated as 1 and be included into aliquot part;
S2b, use addressee's number are multiplied by the result of calculation of step S2a, the note sum needed for obtaining;
The most also demonstrate note quantity needed for the short message content of addressee's number and input, according to
In the following manner display addressee's number, input short message content needed for note quantity and required note total
Number:
The note sum of note quantity=required needed for the short message content of addressee's number * input.
Preferably, described method further comprises the steps of:
S4, judge whether short message content and addressee's number change, be then execution step S1, otherwise
Perform step S5;
S5, judge whether send input note, be then execution step S6, otherwise perform step S1;
S6, transmission note.
It is further preferred that be note quantity and required needed for the short message content of addressee's number, input
Note sum one icon is respectively set and shows.
Thering is provided the system of a kind of real-time statistic note quantity, described system includes:
The number of characters of the short message content of statistics input and the statistical module of addressee's number;
The max number of characters of transmission, the number of characters of short message content of input, Yi Jishou is allowed according to every note
The computing module of the note sum needed for the calculating of part people's number;And
The display module of the note sum that display calculates;
Wherein, the number of characters of the short message content of input is allowed transmission divided by every note by described computing module
Max number of characters, and will be unable to aliquot part and be designated as 1 and be included into aliquot part, and use addressee's number to take advantage of
With the result of calculation of previous step, the note sum needed for obtaining;
Note quantity needed for the short message content that described display module also demonstrates addressee's number and input, and root
According to this under type display addressee's number, input short message content needed for note quantity and required note
Sum:
The note sum of note quantity=required needed for the short message content of addressee's number * input;
Described system also includes:
Judge whether the number of characters of the short message content of input exceedes the judge module of default threshold value;
When the number of characters of the short message content of input exceedes default threshold value, described display module addressee
Note quantity and required note sum needed for number, the short message content inputted;
Receive the short message content of input, automatically check and mark the looking into of error section occurred in short message content
Mismatch block;
Judge whether to revise the error section checked one by one, and according to controlling the mistake that amendment be there is a need to revise
The modified module of part by mistake.
The system and method for the real-time statistic note quantity of the present invention has the advantages that can be according to often
Max number of characters, the number of characters of the short message content of input and addressee's number that the permission of bar note sends are i.e.
Time calculate required note sum and show, it is allowed to user understood before sending note and sends the total of note
Quantity, improves the experience of user.
In addition it is possible to the short message content (including Chinese and English) of input is carried out automatic error-correcting so that
User finds the error section in short message content immediately.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method first embodiment of the real-time statistic note quantity of the present invention;
Fig. 2 is the flow chart of method second embodiment of the real-time statistic note quantity of the present invention;
Fig. 3 is the flow chart of method the 3rd embodiment of the real-time statistic note quantity of the present invention;
Fig. 4 is the block diagram of the system first embodiment of the real-time statistic note quantity of the present invention;
Fig. 5 is the block diagram of system second embodiment of the real-time statistic note quantity of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further explained.
Fig. 1 is the flow chart of the method first embodiment of the real-time statistic note quantity of the present invention, such as Fig. 1
Shown in, in the present embodiment, said method comprising the steps of:
The number of characters of the short message content that S1, statistics input and addressee's number, wherein, in the note of input
Hold and include Chinese character and/or English character, count according to the number of the phone number of the addressee of input
Addressee's number, addressee can be one, it is also possible to is multiple.Described note both can be text SMS
SMS (short message service), it is also possible to for multi-media SMS MMS (Multimedia
Messaging Service), do not limit at this.
S2, the max number of characters allowing to send according to every note, input short message content number of characters, with
And the note sum needed for the calculating of addressee's number.In the present embodiment, the side of the note sum needed for calculating
Method is particularly as follows: the number of characters of short message content of S2a, input allows the maximum character sent divided by every note
Number, and will be unable to aliquot part and be designated as 1 and be included into aliquot part;S2b, use addressee's number are multiplied by step
The result of calculation of S2a, the note sum needed for obtaining.Mobile operator specifies that every note can send 70
Individual chinese character or 160 pure English characters, and, mobile phone terminal brand and the difference of model, every is short
The number of characters that can send in letter also differs.Such as, a note accounting for 72 characters to be sent to 10
Individual, every note allows the max number of characters sent to be 70 characters, calculates according to step S2a-S2b
Going out required note sum is 20.
The note sum that S3, display calculate.
In other embodiments of the method for the real-time statistic note quantity of the present invention, the most also may be used
With demonstrate addressee's number and input short message content needed for note quantity.Receipts can be shown in many ways
Part people's number, input short message content needed for note quantity and required note sum, such as: addressee
The note sum of note quantity=required needed for the short message content of people's number * input;Can also be addressee
Needed for number, the short message content inputted, note quantity and required note sum respectively arrange an icon, as
The icon etc. of a number of people is shown between addressee's number;Different face can also be set for above three parameter
Color is distinguish between.
In embodiments of the present invention, step S2c can also be included before step S3, inputted by judgement
The number of characters of short message content whether exceed default threshold value and determine whether to show the note sum calculated,
It is to show the note quantity calculated, do not show.Described threshold value both can be that every note allows to send out
The max number of characters sent, such as 70 characters, it is also possible to allow the maximum character sent for some notes
Number, 140 characters of such as two notes, it is also possible to any number of number of characters set for user, at this
It is not defined.
Fig. 2 is the flow chart of method second embodiment of the real-time statistic note quantity of the present invention, such as Fig. 2
Shown in, in the present embodiment, said method comprising the steps of:
S4, judge whether short message content and addressee's number change, be then execution step S1, otherwise
Perform step S5;
S5, judge whether send input note, be then execution step S6, otherwise perform step S1;
S6, transmission note.
In the present embodiment, the method first embodiment of the real-time statistic note quantity of remaining situation and the present invention
Identical, do not repeat them here.After receiving short message content input, flow process starts.
Below in case of certain user Zhang San uses note to run into, the realization of whole scheme is described.False
A fixed note accounts for 70 characters, and when Zhang San sends short messages to its elder brother (single), short message content is a length of
During 70 characters, display note bar number is 1, when Zhang San writes a word again, and statistics display note
Bar number is 2.When the short message content of input is within 140 characters, note sum remains as 2,
When more than 140 characters, show that note sum is 3 immediately.
When Zhang San gives its elder brother, father, elder sister, mother's bulk SMS, display note sum is: addressee
Note quantity needed for the short message content of number * input.When short message content is below 70 characters, show short
Letter sum is: 4*1=4 bar, and when more than 70 characters, display note sum is: 4*2=8 bar.When defeated
When entering within 140 characters, note sum remains as 8, when more than 140 characters, shows immediately
For 4*3=12 bar note.
If now Zhang San wants addressee increased or reduce one, also can note total needed for real-time statistic
Number.Such as, now Zhang San expects that suddenly also a lot of words are wanted individually to say with mother, wait and can individually send out to mother
Send note, then the phone number of mother is removed from sender, now total by counting required note
Number is: 3*3=9 bar.
Fig. 3 is the flow chart of method the 3rd embodiment of the real-time statistic note quantity of the present invention, such as Fig. 3
Shown in, in the present embodiment, said method comprising the steps of:
S0a, the short message content of reception input, check and mark the wrong portion occurred in short message content automatically
Point, wherein it is possible to automatically check the cacography of such as English word, there is non-grammer in the Chinese character of input
Repetition of specification etc.;
S0b, judge whether to revise the error section checked one by one, and revise all according to the control of user
Need the error section of amendment.
In the present embodiment, method second embodiment of the real-time statistic note quantity of remaining situation and the present invention
Identical, do not repeat them here.
Fig. 4 is the block diagram of system 100 first embodiment of the real-time statistic note quantity of the present invention, such as Fig. 4
Shown in, described system 100 includes:
The number of characters of the short message content of statistics input and the statistical module 110 of addressee's number;
The max number of characters of transmission, the number of characters of short message content of input, Yi Jishou is allowed according to every note
The computing module 120 of the note sum needed for the calculating of part people's number;And
The display module 130 of the note sum that display calculates.
In this embodiment, the short message content of input includes Chinese character and/or English character, statistical module 110
The number of the phone number that can add up the addressee according to input counts addressee's number, and addressee is permissible
It it is one, it is also possible to be multiple.
In the present embodiment, the method that computing module 120 calculates required note total includes step: input
The number of characters of short message content allow the max number of characters that sends divided by every note, and will be unable to aliquot part
It is designated as 1 and is included into aliquot part;Addressee's number is used to be multiplied by the result of calculation of previous step, needed for obtaining
Note sum.Mobile operator specifies that every note can send 70 chinese characters or 160 pure English words
Symbol, and, mobile phone terminal brand and the difference of model, the number of characters that can send in every note also differs.
Such as, a note accounting for 72 characters to be sent to 10 people, and every note allows the maximum word sent
Symbol number is 70 characters, and the method calculating required note sum according to computing module 120 calculates required
Note sum be 20.
In other embodiments, in display module 130 can also demonstrate the note of addressee's number and input
Hold required note quantity.Display module 130 can show the note of addressee's number, input in many ways
Note quantity and required note sum needed for content, such as: in the note of addressee's number * input
Hold the note sum of required note quantity=required;Can also be for addressee's number, the short message content institute of input
Need note quantity and required note sum that one icon is respectively set, as shown one between addressee's number
The icon etc. of the individual number of people;Different colors can also be arranged for above three parameter to be distinguish between.
In the present embodiment, when short message content or addressee's number change, statistical module 110
The number of characters of the short message content after meeting statistical updating again and addressee's number, computing module 120 can root
The number of characters allowing the short message content of the max number of characters sent, renewal according to every note and the receipts updated
Note needed for part people's number calculates is total, the new note sum that display module 130 display calculates.
Fig. 5 is the block diagram of system 100 second embodiment of the real-time statistic note quantity of the present invention, such as Fig. 5
Shown in, described system 100 also includes:
Receive the short message content of input, automatically check and mark the looking into of error section occurred in short message content
Mismatch block 140;And
Judge whether to revise the error section checked one by one, and according to controlling the mistake that amendment be there is a need to revise
The modified module 150 of part by mistake.
Wherein, debugging module 140 can check the Chinese of the cacography of such as English word, input automatically
There is the mistake such as repeat of non-syntax gauge in word.In the present embodiment, remaining situation and this real-time statistic
System 100 first embodiment of note quantity is identical, does not repeats them here.
The system and method for the real-time statistic note quantity of the present invention, it is possible to realize the real-time statistic of note quantity,
Make user writing note when, can immediately recognize the number that will send note, sometimes also
Can be that user saves some expenses, when user selects bulk SMS, effect becomes apparent from, and improves use
Family is experienced.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Any amendment, equivalent and the improvement etc. made within bright spirit and principle, should be included in the present invention
Protection domain within.
Claims (4)
1. the method for a real-time statistic note quantity, it is characterised in that comprise the following steps:
S0a, the short message content of reception input, check and mark the error section occurred in short message content automatically;
S0b, judge whether to revise the error section checked one by one, and according to controlling the error section that amendment be there is a need to revise;
The number of characters of the short message content that S1, statistics input and addressee's number;
Note needed for S2, the number of characters allowing the short message content of the max number of characters sent, input according to every note and addressee's number calculate is total;
S2c, judge whether the number of characters of the short message content of described input exceedes default threshold value;It is then to perform step S3, otherwise performs step S1;
The note sum that S3, display calculate;
Wherein, step S2 includes:
S2a, the number of characters of short message content of input allow the max number of characters sent divided by every note, and will be unable to aliquot part and be designated as 1 and be included into aliquot part;
S2b, use addressee's number are multiplied by the result of calculation of step S2a, the note sum needed for obtaining;
The most also demonstrating note quantity needed for the short message content of addressee's number and input, show the short message content of addressee's number, input according in the following manner needed for, note quantity and required note are total:
The note sum of note quantity=required needed for the short message content of addressee's number * input.
The method of real-time statistic note quantity the most according to claim 1, it is characterised in that described method further comprises the steps of:
S4, judge whether short message content and addressee's number change, be then execution step S1, otherwise perform step S5;
S5, judge whether send input note, be then execution step S6, otherwise perform step S1;
S6, transmission note.
The method of real-time statistic note quantity the most according to claim 1, it is characterised in that for addressee's number, input short message content needed for note quantity and required note sum one icon is respectively set and shows.
4. the system of a real-time statistic note quantity, it is characterised in that described system includes:
The number of characters of the short message content of statistics input and the statistical module (110) of addressee's number;
The computing module (120) of the note sum needed for max number of characters, the number of characters of the short message content of input and the calculating of addressee's number according to every note permission transmission;And
The display module (130) of the note sum that display calculates;
Wherein, the number of characters of the short message content of input is allowed the max number of characters sent by described computing module (120) divided by every note, and will be unable to aliquot part and be designated as 1 and be included into aliquot part, and use addressee's number to be multiplied by the result of calculation of previous step, the note sum needed for obtaining;
Note quantity needed for the short message content that described display module (130) also demonstrates addressee's number and input, and according in the following manner display addressee's number, input short message content needed for note quantity and required note sum:
The note sum of note quantity=required needed for the short message content of addressee's number * input;
Described system also includes:
Judge whether the number of characters of the short message content of input exceedes the judge module of default threshold value;
When the number of characters of short message content of input exceedes default threshold value, described display module (130) display addressee's number, input short message content needed for note quantity and required note sum;
Receive the short message content of input, automatically check and mark the debugging module (140) of the error section occurred in short message content;
Judge whether to revise the error section checked one by one, and according to controlling the modified module (150) that amendment be there is a need to the error section of amendment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356275.XA CN102857607B (en) | 2012-09-20 | 2012-09-20 | A kind of system and method for real-time statistic note quantity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210356275.XA CN102857607B (en) | 2012-09-20 | 2012-09-20 | A kind of system and method for real-time statistic note quantity |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102857607A CN102857607A (en) | 2013-01-02 |
CN102857607B true CN102857607B (en) | 2016-12-21 |
Family
ID=47403792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210356275.XA Active CN102857607B (en) | 2012-09-20 | 2012-09-20 | A kind of system and method for real-time statistic note quantity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102857607B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754119B (en) * | 2015-03-12 | 2018-01-23 | 深圳市艾优尼科技有限公司 | A kind of terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1272755A (en) * | 1999-05-03 | 2000-11-08 | 电话通有限公司 | Spelling correcting system for bidirectional mobile communication equipment |
CN101031101A (en) * | 2007-04-02 | 2007-09-05 | 华为技术有限公司 | Method and device for reminding SMS split |
CN102131173A (en) * | 2010-01-19 | 2011-07-20 | 康佳集团股份有限公司 | Short messages counting system and method of mobile phone |
-
2012
- 2012-09-20 CN CN201210356275.XA patent/CN102857607B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1272755A (en) * | 1999-05-03 | 2000-11-08 | 电话通有限公司 | Spelling correcting system for bidirectional mobile communication equipment |
CN101031101A (en) * | 2007-04-02 | 2007-09-05 | 华为技术有限公司 | Method and device for reminding SMS split |
CN102131173A (en) * | 2010-01-19 | 2011-07-20 | 康佳集团股份有限公司 | Short messages counting system and method of mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN102857607A (en) | 2013-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102999334B (en) | A kind of shortcut based on Android platform realizes method, device and terminal | |
US20130120429A1 (en) | Method of representing emotion in a text message | |
US20140344711A1 (en) | Method and device for graphical indicator of electronic messages | |
CN103124964A (en) | Multi-modal and updating interface for messaging | |
US20150006655A1 (en) | Intra-conversation Text Message Threading | |
CN104702782B (en) | A kind of message management method and its mobile terminal | |
CN107483324B (en) | Instant messaging information management method and device for vehicle machine, storage medium and terminal | |
US20140195619A1 (en) | Emotive Text Messaging System | |
CN103809844A (en) | State prompting method and electronic equipment | |
US8326333B2 (en) | Electronic device and method of controlling the electronic device | |
WO2010053630A2 (en) | Variable size message indicator in communication device | |
CN104881279A (en) | Mass messaging method and device | |
CN106708372A (en) | Unread message display method and apparatus | |
CN105607800A (en) | Method and device for input display of terminal screen | |
CN105893019A (en) | User manual calling-out method and apparatus for smartphone | |
CN102857607B (en) | A kind of system and method for real-time statistic note quantity | |
CN101938560A (en) | Mobile communication terminal message management method and mobile communication terminal | |
US20150133176A1 (en) | Method of animating mobile device messages | |
CN104571830A (en) | Method and device for displaying chat content | |
CN106060790A (en) | Terminal equipment, operator server, short message transmission method and transmission system | |
CN104023113A (en) | Method for information processing and electronic equipment | |
CN103985031A (en) | Method and device for processing group message replying state | |
CN104571895B (en) | Method and equipment for adjusting information in information application | |
EP2804349B1 (en) | Method and device for graphical indicator of electronic messages | |
CN205693737U (en) | A kind of number input prompt system based on mobile phone terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |