Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of display packing and device of instant messaging content, to improve the efficiency of acquisition of information in instant messaging process.Described technical scheme is as follows:
On the one hand, a kind of display packing of instant messaging content is provided, display page in communication group comprises that a plurality of icons show position, in pre-stored described communication group, the account identification of each account, account icon and icon show the corresponding relation of position, and it is upper that the account icon of described each account is separately positioned on to its corresponding icon demonstration position, described method comprises:
Receive instant communication information, in described instant communication information, carry the sign of instant messaging content, account identification and described communication group;
The corresponding relation that shows position according to account identification, account icon and the icon of each account in the described communication group of storage, determines that icon corresponding to account identification carrying in described instant communication information shows position;
According to the icon of determining, show position, described instant messaging content is shown.
Preferably, described communication group comprises a plurality of display pages, and each display page comprises that a plurality of icons show position;
The described icon that described basis is determined shows position, and described instant messaging content is shown, comprising:
If the icon of determining shows that position is in the display page of the current demonstration of described communication group, at a communication information corresponding to icon demonstration position of determining, show on position the first default duration of described instant messaging content demonstration;
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, each icon in described each display page shows that position comprises that at least one reserved icon shows position; In pre-stored described communication group, the icon of each account shows position, for described reserved icon shows the icon outside position, shows position;
If the icon determined described shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on communication information demonstration position corresponding to position described instant messaging content is shown to the 3rd default duration at the icon of choosing, comprising:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle reserved icon and show position, in the reserved icon of choosing shows position, account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to reserved icon demonstration position of choosing.
Preferably, also comprise: the account level information of each account in pre-stored described communication group;
If the icon determined described shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on communication information demonstration position corresponding to position described instant messaging content is shown to the 3rd default duration at the icon of choosing, comprising:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, and account level information corresponding to the account identification of carrying in described instant communication information meets pre-conditioned, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, after described reception instant communication information, also comprise:
Current show state to account icon corresponding to the account identification of carrying in described instant communication information carries out the processing of the first special display effect.
Preferably, also comprise: the account level information of each account in pre-stored described communication group;
Described method also comprises: pre-conditioned if account level information corresponding to the account identification of carrying in described instant communication information meets, the current show state of account icon corresponding to the account identification of carrying in described instant communication information is carried out to the processing of the second special display effect.
Preferably, described the first special display effect comprises animation special display effect, and described animation special display effect is comprised of a plurality of animate objects;
Current show state to account icon corresponding to the account identification of carrying in described instant communication information carries out the processing of described animation special display effect, comprising:
Set up the timer corresponding to processing procedure of described animation special display effect, when the animate object that has described animation special display effect to comprise starts, the animate object of described startup is added in the chained list that described timer is corresponding;
While often reaching default time cycle, the track method corresponding according to each animate object recording in described chained list, the account icon that the account identification of carrying in described instant communication information is corresponding is processed, and the animate object that the duration reaches corresponding animation duration is removed from described chained list;
When described chained list is sky, finish described timer.
On the other hand, provide a kind of display unit of instant messaging content, at the display page of communication group, comprised that a plurality of icons show position, described device comprises:
Module is set, for account identification, account icon and the icon of pre-stored described each account of communication group, shows the corresponding relation of position, and the account icon of described each account is separately positioned on its corresponding icon demonstration position;
Receiver module, for receiving instant communication information, carries the sign of instant messaging content, account identification and described communication group in described instant communication information;
Determination module, for showing the corresponding relation of position, determine that icon corresponding to account identification carrying in described instant communication information shows position according to the account identification of described each account of communication group of storage, account icon and icon;
Display module, for showing position according to the icon of determining, shows described instant messaging content.
Preferably, described communication group comprises a plurality of display pages, and each display page comprises that a plurality of icons show position;
Described display module, for:
If the icon of determining shows that position is in the display page of the current demonstration of described communication group, at a communication information corresponding to icon demonstration position of determining, show on position the first default duration of described instant messaging content demonstration;
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, each icon in described each display page shows that position comprises that at least one reserved icon shows position; The described icon that each account in the pre-stored described communication group of module is set shows position, for described reserved icon shows the icon outside position, shows position;
Described display module, for:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle reserved icon and show position, in the reserved icon of choosing shows position, account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to reserved icon demonstration position of choosing.
Preferably, the described module that arranges, also for the account level information of pre-stored described each account of communication group;
Described display module, for:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, and account level information corresponding to the account identification of carrying in described instant communication information meets pre-conditioned, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, shown in display module, also for:
Current show state to account icon corresponding to the account identification of carrying in described instant communication information carries out the processing of the first special display effect.
Preferably, the described module that arranges, also for the account level information of pre-stored described each account of communication group;
Shown in display module, also for: pre-conditioned if account level information corresponding to the account identification that described instant communication information carries meets, the current show state of account icon corresponding to the account identification of carrying in described instant communication information is carried out to the processing of the second special display effect.
Preferably, described the first special display effect comprises animation special display effect, and described animation special display effect is comprised of a plurality of animate objects;
Shown in display module, for:
Set up the timer corresponding to processing procedure of described animation special display effect, when the animate object that has described animation special display effect to comprise starts, the animate object of described startup is added in the chained list that described timer is corresponding;
While often reaching default time cycle, the track method corresponding according to each animate object recording in described chained list, the account icon that the account identification of carrying in described instant communication information is corresponding is processed, and the animate object that the duration reaches corresponding animation duration is removed from described chained list;
When described chained list is sky, finish described timer.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, the display page of communication group comprises that a plurality of icons show position, the account icon of each account is separately positioned on to its corresponding icon to be shown on position, when receiving instant communication information, according to the account identification of wherein carrying, determine that corresponding icon shows position, according to the icon of determining, show position again, described instant messaging content is shown, like this, can obtain fast according to account icon the instant messaging content of proper account, thereby, can improve the efficiency of acquisition of information in instant messaging process.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of display packing of instant messaging content.In the method, at the display page of communication group, comprise that a plurality of icons show position.In pre-stored this communication group, the account identification of each account, icon show the corresponding relation of position and account icon, and the account icon of described each account is separately positioned on its corresponding icon demonstration position.As shown in Figure 1, the handling process of the method can comprise the following steps:
Step 101, receives instant communication information, carries the sign of instant messaging content and correspondence, account identification and this communication group in this instant communication information.
Step 102, according to the corresponding relation of the account identification of each account in this communication group of storage, account icon and icon demonstration position, determines that icon corresponding to account identification carrying in this instant communication information shows position.
Step 103, shows position according to the icon of determining, and this instant messaging content is shown.
In the embodiment of the present invention, the display page of communication group comprises that a plurality of icons show position, the account icon of each account is separately positioned on to its corresponding icon to be shown on position, when receiving instant communication information, according to the account identification of wherein carrying, determine that corresponding icon shows position, according to the icon of determining, show position again, described instant messaging content is shown, like this, can show that position obtains the instant messaging content of proper account fast according to icon corresponding to account, thereby, can improve the efficiency of acquisition of information in instant messaging process.
Embodiment bis-
The embodiment of the present invention provides a kind of display packing of instant messaging content.The executive agent of the method can be terminal, as terminal, mobile phone terminal etc., the application program (or claiming instant communication software) that possesses instant communication function can be installed in this terminal.
In the method, in the display page of communication group, can comprise that a plurality of icons show position.Wherein, icon shows that position can be for showing the viewing area of account icon in display page.Display page can be that communication group can comprise one or more display pages, synchronization communication group can be set and only show a display page for showing the page of the information such as the account icon of communication group and instant messaging content.
In communication group, at least comprise an account, generally preferred, in communication group, can comprise a plurality of accounts.In thering is the application program of instant communication function, open the window of communication group, can in window, show the display page of communication group.Preferably, the communication group in the flow process of the embodiment of the present invention can be the communication group of window in open mode.The icon that predetermined number can be set in display page shows position, and can to icon demonstration position, carry out the design of shape, size in advance, and carry out layout, the arranging and can be carried out by server (can be server corresponding to this application program) of above-mentioned quantity, shape, size, layout etc., and the result of setting is sent to terminal, by terminal, stored.
For the communication group of account negligible amounts, can only include a display page, for a fairly large number of communication group of account, preferred, communication group can comprise a plurality of display pages, each display page comprises that a plurality of icons show position.The quantity of display page can be according to the quantity setting of account in communication group.Icon in different display pages shows that the quantity of position can be the same or different.Icon in the quantity of above-mentioned display page and each display page shows the quantity of position, can and send to terminal by Servers installed, by terminal, is stored.
If communication group comprises a plurality of display pages, in the window of communication group, can only show one of them display page, for example, user can select a display page to show in a plurality of display pages, again for example, can show the display page that position is affiliated by icon corresponding to the local account of logining of a display terminal.
In the method, terminal can pre-stored communication group in account identification, account icon and the icon of each account show the corresponding relation of position, and the account icon of each account be separately positioned on to its corresponding icon show on position.
Concrete, the account icon of each account and icon show that position can be arranged in this locality by this terminal, also can be by Servers installed.Preferably, when having account newly to join in communication group, server can record the account identification of the account, and the account icon of the account (can also can be arranged by user by Servers installed), and be to distribute icon to show position the account according to the rule pre-establishing, for example, can sequentially arrange, also can be assigned to zones of different according to account level information (can be described in detail in content) below.Server can show the storage that position is corresponding by the account identification of the account, account icon and icon.Like this, in server, can store the corresponding relation of account identification, account icon and the icon demonstration position of each account in this communication group.And then server can show the account identification of each account in this communication group, account icon and icon the corresponding relation of position sends to each terminal in this communication group, is stored by terminal.Terminal can be set up mapping table, and the account identification, account icon and the icon that wherein record each account in communication group show position.For the situation that has a plurality of communication groups, server can be stored the corresponding relation of account identification, account icon and the icon demonstration position of each account in each communication group, and terminal can be stored the corresponding relation that its account identification, account icon and icon that logs in each account in each affiliated communication group of account shows position.
Further, terminal can show according to the account identification of each account in corresponding communication group, account icon and icon the corresponding relation of position, and the icon that the account icon of account is arranged on to the account shows on position.In the display page of the current demonstration of communication group, corresponding icon shows on position can show corresponding account icon.
Wherein, account identification is unique corresponding with account, can set in advance, as account etc.Record can be carried out by sign in icon demonstration position, for example, can show that to all icons in each display page of communication group position is numbered to identify, also can identify by display page three parameters of (or claiming the page number), line identifier and row sign (supposing that icon shows that position distributes by determinant) and identify.Account icon can be for representing the picture of certain account, such as head portrait picture of relative users etc.
Below in conjunction with concrete executive mode, the handling process shown in Fig. 1 is described in detail, content can be as follows.
Step 101, terminal receives instant communication information, carries the sign of instant messaging content, account identification and this communication group in this instant communication information.Wherein, instant messaging content can be the Word message inputted of user, pictorial information, expression information etc.The sign of communication group can a unique corresponding communication group.
In the process of communication, the account in communication group, when delivering instant messaging content, can generate instant communication information according to the sign of the communication group at instant messaging content, the account identification of himself and place, then sends to server.Server receives after instant communication information, obtain wherein each information, according to the sign of communication group, search the account in this communication group, then, server can send to instant communication information other account (sending to the terminal of these accounts of login) in communication group.
Preferably, can also be by the account level information record corresponding with account identification of each account in communication group in server, and notify the terminal to all accounts place in this communication group by the account level information of each account in communication group, by terminal, the account level information of each account in this communication group is stored.Account level information can be for recording the rank of account or type etc., and for example, account can be divided into 1-15 level account, or account can be divided into premium account and regular account, or account can be divided into paying account and regular account.
Preferably, can in the display page of communication group, mark off a plurality of regions according to predefined account level, the corresponding class account in each region.For example, can in display page, mark off paying region and normal areas, the icon that paying region comprises shows the account icon that can only distribute to paying account, and the icon that normal areas comprises shows the account icon that can distribute to regular account.
Step 102, terminal shows the corresponding relation of position according to account identification, account icon and the icon of each account in this communication group of storage, determine that icon corresponding to account identification carrying in this instant communication information shows position.
Terminal, after receiving instant communication information, can be obtained the information such as sign of the instant messaging content of wherein carrying, account identification, communication group.Then, terminal can be in the corresponding communication group of its storage be searched in the account identification, mapping table that icon shows position and account icon of each account, obtains the icon of account in this communication group of delivering this instant communication information and shows position.
Step 103, terminal shows position according to the icon of determining, and this instant messaging content is shown.
Concrete, can set in advance each icon in display page and show that communication information corresponding to position shows position, communication information shows that position can be for showing the viewing area of instant messaging content in display page.When carrying out this step, can show on communication information demonstration position corresponding to position and show this instant messaging content at this icon.Preferably, communication information shows that position can be arranged on the position being close with corresponding icon demonstration position.Concrete, communication information show position can icon show position above, below, left or right-hand, or also can show at icon the inside of the viewing area that position is corresponding.And communication information shows that position can show that with corresponding icon position is overlapping or partly overlap, instant messaging content may be displayed on the upper strata of account icon.
When instant messaging content is shown, can show in position and show Background Picture or background animation at communication information, as dialog box, chat bubble etc., and on the upper strata of background picture or background animation, show corresponding instant messaging content, as Word message, expression information etc.Background picture, background animation and instant messaging content can finish to show after demonstration duration reaches default duration (as 3 seconds).Preferably, can set in advance the figure place showing (as 10 characters) that communication information shows position, when showing instant messaging content, if the character quantity of instant messaging content surpasses this figure place showing, adopt the mode of roll display.
In the embodiment of the present invention, comprise the situation of a plurality of display pages for communication group recited above, in the window of communication group, can only show one of them display page, other display page is in show state not.In the case, performing step at 103 o'clock, can for this icon, show that the situation in a display page of the current demonstration that is in or be not in this communication group adopts different processing modes respectively, specifically can be as follows:
Mode one, if the icon that step 102 is determined shows that position is in the display page of the current demonstration of this communication group, shows that at the icon of determining communication information corresponding to position shows default the first duration on position, instant messaging content being shown.
In this situation, account icon corresponding to account of delivering this instant messaging content is just being presented in the display page of the current demonstration of communication group, can show at the icon of the account on communication information demonstration position corresponding to position and show this instant messaging content.
Mode two, if the icon that step 102 is determined shows that position is not in the display page of the current demonstration of communication group, in the display page of current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in instant communication information shown to the second default duration, and show that at the icon of choosing communication information corresponding to position shows default the 3rd duration on position, instant messaging content being shown.
Wherein, the first duration, the second duration and the 3rd duration can be the same or different.Idle icon shows that position can be that the icon that account icon is not set shows position.
In this situation, deliver account icon corresponding to the account of this instant messaging content not in the display page of the current demonstration of communication group, the processing mode adopting can be that the account icon of the account is presented in the display page of this current demonstration temporarily, and shows on communication information demonstration position corresponding to position and show this instant messaging content at the icon of choosing temporarily.
Preferably, each icon in each display page shows in position can comprise that at least one reserved icon shows position, and in pre-stored communication group, the icon of each account shows position, and reserved icon shows that the icon outside position shows position for this reason.Server can be in advance be chosen reserved icon and show position in the icon of each display page shows position, and number and position that reserved icon in each display page shows position can also be set before choosing.Preferably, can choose in the left and right sides of display page reserved icon and show position, number can show that the sum of position arranges according to icon in display page, for example, the reserved icon in each 10 of left and right can be set and show position.
Based on this, the processing procedure of aforesaid way two can be: if the icon of determining shows that position is not in the display page of the current demonstration of communication group, in the display page of this current demonstration, choose idle reserved icon and show position, in the reserved icon of choosing shows position, account icon corresponding to the account identification of carrying in instant communication information shown to the second default duration, and show on position the 3rd default duration of instant messaging content demonstration at communication information corresponding to reserved icon demonstration position of choosing.Also, when choosing idle icon demonstration position, be, to show in position and choose at reserved icon.
Preferably, for above-mentioned reserved icon, show that position is positioned at the situation of the left and right sides of display page, when choosing idle reserved icon and show position, can show that the occupied less side in position choose idle reserved icon and show that position carries out follow-up Graphics Processing at reserved icon.If the occupancy that the reserved icon in the left and right sides shows position is identical, can chooses idle reserved icon on the side setting in advance (as left side or right side) and show position.
Or, preferably, for above-mentioned reserved icon, show that position is positioned at the situation of the left and right sides of display page, if the icon of determining shows that display page under position is in the left side of the display page of the current demonstration of this communication group (a plurality of display pages of communication group can left and right transversely arranged), in can showing position at the reserved icon in left side, choose idle reserved icon demonstration position and carry out follow-up Graphics Processing, if the icon of determining shows that position is on the right side of the display page of the current demonstration of this communication group, in can showing position at the reserved icon on right side, choose idle reserved icon demonstration position and carry out follow-up Graphics Processing.If when choosing idle reserved icon in left side and showing position, left side has not had idle reserved icon to show position, can change into right side and choose idle reserved icon and show position; If while choosing idle reserved icon demonstration position on right side, right side has not had idle reserved icon to show position, chooses idle reserved icon and show position on the left of can changing into.
Preferably, if the reserved icon in the display page of the current demonstration of communication group shows that position is all occupied, can wait for and occur that idle reserved icon carries out subsequent treatment again while showing position.If there are a plurality of processing, all waiting for that idle reserved icon shows position, can arrange these a plurality of processing in chronological order.
Situation for the account level information of each account in the pre-stored communication group of terminal, the processing procedure of mode two can be: if the icon of determining shows that position is not in the display page of the current demonstration of this communication group, and account level information corresponding to the account identification of carrying in instant communication information meets pre-conditioned, in the display page of this current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in instant communication information shown to the second default duration, and show on communication information demonstration position corresponding to position instant messaging content is shown to the 3rd default duration at the icon of choosing.Also, can only for account level information, meet the processing that pre-conditioned account is carried out mode two.Account level information corresponding to account identification is the account circle information of account corresponding to account identification.
In addition, if the icon of determining shows that position is not in the display page of the current demonstration of this communication group, and account level information corresponding to the account identification of carrying in instant communication information do not meet above-mentioned pre-conditionedly, can instant messaging content do not shown.
Wherein, pre-conditioned can be to mate with certain desired value, and for example, pre-conditioned can be that account level information is greater than certain rank, and again for example, pre-conditioned can be that account level information is paying account.
In the embodiment of the present invention, after step 101, can also carry out following processing: the current show state to account icon corresponding to the account identification of carrying in instant communication information carries out the processing of the first special display effect (as amplification, shake, photoflash lamp).Preferably, this processing can be carried out in show the process that position shows this instant messaging content according to the icon of determining.
Wherein, the first special display effect can comprise animation special display effect, preferably, as shown in Figure 2, this animation special display effect can be that image (account icon) increases, in increase process, can keep icon lowest point constant, this animation special display effect is risen by image and two animate objects of image increase form.Animate object is the basic variation track unit that forms Complex Animation, the variation pattern for Description Image in a dimension.Preferably, the first special display effect can also comprise the duration threshold value (as 3 seconds) of this increase effect, and after the duration that increases effect reaches this duration threshold value, image (account icon) restores to the original state.
In addition, can arrange as follows: when account icon is during in enlarging state, if cursor of mouse being detected is positioned on account icon, in the increase effect duration, reach after above-mentioned duration threshold value, still keep the enlarging state of account icon constant, and the corresponding instant messaging content showing also keeps show state, until cursor of mouse leaves account icon.
And, if receive the instruction that mouse is clicked account icon, show default menu option.Wherein can comprise transmission information, check data, shield the options such as speech.
Preferably, situation for the account level information of each account in the pre-stored communication group of terminal, if it is above-mentioned pre-conditioned that account level information corresponding to the account identification of carrying in instant communication information meets, can also carry out following processing: the current show state to account icon corresponding to the account identification of carrying in instant communication information carries out the processing of the second special display effect.Wherein, the second special display effect is preferably halation (ring of light) special efficacy.For example, can, when paying account is delivered instant messaging content, to its head portrait, increase halation special efficacy.
Preferably, the situation of the animation special display effect comprising for the first above-mentioned special display effect (this animation special display effect can be comprised of a plurality of animate objects), current show state to account icon corresponding to the account identification of carrying in instant communication information carries out the processing of this animation special display effect, can be as follows:
Set up the timer corresponding to processing procedure of this animation special display effect, when the animate object that has this animation special display effect to comprise starts, (a plurality of animate objects can start also simultaneously and can during difference, start), adds the animate object of this startup in the chained list that timer is corresponding to; While often reaching default time cycle (as 0.1 second), the track method corresponding according to each animate object recording in chained list, the account icon that the account identification of carrying in instant communication information is corresponding is processed, and the animate object that the duration reaches corresponding animation duration is removed from chained list; When chained list is sky, stop timing device.
Preferably, can when starting, set up the animate object starting at first this timer.
Wherein, the corresponding timer of chained list is set up, for the animate object of record process.Animate object can comprise the parameters such as track method and animation duration, and track method is used to indicate the mode of image change, as area increases, rises 1 centimetre etc. on 2 times, position, and animation duration is change procedure duration.For example, the track method of certain animate object is that area increases 2 times, and animation duration is 1 second, and the cycle of corresponding timer is 0.1 second, and in a timer cycle of so every arrival, image area increases 20%.When chained list is empty, represent that all animate objects are disposed, this animation special display effect is disposed.
By above-mentioned method, only need set up a timer, just can carry out parallel processing to a plurality of animate objects, without respectively each animate object being set up to timer, thereby, can effectively save system resource.
In the embodiment of the present invention, the display page of communication group comprises that a plurality of icons show position, the account icon of each account is separately positioned on to its corresponding icon to be shown on position, when receiving instant communication information, according to the account identification of wherein carrying, determine that corresponding icon shows position, according to the icon of determining, show position again, described instant messaging content is shown, like this, can show that position obtains the instant messaging content of proper account fast according to icon corresponding to account, thereby, can improve the efficiency of acquisition of information in instant messaging process.
Embodiment tri-
Technical conceive based on identical, the embodiment of the present invention also provides a kind of display unit of instant messaging content.Display page in communication group comprises that a plurality of icons show position.As shown in Figure 3, described device comprises:
Module 310 is set, for account identification, account icon and the icon of pre-stored described each account of communication group, shows the corresponding relation of position, and the account icon of described each account is separately positioned on its corresponding icon demonstration position;
Receiver module 320, for receiving instant communication information, carries the sign of instant messaging content, account identification and described communication group in described instant communication information;
Determination module 330, for showing the corresponding relation of position, determine that icon corresponding to account identification carrying in described instant communication information shows position according to the account identification of described each account of communication group of storage, account icon and icon;
Display module 340, for showing position according to the icon of determining, shows described instant messaging content.
Preferably, described communication group comprises a plurality of display pages, and each display page comprises that a plurality of icons show position;
Described display module 340, for:
If the icon of determining shows that position is in the display page of the current demonstration of described communication group, at a communication information corresponding to icon demonstration position of determining, show on position the first default duration of described instant messaging content demonstration;
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, each icon in described each display page shows that position comprises that at least one reserved icon shows position; The described icon that each account in the pre-stored described communication group of module is set shows position, for described reserved icon shows the icon outside position, shows position;
Described display module 340, for:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, in the display page of described current demonstration, choose idle reserved icon and show position, in the reserved icon of choosing shows position, account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to reserved icon demonstration position of choosing.
Preferably, the described module that arranges, also for the account level information of pre-stored described each account of communication group;
Described display module 340, for:
If the icon of determining shows that position is not in the display page of the current demonstration of described communication group, and account level information corresponding to the account identification of carrying in described instant communication information meets pre-conditioned, in the display page of described current demonstration, choose idle icon and show position, at the icon of choosing, show in position account icon corresponding to the account identification of carrying in described instant communication information shown to the second default duration, and show on position the 3rd default duration of described instant messaging content demonstration at communication information corresponding to icon demonstration position of choosing.
Preferably, shown in display module 340, also for:
Current show state to account icon corresponding to the account identification of carrying in described instant communication information carries out the processing of the first special display effect.
Preferably, the described module that arranges, also for the account level information of pre-stored described each account of communication group;
Shown in display module 340, also for: pre-conditioned if account level information corresponding to the account identification that described instant communication information carries meets, the current show state of account icon corresponding to the account identification of carrying in described instant communication information is carried out to the processing of the second special display effect.
Preferably, described the first special display effect comprises animation special display effect, and described animation special display effect is comprised of a plurality of animate objects;
Shown in display module 340, for:
Set up the timer corresponding to processing procedure of described animation special display effect, when the animate object that has described animation special display effect to comprise starts, the animate object of described startup is added in the chained list that described timer is corresponding;
While often reaching default time cycle, the track method corresponding according to each animate object recording in described chained list, the account icon that the account identification of carrying in described instant communication information is corresponding is processed, and the animate object that the duration reaches corresponding animation duration is removed from described chained list;
When described chained list is sky, finish described timer.
In the embodiment of the present invention, the display page of communication group comprises that a plurality of icons show position, the account icon of each account is separately positioned on to its corresponding icon to be shown on position, when receiving instant communication information, according to the account identification of wherein carrying, determine that corresponding icon shows position, according to the icon of determining, show position again, described instant messaging content is shown, like this, can show that position obtains the instant messaging content of proper account fast according to icon corresponding to account, thereby, can improve the efficiency of acquisition of information in instant messaging process.
It should be noted that: the display unit of the instant messaging content that above-described embodiment provides is when carrying out the demonstration of instant messaging content, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, the display unit of the instant messaging content that above-described embodiment provides and the display packing embodiment of instant messaging content belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.