Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention can show a plurality of contact persons' chat region in the interface of instant communication software simultaneously, so that user directly communicates at an interface and a plurality of contact person simultaneously, the repetition handover operation of having avoided user, has improved user's operating efficiency.
Fig. 1 shows the realization flow of the interface display method of the instant communication software that the embodiment of the present invention provides, and details are as follows:
In step S101, obtain N contact person of instant communication software, wherein, N is greater than 1 integer.
User can set up long-range connection by local client port and service end, by the database of service end, obtain contact person's information, contact person's information is except comprising contact person's sign (communicating number), can also include but not limited to contact person's name, signature or head portrait, after getting associated person information, can be by contact person's information and user and this contact person's unified being stored in local file of all history message records.
In the present embodiment, N contact person can be the instant communication software user's of system default whole contact persons or part contact person, also can, for this user of user preset whole contact persons or part contact person on instant communication software, at this, be not used in restriction the present invention.
In step S102, on interface, generate N chat region, each corresponding contact person in chat region, wherein, chat region comprises that message sends frame and/or history message display box.
The present embodiment generates N chat region in an interface of instant communication software, each chat region is corresponding with a contact person, and the display format in each chat region includes but not limited to only show that a message sends frame, only shows a history message display box or show that a message sends the combination of frame and a history message display box.Wherein, message sends frame table and shows the editor of the information of carrying out and the dialog box of transmission, and history message display box is for showing the dialog box of history message.
For example, take Fig. 2 as example, each chat region only comprises that a message sends frame or only comprises a history message display box, than each chat region, comprise message simultaneously and sent frame and history message display box, chat region shown in Fig. 2 can be saved the useful space at interface more, makes an interface show more contact persons' chat region simultaneously.
Preferably, on interface, the size in each chat region, can change according to the difference of screen resolution, concrete size is determined by the resolution of screen, for example, when screen resolution is 320 pixel X480 pixel, chat region can be set and be of a size of 220 pixel x45 pixels.
The embodiment of the present invention can show a plurality of contact persons' chat region in the interface of instant communication software simultaneously, make user without switching between Affiliates List and different contact persons' chat window, just can directly communicate with a plurality of contact persons simultaneously, thereby the repetition handover operation of having avoided user, has improved user's operating efficiency.
As one embodiment of the present of invention, when chat region comprises history message display box, can, when user need to send message to contact person, history message display box be converted to message and send frame.Fig. 3 shows when chat region comprises history message display box, and history message display box is converted to the realization flow that message sends frame, and details are as follows:
In step S301, detect the conversion instruction of user to chat region.
In the present embodiment, the generation of conversion command can realize by the mode triggering, include but not limited to trigger or trigger by clicking corresponding chat region or specific region by corresponding function button, can also trigger by the combination of actual physical button, gravity sensing or multi-point touch and actual physical button, in this no limit.
Preferably, as Fig. 4, when triggering by corresponding function button, function button can be integrated in chat region, when user clicks this function button, triggers the residing chat of this function button region and changes.The frame that also form of function button can be expressed as in addition to chat region, when user clicks this frame, triggers the residing chat of this function button region and changes, and at this, does not repeat.As Fig. 5, function button also can be integrated in the region beyond arbitrary chat region in interface, when user clicks this function button, triggers the current chat region in selected state and changes.
In step S302, history message display box is converted to message and sends frame.
In the present embodiment, when user being detected the conversion instruction in chat region, the current history message display box in region that is about to chat is converted to message and sends frame.
Particularly, history message display box can be changed and have with this history message display box the message that the variable-length of same size and its content is 0 and send frame, variable-length is 0 to be illustrated in before user do not edit, and sending frame be blank.
As another embodiment of the present invention, after user sends frame input message by message sends successfully, this message transmission frame is converted to history message display box, this history message display box shows described character.
In the present embodiment, chat region comprises that message sends frame, when user sends instruction to the input of chat region, user is sent to input message in frame in this message to be sent, after information is sent, user receives service end and returns to the sign successfully sending, and represents that information sends successfully.Now message is sent to frame and be converted to history message display box, the content showing in history message display box can be the character content of this transmission, can be also contact person corresponding to this region of chatting some up-to-date Message Records.
Preferably, history message display box conversion and this history message display box can be there is to the message that is limited to fixed value on the variable-length of same size and its content and send frame.
As one embodiment of the present of invention, when user is not when message transmission frame is inputted, the content variable-length that message sends frame is 0, when user sends instruction to this chat region input, cannot trigger corresponding transmit operation, in chat region, keep this message to send frame.Or after the message that user sends frame input by message is sent, user does not receive service end and returns to the sign successfully sending, expression information sends unsuccessfully.Now user's information of carrying out is sent to failed prompting, message sends frame and is not converted to history message display box simultaneously.
As one embodiment of the present of invention, in the interface display process of instant communication software, after can sorting to N contact person according to the call duration time with contact person, generate N chat region, Fig. 6 shows the specific implementation flow process of the interface display method step S102 of the instant communication software that the embodiment of the present invention provides, and details are as follows:
In step S601, obtain each contact person's nearest call duration time;
In step S602, according to nearest call duration time, in interface, arrange N chat region from top to bottom.
In the present embodiment, recently call duration time can be by the call duration time of recording user and its All Contacts within a period of time recently, thereby obtains according to user and its each contact person's last call duration time.
As one embodiment of the present of invention, can also get by counting user and its All Contacts's number of communications this user and its each contact person's communication frequency, and arrange N chat region from top to bottom according to the height of communication frequency.
As one embodiment of the present of invention, also can first consider each contact person's communication frequency, when communication frequency is identical, according to each contact person's nearest call duration time, in interface, arrange N chat region from top to bottom.
Further, in embodiments of the present invention, the renewal starting command that renewal instruction can be inputted by user triggers, and also can automatically trigger according to the renewal time limit of configuration.User can pre-configured N renewal time limit of chat region ordering, for example be configured to every day, weekly or upgrade one inferiorly for every 10 days, system monitoring upgrades the time limit, is upgrading the time limit then, automatically obtain related data, to upgrade the ordering in chat region.
Fig. 7 shows the structured flowchart of the interface display apparatus of the instant communication software that the embodiment of the present invention provides, this device can run on by the diverse network communication terminal of wired or wireless network access server, include but not limited to mobile phone, pocket computer (Pocket Personal Computer, PPC), palmtop PC, computer, notebook computer, personal digital assistant (Personal Digital Assistant, PDA), computer etc.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 7, this device comprises:
Acquiring unit 71, obtains N contact person of instant communication software, and this N is greater than 1 integer;
Generation unit 72 generates N chat region on interface, each corresponding this contact person in this chat region, and this chat region comprises that message sends frame and/or history message display box.
Alternatively, this chat region comprises history message display box, and this device also comprises:
The first detecting unit, detects the conversion instruction of user to this chat region;
The first converting unit, is converted to this message by this history message display box and sends frame.
Alternatively, this chat region comprises that message sends frame, and this device also comprises:
The second converting unit, after user sends frame input message by this message sends successfully, is converted to history message display box by this message transmission frame, this history message display box demonstration character.
Alternatively, when this chat region comprises that this message sends frame, this device also comprises:
Holding unit, when user is not when message sends message that frame input character or user send frame input by message and sends unsuccessfully, keeps this message transmission frame.
Particularly, generation unit comprises:
Obtain subelement, obtain each this contact person's nearest call duration time;
Arrange subelement, according to this nearest call duration time, in this interface, arrange N this chat region from top to bottom.
The embodiment of the present invention can show a plurality of contact persons' chat region in the interface of instant communication software simultaneously, make user without switching between Affiliates List and different contact persons' chat window, just can directly communicate with a plurality of contact persons simultaneously, thereby the repetition handover operation of having avoided user, has improved user's operating efficiency.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.