CN103927293B - Instant message processing method and electronic equipment - Google Patents
Instant message processing method and electronic equipment Download PDFInfo
- Publication number
- CN103927293B CN103927293B CN201310012868.9A CN201310012868A CN103927293B CN 103927293 B CN103927293 B CN 103927293B CN 201310012868 A CN201310012868 A CN 201310012868A CN 103927293 B CN103927293 B CN 103927293B
- Authority
- CN
- China
- Prior art keywords
- instant message
- message
- original
- instant
- control character
- 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
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of instant message processing method and electronic equipment.The instant message processing method includes:Receive the first instant message;Judge whether first instant message carries the first control character, and obtain a judged result;When the judged result shows that first instant message carries first control character, according to first instant message, corresponding repair of first control character is performed to original instant message corresponding to first instant message and is operated;It is determined that repair after original instant message corresponding to the second instant message;Show second instant message.It can be seen that, in this programme, when the input of original instant message is wrong, the the first instant message progress reparation operation for carrying the first control character can be inputted, avoid the operation for re-entering the original instant message of whole piece, raising instant message remediation efficiency has been reached with this, and then has improved the purpose of Consumer's Experience.
Description
Technical field
The present invention relates to instant message processing technology field, more particularly to a kind of instant message processing method and electronics are set
It is standby.
Background technology
With the development that science and technology is at full speed, various electronic products are constantly enriched and facilitate popular life.Due to profit
There is the advantages such as convenient and swift, saving resource with electronics product treatment information so that electronic product turns into life or the work of people
An indispensable part in work.
Wherein, user utilizes the instant chat software in electronic equipment, it is possible to achieve online chatting.For example:User can be with
The chat softwares such as wechat, QQ are downloaded in the equipment such as mobile phone, notebook, PAD, to realize online chatting, this is undoubtedly enriched
The life of user.And instant chat software process is being utilized, due to erroneous input operation, often sent at least partly to recipient
The wrong instant message of content so that recipient user is difficult to realize implication immediately;Now, in order to clearly show sender use
The implication for inputting instant message at family, existing instant message repair mode is:User re-enters correct whole piece and disappeared immediately
Breath.
And when the instant message content inputted is more and included error message is less, re-enters whole piece and disappear immediately
Breath will make it that instant message remediation efficiency is relatively low, and this undoubtedly reduces Consumer's Experience.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of instant message processing method and electronic equipment,
To improve instant message remediation efficiency, and then Consumer's Experience is improved, technical scheme is as follows:
On the one hand, the embodiments of the invention provide a kind of instant message processing method, it is adaptable to electronic equipment, methods described
Including:
Receive the first instant message;
Judge whether first instant message carries the first control character, and obtain a judged result;
When the judged result shows that first instant message carries first control character, according to described
One instant message, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation;
It is determined that repair after original instant message corresponding to the second instant message, second instant message be the original
At least a portion in beginning instant message, and including at least the part being repaired;
Show second instant message.
Wherein, when the judged result shows that first instant message does not carry the first control character, institute is shown
State the first instant message.
Wherein, original instant message corresponding to first instant message is disappearing immediately received by the electronic equipment
With the instant message for receiving time difference minimum of the first instant message in breath.
Wherein, the corresponding reparation operation of first control character at least includes:Amendment operation, deletion action and additional behaviour
One kind in work.
Wherein, when the first control character correspondence amendment operation entrained by first instant message, according to described the
One instant message, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, including:
Determine what is matched in original instant message corresponding to first instant message with the first instant message phonetic
First instant sub- message, wherein, the described first instant sub- message is at least a portion of the original instant message;
The described first instant sub- message in the original instant message is replaced with into first instant message.
Wherein, when the first control character correspondence deletion action entrained by first instant message, according to described the
One instant message, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, including:
Content corresponding to first instant message is deleted from original instant message corresponding to first instant message.
Wherein, when the additional operation of the first control character correspondence entrained by first instant message, according to described the
One instant message, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, including:
Determine instant with the second of first instant message in original instant message corresponding to first instant message
3rd instant sub- message of sub- message phonetic matching, wherein, the described second instant sub- message is in first instant message
At least partially, the described 3rd instant sub- message is at least a portion in the original instant message;
Described in the original instant message the 3rd instant sub- message is replaced with into first instant message.
Wherein, when second instant message for repair after the original instant message in when being repaired part, institute
Display second instant message is stated, including:
In interface where second instant message is shown in into the original instant message, wherein, it is same in the interface
When show second instant message and the original instant message;
Or,
By partial replacement to be repaired in the original instant message currently shown is second instant message and highlights.
Wherein, during when second instant message for the original instant message after repairing, the display described second
Instant message, including:
The original instant message currently shown is changed to second instant message and highlighted;
Or,
In interface where second instant message is shown in into the original instant message, wherein, it is same in the interface
When show second instant message and the original instant message.
On the other hand, the embodiment of the present invention also provides a kind of electronic equipment, including:
First instant message receiving module, for receiving the first instant message;
Judge module, for judging whether first instant message carries the first control character, and obtains a judgement
As a result;
Repair module, for showing that first instant message carries first control character when the judged result
When, according to first instant message, first control is performed to original instant message corresponding to first instant message
Character is corresponding to repair operation;
Second instant message determining module, for determining that second corresponding to the original instant message after repairing disappears immediately
Breath, second instant message is at least a portion in the original instant message, and including at least the part being repaired;
Second instant message display module, for showing second instant message.
Wherein, the electronic equipment also includes:
First instant message display module, for showing that first instant message does not carry when the judged result
During one control character, first instant message is shown.
Wherein, the repair module includes:
Amending unit, for when entrained by first instant message the first control character correspondence amendment operation when, really
First matched in original instant message corresponding to fixed first instant message with the first instant message phonetic is immediately sub
Message, wherein, the described first instant sub- message is at least a portion of the original instant message;
The described first instant sub- message in the original instant message is replaced with into first instant message.
Wherein, the repair module, including:
Delete unit, for when entrained by first instant message the first control character correspondence deletion action when, from
Content corresponding to first instant message is deleted in original instant message corresponding to first instant message.
Wherein, the repair module, including:
Additional unit, for when the additional operation of the first control character correspondence entrained by first instant message, really
The second instant sub- message phonetic in original instant message corresponding to fixed first instant message with first instant message
3rd instant sub- message of matching, wherein, the described second instant sub- message is at least a portion in first instant message,
Described 3rd instant sub- message is at least a portion in the original instant message;
Described in the original instant message the 3rd instant sub- message is replaced with into first instant message.
Wherein, the second instant message determining module, including:
First message determining unit, for the being repaired part in the original instant message after reparation to be defined as into the
Two instant messages;
Accordingly, the second instant message display module, including:
In first display unit, interface where for second instant message to be shown in into the original instant message,
Wherein, second instant message and the original instant message are shown simultaneously in the interface;
Or,
Second display unit, for being described second i.e. by partial replacement to be repaired in the original instant message currently shown
When message and highlight.
Wherein, the second instant message determining module, including:
Second message determining unit, for the original instant message after reparation to be defined as into the second instant message;
Accordingly,
The second instant message display module, including:
3rd display unit, for the original instant message currently shown to be changed into second instant message and carried out
Highlight;
Or,
In 4th display unit, interface where for second instant message to be shown in into the original instant message,
Wherein, second instant message and the original instant message are shown simultaneously in the interface.
In the technical scheme that the embodiment of the present invention is provided, when the first instant message received by electronic equipment is carried
During the first control character, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, and then determine the second instant message corresponding to the original instant message after repairing and show.It can be seen that, in this programme,
When the input of original instant message is wrong, the first instant message progress reparation behaviour for carrying the first control character can be inputted
Make, it is to avoid re-enter the operation of the original instant message of whole piece, raising instant message remediation efficiency, Jin Erti reached with this
The purpose of high Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
A kind of the first flow chart for instant message processing method that Fig. 1 is provided by the embodiment of the present invention;
A kind of second of flow chart of instant message processing method that Fig. 2 is provided by the embodiment of the present invention;
A kind of the third flow chart for instant message processing method that Fig. 3 is provided by the embodiment of the present invention;
A kind of 4th kind of flow chart of instant message processing method that Fig. 4 is provided by the embodiment of the present invention;
The structural representation for a kind of electronic equipment that Fig. 5 is provided by the embodiment 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 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.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
In order to improve instant message remediation efficiency, and then Consumer's Experience is improved, the embodiments of the invention provide a kind of instant
Message treatment method and electronic equipment.
A kind of instant message processing method provided first below the embodiment of the present invention is introduced.
It should be noted that the embodiment of the present invention be applied to an electronic equipment, the electronic equipment can transmitting/receiving instance message,
For example:Wechat message, QQ message etc..In actual applications, the electronic equipment can be the equipment such as mobile phone, notebook, PAD.
As shown in figure 1, a kind of instant message processing method, can include:
S101, receives the first instant message;
S102, judges whether first instant message carries the first control character, if it is, performing step S103;It is no
Then, step S106 is performed;
When the electronic equipment receives the first instant message, it can be determined that whether first instant message carries first
Control character, and according to the different operations of judged result execution.When judged result shows that first instant message carries first
Control character, it is the message for a received original instant message repair operation to represent first instant message, this
When, subsequent step S103 is performed, is operated with carrying out original instant message reparation;And when judged result shows first instant message
The first control character is not carried, and it is common instant message to represent first instant message, now, directly performs step
S106, to show first instant message.
S103, according to first instant message, original instant message corresponding to first instant message is performed this first
Control character is corresponding to repair operation;
When judged result shows that first instant message carries the first control character, represent first instant message for institute
The original instant message received repair the message of operation, now, then according to first instant message, first is to this
When original instant message corresponding to message perform first control character it is corresponding repair operation.
Wherein, user can add specific shortcut when inputting the first instant message, and be set as the electronics of transmitting terminal
It is standby to be automatically added to corresponding first control character of the specific shortcut for first instant message, to cause as receiving terminal should
Electronic equipment can interpolate that out that first instant message carries first control character.It is understood that same electronics is set
In standby, corresponding first control character of different shortcuts is different, and the first control characters that difference is repaired corresponding to operation are different;And
In distinct electronic apparatuses, the first control character corresponding to same shortcut can be with similar and different, and same to repair operation institute right
Answer the first control character can be with identical or different;Also, the corresponding relation of shortcut and the first control character, and repair operation
Corresponding relation with the first control character can be default setting when dispatching from the factory, or, it can be set by User Defined, this
All it is rational.
It should be noted that the corresponding reparation operation of the first control character at least includes:Correct operation, deletion action and chase after
One kind in add operation.Wherein, it is so-called amendment operation be:It will be matched in corresponding original instant message with the first instant message phonetic
The first instant sub- message replace with the operation of first instant message;So-called deletion action is:From corresponding original instant message
Middle deletion and the operation of content corresponding to the first instant message;And so-called additional operation is:Will in corresponding original instant message with
3rd instant sub- message of the sub- message phonetic matching immediately of the second of the first instant message replaces with the behaviour of first instant message
Make, wherein, the second instant sub- message is at least a portion in first instant message, and the 3rd instant sub- message is the original
At least a portion in beginning instant message.
Further, when there is a plurality of instant message, original instant message corresponding to first instant message is should
With the instant message for receiving time difference minimum of the first instant message in instant message received by electronic equipment.
S104, it is determined that repair after original instant message corresponding to the second instant message;
Wherein, second instant message is at least a portion in the original instant message, and comprises at least what is be repaired
Part.For example:Second instant message can be the original instant message after repairing, or this after reparation is original i.e.
When message in be repaired part, this is all rational.
S105, shows second instant message;
It is understood that passing through to clearly show the corresponding original instant message of first instant message to user
Operation is repaired, second instant message can be shown.
Wherein, when second instant message for repair after the original instant message in when being repaired part, the display
Second instant message, can include:
It will change in interface where the second instant message is shown in the original instant message, wherein, shown simultaneously in the interface
There are second instant message and the original instant message;
Or,
By partial replacement to be repaired in the original instant message currently shown is second instant message and highlights.
Wherein, during when second instant message for the original instant message after repairing, the display described second disappears immediately
Breath, can include:
The original instant message currently shown is changed to change the second instant message and highlighted;
Or,
In interface where second instant message is shown in into the original instant message, wherein, shown simultaneously in the interface
There are second instant message and the original instant message.
It is understood that the display mode of above-mentioned second instant message is merely exemplary, it should not constitute to this
The restriction of inventive embodiments.
Wherein, so-called highlight can include:Change font color, size, thickness, underline, certainly, not
It is confined to this.
S106, shows first instant message.
Show that first instant message does not carry the first control character in judged result, it is general to represent first instant message
Logical instant message, now, the corresponding display location directly in display interface show first instant message.
In the technical scheme that the embodiment of the present invention is provided, when the first instant message received by electronic equipment is carried
During the first control character, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, and then determine the second instant message corresponding to the original instant message after repairing and show.It can be seen that, in this programme,
When the input of original instant message is wrong, the first instant message progress reparation behaviour for carrying the first control character can be inputted
Make, it is to avoid re-enter the operation of the original instant message of whole piece, raising instant message remediation efficiency, Jin Erti reached with this
The purpose of high Consumer's Experience.
Below by taking the first control character correspondence amendment operation entrained by the first instant message as an example, to the embodiment of the present invention
A kind of instant message processing method provided is introduced.
It should be noted that the embodiment of the present invention is applied to an electronic equipment, it is instant that the electronic equipment can receive transmission
Message, for example:Wechat message, QQ message etc..In actual applications, the electronic equipment can set for mobile phone, notebook, PAD etc.
It is standby.
As shown in Fig. 2 a kind of instant message processing method, can include:
S201, receives the first instant message;
S202, judges whether first instant message carries the first control character, if it is, performing step S203;Otherwise,
Perform step S208;
When the electronic equipment receives the first instant message, it can be determined that whether first instant message carries first
Control character, and according to the different operations of judged result execution.When judged result shows that first instant message carries first
Control character, it is the message for a received original instant message repair operation to represent first instant message, this
When, subsequent step S203 is performed, is operated with carrying out original instant message reparation;And when judged result shows first instant message
The first control character is not carried, and it is common instant message to represent first instant message, now, directly performs step
S208, to show first instant message.
S203, determines that the corresponding operation of the first control character entrained by first instant message is amendment operation;
S204, determines what is matched in original instant message corresponding to first instant message with the first instant message phonetic
First instant sub- message;
Wherein, the first instant sub- message is at least a portion of the original instant message.
S205, first instant message is replaced with by the first instant sub- message in the original instant message;
When judged result shows that first instant message carries the first control character, represent first instant message for pair
A received original instant message repair the message of operation, at this point it is possible to determine that first instant message is taken
The corresponding operation of the first control character of band is amendment operation.
And after determining the corresponding operation of the first control character for amendment operation, it may be determined that the first instant message institute
The the first instant sub- message matched in the original instant message of correspondence with the first instant message phonetic, and then this original is disappeared immediately
The first instant sub- message in breath replaces with first instant message.
For example:First instant message is " association ", and first instant message carries the first control of correspondence amendment operation
Character processed, at this time, it may be necessary to by the corresponding original instant message " I will go cipher " of the first instant message with the first instant message
" cipher " of phonetic matching is replaced with " association " so that the original instant message after repairing operation is " I will go to association ".
Further, when there is a plurality of instant message, original instant message corresponding to first instant message is should
With the instant message for receiving time difference minimum of the first instant message in instant message received by electronic equipment.
S206, it is determined that repair after original instant message in be repaired part be the second instant message;
S207, is the second instant message by partial replacement to be repaired in the original instant message currently shown, and by this
Two instant messages are highlighted;
It is understood that passing through to clearly show the corresponding original instant message of first instant message to user
Repair operation, it may be determined that it is the second instant message that part is repaired in the original instant message after reparation, will currently be shown
Original instant message in partial replacement to be repaired be the second instant message, and second instant message is highlighted.
For example:" association " in the above-mentioned original instant message " I will go to association " by repairing operation is defined as the second instant message,
And reparation operation is have passed through in order to show the original instant message to user, can be by " I will go cipher " that currently shows
" cipher " is replaced with " association ", and changes the font or color of " association ", is highlighted with realizing.
S208, shows first instant message.
Show that first instant message does not carry the first control character in judged result, it is general to represent first instant message
Logical instant message, now, directly shows first instant message on display interface.
It can be seen that, in this programme, when the input of original instant message is wrong, it can input and carry the of the first control character
One instant message is modified operation, it is to avoid re-enter the operation of whole piece original instant message, and raising has been reached i.e. with this
When passive remediation efficiency, and then improve Consumer's Experience purpose.
Below by taking the first control character correspondence deletion action entrained by the first instant message as an example, to the embodiment of the present invention
A kind of instant message processing method provided is introduced.
It should be noted that the embodiment of the present invention is applied to an electronic equipment, it is instant that the electronic equipment can receive transmission
Message, for example:Wechat message, QQ message etc..In actual applications, the electronic equipment can set for mobile phone, notebook, PAD etc.
It is standby.
As shown in figure 3, a kind of instant message processing method, can include:
S301, receives the first instant message;
S302, judges whether first instant message carries the first control character, if it is, performing step S303;Otherwise,
Perform step S307;
When the electronic equipment receives the first instant message, it can be determined that whether first instant message carries first
Control character, and according to the different operations of judged result execution.When judged result shows that first instant message carries first
Control character, it is the message for a received original instant message repair operation to represent first instant message, this
When, subsequent step S303 is performed, is operated with carrying out original instant message reparation;And when judged result shows first instant message
The first control character is not carried, and it is common instant message to represent first instant message, now, directly performs step
S307, to show first instant message.
S303, determines that the corresponding operation of the first control character entrained by first instant message is deletion action;
S304, is deleted from original instant message corresponding to first instant message in corresponding to first instant message
Hold;
When judged result shows that first instant message carries the first control character, represent first instant message for pair
A received original instant message repair the message of operation, at this point it is possible to determine that first instant message is taken
The corresponding operation of the first control character of band is deletion action.
And after determining that the corresponding operation of the first control character is deletion action, can be right from first instant message institute
Answer and content corresponding to first instant message is deleted in original instant message.
For example:First instant message is " association ", and first instant message carries the first control of correspondence deletion action
Character processed, at this time, it may be necessary to " association " in the corresponding original instant message " I also wants to association " of the first instant message is deleted,
So that the original instant message after repairing operation is " I also wants to ".
Further, when there is a plurality of instant message, original instant message corresponding to first instant message is should
With the instant message for receiving time difference minimum of the first instant message in instant message received by electronic equipment.
S305, it is determined that the original instant message after repairing is the second instant message;
In S306, interface where second instant message is shown in into the original instant message;
Wherein, second instant message and the original instant message are shown simultaneously in the interface.
It is understood that passing through to clearly show the corresponding original instant message of first instant message to user
Deletion action, it may be determined that the original instant message after reparation is the second instant message, and second instant message shown
In interface where the original instant message.
S307, shows first instant message.
Show that first instant message does not carry the first control character in judged result, it is general to represent first instant message
Logical instant message, now, directly shows first instant message on display interface.
It can be seen that, in this programme, when the input of original instant message is wrong, it can input and carry the of the first control character
One instant message carries out deletion action, it is to avoid re-enter the operation of whole piece original instant message, and raising has been reached i.e. with this
When passive remediation efficiency, and then improve Consumer's Experience purpose.
Below by taking the additional operation of the first control character correspondence entrained by the first instant message as an example, to the embodiment of the present invention
A kind of instant message processing method provided is introduced.
It should be noted that the embodiment of the present invention is applied to an electronic equipment, it is instant that the electronic equipment can receive transmission
Message, for example:Wechat message, QQ message etc..In actual applications, the electronic equipment can set for mobile phone, notebook, PAD etc.
It is standby.
As shown in figure 4, a kind of instant message processing method, can include:
S401, receives the first instant message;
S402, judges whether first instant message carries the first control character, if it is, performing step S403;Otherwise,
Perform step S408;
When the electronic equipment receives the first instant message, it can be determined that whether first instant message carries first
Control character, and according to the different operations of judged result execution.When judged result shows that first instant message carries first
Control character, it is the message for a received original instant message repair operation to represent first instant message, this
When, subsequent step S403 is performed, is operated with carrying out original instant message reparation;And when judged result shows first instant message
The first control character is not carried, and it is common instant message to represent first instant message, now, directly performs step
S408, to show first instant message.
S403, determines that the corresponding operation of the first control character entrained by first instant message is additional operation;
When judged result shows that first instant message carries the first control character, represent first instant message for pair
A received original instant message repair the message of operation, at this point it is possible to determine that first instant message is taken
The corresponding operation of the first control character of band is additional operation.
S404, is determined instant with the second of first instant message in original instant message corresponding to first instant message
3rd instant sub- message of sub- message phonetic matching;
Wherein, the second instant sub- message is at least a portion in first instant message, the 3rd instant sub- message
For at least a portion in the original instant message.
S405, first instant message is replaced with by the in the original instant message the 3rd instant sub- message;
After determining the corresponding operation of the first control character for additional operation, it may be determined that first instant message institute is right
The 3rd instant sub- message matched in original instant message with the second instant sub- message phonetic of first instant message is answered, and will
The 3rd instant sub- message replaces with first instant message in the original instant message.
For example:First instant message is " when ", and corresponding original instant message is " what goes to association ", when this first is
When message when carrying the first control character of the additional operation of correspondence, due to only having in the full content of the original instant message
" what " word is matched with " what " phonetic of first instant message, therefore, is as the 3rd using " what " word in the original instant message
When sub- message, and replace with " when ", accordingly, it is " when goes to association " to repair the original instant message after operation.
And for example:First instant message is " when ", and corresponding original instant message is " what thing is whole to come up ", when this first
When instant message carries the first control character of correspondence additional operation, due in the full content of the original instant message only
There is " what thing " to be matched with " what when " phonetic in first instant message, therefore, using " what thing " in the original instant message as
3rd instant sub- message, and replace with " when ", accordingly, repair the original instant message after operation for " when it is whole on
Come ".
S406, it is determined that the original instant message after repairing is the second instant message;
S407, is changed to second instant message by the original instant message currently shown and is highlighted;
It is understood that passing through to clearly show the corresponding original instant message of first instant message to user
Additional operation, it may be determined that the original instant message after reparation is the second instant message, original immediately disappears what is currently shown
Breath is changed to second instant message and highlighted.
S408, shows first instant message.
Show that first instant message does not carry the first control character in judged result, it is general to show first instant message
Logical instant message, now, directly shows first instant message on display interface.
It can be seen that, in this programme, when the input of original instant message is wrong, it can input and carry the of the first control character
One instant message carries out adding operation, it is to avoid re-enter the operation of whole piece original instant message, has been reached and has been improved i.e. with this
When passive remediation efficiency, and then improve Consumer's Experience purpose.
The description of embodiment of the method more than, it is apparent to those skilled in the art that the present invention can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former
It is more preferably embodiment.Understood based on such, technical scheme substantially makes tribute to prior art in other words
The part offered can be embodied in the form of software product, and the computer software product is stored in a storage medium, bag
Some instructions are included to cause a computer equipment(Can be personal computer, server, or network equipment etc.)Perform
The all or part of step of each embodiment methods described of the invention.And foregoing storage medium includes:Read-only storage
(ROM), random access memory(RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Corresponding to above method embodiment, the embodiment of the present invention also provides a kind of electronic equipment, as shown in figure 5, can be with
Including:
First instant message receiving module 510, for receiving the first instant message;
Judge module 520, for judging whether first instant message carries the first control character, and acquisition one is sentenced
Disconnected result;
Repair module 530, for showing that first instant message carries first control when the judged result
During character, according to first instant message, described first is performed to original instant message corresponding to first instant message
Control character is corresponding to repair operation;
Second instant message determining module 540, second corresponding to original instant message after being repaired for determination is instant
Message, second instant message is at least a portion in the original instant message, and including at least the part being repaired;
Second instant message display module 550, for showing second instant message.
In the technical scheme that the embodiment of the present invention is provided, when the first instant message received by electronic equipment is carried
During the first control character, the corresponding reparation of first control character is performed to original instant message corresponding to first instant message
Operation, and then determine the second instant message corresponding to the original instant message after repairing and show.It can be seen that, in this programme,
When the input of original instant message is wrong, the first instant message progress reparation behaviour for carrying the first control character can be inputted
Make, it is to avoid re-enter the operation of the original instant message of whole piece, raising instant message remediation efficiency, Jin Erti reached with this
The purpose of high Consumer's Experience.
Further, the electronic equipment can also include:
First instant message display module, for showing that first instant message does not carry when the judged result
During one control character, first instant message is shown.
Wherein, repair module 530 can include:
Amending unit, for when entrained by first instant message the first control character correspondence amendment operation when, really
First matched in original instant message corresponding to fixed first instant message with the first instant message phonetic is immediately sub
Message, wherein, the described first instant sub- message is at least a portion of the original instant message;
The described first instant sub- message in the original instant message is replaced with into first instant message.
Wherein, the repair module 530 can include:
Delete unit, for when entrained by first instant message the first control character correspondence deletion action when, from
Content corresponding to first instant message is deleted in original instant message corresponding to first instant message.
Wherein, repair module 530, can include:
Additional unit, for when the additional operation of the first control character correspondence entrained by first instant message, really
The second instant sub- message phonetic in original instant message corresponding to fixed first instant message with first instant message
3rd instant sub- message of matching, wherein, the described second instant sub- message is at least a portion in first instant message,
Described 3rd instant sub- message is at least a portion in the original instant message;
Described in the original instant message the 3rd instant sub- message is replaced with into first instant message.
Wherein, the second instant message determining module 540, can include
First message determining unit, for the being repaired part in the original instant message after reparation to be defined as into the
Two instant messages;
Accordingly,
Second instant message display module 550, can include:
In first display unit, interface where for second instant message to be shown in into the original instant message,
Wherein, second instant message and the original instant message are shown simultaneously in the interface;
Or,
Second display unit, for being described second i.e. by partial replacement to be repaired in the original instant message currently shown
When message and highlight.
Wherein, the second instant message determining module 540, can include:
Second message determining unit, for the original instant message after reparation to be defined as into the second instant message;
Accordingly,
Second instant message display module 550, can include:
3rd display unit, for the original instant message currently shown to be changed into second instant message and carried out
Highlight;
Or,
In 4th display unit, interface where for second instant message to be shown in into the original instant message,
Wherein, second instant message and the original instant message are shown simultaneously in the interface.
For device or system embodiment, because it essentially corresponds to embodiment of the method, so related part referring to
The part explanation of embodiment of the method.Device or system embodiment described above is only schematical, wherein described
The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be with
It is or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can
To select some or all of module therein to realize the purpose of this embodiment scheme according to the actual needs.This area is common
Technical staff is without creative efforts, you can to understand and implement.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are not having
Have more than in spirit and scope, can realize in other way.Current embodiment is a kind of exemplary
Example, should not be taken as limitation, given particular content should in no way limit the purpose of the application.For example, the unit or
The division of subelement, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple lists
First or multiple subelements combine.In addition, multiple units can with or component can combine or be desirably integrated into another and be
System, or some features can be ignored, or not perform.
In addition, the schematic diagram of described system, apparatus and method and non-be the same as Example, without departing from scope of the present application
It is interior, it can be combined or integrated with other systems, module, techniques or methods.Another, shown or discussed coupling each other
Close or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be with
It is electrical, machinery or other forms.
Described above is only the embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (15)
1. a kind of instant message processing method, it is characterised in that suitable for electronic equipment, methods described includes:
Receive the first instant message;
Judge whether first instant message carries the first control character, and obtain a judged result;
When the judged result shows that first instant message carries first control character, it is according to described first
When message, corresponding repair of first control character is performed to original instant message corresponding to first instant message and is grasped
Make;First control character is corresponding, which to repair operation, at least includes:One in amendment operation, deletion action and additional operation
Kind;
It is determined that repair after original instant message corresponding to the second instant message, second instant message for it is described it is original i.e.
When message at least a portion, and including at least the part that is repaired;
Show second instant message.
2. according to the method described in claim 1, it is characterised in that when the judged result shows first instant message not
When carrying the first control character, first instant message is shown.
3. according to the method described in claim 1, it is characterised in that original instant message corresponding to first instant message is
With the instant message for receiving time difference minimum of the first instant message in instant message received by the electronic equipment.
4. the method according to claim 1-3 any one, it is characterised in that when entrained by first instant message
During the correspondence amendment operation of the first control character, according to first instant message, to original corresponding to first instant message
Instant message performs corresponding repair of first control character and operated, including:
Determine first matched in original instant message corresponding to first instant message with the first instant message phonetic
Instant sub- message, wherein, the described first instant sub- message is at least a portion of the original instant message;
The described first instant sub- message in the original instant message is replaced with into first instant message.
5. the method according to claim 1-3 any one, it is characterised in that when entrained by first instant message
During the first control character correspondence deletion action, according to first instant message, to original corresponding to first instant message
Instant message performs corresponding repair of first control character and operated, including:
Content corresponding to first instant message is deleted from original instant message corresponding to first instant message.
6. the method according to claim 1-3 any one, it is characterised in that when entrained by first instant message
When first control character correspondence adds operation, according to first instant message, to original corresponding to first instant message
Instant message performs corresponding repair of first control character and operated, including:
Determine that the second instant son in original instant message corresponding to first instant message with first instant message disappears
Cease the 3rd instant sub- message of phonetic matching, wherein, the described second instant sub- message in first instant message at least
A part, the described 3rd instant sub- message is at least a portion in the original instant message;
Described in the original instant message the 3rd instant sub- message is replaced with into first instant message.
7. the method according to claim 1-3 any one, it is characterised in that after second instant message is repairs
The original instant message in when being repaired part, display second instant message, including:
In interface where second instant message is shown in into the original instant message, wherein, show simultaneously in the interface
It is shown with second instant message and the original instant message;
Or,
By partial replacement to be repaired in the original instant message currently shown is second instant message and highlights.
8. the method according to claim 1-3 any one, it is characterised in that after second instant message is repairs
The original instant message when, display second instant message, including:
The original instant message currently shown is changed to second instant message and highlighted;
Or,
In interface where second instant message is shown in into the original instant message, wherein, show simultaneously in the interface
It is shown with second instant message and the original instant message.
9. a kind of electronic equipment, it is characterised in that including:
First instant message receiving module, for receiving the first instant message;
Judge module, for judging whether first instant message carries the first control character, and obtains a judged result;
Repair module, for when the judged result shows that first instant message carries first control character,
According to first instant message, first control character is performed to original instant message corresponding to first instant message
It is corresponding to repair operation;First control character is corresponding, which to repair operation, at least includes:Amendment operation, deletion action and addition
One kind in operation;
Second instant message determining module, for determining the second instant message corresponding to the original instant message after repairing, institute
It is at least a portion in the original instant message to state the second instant message, and including at least the part being repaired;
Second instant message display module, for showing second instant message.
10. electronic equipment according to claim 9, it is characterised in that also include:
First instant message display module, for showing that first instant message does not carry the first control when the judged result
During character processed, first instant message is shown.
11. the electronic equipment according to claim 9 or 10, it is characterised in that the repair module includes:
Amending unit, for when the first control character correspondence amendment operation entrained by first instant message, determining institute
The instant sub- message of first matched in original instant message corresponding to the first instant message with the first instant message phonetic is stated,
Wherein, the described first instant sub- message is at least a portion of the original instant message;
The described first instant sub- message in the original instant message is replaced with into first instant message.
12. the electronic equipment according to claim 9 or 10, it is characterised in that the repair module, including:
Unit is deleted, for when the first control character correspondence deletion action entrained by first instant message, from described
Content corresponding to first instant message is deleted in original instant message corresponding to first instant message.
13. the electronic equipment according to claim 9 or 10, it is characterised in that the repair module, including:
Additional unit, for when the additional operation of the first control character correspondence entrained by first instant message, determining institute
State in original instant message corresponding to the first instant message and to be matched with the second instant sub- message phonetic of first instant message
The 3rd instant sub- message, wherein, the described second instant sub- message be first instant message at least a portion, it is described
3rd instant sub- message is at least a portion in the original instant message;
Described in the original instant message the 3rd instant sub- message is replaced with into first instant message.
14. the electronic equipment according to claim 9 or 10, it is characterised in that the second instant message determining module, bag
Include:
First message determining unit, for the part that is repaired in the original instant message after reparation to be defined as into second i.e.
When message;
Accordingly, the second instant message display module, including:
In first display unit, interface where for second instant message to be shown in into the original instant message, wherein,
Second instant message and the original instant message are shown in the interface simultaneously;
Or,
Second display unit, for partial replacement to be repaired in the original instant message currently shown to be disappeared immediately for described second
Cease and highlight.
15. the electronic equipment according to claim 9 or 10, it is characterised in that the second instant message determining module, bag
Include:
Second message determining unit, for the original instant message after reparation to be defined as into the second instant message;
Accordingly,
The second instant message display module, including:
3rd display unit, for the original instant message currently shown to be changed into second instant message and protruded
Display;
Or,
In 4th display unit, interface where for second instant message to be shown in into the original instant message, wherein,
Second instant message and the original instant message are shown in the interface simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310012868.9A CN103927293B (en) | 2013-01-14 | 2013-01-14 | Instant message processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310012868.9A CN103927293B (en) | 2013-01-14 | 2013-01-14 | Instant message processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103927293A CN103927293A (en) | 2014-07-16 |
CN103927293B true CN103927293B (en) | 2017-07-25 |
Family
ID=51145516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310012868.9A Active CN103927293B (en) | 2013-01-14 | 2013-01-14 | Instant message processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103927293B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106708281B (en) * | 2015-11-17 | 2021-09-28 | 阿尔派株式会社 | Character input device and character input method |
CN111934978B (en) * | 2020-07-09 | 2023-05-09 | 上海盛付通电子支付服务有限公司 | Method and equipment for realizing service communication |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988511A (en) * | 2005-12-23 | 2007-06-27 | 腾讯科技(深圳)有限公司 | Method for withdrawing instant communication news and instant communication system |
CN101136871A (en) * | 2006-08-31 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Corrective method, instant communication terminal and system of transmitting error message |
CN101335719A (en) * | 2007-06-29 | 2008-12-31 | 联想(北京)有限公司 | Information adding modification method |
CN102487490A (en) * | 2011-11-18 | 2012-06-06 | 腾讯科技(深圳)有限公司 | Method and system for automatically deleting instant messaging information |
CN102664832A (en) * | 2012-05-21 | 2012-09-12 | 李艳平 | Method and device for commenting and additionally modifying message |
-
2013
- 2013-01-14 CN CN201310012868.9A patent/CN103927293B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988511A (en) * | 2005-12-23 | 2007-06-27 | 腾讯科技(深圳)有限公司 | Method for withdrawing instant communication news and instant communication system |
CN101136871A (en) * | 2006-08-31 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Corrective method, instant communication terminal and system of transmitting error message |
CN101335719A (en) * | 2007-06-29 | 2008-12-31 | 联想(北京)有限公司 | Information adding modification method |
CN102487490A (en) * | 2011-11-18 | 2012-06-06 | 腾讯科技(深圳)有限公司 | Method and system for automatically deleting instant messaging information |
CN102664832A (en) * | 2012-05-21 | 2012-09-12 | 李艳平 | Method and device for commenting and additionally modifying message |
Also Published As
Publication number | Publication date |
---|---|
CN103927293A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101942308B1 (en) | Method for providing message function and an electronic device thereof | |
CN104049849B (en) | A kind of information processing method and corresponding electronic equipment | |
US20210352059A1 (en) | Message Display Method, Apparatus, and Device | |
CN112003781B (en) | Chat message sending method and device and electronic equipment | |
CN107193476A (en) | Data inputting method and device, computer equipment and computer-readable recording medium | |
CN106445521A (en) | Method and terminal for displaying messages | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
CN112511412B (en) | Information sending method and device, electronic equipment and readable storage medium | |
CN105446591A (en) | Message reminding method and system and intelligent terminal | |
US20110111774A1 (en) | Electronic device and method of controlling the electronic device | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
CN113094143A (en) | Cross-application message sending method and device, electronic equipment and readable storage medium | |
CN103269304A (en) | Message handling method and device | |
CN103927293B (en) | Instant message processing method and electronic equipment | |
US20240089223A1 (en) | Information display method and apparatus, and electronic device | |
CN106886364A (en) | A kind of text handling method and terminal based on speech recognition | |
CN112422735B (en) | Information prompting method and device | |
CN111865763A (en) | Message display method and device, electronic equipment and storage medium | |
CA2524011C (en) | Extended user interface for email composition | |
CN103853473B (en) | Information transferring method, device and electronic equipment | |
CN112099715B (en) | Information processing method and device | |
CN104571895B (en) | Method and equipment for adjusting information in information application | |
CN104346515A (en) | Information processing method and electronic equipment | |
KR100686164B1 (en) | Mobile communication terminal and method for displaying sms therefor | |
US20060095506A1 (en) | Extended user interface for email composition |
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 |