CN115766647B - Group chat creation method based on mail event and electronic equipment - Google Patents

Group chat creation method based on mail event and electronic equipment Download PDF

Info

Publication number
CN115766647B
CN115766647B CN202211371317.7A CN202211371317A CN115766647B CN 115766647 B CN115766647 B CN 115766647B CN 202211371317 A CN202211371317 A CN 202211371317A CN 115766647 B CN115766647 B CN 115766647B
Authority
CN
China
Prior art keywords
mail
group chat
chat
user
information
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
CN202211371317.7A
Other languages
Chinese (zh)
Other versions
CN115766647A (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.)
Anke Xinchuang Tianjin Information Technology Co ltd
Original Assignee
Anke Xinchuang Tianjin Information Technology Co 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 Anke Xinchuang Tianjin Information Technology Co ltd filed Critical Anke Xinchuang Tianjin Information Technology Co ltd
Priority to CN202211371317.7A priority Critical patent/CN115766647B/en
Publication of CN115766647A publication Critical patent/CN115766647A/en
Priority to PCT/CN2023/115363 priority patent/WO2024093474A1/en
Application granted granted Critical
Publication of CN115766647B publication Critical patent/CN115766647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a group chat creation method based on mail events and electronic equipment. One embodiment of the method comprises the following steps: determining whether the target mail corresponds to a group chat identifier; in response to determining that the target mail corresponds to the group chat identifier, displaying a group chat window corresponding to the group chat identifier in the mail page; in response to determining that the target mail does not correspond to the group chat identifier, performing the steps of: creating a group chat identifier corresponding to the target mail; respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set; and displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat. The implementation mode does not need repeated communication through mails, simplifies the communication operation and improves the communication efficiency.

Description

Group chat creation method based on mail event and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a group chat creation method based on mail events and electronic equipment.
Background
Email is used as a formal communication mode, so that a plurality of participants can check after receiving the email. Currently, the communication manner between multiple participants is generally: either by replying to mail or by creating group chat in other applications.
However, the inventors found that when the above manner is adopted, there are often the following technical problems:
firstly, the mode of replying to the mail is low in efficiency, and when more mails need to be replied, the whole mail conversation list is large in volume, mail contents are displayed in disorder, and filing and searching of the mail contents are not facilitated; the method of re-creating the group chat in other applications requires the use of special instant messaging applications, the contact list is built first, then the chat group is created manually, and the mail application and the instant messaging application are switched, so that the operation is complicated, and the communication efficiency is low.
Secondly, the participants of the mail cannot be automatically adjusted, further the operation is complicated, and the communication efficiency is low.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a group chat creation method, apparatus, electronic device, and computer readable medium based on mail events to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a group chat creation method based on mail events, the method comprising: determining whether the target mail corresponds to a group chat identifier; in response to determining that the target mail corresponds to a group chat identifier, displaying a group chat window corresponding to the group chat identifier at a preset position corresponding to the target mail in a mail page, wherein at least one history chat information in a history chat information set is displayed in the group chat window, the group chat window corresponds to a history group chat user set and a current group chat user set, the history group chat user set corresponds to each history mail of the target mail, the current group chat user set corresponds to the target mail, and an initial state of the group chat window is an expanded state; in response to determining that the target mail does not correspond to the group chat identifier, performing the following steps: creating a group chat identifier corresponding to the target mail; respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set; and displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to a current group chat user set formed by the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat.
Optionally, before determining whether the target mail corresponds to the group chat identifier, the method further includes: in response to detecting a selection operation acting on a mail in a mail list displayed in the mail page, the selected mail is determined as a target mail.
Optionally, before determining whether the target mail corresponds to the group chat identifier, the method further includes: in response to receiving the mail, determining the received mail as a target mail; and displaying the target mail in a mail list of the mail page.
Optionally, the displayed group chat window includes a message display area and a message editing area, and the message editing area includes a message editing box and a message sending control; and displaying a group chat window corresponding to the group chat identifier at the preset position corresponding to the target mail in the mail page, including: and displaying at least one historical chat information in the historical chat information set in a message display area in the group chat window.
Optionally, displaying at least one historical chat information in the set of historical chat information in the message display area in the group chat window includes: according to the message sending time corresponding to each historical chat message in the historical chat message set, the historical chat messages in the historical chat message set are arranged in a descending order to obtain a historical chat message sequence; sequentially selecting at least one history chat message from the history chat message sequence in a front-to-back order, wherein a first screen occupation height corresponding to the at least one history chat message meets a first preset condition, a second screen occupation height corresponding to the at least one history chat message meets a second preset condition, the first screen occupation height is a sum of screen occupation heights of all history chat messages in the at least one history chat message, the first preset condition is that the first screen occupation height is greater than or equal to a region height of the message display region, the second screen occupation height is a sum of screen occupation heights of all target history chat messages corresponding to the at least one history chat message, the each target history chat message is all history messages except a last history chat message in the at least one history chat message, and the second preset condition is that the second screen occupation height is less than a region height of the message display region; and displaying the selected historical chat information in the message display area in the group chat window according to the ascending order of the message sending time.
Optionally, the method further comprises: in response to detecting a selection operation acting on the messaging control, performing the steps of: determining editing information of a corresponding message editing frame as chat information; displaying the chat information and a viewing identifier corresponding to the chat information in the message display area; in response to receiving the viewed information corresponding to the chat information, determining the number of the received viewed information corresponding to the chat information as the viewed number of the chat information; determining the number of each current group chat user included in the current group chat user set as the total number of the group chat users; generating viewing rate information corresponding to the chat information according to the checked quantity and the total quantity of the group chat users; and updating the viewing identification according to the viewing rate information.
Optionally, a group chat user viewing switching control is also displayed in the displayed group chat window; the method further comprises the following steps: in response to determining that the target mail is a mail sent by a current user and receiving mail subscription information corresponding to the target mail, displaying a mail subscription prompt window in the mail page, wherein the mail subscription information comprises a mail box number of a mail subscription user and a mail box number of a mail forwarding user forwarding the target mail to the mail subscription user, the mail subscription prompt window displays the mail subscription prompt information, and the mail subscription prompt information comprises a mail title of the target mail, a user identifier of the mail subscription user and a user identifier of the mail forwarding user; adding the mail subscription user as the current group chat user to the current group chat user set to update the current group chat user set; and in response to detecting a group chat user viewing operation acting on the group chat user viewing switching control, expanding a group chat user display area in the group chat window, wherein the user identification of each current group chat user in the updated current group chat user set is displayed in the group chat user display area.
Optionally, the method further comprises: determining the number of unread chat messages corresponding to the group chat marks as the number of unread chat messages; and displaying unread icons in the mail list at preset list positions corresponding to the target mails in response to the fact that the number of the unread chat messages is larger than a preset value, wherein the number of the unread chat messages is displayed in the unread icons, and the mails in the mail list are arranged in descending order according to time sequence.
Optionally, the method further comprises: in response to detecting a selection operation of a message priority mail list display control acting on the mail page, displaying a message priority mail list, wherein each mail in the message priority mail list corresponds to a group chat identifier, and each mail in the message priority mail list is arranged in descending order according to the message sending time sequence of the latest chat information; for each mail in the message priority mail list, the following steps are performed: the number of unread chat information corresponding to the group chat identifier of the mail is determined as unread quantity; and in response to determining that the unread quantity is greater than a preset value, displaying an unread icon in the message priority mail list at a preset list position corresponding to the mail, wherein the unread quantity is displayed in the displayed unread icon.
In a second aspect, some embodiments of the present disclosure provide a group chat creation apparatus based on mail events, the apparatus including: a determining unit configured to determine whether the target mail corresponds to a group chat identifier; a display unit configured to display, in response to determining that the target mail corresponds to a group chat identifier, a group chat window corresponding to the group chat identifier in a preset position of a mail page, where at least one history chat information in a history chat information set is displayed in the group chat window, the group chat window corresponds to a history group chat user set and a current group chat user set, the history group chat user set corresponds to each history mail of the target mail, the current group chat user set corresponds to the target mail, and an initial state of the group chat window is an expanded state; an execution unit configured to execute, in response to determining that the target mail does not correspond to the group chat identifier, the following steps: creating a group chat identifier corresponding to the target mail; respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set; and displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to a current group chat user set formed by the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat.
Optionally, before determining the unit, the group chat creating device based on the mail event further includes: and a first target mail determination unit configured to determine, as a target mail, a selected mail in response to detection of a selection operation of a mail acting in a mail list displayed in the mail page.
Optionally, before determining the unit, the group chat creating device based on the mail event further includes: a second target mail determining unit and a target mail displaying unit. Wherein the second target mail determination unit is configured to determine the received mail as the target mail in response to receiving the mail. The target mail display unit is configured to display the target mail in a mail list of the mail page.
Optionally, the displayed group chat window includes a message display area and a message edit area including a message edit box and a message send control.
Optionally, the display unit is further configured to: and displaying at least one historical chat information in the historical chat information set in a message display area in the group chat window.
Optionally, the display unit is further configured to: according to the message sending time corresponding to each historical chat message in the historical chat message set, the historical chat messages in the historical chat message set are arranged in a descending order to obtain a historical chat message sequence; sequentially selecting at least one history chat message from the history chat message sequence in a front-to-back order, wherein a first screen occupation height corresponding to the at least one history chat message meets a first preset condition, a second screen occupation height corresponding to the at least one history chat message meets a second preset condition, the first screen occupation height is a sum of screen occupation heights of all history chat messages in the at least one history chat message, the first preset condition is that the first screen occupation height is greater than or equal to a region height of the message display region, the second screen occupation height is a sum of screen occupation heights of all target history chat messages corresponding to the at least one history chat message, the each target history chat message is all history messages except a last history chat message in the at least one history chat message, and the second preset condition is that the second screen occupation height is less than a region height of the message display region; and displaying the selected historical chat information in the message display area in the group chat window according to the ascending order of the message sending time.
Optionally, the group chat creation device based on the mail event further includes: a first step execution unit configured to execute, in response to detection of a selection operation acting on the messaging control, the steps of: determining editing information of a corresponding message editing frame as chat information; displaying the chat information and a viewing identifier corresponding to the chat information in the message display area; in response to receiving the viewed information corresponding to the chat information, determining the number of the received viewed information corresponding to the chat information as the viewed number of the chat information; determining the number of each current group chat user included in the current group chat user set as the total number of the group chat users; generating viewing rate information corresponding to the chat information according to the checked quantity and the total quantity of the group chat users; and updating the viewing identification according to the viewing rate information.
Optionally, a group chat user view switch control is also displayed in the displayed group chat window.
Optionally, the group chat creation device based on the mail event further includes: the mail subscription prompt window display unit, the adding unit and the unfolding unit. The mail subscription prompt window display unit is configured to display a mail subscription prompt window in the mail page in response to determining that the target mail is a mail sent by a current user and receiving mail subscription information corresponding to the target mail, wherein the mail subscription information comprises a mail box number of a mail subscription user and a mail box number of a mail forwarding user forwarding the target mail to the mail subscription user, the mail subscription prompt information is displayed in the mail subscription prompt window, and the mail subscription prompt information comprises a mail title of the target mail, a user identifier of the mail subscription user and a user identifier of the mail forwarding user. The adding unit is configured to add the mail subscription user as a current group chat user to the current group chat user set to update the current group chat user set. The expanding unit is configured to expand a group chat user display area in the group chat window in response to detecting a group chat user viewing operation acting on the group chat user viewing switching control, wherein user identifications of current group chat users in the updated current group chat user set are displayed in the group chat user display area.
Optionally, the group chat creation device based on the mail event further includes: and the unread chat information quantity determining unit and the unread icon display unit. Wherein the unread chat information quantity determining unit is configured to determine the quantity of unread chat information corresponding to the group chat identifier as the unread chat information quantity. The unread icon display unit is configured to display unread icons in the mail list at preset list positions corresponding to the target mails in response to determining that the number of unread chat messages is greater than a preset value, wherein the number of unread chat messages is displayed in the unread icons, and the mails in the mail list are arranged in descending order according to time sequence.
Optionally, the group chat creation device based on the mail event further includes: a message priority mail list display unit and a second step execution unit. Wherein the message priority mail list display unit is configured to display a message priority mail list in response to detection of a selection operation of a message priority mail list display control acting on the mail page, wherein each mail in the message priority mail list corresponds to a group chat identifier, and each mail in the message priority mail list is arranged in descending order according to the message sending time sequence of the latest chat information. The second step execution unit is configured to execute the following steps for each mail in the message priority mail list described above: the number of unread chat information corresponding to the group chat identifier of the mail is determined as unread quantity; and in response to determining that the unread quantity is greater than a preset value, displaying an unread icon in the message priority mail list at a preset list position corresponding to the mail, wherein the unread quantity is displayed in the displayed unread icon.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors causes the one or more processors to implement the method described in any of the implementations of the first aspect above.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.
The above embodiments of the present disclosure have the following advantageous effects: according to the group chat creation method based on the mail event, which is disclosed by the embodiment of the invention, repeated communication through mails is not needed, so that the communication operation is simplified, and the communication efficiency is improved. Specifically, the reasons that the filing and the searching of mail contents are inconvenient, the operation is complicated and the communication efficiency is low are that: the mode of replying to the mail is low in efficiency, when more mails need to be replied, the whole mail conversation list body is large, mail content is displayed in disorder, and filing and searching of the mail content are not facilitated; the method of re-creating the group chat in other applications requires the use of special instant messaging applications, the contact list is built first, then the chat group is created manually, and the mail application and the instant messaging application are switched, so that the operation is complicated, and the communication efficiency is low. Based on this, the group chat creation method based on mail event of some embodiments of the present disclosure first determines whether the target mail corresponds to the group chat identifier. Thus, it can be determined in advance whether the target mail is a group chat created previously. Then, in response to determining that the target mail corresponds to the group chat identifier, a group chat window corresponding to the group chat identifier is displayed at a preset position corresponding to the target mail in a mail page. Wherein, at least one history chat information in the history chat information set is displayed in the group chat window. The group chat window corresponds to a historical group chat user set and a current group chat user set. The history group chat user sets each history mail corresponding to the target mail. The current group chat user set corresponds to the target mail. The initial state of the group chat window is an unfolding state. Thus, when the group chat of the target mail is created, the user can directly view the group chat window to review the history chat information sent by each history group chat user in the group chat. Finally, in response to determining that the target mail does not correspond to the group chat identifier, the following steps are executed: first, creating group chat identifiers corresponding to the target mails. Thus, when the group chat of the target mail is not created, the group chat identification of the group chat can be automatically created. And secondly, respectively forming a current group chat user set by taking each mail participating user of the target mail as a current group chat user. Therefore, the current mail participating users of the target mail can be directly combined into the current group chat user set. And thirdly, displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page. Wherein, the group chat window corresponding to the created group chat identifier displays the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat. The current group chat users in the composed current group chat user set correspond to the user identifications in the user identification set. Thus, the automatically-newly-built group chat window can be displayed. And because the mode of replying to the mail is not adopted, the communication efficiency is improved, the volume of the mail conversation list is reduced, the display confusion of the mail content is avoided, and the archiving and the searching of the mail content are facilitated. And because the group chat window can be directly displayed in the mail page, the special instant messaging application can be avoided, the contact list is not required to be constructed first, the back and forth switching between the mail application and the instant messaging application is not required, and the operation during communication can be simplified. And because the group chat can be automatically created when the group chat is not created, the manual creation of the chat group can be avoided, and the operation during communication is further simplified. Therefore, repeated communication through mails is not needed, communication operation is simplified, and communication efficiency is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a flow chart of some embodiments of a mail event based group chat creation method according to the present disclosure;
fig. 2 is a schematic structural diagram of some embodiments of a mail event based group chat creation arrangement according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Operations such as collection, storage, use, etc. of personal information (e.g., mail, chat information) of a user involved in the present disclosure, and before performing the corresponding operations, the relevant organization or individual is up to the end to include developing personal information security impact assessment, fulfilling informed obligations to the personal information body, soliciting authorized consent of the personal information body in advance, etc.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flow 100 of some embodiments of a mail event based group chat creation method according to the present disclosure. The group chat creation method based on the mail event comprises the following steps:
step 101, determining whether the target mail corresponds to a group chat identifier.
In some embodiments, an execution body (e.g., a terminal device) of the group chat creation method based on the mail event may determine whether the target mail corresponds to the group chat identifier through a wired connection manner or a wireless connection manner. The target mail may be a mail in a mail list selected by the user. The target mail may also be a mail sent by the current user. The group chat identifier may uniquely identify the group chat. In practice, first, the execution body may determine a source mail identification corresponding to the target mail. When the target mail refers to the mail, the source mail identifier may be a mail identifier of the initial mail referred to by the target mail. When the target mail does not refer to the mail, the source mail identifier may be a mail identifier of the target mail. Here, the mail piece identification may uniquely represent the mail piece. It may then be determined whether there is a group chat identifier corresponding to the source mail identifier. For example, whether the group chat identifier corresponding to the source mail identifier exists or not may be searched in the mail group chat comparison information set stored in the local or the server side. The mail group chat comparison information set may be comparison related information of each mail and each group chat. The mail group chat control information in the mail group chat control information set may include a mail identifier and a group chat identifier. Then, in response to determining that the group chat identifier corresponding to the source mail identifier exists, it may be determined that the target mail corresponds to the group chat identifier. Finally, the group chat identifier corresponding to the source mail identifier may be determined as the group chat identifier corresponding to the target mail.
It should be noted that the above wireless connection may include, but is not limited to, 3G/4G connection, wiFi connection, bluetooth connection, wiMAX connection, zigbee connection, UWB (Ultra Wide Band) connection, and other now known or later developed wireless connection methods. The execution subject may be a terminal device registered with the mailbox number of the current user. The current user may be a user currently logged into the mail application.
Alternatively, before step 101, the execution body may further determine, in response to detecting a selection operation acting on the mail in the mail list, the selected mail as the target mail. Wherein the mail list is displayed in the mail page. The mail list may be a list including individual mails. The selection operation may include, but is not limited to, at least one of: click, drag, hover. Thus, the user can select the mail by himself to view the group chat window.
Optionally, before step 101, the executing body may further determine, in response to receiving the mail, the received mail as the target mail. Then, the target mail may be displayed in a mail list of the mail page. Thus, when receiving the mail, the group chat window of the received mail can be displayed.
Step 102, in response to determining that the target mail corresponds to the group chat identifier, displaying a group chat window corresponding to the group chat identifier at a preset position corresponding to the target mail in the mail page.
In some embodiments, the executing body may display a group chat window corresponding to the group chat identifier in response to determining that the group chat identifier corresponds to the target mail, where the group chat window corresponds to the preset location of the target mail in the mail page. The mail page may be a top page of a mail application. The preset position may be below a mail display area of the target mail. The mail display area may be an area for displaying mail detailed information. The group chat window may be a window for displaying chat information. At least one historical chat information in the historical chat information set is displayed in the group chat window. The historical chat information set may be each chat information sent by the historical group chat user in the historical group chat user set in the group chat corresponding to the group chat identifier. The group chat window corresponds to a historical group chat user set and a current group chat user set. The history group chat user sets each history mail corresponding to the target mail. The current group chat user set corresponds to the target mail. The set of history group chat users may be a set of mail participating users of each history mail of the target mail. The respective history mails may be respective mails referred to by the target mail. The current group chat user set may be a set of individual mail participating users of the target mail. Here, the mail participating user may be a user participating in the transmission and reception of mail. Mail engaging users may include, but are not limited to: the method comprises the steps of receiving users, sending users, copying users and hidden sending users. The initial state of the group chat window is an unfolding state.
Optionally, the displayed group chat window may include a message display area and a message editing area. The message display area may be an area for displaying chat information. The message editing area may be an area for editing chat information. The message edit area may include a message edit box and a message sending control. The message edit box may be a box for displaying edited chat information. The messaging control may be a control for sending the edited chat information to the group chat.
In some optional implementations of some embodiments, the executing entity may display at least one of the set of historical chat information in a message display area in the group chat window. In practice, the executing body may sequentially display each of the at least one historical chat information in order of the message transmission time from the early to the late.
In some optional implementations of some embodiments, the executing entity may display at least one of the set of historical chat information in the message display area in the group chat window by:
Firstly, according to the message sending time corresponding to each historical chat message in the historical chat message set, the historical chat messages in the historical chat message set are arranged in a descending order to obtain a historical chat message sequence. The message transmission time may be a time of transmitting chat information to the group chat. Thus, the individual history chat messages can be arranged in descending order of message transmission time.
And step two, sequentially selecting at least one historical chat information from the historical chat information sequence according to the sequence from front to back. Wherein, the first screen occupation height corresponding to the at least one historical chat information meets a first preset condition. The occupation height of the second screen corresponding to the at least one historical chat message meets a second preset condition. The first screen occupation height may be a sum of screen occupation heights of each of the at least one historical chat information. The screen occupation height may be the height of the screen occupied by the historical chat information. The first preset condition may be that the first screen occupation height is greater than or equal to an area height of the message display area. The area height may be the height of the screen occupied by the message display area. The second screen occupation height may be a sum of screen occupation heights of respective target historical chat information corresponding to the at least one historical chat information. The target historical chat information may be each of the at least one historical chat information except the last historical chat information. When the at least one historical chat information is 2 historical chat information, the number of the target historical chat information is 1. When the at least one history chat information is 1 history chat information, the target history chat information is empty, and the occupied height of the second screen is 0. The second preset condition may be that the second screen occupies a smaller area than the message display area. Thus, a large amount of history chat information can be displayed in a limited area of the message display area.
And thirdly, displaying the selected historical chat information in the message display area in the group chat window according to the ascending order of the message sending time.
Step 103, in response to determining that the target mail does not correspond to the group chat identifier, performing the following steps:
step 1031, creating a group chat identifier corresponding to the target mail.
In some embodiments, the executing body may create a group chat identifier corresponding to the target mail. In practice, the executing body can create the group chat identifier corresponding to the target mail in a sequential encoding mode. In practice, the executing body may also create a group chat identifier corresponding to the target mail by:
first, determining the mail header of the target mail.
And a second step of combining the mail header and the sending time of the target mail into mail identification information. Here, the manner of combination may be character stitching.
And thirdly, generating group chat identifiers corresponding to the target mails according to the mail identification information. In practice, the execution body may generate a hash value of the mail identification information as a group chat identifier corresponding to the target mail. For example, the hash value may be an MD5 value.
Optionally, the executing body may combine the mail identifier of the target mail and the group chat identifier into mail group chat control information. The combined mail group chat control information may then be sent to the server.
Step 1032, each mail participating user of the target mail is respectively used as the current group chat user to form the current group chat user set.
In some embodiments, the executing body may respectively form the mail participating users of the target mail as current group chat users into a current group chat user set. In practice, the executing body may determine the receiving user, the sending user, the copying user and the blind sending user of the target mail as mail participating users, respectively. The determined individual mail participating users may then be determined as individual current group chat users. Finally, the determined current group chat users may be combined into a current group chat user set. Here, the receiving user, the sending user, the copying user, and the blind sending user may be represented by mailbox numbers, respectively.
Step 1033, displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page.
In some embodiments, the execution body may display a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page. Wherein, the group chat window corresponding to the created group chat identifier displays the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat. The newly-built prompting information of the group chat can be information for prompting that the group chat is newly built. For example, the group chat newly created prompt information may be "group chat creation success". The current group chat users in the composed current group chat user set correspond to the user identifications in the user identification set. Here, the correspondence between the current group chat users in the composed current group chat user set and the user identifications in the user identification set may be one-to-one correspondence. The user identification may be an identification characterizing the current group chat user. For example, the user identification may include, but is not limited to, at least one of: user head portrait, user nickname, mailbox number.
Optionally, the executing body may further execute, in response to detecting a selection operation acting on the messaging control, the following steps:
First, edit information of a corresponding message edit box is determined as chat information. The editing information may be information input by the current user in the message editing box.
And a second step of displaying the chat information and a viewing identifier corresponding to the chat information in the message display area. Wherein, the above-mentioned looking over the label can be the icon which characterizes the looking over the rate. In practice, the executing body may display the chat information and a viewing identifier corresponding to the chat information on the right side of the message display area. Here, the right side of the message display area may be used to display chat information transmitted by the current user. The left side of the message display area may be used to display chat messages sent by other chat users. The view identification may be displayed on one side or below the chat information. Here, the specific display position of the viewing logo is not limited.
And a third step of determining, in response to receiving the viewed information corresponding to the chat information, the number of the received viewed information corresponding to the chat information as the viewed number corresponding to the chat information. The viewed information may be information characterizing that other current chat users than the current user viewed the chat information. The viewed information may include the mailbox number and viewed identification of the current chat user. The viewed identity may be an identity that characterizes the viewed identity. For example, the viewed identification may be "Y".
And fourthly, determining the number of each current group chat user included in the current group chat user set as the total number of the group chat users.
And fifthly, generating viewing rate information corresponding to the chat information according to the checked quantity and the total quantity of the group chat users. In practice, first, the executing body may determine a difference between the total chat user amount and a preset value as the chat information receiving user amount. Wherein, the preset value may be 1. Then, a ratio of the number of viewed users to the total number of chat information receiving users may be determined as viewing rate information corresponding to the chat information.
And sixthly, updating the viewing identification according to the viewing rate information. In practice, the execution subject may display the view rate information in the view identifier to update the view identifier. In practice, the executing body may further display a pie chart corresponding to the viewing rate information in the viewing identifier, so as to update the viewing identifier.
Optionally, a group chat user view switch control is also displayed in the displayed group chat window. The group chat user viewing switch control may be a control for switching an expanded state of a group chat user display area. I.e. the group chat user display area may be unfolded or folded by the group chat user viewing switch control described above. The group chat user display area may be a control for displaying each current group chat user of the target mail.
Alternatively, first, the execution body may display a mail subscription prompt window in the mail page in response to determining that the target mail is a mail sent by a current user and receiving mail subscription information corresponding to the target mail. The mail subscription information may be information characterizing that the user subscribes to the target mail. Here, subscription may be to view received mail by receiving mail forwarded by other users. The mail subscription information may include a mail box number of a mail subscriber and a mail box number of a mail forwarding user forwarding the target mail to the mail subscriber. The mail subscription prompting window may be a window for prompting the current user that the target mail is subscribed to. The mail subscription prompt window displays mail subscription prompt information. The mail subscription prompting information may be information prompting the current user that the target mail is subscribed to. The mail subscription prompt information may include a mail header of the target mail, a user identifier of the mail subscription user, and a user identifier of the mail forwarding user. Specifically, the mail subscription prompt information may be information obtained by filling a mail header of the target mail, a user identifier of the mail subscription user, and a user identifier of the mail forwarding user into a preset prompt and prediction template. For example, the preset hint prediction template may be: the mail you send is entitled mail, which has been forwarded by user to user. Wherein the first underline is to fill the mail header. The second underlines the user identification of the mail forwarding user to be filled. And a third underline the user identification of the subscribing user to be filled with mail.
Then, the mail subscription user can be added to the current group chat user set as the current group chat user to update the current group chat user set. Thus, mail subscribing users can be automatically added to group chat.
Then, in response to detecting a group chat user viewing operation acting on the group chat user viewing switching control, a group chat user display area may be expanded in the group chat window. And displaying the user identification of each current group chat user in the updated current group chat user set in the group chat user display area. In practice, the executing body may expand the group chat user display area on the right side of the group chat window. Therefore, the current user can view the current group chat users.
Alternatively, first, the executing body may determine the number of unread chat messages corresponding to the group chat identifier as the number of unread chat messages. The unread chat information may be chat information in a group chat that the current user does not click to view. Then, in response to determining that the number of unread chat messages is greater than a preset value, an unread icon may be displayed at a preset list position in the mail list corresponding to the target mail. Wherein, the preset value may be 0. The preset list position corresponding to the target mail may be the forefront of the line where the target mail is located. Here, the specific setting of the preset list position is not limited. The unread icons may be dynamic icons that characterize the number of unread chat messages. The unread chat information quantity is displayed in the unread icon. The mails in the mail list are arranged in descending order according to time sequence. Specifically, when the mail list is a mail list of an inbox, the individual mails in the mail list may be arranged in descending order according to the mail reception time sequence. When the mail list is a mail list of a sender box, the individual mails in the mail list may be arranged in descending order according to the mail sending time sequence. Therefore, when the mail list of the inbox or the outbox is arranged according to the descending order of the receiving and sending time, the user can intuitively check the unread icons so as to know the unread chat information quantity of the mails.
Alternatively, first, the execution body may display a message priority mail list in response to detecting a selection operation of a message priority mail list display control acting on the mail page. The message priority mail list display control may be a control for receiving a selection operation of a user to display each mail corresponding to the group chat identifier. The message priority mail list may be a list of each mail corresponding to the group chat identifier in each mail participated by the current user. Each mail in the message priority mail list corresponds to a group chat identifier. Each mail in the message priority mail list is arranged in descending order according to the message sending time sequence of the latest chat information. The latest chat information may be the newly published chat information in the group chat corresponding to the mail.
Then, for each mail in the message priority mail list, the execution body may execute the steps of:
first, the number of unread chat information corresponding to the group chat identifier of the mail is determined as an unread amount.
And a second step of displaying an unread icon at a preset list position corresponding to the mail in the message priority mail list in response to determining that the unread amount is greater than a preset value. Wherein, the preset value may be 0. The preset list position corresponding to the mail may be the forefront of the line where the mail is located. Here, the specific setting of the preset list position is not limited. The unread amount is displayed in the unread icon displayed. Thus, when the current user selects to view each mail corresponding to the group chat, each mail which the current user participates in and corresponds to the group chat can be displayed in the message priority mail list. Meanwhile, the current user can know the quantity of unread chat information of the mail through the unread graph mark. Also, since the mails in the message priority mail list are arranged in descending order according to the message sending time sequence of the latest chat information, even if the sending time of the mails is longer, the mails can be arranged at the upper end of the message priority mail list when the latest chat information is received, so that the current user can quickly review the chat information in the group chat of the mails.
Alternatively, first, the executing body may delete the current group chat user corresponding to the mail participating user from the current group chat user set to update the current group chat user set in response to determining that the target mail is the mail sent by the current user and receiving the mail reception failure information of the mail participating user corresponding to the target mail. The mail receiving failure information may be information indicating that the target mail is not successfully sent to a mailbox of a corresponding mail participating user. The mail reception failure information may include a mail box number of the mail participating user and a mail reception failure identification. For example, the mail reception failure flag may be "received failed". Here, the mail reception failure information may be sent by the server side. Therefore, when the mail participating user does not successfully receive the target mail, the mail participating user can be automatically moved out of the group chat.
Then, in response to determining that the target mail is a mail sent by a current user and receiving mail deletion information of a mail participating user corresponding to the target mail, deleting the current group chat user corresponding to the mail participating user from the current group chat user set so as to update the current group chat user set. The mail deleting information may be information characterizing that the mail participating user deletes the received target mail. Here, the mail deletion information may be sent by the server side. The mail deletion information may include a mail box number and a mail deletion identification of the mail participating user. For example, the mail deletion flag may be "delete". Thus, when a mail participating user deletes the received target mail, the mail participating user can be automatically moved out of the group chat.
And then, according to the group chat identification corresponding to the target mail, synchronizing the updated current group chat user set to the server. In practice, the executing body may combine the mail identifier of the target mail, the group chat identifier, and the updated current group chat user set into mail group chat control information. The combined mail group chat control information may then be synchronized to the server. Thus, the updated current group chat user set can be synchronized to the remote end.
The technical scheme for updating the current group chat user set is used as an invention point of the embodiment of the disclosure, and solves the second technical problem that the automatic adjustment cannot be performed on the participants of the mail in the prior art, which further results in complicated operation and lower communication efficiency. Further, the operation is complicated, and the factors with low communication efficiency are as follows: automatic adjustment cannot be automatically performed on the participants of the mail. If the above factors are solved, the effects of simplifying the communication operation and improving the communication efficiency can be achieved. To achieve this, the present disclosure may automatically move a mail participant out of a group chat when the mail participant fails to receive a target mail. The mail participating user can also be automatically moved out of the group chat when the mail participating user deletes the received target mail. At the same time, the updated current group chat user set can be automatically synchronized to the far end. Therefore, the automatic adjustment of the participants of the mail is realized, the communication operation is simplified, and the communication efficiency is improved.
Alternatively, the execution body may display a message transmission time corresponding to any of the chat information at a target position of the any of the chat information in response to detecting a hover operation acting on the any of the chat information displayed in the message display area. Wherein the arbitrary chat information is chat information sent by the current group chat user in the current group chat user set or historical chat information sent by the historical group chat user in the historical group chat user set. The hovering operation may be an operation of holding the mouse within the range of any chat information for a preset period of time. Here, the specific setting of the preset time period is not limited. The target location may be above or below the arbitrary chat message. The target position can also be the left side or the right side of any chat information. Here, the specific setting of the target position is not limited. Then, in response to detecting the move-out operation corresponding to the above-described hover operation, the message transmission time corresponding to the above-described arbitrary chat information may be hidden. The moving-out operation may be an operation of moving the mouse out of the range of any chat information. Therefore, when the user needs to know the message sending time of the chat information, the user can check the message sending time through simple hovering operation, and the user can hide the message sending time through simple moving-out operation. Meanwhile, the display and the hiding of the message sending time can improve the space utilization rate of the group chat window.
The above embodiments of the present disclosure have the following advantageous effects: according to the group chat creation method based on the mail event, which is disclosed by the embodiment of the invention, repeated communication through mails is not needed, so that the communication operation is simplified, and the communication efficiency is improved. Specifically, the reasons that the filing and the searching of mail contents are inconvenient, the operation is complicated and the communication efficiency is low are that: the mode of replying to the mail is low in efficiency, when more mails need to be replied, the whole mail conversation list body is large, mail content is displayed in disorder, and filing and searching of the mail content are not facilitated; the method of re-creating the group chat in other applications requires the use of special instant messaging applications, the contact list is built first, then the chat group is created manually, and the mail application and the instant messaging application are switched, so that the operation is complicated, and the communication efficiency is low. Based on this, the group chat creation method based on mail event of some embodiments of the present disclosure first determines whether the target mail corresponds to the group chat identifier. Thus, it can be determined in advance whether the target mail is a group chat created previously. Then, in response to determining that the target mail corresponds to the group chat identifier, a group chat window corresponding to the group chat identifier is displayed at a preset position corresponding to the target mail in a mail page. Wherein, at least one history chat information in the history chat information set is displayed in the group chat window. The group chat window corresponds to a historical group chat user set and a current group chat user set. The history group chat user sets each history mail corresponding to the target mail. The current group chat user set corresponds to the target mail. The initial state of the group chat window is an unfolding state. Thus, when the group chat of the target mail is created, the user can directly view the group chat window to review the history chat information sent by each history group chat user in the group chat. Finally, in response to determining that the target mail does not correspond to the group chat identifier, the following steps are executed: first, creating group chat identifiers corresponding to the target mails. Thus, when the group chat of the target mail is not created, the group chat identification of the group chat can be automatically created. And secondly, respectively forming a current group chat user set by taking each mail participating user of the target mail as a current group chat user. Therefore, the current mail participating users of the target mail can be directly combined into the current group chat user set. And thirdly, displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page. Wherein, the group chat window corresponding to the created group chat identifier displays the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat. The current group chat users in the composed current group chat user set correspond to the user identifications in the user identification set. Thus, the automatically-newly-built group chat window can be displayed. And because the mode of replying to the mail is not adopted, the communication efficiency is improved, the volume of the mail conversation list is reduced, the display confusion of the mail content is avoided, and the archiving and the searching of the mail content are facilitated. And because the group chat window can be directly displayed in the mail page, the special instant messaging application can be avoided, the contact list is not required to be constructed first, the back and forth switching between the mail application and the instant messaging application is not required, and the operation during communication can be simplified. And because the group chat can be automatically created when the group chat is not created, the manual creation of the chat group can be avoided, and the operation during communication is further simplified. Therefore, repeated communication through mails is not needed, communication operation is simplified, and communication efficiency is improved.
With further reference to fig. 2, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a group chat creation apparatus based on mail events, which correspond to those method embodiments shown in fig. 1, and which are particularly applicable in various electronic devices.
As shown in fig. 2, the mail event based group chat creation apparatus 200 of some embodiments includes: a determination unit 201, a display unit 202, and an execution unit 203. Wherein the determining unit 201 is configured to determine whether the target mail corresponds to a group chat identifier; the display unit 202 is configured to display, in response to determining that the target mail corresponds to a group chat identifier, a group chat window corresponding to the group chat identifier in a preset position of a mail page, where at least one history chat information in a history chat information set is displayed in the group chat window, the group chat window corresponds to a history group chat user set and a current group chat user set, the history group chat user set corresponds to each history mail of the target mail, the current group chat user set corresponds to the target mail, and an initial state of the group chat window is an expanded state; the execution unit 203 is configured to, in response to determining that the target mail does not correspond to the group chat identifier, execute the following steps: creating a group chat identifier corresponding to the target mail; respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set; and displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to a current group chat user set formed by the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat.
Optionally, before determining the unit, the group chat creation apparatus 200 based on the mail event may further include: a first target mail determination unit (not shown in the figure) configured to determine, in response to detection of a selection operation of a mail acting on a mail list displayed in the mail page, the selected mail as a target mail.
Optionally, before the determining unit 201, the group chat creating apparatus 200 based on the mail event may further include: a second target mail determining unit and a target mail display unit (not shown in the figure). Wherein the second target mail determination unit is configured to determine the received mail as the target mail in response to receiving the mail. The target mail display unit is configured to display the target mail in a mail list of the mail page.
Optionally, the displayed group chat window includes a message display area and a message edit area including a message edit box and a message send control.
Optionally, the display unit 202 may be further configured to: and displaying at least one historical chat information in the historical chat information set in a message display area in the group chat window.
Optionally, the display unit 202 may be further configured to: according to the message sending time corresponding to each historical chat message in the historical chat message set, the historical chat messages in the historical chat message set are arranged in a descending order to obtain a historical chat message sequence; sequentially selecting at least one history chat message from the history chat message sequence in a front-to-back order, wherein a first screen occupation height corresponding to the at least one history chat message meets a first preset condition, a second screen occupation height corresponding to the at least one history chat message meets a second preset condition, the first screen occupation height is a sum of screen occupation heights of all history chat messages in the at least one history chat message, the first preset condition is that the first screen occupation height is greater than or equal to a region height of the message display region, the second screen occupation height is a sum of screen occupation heights of all target history chat messages corresponding to the at least one history chat message, the each target history chat message is all history messages except a last history chat message in the at least one history chat message, and the second preset condition is that the second screen occupation height is less than a region height of the message display region; and displaying the selected historical chat information in the message display area in the group chat window according to the ascending order of the message sending time.
Optionally, the group chat creation device 200 based on mail event may further include: a first step execution unit (not shown in the figure) configured to execute, in response to detection of a selection operation acting on the messaging control, the steps of: determining editing information of a corresponding message editing frame as chat information; displaying the chat information and a viewing identifier corresponding to the chat information in the message display area; in response to receiving the viewed information corresponding to the chat information, determining the number of the received viewed information corresponding to the chat information as the viewed number of the chat information; determining the number of each current group chat user included in the current group chat user set as the total number of the group chat users; generating viewing rate information corresponding to the chat information according to the checked quantity and the total quantity of the group chat users; and updating the viewing identification according to the viewing rate information.
Optionally, a group chat user view switch control is also displayed in the displayed group chat window.
Optionally, the group chat creation device 200 based on mail event may further include: mail subscription prompt window display unit, adding unit, and expanding unit (not shown in the figure). The mail subscription prompt window display unit is configured to display a mail subscription prompt window in the mail page in response to determining that the target mail is a mail sent by a current user and receiving mail subscription information corresponding to the target mail, wherein the mail subscription information comprises a mail box number of a mail subscription user and a mail box number of a mail forwarding user forwarding the target mail to the mail subscription user, the mail subscription prompt information is displayed in the mail subscription prompt window, and the mail subscription prompt information comprises a mail title of the target mail, a user identifier of the mail subscription user and a user identifier of the mail forwarding user. The adding unit is configured to add the mail subscription user as a current group chat user to the current group chat user set to update the current group chat user set. The expanding unit is configured to expand a group chat user display area in the group chat window in response to detecting a group chat user viewing operation acting on the group chat user viewing switching control, wherein user identifications of current group chat users in the updated current group chat user set are displayed in the group chat user display area.
Optionally, the group chat creation device 200 based on mail event may further include: an unread chat information quantity determining unit and an unread icon display unit (not shown in the figure). Wherein the unread chat information quantity determining unit is configured to determine the quantity of unread chat information corresponding to the group chat identifier as the unread chat information quantity. The unread icon display unit is configured to display unread icons in the mail list at preset list positions corresponding to the target mails in response to determining that the number of unread chat messages is greater than a preset value, wherein the number of unread chat messages is displayed in the unread icons, and the mails in the mail list are arranged in descending order according to time sequence.
Optionally, the group chat creation device 200 based on mail event may further include: a message priority mail list display unit and a second step execution unit (not shown in the figure). Wherein the message priority mail list display unit is configured to display a message priority mail list in response to detection of a selection operation of a message priority mail list display control acting on the mail page, wherein each mail in the message priority mail list corresponds to a group chat identifier, and each mail in the message priority mail list is arranged in descending order according to the message sending time sequence of the latest chat information. The second step execution unit is configured to execute the following steps for each mail in the message priority mail list described above: the number of unread chat information corresponding to the group chat identifier of the mail is determined as unread quantity; and in response to determining that the unread quantity is greater than a preset value, displaying an unread icon in the message priority mail list at a preset list position corresponding to the mail, wherein the unread quantity is displayed in the displayed unread icon.
It will be appreciated that the elements described in the apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and resulting benefits described above for the method are equally applicable to the apparatus 200 and the units contained therein, and are not described in detail herein.
Referring now to fig. 3, a schematic diagram of an electronic device 300 (e.g., a terminal device) suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means 301 (e.g., a central processing unit, a graphics processor, etc.) that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 308 including, for example, magnetic tape, hard disk, etc.; and communication means 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining whether the target mail corresponds to a group chat identifier; in response to determining that the target mail corresponds to a group chat identifier, displaying a group chat window corresponding to the group chat identifier at a preset position corresponding to the target mail in a mail page, wherein at least one history chat information in a history chat information set is displayed in the group chat window, the group chat window corresponds to a history group chat user set and a current group chat user set, the history group chat user set corresponds to each history mail of the target mail, the current group chat user set corresponds to the target mail, and an initial state of the group chat window is an expanded state; in response to determining that the target mail does not correspond to the group chat identifier, performing the following steps: creating a group chat identifier corresponding to the target mail; respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set; and displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to a current group chat user set formed by the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a determination unit, a display unit, and an execution unit. The names of these units do not constitute a limitation on the unit itself in some cases, and the determining unit may also be described as "a unit that determines whether or not the target mail corresponds to a group chat identifier", for example.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (9)

1. A group chat creation method based on mail events, comprising:
determining whether the target mail corresponds to a group chat identifier;
in response to determining that the target mail corresponds to a group chat identifier, displaying a group chat window corresponding to the group chat identifier at a preset position of the mail page, wherein at least one history chat information in a history chat information set is displayed in the group chat window, the group chat window corresponds to a history group chat user set and a current group chat user set, the history group chat user set corresponds to each history mail of the target mail, the current group chat user set corresponds to the target mail, and the initial state of the group chat window is an unfolding state;
in response to determining that the target mail does not correspond to a group chat identifier, performing the steps of:
creating a group chat identifier corresponding to the target mail;
respectively taking each mail participating user of the target mail as a current group chat user to form a current group chat user set;
displaying a group chat window corresponding to the created group chat identifier at a preset position corresponding to the target mail in the mail page, wherein the group chat window corresponding to the created group chat identifier displays newly-built prompting information of the group chat and a user identifier set corresponding to a current group chat user set formed by the newly-built prompting information of the group chat and the user identifier set corresponding to the current group chat user set formed by the newly-built prompting information of the group chat;
In response to detecting a selection operation of a message priority mail list display control acting on the mail page, displaying a message priority mail list, wherein each mail in the message priority mail list corresponds to a group chat identifier, and each mail in the message priority mail list is arranged in descending order according to the message sending time sequence of the latest chat information;
for each mail in the message priority mail list, performing the steps of:
determining the quantity of unread chat information corresponding to the group chat identifier of the mail as unread quantity;
and in response to determining that the unread quantity is greater than a preset value, displaying an unread icon in the message priority mail list at a preset list position corresponding to the mail, wherein the unread quantity is displayed in the displayed unread icon.
2. The method of claim 1, wherein prior to the determining whether the target mail corresponds to a group chat identification, the method further comprises:
in response to detecting a selection operation acting on a mail in a mail list displayed in the mail page, the selected mail is determined as a target mail.
3. The method of claim 1, wherein prior to the determining whether the target mail corresponds to a group chat identification, the method further comprises:
in response to receiving the mail, determining the received mail as a target mail;
and displaying the target mail in a mail list of the mail page.
4. The method of claim 1, wherein the displayed group chat window includes a message display area and a message edit area, the message edit area including a message edit box and a message send control; and
the displaying the group chat window corresponding to the group chat identifier at the preset position corresponding to the target mail in the mail page comprises the following steps:
at least one of the set of historical chat information is displayed in a message display area in the group chat window.
5. The method of claim 4, wherein the displaying at least one of the set of historical chat information in a message display area in the group chat window comprises:
according to the message sending time corresponding to each historical chat message in the historical chat message set, the historical chat messages in the historical chat message set are arranged in a descending order to obtain a historical chat message sequence;
Sequentially selecting at least one historical chat message from the historical chat message sequence according to a front-to-back sequence, wherein a first screen occupation height corresponding to the at least one historical chat message meets a first preset condition, a second screen occupation height corresponding to the at least one historical chat message meets a second preset condition, the first screen occupation height is the sum of screen occupation heights of all the historical chat messages in the at least one historical chat message, the first preset condition is that the first screen occupation height is greater than or equal to the area height of the message display area, the second screen occupation height is the sum of screen occupation heights of all target historical chat messages corresponding to the at least one historical chat message, the all the target historical chat messages are all the historical chat messages except the last historical chat message in the at least one historical chat message, and the second preset condition is that the second screen occupation height is smaller than the area height of the message display area;
and displaying the selected historical chat information in the message display area in the group chat window according to the ascending order of the message sending time.
6. The method of claim 4, wherein the method further comprises:
in response to detecting a selection operation acting on the messaging control, performing the steps of:
determining editing information of a corresponding message editing frame as chat information;
displaying the chat information and a viewing identifier corresponding to the chat information in the message display area;
in response to receiving the viewed information corresponding to the chat information, determining a quantity of each viewed information received corresponding to the chat information as a viewed quantity corresponding to the chat information;
determining the number of each current group chat user included in the current group chat user set as the total number of the group chat users;
generating viewing rate information corresponding to the chat information according to the viewed quantity and the total quantity of the group chat users;
and updating the viewing identification according to the viewing rate information.
7. The method of claim 1, wherein the displayed group chat window further displays a group chat user view switch control; and
the method further comprises the steps of:
in response to determining that the target mail is a mail sent by a current user and receiving mail subscription information corresponding to the target mail, displaying a mail subscription prompt window in the mail page, wherein the mail subscription information comprises a mail box number of a mail subscription user and a mail box number of a mail forwarding user forwarding the target mail to the mail subscription user, the mail subscription prompt window displays the mail subscription prompt information, and the mail subscription prompt information comprises a mail title of the target mail, a user identifier of the mail subscription user and a user identifier of the mail forwarding user;
Adding the mail subscription user as a current group chat user to the current group chat user set to update the current group chat user set;
and in response to detecting group chat user viewing operation acting on the group chat user viewing switching control, expanding a group chat user display area in the group chat window, wherein user identifications of all current group chat users in the updated current group chat user set are displayed in the group chat user display area.
8. A method according to one of claims 2 or 3, wherein the method further comprises:
determining the quantity of unread chat information corresponding to the group chat identifier as the quantity of unread chat information;
and in response to determining that the number of the unread chat messages is larger than a preset value, displaying unread icons in the mail list at preset list positions corresponding to the target mails, wherein the number of the unread chat messages is displayed in the unread icons, and the mails in the mail list are arranged in descending order according to time sequence.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-8.
CN202211371317.7A 2022-11-03 2022-11-03 Group chat creation method based on mail event and electronic equipment Active CN115766647B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211371317.7A CN115766647B (en) 2022-11-03 2022-11-03 Group chat creation method based on mail event and electronic equipment
PCT/CN2023/115363 WO2024093474A1 (en) 2022-11-03 2023-08-29 Group chat creation method based on mail event, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211371317.7A CN115766647B (en) 2022-11-03 2022-11-03 Group chat creation method based on mail event and electronic equipment

Publications (2)

Publication Number Publication Date
CN115766647A CN115766647A (en) 2023-03-07
CN115766647B true CN115766647B (en) 2023-09-12

Family

ID=85357775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211371317.7A Active CN115766647B (en) 2022-11-03 2022-11-03 Group chat creation method based on mail event and electronic equipment

Country Status (2)

Country Link
CN (1) CN115766647B (en)
WO (1) WO2024093474A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766647B (en) * 2022-11-03 2023-09-12 安科信创(天津)信息技术有限公司 Group chat creation method based on mail event and electronic equipment
CN116319656B (en) * 2023-05-17 2023-09-12 北京亿中邮信息技术有限公司 Mail group chat user invitation method, device, equipment and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086765A1 (en) * 2007-12-29 2009-07-16 Tencent Technology (Shenzhen) Company Limited Group information conversion device, method and group information interaction system
CN106230699A (en) * 2016-08-10 2016-12-14 深圳供电局有限公司 A kind of initiation by mail discusses the method and system linked up
CN113595857A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Group operation method, device, equipment and storage medium
CN114282874A (en) * 2020-09-17 2022-04-05 华为技术有限公司 Mail processing method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102066843B1 (en) * 2013-07-15 2020-01-16 삼성전자 주식회사 Method and apparatus for grouping using communication log
US11093125B1 (en) * 2014-12-09 2021-08-17 Amazon Technologies, Inc. Email conversation linking
CN108306810B (en) * 2017-01-11 2020-11-03 腾讯科技(深圳)有限公司 Group building method, server and terminal
CN113595850B (en) * 2020-04-30 2022-11-25 北京字节跳动网络技术有限公司 Information interaction method, device, server, system and storage medium
CN111798207A (en) * 2020-06-28 2020-10-20 字节跳动有限公司 Mail processing method, device, equipment and medium
CN115766647B (en) * 2022-11-03 2023-09-12 安科信创(天津)信息技术有限公司 Group chat creation method based on mail event and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009086765A1 (en) * 2007-12-29 2009-07-16 Tencent Technology (Shenzhen) Company Limited Group information conversion device, method and group information interaction system
CN106230699A (en) * 2016-08-10 2016-12-14 深圳供电局有限公司 A kind of initiation by mail discusses the method and system linked up
CN113595857A (en) * 2020-04-30 2021-11-02 北京字节跳动网络技术有限公司 Group operation method, device, equipment and storage medium
CN114282874A (en) * 2020-09-17 2022-04-05 华为技术有限公司 Mail processing method and electronic equipment

Also Published As

Publication number Publication date
CN115766647A (en) 2023-03-07
WO2024093474A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN115766647B (en) Group chat creation method based on mail event and electronic equipment
KR101695917B1 (en) Method, system and recording medium for managing group message
US11954426B2 (en) Method and apparatus for displaying online document, and storage medium
US9977571B2 (en) Method and apparatus for sharing contents of electronic device
US9323416B2 (en) Managing linked contact records containing information from multiple source records
JP6022540B2 (en) Push notification to update multiple dynamic icon panels
KR101662024B1 (en) Method and device for tagging chatting message
US20130047104A1 (en) System and Method for Providing Information Associated with a Messaging Contact
CN109688051B (en) Session list display method and device and electronic equipment
CN110658961B (en) Information display method and device and electronic equipment
US11336607B2 (en) Managing multiple forms of messages in a messaging application
US20220385618A1 (en) Information display method and apparatus, electronic device, and storage medium
KR20160075457A (en) Method device, and server for grouping chatting message
CN114565476A (en) Information processing method, device, terminal and storage medium
US11159670B2 (en) Notification providing method and electronic device implementing same
CN114338576A (en) Task participant adding method and device, electronic equipment and storage medium
CN111580922A (en) Interactive message display method and device of application program and readable storage medium
CN111596995A (en) Display method and device and electronic equipment
US20240094883A1 (en) Message selection method, apparatus and device
KR20150116554A (en) Method and device for gernerating clipborad data of element being included in contents
KR20150138513A (en) Method device, and server for grouping chatting message
KR102058635B1 (en) Method for controlling file name and an electronic device thereof
CN110568976B (en) Method, device, equipment and storage medium for controlling application display
CN115022269A (en) Message processing method, device, equipment and medium
CN114995689A (en) Electronic document processing method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant