CN112949270A - Information display method and device, electronic equipment and readable storage medium - Google Patents

Information display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112949270A
CN112949270A CN202110112414.3A CN202110112414A CN112949270A CN 112949270 A CN112949270 A CN 112949270A CN 202110112414 A CN202110112414 A CN 202110112414A CN 112949270 A CN112949270 A CN 112949270A
Authority
CN
China
Prior art keywords
text
content
message contents
multimedia
multimedia content
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
CN202110112414.3A
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 Co Ltd
Original Assignee
Vivo Mobile Communication 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 Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110112414.3A priority Critical patent/CN112949270A/en
Publication of CN112949270A publication Critical patent/CN112949270A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information display method, an information display device, electronic equipment and a readable storage medium, which can solve the problem of messy message display. The method comprises the following steps: acquiring N message contents, wherein N is more than or equal to 2; displaying the N message contents according to a first sequence of the N message contents; wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a textual subject of the at least one text and content elements of the multimedia file indicated by the at least one multimedia content; the content element is used to describe the main content contained in the multimedia file.

Description

Information display method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an information display method and device, electronic equipment and a readable storage medium.
Background
With the development of electronic device technology, users have higher and higher frequency of using electronic devices to participate in chatting.
In the related art, when a user chats, different types of information, such as pictures and texts, videos, emoticons, and the like, are generally interspersed for the purpose of enriching emotional expressions. In addition, for a chat target or a group chat in which chatting is frequent, a plurality of text and pictures are often received continuously.
However, after the electronic device receives the information, the received information is usually displayed according to the receiving sequence, and for the information sent by the sender without typesetting the information, and for the situation that the information display sequence is disordered due to different types of information transmission time, the reading and understanding of the information content by the receiver user are greatly influenced.
Disclosure of Invention
An embodiment of the present application provides an information display method, an information display apparatus, an electronic device, and a readable storage medium, which can solve the problem of messy message display.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information display method, including: acquiring N message contents, wherein N is more than or equal to 2; displaying the N message contents according to a first sequence of the N message contents; wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a textual subject of the at least one text and content elements of the multimedia file indicated by the at least one multimedia content; the content element is used to describe the main content contained in the multimedia file.
In a second aspect, an embodiment of the present application further provides an information display device, where the information display device includes: the device comprises an acquisition module and a display module; the acquisition module is used for acquiring N message contents, wherein N is more than or equal to 2; the display module is used for displaying the N message contents according to the first sequence of the N message contents acquired by the acquisition module; wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a textual subject of the at least one text and content elements of the multimedia file indicated by the at least one multimedia content; the content element is used to describe the main content contained in the multimedia file.
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, where the program or instructions, when executed by the processor, implement the steps of the information display 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 N message contents are acquired, the N message contents are displayed according to a first sequence determined by the text theme based on at least one text in the N message contents and the content element of the multimedia file indicated by at least one multimedia content, so that the electronic equipment can display the message edited by the user according to the real intention of the user, the message confusion is prevented, and the understanding by other users is facilitated.
Drawings
Fig. 1 is a schematic interface diagram of an information display method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an information display system according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an information display method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an interface applied by an information display method according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart diagram illustrating another information display method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an information display device according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another information display device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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.
The information display method provided by the embodiment of the application can be applied to a chat scene.
For example, for a chat scenario, in the related art, when a sending end sends a plurality of multimedia messages and text messages, due to different transmission times of the multimedia messages and the text messages, a display sequence of the multimedia messages and the text messages at a receiving end is different from a sending sequence of the sending end, so that a message display disorder situation occurs, and reading of a user is affected. For example, as shown in fig. 1 (a), each image is provided with explanatory text for the content transmitted by the transmitting end user. However, when the receiving end user receives the contents, the contents may be displayed in the order as shown in fig. 1 (B), and due to the disorder of the order, the receiving end user may not understand the correct meaning that the transmitting end user intends to express.
In view of this problem, in the technical solution provided in this embodiment of the present application, a user at a sending end may edit a message in an edit frame, and then the sending end sends the message edited by the user and a composition sequence of the message to a server, so that a receiving end can display the message according to the composition sequence of the message at the sending end after receiving the message, or the receiving end reorders the received message according to a theme of a text and content elements of a multimedia message after receiving the message that may be disordered, thereby preventing messiness of the message and improving readability of the message.
The information display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
For example, an executing subject of the information display method according to the first aspect of the present application may be a first electronic device, and when the executing subject is the first electronic device, the acquiring N message contents specifically includes: and receiving the N message contents sent by the server.
As shown in fig. 2, an information display system provided for an embodiment of the present application includes: a first electronic device 201, a second electronic device 202, and a server 203; the first electronic device 201 and the second electronic device 202 receive and transmit messages through the server 203.
The second electronic device 202 receives a third input from the user in the content editing area. Thereafter, the second electronic device 202 sends the targeted message to the server. Wherein the target message comprises at least one text and at least one multimedia file in a content editing area; the target message is used for instructing the server to send at least one text and at least one multimedia content to the first electronic equipment according to a second sequence; a multimedia content indicates a multimedia file, the second order is a layout order of at least one text and at least one multimedia file in the content editing region, and the layout order is determined based on a text subject of the at least one text and a content element of the at least one multimedia file.
For example, if the typesetting order of the at least one text and the at least one multimedia file in the content editing region is not determined based on the text subject of the at least one text and the content element of the at least one multimedia file, the second electronic device may typeset the N message contents based on the text subject of the at least one text and the content element of the at least one multimedia file before transmitting the N message contents.
When the N message contents acquired by the first electronic device 201 are the message contents sent by the server 203, the server 203 sends a first message containing the N message contents to the first electronic device 201 after receiving a second message sent by the second electronic device 202. Wherein the N message contents include at least one multimedia content and at least one text. The at least one multimedia content is used to indicate at least one multimedia file sent by the second electronic device 202, and one multimedia content indicates one multimedia file. The at least one text is the at least one text sent by the second electronic device 202.
The first electronic device 201 receives N message contents sent by the server, where N is greater than or equal to 2. The first electronic device 201 displays the N message contents in a stacked manner according to the first sequence of the N message contents. Wherein the first order is determined based on a text topic of the at least one text and a content element of the multimedia file indicated by the at least one multimedia content. Specifically, the first order may be the same as the second order.
Illustratively, the first electronic device 201 receives the N message contents transmitted by the server 203 and also receives sequence information transmitted by the server 203, wherein the sequence information is used for instructing the first electronic device 201 to display the N message contents in a stacking manner according to the sequence indicated by the sequence information.
For example, the first electronic device may have functions of the second electronic device, that is, steps performed by the second electronic device, and may also be performed on the first electronic device. Similarly, the steps executed by the first electronic device may also be executed on the second electronic device.
In this way, after the second user of the second electronic device edits the content to be transmitted in the content editing area of the second electronic device, the second electronic device transmits the edited content to the server. And after receiving the content sent by the second electronic equipment, the server sends the N message contents containing the content to the first electronic equipment. And after receiving the N message contents, the first electronic equipment displays the N message contents according to a first sequence determined by the text theme of at least one text in the N message contents and the content elements of the multimedia file indicated by at least one multimedia content. The situation that the information sequence is disordered due to different transmission time in the transmission process of the chat information is avoided.
As shown in fig. 3, an information display method applied to a first electronic device according to an embodiment of the present application may include the following steps 301 and 302:
step 301, the information display device obtains N message contents.
Wherein N is more than or equal to 2.
Illustratively, the N message contents acquired by the information display device may be sent by a server, or may be manually edited by a user on the first electronic device.
Step 302, the information display device displays the N message contents according to the first sequence of the N message contents.
The N message contents comprise at least one multimedia content and at least one text, and the first sequence is determined based on a text subject of the at least one text and a content element of the multimedia file indicated by the at least one multimedia content, wherein the content element is used for describing main content contained in the multimedia file.
Optionally, in this embodiment of the application, in order to facilitate the user to view, the information display device may integrate the messages with content relevance, and specifically, the information display device may display the above N message contents in a stacked manner.
In addition, in a case where the N message contents are manually edited by the user on the first electronic device, after the user finishes editing and clicks the send button, the information display device may display the N message contents in a first order. In this application, for convenience of understanding, the above-mentioned obtaining of the N message contents may be understood as receiving the N message contents sent by the server.
Illustratively, the multimedia file may include at least one of: images, sound, and video.
For example, since different types of messages are transmitted at different times during the transmission process, a transmitting end may transmit messages according to the sequence of multimedia files and texts, and a receiving end may display the messages according to the sequence of the texts and the multimedia files, in the case of many multimedia files and text messages, the messages are easily confused, the reading of a user is affected, and the messages are difficult to understand. Thus, the N message contents include at least one multimedia content and at least one text.
For example, in order to save traffic, in general, an information display apparatus does not directly receive a multimedia file but displays it in the form of multimedia content (e.g., a preview image) when receiving a multimedia message. And after the information display device receives the touch input of the user to the multimedia content, the information display device downloads the multimedia file indicated by the multimedia content from the server.
Alternatively, in this embodiment of the application, the information display apparatus may determine the display order of the N message contents, that is, the first order, according to whether order information is received from the server. The sequence information is used for indicating the information display device to display the N message contents according to the sequence indicated by the sequence information.
Case 1:
when the information display device receives the order information transmitted by the server, the first order may be: and the preset display sequence of the N message contents is the sequence determined by the server. That is, the preset display order is the order indicated by the order information. I.e. the first order is determined by the server.
Case 2:
in a case where the information display apparatus does not receive the order information transmitted by the server, the first order may be determined by the information display apparatus according to the content relevance of the N message contents. I.e. the first order is determined for the information display device.
Illustratively, the information display device may perform semantic recognition on at least one text received, and then obtain topics of the text, where one text corresponds to at least one topic. The information display device can also identify content elements of the media files corresponding to the received multimedia content, then match the content elements with the theme of the at least one text, and sort the N message contents according to the matching result. Specifically, multimedia content and text whose content elements are matched with the theme may be adjusted to adjacent positions.
Illustratively, the information display device determines a first order of the N message contents, and the information display device displays the N message contents in the first order. Namely, the information display device displays the messages with the content having relevance in the same area in a stacking mode, so that the messages are prevented from being mixed with other irrelevant messages, and the information display device is convenient for a user to check.
For example, as shown in fig. 4 (a), the sequence of 4 messages with content relevance sent by the sending end is shown, and as shown in fig. 4 (B), the receiving end stacks the 4 messages with content relevance after receiving the 4 messages.
In this way, after the information display device receives the N message contents sent by the server, the N message contents are stacked and displayed according to a first sequence determined based on the content relevance of the N message contents, so that the first electronic device can display the received messages according to the sequence edited by the user at the sending end, or sort the received messages according to the content relevance, thereby preventing message confusion and facilitating the understanding of the user.
Optionally, in this embodiment of the application, in order to facilitate a user to understand a large text received by the information display device, the information display device may perform semantic analysis on the received text, and in a case that a result of the semantic analysis indicates that the text has at least two topics, the information display device performs text segmentation on the text, so as to facilitate the user to read and understand the text.
For example, in a case where the at least one text includes a first text and the first text is a text including at least two subjects, the information display device performs semantic analysis on the first text, and then performs text segmentation on the first text according to a result of the semantic analysis. Then, the information display device reorders the N message contents after text division.
After the step 301, the information display method provided in the embodiment of the present application may further include the following step 301 a:
step 301a, in a case where the at least one text includes a first text and the first text is a text including at least two subjects, the information display device performs text segmentation on the first text to generate M third texts.
Wherein one third text corresponds to one subject.
Illustratively, the information display apparatus divides a first text having at least two subjects into a plurality of third texts according to the number of subjects of the first text. Specifically, the information display device may extract a text feature of the first text through a transfomer isochronous depth model, and perform text segmentation on the first text according to the text feature.
Before the step 302, the information display method provided in the embodiment of the present application may further include the following steps 301b1 and 301b 2:
step 301b1, the information display device matches the content element of the multimedia file indicated by each multimedia content with the subject of each third text.
Step 301b2, the information display device sorts the at least one multimedia content and the M third texts according to the matching result.
For example, after the information display device divides the first text, the N message contents may need to be reordered for the convenience of understanding by the user. And then displaying the N message contents.
When the multimedia file is an audio or video file, the information display device may further divide the multimedia file according to content elements of the multimedia file, and reorder the N message contents.
Therefore, the information display device can segment the received large text, then match the segmented text with other multimedia contents, and reorder the segmented text and other multimedia contents, thereby facilitating the reading of users and the query of messages.
Optionally, in this embodiment of the application, referring to the above case 2, in order to prevent the occurrence of a situation that reading and understanding of a user are affected due to disorder of information sequence when the information display apparatus does not receive sequence information sent by the server, after receiving the multimedia content, the information display apparatus is triggered to search for a text matching with a content element of a multimedia file indicated by the multimedia content, and reorder the text, so as to facilitate reading and understanding of the user.
Illustratively, the N message contents include a second text whose subject matches a content element of the multimedia file indicated by any of the multimedia contents. The information display device sorts the N message contents based on the text subject of the second text and the content element of the multimedia file indicated by at least one multimedia content.
After the step 301, the information display method provided in the embodiment of the present application may further include the following step 301 c:
in step 301c, when the information display device acquires the target multimedia content, if the theme of the fourth text matches with the content element of the multimedia file indicated by the target multimedia content, the fourth text is determined as the second text.
Wherein, the fourth text is: and the text is acquired in a first time before the target multimedia content is acquired and a second time after the target multimedia content is acquired, wherein the target multimedia content is one of the at least one multimedia content.
Illustratively, the information display device takes whether the multimedia content is acquired as a trigger condition, and after the multimedia content is acquired, the information display device is triggered to search for a text matched with the multimedia content, and the target multimedia content and the second text are reordered according to a matching result.
Therefore, for the message content without the server-specified sequence, the information display device can trigger the information display device to reorder the received messages according to the content relevance after receiving the multimedia content, so that the user can read and understand the messages conveniently.
Optionally, in this embodiment of the application, after the information display device displays the N message contents, the user may browse among the N message contents through a swipe gesture.
After the step 302, the information display method provided in the embodiment of the present application may further include the following steps 302a1 and 302a 2:
step 302a1, the information display device receives a first input from a user into the target area.
Wherein, the target area is an area for displaying the N message contents.
Illustratively, the first input may be a sliding input of the target area by a user.
In step 302a2, the information display device adjusts the display content of the target area based on the display order of the N message contents in response to the first input.
Illustratively, the information display apparatus switches the display content of the target area in the display order of the N message contents (i.e., the above-described first order) when adjusting the display content of the target area.
Therefore, the user can browse the N message contents with the content relevance in the target area without turning over up and down in the chat window.
Further optionally, in this embodiment of the present application, in order to save traffic, the multimedia content is only used as a preview of the multimedia file, and the multimedia file is still stored in the server. Therefore, when the user wants to view the multimedia file, the information display apparatus may download and play the multimedia file from the server upon receiving a browsing input of the user.
Illustratively, the browsing input may be a click input of the multimedia content by the user.
After the step 302, the information display method provided in the embodiment of the present application may further include the following steps 302b1 and 302b 2:
step 302b1, the information display device receives a second input of the multimedia content from the user in case the multimedia content is displayed in the target area.
Step 302b2, the information display device responds to the second input, and loads the multimedia file indicated by the multimedia content.
Illustratively, the multimedia content is one of the N message contents. The loading process includes a process in which the information display apparatus downloads and plays the multimedia file from the server.
Therefore, the information display device can download the multimedia file from the server when the user needs to browse the content of the multimedia file, and the consumption of flow is reduced.
According to the information display method provided by the embodiment of the application, after the N message contents are acquired, the N message contents are displayed according to the first sequence determined by the text theme based on at least one text in the N message contents and the content element of the multimedia file indicated by at least one multimedia content, so that a user can conveniently read and understand the N messages displayed by the information display device, and the situation that the messages are messy due to different types of messages with different transmission times is avoided.
In the case that the N message contents acquired by the first electronic device are N message contents sent by the server, as shown in fig. 5, for another information display method applied to the second electronic device provided in the embodiment of the present application, the method may include the following steps 401 and 402:
step 401, the information display device receives a third input of the user in the content editing area.
Illustratively, the third input may be an editing input of the user in the content editing area, for example, an input of inserting an image, a video, a voice, or a text.
Step 402, the information display device sends the target message to the server.
Wherein the target message includes at least one text and at least one multimedia file in the content editing area. The target message is used for indicating the server to send the sequence information to the first electronic equipment when sending the at least one text and the at least one multimedia content to the first electronic equipment. The sequence information is used for instructing the first electronic device to display the at least one text and the at least one multimedia content according to a second sequence. A multimedia content indicates a multimedia file, the second order is a layout order of at least one text and at least one multimedia file in a content editing area, and the layout order is determined based on a text subject of the at least one text and a content element of the at least one multimedia file.
Illustratively, the information display device sends the at least one text and the at least one multimedia file of the content editing area and the typesetting sequence of the at least one text and the at least one multimedia file to the server, and after the server receives the at least one text and the at least one multimedia file, in order to save traffic of the first electronic device, the server does not directly send the at least one multimedia file to the first electronic device, but sends multimedia content indicating the multimedia file to the first electronic device, for example, a preview image for previewing the multimedia file.
Illustratively, after receiving the sequence information sent by the server, the first electronic device displays the at least one text and the at least one multimedia content according to the second sequence.
Illustratively, the first order may be the same as the second order.
Therefore, a user at the sending end can typeset the contents to be sent at the sending end, and then the information display device sends the typesetted contents and the typesetting sequence to the server, so that the receiving end can display the contents according to the display sequence preset by the user.
Optionally, in this embodiment of the application, if the user inputs a large text in the content editing area, in order to facilitate reading and understanding by the receiving end user, the information display device splits the large text and reorders the large text according to the content relevance before sending the second message.
For example, before the step 402, the information display method provided in the embodiment of the present application may further include the following steps 401a1 to 401a 3:
in step 401a1, when the at least one text includes a fifth text, the information display device performs text segmentation on the fifth text to generate K sixth texts.
K is more than or equal to 2, the fifth text is a text which contains at least two themes in the at least one text, and one sixth text corresponds to one theme.
Step 401a2, the information display device matches the content element of each multimedia file with the subject of each sixth text.
Step 401a3, the information display device sorts the at least one multimedia file and the at least one text according to the matching result.
Illustratively, the above matching and reordering method has been described in detail in the above embodiments, and is not described herein again to avoid redundancy.
Therefore, after the receiving end receives the message content processed by the sending end, the receiving end can directly read without any processing, and the method is convenient and quick.
According to the information display method provided by the embodiment of the application, after a second user of a second electronic device edits the content to be sent in the content editing area of the second electronic device, the edited content is sent to a server. And after receiving the content sent by the second electronic equipment, the server sends the N message contents containing the content to the first electronic equipment. And after receiving the N message contents, the first electronic equipment displays the N message contents according to a first sequence determined by the text theme of at least one text in the N message contents and the content elements of the multimedia file indicated by at least one multimedia content. The situation that the information sequence is disordered due to different transmission time in the transmission process of the chat information is avoided.
It should be noted that, in the information display method provided in the embodiment of the present application, the execution main body may be an information display device, or a control module for executing the information display method in the information display device. In the embodiment of the present application, an information display device executing an information display method is taken as an example, and the information display device provided in the embodiment of the present application is described.
In the embodiments of the present application, the above-described methods are illustrated in the drawings. The information display method is exemplarily described with reference to one of the drawings in the embodiments of the present application. In specific implementation, the information display methods shown in the above method drawings may also be implemented in combination with any other combinable drawings shown in the above embodiments, and are not described herein again.
Fig. 6 is a schematic diagram of a possible structure of an information display device according to an embodiment of the present disclosure, and as shown in fig. 6, the information display device 600 includes: an obtaining module 601 and a display module 602, wherein: the acquisition module is used for acquiring N message contents, wherein N is more than or equal to 2; the display module is used for displaying the N message contents according to the first sequence of the N message contents received by the acquisition module; wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a textual subject of the at least one text and content elements of the multimedia file indicated by the at least one multimedia content; the content element is used to describe the main content contained in the multimedia file.
Optionally, in this embodiment of the application, the display module 602 is specifically configured to display the N message contents in a stacked manner.
Optionally, in this embodiment of the present application, the information display apparatus 600 further includes: a segmentation module 603, a matching module 604, and a ranking module 605; a segmenting module 603, configured to perform text segmentation on the first text to generate M third texts when at least one text includes the first text and the first text is a text including at least two topics; a third text corresponds to a subject; a matching module 604, configured to match a content element of the multimedia file indicated by each multimedia content with a topic of each third text generated by the segmentation module 603; a sorting module 605, configured to sort the at least one multimedia content and the M third texts according to the matching result of the matching module 604.
Optionally, in this embodiment of the present application, the N message contents include a second text, and a subject of the second text matches with a content element of a multimedia file indicated by any multimedia content; the information display apparatus 600 further includes: a determination module 606; a determining module 606, configured to determine, when the target multimedia content is obtained, if a theme of the fourth text matches a content element of the multimedia file indicated by the target multimedia content, the fourth text is a second text; wherein the fourth text is: the target multimedia content is one of the at least one multimedia content in a first time before the target multimedia content is acquired and a text acquired in a second time after the target multimedia content is acquired.
Optionally, in this embodiment of the present application, the information display apparatus 600 further includes: a user input module 607; a user input module 607, configured to receive a first input of the target area by the user; the target area is an area for displaying N message contents; the display module 602 is further configured to adjust the display content of the target area based on the display order of the N message contents in response to the first input received by the user input module 607.
Optionally, in this embodiment of the application, the user input module 607 is further configured to receive a second input of the multimedia content from the user in a case that the multimedia content is displayed in the target area; the display module 602 is further configured to load a multimedia file indicated by the multimedia content in response to the second input received by the user input module 607.
According to the information display device provided by the embodiment of the application, after the N message contents are acquired, the N message contents are displayed according to the first sequence determined by the text theme based on at least one text in the N message contents and the content element of the multimedia file indicated by at least one multimedia content, so that a user can conveniently read and understand the N messages displayed by the information display device, and the situation that the messages are messy due to different types of messages with different transmission times is avoided.
Fig. 7 is a schematic diagram of a possible structure of another information display device according to an embodiment of the present disclosure, and as shown in fig. 7, an information display device 700 includes: a user input module 071 and a sending module 702; a user input module 701, configured to receive a third input of the user in the content editing area; a sending module 702, configured to send a target message to a server, where the target message includes at least one text and at least one multimedia file in a content editing area; the target message is used for instructing the server to send at least one text and at least one multimedia content to the first electronic equipment according to a second sequence; a multimedia content indicates a multimedia file, the second order is a layout order of at least one text and at least one multimedia file in the content editing region, and the layout order is determined based on a text subject of the at least one text and a content element of the at least one multimedia file.
Optionally, the information display device 700 further includes: a segmentation module 703, a matching module 704 and a sorting module 705; a segmentation module 703, configured to perform text segmentation on the fifth text to generate K sixth texts when at least one text includes the fifth text; a sixth text corresponds to a subject; a matching module 704, configured to match the content element of each multimedia file with the topic of each sixth text generated by the segmentation module 703; a sorting module 705 for sorting the at least one multimedia file and the at least one text according to the matching result of the matching module 704; and the fifth text is a text containing at least two subjects in at least one text.
The 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. Illustratively, 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, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The 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 information display device provided in the embodiment of the present application can implement each process implemented by the information display device in the method embodiments of fig. 2 to fig. 5, and is not described here again to avoid repetition.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
In the information display apparatus provided in the embodiment of the present application, after a second user of a second electronic device edits a content to be sent in a content editing area of the second electronic device, the edited content is sent to a server. And after receiving the content sent by the second electronic equipment, the server sends the N message contents containing the content to the first electronic equipment. And after receiving the N message contents, the first electronic equipment displays the N message contents according to a first sequence determined by the text theme of at least one text in the N message contents and the content elements of the multimedia file indicated by at least one multimedia content. The situation that the information sequence is disordered due to different transmission time in the transmission process of the chat information is avoided.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and executable on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the above-mentioned embodiment of the information display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic hardware structure diagram of an electronic device implementing various embodiments of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 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 omitted here.
When the electronic device 100 is a first electronic device, the radio frequency unit 101 is configured to obtain N message contents, where N is greater than or equal to 2; a display unit 106, configured to display the N message contents in a stacked manner according to a first order of the N message contents received by the radio frequency unit 101; wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a textual subject of the at least one text and content elements of the multimedia file indicated by the at least one multimedia content; the content element is used to describe the main content contained in the multimedia file.
Optionally, the display unit 106 is specifically configured to display the N message contents in a stacked manner.
Optionally, the processor 110 is configured to, when at least one text includes a first text and the first text is a text including at least two topics, perform text segmentation on the first text to generate M third texts; a third text corresponds to a subject; a processor 110 for matching the content element of the multimedia file indicated by each multimedia content with the subject of each third text generated by the processor 110; and a processor 110 for sorting the at least one multimedia content and the M third texts according to the matching result of the processor 110.
Optionally, the N message contents include a second text, and a subject of the second text matches with a content element of the multimedia file indicated by any multimedia content; the processor 110 is configured to, in a case that the target multimedia content is obtained, determine the fourth text as the second text if a theme of the fourth text matches with a content element of the multimedia file indicated by the target multimedia content; wherein the fourth text is: the target multimedia content is one of the at least one multimedia content in a first time before the target multimedia content is acquired and a text acquired in a second time after the target multimedia content is acquired.
Optionally, a user input unit 107, configured to receive a first input of the target area by the user; the target area is an area for displaying N message contents; the display unit 106 is further configured to adjust the display content of the target area based on the display order of the N message contents in response to the first input received by the user input unit 107.
Optionally, the user input unit 107 is further configured to receive a second input of the multimedia content from the user in a case where the multimedia content is displayed in the target area; the display unit 106 is further configured to load a multimedia file indicated by the multimedia content in response to a second input received by the user input unit 107.
According to the first electronic device provided by the embodiment of the application, after the N message contents are acquired, the N message contents are displayed according to the first sequence determined by the text theme based on at least one text in the N message contents and the content element of the multimedia file indicated by at least one multimedia content, so that a user can conveniently read and understand the N messages displayed by the information display device, and the situation that the messages are messy due to different types of messages with different transmission times is avoided.
When the electronic device 100 is a second electronic device, the user input unit 107 and the radio frequency unit 101; a user input unit 107 for receiving a third input of the user in the content editing area; a radio frequency unit 101, configured to send a target message to a server, where the target message includes at least one text and at least one multimedia file in a content editing area; the target message is used for instructing the server to send at least one text and at least one multimedia content to the first electronic equipment according to a second sequence; a multimedia content indicates a multimedia file, the second order is a layout order of at least one text and at least one multimedia file in the content editing region, and the layout order is determined based on a text subject of the at least one text and a content element of the at least one multimedia file.
Optionally, the processor 110 is configured to, if the at least one text includes a fifth text, perform text segmentation on the fifth text to generate K sixth texts; a sixth text corresponds to a subject; a processor 110 for matching the content element of each multimedia file with the subject of each sixth text generated by the processor 110; a processor 110 for sorting the at least one multimedia file and the at least one text according to the matching result of the processor 110; and the fifth text is a text containing at least two subjects in at least one text.
According to the second electronic device provided by the embodiment of the application, after the second user of the second electronic device edits the content to be sent in the content editing area of the second electronic device, the edited content is sent to the server. And after receiving the content sent by the second electronic equipment, the server sends the N message contents containing the content to the first electronic equipment. And after receiving the N message contents, the first electronic equipment displays the N message contents according to a first sequence determined by the text theme of at least one text in the N message contents and the content elements of the multimedia file indicated by at least one multimedia content. The situation that the information sequence is disordered due to different transmission time in the transmission process of the chat information is avoided.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 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 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
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-mentioned 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 execute a program or an instruction to implement each process of the above information display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
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 software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, 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 (14)

1. An information display method, characterized in that the method comprises:
acquiring N message contents, wherein N is more than or equal to 2;
displaying the N message contents according to a first sequence of the N message contents;
wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a text topic of the at least one text and a content element of a multimedia file indicated by the at least one multimedia content; the content elements are used to describe the main content contained in the multimedia file.
2. The method of claim 1, wherein said displaying said N message contents comprises:
and stacking and displaying the N message contents.
3. The method of claim 1, wherein after obtaining the N message contents, the method further comprises:
under the condition that the at least one text comprises a first text and the first text is a text containing at least two themes, performing text segmentation on the first text to generate M third texts, wherein one third text corresponds to one theme;
before displaying the N message contents in the first order of the N message contents, the method further includes:
matching the content elements of the multimedia files indicated by each multimedia content with the theme of each third text;
and ordering the at least one multimedia content and the M third texts according to the matching result.
4. The method of claim 1, wherein the N message contents include a second text whose subject matches a content element of a multimedia file indicated by any of the multimedia contents;
after the obtaining of the N message contents, the method further includes:
under the condition of acquiring target multimedia content, if the theme of a fourth text is matched with the content element of the multimedia file indicated by the target multimedia content, determining the fourth text as the second text;
wherein the fourth text is: texts acquired within a first time before the target multimedia content is acquired and within a second time after the target multimedia content is acquired; the target multimedia content is one of the at least one multimedia content.
5. The method of any of claims 1-4, wherein after displaying the N message contents in the first order of the N message contents, the method further comprises:
receiving a first input of a user to a target area, wherein the target area is an area for displaying the N message contents;
in response to the first input, adjusting display content of the target area based on a display order of the N message contents.
6. The method of claim 5, wherein after displaying the N message contents in the first order of the N message contents, the method further comprises:
receiving a second input of the multimedia content from the user under the condition that the multimedia content is displayed in the target area;
in response to the second input, loading a multimedia file indicated by the multimedia content.
7. An information display apparatus, characterized in that the apparatus comprises: the device comprises an acquisition module and a display module;
the acquisition module is used for acquiring N message contents, wherein N is more than or equal to 2;
the display module is configured to display the N message contents according to a first order of the N message contents acquired by the acquisition module;
wherein the N message contents comprise at least one multimedia content and at least one text; the first order is determined based on a text topic of the at least one text and a content element of a multimedia file indicated by the at least one multimedia content; the content elements are used to describe the main content contained in the multimedia file.
8. The apparatus of claim 7,
the display module is specifically configured to display the N message contents in a stacked manner.
9. The apparatus of claim 7, further comprising: the device comprises a segmentation module, a matching module and a sequencing module;
the segmentation module is used for performing text segmentation on the first text to generate M third texts under the condition that the at least one text comprises the first text and the first text contains at least two subjects; a third text corresponds to a subject;
the matching module is used for matching the content elements of the multimedia files indicated by each multimedia content with the theme of each third text generated by the segmentation module;
and the sequencing module is used for sequencing the at least one multimedia content and the M third texts according to the matching result of the matching module.
10. The apparatus of claim 7, wherein the N message contents comprise a second text, the subject of the second text matching a content element of a multimedia file indicated by any multimedia content; the device further comprises: a determination module;
the determining module is configured to determine, when the target multimedia content is obtained, a fourth text as the second text if a theme of the fourth text matches a content element of a multimedia file indicated by the target multimedia content;
wherein the fourth text is: the text is acquired in a first time before the target multimedia content is acquired and in a second time after the target multimedia content is acquired, and the target multimedia content is one of the at least one multimedia content.
11. The apparatus of any one of claims 7 to 10, further comprising: a user input module;
the user input module is used for receiving a first input of a user to the target area; the target area is an area for displaying the N message contents in a stacking mode;
the display module is further configured to adjust the display content of the target area based on the display order of the N message contents in response to the first input received by the user input module.
12. The apparatus of claim 11,
the user input module is further used for receiving a second input of the multimedia content from the user under the condition that the multimedia content is displayed in the target area;
the display module is further configured to load a multimedia file indicated by the multimedia content in response to a second input received by the user input module.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the information display method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the information display method according to any one of claims 1 to 6.
CN202110112414.3A 2021-01-27 2021-01-27 Information display method and device, electronic equipment and readable storage medium Pending CN112949270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110112414.3A CN112949270A (en) 2021-01-27 2021-01-27 Information display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110112414.3A CN112949270A (en) 2021-01-27 2021-01-27 Information display method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112949270A true CN112949270A (en) 2021-06-11

Family

ID=76238002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110112414.3A Pending CN112949270A (en) 2021-01-27 2021-01-27 Information display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112949270A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001075908A (en) * 1999-09-03 2001-03-23 Hitachi Kokusai Electric Inc Information distribution system
CN108173747A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Information interacting method and device
CN111405043A (en) * 2020-03-17 2020-07-10 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN111459350A (en) * 2020-03-27 2020-07-28 维沃移动通信有限公司 Icon sorting method and device and electronic equipment
CN112231498A (en) * 2020-09-29 2021-01-15 北京字跳网络技术有限公司 Interactive information processing method, device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001075908A (en) * 1999-09-03 2001-03-23 Hitachi Kokusai Electric Inc Information distribution system
CN108173747A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Information interacting method and device
CN111405043A (en) * 2020-03-17 2020-07-10 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN111459350A (en) * 2020-03-27 2020-07-28 维沃移动通信有限公司 Icon sorting method and device and electronic equipment
CN112231498A (en) * 2020-09-29 2021-01-15 北京字跳网络技术有限公司 Interactive information processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN113300938B (en) Message sending method and device and electronic equipment
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN112333084B (en) File sending method and device and electronic equipment
CN112783592B (en) Information issuing method, device, equipment and storage medium
WO2023016536A1 (en) Interaction method, apparatus and device, and storage medium
US20240031317A1 (en) Image Sharing Method and Electronic Device
CN112947807A (en) Display method and device and electronic equipment
CN113961828A (en) Message display method and device
CN113311968A (en) Application program correlation method and device
CN112291414B (en) Message display method and device and electronic equipment
CN112688859A (en) Voice message sending method and device, electronic equipment and readable storage medium
CN112269509A (en) Information processing method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
WO2022156674A1 (en) Chat content processing method and apparatus, and electronic device
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN112383666B (en) Content sending method and device and electronic equipment
CN112949270A (en) Information display method and device, electronic equipment and readable storage medium
CN114221923A (en) Message processing method and device and electronic equipment
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN113127653A (en) Information display method and device
CN112684912A (en) Candidate information display method and device and electronic equipment
CN111857463A (en) New message reminding method and 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