CN104144254A - Mobile terminal and error correction method in process of sending short message - Google Patents

Mobile terminal and error correction method in process of sending short message Download PDF

Info

Publication number
CN104144254A
CN104144254A CN201410317150.5A CN201410317150A CN104144254A CN 104144254 A CN104144254 A CN 104144254A CN 201410317150 A CN201410317150 A CN 201410317150A CN 104144254 A CN104144254 A CN 104144254A
Authority
CN
China
Prior art keywords
time
note
error correction
delay queue
time delay
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.)
Granted
Application number
CN201410317150.5A
Other languages
Chinese (zh)
Other versions
CN104144254B (en
Inventor
李灿松
陈新楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201410317150.5A priority Critical patent/CN104144254B/en
Publication of CN104144254A publication Critical patent/CN104144254A/en
Application granted granted Critical
Publication of CN104144254B publication Critical patent/CN104144254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a mobile terminal and an error correction method in the process of sending a short message. The error correction method comprises the steps that a time-delay queue is built in an application layer Mms, and used for sending the short message to a bottom layer Framework after the short message to be sent is delayed by a first preset time; whether a long key press event occurs or not is monitored within the first preset time, the time of selecting the short message of the long key press event is larger than or equal to a second preset time, and the second time is smaller than the first time; if the long key press event occurs, the short message in the time-delay queue is selected and operated again. Through the mode, the re-editing operations of modification, withdrawal and sending can be carried out on the short message in the sending process, the error correction effect is excellent, and high practicality is achieved.

Description

Mobile terminal and short message thereof the error correction method in process of transmitting
Technical field
The present invention relates to communication technical field, particularly relate to a kind of mobile terminal and short message thereof the error correction method in process of transmitting.
Background technology
Along with the development of the communication technology, note has become the conventional means of communication, and user, in the time sending note, very easily causes the information content Edit Error of note because of misoperation.When this mistake has edited note and in process of transmitting time, user urgently wishes the note that operation is sending again, do not allow recipient receive the note of this Edit Error, to avoid unnecessary misunderstanding and embarrassment.
Current, industry generally adopts the method for automatic identification error correction to carry out error correction to the note in process of transmitting, that is, mobile terminal carries out identification automatically and corrigendum according to predefined wrong identification template to the Word message content of note.But this is very easily original idea of distortion transmit leg of method of identification error correction automatically, and part spcial character is existed to identification mistaken ideas, the large and error correction poor effect of limitation, practicality is not strong.
Summary of the invention
In view of this, embodiment of the present invention technical problem to be solved is to provide a kind of mobile terminal and the error correction method of short message in process of transmitting thereof, can update operation to the note in process of transmitting, and error correction effect is splendid and practical.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the error correction method of a kind of note in process of transmitting is provided, process of transmitting is completed by application layer Mms and bottom Framework successively, error correction method comprises: set up time delay queue at application layer Mms, time delay queue is for being sent to bottom Framework after the very first time default short message delay that will send; Within the default very first time, whether monitoring has long key-press event to occur, and long key-press event is to choose the time of note to be more than or equal to the second default time, and the second time was less than the very first time; If have long key-press event to occur, choose the note in time delay queue and it is operated again.
Wherein, choose the note in time delay queue and step that it is operated again comprises: eject an information option interface, information option interface comprises amendment, discarded and three menu options of transmission; Select the menu option in information option interface, carry out corresponding operation again with the note in time delay queue.
Wherein, in the time selecting amendment menu option, return to note and send interface, and in the edit box at note transmission interface, show the word content of note.
Wherein, in the time selecting discarded menu option, stop the transmission of note, and return to message list interface.
Wherein, in the time selecting to send menu option, note is recalled from time delay queue, and carry out and send by bottom Framework.
Wherein, the default very first time is 8 seconds.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of mobile terminal is provided, its process that sends note is completed by application layer Mms and bottom Framework successively, mobile terminal comprises: generation module, for setting up time delay queue at application layer Mms, time delay queue is for being sent to bottom Framework after the very first time default short message delay that will send; Whether monitoring modular, have long key-press event to occur for monitoring within the very first time, and long key-press event is to choose the time of note to be more than or equal to the second default time, and the second time was less than the very first time; Processing module, in monitoring module monitors when having long key-press event to occur, choose the note in time delay queue and it operated again.
Wherein, in monitoring module monitors when having long key-press event to occur, processing module also ejects an information option interface for controlling the display screen of mobile terminal, information option interface comprises amendment, discarded and three menu options of transmission, and according to the menu option of selecting, the note in time delay queue is carried out to corresponding operation again.
Wherein, in the time selecting amendment menu option, processing module is used for controlling display screen and returns to note transmission interface, and in the edit box at note transmission interface, shows the word content of note; In the time selecting discarded menu option, processing module is used for stopping the transmission of note, and controls display screen and return to message list interface; In the time selecting to send menu option, processing module is used for note to recall from time delay queue, and is carried out and sent by bottom Framework.
The very first time of the time delay queue that wherein, generation module is set up is 8 seconds.
Pass through technique scheme, the beneficial effect that the embodiment of the present invention produces is: by setting up time delay queue at application layer Mms, being sent to bottom Framework after the very first time default short message delay that will send, thereby for transmit leg provides the mistake that the regular hour goes initiatively to find note, and can modify to the note in process of transmitting by long key-press event, that recalls and send updates operation, be compared to the automatic error-correcting to note in prior art, the subjective error correction method error correction effect of the embodiment of the present invention is better and practical.
Brief description of the drawings
Fig. 1 is the flow chart of an embodiment of the error correction method of note of the present invention in process of transmitting;
Fig. 2 is the interface schematic diagram that the present invention includes amendment menu option, discarded menu option and send the preferred embodiment at the information option interface of menu option;
Fig. 3 is the theory diagram that can carry out the preferred embodiment of the mobile terminal of error correction in note process of transmitting of the present invention.
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 clearly and completely described, obviously, the following described embodiment of the present invention is only a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of the preferred embodiment of the error correction method of note of the present invention in process of transmitting.Refer to shown in Fig. 1, the error correction method of the present embodiment comprises:
Step S11: set up time delay queue at application layer Mms, time delay queue is for being sent to bottom Framework after the very first time default short message delay that will send.
The process of transmitting of note is completed by application layer Mms and bottom Framework successively, that is, application layer Mms creates and safeguard an information recording in information database, and real transmission transfers to bottom Frameworks to carry out.Particularly,
Carry out after the order that sends note when user clicks, first note arrives first stop, is WorkingMessage, and its related content to note is processed, for example, refresh receiver, to ensure being all legal receiver.Then,
Set up time delay queue at application layer Mms, this time delay queue is for making application layer Mms be sent to bottom Framework by after the very first time default short message delay that will send, and the very first time that the present embodiment is preferably preset is 8 seconds.Then,
First stop WorkingMessage creates note and sends SmsMessageSender, and call function sendMessage () is sent to second station by note, i.e. queue to be sent.Wherein, note sends SmsMessageSender and analyzes receiver's address to obtain receiver's number, and puts into queue to be sent by corresponding with receiver note, by receiver's write into Databasce of note and correspondence.And, note transmission SmsMessageSender assigns instruction Intent and arouses note transmission service SmsReceiverService to process queue to be sent, now function sendMessage () returns, and interface UI shows that the state of note is to send.Finally,
Note sends service SmsReceiverService and transfers to bottom Framework to carry out the terminal that is sent to recipient the note in queue to be sent.
The present embodiment is set up time delay queue at application layer Mms, in first stop WorkingMessage call function sendMessag () delay queue before, this time delay queue, for being sent to bottom Framework after the very first time default short message delay that will send, being found if having time the wrong of note and considers whether to update operation for transmit leg.
Step S12: whether monitoring has long key-press event to occur within the default very first time.
Particularly, set up a monitor OnLongClickListener at application layer Mms, in the process of the note in queue to be sent being transferred to bottom Framework, whether have length to occur by event in order to monitoring.The long key-press event of the present embodiment is to be more than or equal to the second default time with the head of a household by the time of the note showing on touch display screen, chooses the time of note to be more than or equal to the second default time, and wherein the second time was less than the very first time.
Occur if do not monitored long key-press event, perform step S14.Occur if monitored long key-press event, perform step S13.
Step S13: choose the note in time delay queue and it is operated again.
In the time having monitored long key-press event generation, the composition layout of inner classes the OnCreateContextMenuListener () call establishment that the mobile terminal of transmit leg is carried out ComposeMessageActivity by composition under application layer Mms catalogue, thereby on its touch display screen, eject information option interface 20 as shown in Figure 2, in this information option interface 20, at least comprise amendment menu option 21, discarded menu option 22 and send menu option 23.
User selects the menu option in information option interface 20 by point touching display screen, carries out corresponding operation again with the note in time delay queue.Particularly,
In the time selecting amendment menu option 21, application layer Mms call function try{}catch{} statement, sends interface to return to note, and in the edit box at note transmission interface, shows the word content of note.In the time selecting discarded menu option 22, application layer Mms call function try{}catch{} statement, to stop the transmission of note, and returns to message list interface.In the time selecting to send menu option 23, the direct call function sendMessag of application layer Mms (), so that note is recalled from time delay queue, and is carried out and is sent by bottom Framework.
Step S14: finish this error correction and enter the process of transmitting of note next time.
Based on above-mentioned, known the present embodiment is by setting up time delay queue at application layer Mms, being sent to bottom Framework after the very first time default short message delay that will send, thereby for transmit leg provides the mistake of the discovery note of the very first time (8 seconds), and can the note in process of transmitting be modified, be recalled and be sent by the information option interface 20 of ejecting update operation, be compared to the automatic error-correcting to note in prior art, the subjective error correction method error correction effect of the present embodiment is better and practical.
Fig. 3 is the theory diagram of the preferred embodiment of mobile terminal of the present invention.Refer to shown in Fig. 3, the mobile terminal 30 of the present embodiment comprises generation module 31, monitoring modular 32, processing module 33 and (touch) display screen 34.Wherein:
Generation module 31 is for setting up time delay queue at application layer Mms, and time delay queue is for being sent to bottom Framework after the very first time default short message delay that will send, and preferably the default very first time is 8 seconds.
Whether monitoring modular 32 has long key-press event to occur for monitoring within the very first time on display screen 34, the long key-press event of the present embodiment is to be more than or equal to the second default time with the head of a household by the time of the note showing on touch display screen 34, choose the time of note to be more than or equal to the second default time, wherein the second time was less than the very first time.
When processing module 33 occurs for monitored long key-press event at monitoring modular 32, choose the note in time delay queue and it is operated again.
In the time that monitoring modular 32 has monitored long key-press event generation, processing module 33 also ejects an information option interface for controlling the display screen 34 of mobile terminal 30, information option interface comprises amendment, discarded and three menu options of transmission, and according to the menu option of selecting, the note in time delay queue is carried out to corresponding operation again.Particularly,
In the time selecting amendment menu option, processing module 33 is returned to note transmission interface for controlling display screen 34, and in the edit box at note transmission interface, shows the word content of note.In the time selecting discarded menu option, processing module 33 is for stopping the transmission of note, and controls display screen 34 and return to message list interface.When selecting to send when menu option, processing module 33 is for note is recalled from time delay queue, and carried out and sent by bottom Framework.
Generation module 31, monitoring modular 32, processing module 33 and the display screen 34 of the present embodiment mobile terminal 30, correspondence is carried out the error correction method described in above-described embodiment, therefore has the technique effect identical with it.
Should be understood that, the execution mode of mobile terminal 30 described above is only schematic, the division of institute's describing module, be only that a kind of logic function is divided, when actual realization, can there is other dividing mode, for example multiple modules can in conjunction with or can be integrated in another system, or some features can ignore, or do not carry out.In addition, module coupling or communication connection each other can be by some interfaces, can be also electrical or other form.
Above-mentioned each functional module is as the part of mobile terminal 30, can be or can not be also physical frame, both can be positioned at a place, also can be distributed in multiple network element, both can adopt the form of hardware to realize, and also can adopt the form of software function frame to realize.Those skilled in the art can select some or all of module wherein to realize the present invention program's object according to the actual needs.
In addition, the present invention in full mentioned mobile terminal taking smart mobile phone as example, certainly be not limited to smart mobile phone, it can be any terminal with unlocking screen function, comprise notebook computer, electronic organizers, portable communication appts, PDA (Personal Digital Assistant, personal digital assistant or panel computer) etc.
In sum, the embodiment of the present invention is by setting up time delay queue at application layer Mms, being sent to bottom Framework after the very first time default short message delay that will send, thereby for transmit leg provides the mistake that the regular hour goes initiatively to find note, and can be by monitoring the operation of updating that long key-press event modifies, recalls and send the note in process of transmitting, be compared to the automatic error-correcting to note in prior art, the subjective error correction method error correction effect of the embodiment of the present invention is better and practical.
Explanation again; the foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; for example the mutually combining of technical characterictic between each embodiment; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. the error correction method of note in process of transmitting, described process of transmitting is completed by application layer Mms and bottom Framework successively, it is characterized in that, and described error correction method comprises:
Set up time delay queue at described application layer Mms, described time delay queue is for being sent to described bottom Framework after the very first time default short message delay that will send;
Within the described default very first time, whether monitoring has long key-press event to occur, and described long key-press event is to choose the time of described note to be more than or equal to the second default time, and described the second time is less than the described very first time;
If have described long key-press event to occur, choose the note in described time delay queue and it is operated again.
2. error correction method according to claim 1, is characterized in that, described in choose the note in described time delay queue and step that it is operated again comprises:
Eject an information option interface, described information option interface comprises amendment, discarded and three menu options of transmission;
Select the menu option in described information option interface, the note in described time delay queue is carried out to corresponding operation again.
3. error correction method according to claim 2, is characterized in that, in the time selecting described amendment menu option, returns to note and sends interface, and in the edit box at described note transmission interface, show the word content of described note.
4. error correction method according to claim 2, is characterized in that, in the time selecting described discarded menu option, stops the transmission of described note, and returns to message list interface.
5. error correction method according to claim 2, is characterized in that, in the time selecting described transmission menu option, described note is recalled from described time delay queue, and is carried out and sent by described bottom Framework.
6. error correction method according to claim 1, is characterized in that, the described default very first time is 8 seconds.
7. a mobile terminal, the process that described mobile terminal sends note is completed by application layer Mms and bottom Framework successively, it is characterized in that, and described mobile terminal comprises:
Generation module, for setting up time delay queue at described application layer Mms, described time delay queue is for being sent to described bottom Framework after the very first time default short message delay that will send;
Whether monitoring modular, have long key-press event to occur for monitoring within the described very first time, and described long key-press event is to choose the time of described note to be more than or equal to the second default time, and described the second time is less than the described very first time;
Processing module, in described monitoring module monitors when having described long key-press event to occur, choose the note in described time delay queue and it operated again.
8. mobile terminal according to claim 7, it is characterized in that, in described monitoring module monitors when having described long key-press event to occur, described processing module also ejects an information option interface for controlling the display screen of described mobile terminal, described information option interface comprises amendment, discarded and three menu options of transmission, and according to the menu option of selecting, the note in described time delay queue is carried out to corresponding operation again.
9. mobile terminal according to claim 8, it is characterized in that, in the time selecting described amendment menu option, described processing module is used for controlling described display screen and returns to note transmission interface, and in the edit box at described note transmission interface, shows the word content of described note; In the time selecting described discarded menu option, described processing module is used for stopping the transmission of described note, and controls described display screen and return to message list interface; In the time selecting described transmission menu option, described processing module is used for described note to recall from described time delay queue, and is carried out and sent by described bottom Framework.
10. mobile terminal according to claim 7, is characterized in that, the described very first time of the described time delay queue that described generation module is set up is 8 seconds.
CN201410317150.5A 2014-07-04 2014-07-04 The error correction method of mobile terminal and its short message in transmission process Active CN104144254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410317150.5A CN104144254B (en) 2014-07-04 2014-07-04 The error correction method of mobile terminal and its short message in transmission process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410317150.5A CN104144254B (en) 2014-07-04 2014-07-04 The error correction method of mobile terminal and its short message in transmission process

Publications (2)

Publication Number Publication Date
CN104144254A true CN104144254A (en) 2014-11-12
CN104144254B CN104144254B (en) 2017-08-04

Family

ID=51853319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410317150.5A Active CN104144254B (en) 2014-07-04 2014-07-04 The error correction method of mobile terminal and its short message in transmission process

Country Status (1)

Country Link
CN (1) CN104144254B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872994A (en) * 2016-03-28 2016-08-17 珠海格力电器股份有限公司 Method and device for sending short message

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100679076B1 (en) * 2005-09-22 2007-02-05 삼성전자주식회사 Method for canceling of delivered short massage in mobile communication terminal
CN101640862A (en) * 2009-09-04 2010-02-03 北京中星微电子有限公司 Method for sending short message in digital mobile communication terminal and device thereof
CN103167446A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Short message revocation method in sending process of mobile phone short message
CN103237127A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for sending communication information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100679076B1 (en) * 2005-09-22 2007-02-05 삼성전자주식회사 Method for canceling of delivered short massage in mobile communication terminal
CN101640862A (en) * 2009-09-04 2010-02-03 北京中星微电子有限公司 Method for sending short message in digital mobile communication terminal and device thereof
CN103167446A (en) * 2012-08-23 2013-06-19 深圳市金立通信设备有限公司 Short message revocation method in sending process of mobile phone short message
CN103237127A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for sending communication information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872994A (en) * 2016-03-28 2016-08-17 珠海格力电器股份有限公司 Method and device for sending short message

Also Published As

Publication number Publication date
CN104144254B (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN103124283B (en) Electronic device and method capable of collaboratively editing with a plurality of mobile devices
CN109391648A (en) It is a kind of to apply correlating method, device and the communication system being sliced with network
CN101977365B (en) Method and system for indicating residual mobile phone Internet traffic
CN112565063B (en) Message processing method and device and electronic equipment
CN103246973B (en) Method and electronic apparatus for associating note and calendar event
CN102917118A (en) Terminal and task display method
CN101110792A (en) System and method for managing conversation message in instant communication terminal
CN103092516B (en) Based on interface display method and the system of edit pattern
CN104539791A (en) Method and device for performing instant messaging in communication terminal
CN103596027A (en) Method and device for retrieving keyboards under different scenes of intelligent television
CN104253872A (en) Synchronous information updating method, system and terminal
CN104240066A (en) Method and device for displaying conversation of E-mails
EP2998857A1 (en) Control method and device for displaying screen background
CN112118538A (en) Method and device for device information interaction between terminals
CN102439952A (en) Input method for communication terminals and communication terminals
CN109151748A (en) Flow card switching method and device
CN106528156A (en) Page data processing method and device
CN112087364B (en) Session list display method, device and storage medium
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
CN103491421A (en) Content display method and device and smart television
CN107967098A (en) A kind of button exchange method and device
CN103648047A (en) Resource searching method and system of intelligent television
CN103888503A (en) Electronic device and instant sharing method
CN107734589A (en) A kind of data transmission method and mobile terminal based on wireless headset
CN104144254A (en) Mobile terminal and error correction method in process of sending short message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant