CN113485598A - Chat information display method and device - Google Patents

Chat information display method and device Download PDF

Info

Publication number
CN113485598A
CN113485598A CN202110785799.XA CN202110785799A CN113485598A CN 113485598 A CN113485598 A CN 113485598A CN 202110785799 A CN202110785799 A CN 202110785799A CN 113485598 A CN113485598 A CN 113485598A
Authority
CN
China
Prior art keywords
chat
input
image
information
target
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.)
Pending
Application number
CN202110785799.XA
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110785799.XA priority Critical patent/CN113485598A/en
Publication of CN113485598A publication Critical patent/CN113485598A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a chat information display method and device, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input, the first input being for sending first chat information; responding to the first input, and displaying a first image corresponding to the first chat information in a chat interface; and after the first image is displayed, displaying the first chat information in the chat interface.

Description

Chat information display method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a chat information display method and device.
Background
With the rapid development of mobile communication technology and the widespread of intelligent electronic devices, instant chat has become an essential part of people's work and life.
At present, the instant chat mode is often used for instant communication by inputting information in the form of characters, voice and the like. However, in the existing chat interaction process, only through the text or voice to chat, the content of the chat information is not vivid, intuitive, and interesting, so how to better display the chat information becomes a problem to be solved in the industry.
Disclosure of Invention
The embodiment of the application aims to provide a chat information display method and a chat information display device, which can solve the problem of better displaying chat information.
In a first aspect, an embodiment of the present application provides a chat information display method, where the method includes:
receiving a first input, the first input being for sending first chat information;
responding to the first input, and displaying a first image corresponding to the first chat information in a chat interface;
and after the first image is displayed, displaying the first chat information in the chat interface.
In a second aspect, an embodiment of the present application provides a chat information display apparatus, including:
a receiving unit, configured to receive a first input, where the first input is used to send first chat information;
the first display unit is used for responding to the first input and displaying a first image corresponding to the first chat information in a chat interface;
and the second display unit is used for displaying the first chat information in the chat interface after the first image is displayed.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, after the first chat information is sent through the first input, the first image is firstly displayed in the chat interface, so that the sent chat information is more vivid, the attention of a chat object can be effectively attracted, and the interestingness in the chat interaction process is increased; meanwhile, after the first image is displayed, the content of the first chat information can be displayed in the chat interface, so that the first chat information can be visually displayed, a chat object can visually check the first chat information after watching the first image, the content of the chat information can be accurately understood, the interest of the chat is increased, and the accuracy of instant chat information transmission is ensured.
Drawings
Fig. 1 is a schematic flow chart of a chat message display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a first image display provided by an embodiment of the present application;
FIG. 3 is a second schematic diagram of a first image display provided in the present embodiment;
fig. 4 is a schematic diagram of a double-end display of a first image according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a preview image display provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a chat interface display in a game mode provided by an embodiment of the present application;
fig. 7 is a second flowchart illustrating a chat message display method according to an embodiment of the present application;
FIG. 8 is a flow chart of a chat game method provided by an embodiment of the application;
fig. 9 is a schematic structural diagram of a chat message display device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A chat information display method and apparatus, an electronic device, and a storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a chat information display method provided in an embodiment of the present application, and as described in fig. 1, the method includes:
step 110, receiving a first input, wherein the first input is used for sending first chat information;
specifically, in the embodiment of the present application, an electronic device receives a first input, where the electronic device may be a smart phone, a tablet computer, or a palmtop computer.
The first input described in this application may specifically be a first input from a user, and may also be an instruction input from an electronic device.
The first chat message described in the present application may specifically be text message or voice message, that is, the first chat message may be text message input by a user through editing or pasted by copying, or may also be voice message input by the user.
The first input in the application is an operation of sending first chat information, and when the first chat information is text information, the first input specifically can be an operation of clicking, double clicking or long pressing a sending identifier after the text information is edited; when the first chat message is a voice message, the first input may specifically be an operation of pressing a voice key to enter the voice message and then releasing the voice key to send the voice message.
The first input in the present application may also be applicable to a dual-screen device, and the first input refers to a sending operation of chat information input in a current display interface of the dual-screen device.
Step 120, responding to the first input, displaying a first image corresponding to the first chat information in a chat interface;
in particular, the first image described in the present application may particularly be a static image, such as a picture; or may be a dynamic image such as an animation.
The electronic equipment responds to the first input, intelligent semantic recognition is carried out on the first chat information, retrieval and matching are carried out in the image database according to the semantic recognition result of the first chat information, under the condition that the first chat information is text information, retrieval and matching can also be directly carried out in the image database according to the first chat information, and a first image corresponding to the first chat information is found out, wherein the first image can be derived from an image database preset on the electronic equipment or a local server by a user or an image database on an external network server.
After the electronic device finds the first image corresponding to the first chat information, the first image can be displayed in the chat interface, and can be displayed as a picture or an interesting animation, so that the attention of the chat object can be attracted at the first time, and the interest of the chat is increased.
In the process of single chat or group chat, after the first chat information is successfully sent, the first image corresponding to the first chat information can be displayed on electronic equipment of two or more parties of the chat at the same time, and users participating in the chat can watch the first image at the same time.
In the embodiment of the present application, the first image may be displayed in a specific area in the chat interface, for example, may be displayed above the chat input box, or may be displayed in a full screen, and may be displayed as a picture having effects of negative film, flashing, black and white, or may be displayed as an animation, so as to achieve the purpose of attracting the attention of the chat object.
Fig. 2 is a schematic diagram of a first image display provided in an embodiment of the present application, and as shown in fig. 2, a first image 210 corresponding to first chat information is displayed above a chat input box in a chat interface.
Fig. 3 is a second schematic view of displaying the first image according to the embodiment of the present application, and as shown in fig. 3, the first image 210 corresponding to the first chat message is displayed in a full screen manner in the chat interface.
Fig. 4 is a schematic view of double-end display of a first image, where as shown in fig. 4, the left side in fig. 4 is a schematic view of a chat display interface of an electronic device of a first user, and the right side in fig. 4 is a schematic view of a chat display interface of an electronic device of a second user, and after a user successfully sends first chat information to the user, a first image 210 corresponding to the first chat information may be displayed in the double-end chat interfaces of the first user and the second user.
The method and the device can be also specifically applied to VR chat scenes, and based on richness and three-dimensional sense of VR chat information display, images corresponding to the chat information can be displayed more three-dimensionally and vividly, stronger visual impact can be brought to two parties or multiple parties of chat interaction, the interest of the chat is greatly increased, and the interaction among chat personnel is promoted.
Step 130, after the first image is displayed, displaying the first chat information in the chat interface;
specifically, the first image display end effect described in the present application may be an effect that the first image is automatically reduced and simultaneously becomes transparent after being displayed, and finally disappears from the chat interface, so that not only is the interest brought to the chat interaction process, but also the attention of the chat object can be continuously attracted, and the chat object is concentrated in the current chat interaction.
In the instant chat process, text information and voice information can intuitively express the semantics of a user, but the use of the mode of displaying images can increase the interest of the chat, but a single image is easy to cause misunderstanding of the chat information and is not beneficial to the accurate transmission of the chat information, so in the embodiment of the application, after the first image is displayed and disappears in the chat interface, the first chat information can be displayed in the chat interface, so that the original content of the chat information can be still kept while the chat display effect is enriched, for example, text information or voice identification finally sent by the user is displayed in the chat interface, and the voice identification can correspond to the voice message sent by the user. According to the method and the device, the original content of the chat information is reserved, and the accuracy of information transmission in the chat interaction process is guaranteed.
In the embodiment of the application, after the first chat information is sent through the first input, the first image is firstly displayed in the chat interface, so that the sent chat information is more vivid, the attention of a chat object can be effectively attracted, and the interestingness in the chat interaction process is increased; meanwhile, after the first image is displayed, the content of the first chat information can be displayed in the chat interface, so that the first chat information can be visually displayed, a chat object can visually check the first chat information after watching the first image, the content of the chat information can be accurately understood, the interest of the chat is increased, and the accuracy of instant chat information transmission is ensured.
Optionally, before the receiving the first input, further comprising:
receiving a second input for inputting the content of the first chat information;
responding to the second input, displaying N preview images in a chat interface, wherein the preview images are images matched with the first chat information in the first database, and N is a positive integer;
receiving a third input to a target preview image of the plurality of preview images;
in response to the third input, the target preview image is taken as a first image corresponding to the first chat information.
Specifically, the second input described in the present application is an input for inputting the content of the first chat information, which may specifically be an operation for inputting text information or an operation for entering voice information.
The preview image in the application refers to an image matched with the first chat information in the first database, and specifically may be one or more preview images, the chat information is subjected to semantic recognition, and a related vocabulary is determined according to the recognized semantics, for example, when the chat information is text information, the related vocabulary can be extracted from the text information, when the chat information is voice information, the voice information can be subjected to voice recognition, the related vocabulary is extracted from a voice recognition result, and then a corresponding image can be obtained from the first database through matching of the related vocabulary of the chat information.
Because the same vocabulary may have different semantics in different scenes, the user can set a plurality of corresponding images containing different semantics for the same vocabulary, and further N preview images can be matched in the first database according to text information or voice information input by the user, wherein N is a positive integer.
The first database in the application can be a database preset by a user, the matching relationship between the preview images and the chat information is stored in the database, one chat information can be matched with a plurality of preview images, and the matching relationship stored in the first database can be defined and set by the user.
After determining the N preview images corresponding to the first chat message, the electronic device responds to a second input and displays a plurality of preview images in the chat interface.
The preview image is displayed temporarily, and can be displayed in a floating manner in a specific area in the chat interface.
Fig. 5 is a schematic view of displaying preview images according to an embodiment of the present application, and as shown in fig. 5, for example, according to the first chat information input by the user, 3 preview images, namely a preview image one, a preview image two, and a preview image three, may be correspondingly displayed above the chat input box.
The third input described in this application is an input to a target preview image in the plurality of preview images, and refers to an operation of selecting the target preview image, which may specifically be an operation of clicking, long-pressing, or sliding the selection. The target preview image in the present application refers to an image that matches the semantics of the chat information input by the user.
Through the third input, the user can select the image which is considered by the user to be matched with the semantics of the input chat information, and the meaning expressed by the image is ensured to be in accordance with the semantics of the user.
And the electronic equipment responds to the third input and takes the target preview image as a first image corresponding to the first chat information.
In the embodiment of the application, because the associated words corresponding to the first chat information may have different semantics, the N preview images are provided for the user to select, so that the user can independently select the first image corresponding to the first chat information, and the matching relationship in the first database can be defined and set by the user, so that the user can be fully ensured to select the image which accords with the semantic expression of the user.
Optionally, before the receiving the first input, further comprising:
receiving a fourth input, wherein the fourth input is used for sending a first trigger instruction;
and responding to the fourth input, and executing a first target mode corresponding to the first trigger instruction.
Specifically, the fourth input described in this application refers to an input for sending a first trigger instruction, the first trigger instruction in this application refers to an instruction for triggering a specific mode, which may specifically be a specific text information trigger instruction, and the specific text information may be a combination of a specific character and a conventional sentence. When the first trigger instruction is specific text information, the fourth input may specifically be an operation of clicking, double-clicking, or long-pressing the sending identifier after the first trigger instruction is edited.
The first target mode described in this application refers to a specific mode triggered by the first trigger instruction, which may be specifically a game mode or a teaching mode, and may also be other chat modes. Different first trigger instructions may trigger different first target modes, for example, when the first trigger instruction is a game instruction, a game mode may be triggered, and when the first trigger instruction is a teaching instruction, a teaching mode may be triggered.
In an embodiment of the application, the first trigger instruction may be specific text information for triggering a game mode, and the chat interactive game is triggered through the specific text information. For example, the user can enter an interactive game mode for feeding the cat by sending specific text information of "@ 1@ feeding cat"; the first trigger instruction may also be specific text information for triggering the teaching interaction mode, for example, the user may enter the teaching interaction mode by sending specific text information "@ 1@ operation teaching".
Fig. 6 is a schematic view showing a chat interface in a game mode according to an embodiment of the present disclosure, as shown in fig. 6, after the game mode is entered, for example, a pet budding game, the chat interface displays the state information of the pet budding in a floating manner, including the mood of the pet budding, the satiation degree of the pet budding, and other information.
When the first target mode is a game mode, the user can play a game with a chat object by combining the traditional chat mode and a leisure game, and can play the game by sending instruction information, so that the entertainment and the interactivity of the chat are increased; when the first target mode is a teaching mode, the user can send corresponding teaching content images by sending teaching information by combining the traditional chatting mode with the instruction teaching for the chatting object to learn so as to solve the problems encountered by the chatting object. By the scheme, the plurality of first trigger instructions can trigger the plurality of first target modes, and the function of instant chat is expanded.
And the electronic equipment responds to the fourth input, enters a first target mode corresponding to the first trigger instruction, and can call the database in the first target mode.
In the embodiment of the application, by sending the first trigger instruction, the user can enter the first target mode corresponding to the first trigger instruction, in the first target mode, the user can enter the specific chat mode, different trigger instructions can trigger different modes, and in different modes, the user can have different chat experiences, so that the application scene of the chat can be enriched, and the function of the instant chat is expanded.
Optionally, after the executing the first target mode corresponding to the first trigger instruction, the method further includes:
and under the first target mode, finding a first target image matched with first chat information in a second database corresponding to the first target mode, and taking the first target image as a first image corresponding to the first chat information.
Specifically, the second database described in this application refers to an image database corresponding to the first target pattern, which may be a game image database or a teaching image database. In different first target modes, the electronic device may invoke different databases. When the first target mode is a game mode, the electronic equipment can call a game image database in the game mode, and when the first target mode is a teaching interaction mode, the electronic equipment can call a teaching image database in the teaching interaction mode.
The second database in the application can also comprise the first database or an image database of the external internet besides the image database corresponding to the first target mode, so that after the game mode or the teaching mode is entered, the electronic equipment can still call the image database of the first database or the image database of the external network for image display in the chat process.
The first target image described herein refers to an image that matches the first chat information in the second database.
After the user sends the first chat information, the electronic device calls the second database in the first target mode, finds a first target image matched with the first chat information in the second database, and uses the first target image as a first image corresponding to the first chat information.
In the embodiment of the application, the second database corresponding to the first target mode can be called by entering the first target mode, different second databases can be called in different first target modes, different target images matched with the first chatting information can be found in different databases, and the target images are used as the first images corresponding to the first chatting information, so that a user can view different images in different databases by entering different modes, the user can enter other modes while chatting normally, the first images in different modes are displayed, more various experience modes are brought for chatting, and the user experience in instant chatting is enhanced.
Optionally, after executing the first target mode corresponding to the first trigger instruction, the method further includes:
receiving a fifth input, where the fifth input is an operation of sending a first end instruction corresponding to the first target mode;
in response to the fifth input, ending the first target mode.
Specifically, the fifth input described in this application refers to an input for sending a first end instruction corresponding to the first target mode, and the first end instruction in this application refers to an instruction for ending the first target mode, which may specifically be a specific text information ending instruction, and likewise, the specific text information may also be a combination of a specific character and a conventional sentence. When the first trigger instruction is specific text information, the fifth input may be specifically an operation of clicking, double-clicking, or long-pressing the sending identifier after the text information is edited. In the application, although the user can still perform a normal chat when entering the first target mode, it is inevitable that the chat information input by the normal chat is similar to or consistent with the chat information in the first target mode, so as to cause a database call conflict, and in order to avoid such a situation, the user may send a first end instruction to end the first target mode.
The electronic device may end the first target mode in response to the fifth input, and no longer call the database corresponding to the first target mode.
In an embodiment of the application, when the first target mode is the game mode, the first end instruction may be specific text information for ending the game mode, and the game mode is ended through the specific text information. For example, the user may end the game mode of feeding the cat by sending a specific text message of "end @1@ feeding the cat"; when the first target mode is the teaching mode, the first ending instruction may also be specific text information for ending the teaching mode, for example, the user may end the current teaching mode by sending the specific text information "end @1@ operation teaching".
In the embodiment of the application, the user can quickly end the first target mode by sending the first end instruction, the electronic device does not call the database corresponding to the first target mode any more, the quick switching from the first target mode to the normal chat is realized, and the user can be ensured to obtain the normal chat experience while providing more various chat experiences.
Optionally, before displaying the first image corresponding to the first chat message in the chat interface, the method further includes:
and searching a second target image matched with the first chatting information in a third database, and taking the second target image as a first image corresponding to the first chatting information.
Specifically, the third database described in the present application refers to an image database in the external internet. Through abundant image resources in an external internet image database, a user can obtain the most popular or most popular image on the network, so that the chat information can be better displayed.
The second target image described herein refers to an image in the third database that matches the first chat message, which may be the most popular or most preferred image for the user across the network.
After the user sends the first chat information, the electronic equipment can call the third database, and the second target image matched with the first chat information is searched in the third database, so that the user can obtain the display image which is most popular or most popular in the whole network and can be used as the first image corresponding to the first chat information, and the chat information can automatically and quickly obtain a better display effect.
In the embodiment of the application, by calling the external internet image database, after the user sends the first chat information, the user can automatically search the target image matched with the first chat information in the image database, the target image is the image which is most popular with the user or has the highest user preference degree in the whole network, and the target image is used as the first image corresponding to the first chat information, so that the chat information can quickly obtain a better display effect, the whole process does not need user operation, and a better and faster chat display effect is brought to the user.
Optionally, the image displayed by the chat may be from an image database preset by the user, in this embodiment, a chat display method based on the preset image database is taken as an example, and fig. 7 is a second flowchart of the chat information display method provided in this embodiment, as shown in fig. 7, the method includes:
step 710, identifying first chat information input by a user in real time;
720, acquiring the associated vocabulary of the first chat information of the user through semantic recognition;
step 730, automatically matching N preview images closest to the associated vocabulary semantics of the first chat information from a preset database;
step 740, determining a target preview image selected by the user from the N preview images, taking the target preview image as a first image corresponding to the first chat message, and sending the first chat message;
step 750 displays a first image in a chat interface of two or more terminals.
In the embodiment of the application, the chat information can be displayed interestingly according to the mode preset by the user, the interestingness of the chat can be increased, and the chat system is more vivid and interesting compared with the traditional chat.
Optionally, the game mode is a common mode of the first target mode, the embodiment of the present application takes a case that the first target mode is the game mode as an example, and fig. 8 is a flowchart of the chat game method provided in the embodiment of the present application, as shown in fig. 8, including:
step 801, identifying a trigger instruction sent by a user, starting a game: identifying specific text information sent by a user on a chat interface, and starting a chat interactive game for feeding a cat, wherein if the identified specific text information is '@ 1@ feeding cat';
step 802, identifying a first chat message input by a user: recognizing text information or voice information input by a user on a chat interface, such as 'cat feeding food', calling a game image database, and searching for an animation matched with the 'cat feeding food' in the game database;
step 803, according to the first chat information, performing game animation display: an animation for displaying one cat eating cat food in a floating way (the animation for displaying one cat eating cat food in a floating way on the terminals of two-party users or multiple-party users);
step 804, ending the animation, displaying the original text information: after the animation is displayed for a few seconds, the screen automatically shrinks and simultaneously becomes transparent, and finally disappears, and the original chat content 'cat food' is displayed;
step 805, identifying the first chat message input by the user: recognizing that the user inputs a ' bowknot for the cat ' on the chat interface ', calling a game image database, and searching an animation matched with the ' bowknot for the cat ' in the game database;
step 806, performing game animation display according to the first chat information: displaying an animation of a cat with a bow tie;
step 807, displaying the budding pet state information: displaying the animation and simultaneously displaying parameters such as mood, satiation degree and the like of the cat; after the cat animation is reduced and transparent and disappears, the state information of the cat is still displayed in a suspending way on the chat information;
step 808, identify user PK instructions: identifying 'cat PK' input by a user on a chat interface, and initiating PK to a friend terminal;
step 809, performing game PK animation display according to the user PK instruction: animation showing two cats PK; in the process of the cat PK, the vocabulary or voice of the type of 'refuel' input by the user is recognized, and the strength or mood of the cat is temporarily increased.
Step 810, recognizing an ending instruction sent by the user, ending the game: when the game needs to be ended, the game can be ended by inputting 'end @1@ feeding cat' in the chat message or clicking a close button of the cat state information.
In the embodiment of the application, the operation of a mini game can be realized while chatting, and the traditional chatting mode and the leisure game are combined, so that the interestingness and the interactivity of the chatting are increased.
It should be noted that, in the chat information display method provided in the embodiment of the present application, the execution main body may be a chat information display apparatus, or a control module in the chat information display apparatus for executing the chat information display method. The embodiment of the present application describes a chat information display apparatus provided in the embodiment of the present application, by taking an example of a method for displaying chat information performed by a chat information display apparatus.
Fig. 9 is a schematic structural diagram of a chat information display apparatus according to an embodiment of the present application, and as shown in fig. 9, the chat information display apparatus includes: a receiving unit 910, a first display unit 920, and a second display unit 930, wherein the receiving unit 910 is configured to receive a first input, and the first input is used to send first chat information; a first display unit 920, configured to display, in response to the first input, a first image corresponding to the first chat information in a chat interface; a second display unit 930, configured to display the first chat information in the chat interface after the first image is displayed.
Optionally, the apparatus further comprises:
the first receiving subunit is used for receiving a second input, and the second input is used for inputting the content of the first chat information;
a first display subunit, configured to, in response to the second input, display a plurality of preview images in a chat interface, where the preview images are images in a first database that match the first chat information;
a second receiving subunit, configured to receive a third input to a target preview image in the plurality of preview images;
a confirmation unit configured to take the target preview image as a first image corresponding to the first chat information in response to the third input.
Optionally, the apparatus further comprises:
the third receiving subunit is used for receiving a fourth input, and the fourth input is used for sending a first trigger instruction;
and the execution unit is used for responding to the fourth input and executing the first target mode corresponding to the first trigger instruction.
Optionally, the apparatus further comprises:
and the first matching unit is used for searching a first target image matched with the first chat information in a second database corresponding to the first target mode under the first target mode, and taking the first target image as a first image corresponding to the first chat information.
Optionally, the apparatus further comprises:
and the second matching unit is used for searching a second target image matched with the first chat information in a third database, and taking the second target image as a first image corresponding to the first chat information.
In the embodiment of the application, after the first chat information is sent through the first input, for example, after the text information or the voice information is sent, the first image is firstly displayed in the chat interface, so that the sent chat information is more vivid, the attention of a chat object can be effectively attracted, and the interestingness in the chat interaction process is increased; meanwhile, after the first image is displayed, the first image can be converted into the content of the first chat information, so that the first chat information is visually displayed, a chat object can further accurately understand the content of the chat information by visually checking the first chat information on the basis of watching the first image, and the accuracy of instant chat information transmission is ensured while the interest of chat is increased.
The chat information display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The chat information display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The chat information display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 8, and is not described here again to avoid repetition.
Optionally, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 10, an embodiment of the present application further provides an electronic device 1000, which includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, and when the program or the instruction is executed by the processor 1001, the process of the embodiment of the chat information display method is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1107 is configured to receive a first input, where the first input is used to send first chat information;
the display unit 1106 is configured to display a first image corresponding to the first chat information in a chat interface in response to the first input;
the display unit 1106 is further configured to display the first chat information in the chat interface after the first image is displayed.
Optionally, the user input unit 1107 is further configured to receive a second input, where the second input is used to input the content of the first chat information;
the display unit 1106 is further configured to display, in response to the second input, N preview images in the chat interface, where the preview images are images in the first database that match the first chat information, and N is a positive integer;
the user input unit 1107 is also used to receive a third input to a target preview image of the plurality of preview images;
processor 1110 is further configured to, in response to the third input, treat the target preview image as the first image corresponding to the first chat information.
Optionally, the user input unit 1107 is further configured to receive a fourth input, where the fourth input is used to send a first trigger instruction;
processor 1110 is further configured to execute, in response to the fourth input, a first target mode corresponding to the first trigger instruction.
Optionally, the processor 1110 is further configured to find, in the first target mode, a first target image matching the first chat information in a second database corresponding to the first target mode, and use the first target image as the first image corresponding to the first chat information.
Optionally, the processor 1110 is further configured to find a second target image matching the first chat information in a third database, and use the second target image as the first image corresponding to the first chat information.
In the embodiment of the application, after the first chat information is sent through the first input, for example, after the text information or the voice information is sent, the first image is firstly displayed in the chat interface, so that the sent chat information is more vivid, the attention of a chat object can be effectively attracted, and the interestingness in the chat interaction process is increased; meanwhile, after the first image is displayed, the first image can be converted into the content of the first chat information, so that the first chat information is visually displayed, a chat object can further accurately understand the content of the chat information by visually checking the first chat information on the basis of watching the first image, and the accuracy of instant chat information transmission is ensured while the interest of chat is increased.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above chat information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above chat information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the chip is not described here again.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A chat message display method, comprising:
receiving a first input, the first input being for sending first chat information;
responding to the first input, and displaying a first image corresponding to the first chat information in a chat interface;
and after the first image is displayed, displaying the first chat information in the chat interface.
2. The chat message display method according to claim 1, further comprising, before the receiving the first input:
receiving a second input for inputting the content of the first chat information;
responding to the second input, displaying N preview images in a chat interface, wherein the preview images are images matched with the first chat information in the first database, and N is a positive integer;
receiving a third input to a target preview image of the plurality of preview images;
in response to the third input, the target preview image is taken as a first image corresponding to the first chat information.
3. The chat message display method according to claim 1, further comprising, before the receiving the first input:
receiving a fourth input, wherein the fourth input is used for sending a first trigger instruction;
and responding to the fourth input, and executing a first target mode corresponding to the first trigger instruction.
4. The chat message display method according to claim 3, further comprising, after the executing the first target mode corresponding to the first trigger instruction:
under the first target mode, finding a first target image matched with first chat information in a second database corresponding to the first target mode, and taking the first target image as a first image corresponding to the first chat information;
in response to the fifth input, ending the first target mode.
5. The method of claim 1, wherein before displaying the first image corresponding to the first chat message in the chat interface, the method further comprises:
and searching a second target image matched with the first chatting information in a third database, and taking the second target image as a first image corresponding to the first chatting information.
6. A chat information display apparatus, comprising:
a receiving unit, configured to receive a first input, where the first input is used to send first chat information;
the first display unit is used for responding to the first input and displaying a first image corresponding to the first chat information in a chat interface;
and the second display unit is used for displaying the first chat information in the chat interface after the first image is displayed.
7. The chat message display apparatus of claim 6, the apparatus further comprising:
the first receiving subunit is used for receiving a second input, and the second input is used for inputting the content of the first chat information;
a first display subunit, configured to, in response to the second input, display a plurality of preview images in a chat interface, where the preview images are images in a first database that match the first chat information;
a second receiving subunit, configured to receive a third input to a target preview image in the plurality of preview images;
a confirmation unit configured to take the target preview image as a first image corresponding to the first chat information in response to the third input.
8. The chat message display apparatus according to claim 6, further comprising:
the third receiving subunit is used for receiving a fourth input, and the fourth input is used for sending a first trigger instruction;
and the execution unit is used for responding to the fourth input and executing the first target mode corresponding to the first trigger instruction.
9. The chat message display apparatus according to claim 8, further comprising:
and the first matching unit is used for searching a first target image matched with the first chat information in a second database corresponding to the first target mode under the first target mode, and taking the first target image as a first image corresponding to the first chat information.
10. The chat message display apparatus according to claim 6, further comprising:
and the second matching unit is used for searching a second target image matched with the first chat information in a third database, and taking the second target image as a first image corresponding to the first chat information.
CN202110785799.XA 2021-07-12 2021-07-12 Chat information display method and device Pending CN113485598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110785799.XA CN113485598A (en) 2021-07-12 2021-07-12 Chat information display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785799.XA CN113485598A (en) 2021-07-12 2021-07-12 Chat information display method and device

Publications (1)

Publication Number Publication Date
CN113485598A true CN113485598A (en) 2021-10-08

Family

ID=77938775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110785799.XA Pending CN113485598A (en) 2021-07-12 2021-07-12 Chat information display method and device

Country Status (1)

Country Link
CN (1) CN113485598A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099861A (en) * 2014-05-19 2015-11-25 阿里巴巴集团控股有限公司 User emotion-based display control method and display control device
CN106228451A (en) * 2016-05-15 2016-12-14 盛禾东林(厦门)文创科技有限公司 A kind of caricature chat system
KR20190138406A (en) * 2018-06-05 2019-12-13 서대선 Chatting system using device
CN112152901A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Virtual image control method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099861A (en) * 2014-05-19 2015-11-25 阿里巴巴集团控股有限公司 User emotion-based display control method and display control device
CN106228451A (en) * 2016-05-15 2016-12-14 盛禾东林(厦门)文创科技有限公司 A kind of caricature chat system
KR20190138406A (en) * 2018-06-05 2019-12-13 서대선 Chatting system using device
CN112152901A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Virtual image control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US20210365749A1 (en) Image data processing method and apparatus, electronic device, and storage medium
CN111353064B (en) Expression package generation method, device, equipment and medium
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112422405B (en) Message interaction method and device and electronic equipment
CN113569037A (en) Message processing method and device and readable storage medium
JP7212770B2 (en) Pictogram package generation method, apparatus, equipment and storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN110795589A (en) Image searching method and device, computer equipment and storage medium
CN113593614B (en) Image processing method and device
CN113010248A (en) Operation guiding method and device and electronic equipment
CN113392178A (en) Message reminding method, related device, equipment and storage medium
CN112417095B (en) Voice message processing method and device
CN112383662B (en) Information display method and device and electronic equipment
CN113676395A (en) Information processing method, related device and readable storage medium
CN113794575A (en) Message sending method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
CN112269509A (en) Information processing method and device and electronic equipment
CN113157966B (en) Display method and device and electronic equipment
CN113485598A (en) Chat information display method and device
CN106407386B (en) Method and device for improving topic searching efficiency
CN112383666B (en) Content sending method and device and electronic equipment
CN111352685B (en) Display method, device, equipment and storage medium of input method keyboard
CN113778596A (en) Remote assistance method and device and electronic equipment
CN110891194B (en) Comment information display method and device, terminal and storage medium
CN113779293A (en) Image downloading method, device, electronic equipment and medium

Legal Events

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