CN109842543B - Instant messaging method and device and instant messaging message storage method and device - Google Patents

Instant messaging method and device and instant messaging message storage method and device Download PDF

Info

Publication number
CN109842543B
CN109842543B CN201711228281.6A CN201711228281A CN109842543B CN 109842543 B CN109842543 B CN 109842543B CN 201711228281 A CN201711228281 A CN 201711228281A CN 109842543 B CN109842543 B CN 109842543B
Authority
CN
China
Prior art keywords
user
contacts
display window
instant messaging
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711228281.6A
Other languages
Chinese (zh)
Other versions
CN109842543A (en
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
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 CN201711228281.6A priority Critical patent/CN109842543B/en
Publication of CN109842543A publication Critical patent/CN109842543A/en
Application granted granted Critical
Publication of CN109842543B publication Critical patent/CN109842543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides an instant messaging method and device and an instant messaging message storage method and device, wherein the instant messaging method comprises the following steps: generating a content merging display window for a plurality of contacts of the user for displaying in the display layer; and realizing instant communication between the user and the plurality of contacts through the content merging display window. By adopting the method or the device, the phenomenon that the user needs to switch between different independent conversation windows when chatting with multiple people can be avoided, and the message can be sent to each contact person independently and can also be sent to all contact persons in the same content combination display window, so that the instant messaging between the user and the multiple people is more convenient, and the misoperation probability of the user is reduced.

Description

Instant messaging method and device and instant messaging message storage method and device
Technical Field
The present application relates to the field of instant messaging technologies, and in particular, to an instant messaging method and an instant messaging device, and a method and an instant messaging device for storing an instant messaging message.
Background
Instant Message (IM) refers to a service capable of instantly sending and receiving an internet Message or the like. Different users can install instant messaging software on a smart phone or a computer and the like, register own instant messaging account through the instant messaging software, and then send instant messaging messages to other users through a chat window provided by the instant messaging software or receive instant messaging messages sent by other users.
Disclosure of Invention
The inventor finds in the research process that, in the prior art, if the user a chats with the user B and the user C respectively, in order to ensure the security of the instant messaging messages, the instant messaging software provides one chat window for the user a to chat with the user B, and provides another different chat window for the user a to chat with the user C, which requires the user a to open the chat windows with the user B and the user C respectively to input the instant messaging messages. Under the condition that the user A chats with more people, the user needs to switch among a plurality of chat windows, and extremely inconvenient influence is caused to the user. Also, the user is also prone to situations where the message to user a is misdirected to user B, and so on.
Based on the above, the instant messaging method and the instant messaging message storage method are provided, so that the instant messaging between the user and a plurality of selected contacts is realized in one content merging display window, the phenomenon that the user needs to switch between different independent conversation windows when chatting with multiple people can be avoided, the message can be sent to each contact independently in the same content merging display window, and the message can also be sent to all contact people, so that the instant messaging between the user and the multiple people can be realized more conveniently, and the probability of misoperation of the user is reduced.
The application also provides an instant communication device and a storage device of the instant communication message, which are used for ensuring the realization and the application of the method in practice.
In order to solve the above problem, the present application discloses an instant messaging method, which includes:
generating a content merging display window for a plurality of contacts of the user for displaying in the display layer; and realizing instant communication between the user and the plurality of contacts through the content merging display window.
Wherein, the generating a content merging display window for a plurality of contacts in the display layer for displaying comprises:
responding to the starting of the instant messaging, and generating a content merging display window for the selected multiple contacts in the display layer for displaying; or,
in response to adding other contacts in the conversation window of any contact, creating a content merging display window in the display layer for displaying; or,
and generating a content merging display window at the display layer for displaying in response to the merging operation of the plurality of independent conversation windows triggered by the user.
Wherein, responding to the start of the instant communication, generating a content merging display window for the selected instant communication contacts in the display layer for displaying, and the method comprises the following steps:
generating a content merging display window on the display layer;
and correspondingly displaying each selected contact in the contact area of the content merging display window according to the time sequence of each contact selected by the user.
Wherein, the instant messaging between the user and the plurality of contacts is realized through the content merging display window, which comprises the following steps:
in response to a user input of an instant messaging message, the instant messaging message comprising: the receiver information is used for acquiring the receiver identification of the instant communication message;
and displaying the instant messaging message in a message area of the content merging display window according to a time sequence, and sending the instant messaging message to a contact corresponding to the receiver identification.
Wherein, the instant messaging between the user and the plurality of contacts is realized through the content merging display window, and the method further comprises the following steps:
and reminding any contact person to receive the instant messaging message by a preset reminding mode.
And the receiver of the instant communication message is the receiver of the last instant communication message or the plurality of contacts.
Wherein, the method also comprises:
and storing the instant messaging records between the user and the plurality of contacts into a plurality of independent instant messaging files respectively corresponding to the plurality of contacts.
Wherein, the method also comprises:
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
Wherein the contact list comprises: all contacts, the nearest contact, or the contact in contact.
The independent conversation window of any one of the plurality of contacts is used for displaying the instant communication messages of the contact and the opposite contact.
The application also provides an instant messaging method, which comprises the following steps:
generating a content merging display window for a plurality of contacts in the display layer for displaying;
the instant communication between the user and the plurality of contacts is realized through the content merging display window;
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
The application also provides a method for storing the instant communication message, which comprises the following steps:
receiving instant messaging messages of a user for communicating with a plurality of contacts respectively;
and judging whether the instant communication messages are triggered in the same content merging display window, if so, storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window.
Wherein, the storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window includes:
establishing a combined file corresponding to the content combined display window;
and respectively storing the instant communication messages related to the plurality of contacts in the merged file by taking the contacts as dimensions.
Wherein the method further comprises:
and responding to the split of the content merging display window, and respectively storing the instant communication messages corresponding to the plurality of contacts into a plurality of independent files.
An embodiment of the present application further provides an instant messaging device, including: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
generating a content merging display window for a plurality of contacts in the display layer for displaying;
and respectively receiving instant messaging messages of a plurality of contacts at the background, and respectively displaying the instant messaging messages of the plurality of contacts on the content merging display window.
Wherein the processor is configured to generate a content merged presentation window for the plurality of contacts at the presentation layer for presentation, comprising:
responding to the starting of the instant messaging, and generating a content merging display window for the selected multiple contacts in the display layer for displaying; or,
in response to adding other contacts in the conversation window of any contact, creating a content merging display window in the display layer for displaying; or,
and generating a content merging display window at the display layer for displaying in response to the merging operation of the plurality of independent conversation windows triggered by the user.
The processor is used for responding to the starting of instant messaging and generating a content merging display window for the selected instant messaging contacts in the display layer for displaying, and the content merging display window comprises the following steps:
generating a content merging display window on the display layer;
and correspondingly displaying each selected contact in the contact area of the content merging display window according to the time sequence of each contact selected by the user.
The processor is configured to implement instant messaging between the user and the plurality of contacts through the content merge display window, respectively, and includes:
in response to a user input of an instant messaging message, the instant messaging message comprising: the receiver information is used for acquiring the receiver identification of the instant communication message;
and displaying the instant messaging message in a message area of the content merging display window according to a time sequence, and sending the instant messaging message to a contact corresponding to the receiver identification.
The processor is configured to implement instant messaging between the user and the plurality of contacts through the content merge display window, and further includes:
and reminding any contact person to receive the instant messaging message by a preset reminding mode.
The receiver of the instant communication message is the receiver of the last instant communication message or the plurality of contacts.
Wherein the processor is further configured to:
and storing the instant messaging records between the user and the plurality of contacts into a plurality of independent instant messaging files respectively corresponding to the plurality of contacts.
Wherein the processor is further configured to:
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
Wherein the contact list comprises: all contacts, the nearest contact, or the contact in contact.
The independent conversation window of any one of the plurality of contacts is used for displaying the instant communication messages of the contact and the opposite contact.
An embodiment of the present application further provides an instant messaging device, including: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
the instant communication between the user and the plurality of contacts is realized through a content merging display window;
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
An embodiment of the present application further provides a device for storing an instant messaging message, including: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
receiving instant messaging messages of a user for communicating with a plurality of contacts respectively;
and judging whether the instant communication messages are triggered in the same content merging display window, if so, storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window.
Wherein, the storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window includes:
establishing a combined file corresponding to the content combined display window;
and respectively storing the instant communication messages related to the plurality of contacts in the merged file by taking the contacts as dimensions.
Wherein the processor is further configured to:
and responding to the split of the content merging display window, and respectively storing the instant communication messages corresponding to the plurality of contacts into a plurality of independent files.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, the instant messaging between the user and a plurality of contacts selected by the user is realized in one content merging display window, so that the phenomenon that the user needs to switch among different conversation windows when chatting with a plurality of people can be avoided, messages can be sent to each contact in the same content merging display window, and messages can also be sent to all contact groups, so that the instant messaging between the user and the plurality of people is more convenient, and the probability of misoperation of the user is reduced. In addition, in the content merging display window, the instant messaging messages of all the contacts can be displayed according to time sequence, and the user can check the messages sent by the user more conveniently.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is an exemplary flow chart of the instant messaging method of the present application;
FIGS. 2a and 2b are exemplary schematic diagrams of a contact interface of the present application;
FIG. 3 is a schematic illustration of a message region of an exemplary merge window of the present application;
FIGS. 4a and 4b are exemplary diagrams of chat interfaces of the present application;
FIG. 5 is an exemplary flow chart of a method for saving instant messaging messages of the present application;
FIG. 6 is a block diagram of an exemplary configuration of an instant messaging device of the present application;
fig. 7 is a block diagram illustrating an exemplary structure of an instant messaging message holding apparatus according to the present application;
fig. 8 is a block diagram illustrating an apparatus 800 for instant messaging according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a flowchart of an embodiment of an instant messaging method according to the present application is shown, where the embodiment may be applied to a client, and the embodiment may include the following steps:
step 101: and generating a content merging display window for the plurality of contacts in the display layer for displaying.
In the embodiment of the application, it is assumed that a user a installs instant messaging software on a mobile phone of the user a, and the user a is currently chatting with a user B and a user C at the same time, or the user a desires to chat with the user B and the user C at the same time, and under the scenes that the user a needs to chat with a plurality of people at the same time, a content merging display window for displaying instant messaging messages between the user and the plurality of contacts can be generated for the plurality of contacts that the user desires to chat at the same time.
Of course, the merged window is obtained by merging the display layers on the mobile phone held by the user a, and is only one merged window for the user a as the receiving party, while the conversation window of the user B in instant communication with the user a only displays the instant communication messages of the user a and the user B, and the conversation window of the user C only displays the instant communication messages of the user a and the user C. Of course, if this step is also executed on the display interface on the mobile phone held by the user B, a content merged display window may also be generated for the user B, and in this case, the instant messaging messages of the multiple contacts chatting with the user B are only displayed in the content merged display window of the user B. The method of the embodiment can be applied to the client used by the user a, namely, the client used by the user who initiates the request for the content merging presentation window.
In practical applications, there are various ways to generate the content merged displaying window, and one of them may be to generate a merged window for displaying the selected multiple contacts in the displaying layer when the user starts the instant messaging. In this embodiment, assume that user a's instant messaging software locally caches the contact list. The contact list may include: all contacts, the nearest contact, or the contact in contact. Assuming that there are 10 contacts in user A's contact list, including user B and user C, user B and user C may or may not know each other. The contact list of the user a is displayed when the user a opens the instant messaging software.
Referring to fig. 2a, an exemplary interface schematic manner of the contact list may refer to that shown on the left side in fig. 2a, and in the contact list in fig. 2a, only eight contacts from the user B to the user K are illustrated, but of course, in practical applications, information such as the number of contacts and names in the contact list does not affect the implementation of the embodiment of the present application, and the exemplary data in fig. 2a should not be understood as a limitation of the embodiment of the present application.
Specifically, in the case that the user starts the instant messaging, the process of generating a content merged display window for displaying the selected multiple contacts in the display layer may include the following steps a1 to a step A3:
step A1: responding to any contact person selected by the user from the contact person list, detecting whether the user triggers a merging operation or not in real time, and if so, entering the step A2.
In practical application, in order to facilitate a user to select a plurality of contacts from a contact list, after the contact list is provided for the user, whether any one of the contacts is selected by the user is detected, and if the user selects the user B, whether the user will trigger a merging operation can be detected in real time. In order to detect whether the user triggers the merge operation conveniently, a merge button or a merge link may be provided and displayed at a preset location of the instant messaging software, for example, a control area, and then it is sufficient to correspondingly detect whether the user triggers the merge button or the merge link.
Step A2: and recording other contacts selected by the user.
If the user triggers the merge button or merge link after selecting any one of the contacts, the contact selection interface diagram shown in FIG. 2a can be skipped from the individual contact list presentation interface. In FIG. 2a, user B is user A has selected at step A1, so user B appears directly in the selected contact area on the right side of FIG. 2 a.
In this step, the user may then select other contacts in the contact list, for example, user a selects user C, and user C is shown below user B in chronological order, as shown in fig. 2B, which is an exemplary interface diagram of user C selected next for user a. Of course, FIG. 2b is merely exemplary data, and user A may then select other contacts, e.g., user D or user K, etc.
Step A3: and generating a combined window for displaying each contact person selected by the user respectively.
And then generating a content merging display window for each contact selected by the user, such as the user B and the user C, and displaying the content merging display window. Specifically, a content merging display window may be generated first, and then each selected contact is displayed in the contact area of the content merging display window correspondingly according to the time sequence of each contact selected by the user. In practical applications, the content merged displaying window may be divided into a contact area and a message area, where the contact area may be used to display information of a plurality of contacts related to the content merged displaying window, and the message area may be used to display instant messaging messages sent by the plurality of contacts in the content merged displaying window in chronological order.
In addition to the first way of generating the content merged displaying window described in steps a 1-A3, a second way of generating the content merged displaying window is to create a content merged displaying window for displaying in the displaying layer in response to adding other contacts in the conversation window of any one contact. Assuming that user A is currently chatting with user B, user C can be added to the conversation window of user B in user A, and then a content merged display window is created for the user in the display layer for simultaneously displaying the instant communication messages of user A and users B and C.
A third way to generate the content merged display window may be to generate a merged window in the display layer for displaying to the user in response to a merging operation of multiple dialog windows triggered by the user. Currently, assuming that the user a opens the conversation windows of the user B and the user C at the same time, the user a may trigger the two conversation windows to merge, and then a content merged presentation window is generated on the presentation layer for presenting the instant communication messages of the user a and the users B and C.
Step 102: and realizing instant communication between the user and the selected multiple contacts through the content merging display window.
Then, through the content merging display window, the user A can chat with the user B and also can chat with the user C, and the instant communication among a plurality of contacts related to the content merging display window is realized. Specifically, if the user a inputs an instant message in the merge window, a certain contact, i.e., the identifier of the recipient of the instant message of the user a, may be @ separately, and is used to send the instant message to the contact and remind the contact to view the instant message sent by the contact, while the conversation window of the contact only shows the instant message sent by the user a to the contact and the instant message sent by the contact to the user a. The user a may also send the message content directly without @ any contact, in which case, the message content is directly displayed in the content merging display window, and at this time, the message is sent to the contact corresponding to the recipient of the previous instant messaging message by default. It is understood that the instant messaging messages sent by the contacts in the content merge display window, including user a, user B or user C, can be displayed in the message area of the merge window in chronological order.
For example, referring to FIG. 3, a diagram of an exemplary message region of a content merge presentation window is shown. In fig. 3, "hello" sent by user B and "what you and B are chatting" sent by user C are shown in chronological order on the left side of fig. 3, and "you are on line" sent by user a, and the content is shown directly on the right side of fig. 3 because no recipient identification is included. In practical applications, it is also possible to reply to the selected contact directly by selecting the instant messaging message "hello" sent by the contact B, for example, selecting "B: you ' can directly reply to the content of the user B ' C is online, I chats with the C '. If the message sent by the user a does not include the recipient identification, a person skilled in the art may set in advance whether the message is sent to the recipient that sent the message last time by the user a, or whether the contacts in the merge window are all sent. And the message receiver, such as the dialog window of the user B or the user C, only shows the instant messaging message sent by the user a to the user itself, or the instant messaging message sent by the user to the user a. In practical application, the user B and the user C may be in any relationship, and the relationship between the user B and the user C does not affect the implementation of the embodiment of the present application.
In practical application, although the chat between the user a and the users B and C is realized in one content merging display window, for the user B, only the instant messaging record between the user a and the user B can be seen on the mobile phone used by the user B, and for the user C, only the instant messaging record between the user a and the user B can be seen. For example, fig. 4a is a schematic diagram illustrating a chat interface between the user a and the user B, and fig. 4B is a schematic diagram illustrating a chat interface between the user a and the user C.
After step 102, may further include:
step 103: and storing the instant messaging records between the user and the plurality of contacts into a plurality of instant messaging files respectively corresponding to the plurality of contacts.
Because the embodiment can be applied to the client used by the user a, the client of the user a can save the instant messaging message occurring in the content merging display window to the local. The client of the user A can store the instant messaging records of the user A and the user B as an instant messaging file; and then the instant messaging records of the user A and the user C are saved as another instant messaging file. Namely, several instant messaging files are established based on instant messaging between the user A and several contacts in the merging window.
After step 102, if the user has dismissed the content consolidation presentation window, the user may be provided with a plurality of chat windows respectively corresponding to the selected contacts for presentation. For example, two different chat windows are generated with user B and user C, respectively, so that user a chats with user B separately in the chat window with user B and with user C separately in the chat window with user C.
Therefore, in the embodiment of the application, the instant messaging between the user and the plurality of contacts selected by the user is realized in one combined window, so that the phenomenon that the user needs to switch between different chat windows when chatting with multiple people can be avoided, messages can be sent to each contact independently in the same content combined display window, and messages can also be sent to all contact people, so that the instant messaging between the user and the multiple people can be realized more conveniently, and the probability of misoperation of the user is reduced. In addition, in the content merging display window, the instant messaging messages of all the contacts can be displayed according to time sequence, and the user can check the messages sent by the user more conveniently.
Referring to fig. 5, a flowchart of an embodiment of a method for saving an instant messaging message according to the present application is shown, where the embodiment may be applied to a server, and the embodiment may include the following steps:
step 501: and receiving instant communication messages of the user respectively communicating with a plurality of contacts.
The present embodiment is different from the previous embodiment in that the present embodiment can be applied to the server side. The server may be an instant messaging server for forwarding instant messaging messages between users, respectively. Assuming that the user a chats with the user B and the user C in the content merge display window respectively by using the embodiment shown in fig. 1, the server may receive the instant messaging messages sent by the user a to the users B and C respectively and the instant messaging messages sent by the users B and C to the user a.
Step 502: and judging whether the instant communication message is triggered in the same content merging display window, if so, entering the step 503.
The server may determine whether the received instant messaging message is triggered in the same content merge display window, for example, determine whether user B and user C are both in the contact area of the content merge display window established by user a, and so on.
Step 503: and storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window.
If the server determines that user a added user B and user C to a content merge presentation window, the server may store the instant messaging messages in a merge file. Specifically, a merged file corresponding to the content merged display window may be established first, and then the instant messaging messages related to each contact may be stored in the merged file with the contact as a dimension. For example, user B's instant messaging messages with user A are stored in one portion of the file, while user C's instant messaging messages with user A are stored in another portion of the file.
In practical application, if the user a cancels the action of generating the merged window during or after the chat, in this case, the chat records corresponding to the user B and the user C in the merged file may be split, and the chat records corresponding to the user B and the user C may be stored in two different files.
In this embodiment, the server may store instant messaging messages of multiple contacts belonging to the same content merged display window in the same instant messaging file.
For simplicity of explanation, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may occur in other orders or concurrently with other steps based on the disclosure herein. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Corresponding to the method provided by the above embodiment of the instant messaging method in the present application, referring to fig. 6, the present application further provides an embodiment of an instant messaging apparatus, in this embodiment, the apparatus may be integrated at a server, and the apparatus may include:
a generating unit 601, configured to generate a content merging display window for displaying multiple contacts of a user at a display layer; and an instant messaging unit 602, which implements instant messaging between the user and the plurality of contacts through the content merging display window.
Wherein the generating unit 601 may include:
the first generation submodule is used for responding to the starting of the instant messaging and generating a content merging display window for the selected multiple contacts in the display layer for displaying; or,
the creating submodule is used for creating a content merging display window for displaying in the display layer in response to adding other contacts in the conversation window of any contact; or,
and the second generation submodule is used for responding to the merging operation of a plurality of independent conversation windows triggered by a user and generating a content merging display window for displaying on the display layer.
Wherein the first generation submodule is specifically configured to:
generating a content merging display window on the display layer; and correspondingly displaying each selected contact in the contact area of the content merging display window according to the time sequence of each contact selected by the user.
The instant messaging module 602 may specifically include:
an acquisition submodule, configured to respond to an instant messaging message input by a user, where the instant messaging message includes: the receiver information is used for acquiring the receiver identification of the instant communication message;
the display submodule is used for displaying the instant communication messages in a message area of the content merging display window according to a time sequence; and
and the sending submodule is used for sending the instant communication message to the contact person corresponding to the receiver identification.
Wherein the instant messaging module 602 may further include:
and the reminding sub-module is used for reminding any contact person to receive the instant messaging message by a preset reminding mode.
And the receiver of the instant communication message is the receiver of the last instant communication message or the plurality of contacts.
Wherein the apparatus may further comprise:
a saving module 603, configured to save the instant messaging records between the user and the multiple contacts as multiple independent instant messaging files corresponding to the multiple contacts respectively.
Wherein the apparatus may further comprise:
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
Wherein the contact list comprises: all contacts, the nearest contact, or the contact in contact.
The independent conversation window of any one of the plurality of contacts is used for displaying the instant communication messages of the contact and the opposite contact.
The present application also provides another instant messaging device, which may include:
the generating module is used for generating a content merging display window for a plurality of contacts in the display layer for displaying;
the instant messaging module is used for realizing instant messaging between the user and the plurality of contacts through the content merging display window; and the number of the first and second groups,
and the display module is used for responding to the revocation operation of the content merging display window and providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for displaying.
Referring to fig. 7, the present application further provides an instant messaging message storage apparatus, including:
a receiving module 701, configured to receive instant messaging messages that a user communicates with multiple contacts respectively;
a judging module 702, configured to judge whether the instant messaging message is triggered in the same content merging display window; and the number of the first and second groups,
a first saving module 703, configured to, if the result of the determining module is yes, save each instant messaging message in the content merging display window in a merging file corresponding to the content merging display window.
The saving module may specifically include:
the establishing submodule is used for establishing a merging file corresponding to the content merging display window;
and the storage submodule is used for respectively storing the instant messaging messages related to the plurality of contacts in the merged file by taking the contacts as dimensions.
Wherein, the instant communication message storage device may further include:
and the second storage module is used for responding to the splitting of the content merging display window and respectively storing the instant communication messages corresponding to the plurality of contacts into a plurality of independent files.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an instant messaging device 800 according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of instant messaging, the method comprising: generating a content merging display window for a plurality of contacts of the user for displaying in the display layer; and realizing instant messaging between the user and the plurality of contacts through the content merging display window.
The generating a content merged display window for a plurality of contacts at the display layer for displaying may include:
responding to the starting of the instant messaging, and generating a content merging display window for the selected multiple contacts in the display layer for displaying; or,
in response to adding other contacts in the conversation window of any contact, creating a content merging display window in the display layer for displaying; or,
and generating a content merging display window at the display layer for displaying in response to the merging operation of the plurality of independent conversation windows triggered by the user.
Wherein, in response to the start of the instant messaging, generating a content merged display window for displaying the selected instant messaging contacts in the display layer may include:
generating a content merging display window on the display layer;
and correspondingly displaying each selected contact in the contact area of the content merging display window according to the time sequence of each contact selected by the user.
The implementing, through the content merge display window, instant messaging between the user and the plurality of contacts respectively may include:
in response to a user input of an instant messaging message, the instant messaging message comprising: the receiver information is used for acquiring the receiver identification of the instant communication message;
and displaying the instant messaging message in a message area of the content merging display window according to a time sequence, and sending the instant messaging message to a contact corresponding to the receiver identification.
Wherein, the implementing instant communication between the user and the plurality of contacts through the content merging display window may further include:
and reminding any contact person to receive the instant messaging message by a preset reminding mode.
And the receiver of the instant communication message is the receiver of the last instant communication message or the plurality of contacts.
Wherein the device 800 may also be configured to execute the one or more programs by the one or more processors including instructions for:
and storing the instant messaging records between the user and the plurality of contacts into a plurality of independent instant messaging files respectively corresponding to the plurality of contacts.
Wherein the device 800 may also be configured to execute the one or more programs by the one or more processors including instructions for:
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
Wherein the contact list comprises: all contacts, the nearest contact, or the contact in contact.
The independent conversation window of any one of the plurality of contacts is used for displaying the instant communication messages of the contact and the opposite contact.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The instant messaging method and apparatus, the instant messaging message storage method and apparatus provided by the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and the implementation manner of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. An instant messaging method, the method comprising:
generating a content merging display window for a plurality of contacts of a user on a display layer for displaying; the instant communication between the user and the plurality of contacts is realized through the content merging display window; the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user;
the content merging display window is used for displaying instant communication messages between the user and a plurality of contacts in the content merging display window, and instant communication messages of the user and the contact are respectively displayed in conversation windows of the contacts.
2. The method of claim 1, wherein generating a content merged presentation window for the plurality of contacts at the presentation layer for presentation comprises:
responding to the starting of the instant messaging, and generating a content merging display window for the selected multiple contacts in the display layer for displaying; or,
in response to adding other contacts in the conversation window of any contact, creating a content merging display window in the display layer for displaying; or,
and generating a content merging display window at the display layer for displaying in response to the merging operation of the plurality of independent conversation windows triggered by the user.
3. The method of claim 2, wherein generating a content-merged presentation window at the presentation layer for the selected plurality of instant messaging contacts for presentation in response to initiation of instant messaging comprises:
generating a content merging display window on the display layer;
and correspondingly displaying each selected contact in the contact area of the content merging display window according to the time sequence of each contact selected by the user.
4. The method of claim 1, wherein the enabling instant messaging between the user and the plurality of contacts through the content merge presentation window comprises:
in response to a user input of an instant messaging message, the instant messaging message comprising: the receiver information is used for acquiring the receiver identification of the instant communication message;
and displaying the instant messaging message in a message area of the content merging display window according to a time sequence, and sending the instant messaging message to a contact corresponding to the receiver identification.
5. The method of claim 4, wherein the instant messaging between the user and the plurality of contacts is implemented through the content merge presentation window, and further comprising:
and reminding any contact person to receive the instant messaging message by a preset reminding mode.
6. The method of claim 1, further comprising:
and storing the instant messaging records between the user and the plurality of contacts into a plurality of independent instant messaging files respectively corresponding to the plurality of contacts.
7. The method of claim 1, further comprising:
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
8. The method of claim 1, wherein the contact list comprises: all contacts, the nearest contact, or the contact in contact.
9. The method of claim 1, wherein the individual conversation window of any one of the plurality of contacts is used for displaying instant messaging messages between the contact and the opposite contact.
10. An instant messaging method, comprising:
generating a content merging display window for a plurality of contacts in the display layer for displaying; the content merging display window is used for displaying instant communication messages between a user and a plurality of contacts in the content merging display window, and instant communication messages of the user are respectively displayed in conversation windows of the contacts;
the instant communication between the user and the plurality of contacts is realized through the content merging display window; the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user;
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
11. A method for storing instant messaging messages, the method comprising:
receiving instant messaging messages of a user for communicating with a plurality of contacts respectively;
judging whether the instant communication messages are triggered in the same content merging display window or not, if so, storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window; the content merging display window is used for displaying instant communication messages between the user and a plurality of contacts in the content merging display window, and instant communication messages of the user and the contacts are respectively displayed in conversation windows of the contacts; and the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user.
12. The method of claim 11, wherein storing each instant messaging message in the content merged displaying window in a merged file corresponding to the content merged displaying window comprises:
establishing a combined file corresponding to the content combined display window;
and respectively storing the instant communication messages related to the plurality of contacts in the merged file by taking the contacts as dimensions.
13. The method of claim 11, further comprising:
and responding to the split of the content merging display window, and respectively storing the instant communication messages corresponding to the plurality of contacts into a plurality of independent files.
14. An instant messaging device, comprising: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
generating a content merging display window for a plurality of contacts in the display layer for displaying; the content merging display window is used for displaying instant communication messages between a user and a plurality of contacts in the content merging display window, and instant communication messages of the user are respectively displayed in conversation windows of the contacts; the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user;
and respectively receiving instant messaging messages of a plurality of contacts at the background, and respectively displaying the instant messaging messages of the plurality of contacts on the content merging display window.
15. An instant messaging device, comprising: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
the instant communication between the user and a plurality of contacts is realized through a content merging display window; the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user; the content merging display window is used for displaying instant communication messages between the user and a plurality of contacts in the content merging display window, and instant communication messages of the user and the contacts are respectively displayed in conversation windows of the contacts;
in response to an undo operation of the content merge presentation window, providing a plurality of independent conversation windows respectively corresponding to the plurality of contacts for presentation.
16. An instant messaging message holding apparatus, comprising: a memory and a processor, wherein,
the memory for storing program instructions and/or data;
the processor is used for reading the instructions and/or data stored in the memory and executing the following operations:
receiving instant messaging messages of a user for communicating with a plurality of contacts respectively;
judging whether the instant communication messages are triggered in the same content merging display window or not, if so, storing each instant communication message in the content merging display window in a merging file corresponding to the content merging display window; the content merging display window is used for displaying instant communication messages between the user and a plurality of contacts in the content merging display window, and instant communication messages of the user and the contacts are respectively displayed in conversation windows of the contacts; and the receiver of the instant communication message sent by the user in the display window is the receiver of the last instant communication message in the display window or the receiver determined based on the selection of the user.
CN201711228281.6A 2017-11-29 2017-11-29 Instant messaging method and device and instant messaging message storage method and device Active CN109842543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711228281.6A CN109842543B (en) 2017-11-29 2017-11-29 Instant messaging method and device and instant messaging message storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711228281.6A CN109842543B (en) 2017-11-29 2017-11-29 Instant messaging method and device and instant messaging message storage method and device

Publications (2)

Publication Number Publication Date
CN109842543A CN109842543A (en) 2019-06-04
CN109842543B true CN109842543B (en) 2022-06-03

Family

ID=66882249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711228281.6A Active CN109842543B (en) 2017-11-29 2017-11-29 Instant messaging method and device and instant messaging message storage method and device

Country Status (1)

Country Link
CN (1) CN109842543B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258479B (en) * 2020-01-16 2023-12-15 上海携程商务有限公司 Method, system, equipment and storage medium for displaying multiple chat windows on chat interface
CN111800334B (en) * 2020-07-03 2022-04-19 联想(北京)有限公司 Processing method and device and electronic equipment
CN114051009B (en) * 2021-10-28 2023-11-10 维沃移动通信有限公司 Message sending method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842003A (en) * 2005-03-30 2006-10-04 广州市领华科技有限公司 Method for realizing instant communication with a plurality of linkmen in single conversational window
CN101605109A (en) * 2009-07-15 2009-12-16 腾讯科技(深圳)有限公司 The management method of group message and device
CN103269305A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for issuing group exchange of information
CN104881295A (en) * 2015-06-15 2015-09-02 广州华多网络科技有限公司 Window display processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217517B (en) * 2008-01-07 2010-12-15 腾讯科技(深圳)有限公司 A method and system to realize one-to-many chatting in the instant communication
US20130097244A1 (en) * 2011-09-30 2013-04-18 Clearone Communications, Inc. Unified communications bridging architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842003A (en) * 2005-03-30 2006-10-04 广州市领华科技有限公司 Method for realizing instant communication with a plurality of linkmen in single conversational window
CN101605109A (en) * 2009-07-15 2009-12-16 腾讯科技(深圳)有限公司 The management method of group message and device
CN103269305A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Method and system for issuing group exchange of information
CN104881295A (en) * 2015-06-15 2015-09-02 广州华多网络科技有限公司 Window display processing method and device

Also Published As

Publication number Publication date
CN109842543A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
US10728196B2 (en) Method and storage medium for voice communication
EP3113466B1 (en) Method and device for warning
EP3179397A1 (en) Methods and devices for managing automatic parallel login and logout in several applications
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN109951379B (en) Message processing method and device
CN107423386B (en) Method and device for generating electronic card
EP3026876B1 (en) Method for acquiring recommending information, terminal and server
CN109842543B (en) Instant messaging method and device and instant messaging message storage method and device
CN109302341B (en) Instant messaging method, instant messaging device, electronic equipment and storage medium
CN108011990B (en) Contact management method and device
CN112202582B (en) Group establishing method and device, electronic equipment and storage medium
US10263925B2 (en) Method, device and medium for sending message
CN109521923B (en) Floating window control method and device and storage medium
CN108984098B (en) Information display control method and device based on social software
CN105704286A (en) Communication information display method and device
US20170093761A1 (en) Method and device for sending electronic service reminders
CN106961510A (en) A kind of voice communication processing method and processing device
CN106878654B (en) Video communication method and device
CN106506808B (en) Method and device for prompting communication message
CN105101121A (en) Information transmitting method and device
CN106034214A (en) Video data recording method and apparatus thereof
CN110121148B (en) Interphone team method and device
CN110213062A (en) Handle the method and device of message
CN104933107A (en) Searching method of push message and searching device of push message
CN105656639B (en) Group message display method and device

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
GR01 Patent grant
GR01 Patent grant