CN107577396A - The rendering intent and device of information. dialog in a kind of session window - Google Patents

The rendering intent and device of information. dialog in a kind of session window Download PDF

Info

Publication number
CN107577396A
CN107577396A CN201710660352.3A CN201710660352A CN107577396A CN 107577396 A CN107577396 A CN 107577396A CN 201710660352 A CN201710660352 A CN 201710660352A CN 107577396 A CN107577396 A CN 107577396A
Authority
CN
China
Prior art keywords
information
dialog
style
session window
rendered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710660352.3A
Other languages
Chinese (zh)
Inventor
陈莲莲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Koubei Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710660352.3A priority Critical patent/CN107577396A/en
Publication of CN107577396A publication Critical patent/CN107577396A/en
Pending legal-status Critical Current

Links

Abstract

The rendering intent and device of information. dialog in a kind of session window of disclosure, for the bandwagon effect of abundant information dialog box, and simplify the operation of information-setting by user dialog box bandwagon effect.Methods described includes:Determine displaying information corresponding to information. dialog to be rendered in session window;Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected;The information. dialog of the style is rendered in the session window.

Description

The rendering intent and device of information. dialog in a kind of session window
Technical field
The application be related in field of computer technology, more particularly to a kind of session window the rendering intent of information. dialog and Device.
Background technology
Information interchange is carried out very very generally by terminal, such as short message, instant communication information information, and can Be shown in the form of by dialogue, it is common can be as shown in figure 1, in a session window 101, can to there is at least two Individual user is exchanged by information, and the information that each user sends can be shown in the form of information. dialog 102. In order to enrich bandwagon effect, prior art can be the difference that the information. dialog 102 in session window 101 is set according to user Style carries out rendering displaying, such as, user can be that information. dialog sets particular color, background style, or by message session Frame is arranged to specific shaped pattern, so that terminal carries out according to these styles rendering displaying to information. dialog.
However, prior art is when according to the setting spatial cue dialog box of user, can only after user is set manually, Effect corresponding to information. dialog hereafter is rendered into style according to the style of setting.As shown in Fig. 2 user can be by information Dialog box 103 is manually set to specific shaped pattern, but since setting successfully, later all information. dialogs are with this Kind shaped pattern carries out rendering displaying.So when prior art renders displaying information. dialog in session window, bandwagon effect It is still more single.Meanwhile prior art, if needing to change, can only also be needed again by the style of the manual configuration information dialog box of user Secondary to manually complete, for a user, operation is relatively complicated.It can be seen that for the rendering of information. dialog, it is also necessary to provide Bandwagon effect is more rich, operates more easily scheme.
The content of the invention
The embodiment of the present application provides a kind of rendering intent of information. dialog in session window, for abundant information dialog box Bandwagon effect, and simplify the operation of information-setting by user dialog box style.
The embodiment of the present application provides a kind of rendering device of information. dialog in session window, for abundant information dialog box Bandwagon effect, and simplify the operation of information-setting by user dialog box style.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
The embodiment of the present application uses following technical proposals:
The methods of exhibiting of information. dialog in a kind of session window, including:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected;
The information. dialog of the style is rendered in the session window.
Preferably, displaying information corresponding to information. dialog to be rendered in session window is determined, is specifically included:
The transmission instruction of user is received, the transmission instruction is parsed and obtains information. dialog pair to be rendered in session window The displaying information answered.
Preferably, displaying information corresponding to information. dialog to be rendered in session window is determined, is specifically included:
The input operation of user is identified, the input operation is parsed and obtains information. dialog pair to be rendered in session window The displaying information answered.
Preferably, displaying information corresponding to information. dialog to be rendered in session window is determined, is specifically included:
According to the information received, parsing obtains displaying information corresponding to information. dialog to be rendered in session window.
Preferably, the characteristic information of the displaying information, the message session according to corresponding to the characteristic information is selected are extracted Frame sample, is specifically included:
Extract the key character in the displaying information;
The information. dialog style according to corresponding to the key character is selected.
Preferably, when the displaying information is voice messaging, the keyword in the displaying information, specific bag are extracted Include:
Speech recognition is carried out to the voice messaging;
Extract the key character in voice identification result.
Preferably, the information. dialog style according to corresponding to the key character is selected, is specifically included:
Information. dialog style corresponding to being selected from default style set corresponding with the key character.
Preferably, the information. dialog style according to corresponding to the key character is selected, is specifically included:
According to the key character, and the style material to prestore, information. dialog style corresponding to generation.
Preferably, displaying information corresponding to information. dialog to be rendered in session window is determined, is specifically included:
Determine to show information in session window according to corresponding to the information. dialog that acquiescence style renders, then in the meeting The information. dialog of the style is rendered in words window, is specifically included:
The information. dialog bandwagon effect of the style rendered is added on the basis of the acquiescence style effect.
Preferably, the information. dialog of the style is rendered in the session window, is specifically included:
According to the message session frame template of the style, the message session of the style is rendered in the session window Frame.
The rendering device of information. dialog in a kind of session window, including:Determining unit, select unit and render list Member, wherein,
The determining unit, determine displaying information corresponding to information. dialog to be rendered in session window;
The selected unit, extract the characteristic information of the displaying information, the letter according to corresponding to the characteristic information is selected Cease dialog box style;
The rendering unit, the information. dialog of the style is rendered in the session window.
Preferably, the determining unit,
The transmission instruction of user is received, the transmission instruction is parsed and obtains information. dialog pair to be rendered in session window The displaying information answered.
Preferably, the determining unit,
The input operation of user is identified, the input operation is parsed and obtains information. dialog pair to be rendered in session window The displaying information answered.
Preferably, the determining unit,
According to the information received, parsing obtains displaying information corresponding to information. dialog to be rendered in session window.
Preferably, the selected unit,
Extract the key character in the displaying information;
The information. dialog style according to corresponding to the key character is selected.
Preferably, the selected unit,
Speech recognition is carried out to the voice messaging;Extract the key character in voice identification result.
Preferably, the selected unit,
Information. dialog style corresponding to being selected from default style set corresponding with the key character.
Preferably, the selected unit,
According to the key character, and the style material to prestore, information. dialog style corresponding to generation.
Preferably, the determining unit, the information. dialog for determining to be rendered according to acquiescence style in session window correspond to Displaying information, then the rendering unit,
The style rendered is added on the basis of the acquiescence style.
Preferably, the rendering unit,
According to the message session frame template of the style, the message session of the style is rendered in the session window Frame.
The methods of exhibiting of information. dialog in a kind of session window, including:
Determine the information to be presented in session window;
According to the information to be presented, it is determined that the bandwagon effect of corresponding information. dialog;
Information. dialog of the displaying with the bandwagon effect in the session window.
A kind of electronic equipment, including:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed Manage device and perform following operate:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected;
The information. dialog of the style is rendered in the session window.
A kind of computer-readable recording medium, the computer-readable recording medium storage one or more program are described One or more programs are when the electronic equipment for being included multiple application programs performs so that the electronic equipment performs following grasp Make:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected;
The information. dialog of the style is rendered in the session window.
The technical scheme provided from above the embodiment of the present application, according to the information pair in session window will be rendered The characteristic of displaying information corresponding to frame is talked about, information. dialog style corresponding with the characteristic for showing information is selected, in the conversation window The information. dialog of the style is rendered in mouthful.I.e. according to the feature of displaying information itself, information. dialog to be rendered is determined Style, then rendered with the style, so as to show information.The present embodiment can according to displaying information itself feature, compared with Neatly to select the information. dialog style for meeting displaying information characteristics, the bandwagon effect of information. dialog is enriched.Meanwhile Without the style of the manual configuration information dialog box of user, selected information dialog box style can be autonomous with the process for rendering displaying Complete, simplify the operation of user.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, do not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram that prior art is rendered in session window to information. dialog;
Fig. 2 is the schematic diagram that prior art is rendered in session window to information. dialog;
Fig. 3 is the flow signal of the rendering intent of information. dialog in a kind of session window that the embodiment of the present application 1 provides Figure;
Fig. 4 is the schematic diagram of the key character that the embodiment of the present application 1 provides and the corresponding relation of style;
Fig. 5 is the schematic diagram with acquiescence style spatial cue dialog box that the embodiment of the present application 1 provides;
Fig. 6 is showing for the style that addition is selected out on the basis of acquiescence style dialog box that the embodiment of the present application 1 provides It is intended to;
Fig. 7 is the rendering intent of information. dialog in a kind of instant telecommunication session window that the embodiment of the present application 2 provides Schematic flow sheet;
Fig. 8 is that the transmission instruction parsing for the reception user that the embodiment of the present application 2 provides obtains the displaying letter in session window The schematic diagram of breath;
Fig. 9 is the schematic diagram with acquiescence style spatial cue dialog box that the embodiment of the present application 2 provides;
Figure 10 is the style that addition is selected out on the basis of acquiescence style information. dialog that the embodiment of the present application 2 provides Schematic diagram;
Figure 11 is the schematic diagram of the message session frame template for the selected pattern that the embodiment of the present application 2 provides;
Figure 12 is that the message session frame template for the selected style of basis that the embodiment of the present application 2 provides renders in session window The schematic diagram of information. dialog;
Figure 13 is the structural representation of the rendering device of information. dialog in a kind of session window that the embodiment of the present application 3 provides Figure;
Figure 14 is the structural representation for a kind of electronic equipment that the embodiment of the present application provides.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Embodiment 1
Application program can refer to, to complete the computer program of a certain or multinomial particular job, can be handed over user Mutually, there is visual graphical interface of user.And session window can refer to that application program carries out information interchange at least two people And the graphical interface of user created, based on current internet, instant messaging can be passed through using internet between user Information interchange is carried out, information interchange can also be carried out by short message using the communication function of mobile phone.And application program can lead to Cross internet or communication function is received and sent messages, and the result received and sent messages by session window displaying, session window can be applied In instant messaging application, it can also be applied in short message, as shown in Figure 1 or 2, overall can is a session window 101, multiple information. dialogs can be included in window, the internet information that different user is sent can be included in information. dialog (word, voice etc.).
As it was previously stated, prior art is as shown in Fig. 2 user can be by the information. dialog in the session window 101 of application Specific shaped pattern is arranged to, but since setting successfully, later all information. dialogs carry out wash with watercolours with this style Dye displaying, such as, since information. dialog can be arranged to the style of " pencil " shape, setting successfully, Yi Housuo by user Some information. dialogs 103 carry out rendering displaying with the style of " pencil " shape.So prior art is rendering session window During middle information. dialog, bandwagon effect remains unchanged more single.Meanwhile at present can only be by the formula of the manual configuration information dialog box of user Sample, if needing to change, also need to manually complete again, for a user, operation is relatively complicated.For example user needs to believe manually Breath dialog box is arranged to " pencil " shaped pattern, if needing to change, then is manually set to other styles.Based on drawbacks described above, this Shen Please embodiment provide the rendering intent of information. dialog in session window a kind of, the displaying for abundant information dialog box is imitated Fruit, and simplify the operation of information-setting by user dialog box style.The flow of this method is as shown in figure 3, comprise the steps:
Step 11:Determine displaying information corresponding to information. dialog to be rendered in session window.
Session window can refer to the interface that user is exchanged by information.It will each be illustrated in session window Information can carry out rendering displaying in the form of information. dialog.
Information. dialog to be rendered can include two kinds of implications:
The first implication:Information. dialog to be rendered can refer to will be that the information being illustrated in session window renders The information. dialog gone out, or refer to and but will not also be illustrated in information. dialog corresponding to the information in session window.Show information The information that will be illustrated in session window can be referred to, so that user knows the expression of each side.The information in session window Before dialog box is shown, displaying information corresponding to information. dialog to be rendered in session window 101 can be first determined.Specifically Ground, the determination of the displaying information can have various ways under different scenes.
First way, displaying information corresponding to information. dialog to be rendered in session window is determined, can be included:Connect The transmission instruction of user is received, transmission instruction is parsed and obtains displaying letter corresponding to information. dialog to be rendered in session window Breath.
Under normal circumstances, user can first input the information to be sent, Ke Yishi in the input frame that session window provides It text information, can also be voice messaging, after user has inputted information, can be transmitted by sending instruction, for example, it is right For text information, " transmission button " after user has inputted text information, can be clicked on, and for voice messaging, It can be clicked on by user and unclamp " voice button ", judgement could trigger transmission instruction.These triggerings send the button of instruction Can be realized by control, control is the encapsulation to data and method, can include graphical interface of user control, the control It can be used for exploitation structure graphical interface of user, complete the Basic Elements of Graphic User Interface such as form, text box, button, pull-down menu Exploitation.For example can has " transmission " button control in session window, the control can respond the trigger event of user, After control receives trigger event, the operating system where application or application is passed the message to, is responded by it, so as to The information most sent at last is illustrated in session window.
The second way, displaying information corresponding to information. dialog to be rendered in session window is determined, can be included:Know The input operation of other user, parse the input operation and obtain displaying letter corresponding to information. dialog to be rendered in session window Breath.
When user is inputted in session window, operation vestige is checked by the equipment where applying, it is possible to know Do not go out the input operation of user, so as to parse the input operation, obtain the content for being likely to send, such as, believe for word For breath, when user inputs word in session window, it is possible to the input operation of user is identified by input method application, from And the word for obtaining and being likely to send is parsed, and for voice messaging, it can identify that phonetic entry operates, so as to pass through When microphone receives voice, parsing obtains displaying information.
The third mode, displaying information corresponding to information. dialog to be rendered in session window is determined, can be included:Root According to the information received, parsing obtains displaying information corresponding to information. dialog to be rendered in session window.
In actual applications, information. dialog may be set even by least two parties of information interchange, each party Put and differ, so the side as receive information, can parse to obtain in session window and treat wash with watercolours according to the information received Displaying information corresponding to the information. dialog of dye, such as, text information " I Love You " character is have received, not by the character Before being illustrated in the form of information. dialog in session window, the character can be identified, then can be by " I Love You " three Individual character is defined as displaying information corresponding to information. dialog to be rendered.
In actual applications, it is also possible to other modes be present, for example for short message, user is being not switched on short disappear During breath application, short message can be preserved in memory in a manner of message queue, when user opens short message application, according to Predetermined algorithm or mode transfers the short message preserved in memory, thus this step can also according to the information pre-saved, Parsing obtains the displaying information in session window.
For second of implication of information. dialog to be rendered:Information. dialog to be rendered can refer in meeting The information. dialog shown is rendered according to acquiescence style in words window.Specifically, for each application, talk with spatial cue There is the information. dialog of the application acquiescence during frame, can be basis when according to acquiescence style spatial cue dialog box The displaying information that user sends is rendered or rendered according to the displaying information received.
So in one embodiment, displaying information corresponding to information. dialog to be rendered in session window is determined, It can include:Determine to show information according to corresponding to the information. dialog that acquiescence style renders in session window.The displaying is believed Breath can includes the displaying information that foregoing user sends and/or the displaying information received.
Step 12:The characteristic information of the displaying information is extracted, the information. dialog style according to corresponding to characteristic information is selected.
The core concept of the present embodiment is after the feature of displaying information is extracted, and according to the feature of displaying information, is selected Which kind of style information. dialog corresponding to displaying is rendered with.For example displaying information is " I Love You ", then corresponding information. dialog Can includes " I Love You " these three characters, appropriately sized information. dialog.
In a previous step, it has been determined that displaying information, this step can extract the characteristic information of displaying information, and root According to the selected corresponding information. dialog style of characteristic information.Specifically, can be according to displaying information word in order to enrich bandwagon effect The number of symbol, corresponding information. dialog style is selected, for example multiple information. dialog styles can be preset, each style is corresponding Different character number scopes, when character number matches some scope, just obtain information. dialog corresponding with the scope Style, it is set to the style of information. dialog to be rendered corresponding to this displaying information.
In actual applications, specific character can be often carried in displaying information corresponding to information. dialog to be rendered, than Such as red-letter day, commemoration day, vindication, or may indicate that the word of the specific tone etc..So in one embodiment, in order to further Abundant bandwagon effect, the characteristic information of extraction displaying information, the information. dialog style according to corresponding to characteristic information is selected can be with Including:Key character in extraction displaying information;The information. dialog style according to corresponding to the key character is selected.Specifically, The corresponding relation of a key character and information. dialog style can be pre-established, as shown in figure 4, being key character and information The schematic diagram of the corresponding relation 104 of dialog box style.After key character is extracted, it is possible to determined according to corresponding relation 104 Information. dialog style, when specifically extracting key character, the character in displaying message can be identified first, then by it with presetting Key character storehouse matched or inquired about, so as to determine whether key character.Figure 4, it is seen that " I Love You " this Individual key character, multiple information. dialog styles can be corresponded to, this further enriches the purpose of bandwagon effect also for reaching, A kind of key character can preset a corresponding information. dialog style set, can when it is determined that during information. dialog style set Therefrom to choose the style of at least one information. dialog.
Manner as above, it is to pre-set corresponding relation, but also should not be too for the consideration to storage resource, corresponding relation More, this is allowed for during long-term use, several bandwagon effects of Reusability, can also be seemed relatively simple.So in order to more The bandwagon effect of further abundant information dialog box, the characteristic information of extraction displaying information, according to corresponding to characteristic information is selected Information. dialog style, it can include:According to key character, and the style material to prestore, information. dialog corresponding to generation Style.Specifically, style material can include the styles such as color, pattern, size, shape.Each key character can correspond to One material database, some key character is included in information when showing, it is possible in style material database corresponding to the key character, Get colors, at least one style such as pattern, size, shape, the information. dialog style corresponding with showing information of generation one. In actual applications, can also there was only a material database, i.e. one style material database of all key characters correspondences, it is each in storehouse Material can have at least one mark, and the mark can include key character, to represent that the key character can use the element Material, after key character is determined, the material that can be used can be filtered out according to the mark of material, corresponding to generating Information. dialog style.
In actual applications, it is possible to occur determining that at least two key characters correspond to different message session frames Sample, in actual applications, can be optionally first, can also choose.
Step 13:The information. dialog of selected style is rendered in the session window.
In previous step, the information. dialog style selected out can be only one style, for example can be one Vector artwork, or one kind render mode.Can is rendered the information. dialog of selected style in this step, so as to reach To the purpose for showing the displaying information and information. dialog.Specifically, can first load:According to the URL (Uniform of request Resource Locator, URL) domain name mapping is carried out, initiate to ask to server, receive HTML (Hyper Text Markup Language, HyperText Markup Language), JavaScript (JS, a kind of literal translation formula script), CSS The file such as (Cascading Style Sheets, CSS), image;Parse again:Grammer is carried out to the resource being loaded into Parsing, establish corresponding internal data structure (such as HTML dom tree, JS object properties table, CSS style rule etc. Deng);After render:Render tree is built, position calculating, pattern calculating etc. are carried out to each element, then according to render tree to page Face is rendered.
Have been previously mentioned, for each application, there is the information that the application is given tacit consent in spatial cue dialog box Dialog box, and in receiving step 11, it has been explained that determine to open up corresponding to information. dialog to be rendered in session window Show information, can be to determine in session window and show information according to corresponding to the information. dialog that acquiescence style renders.Such as Fig. 1 Shown, the can of information. dialog 102 in figure is the information. dialog dyed according to acquiescence style, and for some information pair Frame sample is talked about, the bandwagon effect as corresponding to " I Love You " key character in Fig. 4, can be added on the basis of dialog box is given tacit consent to " the peach heart " icon style.So in one embodiment, the information pair of selected style is rendered in the session window Frame is talked about, can be included:The selected style rendered is added on the basis of acquiescence style effect.Specifically, as shown in figure 5, First information. dialog 105 is rendered according to acquiescence style and shows " I Love You " character, then selected corresponding message session frame Sample, then as shown in fig. 6, " the peach heart " icon style 106 is added on the information. dialog 105 of the acquiescence style.In reality In, Fig. 5 and Fig. 6 transition can be very fast, make user's unaware to reach, and user is thought what is directly just shown Information. dialog with special patterns, more slowly user can also be made to see the information. dialog change by acquiescence style To the change procedure of the information. dialog according to the selected style of displaying information.
Because the acquiescence style of application is a dialog template, can be generated not according to character number or voice duration With the information. dialog of length, so in this step, for the first of the information. dialog to be rendered introduced in step 11 Implication, i.e., information. dialog corresponding to the information that will be shown but not be illustrated in also in session window.Can be true with previous step The information. dialog style made is foundation, the message session frame template of the style is generated, according to this dialog template Rendered, to show the information. dialog for including displaying information.For example one can be generated with showing that " I likes information You " the message session frame template of corresponding " the peach heart " style, it is corresponding according to the character number or voice duration of displaying information, generation The information. dialog of " the peach heart " style of length, and displaying is rendered in the information. dialog.
Mentioned in previous step, in actual applications, in fact it could happen that it is different to determine that at least two key characters correspond to Information. dialog style, and can be optionally first, can also choose, in this step, if this step is in acquiescence style The selected style rendered is added on the basis of information. dialog, then at least two selected styles can be added and given tacit consent to On the information. dialog of style on diverse location, can also be added according to specific sequencing rotation etc..
In actual applications, the functional switch option control of the present embodiment can be provided the user, user can enter manually Row is turned on and off the function, such as " personalized dialog box " switch option control.User is after unlatching, it is possible in conversation window It is shown in mouthful according to displaying information with different bandwagon effects, the function can be realized in various terminals.
In the present embodiment, displaying information can also represent information to be presented corresponding to information. dialog to be rendered, Specifically, the information to be presented can be that user will send, and user is being inputted by input operation, or is received Information, can be the information not being illustrated in also in session window;The characteristic information of extraction displaying information, is selected according to characteristic information Information. dialog style corresponding to fixed, it is possible to be according to information to be presented, it is determined that the bandwagon effect of corresponding information. dialog Process, specifically can include the determination mode introduced in step 12;Selected style is rendered in session window Information. dialog, it is possible to be that displaying has the step of information. dialog of the bandwagon effect determined in session window.
The method provided using embodiment 1, the displaying according to corresponding to the information. dialog that will be rendered in session window The characteristic of information, information. dialog style corresponding with the characteristic for showing information is selected, the formula is rendered in the session window The information. dialog of sample.I.e. according to the feature of displaying information itself, the style of information. dialog to be rendered is determined, then with the formula Sample is rendered, so as to show information.The present embodiment more can neatly be selected and meet according to the feature of displaying information itself The information. dialog style of information characteristics is shown, enriches the bandwagon effect of information. dialog.Meanwhile set manually without user The style of information. dialog, selected information dialog box style can be completed independently with the process for rendering displaying, simplify user Operation.
Embodiment 2
Based on invention thinking same as Example 1, as the extension of embodiment 1, the embodiment of the present application provides one kind The rendering intent of information. dialog in instant telecommunication session window, for the bandwagon effect of abundant information dialog box, and simplify and use The operation of family configuration information dialog box style.This method can apply to mobile terminal, and the flow of this method is as shown in fig. 7, bag Include following step:
Step 21:The transmission instruction of user is received, determines the message session rendered in session window according to acquiescence style Displaying information corresponding to frame.
As shown in figure 8, in session window 201, an input frame 202 and " transmission " button are provided the user 203, after user clicks on " transmission " button 203, as shown in figure 9, rendering information according to acquiescence style in session window 201 Dialog box 204, text information when clicking on " transmission " button 203 comprising user in the information. dialog 204 in input frame 202, After mobile terminal receives the transmission instruction of user, it may be determined that the information. dialog 204 of acquiescence style is right in session window 201 The displaying information answered is " Lantern Festival is happy " character.
Step 22:Key character in extraction displaying information.
Keyword extraction is carried out to " Lantern Festival is happy ", it may be determined that go out key character " section is happy ".
Step 23:The information. dialog style according to corresponding to key character is selected.
According to corresponding relation 104 as shown in Figure 4, it may be determined that it is with " smiling face " icon formula to go out information. dialog style Sample.
Step 24:The selected style rendered is added on the basis of acquiescence style.
As shown in Figure 10, " smiling face " icon style 205 is added in one end of the information. dialog of acquiescence style.
Step 25:According to the information received, parsing is obtained and opened up corresponding to information. dialog to be rendered in session window Show information.
In this step, the information received is " good night ", can parse acquisition " good night " character to be treated in session window 201 Displaying information corresponding to the information. dialog rendered.
Step 26:The characteristic information of extraction displaying information, selectes corresponding information. dialog style.
In this step, the key character in displaying information can also be extracted, obtains " good night " key character, hereafter can root According to the key character, and the style material to prestore, information. dialog style corresponding to generation.
Can be prestored a style material database for key character " good night ", wherein containing multiple color, a variety of icon formulas Sample." moon " icon style and grey style can be therefrom chosen, as information. dialog style.
Step 27:The information. dialog of the style is rendered in session window.
As shown in figure 11, " moon " icon style and grey style, the information. dialog of the style of generation according to Template 206, as shown in figure 12, according to " good night " character and the template, corresponding message session is rendered in session window 201 Frame 207.
The method provided using embodiment 2, it is corresponding according to information. dialog to be rendered in instant telecommunication session window Displaying information characteristic information, select corresponding to information. dialog style, the letter of the style is rendered in the session window Cease dialog box.I.e. according to the feature of displaying information itself, the style of information. dialog is determined, then is rendered with the style, from And show the displaying information.The present embodiment more can neatly be selected according to the feature of displaying information itself and meet displaying letter The information. dialog style of feature is ceased, enriches the bandwagon effect of information. dialog.
Embodiment 3
Based on identical inventive concept, embodiment 3 provides a kind of rendering device of information. dialog in session window, uses In the bandwagon effect of abundant information dialog box, and simplify the operation of information-setting by user dialog box style.As shown in figure 13, it is this The structure chart of device, including:Determining unit 31, selected unit 32 and rendering unit 33, wherein,
Determining unit 31, it may be determined that displaying information corresponding to information. dialog to be rendered in session window;
Selected unit 32, the characteristic information of displaying information can be extracted, the message session according to corresponding to characteristic information is selected Frame sample;
Rendering unit 33, the information. dialog of style can be rendered in session window.
In one embodiment, determining unit 31, can be with
The transmission instruction of user is received, parsing sends instruction and obtained corresponding to information. dialog to be rendered in session window Show information.
In one embodiment, determining unit 31, can be with
The input operation of user is identified, parsing input operation is obtained corresponding to information. dialog to be rendered in session window Show information.
In one embodiment, determining unit 31, can be with
According to the information received, parsing obtains displaying information corresponding to information. dialog to be rendered in session window.
In one embodiment, determining unit 31, can be with
Key character in extraction displaying information;
The information. dialog style according to corresponding to key character is selected.
In one embodiment, unit 32 is selected, can be with
Speech recognition is carried out to voice messaging;Extract the key character in voice identification result.
In one embodiment, unit 32 is selected, can be with
Information. dialog style corresponding to being selected from default style set corresponding with key character.
In one embodiment, unit 32 is selected, can be with
According to key character, and the style material to prestore, information. dialog style corresponding to generation.
In one embodiment, determining unit 31, it may be determined that the letter rendered in session window according to acquiescence style Cease displaying information corresponding to dialog box, then rendering unit 33 can be with
The style rendered is added on the basis of acquiescence style.
In one embodiment, rendering unit 33, can be with
According to the message session frame template of style, the information. dialog of style is rendered in session window.
The device provided using embodiment 3, the displaying according to corresponding to the information. dialog that will be rendered in session window The characteristic of information, information. dialog style corresponding with the characteristic for showing information is selected, the formula is rendered in the session window The information. dialog of sample.I.e. according to the feature of displaying information itself, the style of information. dialog to be rendered is determined, then with the formula Sample is rendered, so as to show information.The present embodiment more can neatly be selected and meet according to the feature of displaying information itself The information. dialog style of information characteristics is shown, enriches the bandwagon effect of information. dialog.Meanwhile set manually without user The style of information. dialog, selected information dialog box style can be completed independently with the process for rendering displaying, simplify user Operation.
Figure 14 is the structural representation of one embodiment electronic equipment of the application.In hardware view, the electronic equipment bag Processor is included, alternatively also includes internal bus, network interface, memory.Wherein, memory may include internal memory, such as high Fast random access memory (Random-Access Memory, RAM), it is also possible to also including nonvolatile memory (non- Volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other business institutes The hardware needed.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..For ease of representing, only represented in Figure 14 with a four-headed arrow, it is not intended that an only bus or a type of Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer The rendering device of information. dialog in session window is formed on face.Processor, the program that memory is deposited is performed, and specifically used Operated below performing:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected; The information. dialog of the style is rendered in the session window.
The rendering device of information. dialog performs in session window disclosed in the above-mentioned embodiment illustrated in fig. 13 such as the application Method can apply in processor, or be realized by processor.Processor is probably a kind of IC chip, has signal Disposal ability.In implementation process, each step of the above method can pass through the integrated logic circuit of the hardware in processor Or the instruction of software form is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it Hardware completes the step of above method.
The electronic equipment can also carry out the method that the rendering device of information. dialog in session window in Figure 13 performs, and in fact Show function of the rendering device in embodiment illustrated in fig. 13 of information. dialog in session window, the embodiment of the present application is no longer superfluous herein State.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs During row, the electronic equipment can be made to perform the rendering device execution of information. dialog in session window in embodiment illustrated in fig. 13 Method, and specifically for performing:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected; The information. dialog of the style is rendered in the session window.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity, Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Task is performed and connected remote processing devices by communication network.In a distributed computing environment, program module can be with In the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal Replace, improve etc., it should be included within the scope of claims hereof.

Claims (10)

1. the rendering intent of information. dialog in a kind of session window, including:
Determine displaying information corresponding to information. dialog to be rendered in session window;
Extract the characteristic information of the displaying information, the information. dialog style according to corresponding to the characteristic information is selected;
The information. dialog of the style is rendered in the session window.
2. the method as described in claim 1, determine displaying information corresponding to information. dialog to be rendered in session window, tool Body includes:
The transmission instruction of user is received, the transmission instruction is parsed and obtains corresponding to information. dialog to be rendered in session window Show information.
3. the method as described in claim 1, determine displaying information corresponding to information. dialog to be rendered in session window, tool Body includes:
According to the information received, parsing obtains displaying information corresponding to information. dialog to be rendered in session window.
4. the method as described in claim 1, the characteristic information of the displaying information is extracted, according to selected pair of the characteristic information The information. dialog style answered, is specifically included:
Extract the key character in the displaying information;
The information. dialog style according to corresponding to the key character is selected.
5. method as claimed in claim 4, the information. dialog style according to corresponding to the key character is selected, specific bag Include:
Information. dialog style corresponding to being selected from default style set corresponding with the key character.
6. method as claimed in claim 4, the information. dialog style according to corresponding to the key character is selected, specific bag Include:
According to the key character, and the style material to prestore, information. dialog style corresponding to generation.
7. the method as described in claim 1, determine displaying information corresponding to information. dialog to be rendered in session window, tool Body includes:
Determine to show information according to corresponding to the information. dialog that acquiescence style renders in session window;Then
The information. dialog of the style is rendered in the session window, is specifically included:
The style rendered is added on the basis of the acquiescence style.
8. the method as described in claim 1, the information. dialog of the style is rendered in the session window, specific bag Include:
According to the message session frame template of the style, the information. dialog of the style is rendered in the session window.
9. the rendering device of information. dialog in a kind of session window, including:Determining unit, selected unit and rendering unit, Wherein,
The determining unit, determine displaying information corresponding to information. dialog to be rendered in session window;
The selected unit, extract the characteristic information of the displaying information, the information pair according to corresponding to the characteristic information is selected Talk about frame sample;
The rendering unit, the information. dialog of the style is rendered in the session window.
10. the methods of exhibiting of information. dialog in a kind of session window, including:
Determine the information to be presented in session window;
According to the information to be presented, it is determined that the bandwagon effect of corresponding information. dialog;
Information. dialog of the displaying with the bandwagon effect in the session window.
CN201710660352.3A 2017-08-04 2017-08-04 The rendering intent and device of information. dialog in a kind of session window Pending CN107577396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710660352.3A CN107577396A (en) 2017-08-04 2017-08-04 The rendering intent and device of information. dialog in a kind of session window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710660352.3A CN107577396A (en) 2017-08-04 2017-08-04 The rendering intent and device of information. dialog in a kind of session window

Publications (1)

Publication Number Publication Date
CN107577396A true CN107577396A (en) 2018-01-12

Family

ID=61035810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710660352.3A Pending CN107577396A (en) 2017-08-04 2017-08-04 The rendering intent and device of information. dialog in a kind of session window

Country Status (1)

Country Link
CN (1) CN107577396A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803967A (en) * 2018-04-18 2018-11-13 李世伟 Chat window methods of exhibiting, device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991706A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Chat information exhibition method and device
CN105183492A (en) * 2015-10-30 2015-12-23 上海斐讯数据通信技术有限公司 Forming method and forming device of individualized dialog box
CN105607804A (en) * 2015-12-18 2016-05-25 深圳市金立通信设备有限公司 Information display method and terminal
US9626080B1 (en) * 2013-12-19 2017-04-18 EMC IP Holding Company LLC Style configuration mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9626080B1 (en) * 2013-12-19 2017-04-18 EMC IP Holding Company LLC Style configuration mode
CN104991706A (en) * 2015-07-17 2015-10-21 小米科技有限责任公司 Chat information exhibition method and device
CN105183492A (en) * 2015-10-30 2015-12-23 上海斐讯数据通信技术有限公司 Forming method and forming device of individualized dialog box
CN105607804A (en) * 2015-12-18 2016-05-25 深圳市金立通信设备有限公司 Information display method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108803967A (en) * 2018-04-18 2018-11-13 李世伟 Chat window methods of exhibiting, device and electronic equipment

Similar Documents

Publication Publication Date Title
EP3291224A1 (en) Method and apparatus for inputting information
CN107612814A (en) Method and apparatus for generating candidate's return information
CN111507099A (en) Text classification method and device, computer equipment and storage medium
CN110929094B (en) Video title processing method and device
US20230379280A1 (en) Information interaction method, apparatus, device, storage medium and program product
CN107729319A (en) Method and apparatus for output information
CN107491534A (en) Information processing method and device
CN106682028A (en) Method, device and system for obtaining web application
CN108877782A (en) Audio recognition method and device
CN107733722B (en) Method and apparatus for configuring voice service
CN111027291B (en) Method and device for adding mark symbols in text and method and device for training model, and electronic equipment
CN106503111B (en) Webpage code-transferring method, device and client terminal
CN107958078A (en) Information generating method and device
CN106601254A (en) Information inputting method, information inputting device and calculation equipment
CN113810729B (en) Live atmosphere special effect matching method, device, equipment and medium
WO2020221103A1 (en) Method for displaying user emotion, and device
CN106873800A (en) Information output method and device
CN111142667A (en) System and method for generating voice based on text mark
CN108255936A (en) A kind of edit methods of webpage, system and editing machine
WO2020216310A1 (en) Method used for generating application, terminal device, and computer readable medium
CN109905775A (en) A kind of scribble barrage generates and display methods, device, terminal device and storage medium
Williams Hands-On Chatbot Development with Alexa Skills and Amazon Lex: Create custom conversational and voice interfaces for your Amazon Echo devices and web platforms
CN106886245A (en) A kind of accurate countdown realization method and system
CN108228543A (en) A kind of court trial notes labeling system, method and storage medium
CN110970011A (en) Picture processing method, device and equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180112

RJ01 Rejection of invention patent application after publication