CN110324239B - Instant messaging method, system and first client - Google Patents
Instant messaging method, system and first client Download PDFInfo
- Publication number
- CN110324239B CN110324239B CN201910618793.6A CN201910618793A CN110324239B CN 110324239 B CN110324239 B CN 110324239B CN 201910618793 A CN201910618793 A CN 201910618793A CN 110324239 B CN110324239 B CN 110324239B
- Authority
- CN
- China
- Prior art keywords
- information
- editing
- registered user
- user
- identifier
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an instant messaging method, an instant messaging system and a first client, wherein the method applied to the first client comprises the following steps: creating a task group comprising at least two user identifications, determining whether a current registered user edits a long message, if so, displaying a long message editing interface, receiving first information input by the current registered user on the long message editing interface, and using the first information as editing information; otherwise, receiving second information input by the current registered user in the session interface of the task group, and using the second information as editing information; and determining at least one second identifier according to each user identifier, and sending interaction information comprising the first identifier of the current registered user, each second identifier and the editing information to the server so that the server sends the interaction information to the corresponding second client according to the at least one second identifier, so that other registered users corresponding to the second identifiers interact with the current registered user according to the interaction information received by the second client. The scheme can realize efficient communication between two communication parties.
Description
Technical Field
The invention relates to the technical field of computers, in particular to an instant messaging method, an instant messaging system and a first client.
Background
With the coming of the mobile internet era, people use intelligent terminals to process information anytime and anywhere, and an instant messaging tool is used as a network social tool and becomes an important tool for people to communicate.
The instant message sent by the instant communication tool has the characteristics of high transmission speed, convenient and quick communication and the like. However, the feature is a double-edged sword, and the short and fragmented instant message is beneficial to the problems of simple communication, easy description and understanding, but not beneficial to the problem of complex communication. Because the insufficient description information often causes misunderstanding, especially when the two parties in communication are impatient in mood, the more serious consequences are easily caused, the communication effect is poor, and even the communication fails.
Disclosure of Invention
The embodiment of the invention provides an instant messaging method, an instant messaging system and a first client, which can realize efficient communication between two communication parties.
In a first aspect, an embodiment of the present invention provides an instant messaging method, which is applied to a first client and creates a task group in advance, where the task group includes: the user identifications of at least two registered users, further comprising:
s1: upon receiving an edit request input by a current registered user of the at least two registered users, determining whether the edit request is for editing a long message, if so, performing S2, otherwise, performing S4;
s2: displaying a long message editing interface for editing the long message, and executing S3;
s3: receiving first information input by the current registered user on the long message editing interface, taking the first information as editing information, and executing S5;
s4: receiving second information input by the current registered user in the session interface of the task group, taking the second information as editing information, and executing S5;
s5: determining at least one second identifier corresponding to the editing information according to each user identifier, and executing S6;
s6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier of the current registered user, the at least one second identifier and the edit information enable the server to send the interaction information to a corresponding second client according to the at least one second identifier, so that other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client.
Preferably, the first and second electrodes are formed of a metal,
further comprising:
the S5, including:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: s6 is executed with each of the user identities as a second identity.
Preferably, the first and second electrodes are formed of a metal,
further comprising:
the task group further comprises: a group identification indicating interactive content;
when the edit information is the first information,
the label of the editing information is the group identification;
the interactive information further comprises: a summary of the tag and the editing information.
Preferably, the first and second electrodes are formed of a metal,
further comprising:
receiving discussion information sent by the server, wherein the discussion information is information which is sent by the second client and interacts with the current registered user, and is sent by other registered users in the at least two registered users;
and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
Preferably, the first and second electrodes are formed of a metal,
further comprising:
when receiving a management request input by the current registered user, executing management operation corresponding to the management request on received session information, wherein the session information comprises: the interaction information and/or the discussion information.
Preferably, the first and second electrodes are formed of a metal,
after the receiving the first information input by the current registered user at the long message editing interface, before the using the first information as editing information, further comprising:
when an editing instruction for editing the format of the first information, which is input by the current registered user, is received, editing the format of the first information according to the editing instruction;
the using the first information as editing information includes:
and taking the first information after the format is edited as editing information.
Preferably, the first and second electrodes are formed of a metal,
the user identifications of the at least two registered users include: the system comprises a feature identifier and at least one participation identifier, wherein the feature identifier is used for indicating registered users who create the task group and participate in interaction, and the participation identifier is used for indicating registered users who participate in interaction.
In a second aspect, an embodiment of the present invention provides a first client, including:
the group creating module is used for creating a task group in advance, wherein the task group comprises: user identifications of at least two registered users;
an information processing module for executing S1: upon receiving an edit request input by a current registered user of the at least two registered users in the task group created by the group creation module, determining whether the edit request is for editing a long message, if so, triggering a presentation module, and performing S3: receiving first information input by the current registered user on the long message editing interface displayed by the display module, taking the first information as editing information, and otherwise, executing S4: receiving second information input by the current registered user in a session interface of the task group, and taking the second information as editing information;
the display module is configured to execute S2: displaying a long message editing interface for editing a long message;
a recipient determination module to perform S5: determining at least one second identifier corresponding to the editing information received by the information processing module according to each user identifier in the task group created by the group creation module;
an information pushing module, configured to execute S6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier of the current registered user in the task group created by the group creation module, the at least one second identifier determined by the receiver determination module, and the edit information received by the information processing module, so that the server sends the interaction information to a corresponding second client according to the at least one second identifier, and other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client.
Preferably, the first and second electrodes are formed of a metal,
the receiver determination module is configured to perform:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: s6 is executed with each of the user identities as a second identity.
Preferably, the first and second electrodes are formed of a metal,
the information processing module is further configured to receive discussion information sent by the server, where the discussion information is information sent by other registered users of the at least two registered users and interacted with the current registered user through the second client; and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
In a third aspect, an embodiment of the present invention provides an instant messaging system, including: at least one first client, at least one second client and a server according to the second aspect;
the server is used for receiving the interaction information and at least one second identifier sent by the first client and sending the interaction information to the corresponding second client according to the at least one second identifier;
and the second client is used for receiving the interactive information sent by the server so as to enable other registered users corresponding to the second identifier to interact with the current registered user sending the interactive information according to the interactive information.
The embodiment of the invention provides an instant messaging method, an instant messaging system and a first client, wherein a task group comprising a plurality of registered users is created, so that the current registered user in the task group can edit editing information used for interacting with at least one other registered user in the task group according to task requirements, the editing information can be short messages or long messages, and when the current registered user needs to edit the long messages, a long message editing interface used for editing the long messages can be displayed, so that a large enough interface is provided for the current registered user to edit first information which is difficult to describe and understand, and misunderstanding of two parties in communication due to insufficient description information is prevented; when the user does not need to edit the long message, the user can be determined that the number of characters of the information to be edited by the user is small, so that the user can directly edit the short and fragmented second message on the session interface of the task group, the editing operation of the user is simplified, and the use experience of the user is improved; and then, determining second identifiers used for indicating and receiving the information edited by the current registered user through the user identifiers of different users in the task group, namely sending the interaction information comprising the first identifier of the current registered user, each second identifier and the editing information to an external server, so that other registered users corresponding to each second identifier can know the interaction content through the interaction information sent by the server received by the second client, and the current registered user of the interactor can interact with the current registered user, thereby preventing poor communication effect of two communication parties and realizing efficient communication of the two communication parties.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a first client according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an instant messaging system according to an embodiment of the present invention;
fig. 4 is a flowchart of another instant messaging method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides an instant messaging method, applied to a first client, including:
s0: pre-creating a task group, wherein the task group comprises: user identifications of at least two registered users;
s1: upon receiving an edit request input by a current registered user of the at least two registered users, determining whether the edit request is for editing a long message, if so, performing S2, otherwise, performing S4;
s2: displaying a long message editing interface for editing the long message, and executing S3;
s3: receiving first information input by the current registered user on the long message editing interface, taking the first information as editing information, and executing S5;
s4: receiving second information input by the current registered user in the session interface of the task group, taking the second information as editing information, and executing S5;
s5: determining at least one second identifier corresponding to the editing information according to each user identifier, and executing S6;
s6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier of the current registered user, the at least one second identifier and the edit information enable the server to send the interaction information to a corresponding second client according to the at least one second identifier, so that other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client.
In the embodiment of the invention, by creating the task group comprising a plurality of registered users, the current registered user in the task group can edit the editing information used for interacting with at least one other registered user in the task group according to the task requirement, the editing information can be short messages or long messages, when the current registered user needs to edit the long message, a long message editing interface used for editing the long message can be displayed, so that a large enough interface is provided for the current registered user to edit the first information which is difficult to describe and understand, and misunderstanding of two communication parties caused by insufficient description information is prevented; when the user does not need to edit the long message, the user can be determined that the number of characters of the information to be edited by the user is small, so that the user can directly edit the short and fragmented second message on the session interface of the task group, the editing operation of the user is simplified, and the use experience of the user is improved; and then, determining second identifiers used for indicating and receiving the information edited by the current registered user through the user identifiers of different users in the task group, namely sending the interaction information comprising the first identifier of the current registered user, each second identifier and the editing information to an external server, so that other registered users corresponding to each second identifier can know the interaction content through the interaction information sent by the server received by the second client, and the current registered user of the interactor can interact with the current registered user, thereby preventing poor communication effect of two communication parties and realizing efficient communication of the two communication parties.
Wherein, the interactive information can also comprise: the time of sending the interactive information, for example, year, month, day, and specific time.
The first client and the second client may be a browser application, or may be a user client, such as an app application installed on a mobile terminal, or a client installed on a personal computer.
The long message editing interface is larger than the session interface of the task group, so that a user can edit information with more characters.
The user identification may include: the image identification, name, etc. of the registered user.
In an embodiment of the present invention, the instant messaging method further includes:
the S5, including:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: s6 is executed with each of the user identities as a second identity.
In the embodiment of the invention, the current registered user can determine the identification mark of the interactive information according to the requirement, namely the receiver of the interactive information, when the identification mark corresponding to the interactive information is not the mark of the task group, the mark which is not in the task group can be added into the task group, so that other corresponding registered users can participate in the interaction of the task group, and then the information edited by the current registered user is respectively sent to each identification mark, so that other registered users corresponding to the identification marks can receive the interactive information for interaction.
In order to facilitate the participants in the task group to determine the interactive content, in an embodiment of the present invention, the instant messaging method further includes:
the task group further comprises: a group identification indicating interactive content;
when the edit information is the first information,
the label of the editing information is the group identification;
the interactive information further comprises: a summary of the tag and the editing information.
In the embodiment of the present invention, when a registered user creating a task group creates the task group, the interactive content of the task group may be set, so that participants in the task group interact according to the interactive content, when editing information edited by the registered user at present is first information with a large number of characters, a tag of the editing information (i.e., a tag of the first information) is a group identifier of the task group, so that a receiver of the editing information determines the task group from which the editing information comes according to the group identifier after receiving the editing information, determines receiver information of the editing information through each second identifier, and can preliminarily know the content of the editing information according to the summary of the editing information.
Wherein the summary of the editing information may be a beginning part of the editing information, e.g. a first segment of the editing information.
It should be noted that the interactive information may also include the time of sending the editing information.
In an embodiment of the present invention, the instant messaging method further includes:
receiving discussion information sent by the server, wherein the discussion information is information which is sent by the second client and interacts with the current registered user, and is sent by other registered users in the at least two registered users;
and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
In the embodiment of the invention, other registered users in the task group can send the discussion information to the current registered user through the second client according to the requirement, so that the current registered user can edit the interaction instruction for interacting with other registered users who send the discussion information according to the requirement, and the interaction operation corresponding to the interaction instruction is executed for interacting.
Specifically, the discussion information may include: any one or more of text information, facial expression information, picture information, voice call, video call, and an attachment.
When the discussion information comprises the attachments, the attachments in the task group can be subjected to collection management, so that the registered user can check, download and delete all the attachments sent by the registered user and all the attachments received by the registered user, and the use experience of the user is improved.
In an embodiment of the present invention, the instant messaging method further includes:
when receiving a management request input by the current registered user, executing management operation corresponding to the management request on received session information, wherein the session information comprises: the interaction information and/or the discussion information.
In the embodiment of the invention, the registered users in the task group can also manage the received session information such as storage, deletion, inquiry and the like, so that the management requirements of different registered users are met.
Specifically, the edit information may include: any one or more of text information, facial expression information, picture information, voice call, video call, and an attachment.
When the editing information comprises the attachments, the attachments in the task group can be subjected to collection management, so that the registered user can check, download and delete all the attachments sent by the registered user and all the received attachments, and the use experience of the user is improved.
In an embodiment of the present invention, after the receiving the first information input by the current registered user in the long message editing interface, before the using the first information as editing information, further includes:
when an editing instruction for editing the format of the first information, which is input by the current registered user, is received, editing the format of the first information according to the editing instruction;
the using the first information as editing information includes:
and taking the first information after the format is edited as editing information.
In the embodiment of the invention, the registered users in the task group can edit the format of the first information according to requirements so as to adjust the format of the first information.
Specifically, the function corresponding to the editing instruction may include: at least one or more of undo, redo, bold, italics, underline, strikethrough, font color, background color, eraser, ordered list, unordered list, font size, left justified, center justified, right justified, split line, and hyperlink.
In order to clarify the identities of different registered users, in an embodiment of the present invention, the user identities of the at least two registered users include: the system comprises a feature identifier and at least one participation identifier, wherein the feature identifier is used for indicating registered users who create the task group and participate in interaction, and the participation identifier is used for indicating registered users who participate in interaction.
In the embodiment of the invention, the user identification can be divided into two parts, one part is the identification of the registered user for creating the task group, namely the initiator of the task, and the other part is the participant participating in interaction, so that the registered user can clearly identify the identities of other registered users according to different identifications.
As shown in fig. 2, an embodiment of the present invention provides a first client, including:
a group creating module 201, configured to create a task group in advance, where the task group includes: user identifications of at least two registered users;
an information processing module 202 configured to execute S1: upon receiving an edit request input by a current registered user of the at least two registered users in the task group created by the group creation module 201, determining whether the edit request is for editing a long message, if so, triggering the presentation module 203, and executing S3: receiving first information input by the current registered user on the long message editing interface displayed by the display module, taking the first information as editing information, and otherwise, executing S4: receiving second information input by the current registered user in a session interface of the task group, and taking the second information as editing information;
the presentation module 203 is configured to execute S2: displaying a long message editing interface for editing a long message;
a recipient determination module 204 for performing S5: determining at least one second identifier corresponding to the editing information received by the information processing module 202 according to each user identifier in the task group created by the group creation module 201;
an information pushing module 205, configured to execute S6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier of the current registered user in the task group created by the group creation module 201, the at least one second identifier determined by the receiver determination module 203, and the edit information received by the information processing module 202, so that the server sends the interaction information to a corresponding second client according to the at least one second identifier, and other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client.
In the embodiment of the invention, the task group containing a plurality of registered users is created through the group creation module, so that the information processing module can receive the editing information which is edited by the current registered user in the task group according to the task requirement and is used for interacting with at least one other registered user in the task group, the editing information can be short messages or long messages, when the current registered user needs to edit the long messages, the long message editing interface used for editing the long messages can be displayed through the display module, so that a large enough interface can be provided for the current registered user to edit the first information which is difficult to describe and understand, and misunderstanding of both parties of communication caused by insufficient description information is prevented; when the user does not need to edit the long message, the user can be determined that the number of characters of the information to be edited by the user is small, so that the user can directly edit the short and fragmented second message on the session interface of the task group, the editing operation of the user is simplified, and the use experience of the user is improved; and then, through the user identifications of different users in the task group, determining a second identification for indicating to receive the information edited by the current registered user through the receiver determining module, and sending the interaction information comprising the editing information edited by the current registered user, the first identification of the current registered user and the second identification determined by the receiver determining module to an external server by the information pushing module, so that other registered users corresponding to each second identification can know the interaction content by receiving the interaction information sent by the server through a second client, and the current registered user of the interactor can interact with the current registered user, thereby preventing poor communication effect of two communication parties and realizing efficient communication of the two communication parties.
In an embodiment of the present invention, the receiver determining module is configured to perform:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: s6 is executed with each of the user identities as a second identity.
In an embodiment of the present invention, the information processing module is further configured to receive discussion information sent by the server, where the discussion information is information sent by the second client and interacted with the current registered user, and the discussion information is information of other registered users of the at least two registered users; and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
As shown in fig. 3, an instant messaging system according to an embodiment of the present invention includes: at least one first client 301, at least one second client 302, and a server 303 as described in fig. 2;
the server 303 is configured to receive the interaction information and the at least one second identifier sent by the first client 301, and send the interaction information to the corresponding second client 302 according to the at least one second identifier;
the second client 302 is configured to receive the interaction information sent by the server 303, so that other registered users corresponding to the second identifier interact with a current registered user sending the interaction information according to the interaction information.
In the embodiment of the invention, the first client side can facilitate the current registered user in the task group to edit the editing information used for interacting with at least one other registered user in the task group according to the task requirement by creating the task group comprising a plurality of registered users, the editing information can be short messages or long messages, and when the current registered user needs to edit the long messages, the long message editing interface used for editing the long messages can be displayed, so that a large enough interface is provided for the current registered user to edit the first information which is difficult to describe and understand, and misunderstanding of two communication parties caused by insufficient description information is prevented; when the user does not need to edit the long message, the user can be determined that the number of characters of the information to be edited by the user is small, so that the user can directly edit the short and fragmented second message on the session interface of the task group, the editing operation of the user is simplified, and the use experience of the user is improved; and then, determining a second identifier for indicating to receive the information edited by the current registered user through the user identifiers of different users in the task group, namely sending the interaction information of each second identifier and the edited information to the server, so that other registered users corresponding to each second identifier receive the interaction information sent by the server through a second client to know the interaction content and the current registered user of the interactor, and are convenient to interact with the current registered user, thereby preventing poor communication effect of two communication parties and realizing efficient communication between the two communication parties.
In order to more clearly illustrate the technical solution and advantages of the present invention, the following detailed description is provided on how to transmit the user interaction information by using the instant messaging system, as shown in fig. 4, which specifically includes the following steps:
step 401: the method comprises the following steps that a first client creates a task group in advance, wherein the task group comprises: user identities and group identities of at least two registered users.
Specifically, the task initiator may create, through the first client, a task group for discussing the interactive content according to task requirements, where the task group includes people participating in interaction and users creating the task group, and the group identifier of the task group may be the interactive content to be discussed, so that the participants in the task group explicitly discuss the content. In order to distinguish the registered user who creates the task group (i.e. the originator of the interactive content) from the registered users who participate in the interaction, the characteristic identifier of the registered user who creates the task group is distinguished from the participation identifiers of the other registered users who participate in the interaction, so that the identities of the different registered users are made clear by the respective registered users.
Step 402: when receiving an edit request input by a current registered user of the at least two registered users, the first client determines whether the edit request is used for editing the long message, if so, step 403 is executed, otherwise, step 407 is executed.
Specifically, the current registered user may determine, according to a requirement, whether to edit a long message with a large number of characters or a short message with a relatively small number of characters, so that the first client provides different interfaces, and the current registered user performs editing through the different interfaces.
Step 403: the first client presents a long message editing interface for editing the long message, and step 404 is performed.
Specifically, when it is determined that a current registered user with an editing requirement needs to edit a long message with a larger number of characters, the first client may display a long message editing interface with an interface size larger than that of a session interface of the task group for the current registered user, so that the user edits the first message with a larger number of characters.
Step 404: the first client receives the first information input by the current registered user in the long message editing interface, and step 405 is executed.
Step 405: when receiving an editing instruction for editing the format of the first information, which is input by the currently registered user, the first client edits the format of the first information according to the editing instruction, and step 406 is executed.
Specifically, the currently registered user can edit the format of the first information, so as to meet the editing requirements of different users. The editing instructions may include: at least one or more of undo, redo, bold, italics, underline, strikethrough, font color, background color, eraser, ordered list, unordered list, font size, left justified, center justified, right justified, split line, and hyperlink.
Step 406: the first client performs step 408 using the first information after the format editing as editing information.
Step 407: the first client receives the second information input by the current registered user in the session interface of the task group, and performs step 408 with the second information as the editing information.
Specifically, when determining that the current registered user needs to edit information with a small number of characters, the first client may directly edit the information in the session interface of the task group, so as to simplify the editing operation of the current registered user and improve the user experience.
Step 408: the first client receives a triggering instruction for instructing to send the interactive information, which is input by the current registered user, and step 409 is executed.
Step 409: the first client determines whether at least one identification identifier corresponding to the interaction information determined by the current registered user is received, if so, step 410 is executed, otherwise, step 413 is executed.
Specifically, when receiving a trigger instruction which is input by a current registered user and used for indicating that interactive information can be sent to the server, the first client may send the information edited by the current registered user according to the identifier of a receiver of the information edited by the current registered user, so that the server sends the information edited by the current registered user according to the identifier to complete information transmission.
Step 410: the first client determines whether there is any identifier different from any user identifier in the respective identifiers, and if so, performs step 411, otherwise, performs step 412.
Specifically, when receiving the identification identifier of at least one user determined by the current registered user, the first client may first determine whether each identification identifier has a corresponding user identifier in the task group, that is, determine whether the user corresponding to the identification identifier is a registered user in the task group, so that when determining that the identification identifier has an identification identifier different from any user identifier, the first client first adds the identification identifier different from any user identifier into the task group to become a participant of the task group, so that the current registered user interacts with the first client.
Step 411: the first client adds an identifier different from any user identifier to the task group, and performs step 412.
Step 412: step 414 is performed with each of the identifiers as a second identifier.
Step 413: the first client performs step 414 with the respective user identities as second identities.
Specifically, when the user identifiers determined by the current registered user and the corresponding identifiers exist in the user identifiers in the task group, it can be determined that all objects to be interacted by the current registered user are members of the task group, and therefore, information can be transmitted through the server and the users corresponding to the respective identifiers.
Step 414: the first client sends the interactive information to the server, wherein the interactive information comprises: the server sends the interaction information to the corresponding second client according to each second identifier, so that other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client.
Specifically, after the second identifier of the user interacting with the current registered user is determined, the editing information, the first identifier of the current registered user, and the second identifier of the user who is the next to the editing information may be encapsulated to obtain the interaction information, and the interaction information is sent to the server, so that the server forwards the information used for interaction to the corresponding second client, and the user corresponding to the second identifier interacts with the current registered user according to the information received by the second client.
Specifically, the interactive information may further include a sending time of the editing information.
When the editing information is the first information with a large number of characters, the interactive information may further include a tag of the editing information (i.e., a group identifier of the task group) and a summary of the editing information (e.g., a beginning portion of the editing information), so that a recipient of the editing information may preliminarily know the interactive content according to the tag and the summary of the editing information after receiving the editing information, and then know the specific content of the interaction by viewing the editing information.
Specifically, the edit information may include: any one or more of text information, facial expression information, picture information, voice call, video call, and an attachment.
When the editing information comprises the attachments, the attachments in the task group can be subjected to collection management, so that the registered user can check, download and delete all the attachments sent by the registered user and all the received attachments, and the use experience of the user is improved.
Step 415: the first client receives discussion information sent by the server, wherein the discussion information is information which is sent by the second client and interacted with the current registered user and is other registered users in the at least two registered users.
Specifically, the discussion information may include: any one or more of text information, facial expression information, picture information, voice call, video call, and an attachment.
When the discussion information comprises the attachments, the attachments in the task group can be subjected to collection management, so that the registered user can check, download and delete all the attachments sent by the registered user and all the attachments received by the registered user, and the use experience of the user is improved.
Step 416: and when receiving an interactive instruction input by the current registered user according to the discussion information, the first client executes interactive operation corresponding to the interactive instruction so that the current registered user interacts with at least one other registered user.
Specifically, other registered users can send discussion information for interaction to the current registered user through the second client according to interaction requirements, or send the discussion information for replying the interaction information sent by the current registered user, so that the information is forwarded to the first client through the server, and thus, after receiving the information forwarded by the server and sent by the other registered users through the second client through the first client, the current registered user can input an interaction instruction according to the interaction requirements, so that the first client can execute corresponding operations, and the current registered user can interact with the other registered users.
Step 417: when receiving a management request input by a current registered user, a first client executes management operation corresponding to the management request on received session information, wherein the session information comprises: interactive information and/or discussion information.
Specifically, the registered users of the task group may perform management operations such as saving, deleting, querying, and the like on the interaction information and/or the discussion information received by the first client, so as to meet management requirements of different registered users.
In summary, the long message with more edited characters is merged into the instant communication tool, and the long message content is realized by adopting the technical framework of instant communication for bearing; the sending and receiving of the short message and the long message both adopt a unified technical processing mechanism of instant messaging, and the compiling and the displaying respectively adopt the respective suitable modes of the short message and the long message; the contact of the short message and the recipient of the long message may inherit each other. Automatically gathering attachments of the short message and attachments of the long message together; the short message communication and the long message communication both comprise two modes of communication among all members and communication among partial members in the character group, and the short message communication and the long message communication are convenient for users to check and manage.
The short message with short content, convenience and quickness and the long message with rich content format and strong expression capability are deeply fused into a whole, so that a set of convenient, quick, efficient communication tool with rich expressiveness and strong expression capability is provided. The short message and the long message are deeply fused into a whole, so that the communication contents of the same theme are gathered together, the performance is easy, the understanding is easy, the high-efficiency communication effect is finally achieved, meanwhile, the personnel who communicate around the same theme are gathered together, and the accurate transmission of the information and the consistency of the understanding are finally achieved through the flexible communication of the whole personnel and the communication among partial members.
The embodiments of the invention have at least the following beneficial effects:
1. in one embodiment of the invention, by creating a task group comprising a plurality of registered users, a current registered user in the task group can edit editing information used for interacting with at least one other registered user in the task group according to task requirements, the editing information can be short messages or long messages, and when the current registered user needs to edit a long message, a long message editing interface used for editing the long message can be displayed, so that a large enough interface is provided for the current registered user to edit first information which is difficult to describe and understand, and misunderstanding of two parties in communication due to insufficient description information is prevented; when the user does not need to edit the long message, the user can be determined that the number of characters of the information to be edited by the user is small, so that the user can directly edit the short and fragmented second message on the session interface of the task group, the editing operation of the user is simplified, and the use experience of the user is improved; and then, determining second identifiers used for indicating and receiving the information edited by the current registered user through the user identifiers of different users in the task group, namely sending the interaction information comprising the first identifier of the current registered user, each second identifier and the editing information to an external server, so that other registered users corresponding to each second identifier can know the interaction content through the interaction information sent by the server received by the second client, and the current registered user of the interactor can interact with the current registered user, thereby preventing poor communication effect of two communication parties and realizing efficient communication of the two communication parties.
2. In an embodiment of the present invention, the current registered user may determine an identification identifier of the interactive information according to a requirement, that is, a receiver of the interactive information, when the identification identifier corresponding to the interactive information is not an identifier of the task group, the identifier not in the task group may be added to the task group, so that other corresponding registered users can participate in the interaction of the task group, and then the information edited by the current registered user is respectively sent to each identification identifier, so that the other registered users corresponding to the identification identifier can receive the interactive information for interaction.
3. In an embodiment of the present invention, when a registered user creating a task group creates the task group, the interactive content of the task group may be set, so that participants in the task group interact according to the interactive content, and when editing information edited by the registered user is first information with a large number of characters, a tag of the editing information (i.e., a tag of the first information) is a group identifier of the task group, so that a receiver of the editing information determines the task group from which the editing information comes according to the group identifier after receiving the editing information, and determines receiver information of the editing information through each second identifier, and at the same time, the content of the editing information may be preliminarily known according to an outline of the editing information.
It is 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 a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (7)
1. An instant messaging method is applied to a first client to create a task group in advance, wherein the task group comprises: the user identifications of at least two registered users, further comprising:
s1: upon receiving an edit request input by a current registered user of the at least two registered users, determining whether the edit request is for editing a long message, if so, performing S2, otherwise, performing S4;
s2: displaying a long message editing interface for editing the long message, and executing S3;
s3: receiving first information input by the current registered user on the long message editing interface, taking the first information as editing information, and executing S5;
s4: receiving second information input by the current registered user in the session interface of the task group, taking the second information as editing information, and executing S5;
s5: determining at least one second identifier corresponding to the editing information according to each user identifier, and executing S6;
s6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier, the at least one second identifier and the edit information of the current registered user enable the server to send the interaction information to a corresponding second client according to the at least one second identifier, so that other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client;
the S5, including:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: performing S6 with each of the user identifiers as a second identifier;
the task group further comprises: a group identification indicating interactive content;
when the edit information is the first information,
the label of the editing information is the group identification;
the interactive information further comprises: a summary of the tag and the editing information;
after the receiving the first information input by the current registered user at the long message editing interface, before the using the first information as editing information, further comprising:
when an editing instruction for editing the format of the first information, which is input by the current registered user, is received, editing the format of the first information according to the editing instruction; the using the first information as editing information includes:
taking the first information after format editing as editing information;
wherein, the function corresponding to the editing instruction comprises: at least one of undo, redo, bold, italic, underline, strikethrough, font color, background color, eraser, ordered list, unordered list, font size, left justification, center justification, right justification, split line, and hyperlink.
2. The method of claim 1, further comprising:
receiving discussion information sent by the server, wherein the discussion information is information which is sent by the second client and interacts with the current registered user, and is sent by other registered users in the at least two registered users;
and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
3. The method of claim 2, further comprising:
when receiving a management request input by the current registered user, executing management operation corresponding to the management request on received session information, wherein the session information comprises: the interaction information and/or the discussion information.
4. The method according to any one of claims 1 to 3,
the user identifications of the at least two registered users include: the system comprises a feature identifier and at least one participation identifier, wherein the feature identifier is used for indicating registered users who create the task group and participate in interaction, and the participation identifier is used for indicating registered users who participate in interaction.
5. A first client, comprising:
the group creating module is used for creating a task group in advance, wherein the task group comprises: user identifications of at least two registered users;
an information processing module for executing S1: upon receiving an edit request input by a current registered user of the at least two registered users in the task group created by the group creation module, determining whether the edit request is for editing a long message, if so, triggering a presentation module, and performing S3: receiving first information input by the current registered user on the long message editing interface displayed by the display module, taking the first information as editing information, and otherwise, executing S4: receiving second information input by the current registered user in a session interface of the task group, and taking the second information as editing information;
the display module is configured to execute S2: displaying a long message editing interface for editing a long message;
a recipient determination module to perform S5: determining at least one second identifier corresponding to the editing information received by the information processing module according to each user identifier in the task group created by the group creation module;
an information pushing module, configured to execute S6: sending the interactive information to an external server, wherein the interactive information comprises: the first identifier of the current registered user in the task group created by the group creation module, the at least one second identifier determined by the receiver determination module, and the edit information received by the information processing module, so that the server sends the interaction information to a corresponding second client according to the at least one second identifier, and other registered users corresponding to the second identifier interact with the current registered user according to the interaction information received by the second client;
the receiver determination module is configured to perform:
d1: receiving a triggering instruction which is input by the current registered user and used for indicating to send the interaction information;
d2: determining whether at least one identification mark corresponding to the interaction information determined by the current registered user is received, if so, executing D3, otherwise, executing D6;
d3: determining whether there is a different identity from any of the user identities, if so, performing D4, otherwise, performing D5;
d4: adding an identification mark different from any user mark into the task group, and executing D5;
d5: performing S6 with each of the identification marks as a second mark;
d6: performing S6 with each of the user identifiers as a second identifier;
the task group further comprises: a group identification indicating interactive content;
when the edit information is the first information,
the label of the editing information is the group identification;
the interactive information further comprises: a summary of the tag and the editing information;
after the receiving the first information input by the current registered user at the long message editing interface, before the using the first information as editing information, further comprising:
when an editing instruction for editing the format of the first information, which is input by the current registered user, is received, editing the format of the first information according to the editing instruction; the using the first information as editing information includes:
taking the first information after format editing as editing information;
wherein, the function corresponding to the editing instruction comprises: at least one of undo, redo, bold, italic, underline, strikethrough, font color, background color, eraser, ordered list, unordered list, font size, left justification, center justification, right justification, split line, and hyperlink.
6. The first client of claim 5,
the information processing module is further configured to receive discussion information sent by the server, where the discussion information is information sent by other registered users of the at least two registered users and interacted with the current registered user through the second client; and when an interaction instruction input by the current registered user according to the discussion information is received, executing an interaction operation corresponding to the interaction instruction so that the current registered user interacts with at least one other registered user.
7. An instant messaging system, comprising: at least one of the first client, the at least one second client, and the server of claim 5 or 6;
the server is used for receiving the interaction information and at least one second identifier sent by the first client and sending the interaction information to the corresponding second client according to the at least one second identifier;
and the second client is used for receiving the interactive information sent by the server so as to enable other registered users corresponding to the second identifier to interact with the current registered user sending the interactive information according to the interactive information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910618793.6A CN110324239B (en) | 2019-07-10 | 2019-07-10 | Instant messaging method, system and first client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910618793.6A CN110324239B (en) | 2019-07-10 | 2019-07-10 | Instant messaging method, system and first client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110324239A CN110324239A (en) | 2019-10-11 |
CN110324239B true CN110324239B (en) | 2021-03-26 |
Family
ID=68121694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910618793.6A Active CN110324239B (en) | 2019-07-10 | 2019-07-10 | Instant messaging method, system and first client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110324239B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750185A (en) * | 2011-04-18 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Adaptive output method and system for data |
CN102929912A (en) * | 2012-09-10 | 2013-02-13 | 新浪网技术(中国)有限公司 | Method and system for generating microblog pictures |
CN102981852A (en) * | 2012-11-15 | 2013-03-20 | 北京奇虎科技有限公司 | Long text submission method and device thereof |
CN102981853A (en) * | 2012-11-15 | 2013-03-20 | 北京奇虎科技有限公司 | Method of long text submission through web page text input box and device thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297328B (en) * | 2013-06-20 | 2015-11-25 | 北京优佳荣科技有限公司 | A kind of information communication method and apparatus |
CN104778006B (en) * | 2015-03-31 | 2019-05-10 | 深圳市万普拉斯科技有限公司 | Information edit method and system |
CN106953794A (en) * | 2017-04-21 | 2017-07-14 | 中山可可网络科技有限公司 | Many people's instant communication information AC systems and method |
CN107193476B (en) * | 2017-05-10 | 2020-08-28 | 北京百度网讯科技有限公司 | Information input method and device, computer equipment and readable medium |
-
2019
- 2019-07-10 CN CN201910618793.6A patent/CN110324239B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750185A (en) * | 2011-04-18 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Adaptive output method and system for data |
CN102929912A (en) * | 2012-09-10 | 2013-02-13 | 新浪网技术(中国)有限公司 | Method and system for generating microblog pictures |
CN102981852A (en) * | 2012-11-15 | 2013-03-20 | 北京奇虎科技有限公司 | Long text submission method and device thereof |
CN102981853A (en) * | 2012-11-15 | 2013-03-20 | 北京奇虎科技有限公司 | Method of long text submission through web page text input box and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN110324239A (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10728192B2 (en) | Apparatus and method for message reference management | |
US11258737B2 (en) | Instant messaging method, apparatus and system based on email system | |
CN111654429B (en) | To-do creation method, display method, terminal device and storage medium | |
CN112231463B (en) | Session display method, apparatus, computer device and storage medium | |
US20100235758A1 (en) | Method, System and Apparatus for Sorting Topics within a Group | |
TWI677225B (en) | Instant messaging implementation method and device | |
CN101883057B (en) | Method and device for realizing instant messaging among multiple members in instant messaging group | |
US20080294741A1 (en) | Method of dynamically evaluating the mood of an instant messaging user | |
EP3402136A1 (en) | Information interaction method, client and device | |
CN102138156A (en) | Persisting a group in an instant messaging application | |
US8719357B2 (en) | Method and apparatus for managing message | |
CN109728996B (en) | Communication information display method, user equipment, storage medium and device | |
US9860198B1 (en) | Apparatus and method for message reference management | |
CN111698147B (en) | Message prompting method, device, terminal and storage medium | |
TW200404437A (en) | Annotating and routing message content | |
CN105991396A (en) | Message sending method and device | |
CN111130986B (en) | Message sending method, device, equipment and storage medium | |
CN106878154A (en) | Conversation message generation method and device, electronic equipment | |
CN110324239B (en) | Instant messaging method, system and first client | |
CN112104543A (en) | Message group sending method | |
WO2019023974A1 (en) | Communication control apparatus and method for multi-topic dialogue, and computer processing device | |
CN114095469B (en) | Information processing method, device, equipment and storage medium | |
JP5111301B2 (en) | IM-linked comment system | |
CN114022300A (en) | Social dynamic information publishing method and device, storage medium and electronic equipment | |
CN108293182A (en) | Mobile device and method |
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 |