CN113098755B - Group chat creating method, device, terminal and storage medium - Google Patents
Group chat creating method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN113098755B CN113098755B CN202110249780.3A CN202110249780A CN113098755B CN 113098755 B CN113098755 B CN 113098755B CN 202110249780 A CN202110249780 A CN 202110249780A CN 113098755 B CN113098755 B CN 113098755B
- Authority
- CN
- China
- Prior art keywords
- group
- account
- message
- chat
- accounts
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000002452 interceptive effect Effects 0.000 claims description 36
- 230000004044 response Effects 0.000 claims description 9
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000007667 floating Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000004931 aggregating effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to a group chat creating method, a group chat creating device, a terminal and a storage medium, and relates to the technical field of the Internet. The method comprises the following steps: displaying a chat interface of a first group, wherein the chat interface of the first group displays session messages in the first group; responding to the selection operation of the session message in the first group, and generating a group creation control, wherein the selected session message is sent by part of accounts in the first group; under the condition that a creating instruction generated based on a group creating control is received, determining a plurality of target accounts, wherein the plurality of target accounts comprise accounts for sending selected session messages; and displaying a chat interface of a second group, wherein the second group comprises a plurality of target accounts, and the chat interface is at least used for displaying the selected session messages. According to the method, the user can realize one-key group establishment by selecting the session message, and a new group is established without manually pulling one account, so that the group chat establishing efficiency is improved.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a group chat creating method, apparatus, terminal, and storage medium.
Background
At present, office software is created to facilitate communication and management within companies. The office software can support group chat function; however, when discussing a topic, it may not be necessary for all users of the group to participate in the discussion, and thus several users participating in the discussion may individually create a new group chat.
In the related art, a user needs to manually pull an account of a topic correlator into a new group chat, which results in low efficiency in creating the group chat.
Disclosure of Invention
The disclosure provides a group chat creating method, a group chat creating device, a terminal and a storage medium, and improves group chat creating efficiency. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a group chat creating method is provided, including:
displaying a chat interface of a first group, wherein conversation messages in the first group are displayed in the chat interface of the first group;
responding to the selected operation of the session message in the first group, and generating a group creation control, wherein the selected session message is sent by part of accounts in the first group;
under the condition that a creating instruction generated based on the group creating control is received, determining a plurality of target accounts, wherein the target accounts comprise accounts for sending the selected session messages;
and displaying a chat interface of the second group, wherein the second group comprises a plurality of target accounts, and the chat interface is at least used for displaying the selected session message.
In some embodiments, the determining a plurality of target accounts comprises:
determining a plurality of first accounts, wherein the first accounts comprise accounts for sending the selected session messages;
and forming a plurality of target accounts by the plurality of first accounts and the current account, wherein the current account is the account logged in by the current terminal.
In some embodiments, the determining the plurality of first accounts comprises:
displaying an account selection interface, wherein the account selection interface comprises a first display area and a second display area;
displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message;
displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account;
receiving a selection instruction based on the second account to be selected;
and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
In some embodiments, the second account number to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interactive time to the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
In some embodiments, the method further comprises:
if the session messages in the first group are from part of accounts in the first group in a target time period, displaying a prompt message, wherein the prompt message is used for prompting the establishment of a second group, and the target time period is a preset time period before the current time.
In some embodiments, the method further comprises:
merging the selected session messages into an aggregated session message, and displaying the aggregated session message in a chat interface of the second group; or,
and directly displaying the selected conversation message in the chat interface of the second group.
In some embodiments, said merging said selected session messages into an aggregated session message comprises:
determining an arrangement order of the selected session messages based on the transmission time of the selected session messages;
and combining the selected session messages into the aggregated session messages according to the arrangement sequence.
In some embodiments, the method further comprises:
and responding to the expansion display operation of the aggregated session message, and expanding and displaying the session message aggregated by the aggregated session message.
In some embodiments, the method further comprises:
and responding to the unfolding canceling operation of the aggregated session message, and unfolding the session message aggregated by the aggregated session message.
In some embodiments, said displaying said selected conversation message directly in said second group's chat interface comprises:
and displaying the selected conversation message in a target display style in the chat interface of the second group, wherein the target display style is a display style used for showing that the displayed conversation message is a history conversation message.
In some embodiments, said presenting said selected conversation message in a targeted presentation style in said second group's chat interface comprises:
setting a boundary in the chat interface of the second group, and displaying the selected conversation message in the area above the boundary in the target display style.
In some embodiments, the generating a group creation control comprises:
and displaying menu information, wherein the group creation control is displayed in the menu information.
According to a second aspect of the embodiments of the present disclosure, there is provided a group chat creating apparatus, including:
the first display unit is configured to display a chat interface of a first group, and conversation messages in the first group are displayed in the chat interface of the first group;
the control generating unit is configured to execute a selection operation of a session message in the first group, and generate a group creation control, wherein the selected session message is sent by part of accounts in the first group;
a first determining unit, configured to determine a plurality of target accounts including an account for sending the selected session message in case of receiving a creation instruction generated based on the group creation control;
and the second display unit is configured to execute displaying of a chat interface of the second group, the second group comprises a plurality of target accounts, and the chat interface is at least used for displaying the selected session message.
In some embodiments, the first determination unit comprises:
a first determining subunit configured to perform determining a plurality of first accounts including an account to which the selected session message is transmitted;
and the combining subunit is configured to combine the plurality of first accounts and the current account into a plurality of target accounts, wherein the current account is an account logged in by the current terminal.
In some embodiments, the first determining subunit is configured to perform presenting an account selection interface, where the account selection interface includes a first display area and a second display area; displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message; displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account; receiving a selection instruction based on the second account to be selected; and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
In some embodiments, the second account to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interactive time to the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
In some embodiments, the apparatus further comprises:
the first display unit is configured to display a prompt message if the session message in the first group is from part of accounts in the first group within a target time period, wherein the prompt message is used for prompting to create a second group, and the target time period is a preset time period before the current time.
In some embodiments, the apparatus further comprises:
a message merging unit configured to perform merging of the selected conversation messages into an aggregated conversation message, and display the aggregated conversation message in a chat interface of the second group; or,
a second display unit configured to perform direct display of the selected conversation message in the chat interface of the second group.
In some embodiments, the message merging unit is configured to perform determining an arrangement order of the selected session messages based on the sending time of the selected session messages, and merging the selected session messages into the aggregated session message according to the arrangement order.
In some embodiments, the apparatus further comprises:
and the expanding and displaying unit responds to the expanding and displaying operation of the aggregated conversation message and expands and displays the conversation message aggregated by the aggregated conversation message.
In some embodiments, the apparatus further comprises:
and the unfolding canceling unit cancels and unfolds and displays the session message aggregated by the aggregated session message in response to the unfolding canceling operation of the aggregated session message.
In some embodiments, the second display unit is configured to display the selected conversation message in a target display style in the chat interface of the second group, where the target display style is a display style for indicating that the displayed conversation message is a history conversation message.
In some embodiments, the second display unit is configured to perform setting a boundary in the chat interface of the second group, and display the selected conversation message in the target display style in an area above the boundary.
In some embodiments, the control generating unit is configured to perform displaying of menu information, and the group creating control is displayed in the menu information.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the group chat creating method as described in the above embodiments.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform the group chat creating method as described in the above embodiments.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the group chat creating method of the above embodiments.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the disclosure, when a user wants to create a group, the user may select a session message from a chat interface of a first group and then trigger a creation instruction to trigger creation of a new group including an account to which the selected session message is sent. Therefore, in the method, the user can realize one-key group establishment by selecting the session message, and a new group is established without manually pulling one account, so that the group chat establishing efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation environment of a group chat creation method according to an example embodiment.
Fig. 2 is a flowchart illustrating a group chat creation method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a group chat creation method according to an exemplary embodiment.
Fig. 4 is a schematic diagram illustrating a group chat creation method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a group chat creation method according to an exemplary embodiment.
Fig. 6 is a schematic diagram illustrating a group chat creation method according to an exemplary embodiment.
Fig. 7 is a schematic diagram illustrating a group chat creation method according to an exemplary embodiment.
Fig. 8 is a schematic diagram illustrating a group chat creation method according to an exemplary embodiment.
Fig. 9 is a flowchart illustrating a group chat creation method according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a group chat creating apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an implementation environment of a group chat creation method according to an exemplary embodiment, and referring to fig. 1, the implementation environment includes: a server 20 and a plurality of terminals 10. Each terminal 10 and the server 20 are connected through a wireless or wired network.
Each terminal 10 has installed thereon a target application served by the server 20, and each terminal 10 can implement functions such as data transmission, information exchange, etc. through the target application. In some embodiments, the target application is an application in the operating system of the terminal 10 or an application provided by a third party. In some embodiments, the target application is any application having a group chat function, for example, the target application is a social application or an office application, etc.
In some embodiments, the plurality of terminals 10 create a target group through a target application installed thereon, in which a plurality of users using the plurality of terminals 10 can chat; and, the plurality of users can also create a new group chat in the target group and chat in the new group chat.
The terminal 10 is at least one of a mobile phone, a tablet computer, and a pc (personal computer) device. The server 20 may be at least one of a server, a server cluster composed of a plurality of servers, a cloud server, a cloud computing platform, and a virtualization center.
Fig. 2 is a flowchart illustrating a group chat creating method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S21, displaying a chat interface of a first group, in which the session messages in the first group are displayed;
in step S22, in response to a selection operation on the session message in the first group, generating a group creation control, where the selected session message is sent by a part of accounts in the first group;
in step S23, in the case of receiving the creation instruction generated based on the group creation control, determining a plurality of target accounts including an account to send the selected session message;
in step S24, a chat interface of the second group is displayed, where the second group includes a plurality of the target accounts, and the chat interface is at least used for displaying the selected session message.
In some embodiments, the determining the plurality of target accounts comprises:
determining a plurality of first accounts, wherein the first accounts comprise the account for sending the selected session message;
and forming a plurality of target accounts by the plurality of first accounts and the current account, wherein the current account is the account logged in by the current terminal.
In some embodiments, the determining the plurality of first accounts comprises:
displaying an account number selection interface, wherein the account number selection interface comprises a first display area and a second display area;
displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message;
displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account;
receiving a selection instruction based on the second account to be selected;
and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
In some embodiments, the second account to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interactive time in the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
In some embodiments, the method further comprises:
and if the session message in the first group is from part of accounts in the first group in a target time period, displaying a prompt message, wherein the prompt message is used for prompting to create a second group, and the target time period is a preset time period before the current time.
In some embodiments, the method further comprises:
merging the selected session messages into an aggregated session message, and displaying the aggregated session message in the chat interface of the second group; or,
and directly displaying the selected conversation message in the chat interface of the second group.
In some embodiments, the merging the selected session messages into an aggregated session message comprises:
determining an arrangement order of the selected session messages based on the transmission time of the selected session messages;
and according to the arrangement sequence, combining the selected session messages into the aggregated session message.
In some embodiments, the method further comprises:
and responding to the expansion display operation of the aggregated session message, and expanding and displaying the session message aggregated by the aggregated session message.
In some embodiments, the method further comprises:
and responding to the unfolding canceling operation of the aggregated session message, and unfolding the session message aggregated by the aggregated session message.
In some embodiments, the displaying the selected conversation message directly in the chat interface of the second group comprises:
and in the chat interface of the second group, displaying the selected conversation message in a target display style, wherein the target display style is a display style used for representing that the displayed conversation message is a history conversation message.
In some embodiments, the presenting the selected conversation message in the second group's chat interface in the target display style includes:
setting a boundary in the chat interface of the second group, and displaying the selected conversation message in the area above the boundary in the target display style.
In some embodiments, the generating a group creation control comprises:
and displaying menu information, wherein the group creation control is displayed in the menu information.
In the embodiment of the disclosure, when a user wants to create a group, the user may select a session message from a chat interface of a first group and then trigger a creation instruction to trigger creation of a new group including an account to which the selected session message is sent. Therefore, in the method, the user can realize one-key group establishment by selecting the session message, and a new group is established without manually pulling one account, so that the group establishment efficiency is improved.
Fig. 3 is a flowchart illustrating a group chat creating method, as shown in fig. 3, for use in a terminal, according to an exemplary embodiment, the method including the following steps.
In step S31, the terminal displays a chat interface of the first group, and the chat interface of the first group displays the session messages in the first group.
Wherein, the first group comprises a plurality of accounts. The users corresponding to the accounts are users in the same department, users in the same project, users in the same unit or any plurality of users. The terminal is a terminal for logging in the current account, and the current account is any one of the accounts. When the number of the conversation messages in the first group is larger, the chat interface can only display part of the conversation messages. And when the number of the conversation messages in the first group is small, the chat interface can display all the conversation messages.
For example, the first group includes 5 accounts, which are account a, account B, account C, account D, and account E, respectively, the user a sends a session message in the first group, "what does what is still a comment about the scheme discussed in the morning," the topic corresponding to the session message is "a comment about the scheme discussed in the morning," account B, account C, account D, and account E may be discussed with respect to the session message, that is, with respect to the topic corresponding to the session message.
In some embodiments, the terminal may display a prompt message in the chat interface to prompt the creation of the second group based on the session condition of the first group, and accordingly, the implementation manner of the step includes: if the session message in the first group comes from part of accounts in the first group in a target time period, the terminal displays a prompt message, the prompt message is used for prompting the establishment of a second group, and the target time period is a preset time period before the current time.
The preset time period may be set and changed as needed, which is not specifically limited in the embodiment of the present disclosure; for example, the preset time period is 10 minutes, 15 minutes, or the like.
In the embodiment of the disclosure, the session condition of the current first group can be detected, so that the user can be prompted to create a new group according to the session condition, that is, the intention of the user is predicted, and the sensitivity of creating the group chat is further improved.
In step S32, the terminal generates a group creation control in response to a selection operation on the session message in the first group, where the selected session message is sent by a part of accounts in the first group.
Because the conversation messages are displayed in the chat interface, a user can determine to receive the selected operation of one conversation message by pressing the conversation message for a long time; or, the user can press a conversation message for a long time through the terminal to trigger the terminal to display a selection option of each conversation message in the chat interface, and a plurality of conversation messages are selected through the selection option.
Correspondingly, the implementation manner of determining that the selected operation for the session message in the first group is received by the terminal includes: the user long presses any conversation message to trigger the long press operation of the conversation message; the terminal responds to the received long-time pressing operation on the conversation messages, a selection option is displayed for each conversation message in the chat interface, a user clicks the selection option through the terminal, and the terminal responds to the received clicking operation on any selection option in the chat interface and determines to receive the selection operation on the conversation messages related to the selection option.
For example, referring to fig. 4, the group name of the first group is a test group, the chat interface displays session messages of "what opinion does exist for the scheme discussed in the morning by everyone" sent in account a (zhang three), "what opinion does not exist for the scheme discussed in the morning by everyone" sent in account B (lee four), "as follows in the today's menu" sent in account C (wang five), "and date predicted to be completed should be added to" scheme 1 "sent in account D (chen six)," the current account is account B, the current account corresponds to user lee four long press message, "what opinion does exist for the scheme discussed in the morning by everyone", the terminal determines to receive long press operation for the session message, presents a selection option for each session message, clicks the selection option of "my opinion", "scheme 1 should be added to date predicted to be completed", the terminal determines to receive selection operation for the session message corresponding to the selection option, the at least one conversation message is "do you have an opinion about the scenario discussed in the morning", "i don't agree" and "scenario 1 should be added with the date expected to be completed".
It should be noted that, when the user triggers the operation of selecting any session message in the chat interface through the terminal, the user may select the operation of "multiple selection" option through the long-time pressing operation described above, or through clicking a right button, which is not specifically limited in the embodiment of the present disclosure.
In some embodiments, the terminal may determine the plurality of target accounts directly based on the selected operation of the selected session message, i.e., perform the operation of step S33.
In other embodiments, the terminal generates a group creation control in response to the selected operation of the selected session message, and determines the plurality of target accounts in the case of receiving a creation instruction, that is, performs the operation of step S33; correspondingly, the implementation manner of the terminal generating the group creation control is as follows: and the terminal displays menu information, and the group creation control is displayed in the menu information.
The menu information may further include a bar-by-bar forwarding control, a merge forwarding control, a collection control, a deletion control, or a cancel control. The display position of the menu information can be set and changed as required, which is not specifically limited in the embodiment of the present disclosure; for example, the terminal presents the menu information below or to the right of the chat interface.
For example, with continued reference to fig. 4, menu information is presented below the chat interface, the menu information including a group creation control, a stripe-by-stripe forwarding control, a merge forwarding control, a favorite control, a delete control, and a cancel control, wherein the caption of the group creation control is "create a group containing the sender of the message".
In the embodiment of the disclosure, the menu information is displayed, so that the user can directly select the group creation control in the menu information to create the second group, thereby avoiding the occurrence of terminal misoperation caused by the fact that the intention of the user for selecting the session message is not to create the second group, and further improving the efficiency of creating the group chat.
In step S33, the terminal, upon receiving the creation instruction generated based on the group creation control, determines a plurality of target accounts including an account to which the selected session message is sent.
In this step, the terminal determines that the creation instruction is received in response to the selected operation on the group creation control. Correspondingly, the implementation mode that the terminal determines that the selected operation of the group creation control is received includes: and the terminal receives the clicking operation of the group creation control and determines to receive the selected operation of the group creation control.
Wherein, the target accounts can be the accounts in the first group; or the target accounts are the first group terminal account and the accounts in other groups. Because the terminal is a terminal for logging in the current account, when the second group is created, the current account needs to be added to the second group. Correspondingly, the implementation mode of the step comprises the following steps: the terminal determines a plurality of first accounts, wherein the first accounts comprise the account for sending the selected session message; the terminal combines the first accounts and the current account into a plurality of target accounts, and the current account is the account logged in by the current terminal.
In the embodiment of the present disclosure, since the plurality of target accounts always include the sending account and the current account of the selected session message, the timeliness of acquiring the session message of the second group by the current account and the account discussing the same topic is further ensured.
In this step, referring to fig. 5, the implementation manner of the terminal determining the plurality of first accounts includes the following steps S331 to S335:
s331: the terminal displays an account number selection interface, and the account number selection interface comprises a first display area and a second display area.
In some embodiments, the terminal presents the account selection interface directly in a chat interface in the first group. Correspondingly, the display position of the account number selection interface can be set and changed according to needs, which is not specifically limited in the embodiment of the disclosure; for example, the terminal presents the account selection interface below or to the right of the chat interface.
In other embodiments, the terminal sets a floating window in the chat interface in the first group, and the account selection interface is displayed in the floating window. Correspondingly, the setting position of the floating window can be set and changed as required, which is not specifically limited in the embodiment of the present disclosure; for example, the terminal sets the floating window below or to the right of the chat interface. Referring to fig. 6, the terminal displays the account selection interface on the right side of the chat interface, where the title of the account selection interface is: and initiating group chat.
S332: and the terminal displays the selected account in the first display area, wherein the selected account is the account for sending at least one session message.
For example, the first group includes 5 accounts, which are account a, account B, account C, account D, and account E, respectively, where the account sending the selected session message, i.e., the first account, is account a, account B, and account D.
In some embodiments, in the account selection interface, a selection option of each account is displayed, and since the user has triggered the selection operation of the selected session message in step S32, the selection option of the account is in a selected state in the account selection interface. Correspondingly, the user can deselect the account corresponding to the selection option by triggering the selection option.
S333: and the terminal displays at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account.
For example, the first group includes 5 accounts, which are account a, account B, account C, account D, and account E, respectively, and the first account is account a, account B, and account D, and the second account is account C and account E.
With continued reference to FIG. 6, the first display area shows a first account number: account a (zhang san), account B (li si) and account D (chen xi). The second display area is a second account: account number C (wangwu) and account number E (zhao qi).
In the embodiment of the disclosure, the accounts in the first group except for the plurality of first accounts are displayed to the user, so that the user can conveniently select other accounts in the first group, and the efficiency of determining the second account is improved.
In some embodiments, the second account to be selected further comprises at least one of:
firstly, the method comprises the following steps: the second account to be selected comprises a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interaction time in the contact list of the current account.
In some embodiments, the implementation manner of determining, by the terminal, the first interactive account of the current account is as follows: and the terminal determines the accounts with the closest interaction time in the contact list as the first interaction account based on the interaction time between each account in the contact list of the current account and the current account.
The preset number may be set and changed as needed, and is not specifically limited in the embodiment of the present disclosure; for example, the preset number may be 3, 5, 6, etc.
In the embodiment of the disclosure, the account with the closest interaction time in the contact list of the current account is used as the second account, so that the user does not need to manually select the part of accounts from the contact list, and the time for creating the group is saved.
Secondly, the method comprises the following steps: the second account to be selected comprises a second interactive account of the selected first account, wherein the second interactive account is an account having a preset hierarchical relationship with the selected first account.
Wherein, the preset hierarchical relationship can be an upper level; for example, the selected first account is a member of the project group, and the determined second interactive account may be a project group leader, a company manager, or the like.
In some embodiments, the implementation manner of the terminal determining the second interactive account of the selected first account is as follows: and the terminal determines a second interactive account having a preset hierarchical relationship with the first account from the contact list of the selected first account. Accordingly, the implementation of this step includes the following steps S3331-S3333:
s3331: and for each selected first account, the terminal determines department information and position information of the first account based on the remark information of the first account.
For example, the first account is account a, and the remark information of account a is: and if the research and development department, the test engineer and Zhang III, the terminal determines that the department information of the first account is as follows: research and development department, position information is: and (4) testing an engineer.
S3332: and the terminal determines the department information and the position information of each account in the contact list of the selected first account based on the remark information of the account.
The subsequent screening of the accounts with the preset hierarchical relationship is carried out by acquiring the department information and the position information of each account.
S3333: and the terminal determines a second interactive account which is in the same department as the selected first account and has the position of the upper level of the target account from the contact list based on the department information and the position information of the first account and the department information and the position information of each account in the contact list.
Wherein, the terminal stores the corresponding relation of the upper and lower levels of each position in advance. Correspondingly, for each account in the contact list, the terminal responds that the account is the same as the department information of the first account, the position of the account is matched with the upper-level position corresponding to the position of the target account, and the account is used as a second interactive account.
In the embodiment of the disclosure, by determining the second interactive account, which is in the same department as the first account and has the position higher than the target account, from the contact list of the selected first account, the superior of the user corresponding to the selected first account can view the session message of the second group, so that the working progress can be timely obtained, and the operation time is saved.
In the embodiment of the disclosure, the account having the preset hierarchical relationship with the selected first account is used as the second interactive account, so that subsequent session messages in the second group can be viewed by the users corresponding to the accounts having the preset hierarchical relationship with the target accounts, thereby avoiding the occurrence that the users miss the work progress due to the fact that the users cannot view the session messages of the second group, further ensuring the openness of the work content, and improving the convenience of message viewing.
S334: and the terminal receives a selection instruction based on the second account to be selected.
And correspondingly, the user triggers the selection options through the terminal, and the terminal responds to the triggering operation of receiving the selection options and determines the second account corresponding to the selection options as the selected second account.
S335: and the terminal responds to the selection instruction, displays the selected second account in the first display area, and displays the determined first account in the first display area.
In the embodiment of the disclosure, the accounts except the account for sending the selected session message are displayed in the chat interface, so that the user can select other accounts to create the second group, and the group creation selectivity is improved.
In step S34, the terminal displays the chat interface of the second group, where the second group includes a plurality of target accounts.
And the users belonging to the target accounts of the second group can send and receive the session messages in the second group through the used terminals. In this step, the terminal may update the chat interface of the first group to the chat interface of the second group; or, the terminal may set a display window for each chat interface, display the chat interfaces of the first group in the first display window, and display the chat interfaces of the second group in the second display window.
In the embodiment of the present disclosure, the chat interface is at least used for displaying the selected session message, and accordingly, the terminal performs the operation of step S35. In some embodiments, the chat interface is further configured to present an identification of the account sending the selected session message, e.g., the identification is an avatar of the account. In other embodiments, the chat interface is further configured to display a group identifier of the second group, for example, the group identifier is a group name.
In step S35, the terminal presents the selected conversation message in the chat interface of the second group.
In some embodiments, the terminal may directly present the selected session message; correspondingly, the terminal directly displays the selected conversation message in the chat interface of the second group.
In the embodiment of the disclosure, the selected conversation message is directly displayed on the chat interface of the second group, so that one user can directly view the selected conversation message, and the convenience is high.
In order to distinguish the selected session message from the session message created by the second group, the terminal may set different presentation modes for the selected session message. Correspondingly, the terminal displays the selected conversation message in a target display style in the chat interface of the second group, wherein the target display style is a display style used for showing that the displayed conversation message is a history conversation message.
In some embodiments, the target display style is not specifically limited by the present disclosure. For example, referring to fig. 7, the selected session message is displayed in the chat interface of the second group in the display style of the dashed-line session box, and the session message sent in the second group after the plurality of target accounts create the second group is displayed in the chat interface of the second group in the display style of the solid-line session box.
In other embodiments, the implementation manner of the terminal presenting the selected conversation message in the target display style in the chat interface of the second group includes: and setting a boundary in the chat interface of the second group by the terminal, and displaying the selected conversation message in an area above the boundary in the target display style. Referring to fig. 8, a boundary is set in the chat interface of the second group, the selected conversation message is located above the boundary, and the created conversation message is located below the boundary.
In the embodiment of the present disclosure, by setting a boundary, the selected session message and the session message created by the second group are distinguished, so that the user can easily distinguish the selected session message from the created session message, and the display effect is further improved.
It should be noted that the terminal may respectively display the selected session message in the chat interface of the second group based on the implementations provided by the two embodiments; or, the terminal may also show the selected session message in the chat interface of the second group by combining with the implementation manners provided by the two embodiments, which is not specifically limited in the embodiment of the present disclosure.
In the embodiment of the disclosure, the selected session message is displayed in the target display style, so that the user can better distinguish the selected session message from the session message created by the second group, and the display effect is further improved.
Fig. 9 is a flowchart illustrating a group chat creating method, as shown in fig. 9, for use in a terminal, according to an exemplary embodiment, the method including the following steps.
In step S91, the terminal displays a chat interface of the first group, and the chat interface of the first group displays the session messages in the first group.
In step S92, the terminal generates a group creation control in response to a selection operation on the session message in the first group, where the selected session message is sent by a part of accounts in the first group.
In step S93, the terminal, upon receiving the creation instruction generated based on the group creation control, determines a plurality of target accounts including an account to which the selected session message is sent.
In step S94, the terminal displays the chat interface of the second group, where the second group includes a plurality of target accounts.
In some embodiments, the contents of steps S91-S94 are similar to those of steps S31-S34, and are not repeated herein.
In step S95, the terminal merges the selected session messages into an aggregated session message, and displays the aggregated session message in the chat interface of the second group.
Since the selected session message is the session message in the first group, the terminal may perform aggregate presentation on the selected session message in order to distinguish the selected session message from the session message in the second group.
In the embodiment of the disclosure, the selected session message is displayed in an aggregation manner, so that the display resources of the chat interface of the second group are saved.
In some embodiments, if the number of the selected session messages is larger, the terminal may directly perform the aggregate display of the selected session messages, that is, the terminal performs the operation of step S95. The implementation manner of displaying the aggregated session message by the terminal may be: the terminal displays the aggregated session message in a conventional display mode of the session message; or the terminal displays the aggregation session message in a floating icon display mode.
The implementation manner of the terminal merging the selected session message into the aggregated session message may be as follows: the terminal determines the arrangement sequence of the selected session messages based on the sending time of the selected session messages, and combines the selected session messages into the aggregated session messages according to the arrangement sequence.
In the embodiment of the disclosure, the aggregated session messages are obtained by combining according to the arrangement sequence of the selected session messages in the first group, so that the user can conveniently check the sending time of each session message, and the convenience of checking the messages by the user is improved.
In other embodiments, when the number of the selected session messages is multiple, the terminal may aggregate and display the chat messages sent by the same account because the multiple session messages are sent by different accounts. Accordingly, step S95 may be: and the terminal combines the session messages sent by the account into an aggregated session message for each account sending the selected session message, and displays the aggregated session message of the account in the chat interface of the second group.
In the embodiment of the present disclosure, by aggregating and displaying the session messages sent by each account sending the selected session message, on the basis of saving the display resources of the chat interface of the second group, the user can directly distinguish the session messages sent by each account in the chat interface of the second group, thereby improving the efficiency of message viewing.
In step S96, the terminal performs an expansion presentation on the session message aggregated by the aggregated session message in response to the expansion presentation operation of the aggregated session message.
The expansion display operation includes operations such as clicking and double clicking, and in the embodiment of the present disclosure, the expansion display operation is not specifically limited. When the user wants to view the session message aggregated by the aggregated session message, the terminal can be triggered to expand and display the aggregated session message through the expansion and display operation.
In the embodiment of the disclosure, the session message aggregated by the aggregated session message can be displayed in the chat interface, and then when the user wants to view the session message, the terminal display can be triggered, so that the operation efficiency is high, and the display resource of the chat interface is saved.
The implementation manner of the terminal expanding and displaying the session message aggregated by the aggregated session message includes the following steps S961 to S963:
s961: the terminal determines a target display position of the aggregated session message in the chat interface of the second group.
In this step, the terminal may expand to present the conversation message in the vicinity of the aggregated conversation message, and therefore needs to determine the target display position of the aggregated conversation message in the chat interface of the second group.
S962: the terminal determines a target area around the target display position in the chat interface of the second group.
In this step, the terminal responds that the target display position is positioned at the right side in the chat interface, and the terminal determines that the left side of the target display position is the target area; or the terminal responds that the target display position is positioned above the chat interface, and the terminal determines that the position below the target display position is the target area; or the terminal responds to the target display position being positioned below the chat interface, and the terminal determines that the target area is positioned above the target display position. It should be noted that, the implementation manner of the terminal determining the target area around the aggregated session message may be set and changed as needed, and this is not specifically limited in the embodiment of the present disclosure.
S963: and the terminal expands and displays the session messages aggregated by the aggregated session messages in the target area.
In this step, the terminal may directly display the session message aggregated by the aggregated session message in the target area; or, the terminal may also present a floating interface in the target area, and expand the session message in which the aggregated session message is presented in the floating interface.
In the embodiment of the disclosure, the display position of the session message aggregated by the aggregated session message can be determined based on the target display position of the aggregated session message, so that a user can execute an expansion display operation through a terminal when the user wants to view the message content of the session message, and the applicability of the aggregated message is further improved.
In this step, since a lot of session messages appear in the chat interface of the second group when the user of the second group chats in the second group through the terminal, the user may cancel to expand and display the aggregated session message when the user does not need to view the session messages aggregated by the aggregated session message. Accordingly, the terminal performs the operation of step S97.
In step S97, the terminal unwinds the session message showing the aggregated session message in response to the unwinding operation of the aggregated session message.
The unfolding canceling operation can be operations such as clicking, double clicking, hovering and the like, and is different from the unfolding displaying operation. In the embodiment of the present disclosure, the unwinding cancellation operation is not particularly limited.
In the embodiment of the disclosure, because the expansion display of the aggregated session message can be cancelled, only the session message after the second group is created is displayed in the chat interface of the second group, thereby reducing the redundancy of the chat interface.
Fig. 10 is a block diagram illustrating a group chat creating apparatus according to an exemplary embodiment. Referring to fig. 10, the apparatus 100 includes a first presentation unit 1001, a control generation unit 1002, a first determination unit 1003, and a second presentation unit 1004.
A first presentation unit 1001 configured to perform presentation of a chat interface of a first group, in which a session message in the first group is displayed;
a control generating unit 1002, configured to execute a selection operation on a session message in the first group, and generate a group creation control, where the selected session message is sent by a part of accounts in the first group;
a first determining unit 1003 configured to determine a plurality of target accounts including an account for sending the selected session message in the case of receiving a creation instruction generated based on the group creation control;
a second presentation unit 1004 configured to perform presentation of a chat interface of the second group, the second group including a plurality of the target accounts, the chat interface at least being used for presenting the selected conversation message.
In some embodiments, the first determining unit 1003 includes:
a first determining subunit configured to perform determining a plurality of first accounts including an account to which the selected session message is transmitted;
and the combination subunit is configured to combine the plurality of first accounts and the current account into a plurality of target accounts, wherein the current account is an account registered by the current terminal.
In some embodiments, the first determining subunit is configured to execute a presentation account selection interface, the account selection interface including a first display area and a second display area; displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message; displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account; receiving a selection instruction based on the second account to be selected; and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
In some embodiments, the second account to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interactive time in the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
In some embodiments, the apparatus further comprises:
the first display unit is configured to display a prompt message if the session message in the first group is from part of accounts in the first group within a target time period, wherein the prompt message is used for prompting the creation of a second group, and the target time period is a preset time period before the current time.
In some embodiments, the apparatus further comprises:
the message merging unit is configured to perform merging of the selected session messages into the aggregated session messages, and display the aggregated session messages in the chat interface of the second group; or,
and the second display unit is configured to directly display the selected conversation message in the chat interface of the second group.
In some embodiments, the message merging unit is configured to perform determining an arrangement order of the selected session messages based on the transmission time of the selected session messages, and merging the selected session messages into the aggregated session message according to the arrangement order.
In some embodiments, the apparatus further comprises:
and the expanding and displaying unit is used for responding to the expanding and displaying operation of the aggregated conversation message and expanding and displaying the conversation message aggregated by the aggregated conversation message.
In some embodiments, the apparatus further comprises:
and the unfolding canceling unit is used for responding to the unfolding canceling operation of the aggregated conversation message and canceling the unfolding of the conversation message aggregated by the aggregated conversation message.
In some embodiments, the second display unit is configured to display the selected conversation message in a target display style in the chat interface of the second group, wherein the target display style is a display style for indicating that the displayed conversation message is a history conversation message.
In some embodiments, the second display unit is configured to perform setting a boundary in the chat interface of the second group, and display the selected conversation message in the target display style in an area above the boundary.
In some embodiments, the control generating unit 1002 is configured to execute presenting menu information, in which the group creating control is displayed.
In the embodiment of the disclosure, when a user wants to create a group, the user may select a session message from a chat interface of a first group and then trigger a creation instruction to trigger creation of a new group including an account to which the selected session message is sent. Therefore, in the method, the user can realize one-key group establishment by selecting the session message, and a new group does not need to be established by manually pulling one account, so that the group chat establishing efficiency is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating a terminal 10 according to an example embodiment. In some embodiments, the terminal 10 may be: smart phones, tablet computers, notebook computers, desktop computers, or the like. The terminal 10 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
Generally, the terminal 10 includes: a processor 101 and a memory 102.
In some embodiments, processor 101 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. In some embodiments, the processor 101 is implemented in hardware using at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). In some embodiments, processor 101 also includes a main processor and a coprocessor, the main processor is a processor for Processing data in the wake state, also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 101 is integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 101 further includes an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, memory 102 includes one or more computer-readable storage media that are non-transitory. In some embodiments, memory 102 also includes high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 102 is used to store at least one instruction for execution by the processor 101 to implement the group chat creation method provided by the method embodiments in the present disclosure.
In some embodiments, the terminal 10 may further include: a peripheral interface 103 and at least one peripheral. In some embodiments, processor 101, memory 102, and peripheral interface 103 are connected by buses or signal lines. In some embodiments, various peripheral devices are connected to peripheral interface 103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 104, display screen 105, camera assembly 106, audio circuitry 107, positioning assembly 108, and power supply 109.
The peripheral interface 103 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 101 and the memory 102. In some embodiments, processor 101, memory 102, and peripheral interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102 and the peripheral interface 103 are implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 104 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 104 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuitry 104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. In some embodiments, the radio frequency circuitry 104 communicates with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 104 further includes NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 105 is used to display a UI (User Interface). In some embodiments, the UI includes graphics, text, icons, video, and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to capture touch signals on or over the surface of the display screen 105. In some embodiments, the touch signal is input to the processor 101 as a control signal for processing. At this point, the display screen 105 is also used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 105 is one, disposed on the front panel of the terminal 10; in other embodiments, the display screens 105 are at least two, each disposed on a different surface of the terminal 10 or in a folded design; in other embodiments, the display 105 is a flexible display disposed on a curved surface or a folded surface of the terminal 10. Even further, the display screen 105 is arranged in a non-rectangular irregular pattern, i.e. a shaped screen. In some embodiments, the Display 105 is made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 106 is used to capture images or video. In some embodiments, camera assembly 106 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera head assembly 106 also includes a flash. In some embodiments, the flash is a single color temperature flash, and in some embodiments, the flash is a dual color temperature flash. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp and is used for light compensation under different color temperatures.
In some embodiments, audio circuitry 107 includes a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 101 for processing or inputting the electric signals to the radio frequency circuit 104 to realize voice communication. In some embodiments, the microphones are multiple and are disposed at different locations of the terminal 10 for stereo sound capture or noise reduction purposes. In some embodiments, the microphone is an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 101 or the radio frequency circuit 104 into sound waves. In some embodiments, the speaker is a conventional membrane speaker, and in some embodiments, the speaker is a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to human, but also the electric signal can be converted into a sound wave inaudible to human for use in distance measurement or the like. In some embodiments, audio circuitry 107 also includes a headphone jack.
The positioning component 108 is used to locate the current geographic Location of the terminal 10 for navigation or LBS (Location Based Service). In some embodiments, the Positioning component 107 is a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, or the russian galileo System.
The power supply 109 is used to supply power to the various components in the terminal 10. In some embodiments, the power supply 109 is alternating current, direct current, disposable or rechargeable batteries. When the power supply 109 includes a rechargeable battery, the rechargeable battery is a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery is also used to support fast charge technology.
In some embodiments, the terminal 10 also includes one or more sensors 110. The one or more sensors 110 include, but are not limited to: acceleration sensor 111, gyro sensor 112, pressure sensor 113, fingerprint sensor 114, optical sensor 115, and proximity sensor 116.
In some embodiments, the acceleration sensor 111 detects the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 10. For example, the acceleration sensor 111 is used to detect components of the gravitational acceleration on three coordinate axes. In some embodiments, the processor 101 controls the display screen 105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 111. In some embodiments, the acceleration sensor 111 is also used for the acquisition of motion data of a game or a user.
In some embodiments, the gyro sensor 112 detects the body direction and the rotation angle of the terminal 10, and the gyro sensor 112 and the acceleration sensor 111 cooperate to acquire the 3D motion of the user on the terminal 10. The processor 101 can implement the following functions according to the data collected by the gyro sensor 112: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
In some embodiments, the pressure sensors 113 are disposed on the side bezel of the terminal 10 and/or underlying layers of the display screen 105. When the pressure sensor 113 is disposed on the side frame of the terminal 10, the holding signal of the user to the terminal 10 can be detected, and the processor 101 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 113. When the pressure sensor 113 is disposed at the lower layer of the display screen 105, the processor 101 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 114 is used for collecting a fingerprint of the user, and the processor 101 identifies the user according to the fingerprint collected by the fingerprint sensor 114, or the fingerprint sensor 114 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 101 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. In some embodiments, the fingerprint sensor 114 is disposed on the front, back, or side of the terminal 10. When a physical key or a vendor Logo is provided on the terminal 10, the fingerprint sensor 114 is integrated with the physical key or the vendor Logo.
The optical sensor 115 is used to collect the ambient light intensity. In one embodiment, processor 101 controls the display brightness of display screen 105 based on the ambient light intensity collected by optical sensor 115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 105 is increased; when the ambient light intensity is low, the display brightness of the display screen 105 is reduced. In another embodiment, the processor 101 further dynamically adjusts the shooting parameters of the camera head assembly 106 according to the ambient light intensity collected by the optical sensor 115.
A proximity sensor 116, also known as a distance sensor, is typically provided on the front panel of the terminal 10. The proximity sensor 116 is used to collect the distance between the user and the front surface of the terminal 10. In one embodiment, when the proximity sensor 116 detects that the distance between the user and the front surface of the terminal 10 gradually decreases, the processor 101 controls the display 105 to switch from the bright screen state to the dark screen state; when the proximity sensor 116 detects that the distance between the user and the front surface of the terminal 10 is gradually increased, the display 105 is controlled by the processor 101 to switch from the sniff state to the illuminated state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 is not intended to be limiting of terminal 10, and can include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer readable storage medium comprising instructions, such as the memory 102 comprising instructions, which when executed by the processor 102 of the terminal 10, enable the terminal 10 to perform the group chat creating method as in the above embodiments. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises a computer program/instructions that when executed by a processor implement the group chat creating method in the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (26)
1. A group chat creating method is characterized by comprising the following steps:
displaying a chat interface of a first group, wherein conversation messages in the first group are displayed in the chat interface of the first group;
responding to the selected operation of the session message in the first group, and generating a group creation control, wherein the selected session message is sent by part of accounts in the first group;
under the condition that a creating instruction generated based on the group creating control is received, determining a plurality of target accounts, wherein the target accounts comprise accounts for sending the selected session messages;
and displaying a chat interface of a second group, wherein the second group comprises a plurality of target accounts, and the chat interface is at least used for displaying the selected session message.
2. A group chat creating method as claimed in claim 1, wherein the determining a plurality of target accounts comprises:
determining a plurality of first accounts, wherein the first accounts comprise accounts for sending the selected session messages;
and forming a plurality of target accounts by the plurality of first accounts and the current account, wherein the current account is the account logged in by the current terminal.
3. A group chat creating method according to claim 2, wherein the determining a plurality of first accounts comprises:
displaying an account selection interface, wherein the account selection interface comprises a first display area and a second display area;
displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message;
displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account;
receiving a selection instruction based on the second account to be selected;
and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
4. A group chat creating method according to claim 3, wherein the second account to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the most recent interactive time in the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
5. A group chat creating method according to claim 1, further comprising:
if the session messages in the first group are from part of accounts in the first group in a target time period, displaying a prompt message, wherein the prompt message is used for prompting the establishment of a second group, and the target time period is a preset time period before the current time.
6. A group chat creating method according to claim 1, wherein the method further comprises:
merging the selected session messages into an aggregated session message, and displaying the aggregated session message in a chat interface of the second group; or,
and directly displaying the selected conversation message in the chat interface of the second group.
7. A group chat creation method according to claim 6, wherein the merging the selected session messages into an aggregated session message comprises:
determining an arrangement order of the selected session messages based on the transmission time of the selected session messages;
and merging the selected session messages into the aggregated session message according to the ranking sequence.
8. A group chat creation method in accordance with claim 6, the method further comprising:
and responding to the expansion display operation of the aggregated session message, and expanding and displaying the session message aggregated by the aggregated session message.
9. A group chat creation method according to claim 8, further comprising:
and responding to the unfolding canceling operation of the aggregated session message, and unfolding the session message aggregated by the aggregated session message.
10. A group chat creation method in accordance with claim 6, wherein the displaying the selected session message directly in the chat interface of the second group comprises:
and displaying the selected conversation message in a target display style in the chat interface of the second group, wherein the target display style is a display style used for showing that the displayed conversation message is a history conversation message.
11. The method of claim 10, wherein presenting the selected session message in a target display style in the chat interface of the second group comprises:
setting a boundary in the chat interface of the second group, and displaying the selected conversation message in the area above the boundary in the target display style.
12. A group chat creation method as defined in claim 1, wherein the generating a group creation control comprises:
and displaying menu information, wherein the group creation control is displayed in the menu information.
13. A group chat creation apparatus, comprising:
the first display unit is configured to display a chat interface of a first group, and conversation messages in the first group are displayed in the chat interface of the first group;
the control generating unit is configured to execute a selection operation of a session message in the first group, and generate a group creation control, wherein the selected session message is sent by part of accounts in the first group;
a first determining unit configured to determine a plurality of target accounts including an account for sending the selected session message in case of receiving a creation instruction generated based on the group creation control;
and the second display unit is configured to execute displaying of a chat interface of a second group, wherein the second group comprises a plurality of target accounts, and the chat interface is at least used for displaying the selected session message.
14. The apparatus of claim 13, wherein the first determining unit comprises:
a first determining subunit configured to perform determining a plurality of first accounts including an account to which the selected session message is transmitted;
and the combining subunit is configured to combine the plurality of first accounts and a current account into a plurality of target accounts, wherein the current account is an account logged in by the current terminal.
15. A group chat creating apparatus according to claim 14, wherein the first determining subunit is configured to perform presenting an account selection interface, the account selection interface comprising a first display area and a second display area; displaying the selected account in the first display area, wherein the selected account is the account for sending the selected session message; displaying at least one second account to be selected in the second display area, wherein the second account to be selected at least comprises accounts in the first group except the selected account; receiving a selection instruction based on the second account to be selected; and responding to the selection instruction, displaying the selected second account in the first display area, and displaying the determined first account in the first display area.
16. A group chat creating apparatus according to claim 15, wherein the second account to be selected further comprises at least one of:
a first interactive account of the current account, wherein the first interactive account is a preset number of accounts with the closest interactive time to the contact list of the current account; or,
and the second interactive account of the selected first account is an account having a preset hierarchical relationship with the selected first account.
17. A group chat creating apparatus according to claim 13, wherein the apparatus further comprises:
the first display unit is configured to display a prompt message if the session message in the first group is from part of accounts in the first group within a target time period, wherein the prompt message is used for prompting to create a second group, and the target time period is a preset time period before the current time.
18. An apparatus as defined in claim 13, wherein the apparatus further comprises:
a message merging unit configured to perform merging of the selected conversation messages into an aggregated conversation message, and display the aggregated conversation message in a chat interface of the second group; or,
a second display unit configured to perform direct display of the selected conversation message in the chat interface of the second group.
19. A group chat creation apparatus according to claim 18, wherein the message merging unit is configured to perform determining an arrangement order of the selected session messages based on the sending time of the selected session messages, and merging the selected session messages into the aggregated session message according to the arrangement order.
20. A group chat creating apparatus according to claim 18, wherein the apparatus further comprises:
and the expansion display unit responds to the expansion display operation of the aggregated session message and expands and displays the session message aggregated by the aggregated session message.
21. An apparatus as defined in claim 20, wherein the apparatus further comprises:
and the unfolding canceling unit cancels and unfolds and displays the session message aggregated by the aggregated session message in response to the unfolding canceling operation of the aggregated session message.
22. The group chat creating apparatus of claim 18, wherein the second display unit is configured to display the selected conversation message in a target display style in the chat interface of the second group, and the target display style is a display style indicating that the displayed conversation message is a history conversation message.
23. A group chat creation apparatus as defined in claim 22, wherein the second display unit is configured to perform setting a boundary in the chat interface of the second group, and to present the selected conversation message in the target display style in an area above the boundary.
24. The apparatus of claim 13, wherein the control generating unit is configured to perform displaying menu information, and the group creating control is displayed in the menu information.
25. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the group chat creating method of any of claims 1 to 12.
26. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a terminal, enable the terminal to perform the group chat creating method of any of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110249780.3A CN113098755B (en) | 2021-03-08 | 2021-03-08 | Group chat creating method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110249780.3A CN113098755B (en) | 2021-03-08 | 2021-03-08 | Group chat creating method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113098755A CN113098755A (en) | 2021-07-09 |
CN113098755B true CN113098755B (en) | 2022-09-23 |
Family
ID=76666741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110249780.3A Active CN113098755B (en) | 2021-03-08 | 2021-03-08 | Group chat creating method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113098755B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113656133B (en) * | 2021-08-17 | 2023-05-30 | 腾讯科技(深圳)有限公司 | Picture display method and device, storage medium and electronic equipment |
CN113949683B (en) * | 2021-09-30 | 2023-12-19 | 北京达佳互联信息技术有限公司 | Operation method and device for reminding object, electronic equipment and storage medium |
CN114143563A (en) * | 2021-10-27 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Control method for live broadcast room and group session, electronic equipment and storage medium |
CN114064173A (en) * | 2021-11-09 | 2022-02-18 | 广州博冠信息科技有限公司 | Method, device, medium and equipment for creating instant session page |
CN115190094A (en) * | 2022-06-27 | 2022-10-14 | 联想(北京)有限公司 | Information display method, electronic equipment and computer readable storage medium |
CN115344153A (en) * | 2022-08-02 | 2022-11-15 | 北京达佳互联信息技术有限公司 | Session interface display method and device, electronic equipment and storage medium |
CN117764758A (en) * | 2022-09-21 | 2024-03-26 | 腾讯科技(成都)有限公司 | Group establishment method, device, equipment and storage medium for virtual scene |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624650A (en) * | 2012-04-16 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Discussion group creating method, and communication method, server and system based on discussion group |
CN108449260A (en) * | 2018-03-15 | 2018-08-24 | 链家网(北京)科技有限公司 | A kind of more people's chat messages collecting methods and system |
CN108494572A (en) * | 2018-03-19 | 2018-09-04 | 北京三快在线科技有限公司 | Topic group creation method based on group and device |
CN110401545A (en) * | 2019-06-18 | 2019-11-01 | 平安科技(深圳)有限公司 | Chat group creation method, device, computer equipment and storage medium |
CN110971423A (en) * | 2019-11-27 | 2020-04-07 | 维沃移动通信有限公司 | Group creation method and electronic device |
CN111049663A (en) * | 2019-11-29 | 2020-04-21 | 维沃移动通信有限公司 | Method, electronic device and medium for creating topic group |
CN111147268A (en) * | 2019-11-27 | 2020-05-12 | 贝壳技术有限公司 | Group chat method, device, electronic equipment and storage medium |
CN111698144A (en) * | 2019-03-15 | 2020-09-22 | 钉钉控股(开曼)有限公司 | Communication method, device and equipment, and group creation method, device and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101695917B1 (en) * | 2015-08-17 | 2017-01-12 | 네이버 주식회사 | Method, system and recording medium for managing group message |
-
2021
- 2021-03-08 CN CN202110249780.3A patent/CN113098755B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102624650A (en) * | 2012-04-16 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Discussion group creating method, and communication method, server and system based on discussion group |
CN108449260A (en) * | 2018-03-15 | 2018-08-24 | 链家网(北京)科技有限公司 | A kind of more people's chat messages collecting methods and system |
CN108494572A (en) * | 2018-03-19 | 2018-09-04 | 北京三快在线科技有限公司 | Topic group creation method based on group and device |
CN111698144A (en) * | 2019-03-15 | 2020-09-22 | 钉钉控股(开曼)有限公司 | Communication method, device and equipment, and group creation method, device and equipment |
CN110401545A (en) * | 2019-06-18 | 2019-11-01 | 平安科技(深圳)有限公司 | Chat group creation method, device, computer equipment and storage medium |
CN110971423A (en) * | 2019-11-27 | 2020-04-07 | 维沃移动通信有限公司 | Group creation method and electronic device |
CN111147268A (en) * | 2019-11-27 | 2020-05-12 | 贝壳技术有限公司 | Group chat method, device, electronic equipment and storage medium |
CN111049663A (en) * | 2019-11-29 | 2020-04-21 | 维沃移动通信有限公司 | Method, electronic device and medium for creating topic group |
Also Published As
Publication number | Publication date |
---|---|
CN113098755A (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113098755B (en) | Group chat creating method, device, terminal and storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN112947823A (en) | Session processing method, device, equipment and storage medium | |
CN111177013B (en) | Log data acquisition method, device, computer equipment and storage medium | |
CN108874496B (en) | Application management method, device, terminal, server and storage medium | |
CN109451343A (en) | Video sharing method, apparatus, terminal and storage medium | |
CN111614549B (en) | Interaction processing method and device, computer equipment and storage medium | |
CN112751679B (en) | Instant messaging message processing method, terminal and server | |
CN113204298B (en) | Method and device for displaying release progress, electronic equipment and storage medium | |
CN110109608B (en) | Text display method, text display device, text display terminal and storage medium | |
CN110196673B (en) | Picture interaction method, device, terminal and storage medium | |
CN112163406A (en) | Interactive message display method and device, computer equipment and storage medium | |
CN112764608A (en) | Message processing method, device, equipment and storage medium | |
CN110032417A (en) | Session entry mask method, apparatus, equipment and storage medium | |
CN113485596B (en) | Virtual model processing method and device, electronic equipment and storage medium | |
CN112988254A (en) | Method, device and equipment for managing hardware equipment | |
CN112738475B (en) | Video playing method and device and electronic equipment | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN109107163B (en) | Analog key detection method and device, computer equipment and storage medium | |
CN114143280B (en) | Session display method and device, electronic equipment and storage medium | |
CN109618018B (en) | User head portrait display method, device, terminal, server and storage medium | |
CN113051494A (en) | Information display method and device, electronic equipment and storage medium | |
CN114816600A (en) | Session message display method, device, terminal and storage medium | |
CN112202966B (en) | Communication information notification method and device and computer readable storage medium | |
CN115134316A (en) | Topic display 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 |