CN110597974A - Instant messaging method and device, computer equipment and terminal equipment - Google Patents

Instant messaging method and device, computer equipment and terminal equipment Download PDF

Info

Publication number
CN110597974A
CN110597974A CN201910900447.7A CN201910900447A CN110597974A CN 110597974 A CN110597974 A CN 110597974A CN 201910900447 A CN201910900447 A CN 201910900447A CN 110597974 A CN110597974 A CN 110597974A
Authority
CN
China
Prior art keywords
information
display
group chat
topic
chat session
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.)
Granted
Application number
CN201910900447.7A
Other languages
Chinese (zh)
Other versions
CN110597974B (en
Inventor
刘硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910900447.7A priority Critical patent/CN110597974B/en
Publication of CN110597974A publication Critical patent/CN110597974A/en
Application granted granted Critical
Publication of CN110597974B publication Critical patent/CN110597974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/383Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Library & Information Science (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to an instant messaging method, an instant messaging device, computer equipment and terminal equipment, relates to the technical field of communication, and is used for solving the problem of poor recognition degree of chat information related to group chat topics. The method comprises the following steps: receiving first group chat session information sent by a first client; when the first group chat session information is determined to belong to the preset topic, determining display information of the first group chat session information, wherein the display information comprises a first display style of the chat information in the first group chat session information and a second display style of topic information of the preset topic related to the first group chat session information, and the first display style and the second display style are different display styles; determining second group chat session information according to the first group chat session information and the display information; sending second group chat session information to at least one second client in communication with the first client to cause the at least one second client to display the chat information in a first display style and the topic information in a second display style.

Description

Instant messaging method and device, computer equipment and terminal equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for instant messaging, a computer device, and a terminal device.
Background
At present, instant messaging software gradually becomes a common communication mode in work and life of people, and various functional groups are used, so that people can conveniently comb different contact persons.
However, although the group sets the number of persons participating and the function of engagement, some persons may chat differently with other persons due to different understanding and different cognition among many persons in the group, and thus message data may be very confused.
If a user wants to join a specific group chat topic, the scheme in the related art needs the user to subjectively determine which topic the information related to the topic belongs to, and then perform corresponding reply, and the content of the reply cannot be distinguished from the content of other topics and the content of non-topics, so that other users need to spend more time to judge the topic and then perform the reply.
Therefore, in the related technology, the display of the chat information is relatively disordered, and the identification degree of the chat information related to the group chat topic is poor.
Disclosure of Invention
The disclosure provides an instant messaging method, an instant messaging device, computer equipment and terminal equipment, and aims to solve the problem that in the related technology, the identification degree of chat information related to group chat topics is poor. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method of instant messaging, including:
receiving first group chat session information sent by a first client;
when it is determined that the first group chat session information belongs to a predetermined topic, determining display information of the first group chat session information, wherein the display information comprises a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information, and the first display style and the second display style are different display styles;
determining second group chat session information according to the first group chat session information and the display information;
sending the second group chat session information to at least one second client in communication with the first client to cause the at least one second client to display the chat information in the first display style and the topic information in the second display style.
In a possible implementation, the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, the first display position and the second display position are different display areas;
the sending the second group chat session information to at least one second client in communication with the first client to cause the at least one second client to display the chat information in the first display style and the topic information in the second display style, further comprising:
to cause the at least one second client to display the chat information at the first display location and the topic information at the second display location.
In one possible implementation, determining that the first group chat session information belongs to a predetermined topic includes:
receiving first information sent by the first client, and determining that the first group chat session information belongs to the predetermined topic according to the first information, wherein the first information is determined by the client according to a first preset operation performed on the topic information; alternatively, the first and second electrodes may be,
performing semantic analysis on the first group chat session information to obtain an analysis result, and determining that the first group chat session information belongs to the predetermined topic according to the analysis result.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
According to a second aspect of the embodiments of the present disclosure, there is provided a method of instant messaging, the method including:
receiving group chat session information sent by a server, wherein the group chat session information is associated with a predetermined topic;
determining display information of the group chat session information, wherein the display information comprises a first display style of chat information in the group chat session information and a second display style of topic information of a predetermined topic associated with the group chat session information, and the first display style and the second display style are different display styles;
and displaying the group chat session information according to the display information, wherein the chat information in the group chat session information is displayed based on the first display style, and the topic information in the group chat session information is displayed in the second display style.
In a possible implementation, the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, the first display position and the second display position are different display areas;
the displaying the group chat session information according to the display information further comprises:
displaying the chat information at the first display location and the topic information at the second display location.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for instant messaging, the apparatus comprising:
a receiving unit configured to perform receiving first group chat session information sent by a first client;
a first determination unit configured to perform, when it is determined that the first group chat session information belongs to a predetermined topic, determining display information of the first group chat session information, the display information including a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information, the first display style and the second display style being different display styles;
a second determining unit configured to perform determining second group chat session information according to the first group chat session information and the display information;
a transmitting unit configured to perform transmitting the second group chat session information to at least one second client communicating with the first client, to cause the at least one second client to display the chat information in the first display style, and to display the topic information in the second display style.
In a possible implementation manner, if the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, where the first display position and the second display position are different display areas, the sending unit is further configured to perform:
to cause the at least one second client to display the chat information at the first display location and the topic information at the second display location.
In a possible implementation, the first determining module is configured to perform:
receiving first information sent by the first client, and determining that the first group chat session information belongs to the predetermined topic according to the first information, wherein the first information is determined by the client according to a first preset operation performed on the topic information; alternatively, the first and second electrodes may be,
performing semantic analysis on the first group chat session information to obtain an analysis result, and determining that the first group chat session information belongs to the predetermined topic according to the analysis result.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for instant messaging, the apparatus comprising:
a receiving group chat session information unit configured to execute a process for receiving group chat session information transmitted by a server, the group chat session information being associated with a predetermined topic;
a determining display information unit configured to perform determining display information of the group chat session information, the display information including a first display style of chat information in the group chat session information and a second display style of topic information of a predetermined topic associated with the group chat session information, the first display style and the second display style being different display styles;
and the display unit is used for displaying the group chat session information according to the display information, wherein the chat information in the group chat session information is displayed based on the first display style, and the topic information in the group chat session information is displayed in the second display style.
In a possible implementation manner, if the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, where the first display position and the second display position are different display areas, the displaying the group chat session information unit is further configured to perform:
displaying the chat information at the first display location and the topic information at the second display location.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the first aspect of the embodiments of the present disclosure and any of the methods that the first aspect relates to.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the second aspect of the embodiments of the present disclosure mentioned above and any of the methods that the second aspect relates to may be related to.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of a computer, enable the computer to perform the method according to any one of the first aspect and the first aspect described above, or the method according to any one of the second aspect and the second aspect described above.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer program product, which, when run on a computer, enables the computer to perform the method according to any of the first and second aspects of the embodiments of the present disclosure mentioned above, or any of the second and second methods mentioned above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the present disclosure, first group chat session information sent by a first client may be received, and then it may be determined whether the first group chat session information belongs to a predetermined topic, and when it is determined that the first group chat session information belongs to the predetermined topic (for example, a ball on weekend), a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information may be determined, where the first display style and the second display style are different display styles. After determining the display style of the chat information and the topic information in the first group chat session information, second group chat session information may be determined and transmitted to at least one second client in communication with the first client, thereby causing the at least one second client to display the chat information in a first display style and the topic information in a second display style.
That is to say, based on the difference of the display styles between the chat information and the topic information, the relevance between the chat information and the corresponding predetermined topic can be increased, the identification degree of the chat information is increased, the group chat information corresponding to each predetermined topic can be conveniently and accurately located by the user, that is, the group chat participants and the corresponding group chat content participating in a certain predetermined topic can be quickly found, so that the corresponding chat information included in the predetermined topic has higher traceability, and the group chat information can be more regularly displayed and arranged on the instant messaging group chat interface.
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 an interaction diagram illustrating a method of instant messaging in accordance with an exemplary embodiment;
FIG. 2 is a schematic illustration of selected topic information shown in accordance with an exemplary embodiment;
FIG. 3 is another diagram illustrating selected topic information in accordance with an illustrative embodiment;
FIG. 4 is another diagram illustrating selected topic information in accordance with an illustrative embodiment;
FIG. 5 is a schematic diagram illustrating an instant messaging group chat interface in accordance with an exemplary embodiment;
FIG. 6 is another schematic diagram illustrating an instant messaging group chat interface in accordance with an exemplary embodiment;
FIG. 7 is a schematic diagram of a topic function extension interface shown in accordance with an illustrative embodiment;
FIG. 8 is another schematic diagram illustrating a topic function expansion interface in accordance with an illustrative embodiment;
FIG. 9 is another diagram illustrating an instant messaging group chat interface, according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating an apparatus for instant messaging in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating an apparatus for instant messaging in accordance with an exemplary embodiment;
FIG. 12 is a schematic diagram illustrating the structure of a computer device in accordance with one illustrative embodiment;
fig. 13 is a schematic structural diagram of a terminal device according to an exemplary embodiment;
fig. 14 is another schematic structural diagram of a terminal device according to an exemplary 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.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present disclosure describes an association relationship of associated objects, and means that there may be three relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. The term "IM" in the embodiments of the present disclosure is an abbreviation of Instant Messaging, and means Instant Messaging. Instant messaging may allow two or more people to communicate text messages, files, voice and video in real time using a network.
3. The term "terminal device" in the embodiments of the present disclosure includes a mobile phone, a computer, a tablet computer, an intelligent terminal, a multimedia device, an intelligent wearable device, and the like.
4. The term "computer device" in the embodiments of the present disclosure may be understood as a server, which is, for example, a personal computer, a large and medium-sized computer, a computer cluster, and the like.
5. The term "instant messaging group" in the embodiments of the present disclosure refers to a group in which a plurality of users participate, which exists in an IM product.
6. The term "group chat topic" in the embodiments of the present disclosure refers to a topic in which multiple users participate in discussion at the same time in an instant messaging group. For example, if 5 users in an instant messaging group discuss a topic about watching a movie at the same time, the "watching a movie" may be referred to as a group chat.
The application scenario described in the embodiment of the present disclosure is for more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not form a limitation on the technical solution provided in the embodiment of the present disclosure, and as a person having ordinary skill in the art knows, with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present disclosure is also applicable to similar technical problems.
As described above, the related art has a problem that the recognition degree of the chat information related to the group chat topic is poor. In view of this, the present disclosure provides an instant messaging method, by which topic information and chat information corresponding to group chat topics can be independently displayed in different display styles, so that the identification degree of the chat information is increased, a user can conveniently and accurately locate the group chat information corresponding to each group chat topic, the corresponding group chat information included in the group chat topics is more traceable, and the group chat information can be more regularly displayed and arranged on an instant messaging group chat interface.
Fig. 1 is an interaction diagram of a method for instant messaging according to an exemplary embodiment, and the following describes a technical solution in the embodiment of the present disclosure with reference to fig. 1.
In step S11, the first client receives the chat information, determines first group chat session information from the chat information, and transmits the first group chat session information to the computer device.
In this embodiment of the present disclosure, when a user corresponding to a first client wishes to participate in a group chat topic, the user may input specific chat information on a terminal device (e.g., a mobile phone) used by the user correspondingly, that is, the first client (e.g., a mobile phone), where the chat information is, for example: "go o, go to ball at weekend. "so that the first client can obtain the chat information and perform predetermined processing on the chat information, thereby obtaining first group chat session information, wherein the first group chat session information at least comprises the chat information, and further, the first client can send the first group chat session information to the computer device.
In a specific implementation process, the first group chat session information may include identification information of the first client and chat information, and thus, the device receiving the first group chat session information may determine that the chat information is sent by the first client through the identification information. The first group chat session information may also include identification information of the target computer device and chat information, such that the chat information may be accurately transmitted. Of course, in the embodiment of the present disclosure, the first group chat session information may further include other information, which is not limited in the embodiment of the present disclosure. For convenience of understanding, the computer device is described as a server hereinafter.
In step S12, the server receives the first group chat session information sent by the first client.
In step S13, the server determines that the first group chat session information belongs to a predetermined topic.
In the disclosed embodiment, after the first client sends the first group chat session information to the server, the server may receive the first group chat session information sent by the first client and then determine whether the first group chat session information belongs to any topic.
In the embodiment of the present disclosure, as described above, a plurality of group chat topics may be generated in any one group of the IM product, and when a user wishes to join a specific group chat topic, the user may determine a topic from the group chat topics established in the instant messaging group, that is, the topic is a predetermined topic. In the embodiment of the present disclosure, for convenience of description, a specific group chat topic that a user wishes to join is referred to as a predetermined topic, and it may also be that the computer device autonomously determines the predetermined topic, for example, determines the predetermined topic according to a type analysis of historical participation of the user in the group chat topic.
To facilitate understanding of those skilled in the art, the following lists several possible ways to describe how to determine that the chat information in the first group chat session information belongs to the predetermined topic, and it should be understood that the following examples are only illustrative and are not limiting to the embodiments of the present disclosure, and other determining ways may be adopted in the specific implementation process besides the ways listed below, which are not exhaustive herein.
In one possible implementation, first information sent by a first client is received, and then the chat information in the first group chat session information is determined to belong to a predetermined topic according to the first information, wherein the first information is determined by the client according to a first preset operation performed on the topic information.
The first method is as follows: in a specific implementation process, when it is determined that the topic information of the predetermined topic is displayed in the instant messaging group chat interface of the first client, the user may perform a selection operation on the topic information displayed in the instant messaging group chat interface, where the selection operation may be to click the topic information of the predetermined topic, or to double click the topic information of the predetermined topic, or to perform other preset operations. That is, when the selection operation is an operation performed with respect to the topic information displayed in the instant messaging group chat interface, after the user performs the selection operation with respect to the topic information of the predetermined topic, the first client may obtain the first preset operation, which is the selection operation performed with respect to the topic information of the predetermined topic, so that it may be determined that the user wishes to join the predetermined topic.
Further, after the first client obtains the selection operation, the first information may be determined according to the selection operation and then transmitted to the server, so that the server may determine that the chat information belongs to the predetermined topic according to the first information. By the method, the topic information can be directly selected in the instant messaging group chat interface, so that the time of a user is saved, each chat information related to the topic has traceability, and the accuracy of adding the preset topic is improved.
For example, referring to fig. 2, if the topic that the user wishes to join is "weekend mountain climbing", and it is determined that topic information for the topic "weekend mountain climbing" is displayed in the instant messaging group chat interface, that is, topic information corresponding to chat information for the topic "weekend mountain climbing" is displayed in the instant messaging group chat interface, the user can directly click the topic information for "weekend mountain climbing".
The second method comprises the following steps: in a specific implementation process, when it is determined that the topic information of the predetermined topic is not displayed in the instant messaging group chat interface, the user may input a topic trigger identifier in a chat input box displayed in advance, specifically, the topic trigger identifier may be a preset identifier such as a symbol, # and the like, which is not limited in the embodiment of the present disclosure. Further, according to the triggering of the topic triggering identification character, topic information is displayed in the chat input box. The first client may then obtain the first group chat session information and the trigger operation at the same time, and may then generate first information according to the trigger operation, and send the first information and the first group chat session information to the server at the same time, so that the server may determine that the chat information belongs to the predetermined topic according to the first information.
In such a way, the situation that the topic information of the preset topic is not displayed in the instant messaging group chat interface is fully considered, the operation that the user searches the topic information of the preset topic in the instant messaging group chat interface is reduced, the user time is saved, the misoperation on other chat topics is avoided as much as possible, and the accuracy of the selected topic information is further improved.
For example, referring to fig. 3, the user may input a topic trigger in a pre-displayed chat input box, then the terminal device may display topic information in the chat input box according to the trigger of the topic trigger character, and then the user may input chat information in the chat input box.
The third method comprises the following steps: in a specific implementation process, the first client may further obtain a first preset operation performed on chat information displayed in the instant messaging group chat interface, then the first client may display the group chat topics already created in the instant messaging group according to the first preset operation, and then the user may select a predetermined topic, for example, click a topic name of the predetermined topic, so that the first client may call the topic information of the predetermined topic according to the click operation, thereby determining the topic information.
In the scheme disclosed by the embodiment of the disclosure, the user can be supported to determine the preset topic to which the chat information belongs from the main aiming at the sent chat information, a plurality of topic adding modes are provided, and the user experience is improved.
For example, as shown in fig. 4, the user may perform a first preset operation on the chat message "i also go" so as to display predetermined topics "friday crime" and "weekend hill climbing" that have been created in the instant messaging group chat on the instant messaging group chat interface, so that the user may select the topic of "weekend hill climbing" and then click the topic name of the predetermined topic, i.e., "weekend hill climbing", so that the terminal device may call the topic information of the predetermined topic according to the aforementioned click operation, thereby determining that the content of the topic information of "i also go" is "weekend hill climbing".
In the embodiment of the present disclosure, topic information can be determined in all of the three ways, so that a user can quickly join in the discussion of a predetermined topic. In a specific implementation process, the mode of determining the topic information can be flexibly selected according to the current position of the topic information of the predetermined topic, so that the flexibility of a scheme is increased.
In a possible implementation, the chat information may be semantically analyzed to obtain an analysis result, and it is determined that the chat information belongs to the predetermined topic according to the analysis result.
In a specific implementation process, when the server receives only the first group chat session information, semantic analysis may be performed on the chat information in the first group chat session information, for example, the received chat information is: "walk and play ball", and then perform semantic analysis on the chat information, and may determine that the chat information belongs to a predetermined topic of "play ball on weekend".
In step S14, the server determines display information of the first group chat session information, the display information including a first display style of chat information in the first group chat session information and a second display style of topic information of a predetermined topic associated with the first group chat session information, the first display style and the second display style being different display styles.
In the embodiment of the present disclosure, after the server determines that the first group chat session information belongs to the predetermined topic, display information of the first group chat session information may also be determined. In a specific implementation process, the display style may be determined according to a preset display policy, or the display style of the chat information or the display style of the topic information may be determined first, and then the display style of the topic information or the chat information is determined correspondingly, which is a specific determination manner.
In the embodiment of the disclosure, a first display style corresponding to chat information and a second display style of topic information may be determined, where the first display style and the second display style are different display styles. Specifically, at least one display parameter of the first display style and the second display style is different, and the display parameter includes at least one of a font style, a font size, and a text color. That is, in the embodiment of the present disclosure, the first display style and the second display style may be different in only one display parameter, or may be different in a plurality of display parameters, and the embodiment of the present disclosure is not limited.
In a specific implementation process, the first display style and the second display style may be display styles of the same display parameters except that the font styles are different, for example, the first display style adopts an a font style, and the second display style adopts a B font style, that is, the display style of the chat information is the a font style, and the display style of the topic information is the B font style. The first display style and the second display style may also be display styles with different font styles and different font sizes, and of course, the first display style and the second display style may also be display styles with different font styles, different font sizes, and different text colors, which is not limited in the embodiment of the present disclosure.
That is to say, in the embodiment of the present disclosure, the chat information and the topic information in the instant messaging chat interface can be accurately distinguished according to the difference between the first display style corresponding to the chat information and the second display style corresponding to the topic information.
In step S15, the server determines second group chat session information from the first group chat session information and the display information, and transmits the second group chat session information to at least one second client communicating with the first client.
In step S16, the second client receives second group chat session information transmitted by the server, the second group chat session information being associated with the predetermined topic.
In step S17, the second client determines display information of the second group chat session information and displays the second group chat session information according to the display information.
In the embodiment of the present disclosure, when the server may determine the second group chat session information according to the first group chat session information and the display information, that is, the server may combine the first group chat session information and the display information and then transmit the combined information, that is, the second group chat information, to at least one second client in communication with the first client, so that the at least one second client may be caused to display the chat information in the first display style and the topic information in the second display style. In this way, the instant messaging group chat interface of the second client communicating with the first client can display the chat information in the first display style and display the topic information in the second display style.
It should be noted that, in the embodiment of the present disclosure, the second client may be understood as each client corresponding to each account in the group in which the chat information sent by the first client is located, and the first client.
In the present disclosure, when the second client may receive the second group chat session information, the second client may then determine, after receiving the second group chat session information, a predetermined topic associated with the second group chat session information, determine display information of the second group chat session information, and then display the second group chat session information according to the display information.
In an alternative embodiment, the display information of the first group chat session information may further include a first display position for determining the chat information and a second display position for determining the topic information, and the first display position and the second display position are different display areas, so that when the display information is received by the second client, the chat information may be displayed at the first display position and the topic information may be displayed at the second display position.
In the disclosed embodiment, referring to fig. 5, fig. 5 is another instant messaging group chat interface shown according to an exemplary embodiment, after determining the topic information of the chat information "i also go" in the instant messaging group chat, the chat information "i also go" and the determined topic information of "weekend mountain climbing" may be displayed in association to the instant messaging group chat interface, that is, the topic information is displayed in the first display position and "i also go" in the second display position in the instant messaging group chat interface.
In the embodiment of the present disclosure, please refer to fig. 6, fig. 6 is another instant messaging group chat interface shown according to an exemplary embodiment, and fig. 6 exemplifies that the display graph of the topic information is a rectangle, and the topic content is "weekend mountain climbing". When a user inputs contents in a chat input box displayed on an instant messaging group chat interface: "do not want to", the instant messaging group chat interface displays the topic information in the first display position and displays the "do not want to do" in the second display position, and fig. 6 shows the topic information in the upper left of the chat information as an example.
In the embodiment of the disclosure, the topic information and the chat information can be independently and separately displayed through the regional associated display of the first display position and the second display position, so that the contents of the topic information and the chat information can be more accurately and respectively determined, and the display position of the original reply message cannot be influenced. Further, please continue to refer to fig. 6, because the "weekend mountain climbing" and "do not want to go" are separately displayed, the "weekend" is prevented from being used as the topic information, and the "mountain climbing does not want to go" is used as the mistaken interpretation of the chat information, so that the accurate judgment of the user on the chat information and the topic information is improved to a certain extent, so that the user can more accurately know the predetermined topic to add the predetermined topic.
That is, in addition to the aforementioned distinction between the chat information and the topic information in the first display style and the second display style, the distinction of the display area is also increased. Further, because the chat information is displayed at the first display position, and the topic information is displayed at the second display position outside the first display position, that is, the topic information and the chat information can be independently and separately displayed through the associated display of the sub-areas of the first display position and the second display position, so that the respective message contents of the topic information and the chat information can be more accurately and respectively determined, and the original display position of the reply message (i.e., the chat information) in the instant messaging group chat interface is not affected. By the mode, the user can clearly know the preset topics corresponding to the chat information, and meanwhile, the normal display of the chat information of the user is not influenced. Moreover, because the topic information and the chat information are displayed separately, the probability that the topic information and the chat information are set together (for example, both the topic information and the chat information are displayed in the original display area of the chat information) is brought to the user to misread the message, for example, part of the content of the topic information is mistakenly interpreted as the chat information, so that the correctness of reading various messages can be improved, and the user experience of the user is improved.
In one possible implementation, when the user wishes to perform other operations on the predetermined topic, the user may perform a second preset operation on the topic information of the predetermined topic, so that the terminal device may obtain the second preset operation performed on the predetermined topic information, where the second preset operation may be long pressing the topic information of the predetermined topic, and may also be sliding the topic information of the predetermined topic to the right or left, and of course, may also be other preset operations.
After the terminal device receives the second preset operation, the terminal device may call a topic expansion function interface according to the second preset operation, and display the topic expansion function interface at a preset position of topic information relative to a predetermined topic, where the topic expansion function interface may include at least one function option, and the at least one function option has an editable attribute and a linkable attribute.
In a specific implementation process, the function options can be edited, for example, a search function according to user identification is added, a function of deleting created group chat topics in a viewing group is deleted, and the like. In addition, the chat messages can be linked to other display pages through function options, for example, the chat messages of the preset topics can be clicked and viewed in the instant messaging group chat page, and the chat messages of the preset topics can be displayed in a floating window mode, so that different requirements of different users can be met, and the use experience of the users is improved.
In the disclosed embodiment, please refer to fig. 7, fig. 7 is a topic function expansion interface shown according to an exemplary embodiment, as shown in fig. 7, a topic function expansion page includes a view function and a search function, and other functions, wherein the view function includes viewing chat information of a predetermined topic, viewing created group chat topics in a group, viewing users participating in the predetermined topic; the search function includes searching for created group chat topics in a group, searching for users participating in a predetermined topic.
In one possible embodiment, referring to fig. 8, fig. 8 is a topic function extension interface shown according to an exemplary embodiment, as shown in fig. 8, after the topic extension function interface is displayed, when a user performs a third preset operation on a function in the topic extension function interface, the terminal device may obtain a third preset operation on a function option in the topic extension function interface, and then display user identifications of all group chat participants participating in a predetermined topic according to the third preset operation. The user identifier may be an image identifier of the user, a nickname identifier of the user, or an image identifier and a nickname identifier of the user, and is described in fig. 8 with the image identifier of the user as the user identifier. In another possible embodiment, all chat information associated with the predetermined topic may also be displayed according to a third preset operation.
The display mode enables the user to accurately and clearly know the group chat participants of the predetermined topic, and therefore the user can conveniently reply to one of the group chat participants. Furthermore, all chat information related to the predetermined topic can be checked, so that the user can know the discussion degree of the predetermined topic, and the use experience of the user is improved.
In a possible implementation manner, it may be further determined whether the predetermined topic meets a preset condition, and when the preset condition is met, another temporary instant messaging group corresponding to the predetermined topic may be newly created, where group chat participants of the temporary instant messaging group only include all group chat participants of the predetermined topic, and specifically, the newly created instant messaging group includes all group chat participants participating in the predetermined topic and chat information associated with the predetermined topic.
In the embodiment of the present disclosure, the number of all group messages associated with the predetermined topic may be determined, then the number of all group messages associated with the predetermined topic is compared with a first preset number, and if the number of all group messages associated with the predetermined topic is greater than the first preset number, it is determined that the preset condition is satisfied. For example, the predetermined topic is "soccer game", the first preset number is 50, and when it is determined that the number of all group messages associated with the predetermined topic is 60, it is determined that the preset condition is satisfied.
Further, after determining that the condition is satisfied, another temporary instant communication group corresponding to the predetermined topic may be newly created, and the users participating in the "ball game" topic may view and reply to other messages participating in the "ball game" topic in the temporary instant communication group. Therefore, the chat requirements of users participating in the 'ball game' are met, the chat experience of other users not participating in the topic is not influenced, and the display of the instant messaging group is clearer.
In the embodiment of the disclosure, when it is determined that the number of the chat messages associated with the predetermined topic in the predetermined time period (for example, 1 minute) is greater than the second preset number, which indicates that the user discussion participating in the group chat topic is fierce, it is determined that the preset condition is satisfied. That is, the needs of the users participating in the group chat topic are sufficiently considered, and the needs of other users not participating in the topic are also considered.
In the embodiment of the present disclosure, when the number of all group chat participants participating in the predetermined topic is greater than a third preset number, it is determined that the preset condition is satisfied, in consideration of the number of all group chat participants participating in the predetermined topic. That is to say, in the embodiment of the present disclosure, whether to newly establish another temporary instant communication group corresponding to the predetermined topic is determined from two large aspects of the chat information related to the predetermined topic and the number of all group chat participants participating in the predetermined topic, so as to improve the user experience.
In a possible implementation example, the chat input box displayed in the instant messaging group chat interface further includes a removal association identifier, wherein the removal association identifier may be displayed in an area outside the chat input box, and when the user selects to remove the association identifier, only the chat information input by the user in the chat input box is displayed in the instant messaging group chat interface. That is to say, by operating the removal of the association identifier, the user can choose not to add the predetermined topic, thereby satisfying the user's requirement and improving the user experience.
For example, referring to fig. 9, fig. 9 is another instant messaging group chat interface shown according to an exemplary embodiment, as shown in fig. 9, the disassociation identifier may be an identifier with a specific shape of the topic content, or may also be an identifier with a specific shape, the disassociation identifier with a circle cross is illustrated in fig. 9, and when the user clicks the disassociation identifier, that is, the user selects the disassociation identifier, and then when the user inputs content in the chat input box, only chat information input in the chat input box by the user is displayed in the instant messaging group chat interface.
Based on the same inventive concept, the embodiment of the present disclosure provides an instant messaging device, which may be, for example, a computer device in the foregoing method embodiment, and the instant messaging device can implement a function corresponding to the foregoing instant messaging method. The means for instant messaging may be a hardware structure, a software module, or a hardware structure plus a software module. The instant communication device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 10, the instant messaging apparatus includes a receiving unit 101, a first determining unit 102, a second determining unit 103, and a sending unit 104. Wherein:
a receiving unit 101 configured to perform receiving first group chat session information sent by a first client;
a first determining unit 102 configured to perform, when it is determined that the first group chat session information belongs to a predetermined topic, determining display information of the first group chat session information, the display information including a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information, the first display style and the second display style being different display styles;
a second determining unit 103 configured to perform determining second group chat session information according to the first group chat session information and the display information;
a transmitting unit 104 configured to perform transmitting the second group chat session information to at least one second client communicating with the first client, to cause the at least one second client to display the chat information in the first display style and to display the topic information in the second display style.
In a possible implementation manner, if the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, where the first display position and the second display position are different display areas, the sending unit 104 is further configured to perform:
to cause the at least one second client to display the chat information at the first display location and the topic information at the second display location.
In a possible implementation, the first determining module 102 is configured to perform:
receiving first information sent by the first client, and determining that the first group chat session information belongs to the predetermined topic according to the first information, wherein the first information is determined by the client according to a first preset operation performed on the topic information; alternatively, the first and second electrodes may be,
performing semantic analysis on the first group chat session information to obtain an analysis result, and determining that the first group chat session information belongs to the predetermined topic according to the analysis result.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
Based on the same inventive concept, the embodiment of the present disclosure provides an instant messaging device, which may be, for example, a terminal device in the foregoing method embodiment, and the instant messaging device can implement a function corresponding to the foregoing instant messaging method. The means for instant messaging may be a hardware structure, a software module, or a hardware structure plus a software module. The instant communication device can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 11, the apparatus for instant messaging includes a receive group chat session information unit 111, a determine display information unit 112, and a display group chat session information unit 113. Wherein:
a receive group chat session information unit 111 configured to perform a process for receiving group chat session information transmitted by a server, the group chat session information being associated with a predetermined topic;
a determining display information unit 112 configured to perform determining display information of the group chat session information, the display information including a first display style of chat information in the group chat session information and a second display style of topic information of a predetermined topic associated with the group chat session information, the first display style and the second display style being different display styles;
a display group chat session information unit 113 configured to perform display of the group chat session information according to the display information, wherein chat information in the group chat session information is displayed based on the first display style, and topic information in the group chat session information is displayed in the second display style.
In a possible implementation manner, if the display information further includes a first display position for determining the chat information and a second display position for determining the topic information, where the first display position and the second display position are different display areas, the displaying group chat session information unit 113 is further configured to perform:
displaying the chat information at the first display location and the topic information at the second display location.
In one possible embodiment, the first display style and the second display style are different display styles, including:
at least one display parameter of the first display style and the second display style are different.
In one possible embodiment, the display parameters include at least one of font style, font size, and text color.
All relevant contents of the steps related to the embodiment of the instant messaging method may be referred to the functional description of the functional module corresponding to the instant messaging device in the embodiment of the present disclosure, and are not described herein again.
The division of the modules in the embodiments of the present disclosure is illustrative, and is only a logical function division, and there may be another division manner in actual implementation, and in addition, each functional module in each embodiment of the present disclosure may be integrated in one processor, may also exist alone physically, or may also be integrated in one module by two or more modules. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the same inventive concept, the embodiment of the present disclosure further provides a computer device, please refer to fig. 12, which includes a processor 121 and a memory 122. The Processor 121 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present disclosure. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Memory 122, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 122 in the disclosed embodiments may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
The processor 121 is a control center of the computer device, and may connect various parts of the entire computer device using various interfaces and lines, and perform various functions of the computer device and process data by operating or executing instructions stored in the memory 122 and calling data stored in the memory, thereby performing overall monitoring of the computer device.
Based on the same inventive concept, an embodiment of the present disclosure further provides a terminal device, as shown in fig. 13, the terminal device in the embodiment of the present disclosure includes at least one processor 131, and a memory 132 and a communication interface 133 connected to the at least one processor 131, a specific connection medium between the processor 131 and the memory 132 is not limited in the embodiment of the present disclosure, in fig. 13, the processor 131 and the memory 132 are connected through a bus 130 as an example, the bus 130 is represented by a thick line in fig. 13, and a connection manner between other components is only schematically illustrated and is not limited. The bus 130 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 13 for ease of illustration, but does not represent only one bus or one type of bus.
In the embodiment of the present disclosure, the memory 132 stores instructions executable by the at least one processor 131, and the at least one processor 131 may execute the steps included in the foregoing method for instant messaging by executing the instructions stored in the memory 132.
The processor 131 may be the same as the processor 121 in fig. 12, for example, a CPU, a DSP, an ASIC, etc., and the hardware structure of the memory 132 may be the same as the memory 122 in fig. 12, for example, a flash memory, a hard disk, a multimedia card, a card-type memory, a RAM, an SRAM, etc., which will not be described again here.
The processor 131 is a control center of the terminal device, and may connect various parts of the terminal device through various interfaces and lines, and perform various functions and process data of the terminal device by operating or executing instructions stored in the memory 132 and calling data stored in the memory 132, thereby performing overall monitoring on the terminal device. Optionally, the processor 131 may include one or more processing units, and the processor 131 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 131. In some embodiments, the processor 131 and the memory 132 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The communication interface 133 is a transmission interface that can be used for communication, and data can be received or transmitted through the communication interface 133 (not shown in fig. 13).
Referring to a further structural schematic diagram of the terminal device shown in fig. 14, the terminal device may further include an input unit 141, a display unit 142, a radio frequency unit 143, an audio circuit 144, a speaker 145, a microphone 146, a Wireless Fidelity (WiFi) module 147, a bluetooth module 148, a power supply 149, an external interface 1410, a headphone jack 1411, and the like. It will be understood by those skilled in the art that fig. 14 is merely an example of a terminal device and is not intended to limit the terminal device, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or different components may be included.
The input unit 141 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. For example, the input unit 141 may include a touch screen 1412 and other input devices 1413. The touch screen 1412 may collect touch operations by a user (e.g., operations by the user on or near the touch screen 1412 using any suitable object such as a finger, a joint, a stylus, etc.), that is, the touch screen 1412 may be used to detect touch pressure and touch input position and area and drive the corresponding connection device according to a preset program. The touch screen 1412 can detect a touch operation of the user on the touch screen 1412, convert the touch operation into a touch signal and send the touch signal to the processor 131, or can transmit touch information of the touch operation to the processor 131, and can receive and execute a command sent by the processor 131. The touch information may include at least one of pressure magnitude information and pressure duration information. The touch screen 1412 may provide an input interface and an output interface between the terminal device and the user. In addition, the touch screen 1412 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 141 may include other input devices 1413 in addition to the touch screen 1412. For example, other input devices 1413 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 142 may be used to display information input by the user or information provided to the user and various menus of the terminal device. Further, the touch screen 1412 may cover the display unit 142, and when the touch screen 1412 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 131 to determine the pressure information of the touch operation. In the embodiment of the present disclosure, the touch screen 1412 and the display unit 142 may be integrated into one component to implement input, output, and display functions of the terminal device. For convenience of description, the touch screen 1412 is used to represent the functional set of the touch screen 1412 and the display unit 142 for illustrative purposes, but in some embodiments, the touch screen 1412 and the display unit 142 may be provided as two separate components.
When the display unit 142 and the touch panel are superimposed on each other in the form of layers to form the touch screen 1412, the display unit 142 may serve as an input device and an output device, and when serving as an output device, may be used to display images, for example, to enable playing of various videos. The Display unit 142 may include at least one of a Liquid Crystal Display (LCD), a Thin Film Transistor Liquid Crystal Display (TFT-LCD), an Organic Light Emitting Diode (OLED) Display, an Active Matrix Organic Light Emitting Diode (AMOLED) Display, an In-plane switching (IPS) Display, a flexible Display, a 3D Display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and the terminal device may include two or more display units (or other display means) according to a particular desired embodiment, for example, the terminal device may include an external display unit (not shown in fig. 14) and an internal display unit (not shown in fig. 14).
The rf unit 143 may be used for receiving and transmitting information or signals during a call. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency unit 143 may also communicate with network devices and other devices through wireless communication.
Audio circuitry 144, speaker 145, microphone 146 may provide an audio interface between a user and a terminal device. The audio circuit 144 may transmit the electrical signal converted from the received audio data to the speaker 145, and convert the electrical signal into an audio signal for output by the speaker 145. On the other hand, the microphone 146 converts the collected sound signal into an electrical signal, which is received by the audio circuit 144 and converted into audio data, and then the audio data is processed by the audio data output processor 131 and sent to another electronic device via the radio frequency unit 143, or the audio data is output to the memory 132 for further processing, and the audio circuit may also include a headphone jack 1411 for providing a connection interface between the audio circuit and a headphone.
WiFi belongs to a short-distance wireless transmission technology, and the terminal device can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 147, and provides wireless broadband internet access for the user. Although fig. 14 shows the WiFi module 147, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Bluetooth is a short-range wireless communication technology. By using the bluetooth technology, the communication between mobile communication terminal devices such as a palm computer, a notebook computer, a mobile phone and the like can be effectively simplified, the communication between the devices and the Internet (Internet) can also be successfully simplified, the terminal devices enable the data transmission between the terminal devices and the Internet to be more rapid and efficient through the bluetooth module 148, and the way is widened for wireless communication. Bluetooth technology is an open solution that enables wireless transmission of voice and data. Although fig. 14 shows the bluetooth module 148, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The terminal device may also include a power source 149, such as a battery, for receiving external power or for powering various components within the terminal device. Preferably, the power source 149 may be logically connected to the processor 131 through a power management system, so that functions of managing charging, discharging, and power consumption are implemented through the power management system.
The terminal device may further include an external interface 141, where the external interface 141 may include a standard Micro USB interface, and may also include a multi-pin connector, which may be used to connect the terminal device to communicate with other devices, and may also be used to connect a charger to charge the terminal device.
Although not shown, the terminal device in the embodiments of the present disclosure may further include a camera, a flash, and other possible functional modules, which are not described herein again.
In some possible embodiments, various aspects of the method for instant messaging provided by the present disclosure may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps of the method for instant messaging according to various exemplary embodiments of the present disclosure described above in this specification when the program product is run on the terminal device.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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 disclosure 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 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 (10)

1. An instant messaging method, the method comprising:
receiving first group chat session information sent by a first client;
when it is determined that the first group chat session information belongs to a predetermined topic, determining display information of the first group chat session information, wherein the display information comprises a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information, and the first display style and the second display style are different display styles;
determining second group chat session information according to the first group chat session information and the display information;
sending the second group chat session information to at least one second client in communication with the first client to cause the at least one second client to display the chat information in the first display style and the topic information in the second display style.
2. The method of claim 1, wherein the display information further comprises a first display location for determining the chat information and a second display location for determining the topic information, the first display location and the second display location being different display areas;
the sending the second group chat session information to at least one second client in communication with the first client to cause the at least one second client to display the chat information in the first display style and the topic information in the second display style, further comprising:
to cause the at least one second client to display the chat information at the first display location and the topic information at the second display location.
3. The method of claim 1 or 2, wherein determining that the first group chat session information belongs to a predetermined topic comprises:
receiving first information sent by the first client, and determining that the first group chat session information belongs to the predetermined topic according to the first information, wherein the first information is determined by the client according to a first preset operation performed on the topic information; alternatively, the first and second electrodes may be,
performing semantic analysis on the first group chat session information to obtain an analysis result, and determining that the session information belongs to the predetermined topic according to the analysis result.
4. The method of claim 1 or 2, wherein the first display style and the second display style are different display styles comprising:
at least one display parameter of the first display style and the second display style are different.
5. The method of claim 4, wherein the display parameters include at least one of font style, font size, and text color.
6. A method of instant messaging, the method comprising:
receiving group chat session information sent by a computer device, wherein the group chat session information is associated with a predetermined topic;
determining display information of the group chat session information, wherein the display information comprises a first display style of chat information in the group chat session information and a second display style of topic information of a predetermined topic associated with the group chat session information, and the first display style and the second display style are different display styles;
and displaying the group chat session information according to the display information, wherein the chat information in the group chat session information is displayed based on the first display style, and the topic information in the group chat session information is displayed in the second display style.
7. An apparatus for instant messaging, the apparatus comprising:
a receiving unit configured to perform receiving first group chat session information sent by a first client;
a first determination unit configured to perform, when it is determined that the first group chat session information belongs to a predetermined topic, determining display information of the first group chat session information, the display information including a first display style of chat information in the first group chat session information and a second display style of topic information of the predetermined topic associated with the first group chat session information, the first display style and the second display style being different display styles;
a second determining unit configured to perform determining second group chat session information according to the first group chat session information and the display information;
a transmitting unit configured to perform transmitting the second group chat session information to at least one second client communicating with the first client, to cause the at least one second client to display the chat information in the first display style, and to display the topic information in the second display style.
8. An apparatus for instant messaging, the apparatus comprising:
a receive group chat session information unit configured to execute a process for receiving group chat session information transmitted by a computer device, the group chat session information being associated with a predetermined topic;
a determining display information unit configured to perform determining display information of the group chat session information, the display information including a first display style of chat information in the group chat session information and a second display style of topic information of a predetermined topic associated with the group chat session information, the first display style and the second display style being different display styles;
and the display unit is used for displaying the group chat session information according to the display information, wherein the chat information in the group chat session information is displayed based on the first display style, and the topic information in the group chat session information is displayed in the second display style.
9. A computer device, characterized in that the computer device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the instant messaging method of any of claims 1-5.
10. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the instant messaging method of claim 6.
CN201910900447.7A 2019-09-23 2019-09-23 Instant messaging method and device, computer equipment and terminal equipment Active CN110597974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910900447.7A CN110597974B (en) 2019-09-23 2019-09-23 Instant messaging method and device, computer equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910900447.7A CN110597974B (en) 2019-09-23 2019-09-23 Instant messaging method and device, computer equipment and terminal equipment

Publications (2)

Publication Number Publication Date
CN110597974A true CN110597974A (en) 2019-12-20
CN110597974B CN110597974B (en) 2022-05-24

Family

ID=68862629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910900447.7A Active CN110597974B (en) 2019-09-23 2019-09-23 Instant messaging method and device, computer equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN110597974B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350924A (en) * 2020-11-06 2021-02-09 北京字跳网络技术有限公司 Communication method, communication device, terminal and storage medium
CN112684961A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 Method and equipment for processing session information
CN113141295A (en) * 2021-03-25 2021-07-20 维沃移动通信有限公司 Message display method and device and electronic equipment
CN114967993A (en) * 2021-02-26 2022-08-30 北京字跳网络技术有限公司 Label sharing method and device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657039A (en) * 2015-02-12 2015-05-27 广州华多网络科技有限公司 Interface subject display method and system as well as service equipment
CN105141502A (en) * 2015-08-12 2015-12-09 深圳前海珩昌科技有限公司 Method and device for managing instant communication process
US20170033941A1 (en) * 2015-07-29 2017-02-02 Ignasi Elias De Gispert Messaging systems
CN107222382A (en) * 2016-03-22 2017-09-29 阿里巴巴集团控股有限公司 A kind of method and device of presentation of information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657039A (en) * 2015-02-12 2015-05-27 广州华多网络科技有限公司 Interface subject display method and system as well as service equipment
US20170033941A1 (en) * 2015-07-29 2017-02-02 Ignasi Elias De Gispert Messaging systems
CN105141502A (en) * 2015-08-12 2015-12-09 深圳前海珩昌科技有限公司 Method and device for managing instant communication process
CN107222382A (en) * 2016-03-22 2017-09-29 阿里巴巴集团控股有限公司 A kind of method and device of presentation of information

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350924A (en) * 2020-11-06 2021-02-09 北京字跳网络技术有限公司 Communication method, communication device, terminal and storage medium
CN112350924B (en) * 2020-11-06 2022-09-27 北京字跳网络技术有限公司 Communication method, communication device, communication terminal and storage medium
CN112684961A (en) * 2020-12-30 2021-04-20 上海掌门科技有限公司 Method and equipment for processing session information
CN114967993A (en) * 2021-02-26 2022-08-30 北京字跳网络技术有限公司 Label sharing method and device, electronic equipment and medium
CN113141295A (en) * 2021-03-25 2021-07-20 维沃移动通信有限公司 Message display method and device and electronic equipment

Also Published As

Publication number Publication date
CN110597974B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN110597974B (en) Instant messaging method and device, computer equipment and terminal equipment
CN106686396B (en) Method and system for switching live broadcast room
US10958459B2 (en) Method and apparatus for processing group chat message
US10673790B2 (en) Method and terminal for displaying instant messaging message
CN106254910B (en) Method and device for recording image
CN104796743A (en) Content item display system, method and device
CN104571498A (en) Application program starting method
CN104965843A (en) Method and apparatus for acquiring comment information
CN105554522A (en) Method for playing audio in group, server and terminal
WO2022183707A1 (en) Interaction method and apparatus thereof
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104899083A (en) Application share method and device
CN112751744B (en) Method and device for controlling video playing, computing equipment and storage medium
CN104519262A (en) Method, device for acquiring video data, and terminal
CN113094143A (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN109544183A (en) A kind of business consultation method and device
CN112286483A (en) Audio playing control method and device and electronic equipment
CN111813299A (en) Information sharing method, information sharing device and electronic equipment
CN105163189A (en) Method for reserving multimedia programs, server and terminal
CN108563416A (en) Application display method, device, storage medium and electronic equipment
CN111625690A (en) Object recommendation method, device, equipment and medium
CN106330681B (en) Method, system and related equipment for sharing film watching information
CN113676395B (en) Information processing method, related device and readable storage medium
US20150052211A1 (en) Message based conversation function execution method and electronic device supporting the same
CN113867583A (en) Message record display method and device and electronic equipment

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