Movatterモバイル変換


[0]ホーム

URL:


CN115134317B - Message display method, device, storage medium and electronic device - Google Patents

Message display method, device, storage medium and electronic device
Download PDF

Info

Publication number
CN115134317B
CN115134317BCN202210648488.3ACN202210648488ACN115134317BCN 115134317 BCN115134317 BCN 115134317BCN 202210648488 ACN202210648488 ACN 202210648488ACN 115134317 BCN115134317 BCN 115134317B
Authority
CN
China
Prior art keywords
message
text
picture
instant messaging
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210648488.3A
Other languages
Chinese (zh)
Other versions
CN115134317A (en
Inventor
许静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202210648488.3ApriorityCriticalpatent/CN115134317B/en
Publication of CN115134317ApublicationCriticalpatent/CN115134317A/en
Application grantedgrantedCritical
Publication of CN115134317BpublicationCriticalpatent/CN115134317B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a message display method, a message display device, a storage medium and an electronic device. The method comprises the steps of providing an instant communication interface through terminal equipment, wherein the instant communication interface displays a sent first message, and the method comprises the following steps: responding to withdrawal operation of the first message, hiding the first message in the instant messaging interface, and acquiring the reading state of the first message; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. The invention solves the technical problem of poor reading experience of users in the related technology.

Description

Message display method, device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a message display method, device, storage medium, and electronic device.
Background
With the development of information technology, communication software is widely popularized, and has become an indispensable part of people's life in social and work.
When a user uses the communication software, there is a case of sending an error message occasionally, in order to solve the case, a revocation function is provided in the communication software in the related art, so that the user can revoke the message sent in a certain time, but if the user who receives the message possibly has read the content of the message sent before, the user needs to read repeatedly, thereby increasing the reading workload and leading to poor user reading experience.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a message display method, a device, a storage medium and an electronic device, which are used for at least solving the technical problem of poor reading experience of users in the related technology.
According to an aspect of the embodiment of the present invention, there is provided a message display method, providing an instant communication interface through a terminal device, wherein a sent first message is displayed in the instant communication interface, the method including: responding to withdrawal operation of the first message, hiding the first message in the instant messaging interface, and acquiring the reading state of the first message; responding to the editing operation of the first message, and obtaining a second message, wherein the second message is obtained by editing the first message; comparing the first message with the second message to obtain a comparison result, wherein the comparison result is used for representing whether the first message and the second message are identical; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface.
Optionally, in response to the first message and the second message being text messages, generating the modification trail based on the first message and the second message includes: comparing each character contained in the first message with each character contained in the second message in sequence to determine repeated characters in the first message and the second message; determining a first text except repeated text in the first message; determining a second text except the repeated text in the second message; and generating a modification trace based on the first text, the second text and the repeated text.
Optionally, generating the modification trace based on the first text, the second text, and the repeated text includes: determining a first arrangement sequence of the first characters and the repeated characters; determining a second arrangement sequence of the second characters and the repeated characters; and sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Optionally, displaying the modification trace in the instant messaging interface includes: determining a display mode corresponding to each character in the modification trace, wherein the display modes of the first character, the second character and the repeated character are different; and displaying the modification trace in the instant communication interface according to the display mode.
Optionally, in response to the first message and the second message being picture messages, generating the modification trail based on the first message and the second message includes: performing thumbnail processing on the first message to obtain a thumbnail image; marking the thumbnail images to generate marked images; and displaying the mark picture and the second message in the instant messaging interface.
Optionally, comparing the first message with the second message to obtain a comparison result includes: acquiring the contour overlapping degree of the first message and the second message; and comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
Optionally, obtaining the contour overlap of the first message and the second message includes: black and white processing is carried out on the first message and the second message to obtain a first picture and a second picture; respectively extracting pixel points with color values larger than a preset color value in a first message of a first picture and a second message of a second picture to obtain target pixel points; determining a first coordinate of a target pixel point in a first message picture and a second coordinate of the target pixel point in a second message, wherein the first message picture and the second message establish the same coordinate system; and determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour coincidence degree.
Optionally, in response to the reading status being a read status, the method further comprises: displaying a first operation control in the instant messaging interface; and responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface, and displaying a second message.
Optionally, the method further comprises: and responding to the comparison result that the first message is the same as the second message or the reading state is an unread state, and the comparison result that the first message is different from the second message, and displaying the second message in the instant messaging interface.
Optionally, in response to the reading status being an unread status and the comparison result being that the first message and the second message are different, the method further includes: displaying a second operation control in the instant messaging interface; and responding to a second touch operation executed on the second operation control, and displaying a modification trace in the instant communication interface.
According to an aspect of the embodiment of the present invention, there is provided a message display apparatus for providing an instant messaging interface through a terminal device, in which a transmitted first message is displayed, the apparatus comprising: the first acquisition module is used for hiding the first message and acquiring the reading state of the first message in response to the withdrawal operation of the first message; the second acquisition module is used for responding to the editing operation of the first message to acquire a second message, wherein the second message is obtained by editing the first message; the comparison module is used for comparing the first message with the second message to obtain a comparison result, wherein the comparison result is used for representing whether the first message and the second message are identical; the generation module is used for responding to the reading state as the read state, and the comparison result is that the first message is different from the second message, and generating a modification trace based on the first message and the second message; and the display module is used for displaying the modification trace in the instant messaging interface.
Optionally, the generating module includes: the first determining unit is used for sequentially comparing each character contained in the first message with each character contained in the second message to determine repeated characters in the first message and the second message; a second determining unit configured to determine a first text other than the repeated text in the first message; a third determining unit configured to determine a second text other than the repeated text in the second message; the first generation unit is used for generating a modification trace based on the first text, the second text and the repeated text.
Optionally, the first generating unit includes: a first determining subunit, configured to determine a first arrangement order of the first text and the repeated text; a second determining subunit, configured to determine a second arrangement order of the second text and the repeated text; the first generation subunit is used for sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Optionally, the display module includes a fourth determining unit, configured to determine a display manner corresponding to each text in the modification trace, where the display manners of the first text, the second text, and the repeated text are different; and the first display unit is used for displaying the modification trace in the instant communication interface according to the display mode.
Optionally, the generating module further includes: the obtaining unit is used for carrying out thumbnail processing on the first message to obtain a thumbnail image; the second generation unit is used for marking the thumbnail images and generating marked pictures; and the second display unit is used for displaying the marking picture and the second message in the instant messaging interface.
Optionally, the comparison module includes: the first acquisition unit is used for acquiring the contour overlapping degree of the first message and the second message; and the first comparison unit is used for comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
Optionally, the first acquisition unit includes: the processing subunit is used for processing the first message and the second message to obtain a first picture and a second picture; the obtaining subunit is used for extracting pixel points with the color value larger than a preset color value in the first picture and the second picture respectively to obtain target pixel points; the third determining subunit is used for determining a first coordinate of the target pixel point in the first picture and a second coordinate of the target pixel point in the second picture, wherein the first picture and the second picture establish the same coordinate system; and the fourth determination subunit is used for determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour overlapping degree.
Optionally, the device further includes a first control display module, configured to display a first operation control in the instant messaging interface; and the first and second message display modules are used for responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface and displaying the second message.
Optionally, the second message display module is configured to respond to the comparison result that the first message is the same as the second message, or the reading state is an unread state, and the comparison result that the first message is different from the second message, and display the second message in the instant messaging interface.
Optionally, in response to the reading status being an unread status and the comparison result being that the first message and the second message are different, the apparatus further includes: the second control display module is used for displaying a second operation control in the instant messaging interface; and the modification trace display module is used for responding to a second touch operation executed on the second operation control and displaying modification traces in the instant communication interface.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, the computer-readable storage medium including a stored program, wherein the apparatus in which the computer-readable storage medium is controlled to execute the message display method of any one of the above embodiments when the program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device comprising a memory in which a computer program is stored, and a processor arranged to run the computer program to perform the message display method of any of the above embodiments.
In the embodiment of the invention, the first message is hidden in the instant communication interface by responding to the withdrawal operation of the first message, and the reading state of the first message is obtained; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. It is easy to notice that by comparing the first message with the second message and displaying the modification trace in the instant communication interface, the user receiving the message can clearly know the change between the first message and the second message, thereby achieving the technical effects of improving the message reading and the communication of the message and improving the user reading experience, and further solving the technical problem of poor user reading experience in the related art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of a message display method according to an embodiment of the present application;
FIG. 2 is a flow chart of a message display method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an instant messaging interface for user B in accordance with an alternative embodiment of the present application;
FIG. 4A is a schematic diagram of an instant messaging interface for user B in accordance with an alternative embodiment of the present application;
FIG. 4B is a first message and a second message intent in an alternative embodiment in accordance with the application;
FIG. 5 is a schematic diagram of a message display device according to an embodiment of the application;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one embodiment of the present invention, there is provided an embodiment of a message display method, it being noted that the steps shown in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and that, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
The method embodiments may be performed in a mobile terminal, a computer terminal, or similar computing device. Taking the example of running on a mobile terminal, the mobile terminal can be a terminal device such as a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, abbreviated as MID), a PAD, a game console, etc. Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a message display method according to an embodiment of the present invention. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may further include a transmission device 106, an input-output device 108, and a display device 110 for communication functions. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a message display method in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the message display method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The input in the input output device 108 may come from a plurality of human interface devices (Human Interface Device, abbreviated as HIDs). For example: keyboard and mouse, handwriting pad, etc. Part of the ergonomic interface device may provide output functions in addition to input functions, such as: audio output of a handwriting pad, and the like.
The display device 110 may be, for example, a head-up display (HUD), a touch screen type Liquid Crystal Display (LCD), and a touch display (also referred to as a "touch screen" or "touch display"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI), and the user may perform man-machine interaction with the GUI by touching or finger contacts and/or gestures on the touch-sensitive surface, where the man-machine interaction functions optionally include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
According to an embodiment of the present invention, there is provided a message display method, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 2 is a flowchart of a message display method according to an embodiment of the present invention, as shown in fig. 2, the method is applied to a terminal device, an instant messaging interface is provided through the terminal device, and a first message sent is displayed in the instant messaging interface, and the method includes the following steps:
step S201, in response to the withdrawal operation of the first message, hiding the first message in the instant messaging interface and obtaining the reading state of the first message.
Specifically, the terminal device may be a smart phone (including an Android mobile phone and an IOS mobile phone), a tablet computer, a notebook computer, a personal computer, and other devices used by a user receiving the message, where instant messaging software may be installed on the device, so that an instant messaging interface may be displayed on a display screen of the device. The first message may be a message that the user sent to other users over a period of time, and may include, but is not limited to: text or pictures. The reading status of the first message is used to characterize whether the first message was read by the user receiving the message before withdrawal, and can be divided into a read status and an unread status.
In an alternative embodiment, the user a sends the first message to the user B, the first message may be displayed in the instant messaging interface of the user B, and then, the user a selects to withdraw the first message, and the instant messaging interface of the user B may conceal the first message, so as to achieve the purpose of withdrawing the first message. After the user a sends the first message, the reading state of the first message is an unread state, and after the instant communication interface is displayed on the terminal device of the user B, the terminal device can record that the reading state of the first message is a read state, so that the terminal device can acquire the reading state of the first message. It should be noted that, after the user a performs the withdraw operation on the first message, the reading state of the first message is not changed any more.
Step S202, responding to the editing operation of the first message, and obtaining a second message, wherein the second message is obtained by editing the first message.
Specifically, after the user withdraws the first message, the user may edit the first message again to obtain the second message. In an alternative embodiment, a control for editing the first message may be provided in the instant messaging interface, for example, after the user a withdraws the first message, a re-editing control may be displayed in the instant messaging interface of the user a, and the user a may achieve the purpose of modifying and editing the first message by performing a touch operation on the control. After the user A performs touch operation on the re-editing control, it is determined that the first message is edited, at this time, a message input box can be displayed in an instant messaging interface of the user A, the withdrawn first message is displayed in the input box, and the user A can edit on the basis of the first message, so that a second message is obtained.
Step S203, comparing the first message with the second message to obtain a comparison result, wherein the comparison result is used for representing whether the first message and the second message are identical.
It should be noted that, in the instant messaging scenario, the message sent by the user a to the other user is often text or a picture (not including any text), and thus, the types of the first message and the second message may be text messages or picture messages.
In an alternative embodiment, in the case that the first message and the second message are text messages, each text in the first message may be compared with each text in the second message in turn to determine the repetition degree therebetween, and in the case that the repetition degree is greater than or equal to a first threshold (which may be set by a manager, for example, may be 100%), it indicates that the first message and the second message are the same, so that a comparison result of the unmodified first message may be obtained; and under the condition that the repeatability is smaller than the first threshold value, the first message and the second message are different, so that the comparison result of the modified first message can be obtained.
In another alternative embodiment, in the case that the first message and the second message are picture messages, whether the first message and the second message are identical may be determined by performing similarity calculation on the first message and the second message; alternatively, it may be determined whether the first message and the second message are identical by comparing the contour overlap of the pictures in the first message and the pictures in the second message. Specifically, the contour overlapping degree of the picture in the first message and the picture in the second message can be calculated as follows: firstly, processing a first message and a second message to enable the pictures to be changed into black-and-white pictures or gray-scale pictures, then extracting pixel points with color values above a second threshold value (which can be set by a manager, for example, can be 70%) from the two processed pictures, placing the two processed pictures on the same coordinate, recording the extracted pixel points, and finally calculating the coordinate coincidence degree of the recorded pixel points. When the overlap ratio is greater than or equal to a third threshold (which may be set by the administrator, for example, may be 90%), it indicates that the first message and the second message are the same, and thus, a comparison result of the unmodified first message may be obtained; and under the condition that the overlap ratio is smaller than a third threshold value, the first message is different from the second message, so that the comparison result of the modified first message can be obtained.
Step S204, in response to the reading status being the read status, and the comparison result being that the first message and the second message are different, generating a modification trace based on the first message and the second message.
Specifically, the modification trace may be a process that the user a modifies the first message to obtain the second message, for example, taking the first message as a text message as an example, and the modification trace may be a process that the user a deletes part or all of the characters in the first message and newly adds other characters to obtain the second message. It should be noted that the modification trace may contain not only the difference between the first message and the second message but also the same content between the two messages.
In an alternative embodiment, after the user B who receives the message has read the first message, that is, the terminal device of the user B records that the reading status of the first message is the read status, if it is determined that the first message and the second message are different, in order to avoid that the user B repeatedly reads the different types of messages, the modification trace may be generated based on the first message and the second message in different manners.
In the case where the first message and the second message are text messages, if it is determined that the first message and the second message are different, a modification trace may be generated based on the difference of the first message and the second message and the same content; in the case where the first message and the second message are picture messages, if it is determined that the first message and the second message are different, the first message and the second message may be directly used as modification traces.
Step S205, a modification trace is displayed in the instant messaging interface.
In an alternative embodiment, the modification trace may be displayed in the instant messaging interface of the user B, and in order to facilitate the user B to quickly and accurately determine the modification procedure of the user a, in the case where the first message and the second message are text messages, the modification trace may be displayed as follows: modifying the display mode corresponding to each character in the trace, wherein the display modes of the first character, the second character and the repeated character are different; and displaying the modification trace in the instant communication interface according to the display mode. Specifically, the first message may be used as a reference template, the newly added portion may be displayed according to a first preset display mode, the deleted portion may be displayed according to a second preset display mode, and the unchanged portion may be displayed according to a third preset display mode. The third preset display mode may be a message default display mode, for example, default fonts, default font colors, and the like; the first preset display mode and the second preset display mode can be set according to actual requirements, for example, the first preset display mode can be to display characters as green, and the second preset display mode can be to display a red deletion line on deleted characters. In the case where the first message and the second message are picture messages, a thumbnail of the first message may be displayed in the instant messaging interface, and a document of "the picture has been withdrawn" may be marked, while the second message is displayed.
It should be noted that, in the instant communication software, in order to improve the reading experience of the user, two display modes may be provided for the user, namely, a read mode and an unread mode, and in the case that the display mode is the read mode, a modification trace may be displayed in the instant communication interface; in the case where the display message is in the unread mode, the second message may be displayed directly. Specifically, the user can switch the display mode of the second message by clicking a mode switching control displayed in the instant messaging interface according to the needs of the user.
Optionally, in response to the comparison result that the first message is the same as the second message, that is, if the user a does not modify the first message, the second message may be directly displayed in the instant messaging interface of the user B, so that the user B may determine that the user a does not modify the first message. In response to the reading state being the unread state and the comparison result being that the first message and the second message are different, that is, if the user B does not read the first message before the first message is withdrawn, the problem of repeated reading does not exist, at this time, even if the user a modifies the first message, in order to avoid increasing the reading amount of the user, the second message can be directly displayed in the instant messaging interface of the user B without additionally displaying a modification trace, so as to improve the reading experience of the user.
In the embodiment of the invention, the first message is hidden in the instant communication interface by responding to the withdrawal operation of the first message, and the reading state of the first message is obtained; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. It is easy to notice that by comparing the first message with the second message and displaying the modification trace in the instant communication interface, the user receiving the message can clearly know the change between the first message and the second message, thereby achieving the technical effects of improving the message reading and the communication of the message and improving the user reading experience, and further solving the technical problem of poor user reading experience in the related art.
Optionally, in response to the first message and the second message being text messages, generating the modification trail based on the first message and the second message includes: comparing each character contained in the first message with each character contained in the second message in sequence to determine repeated characters in the first message and the second message; determining a first text except repeated text in the first message; determining a second text except the repeated text in the second message; and generating a modification trace based on the first text, the second text and the repeated text.
Specifically, the first text is text that exists in the first message, but does not exist in the second message, that is, text deleted during the editing operation of the first message by the user a. The second text may be text that does not exist in the first message, but exists in the second message, i.e., text that is added during the editing operation of the first message by user a.
In an alternative embodiment, the first message and the second message may be compared word by word, and characters present in both the first message and the second message may be determined to obtain the repeated characters, characters present in only the first message may be further determined to obtain the first characters, and characters present in only the second message may be further determined to obtain the second characters. Then, different display modes can be set for the first text, the second text and the repeated text, so that a user can clearly know the difference between the first message and the second message when viewing the second message. As shown in fig. 3, fig. 3 may be a communication interface of the user B, the first message may be "want to you eat" sent by the user a, the second message may be "want to you eat barbecue in open days and then watch a movie" sent by the user a, the first message and the second message are compared, it is determined that the repeated words may be "want to you" and "eat", the first word may be "meal", the second word may be "open days" and "barbecue, and then watch a movie".
Optionally, generating the modification trace based on the first text, the second text, and the repeated text includes: determining a first arrangement sequence of the first characters and the repeated characters; determining a second arrangement sequence of the second characters and the repeated characters; and sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Specifically, after determining the first text, the second text and the repeated text, the arrangement sequence of the first text, the second text and the repeated text can be determined according to the first arrangement sequence of the first text and the repeated text in the first message and the second arrangement sequence of the second text and the repeated text in the second message, and then the first text, the second text and the repeated text are ordered according to the arrangement sequence, so as to obtain the modification trace. As shown in fig. 3, the first arrangement may be "want you" + "eat" + "meal" and the second arrangement may be "want you" + "tomorrow" + "eat" + "barbecue, then watch a movie.
Optionally, displaying the modification trace in the instant messaging interface includes: determining a display mode corresponding to each character in the modification trace, wherein the display modes of the first character, the second character and the repeated character are different; and displaying the modification trace in the instant communication interface according to the display mode.
Specifically, in the actual display process, the display modes of the first text, the second text and the repeated text are different, so as to prompt the user that the first message is different from the second message. In the practical application process, the first text, the second text and the repeated text can be displayed in any different format. For example, the first text, the second text, and the repeated text may be displayed in different text colors, e.g., the repeated text is displayed in black, the first text is displayed in red, and the second text is displayed in green. Or, the first text is scratched out by a deleting line, the repeated text is kept in the original format, and the second text is emphasized by an underline.
In the actual application, the format of the first text is not limited to the above-mentioned labeling method, but may be labeled in other ways, for example, brackets, red highlighting, etc., and the second text is not limited to the above-mentioned labeling method, but may be labeled in bold, italic, green highlighting, etc., and the present application is not limited to the above-mentioned display method of the first text, the second text, and the repeated text.
Specifically, the display order between the first text and the second text may be determined by a user operation, for example, the user a adds or deletes text in the first message, and the above arrangement order is determined according to the position of the cursor when the user edits the second message. Optionally, in response to the first message and the second message being picture messages, generating the modification trail based on the first message and the second message includes: performing thumbnail processing on the first message to obtain a thumbnail image; marking the thumbnail images to generate marked images; and displaying the mark picture and the second message in the instant messaging interface.
Specifically, the marking of the thumbnail may be displaying a document "the picture has been withdrawn" beside the thumbnail, and displaying the mark in the instant messaging interface of the user B, where the user B may see the thumbnail picture of the first message and the second message at the same time, so that the difference between the first message and the second message may be quickly known. For example, as shown in fig. 4A, fig. B may be a first message, fig. a may be a second message, and in the case where user a signals an image transmission error, user a may withdraw fig. B and resend fig. a, and display the thumbnail and thumbnail mark of fig. B above fig. a.
The display positions of the thumbnail images and the thumbnail image marks are not limited to the upper part of the drawing a, but may be located below or on both sides, and the present application is not limited in any way.
Optionally, comparing the first message with the second message to obtain a comparison result includes: acquiring the contour overlapping degree of the first message and the second message; and comparing the contour overlapping degree with a preset threshold value to obtain a comparison result. Specifically, under the condition that the first message and the second message are pictures, calculating the contour overlapping degree of the first message and the second message, before calculating the contour overlapping degree, processing the pictures, changing the first message and the second message into black white pictures or gray pictures, then calculating the contour overlapping degree of the first message and the second message, and comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
In an alternative embodiment, the preset threshold may be 90%, where the comparison result is used to represent that the first message and the second message are different when the contour overlap is less than 90%, and where the comparison result is used to represent that the first message and the second message are the same when the contour overlap is greater than or equal to 90%. For example, as shown in fig. 4B, where fig. a is a first message and fig. B is a second message, the patterns of fig. a and fig. B are used to represent the outlines of specific images in fig. a and fig. B, respectively, and the overlapping degree of the outlines in fig. a and fig. B may be calculated and compared with a preset threshold value to obtain a comparison result. Optionally, obtaining the contour overlap of the first message and the second message includes: black and white processing is carried out on the first message and the second message to obtain a first picture and a second picture; respectively extracting pixel points with color values larger than a preset color value in a first message of a first picture and a second message of a second picture to obtain target pixel points; determining a first coordinate of a target pixel point in a first message picture and a second coordinate of the target pixel point in a second message, wherein the first message picture and the second message establish the same coordinate system; and determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour coincidence degree.
Specifically, the first picture may be a picture obtained after the first message is subjected to black-and-white processing or gray processing, and the second picture may be a picture obtained after the second message is subjected to black-and-white processing or gray processing. The first message and the second message are processed in the same manner. Then, respectively extracting pixel points with color values larger than a preset color value in the first picture and the second picture, namely the target pixel points, then establishing the same coordinate system in the first picture and the second picture, acquiring a first coordinate system of the target pixel points from the first picture in the coordinate system of the first picture and a second coordinate of the target pixel points from the second picture in the coordinate system of the second picture, and calculating the coincidence degree of the first coordinate and the second coordinate, namely the contour overlapping degree. For example, as shown in fig. 4B, where fig. a is a first message and fig. B is a second message, black-and-white processing or gray processing may be performed on fig. a and fig. B to obtain a first image corresponding to fig. a and a second image corresponding to fig. B, then, respectively extracting pixels having a color value greater than a preset color value in the first image and the second image, that is, the target pixels, and then, establishing the same coordinate system in the first image and the second image, to obtain a first coordinate system of the target pixels derived from the first image in the coordinate system of the first image and a second coordinate of the target pixels derived from the second image in the coordinate system of the second image, and calculate the overlapping degree of the first coordinate and the second coordinate, that is, the overlapping degree of the contour.
In an alternative embodiment, the preset color value may be 70%.
Optionally, in response to the reading status being a read status, the method further comprises: displaying a first operation control in the instant messaging interface; and responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface, and displaying a second message.
Specifically, the first operation control is configured to switch the display mode of the modification trace, that is, switch the display state of the modification trace in the instant communication interface, for example, may be a button displayed below the modification trace, and the document of the button may be switched according to the current display mode, for example, in the case that the current display mode is the reader mode, the document may be "hidden modification trace"; in the case where the current display mode is the unread mode, the document may be "display modification trace". It should be noted that, when the reading state is the read state, the default display mode is the read mode, and at this time, the user B may hide the modification trace in the instant messaging interface of the user B by performing the first touch operation on the first operation control, so as to directly display the second message, that is, switch the current display mode to the unread mode. The first touch operation herein includes, but is not limited to, clicking, sliding, or long pressing.
Optionally, in response to the reading status being an unread status and the comparison result being that the first message and the second message are different, the method further includes: displaying a second operation control in the instant messaging interface; and responding to a second touch operation executed on the second operation control, and displaying a modification trace in the instant communication interface.
Specifically, the second operation control may be the same control as the first operation control, for example, may be a button displayed below the second message, and the text of the button may be switched according to the current display mode, which is not described herein. The second touch operation may also include, but is not limited to, clicking, sliding, or long pressing.
It should be noted that, in the case where the first message and the second message are the same, there is no need to additionally display any control.
In this embodiment, a message display device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the terms "unit," "module," "sub-unit" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a schematic structural diagram of a message display device according to an embodiment of the present invention, where the device is provided in a terminal device, and an instant communication interface is provided through the terminal device, and the instant communication interface displays a first message sent as shown in fig. 5, and the device includes:
the first obtaining module 51 is configured to conceal the first message and obtain a reading status of the first message in response to performing the withdraw operation on the first message.
And a second obtaining module 52, configured to obtain a second message in response to the editing operation performed on the first message, where the second message is obtained by editing the first message.
The comparison module 55 is configured to compare the first message and the second message to obtain a comparison result, where the comparison result is used to characterize whether the first message and the second message are identical.
The generating module 54 is configured to generate a modification trace based on the first message and the second message in response to the reading status being the read status and the comparison result being that the first message and the second message are different.
The display module 55 is used for displaying the modification trace in the instant messaging interface.
In the embodiment of the invention, the first message is hidden in the instant communication interface by responding to the withdrawal operation of the first message, and the reading state of the first message is obtained; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. It is easy to notice that by comparing the first message with the second message and displaying the modification trace in the instant communication interface, the user receiving the message can clearly know the change between the first message and the second message, thereby achieving the technical effects of improving the message reading and the communication of the message and improving the user reading experience, and further solving the technical problem of poor user reading experience in the related art.
Optionally, the generating module includes: the first determining unit is used for sequentially comparing each character contained in the first message with each character contained in the second message to determine repeated characters in the first message and the second message; a second determining unit configured to determine a first text other than the repeated text in the first message; a third determining unit configured to determine a second text other than the repeated text in the second message; the first generation unit is used for generating a modification trace based on the first text, the second text and the repeated text.
Optionally, the first generating unit includes: a first determining subunit, configured to determine a first arrangement order of the first text and the repeated text; a second determining subunit, configured to determine a second arrangement order of the second text and the repeated text; the first generation subunit is used for sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Optionally, the display module includes a fourth determining unit, configured to determine a display manner corresponding to each text in the modification trace, where the display manners of the first text, the second text, and the repeated text are different; and the first display unit is used for displaying the modification trace in the instant communication interface according to the display mode.
Optionally, the generating module further includes: the obtaining unit is used for carrying out thumbnail processing on the first message to obtain a thumbnail image; the second generation unit is used for marking the thumbnail images and generating marked pictures; and the second display unit is used for displaying the marking picture and the second message in the instant messaging interface.
Optionally, the comparison module includes: the first acquisition unit is used for acquiring the contour overlapping degree of the first message and the second message; and the first comparison unit is used for comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
Optionally, the first acquisition unit includes: the processing subunit is used for processing the first message and the second message to obtain a first picture and a second picture; the obtaining subunit is used for extracting pixel points with the color value larger than a preset color value in the first picture and the second picture respectively to obtain target pixel points; the third determining subunit is used for determining a first coordinate of the target pixel point in the first picture and a second coordinate of the target pixel point in the second picture, wherein the first picture and the second picture establish the same coordinate system; and the fourth determination subunit is used for determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour overlapping degree.
Optionally, the device further includes a first control display module, configured to display a first operation control in the instant messaging interface; and the first and second message display modules are used for responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface and displaying the second message.
Optionally, the second message display module is configured to respond to the comparison result that the first message is the same as the second message, or the reading state is an unread state, and the comparison result that the first message is different from the second message, and display the second message in the instant messaging interface.
Optionally, in response to the reading status being an unread status and the comparison result being that the first message and the second message are different, the apparatus further includes: the second control display module is used for displaying a second operation control in the instant messaging interface; and the modification trace display module is used for responding to a second touch operation executed on the second operation control and displaying modification traces in the instant communication interface.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Alternatively, in this embodiment, the above-mentioned computer-readable storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network, or in any one of the mobile terminals in the mobile terminal group.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
s1, responding to withdrawal operation of a first message, hiding the first message in an instant communication interface, and acquiring a reading state of the first message;
s2, responding to the editing operation of the first message to obtain a second message, wherein the second message is obtained by editing the first message;
s3, comparing the first message with the second message to obtain a comparison result, wherein the comparison result is used for representing whether the first message and the second message are identical;
S4, responding to the reading state as the read state, wherein the comparison result is that the first message is different from the second message, and generating a modification trace based on the first message and the second message;
s5, displaying the modification trace in the instant communication interface.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: comparing each character contained in the first message with each character contained in the second message in sequence to determine repeated characters in the first message and the second message; determining a first text except repeated text in the first message; determining a second text except the repeated text in the second message; and generating a modification trace based on the first text, the second text and the repeated text.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: determining a first arrangement sequence of the first characters and the repeated characters; determining a second arrangement sequence of the second characters and the repeated characters; and sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: performing thumbnail processing on the first message to obtain a thumbnail image; marking the thumbnail images to generate marked images; and displaying the mark picture and the second message in the instant messaging interface.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: acquiring the contour overlapping degree of the first message and the second message; and comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: black and white processing is carried out on the first message and the second message to obtain a first picture and a second picture; respectively extracting pixel points with color values larger than a preset color value in a first message of a first picture and a second message of a second picture to obtain target pixel points; determining a first coordinate of a target pixel point in a first message picture and a second coordinate of the target pixel point in a second message, wherein the first message picture and the second message establish the same coordinate system; and determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour coincidence degree.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: displaying a first operation control in the instant messaging interface; and responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface, and displaying a second message.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: and responding to the comparison result that the first message is the same as the second message or the reading state is an unread state, and the comparison result that the first message is different from the second message, and displaying the second message in the instant messaging interface.
Optionally, the above computer readable storage medium is further configured to store program code for performing the steps of: responding to the reading state as an unread state, and displaying a second operation control in the instant communication interface when the comparison result is that the first message is different from the second message; and responding to a second touch operation executed on the second operation control, and displaying a modification trace in the instant communication interface.
In the computer-readable storage medium of this embodiment, a technical solution of a message display method is provided, by hiding a first message in an instant messaging interface in response to a withdrawal operation of the first message, and acquiring a reading state of the first message; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. It is easy to notice that by comparing the first message with the second message and displaying the modification trace in the instant communication interface, the user receiving the message can clearly know the change between the first message and the second message, thereby achieving the technical effects of improving the message reading and the communication of the message and improving the user reading experience, and further solving the technical problem of poor user reading experience in the related art.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present application.
In an exemplary embodiment of the present application, a computer-readable storage medium stores thereon a program product capable of implementing the method described above in this embodiment. In some possible implementations, the various aspects of the embodiments of the application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the application as described in the "exemplary methods" section of this embodiment, when the program product is run on the terminal device.
A program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the embodiments of the present invention is not limited thereto, and in the embodiments of the present invention, the computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Any combination of one or more computer readable media may be employed by the program product described above. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the program code embodied on the computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, responding to withdrawal operation of a first message, hiding the first message in an instant communication interface, and acquiring a reading state of the first message;
s2, responding to the editing operation of the first message to obtain a second message, wherein the second message is obtained by editing the first message;
s3, comparing the first message with the second message to obtain a comparison result, wherein the comparison result is used for representing whether the first message and the second message are identical;
S4, responding to the reading state as the read state, wherein the comparison result is that the first message is different from the second message, and generating a modification trace based on the first message and the second message;
s5, displaying the modification trace in the instant communication interface.
Optionally, the above processor may be further configured to perform the following steps by a computer program: comparing each character contained in the first message with each character contained in the second message in sequence to determine repeated characters in the first message and the second message; determining a first text except repeated text in the first message; determining a second text except the repeated text in the second message; and generating a modification trace based on the first text, the second text and the repeated text.
Optionally, the above processor may be further configured to perform the following steps by a computer program: generating a modification trace based on the first text, the second text, and the repeated text includes: determining a first arrangement sequence of the first characters and the repeated characters; determining a second arrangement sequence of the second characters and the repeated characters; and sequencing the first characters, the second characters and the repeated characters according to the first arrangement sequence and the second arrangement sequence to generate a modification trace.
Optionally, the above processor may be further configured to perform the following steps by a computer program: determining a display mode corresponding to each character in the modification trace, wherein the display modes of the first character, the second character and the repeated character are different; and displaying the modification trace in the instant communication interface according to the display mode.
Optionally, the above processor may be further configured to perform the following steps by a computer program: generating a modification trace based on the first message and the second message in response to the first message and the second message being picture messages includes: performing thumbnail processing on the first message to obtain a thumbnail image; marking the thumbnail images to generate marked images; and displaying the mark picture and the second message in the instant messaging interface.
Optionally, the above processor may be further configured to perform the following steps by a computer program: comparing the first message with the second message to obtain a comparison result, wherein the comparison result comprises: acquiring the contour overlapping degree of the first message and the second message; and comparing the contour overlapping degree with a preset threshold value to obtain a comparison result.
Optionally, the above processor may be further configured to perform the following steps by a computer program: the method for acquiring the contour overlapping degree of the first message and the second message comprises the following steps: black and white processing is carried out on the first message and the second message to obtain a first picture and a second picture; respectively extracting pixel points with color values larger than a preset color value in a first message of a first picture and a second message of a second picture to obtain target pixel points; determining a first coordinate of a target pixel point in a first message picture and a second coordinate of the target pixel point in a second message, wherein the first message picture and the second message establish the same coordinate system; and determining the coincidence degree of the first coordinate and the second coordinate to obtain the contour coincidence degree.
Optionally, the above processor may be further configured to perform the following steps by a computer program: in response to the reading status being a read status, the method further comprises: displaying a first operation control in the instant messaging interface; and responding to the first touch operation executed on the first operation control, hiding the modification trace in the instant communication interface, and displaying a second message.
Optionally, the above processor may be further configured to perform the following steps by a computer program: and responding to the comparison result that the first message is the same as the second message or the reading state is an unread state, and the comparison result that the first message is different from the second message, and displaying the second message in the instant messaging interface.
Optionally, the above processor may be further configured to perform the following steps by a computer program: in response to the reading status being an unread status and the comparison result being that the first message and the second message are different, the method further comprises: displaying a second operation control in the instant messaging interface; and responding to a second touch operation executed on the second operation control, and displaying a modification trace in the instant communication interface.
In the embodiment of the invention, by responding to the withdrawal operation of the first message, hiding the first message in the instant messaging interface and acquiring the reading state of the first message; responding to the editing operation of the first message, and acquiring a second message; comparing the first message with the second message to obtain a comparison result; responding to the reading state as the read state, and generating a modification trace based on the first message and the second message when the comparison result is that the first message and the second message are different; and displaying the modification trace in the instant messaging interface. It is easy to notice that by comparing the first message with the second message and displaying the modification trace in the instant communication interface, the user receiving the message can clearly know the change between the first message and the second message, thereby achieving the technical effects of improving the message reading and the communication of the message and improving the user reading experience, and further solving the technical problem of poor user reading experience in the related art.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the application. As shown in fig. 6, the electronic device 600 is only an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic apparatus 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: the at least one processor 610, the at least one memory 620, a bus 630 connecting the different system components (including the memory 620 and the processor 610), and a display 640.
Wherein the memory 620 stores program code that can be executed by the processor 610 such that the processor 610 performs the steps according to various exemplary embodiments of the present application described in the above method section of the embodiment of the present application.
The memory 620 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 6201 and/or cache memory 6202, and may further include Read Only Memory (ROM) 6203, and may also include nonvolatile memory, such as one or more magnetic storage devices, flash memory, or other nonvolatile solid state memory.
In some examples, memory 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. The memory 620 may further include memory remotely located relative to the processor 610, which may be connected to the electronic device 600 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Bus 630 may be a local bus representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processor 610, or using any of a variety of bus architectures.
Display 640 may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of electronic device 600.
Optionally, the electronic apparatus 600 may also communicate with one or more external devices 1400 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic apparatus 600, and/or any device (e.g., router, modem, etc.) that enables the electronic apparatus 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. As shown in fig. 6, network adapter 660 communicates with other modules of electronic device 600 over bus 630. It should be appreciated that although not shown in fig. 6, other hardware and/or software modules may be used in connection with the electronic device 600, which may include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The electronic device 600 may further include: a keyboard, a cursor control device (e.g., a mouse), an input/output interface (I/O interface), a network interface, a power supply, and/or a camera.
It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 6 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the electronic device 600 may also include more or fewer components than shown in fig. 6, or have a different configuration than shown in fig. 6. The memory 620 may be used to store a computer program and corresponding data, such as a computer program and corresponding data corresponding to a message display method in an embodiment of the present application. The processor 610 executes a computer program stored in the memory 620 to perform various functional applications and data processing, i.e., to implement the message display method described above.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (13)

CN202210648488.3A2022-06-092022-06-09Message display method, device, storage medium and electronic deviceActiveCN115134317B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210648488.3ACN115134317B (en)2022-06-092022-06-09Message display method, device, storage medium and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210648488.3ACN115134317B (en)2022-06-092022-06-09Message display method, device, storage medium and electronic device

Publications (2)

Publication NumberPublication Date
CN115134317A CN115134317A (en)2022-09-30
CN115134317Btrue CN115134317B (en)2023-08-22

Family

ID=83378755

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210648488.3AActiveCN115134317B (en)2022-06-092022-06-09Message display method, device, storage medium and electronic device

Country Status (1)

CountryLink
CN (1)CN115134317B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115665079B (en)*2022-10-312025-02-18维沃移动通信有限公司Message display method, device, electronic equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101047658A (en)*2006-03-312007-10-03腾讯科技(深圳)有限公司Method for amending transmitted message and immediate communication device
CN103617519A (en)*2013-11-012014-03-05优视科技有限公司Communication information processing method, device and system
WO2017063443A1 (en)*2015-10-132017-04-20广东欧珀移动通信有限公司Message display method and apparatus
CN107248948A (en)*2017-05-272017-10-13佛山语奥科技有限公司Send message treatment method and system
CN107770045A (en)*2017-09-292018-03-06网易乐得科技有限公司A kind of message editing method, apparatus and medium
CN109302341A (en)*2018-10-302019-02-01北京达佳互联信息技术有限公司Instant communicating method, device, electronic equipment and storage medium
CN109309614A (en)*2018-11-302019-02-05努比亚技术有限公司A kind of message modification method, mobile terminal, server and storage medium
CN110545236A (en)*2019-09-042019-12-06网易(杭州)网络有限公司Instant messaging message modification method and device, storage medium and electronic equipment
CN110995919A (en)*2019-11-082020-04-10维沃移动通信有限公司Message processing method and electronic equipment
CN111049981A (en)*2019-12-032020-04-21惠州Tcl移动通信有限公司Message identification method, device, user equipment and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWI647609B (en)*2017-04-142019-01-11緯創資通股份有限公司 Instant messaging method, system and electronic device and server
CN109844706B (en)*2017-09-302021-01-29华为技术有限公司Message processing method and device
US10693825B2 (en)*2018-06-062020-06-23T-Mobile Usa, Inc.Systems and methods for editing, recalling, and deleting messages

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101047658A (en)*2006-03-312007-10-03腾讯科技(深圳)有限公司Method for amending transmitted message and immediate communication device
CN103617519A (en)*2013-11-012014-03-05优视科技有限公司Communication information processing method, device and system
WO2017063443A1 (en)*2015-10-132017-04-20广东欧珀移动通信有限公司Message display method and apparatus
CN107248948A (en)*2017-05-272017-10-13佛山语奥科技有限公司Send message treatment method and system
CN107770045A (en)*2017-09-292018-03-06网易乐得科技有限公司A kind of message editing method, apparatus and medium
CN109302341A (en)*2018-10-302019-02-01北京达佳互联信息技术有限公司Instant communicating method, device, electronic equipment and storage medium
CN109309614A (en)*2018-11-302019-02-05努比亚技术有限公司A kind of message modification method, mobile terminal, server and storage medium
CN110545236A (en)*2019-09-042019-12-06网易(杭州)网络有限公司Instant messaging message modification method and device, storage medium and electronic equipment
CN110995919A (en)*2019-11-082020-04-10维沃移动通信有限公司Message processing method and electronic equipment
CN111049981A (en)*2019-12-032020-04-21惠州Tcl移动通信有限公司Message identification method, device, user equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于云服务的即时通讯软件的设计与实现;李杨;胡腾宇;彭召意;;软件(08);全文*

Also Published As

Publication numberPublication date
CN115134317A (en)2022-09-30

Similar Documents

PublicationPublication DateTitle
JP7610641B2 (en) Sharing user configurable graphic structures
US11417367B2 (en)Systems and methods for reviewing video content
CN112954046B (en)Information transmission method, information transmission device and electronic equipment
CN107102786B (en)Information processing method and client
CN104520843A (en)Providing note based annotation of content in e-reader
CN102549577A (en)Method and device for searching contacts, and mobile terminal applying same
CN109445657A (en)Document edit method and device
CN106445325A (en)Method and device for creating group
CN113518026A (en)Message processing method and device and electronic equipment
EP3256958A1 (en)Supporting digital ink in markup language documents
US10965629B1 (en)Method for generating imitated mobile messages on a chat writer server
WO2022068721A1 (en)Screen capture method and apparatus, and electronic device
CN113283220A (en)Note recording method, device and equipment and readable storage medium
CN115134317B (en)Message display method, device, storage medium and electronic device
WO2023030306A1 (en)Method and apparatus for video editing, and electronic device
WO2023284640A1 (en)Picture processing method and electronic device
CN114239497A (en) Document processing method, apparatus, electronic device and medium
WO2022068768A1 (en)Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN115048009A (en)Dialog interface intercepting method and device, computer equipment and storage medium
CN104423885A (en)Information processing device and control method
CN107704171A (en)Electronic book displaying method, terminal and computer-readable recording medium
CN113726953B (en)Display content acquisition method and device
CN116610243A (en)Display control method, display control device, electronic equipment and storage medium
CN113190365B (en)Information processing method and device and electronic equipment
CN101833411B (en)For the method and apparatus of person's handwriting input

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp