CN106161181A - A kind of message treatment method, device and terminal - Google Patents
A kind of message treatment method, device and terminal Download PDFInfo
- Publication number
- CN106161181A CN106161181A CN201510142452.8A CN201510142452A CN106161181A CN 106161181 A CN106161181 A CN 106161181A CN 201510142452 A CN201510142452 A CN 201510142452A CN 106161181 A CN106161181 A CN 106161181A
- Authority
- CN
- China
- Prior art keywords
- terminal
- session
- content
- interactive
- session content
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of message treatment method, device and terminal, and method therein mays include: that interactive session connection is set up at first terminal and the dialogue-based interface of the second terminal, and receives the original session content that described second terminal sends;Described first terminal generates interactive animation according to described original session content, and plays described interactive animation in the screen of described first terminal;When receiving the target session content matching with described original session content in described session interface, described first terminal stops playing the interactive animation in described screen.The present invention is capable of the conversational mode of rich communication application, the range of expanding communication application, promotes the practicality of communications applications.
Description
Technical field
The present invention relates to Internet technical field, be specifically related to communication application, particularly relate to one
Message treatment method, device and terminal.
Background technology
With the development of Internet technology, increasing user uses various types of communication to apply, utilizes internet
Realize information interchange.Wherein, communications applications may include but be not limited to: instant messaging application, SNS (Social
Networking Services, social network services) application etc..Can be based on communications applications between terminal
Session interface realizes communication session, for example: user A uses the instant messaging application in terminal A, user B
Using the instant messaging application in terminal B, between terminal A and terminal B, configurable session interface foundation are logical
Letter session connection, user A and user B can carry out such as text chat, audio frequency and video based on this session interface and chat
It etc. communication session.At present, the conversational mode of communications applications is essentially chatted mode, i.e. communications applications office
It is limited to the communication session realizing chat character, which has limited the use of communications applications, reduce communications applications
Practicality.
Content of the invention
The embodiment of the present invention provides a kind of message treatment method, device and terminal, is capable of rich communication application
Conversational mode, the range of expanding communication application, promote the practicality of communications applications.
Embodiment of the present invention first aspect provides a kind of message treatment method, it may include:
Interactive session connection is set up at first terminal and the dialogue-based interface of the second terminal, and receives described second eventually
The original session content that end sends;
Described first terminal generates interactive animation according to described original session content, and at described first terminal
Screen is play described interactive animation;
When receiving the target session content matching with described original session content in described session interface,
Described first terminal stops playing the interactive animation in described screen.
Embodiment of the present invention second aspect provides another kind of message treatment method, it may include:
Interactive session connection is set up at second terminal and the dialogue-based interface of first terminal;
Described second terminal obtains in the original session transporting to described first terminal to be passed from described session interface
Hold;
Described second terminal sends described original session content to described first terminal, so that described first end
End plays interactive animation according to described original session content on the screen of described first terminal, and works as described the
When one terminal receives the target session content matching with described original session content in described session interface,
Stop playing the interactive animation in described screen.
The embodiment of the present invention third aspect provides a kind of message processing apparatus, it may include:
Connection establishment unit, for setting up interactive meeting based on the session interface between first terminal and the second terminal
Words connect;
Receiving unit, for receiving the original session content that described second terminal sends;
Animation producing unit, for generating interactive animation according to described original session content;
Broadcast unit, for playing described interactive animation in the screen of described first terminal;
Interactive unit, for matching with described original session content when receiving in described session interface
During target session content, stop playing the interactive animation in the screen of described first terminal.
Embodiment of the present invention fourth aspect provides another kind of message processing apparatus, it may include:
Connection establishment unit, for setting up interactive meeting based on the session interface between the second terminal and first terminal
Words connect;
Contents acquiring unit, to be passed transports to the original of described first terminal for obtaining from described session interface
Session content;
Interactive unit, is used for sending described original session content to described first terminal, so that described first
Terminal plays interactive animation according to described original session content on the screen of described first terminal, and works as described
First terminal receives the target session content matching with described original session content in described session interface
When, stop playing the interactive animation in described screen.
The embodiment of the present invention the 5th aspect provides a kind of terminal, it may include the above-mentioned third aspect or fourth aspect carry
The message processing apparatus of confession.
Implement the embodiment of the present invention, have the advantages that
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the accompanying drawing of required use is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of a kind of message treatment method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the another kind of message treatment method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of another message treatment method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of message processing apparatus that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the Service Processing Unit shown in Fig. 4;
The structural representation of the another kind of message processing apparatus that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 is the structural representation of the embodiment of the connection establishment unit shown in Fig. 6.
Detailed description of the invention
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 clearly
It Chu, is fully described by, it is clear that described embodiment is only a part of embodiment of the present invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
Property work under the premise of the every other embodiment that obtained, broadly fall into the scope of protection of the invention.
In the embodiment of the present invention, terminal can be notebook computer, mobile phone, PAD (panel computer), vehicle-mounted
The equipment such as terminal, intelligence wearable device.Terminal can be run the communications applications of at least one type, bag
Include but be not limited to: instant messaging application, SNS application etc..Can be based on the session of communications applications between terminal
Interface realizes communication session, and wherein, the communication session between terminal includes but is not limited to: instant communication session,
SNS communication session etc., for example: user A uses the instant messaging application in terminal A, and user B uses
Instant messaging application in terminal B, can configure session interface and sets up communication meeting between terminal A and terminal B
Words connect, and user A and user B can carry out text chat, audio frequency and video chat etc. based on this session interface
Deng communication session.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, uses animation mode to realize interactive session, thus enriches the conversational mode of communications applications,
Extend the range of communications applications, improve the practicality of communications applications.The message of the embodiment of the present invention
Processing scheme can apply in multiple scenes of internet, for example: can be applicable in internet teaching scene,
Academics and students realizes interactive session by terminal, and entertaining animation mode guiding student can be used to learn, thus
Promote quality of instruction;For another example: can be applicable to internet and help each other in study scene, two students are real by terminal
Existing interactive session, can make to carry out helping each other between student learning and communication, promotes study initiative and interest;Deng
Deng.Unless otherwise indicated, the described first terminal of the embodiment of the present invention refers to the message sink end of interactive session,
Described second terminal refers to the message sending end of interactive session.
Based on foregoing description, below in conjunction with accompanying drawing 1-accompanying drawing 3, the Message Processing that the embodiment of the present invention is provided
Method describes in detail.
Refer to Fig. 1, for the flow chart of a kind of message treatment method that the embodiment of the present invention provides;The present embodiment
Illustrate the idiographic flow of message treatment method from first terminal (i.e. the message sink end of communication session) side;Should
Method can comprise the following steps S101-step S105.
Interactive session connection is set up at S101, first terminal and the dialogue-based interface of the second terminal.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.In this step, the
After interactive session connection is set up at one terminal and the dialogue-based interface of the second terminal, first terminal and the second terminal
Interactive session can be carried out.
S102, described first terminal receives the original session content that described second terminal sends.
Described original session content can be content of text, for example: English word, Chinese words or wait back
The problem answered;Described original session content also can be audio content, for example: the English word recorded
Pronunciation, the pronunciation etc. of Chinese words.In implementing, described second terminal is as the message of interactive session
Transmitting terminal, can receive the second the to be passed of end side user input in described session interface and transport to first terminal
Original session content, and based on the interactive session connection between first terminal, by described original session
Hold and send to described first terminal.In this step, described first terminal can be based on described second terminal between
Interactive session connection receive described second terminal send original session content.
S103, described first terminal generates interactive animation according to described original session content.
If described original session content is audio content, this audio content can be first converted to by described first terminal
Content of text, then the content of text after conversion is made as interactive animation;If described original session content is literary composition
This content, content of text directly can be made as interactive animation by described first terminal.In implementing, described
Content of text can be made as interactive animation according to cartoon making rule by first terminal, this cartoon making rule
May include but be not limited to: Flash makes rule or gif makes rule etc.;For example: if original session content
" fermenting " for Chinese word, this Chinese word is made rule according to Flash and is made as Flash by described first terminal
Animation, this animation form of expression is floating thing, and this floating thing shows " fermentation " character, etc..
S104, described first terminal plays described interactive animation in the screen of described first terminal.
In implementing, described first terminal plays described interactive animation in screen, so that first terminal side
User can according to interactive animation obtain original session content;According to example shown in step S103, this step
In Zhou, the result of broadcast of described interactive animation can be: shows the floating thing of " fermentation " character from first
The screen of terminal starts above and descends slowly and lightly;Or, show the floating thing of " fermentation " character from first terminal
Screen surrounding bursts out and floats towards screen center, etc..
S105, when receiving the target session matching with described original session content in described session interface
During content, described first terminal stops playing the interactive animation in described screen.
The user of first terminal side can obtain original meeting according to the interactive animation play in the screen of first terminal
Words content, therefore, the user of this first terminal side can input and described original meeting in described session interface
The target session content that words content matches, the described interaction making first terminal stop playing in described screen is moved
Draw, it is achieved thereby that the interactive session between first terminal and the second terminal.According to step S103-S104 institute
Example child, if the user of first terminal side inputs " fermentation " Chinese character as target meeting in session interface
Words content, first terminal described in this step can confirm that target session content and described original session content phase
Joining, the floating thing in screen then can be purged by described first terminal.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Refer to Fig. 2, for the flow chart of the another kind of message treatment method that the embodiment of the present invention provides;This enforcement
Example illustrates the idiographic flow of message treatment method from the second terminal (i.e. the message sending end of communication session) side;
The method can comprise the following steps S201-step S203.
S201, interactive session connection is set up at the second terminal and the dialogue-based interface of first terminal.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.In this step, the
After interactive session connection is set up at two terminals and the dialogue-based interface of first terminal, the second terminal and first terminal
Interactive session can be carried out.
S202, described second terminal obtains from described session interface to be passed transports to the original of described first terminal
Session content.
Described original session content can be content of text, for example: English word, Chinese words or wait back
The problem answered;Described original session content also can be audio content, for example: the English word recorded
Pronunciation, the pronunciation etc. of Chinese words.In implementing, described second terminal is as the message of interactive session
Transmitting terminal, can receive the second the to be passed of end side user input in described session interface and transport to first terminal
Original session content.
S203, described second terminal sends described original session content to described first terminal, so that described
First terminal plays interactive animation according to described original session content on the screen of described first terminal, and works as
Described first terminal receives the target session matching with described original session content in described session interface
During content, stop playing the interactive animation in described screen.
In this step, described second terminal can be based on the interactive session connection between first terminal, by described
Original session content sends to described first terminal.Described first terminal is first according to described original session content
Generate interactive animation, and in screen, play described interactive animation, so that the user of first terminal side can root
Obtaining original session content according to interactive animation, the user of this first terminal side can input in described session interface
The target session content matching with described original session content, makes first terminal stop playing in described screen
Described interactive animation, it is achieved thereby that the interactive session between first terminal and the second terminal.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Refer to Fig. 3, for the flow chart of another message treatment method that the embodiment of the present invention provides;This enforcement
Example from first terminal (i.e. the message sink end of communication session), (i.e. send out with the second terminal by the message of communication session
Sending end) interaction side illustrate message treatment method idiographic flow;The method can comprise the following steps S301-
Step S30.
S301, when the second terminal detects interactive trigger action in the session interface with first terminal, institute
State the second terminal and generate interactive conversation informing.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.In order to be different from biography
The communication session of the employing chat mode of system, the embodiment of the present invention can be in the meeting of first terminal and the second terminal
There is provided interactive session entrance in words interface, this interaction session entrance can be shortcut key or options menu, when
When the user of the second end side clicks on this shortcut key or selects this options menu, described second terminal can detect
To interactive trigger action, and generate interactive conversation informing, described interactive conversation informing may be used to indicate need into
The interactive session of row.
S302, described second terminal sends described interactive conversation informing to described first terminal.Described second
Terminal can be connected based on the communication session between described first terminal, sends extremely described interactive conversation informing
Described first terminal.
S303, when receiving the confirmation message that described first terminal is fed back according to described interactive conversation informing,
Described second terminal sets up interactive session connection with described first terminal based on described session interface.Wherein, institute
State confirmation message for confirming to carry out interactive session.First terminal and the dialogue-based interface of the second terminal are set up mutually
After dynamic session connection, first terminal and the second terminal can carry out interactive session.
S304, described second terminal obtains from described session interface to be passed transports to the original of described first terminal
Session content.
Described original session content can be content of text, for example: English word, Chinese words or wait back
The problem answered;Described original session content also can be audio content, for example: the English word recorded
Pronunciation, the pronunciation etc. of Chinese words.In implementing, described second terminal is as the message of interactive session
Transmitting terminal, can receive the second the to be passed of end side user input in described session interface and transport to first terminal
Original session content.
S305, described second terminal sends described original session content to described first terminal.In this step,
Described original session content can be sent out by described second terminal based on the interactive session connection between first terminal
Deliver to described first terminal.
S306, described first terminal receives the original session content that described second terminal sends.In this step,
Described first terminal can receive described second terminal send based on the interactive session connection between the second terminal
Original session content.
S307, the type of original session content described in described first terminal identification, described original session content
Type includes: content of text or audio content;If the type of described original session content is content of text, turn
Enter step S309;If the type of described original session content is audio content, proceed to step S308;
S308, described audio content is converted to content of text by described first terminal.In this step, described
One terminal may utilize audio frequency identification technique, is identified described audio content, it is thus achieved that content of text.
S309, described first terminal generates interactive animation according to content of text.
In implementing, content of text can be made as interaction according to cartoon making rule by described first terminal
Animation, this cartoon making rule may include but be not limited to: Flash makes rule or gif makes rule etc.;
For example: if original session content for Chinese word " ferment ", described first terminal by this Chinese word according to Flash
Making rule and being made as Flash animation, this animation form of expression is floating thing, this floating thing shows and " sends out
Ferment " character, etc..
S310, described first terminal plays described interactive animation in the screen of described first terminal.
In implementing, described first terminal plays described interactive animation in screen, so that first terminal side
User can according to interactive animation obtain original session content;According to example shown in step S309, this step
In Zhou, the result of broadcast of described interactive animation can be: shows the floating thing of " fermentation " character from first
The screen of terminal starts above and descends slowly and lightly;Or, show the floating thing of " fermentation " character from first terminal
Screen surrounding bursts out and floats towards screen center, etc..
S311, when receiving in the target session transporting to described second terminal to be passed in described session interface
Rong Shi, described first terminal judges whether described target session content matches with described original session content;
If the determination result is YES, step S312 is proceeded to;Otherwise, terminate.
In implementing, described first terminal judge described target session content whether with in described original session
Hold in the step that matches, specifically include following steps a-c:
First terminal described in a, described first terminal obtains the type of the interactive session between described second terminal,
The type of described interactive session includes: science or question and answer type.
Wherein, if the type of described interactive session is science, then target session content and original session are required
Content matches;For example: according to example shown in step S309, original session content is " fermentation " Chinese word
Language, if the type of described interactive session is science, it is desirable to target session content also " is fermented " for Chinese word.
If the type of described interactive session is question and answer types, then require target session content corresponding with original session content
Answer matches, for example: assume that original session content is " please answer the Chinese lexical or textual analysis of English word " New " ",
If the type of described interactive session is question and answer types, this corresponding answer of original session content is " new for Chinese word
", it is desirable to target session content matches with Chinese word " new ".
If the type of the described interactive session of b is science, described first terminal calculates described target session content
And the first similarity between described original session content, if described first similarity is more than predetermined threshold value, institute
State first terminal and confirm that described target session content matches with described original session content.
If the type of the described interactive session of c is question and answer types, described first terminal obtains described original session content
Corresponding answer, second between the described first terminal described target session content of calculating and described answer is similar
Degree, if described second similarity is more than predetermined threshold value, described first terminal confirm described target session content with
Described original session content matches.
In step b-c, described first terminal can use similarity algorithm to calculate similarity.Wherein, described pre-
If threshold value can be configured according to actual needs, such as: described predetermined threshold value can be set as the 100%th, 90%
Etc..
S312, described first terminal stops playing the interactive animation in described screen.
The user of first terminal side can obtain original meeting according to the interactive animation play in the screen of first terminal
Words content, therefore, the user of this first terminal side can be according to the original session content input target meeting known
Words content, if described first terminal judges that described target session content matches with described original session content,
Then perform this step to stop playing the described interactive animation in described screen, it is achieved thereby that first terminal and the
Interactive session between two terminals.According to example shown in step S309-S310, if the user of first terminal side
Input " fermentation " Chinese character as target session content in session interface, it is assumed that described interactive session
Type is science, and described first terminal can confirm that target session content matches with described original session content,
Floating thing in screen can be purged by first terminal described in this step.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Below in conjunction with accompanying drawing 4-accompanying drawing 5, the structure to a kind of message processing apparatus that the embodiment of the present invention provides
Describe in detail with function.Message processing apparatus shown in accompanying drawing 4-accompanying drawing 5 can be in first terminal
Communications applications, it can run in first terminal, to be applied to the method shown in above-mentioned accompanying drawing 1-accompanying drawing 3
In.
Refer to Fig. 4, for the structural representation of a kind of message processing apparatus that the embodiment of the present invention provides;This dress
Put and may include: connection establishment unit the 101st, receiving unit the 102nd, animation producing unit the 103rd, broadcast unit 104
With interactive unit 105.
Connection establishment unit 101, for setting up interaction based on the session interface between first terminal and the second terminal
Session connection.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.First terminal and
After two terminal dialogue-based interface foundation interaction session connections, first terminal and the second terminal can carry out interaction
Session.
Receiving unit 102, for receiving the original session content that described second terminal sends.
Described original session content can be content of text, for example: English word, Chinese words or wait back
The problem answered;Described original session content also can be audio content, for example: the English word recorded
Pronunciation, the pronunciation etc. of Chinese words.In implementing, described second terminal is as the message of interactive session
Transmitting terminal, can receive the second the to be passed of end side user input in described session interface and transport to first terminal
Original session content, and based on the interactive session connection between first terminal, by described original session
Hold and send to described first terminal.Described receiving unit 102 can be based on the interaction between described second terminal
Session connection receives the original session content that described second terminal sends.
Animation producing unit 103, for generating interactive animation according to described original session content.
If described original session content is audio content, described animation producing unit 103 can be first by this audio frequency
Hold and be converted to content of text, then the content of text after conversion is made as interactive animation;If described original session
Content is content of text, and content of text directly can be made as interactive animation by described animation producing unit 103.
In implementing, content of text can be made as by described animation producing unit 103 according to cartoon making rule
Interactive animation, this cartoon making rule may include but be not limited to: Flash makes rule or gif makes rule etc.
Deng;For example: if original session content " is fermented " for Chinese word, described animation producing unit 103 is by this
Cliction language makes rule according to Flash and is made as Flash animation, and this animation form of expression is floating thing, this drift
" fermentation " character is shown in float, etc..
Broadcast unit 104, for playing described interactive animation in the screen of described first terminal.
In implementing, described broadcast unit 104 plays described interactive animation in screen, so that first is whole
The user of side can obtain original session content according to interactive animation;According to example shown in the present embodiment, institute
The result of broadcast stating interactive animation can be: shows the floating thing of " fermentation " character from the screen of first terminal
Curtain starts above and descends slowly and lightly;Or, show the screen surrounding of the floating thing of " fermentation " character from first terminal
Burst out and float towards screen center, etc..
Interactive unit 105, matches with described original session content for working as to receive in described session interface
Target session content when, stop playing the interactive animation in the screen of described first terminal.
The user of first terminal side can obtain original meeting according to the interactive animation play in the screen of first terminal
Words content, therefore, the user of this first terminal side can input and described original meeting in described session interface
The target session content that words content matches, makes described interactive unit 105 stop playing the institute in described screen
State interactive animation, it is achieved thereby that the interactive session between first terminal and the second terminal.According to the present embodiment
Shown example, if the user of first terminal side inputs " fermentation " Chinese character as target in session interface
Session content, described interactive unit 105 can confirm that target session content matches with described original session content,
Floating thing in screen then can be purged by described interactive unit 105.
Referring to Fig. 4 again, this device may also include that recognition unit the 106th, content conversion unit 107 and coupling
Judging unit 108.
Recognition unit 106, for identifying the type of described original session content, the class of described original session content
Type includes: content of text or audio content;If the type of described original session content is content of text, by institute
State animation producing unit and generate interactive animation according to described original session content.
Content conversion unit 107, if the type for described original session content is audio content, by described sound
Frequently Content Transformation is content of text, is generated according to described original session content by described animation producing unit afterwards
Interactive animation.
Described content conversion unit 107 may utilize audio frequency identification technique, is identified described audio content,
Obtain content of text.
Matching judgment unit 108, for be passed transporting to described second terminal when receiving in described session interface
Target session content when, it is judged that whether described target session content matches with described original session content.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Refer to Fig. 5, the structural representation of the embodiment of the Service Processing Unit shown in Fig. 4;At this business
Reason unit 108 mays include: type acquiring unit the 1001st, the first coupling confirmation unit 1002 and the 3rd coupling really
Recognize unit 1003.
Type acquiring unit 1001, for obtaining the type of the interactive session between described second terminal, institute
The type stating interactive session includes: science or question and answer type.
Wherein, if the type of described interactive session is science, then target session content and original session are required
Content matches;For example: assume original session content for " fermentation " Chinese word, if described interaction session
Type be science, it is desirable to target session content also for Chinese word " ferment ".If described interactive session
Type is question and answer types, then corresponding answer matches, for example with original session content to require target session content:
Assume that original session content is " please answer the Chinese lexical or textual analysis of English word " New " ", if described interactive session
Type be question and answer types, this corresponding answer of original session content for Chinese word " new ", it is desirable to target meeting
Words content and Chinese word " new " match.
First coupling confirmation unit 1002, if the type for described interactive session is science, calculates described
The first similarity between target session content and described original session content, if described first similarity is more than
Predetermined threshold value, confirms that described target session content matches with described original session content.
Second coupling confirmation unit 1003, if the type for described interactive session is question and answer types, obtains described
The corresponding answer of original session content, and calculate the second phase between described target session content and described answer
Like degree, if described second similarity is more than predetermined threshold value, confirm described target session content and described original meeting
Words content matches.
Described first coupling confirmation unit 1002 can use similar with described second coupling confirmation unit 1003
Degree algorithm calculates similarity.Wherein, described predetermined threshold value can be configured according to actual needs, for example:
Described predetermined threshold value can be set as the 100%th, 90% etc..
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
The embodiment of the present invention additionally provides a kind of terminal, and this terminal can be described first terminal, this first end
End can include a kind of business processing device, and the 26S Proteasome Structure and Function of this device can be found in shown in accompanying drawing 4-accompanying drawing 5 real
Execute the associated description of example, be not repeated herein.It should be noted that the first terminal of the present embodiment can be applied
In the method shown in accompanying drawing 1-accompanying drawing 3.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Below in conjunction with accompanying drawing 6-accompanying drawing 7, the knot to the another kind of message processing apparatus that the embodiment of the present invention provides
Structure and function describe in detail.Message processing apparatus shown in accompanying drawing 6-accompanying drawing 7 can be in the second terminal
Communications applications, it can run in the second terminal, to be applied to the side shown in above-mentioned accompanying drawing 1-accompanying drawing 3
In method.
Refer to Fig. 6, for the structural representation of the another kind of message processing apparatus that the embodiment of the present invention provides;Should
Device mays include: connection establishment unit the 201st, contents acquiring unit 202 and interactive unit 203.
Connection establishment unit 201, for setting up interaction based on the session interface between the second terminal and first terminal
Session connection.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.Second terminal and the
After one terminal dialogue-based interface foundation interaction session connection, the second terminal and first terminal can carry out interaction
Session.
Contents acquiring unit 202, to be passed transports to the former of described first terminal for obtaining from described session interface
Beginning session content.
Described original session content can be content of text, for example: English word, Chinese words or wait back
The problem answered;Described original session content also can be audio content, for example: the English word recorded
Pronunciation, the pronunciation etc. of Chinese words.In implementing, described second terminal is as the message of interactive session
Transmitting terminal, it is defeated that described contents acquiring unit 202 can receive the second end side user in described session interface
The original session content transporting to first terminal to be passed entering.
Interactive unit 203, for sending described original session content to described first terminal, so that described the
One terminal plays interactive animation according to described original session content on the screen of described first terminal, and works as institute
State first terminal to receive in described session interface in the target session matching with described original session content
Rong Shi, stops playing the interactive animation in described screen.
Described interactive unit 203 can be based on the interactive session connection between first terminal, by described original meeting
Words content sends to described first terminal.First described first terminal generates mutually according to described original session content
Dynamic animation, and in screen, play described interactive animation, so that the user of first terminal side can be according to interaction
Animation obtain original session content, the user of this first terminal side can input in described session interface with described
The target session content that original session content matches, make that first terminal stops playing in described screen is described
Interactive animation, it is achieved thereby that the interactive session between first terminal and the second terminal.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
Refer to Fig. 7, the structural representation of the embodiment of the connection establishment unit shown in Fig. 6;This connection is built
Vertical unit 201 mays include: that the 2001st, notice signal generating unit notifies transmitting element 2002 and set up unit 2003.
Notice signal generating unit 2001, detects mutually in the session interface with first terminal for second terminal for working as
During dynamic trigger action, generate interactive conversation informing.
Wherein, interactive session is based on traditional session interface, and is different from traditional employing chat mode
Communication session, and use animation mode boot sessions both sides to carry out the session of content matching.In order to be different from biography
The communication session of the employing chat mode of system, the embodiment of the present invention can be in the meeting of first terminal and the second terminal
There is provided interactive session entrance in words interface, this interaction session entrance can be shortcut key or options menu, when
When the user of the second end side clicks on this shortcut key or selects this options menu, described notice signal generating unit
2001 can detect that interactive trigger action, and generate interactive conversation informing, and described interactive conversation informing can be used for
Instruction needs carry out interactive session.
Notice transmitting element 2002, for sending described interactive conversation informing to described first terminal.
Described notice transmitting element 2002 can be connected based on the communication session between described first terminal, by institute
State interactive conversation informing to send to described first terminal.
Set up unit 2003, fed back according to described interactive conversation informing for described first terminal ought be received
Confirmation message when, set up interactive meeting based on the session interface between described second terminal and described first terminal
Words connect.
Wherein, described confirmation message carries out interactive session for confirmation.First terminal and the second terminal are based on meeting
After interactive session connection is set up at words interface, first terminal and the second terminal can carry out interactive session.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
The embodiment of the present invention additionally provides a kind of terminal, and this terminal can be described second terminal, this second end
End can include a kind of business processing device, and the 26S Proteasome Structure and Function of this device can be found in shown in accompanying drawing 6-accompanying drawing 7 real
Execute the associated description of example, be not repeated herein.It should be noted that second terminal of the present embodiment can be applied
In the method shown in accompanying drawing 1-accompanying drawing 3.
In the embodiment of the present invention, first terminal and the second terminal can be set up mutually based on the session interface of communication session
Dynamic session connection, is sent original session content by the second terminal, and first terminal generates according to original session content
Interactive animation is simultaneously play, in receiving the target session matching with described original session content in screen
Rong Shi, described first terminal stops playing the interactive animation in described screen, by first terminal and second
Use animation mode to realize interactive session between terminal, thus enrich the conversational mode of communications applications, extension
The range of communications applications, improves the practicality of communications applications.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct related hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can for magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (13)
1. a message treatment method, it is characterised in that include:
Interactive session connection is set up at first terminal and the dialogue-based interface of the second terminal, and receives described second eventually
The original session content that end sends;
Described first terminal generates interactive animation according to described original session content, and at described first terminal
Screen is play described interactive animation;
When receiving the target session content matching with described original session content in described session interface,
Described first terminal stops playing the interactive animation in described screen.
2. the method for claim 1, it is characterised in that described first terminal is according to described original meeting
Before words content generates interactive animation, also include:
The type of original session content described in described first terminal identification, the type bag of described original session content
Include: content of text or audio content;
If the type of described original session content is content of text, described first terminal performs according to described original
Session content generates the step of interactive animation;
If the type of described original session content is audio content, described audio content is turned by described first terminal
After being changed to content of text, perform to generate the step of interactive animation according to described original session content.
3. method as claimed in claim 1 or 2, it is characterised in that described first terminal is described first
After playing described interactive animation on the screen of terminal, also include:
When receiving the target session content transporting to described second terminal to be passed in described session interface, institute
State first terminal and judge whether described target session content matches with described original session content.
4. method as claimed in claim 3, it is characterised in that, described first terminal judges described target
Whether session content matches with described original session content, comprising:
Described first terminal obtains the type of the interactive session between described second terminal, described interactive session
Type include: science or question and answer type;
If the type of described interactive session is science, described first terminal calculate described target session content with
The first similarity between described original session content, if described first similarity is more than predetermined threshold value, described
First terminal confirms that described target session content matches with described original session content;
If the type of described interactive session is question and answer types, described first terminal obtains described original session content pair
The answer answered, described first terminal calculates the second similarity between described target session content and described answer,
If described second similarity is more than predetermined threshold value, described first terminal confirm described target session content with described
Original session content matches.
5. a message treatment method, it is characterised in that include:
Interactive session connection is set up at second terminal and the dialogue-based interface of first terminal;
Described second terminal obtains in the original session transporting to described first terminal to be passed from described session interface
Hold;
Described second terminal sends described original session content to described first terminal, so that described first end
End plays interactive animation according to described original session content on the screen of described first terminal, and works as described the
When one terminal receives the target session content matching with described original session content in described session interface,
Stop playing the interactive animation in described screen.
6. method as claimed in claim 5, it is characterised in that described second terminal and first terminal based on
Interactive session connection is set up at session interface, comprising:
When the second terminal detects interactive trigger action in the session interface with first terminal, described second
Terminal generates interactive conversation informing;
Described second terminal sends described interactive conversation informing to described first terminal;
When receiving the confirmation message that described first terminal is fed back according to described interactive conversation informing, described
Second terminal sets up interactive session connection with described first terminal based on described session interface.
7. a message processing apparatus, it is characterised in that include:
Connection establishment unit, for setting up interactive meeting based on the session interface between first terminal and the second terminal
Words connect;
Receiving unit, for receiving the original session content that described second terminal sends;
Animation producing unit, for generating interactive animation according to described original session content;
Broadcast unit, for playing described interactive animation in the screen of described first terminal;
Interactive unit, for matching with described original session content when receiving in described session interface
During target session content, stop playing the interactive animation in the screen of described first terminal.
8. device as claimed in claim 7, it is characterised in that also include:
Recognition unit, for identifying the type of described original session content, the type of described original session content
Including: content of text or audio content;If the type of described original session content is content of text, by described
Animation producing unit generates interactive animation according to described original session content;
Content conversion unit, if the type for described original session content is audio content, by described audio frequency
Content Transformation is content of text, is generated mutually according to described original session content by described animation producing unit afterwards
Dynamic animation.
9. device as claimed in claim 7 or 8, it is characterised in that also include:
Matching judgment unit, for be passed transporting to described second terminal when receiving in described session interface
During target session content, it is judged that whether described target session content matches with described original session content.
10. device as claimed in claim 9, it is characterised in that described matching judgment unit includes:
Type acquiring unit, for obtaining the type of interactive session between described second terminal, described mutually
The type of dynamic session includes: science or question and answer type;
First coupling confirmation unit, if the type for described interactive session is science, calculates described target
The first similarity between session content and described original session content, presets if described first similarity is more than
Threshold value, confirms that described target session content matches with described original session content;
Second coupling confirmation unit, if the type for described interactive session is question and answer types, obtains described original
The corresponding answer of session content, and calculate the second similarity between described target session content and described answer,
If described second similarity is more than predetermined threshold value, confirm described target session content and described original session content
Match.
11. 1 kinds of message processing apparatus, it is characterised in that include:
Connection establishment unit, for setting up interactive meeting based on the session interface between the second terminal and first terminal
Words connect;
Contents acquiring unit, to be passed transports to the original of described first terminal for obtaining from described session interface
Session content;
Interactive unit, is used for sending described original session content to described first terminal, so that described first
Terminal plays interactive animation according to described original session content on the screen of described first terminal, and works as described
First terminal receives the target session content matching with described original session content in described session interface
When, stop playing the interactive animation in described screen.
12. devices as claimed in claim 11, it is characterised in that described connection establishment unit includes:
Notice signal generating unit, detects interactive touching for working as in the session interface with first terminal for second terminal
When sending out operation, generate interactive conversation informing;
Notice transmitting element, for sending described interactive conversation informing to described first terminal;
Set up unit, fed back really according to described interactive conversation informing for described first terminal ought be received
When recognizing message, set up interactive session even based on the session interface between described second terminal and described first terminal
Connect.
13. 1 kinds of terminals, it is characterised in that include the Message Processing as described in any one of claim 7-10
Device, or, including the message processing apparatus as described in claim 11 or 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510142452.8A CN106161181B (en) | 2015-03-27 | 2015-03-27 | Message processing method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510142452.8A CN106161181B (en) | 2015-03-27 | 2015-03-27 | Message processing method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106161181A true CN106161181A (en) | 2016-11-23 |
CN106161181B CN106161181B (en) | 2020-04-03 |
Family
ID=57339799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510142452.8A Active CN106161181B (en) | 2015-03-27 | 2015-03-27 | Message processing method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161181B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101366015A (en) * | 2005-10-13 | 2009-02-11 | K·K·K·侯 | Computer-aided method and system for guided teaching and learning |
CN101662545A (en) * | 2009-08-27 | 2010-03-03 | 董晨勇 | Method and system for realizing multimedia interaction during telephone call |
CN102067079A (en) * | 2008-06-24 | 2011-05-18 | 微软公司 | Rendering teaching animations on a user-interface display |
CN103281347A (en) * | 2013-03-29 | 2013-09-04 | 吴晗 | Network interaction system |
CN103713806A (en) * | 2013-12-31 | 2014-04-09 | 江西迈思科技有限公司 | Character displaying method and device |
-
2015
- 2015-03-27 CN CN201510142452.8A patent/CN106161181B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101366015A (en) * | 2005-10-13 | 2009-02-11 | K·K·K·侯 | Computer-aided method and system for guided teaching and learning |
CN102067079A (en) * | 2008-06-24 | 2011-05-18 | 微软公司 | Rendering teaching animations on a user-interface display |
CN101662545A (en) * | 2009-08-27 | 2010-03-03 | 董晨勇 | Method and system for realizing multimedia interaction during telephone call |
CN103281347A (en) * | 2013-03-29 | 2013-09-04 | 吴晗 | Network interaction system |
CN103713806A (en) * | 2013-12-31 | 2014-04-09 | 江西迈思科技有限公司 | Character displaying method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106161181B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107316520B (en) | Video teaching interaction method, device, equipment and storage medium | |
CN102904936B (en) | Method, server, device, system and apparatus for establishing session | |
CN108920128B (en) | Operation method and system of presentation | |
US20140179281A1 (en) | Mobile terminal having auto answering function and auto answering method for use in the mobile terminal | |
US9531841B2 (en) | Communications method, client, and terminal | |
CN104144108B (en) | A kind of message responding method, apparatus and system | |
CN103973877A (en) | Method and device for using characters to realize real-time communication in mobile terminal | |
CN105827516A (en) | Message processing method and device | |
CN104917724A (en) | Identity verification method and apparatus | |
CN104811423A (en) | Position information sharing method and position information sharing device | |
CN103607457A (en) | Note processing method, apparatus, terminal, server and system | |
CN105323243A (en) | Method and device for secure voice communication based on instant messaging | |
CN114071425A (en) | Electronic equipment and cooperation method and cooperation system thereof | |
CN104252287A (en) | Interaction device and method for improving expression capability based on interaction device | |
CN111522524B (en) | Presentation control method and device based on conference robot, storage medium and terminal | |
CN1937002A (en) | Intelligent man-machine conversation system and implementation method thereof | |
CN108092873B (en) | Instant messaging method and system | |
CN104882039A (en) | Teaching interaction method based on mobile terminals and server | |
CN109547632B (en) | Auxiliary call response method, user terminal device and server | |
CN113938697A (en) | Virtual speech method and device in live broadcast room and computer equipment | |
CN110445625B (en) | Large-screen broadcast control method and system | |
CN105488370A (en) | Children mode unlock method and device | |
CN106326476B (en) | Information processing method and device | |
US20150249693A1 (en) | Method and system for enabling communication between at least two communication devices using an animated character in real-time. | |
CN105450970A (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |