CN113141296B - Message display method and device and electronic equipment - Google Patents

Message display method and device and electronic equipment Download PDF

Info

Publication number
CN113141296B
CN113141296B CN202110326467.5A CN202110326467A CN113141296B CN 113141296 B CN113141296 B CN 113141296B CN 202110326467 A CN202110326467 A CN 202110326467A CN 113141296 B CN113141296 B CN 113141296B
Authority
CN
China
Prior art keywords
message
content
target
display
input
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
CN202110326467.5A
Other languages
Chinese (zh)
Other versions
CN113141296A (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.)
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 CN202110326467.5A priority Critical patent/CN113141296B/en
Publication of CN113141296A publication Critical patent/CN113141296A/en
Application granted granted Critical
Publication of CN113141296B publication Critical patent/CN113141296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a message display method and device and electronic equipment, belongs to the technical field of communication, and can solve the problem that the display mode of the electronic equipment on a message is single. The method comprises the following steps: receiving a first message sent by a target user; under the condition that the first content of the first message is matched with the first preset information, replacing the first content with the target content to obtain a second message; and displaying the second message in a target session window, wherein the target session window is a session window corresponding to the target user. The embodiment of the application is applied to the process of modifying and replacing the received message.

Description

Message display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message display method and device and electronic equipment.
Background
Generally, when a user performs chat through social software of an electronic device, if the electronic device receives certain messages (such as expression package messages) sent by other users through the social software, the electronic device may display the messages in chat windows corresponding to the other users in the social software, so as to realize information exchange between the users. However, some messages which are not wanted to be seen by the user may exist in the messages sent by other users, and the user can only delete the messages in the chat window, so that the messages are not displayed in the chat window, and thus the display mode of the electronic device for the messages is single.
Disclosure of Invention
The embodiment of the application aims to provide a message display method and device and electronic equipment, and the problem that the display mode of the electronic equipment on a message is single can be solved.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a message display method, where the message display method includes: receiving a first message sent by a target user; under the condition that the first content of the first message is matched with the first preset information, replacing the first content with the target content to obtain a second message; and displaying the second message in a target session window, wherein the target session window is a session window corresponding to the target user.
In a second aspect, embodiments of the present application provide a message display apparatus, including: the device comprises a receiving module, a replacing module and a display module. The receiving module is used for receiving the first message sent by the target user. And the replacing module is used for replacing the first content with the target content to obtain the second message under the condition that the first content of the first message received by the receiving module is matched with the first preset information. And the display module is used for displaying the second message replaced by the replacing module in a target session window, wherein the target session window is a session window corresponding to the target user.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In this embodiment of the present application, after receiving a first message sent by a target user, the electronic device may replace the first content with the target content when the first content of the first message is matched with first preset information, so as to obtain a second message after the content is replaced, so that the second message is displayed in a session window corresponding to the target user. In the scheme, after the electronic device receives a message sent by a specific user, whether the content of the message is replaced or not can be determined according to whether the content of the message meets the corresponding condition, namely, when the content of the message meets the corresponding condition, certain content of the message is replaced by the content required by the user, and then the message with the replaced content is displayed in a session window instead of directly displaying the received message in the session window, and meanwhile, the problem that the traditional mode only can delete the message after displaying the sent message, so that the display mode of the message is single is avoided, and the diversity of the display mode of the electronic device on the message is improved.
Drawings
Fig. 1 is a schematic diagram of a message display method according to an embodiment of the present application;
fig. 2 is one example schematic diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 3 is a second exemplary diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 4 is a third exemplary diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 5 is a diagram illustrating an example of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 6 is a fifth example schematic diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a message display device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 10 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, 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, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The message display method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The embodiment of the invention can be applied to the user when chatting through some application programs (such as chatting application programs) in the electronic equipment, and can carry out self-defined modification on the messages sent by other users so as to enable the electronic equipment to display the scene of the message required by the user. In a chat scenario, a user may dislike messages (such as "care" text messages sent by other users, etc.) of certain specific contents, that is, does not want the electronic device to display the messages in a session window/session interface, the user may first set, through the scheme, to-be-replaced/replaceable message contents (such as "care" text contents, "smile" expression package contents), replaced message contents (such as "haha" text contents, "haha" expression package contents), and account numbers corresponding to users (such as user a) allowed to replace the message contents in the electronic device, then after the electronic device receives messages (such as message 1) sent by other users (such as user a), the electronic device may detect whether to-be-replaced contents in the content of the message 1, and detect whether the other users are users allowed to replace the message contents, so that to-be-replaced contents (such as "smile" expression package contents are included in the message 1) are detected in the content, and the other users (such as user a) are allowed to replace the message contents, and the electronic device may display the haha "expression package" contents in the message window "and the other expression package" in the chat interface as a chat interface.
Through the scheme, the user can self-define the content of the undesired message to enable the electronic equipment to display the content of the message wanted by the user, so that the problem that the traditional mode can only delete the message after displaying the transmitted message and the display mode of the message is single can be avoided, and the diversity of the display modes of the electronic equipment on the message is improved.
An embodiment of the application provides a message display method, and fig. 1 shows a flowchart of the message display method provided by the embodiment of the application, and the method can be applied to electronic equipment. As shown in fig. 1, the message display method provided in the embodiment of the present application may include the following steps 201 to 203.
Step 201, the electronic device receives a first message sent by a target user.
In this embodiment of the present application, under the condition that the target application is running, the electronic device receives a first message, where the first message is a message corresponding to an account identifier of the target user received through the target application (i.e., a message sent by the target user received through the target application).
In this embodiment of the present application, if the electronic device receives a message (for example, the first message) through the target application when the electronic device runs the target application in the foreground or runs the target application in the background, the electronic device may acquire sender information of the message (i.e. an account identifier of a user who sends the message) and content of the message, so as to determine whether to replace part or all of the content in the message according to the sender information and content.
It should be noted that, the running of the target application program by the foreground of the electronic device may be understood as: the electronic equipment displays any interface of the target application program, or the electronic equipment displays a session window corresponding to the account identification of the target user in the target application program.
Alternatively, in the embodiment of the present application, the target application may be a chat application or other application with a messaging function.
Optionally, in an embodiment of the present application, the content of the first message includes at least one of the following: text content, picture content, video content, expression package content, voice content, link content, and the like.
It should be noted that, the account identifier of the target user is used to indicate one user or multiple users, or is used to indicate one user group or multiple user groups. Optionally, in the embodiment of the present application, the account identifier of the target user may be an avatar or a name of the target user.
Step 202, the electronic device replaces the first content with the target content to obtain the second message when the first content of the first message is matched with the first preset information.
It can be understood that, in the case that part of the content of the first message matches the first preset information, the content of the second message includes the replaced content and the non-replaced content in the first message; and when the whole content of the first message is matched with the first preset information, the content of the second message is replaced.
Alternatively, in the embodiment of the present application, the type of the first content may be any one of the following: text type, picture type, video type, expression package type, voice type, link type, etc.; the type of the above target content may be any of the following: text type, picture type, video type, expression package type, voice type, link type, etc. It should be noted that, the type of the target content is the same as or different from the type of the first content.
Optionally, in this embodiment of the present application, the type of the first preset information may be any one of the following: text information, picture information, video information, expression package information, voice information, link information, and the like.
It should be noted that, the matching of the first content of the first message with the first preset information may be understood as: the form of the first content is the same as that of the first preset information, and the semantic information of the first content is the same as that of the first preset information; alternatively, the form of the first content is different from the form of the first preset information, and the semantic information of the first content is the same as the semantic information of the first preset information. For example, if the first content is "yawning" text content and the first preset information is "yawning" text content, the first content is matched with the first preset information; or if the first content is smiling expression package content and the first preset information is the yawning text content, the first content is matched with the first preset information.
Alternatively, in the embodiment of the present application, the "the electronic device replaces the first content with the target content and obtains the second message" in the step 202 may be specifically implemented by the following step 202 a.
Step 202a, under the condition that at least one preset account identifier stored in the electronic device includes an account identifier corresponding to a target user, the electronic device replaces the first content with the target content to obtain a second message.
In this embodiment of the present invention, the at least one preset account identifier is an account identifier corresponding to a user who is allowed to replace the content of the message, and the target content is replaced content corresponding to the first preset information.
In this embodiment of the present invention, after receiving a first message, an electronic device may compare sender information of the first message (i.e., an account identifier corresponding to a target user) with at least one preset account identifier stored in the electronic device, and compare content of the first message with first preset information stored in the electronic device, and then, when the account identifier corresponding to the target user is identical to any preset account identifier in the at least one preset account identifier, and part or all of content of the first message is matched with the first preset information, the electronic device may replace the part or all of content with preset content (i.e., target content) to display a message after content replacement (i.e., a second message), that is, the electronic device does not display the first message before content replacement, but directly displays the second message after content replacement.
Optionally, in the embodiment of the present application, the electronic device may compare the account identifier corresponding to the target user with at least one preset account identifier, and compare the content of the first message with the first preset information after determining that the at least one preset account identifier includes the account identifier corresponding to the target user. Or the electronic device may compare the account identifier corresponding to the target user with at least one preset account identifier, and content of the first message with the first preset information. Or, the electronic device may compare the content of the first message with the first preset information, and compare the account identifier corresponding to the target user with at least one preset account identifier after determining that the first content of the first message (the first content is part of the content or all of the content of the first message) matches with the first preset information.
It should be noted that, the account identifier corresponding to the user that allows the content of the replacement message may be understood as: and the account numbers preset by the user are used for determining whether to allow the content replacement of the message, namely, the content replacement of the message sent by the user corresponding to the account numbers is allowed. The method for presetting these account identifications for the user will be described in the following embodiments, which are not described here.
Optionally, in the embodiment of the present application, when at least one preset account identifier does not include an account identifier corresponding to the target user, and/or the first content of the first message is not matched with the first preset information, the electronic device may directly display the first message, that is, directly display the first message in a session window corresponding to the account identifier corresponding to the target user.
Step 203, the electronic device displays the second message in the target session window.
In this embodiment of the present application, the target session window is a session window corresponding to the target user (i.e., a session window corresponding to an account identifier of the target user in the target application).
Optionally, in the embodiment of the present application, the electronic device may display the second message in a first preset manner, so as to indicate to the user that the second message is a message after content replacement, where the first preset manner includes at least one of the following: an enlarged display mode, a color display mode, an add mark display mode, a highlighting display mode, and the like.
Alternatively, in the embodiment of the present application, the above step 203 may be specifically implemented by the following step 203 a.
In step 203a, the electronic device displays the target content in the target session window in the first display format, and displays other content in the second display format.
In this embodiment of the present application, the other content is content other than the target content in the second message.
Optionally, in the embodiment of the present application, the first display format and the second display format may be any one of the following: bolded display format, color display format, highlighted display format, add border display format, default display format, etc.; and the first display format is different from the second display format.
In the embodiment of the application, the electronic device can display the non-replaced content and the replaced content in the message by adopting different display formats so as to prompt the user for the replaced content in the message, thereby facilitating the user to more intuitively know the replaced content and improving the diversity of the display modes of the electronic device on the message.
Optionally, in the embodiment of the present application, after the electronic device displays the target content in the first display format, the user may continue to input the target content (i.e., the replaced content) in the second message, so as to trigger the electronic device to replace the target content with the first content (i.e., the original content in the first message sent by the target user), thereby improving the diversity and flexibility of the display mode of the electronic device on the message.
The embodiment of the application provides a message display method, after receiving a first message sent by a target user, an electronic device may replace the first content with a target content when the first content of the first message is matched with first preset information, so as to obtain a second message with the replaced content, so that the second message is displayed in a session window corresponding to the target user. In the scheme, after the electronic device receives a message sent by a specific user, whether the content of the message is replaced or not can be determined according to whether the content of the message meets the corresponding condition, namely, when the content of the message meets the corresponding condition, certain content of the message is replaced by the content required by the user, and then the message with the replaced content is displayed in a session window instead of directly displaying the received message in the session window, and meanwhile, the problem that the traditional mode only can delete the message after displaying the sent message, so that the display mode of the message is single is avoided, and the diversity of the display mode of the electronic device on the message is improved.
Optionally, in the embodiment of the present application, before the electronic device receives the first message sent by the target user in step 201, the method for displaying a message provided in the embodiment of the present application further includes steps 301 and 302 described below.
Step 301, the electronic device receives a first input of a user.
Optionally, in this embodiment of the present application, the first input may be a sliding input (for example, a sliding input of a preset direction or a preset track) of the user in the interface of the target application, a clicking input (for example, a clicking input of a preset number of times), or the like, so as to trigger the electronic device to display the target setting interface, so that the user may perform related settings (for example, setting at least one preset account identifier, first preset information, etc.) of the message content replacement. Or, the first input may include a first sub-input and a second sub-input, where the first sub-input is an input of a setting control by a user in an interface of the target application program, so as to trigger the electronic device to display a function list interface, where the function list interface includes at least one option, each option corresponds to a function of the target application program, where the at least one option includes a target option, and the target option corresponds to a related setting function of content replacement, and the second sub-input is an input of the user to the target option, so as to trigger the electronic device to display the target setting interface, so that the user may perform related setting of message content replacement.
An electronic device is exemplified as a mobile phone. As shown in fig. 2, after the user inputs the setting control, the mobile phone may display a function list interface, where at least one option (e.g., an "expression management" option, a "custom chat message display" option, etc.) is included in the function list interface, and the user may input a target option (e.g., a "custom chat message display" option) in the at least one option, so that the mobile phone may display the target setting interface.
Step 302, the electronic device displays a target setting interface in response to a first input.
In this embodiment of the present application, the target setting interface includes at least one of the following: a first control and a second control. The first control is used for setting first preset information and target content, and the second control is used for setting at least one preset account identifier.
For example, as shown in fig. 3 in conjunction with fig. 2, after the user inputs the target option (i.e., the "custom chat message display" option), the mobile phone may display a target setting interface, where the target setting interface includes a first control (i.e., the "set replacement vocabulary" control), a second control (i.e., the "set effective group" control), and each set replacement vocabulary, so that the user may input the first control and/or the second control to implement relevant settings for content replacement (e.g., the first preset information, the target content, and at least one preset account identifier).
In the embodiment of the invention, the user can input the first control and/or the second control in the target setting interface to realize the related setting of content replacement, namely, the user replaces/modifies the content of the undesired message and the required replaced content by self definition, so that the electronic equipment replaces the undesired content of the user in the message with the required content of the user after receiving the message, thereby displaying the content of the message wanted by the user and improving the diversity of the display modes of the electronic equipment on the message.
Optionally, in an embodiment of the present application, the target setting interface includes at least a first control. After the step 302, the message display method provided in the embodiment of the present application further includes the following steps 303 and 304.
Step 303, the electronic device receives a second input of the user to the first control.
Optionally, in the embodiment of the present application, the second input may be a selection input (for example, a click input or a long press input) of the first control by a user, so that the electronic device enters a setting mode of the preset information and the replaced content.
Step 304, the electronic device displays the first interface in response to the second input.
In this embodiment of the present application, the first interface includes at least one set of content input areas, where each set of content input areas includes an input area of preset information and an input area of replaced content.
In this embodiment of the present invention, the preset information is used to determine whether there is a replaceable content in the message, where the preset information includes first preset information, each preset information corresponds to a replaced content, and the replaced content includes a target content.
It can be understood that the preset information is a message set by the user and used for judging whether the message has the replaceable content, that is, when the received message has the content matched with any preset information in the preset information, the content can be replaced.
Optionally, in this embodiment of the present application, the first interface further includes a third control and a fourth control; the third control is used for adding a content input area; the fourth control is used for deleting the content input area.
Note that, for each of at least one set of content input areas: the set of content input areas may be areas where no content is input, and the user may input one piece of preset information (for example, first preset information) and one piece of replaced content (for example, target content) in the set of content input areas to implement setting of the content to be replaced and the replaced content; alternatively, the set of content input areas may be areas in which content has been input, and the user may make content modification in the set of content input areas to modify the content that has been input in the set of content input areas into desired one piece of preset information (for example, first preset information) and one piece of replaced content (for example, target content) to achieve settings of the content to be replaced and the replaced content. For the third control, after the user inputs the third control once, the electronic device may add a set of content input areas in the first interface, so as to be used for the user to input corresponding preset information and replaced content. For the fourth control, optionally, in one manner, the fourth control is a control, after the user inputs the fourth control, the electronic device may control at least one set of content input areas in the first interface to be in an editable state, so that the user may input any content input area in the at least one set of content input areas, so that the electronic device deletes any content input area. In another manner, the fourth control includes a plurality of controls, each control in the plurality of controls corresponds to a set of content input areas, one control in the plurality of controls is used for deleting the content input area corresponding to the one control, and a user can input any control in the plurality of controls, so that the electronic device deletes the content input area corresponding to the any control.
As illustrated in fig. 3, after a user inputs a first control (i.e. a "set replace vocabulary" control) in a target setting interface, the electronic device may display the first interface, so as to display at least one set of content input areas, a third control (i.e. a "new" control) and a fourth control (i.e. a plurality of "delete" controls) in the first interface, so that the user may input corresponding preset information and replaced content (e.g. a "care" text content and a "haha" text content) in any content input area in the at least one set of content input areas, and may also add a set of content input areas in the first interface through the "new" control, and may also delete the corresponding content input areas through a certain "delete" control.
In the embodiment of the invention, the user can input the first control in the target setting interface to realize the related setting of at least one preset information and at least one replaced content, namely, the user replaces/modifies the content of the undesired message and the required replaced content by self definition, so that the electronic equipment replaces the undesired content of the user in the message with the required content of the user after receiving the message, thereby displaying the content of the message desired by the user and improving the diversity of the display modes of the electronic equipment on the message.
Optionally, in the embodiment of the present application, after the step 304, the method for displaying a message provided in the embodiment of the present application further includes the following steps 305 and 306.
Step 305, the electronic device receives a third input from the user.
In this embodiment of the present application, the third input is input by the user of the first preset information and the target content in a set of content input areas in at least one set of content input areas.
Step 306, the electronic device responds to the third input to save the first preset information and the target content.
In the embodiment of the invention, the user can input the first preset information and the target content in a group of content input areas, so that the electronic equipment completes the setting of the first preset information and the target content, namely, the user replaces/modifies the content of the undesired message and the required replaced content through self-definition, so that after receiving the message, the electronic equipment replaces the content matched with the first preset information in the message with the target content required by the user, thereby displaying the content of the message required by the user, and improving the diversity of the display modes of the electronic equipment on the message.
Optionally, in an embodiment of the present application, the target setting interface includes at least a second control. After the above step 302, the message display method provided in the embodiment of the present application further includes the following steps 401 to 404.
Step 401, the electronic device receives a fourth input of the second control from the user.
Optionally, in the embodiment of the present application, the fourth input may be a selection input (for example, a click input or a long press input) of the second control by a user, so that the electronic device enters a setting mode of at least one preset account identifier.
Step 402, the electronic device displays a second interface in response to the fourth input.
In this embodiment of the present application, the second interface includes at least one first identifier, where each first identifier is used to indicate a user or a user group, respectively.
Optionally, in this embodiment of the present application, the at least one first identifier may be an identifier of all contacts in the target application, or an identifier of a contact in the target application, where the number of times of sending and receiving a message is greater than a preset threshold, or an identifier of some contacts set by a user in the target application, etc., which may specifically be determined according to actual use requirements, and the embodiment of the present application is not limited.
For example, as shown in fig. 5 in conjunction with fig. 3, after the user inputs the second control (i.e., the "set effective group" control) in the target setting interface, the electronic device may display the second interface to display at least one first identifier (e.g., the identifier of contact a, the identifier of contact B, and the identifier of group chat C, where contact a, contact B, and contact C are included) in the second interface, so that the user may input any first identifier (e.g., the identifier of contact B) in the at least one first identifier, so that the mobile phone may set the any first identifier as at least one preset account identifier.
Step 403, the electronic device receives a fifth input from the user.
In this embodiment of the present application, the fifth input is input by the user to N first identifiers in the at least one first identifier, where N is a positive integer.
In step 404, the electronic device determines, in response to the fifth input, the N first identifiers as at least one preset account identifier.
Note that, for any first identifier of the N first identifiers: if the first identifier is included in one or more group chat packets in the target application program (i.e., the first identifier is an account identifier corresponding to one user in a contact list in the target application program, and the one or more group chat packets in the contact list each include the first identifier), then, when the content of the message is replaced, the electronic device only replaces the content of the message sent by the user corresponding to the first identifier in the non-group chat packet, but not the content of the message sent by the user corresponding to the first identifier in the group chat packet, or the electronic device may replace the content of the message sent by the user corresponding to the first identifier in the non-group chat packet, and the content of the message sent by the user corresponding to the first identifier in the group chat packet.
Illustratively, assume that the N first identifications are identifications of contact B (i.e., at least one preset account identification is an identification of contact B), and that the group chat C includes the identification of contact B. After receiving the message sent by the contact B, the electronic device may replace only the "care" text content in the message sent by the contact B in the non-group chat packet, or the electronic device may replace both the "care" text content in the message sent by the contact B in the non-group chat packet and the "care" text content in the message sent by the contact B in the group chat C, when detecting that there is a content (e.g., the "care" text content) matching the first preset information in the message.
In the embodiment of the invention, the user can input the second control and at least one first identifier in the target setting interface to realize the related setting of at least one preset account identifier, namely, the user allows the user to replace the content of the message by self definition, so that the content of the message sent by the user is replaced by the content required by the user to display the content of the message required by the user, and the diversity of the display modes of the electronic equipment on the message is improved.
Optionally, in an embodiment of the present application, the target setting interface includes a first control and a second control. The user can input the first control to set the first preset information and the target content, and then input the second control to set at least one preset account number identifier; or, the user may input the second control first to set at least one preset account identifier, and then input the first control to set the first preset information and the target content.
Optionally, in the embodiment of the present application, after the step 202, the method for displaying a message provided in the embodiment of the present application further includes the following step 501.
Step 501, the electronic device displays the target mark in the region corresponding to the second message in the target session window.
In this embodiment of the present application, the target flag is used to indicate that the second message is a message after content replacement.
It should be noted that, the area corresponding to the second message in the target session window may be understood as: and displaying the area of the second message in the target session window, or displaying one area of the target session window within a preset range of the display area of the second message.
Optionally, in the embodiment of the present invention, the electronic device may display the target mark in a second preset manner, where the second preset manner may be any one of the following: a graphic marking method (for example, a circular marking method, a square marking method, an irregular graphic marking method, or the like), a character marking method, a preset pattern marking method, or the like.
For example, in conjunction with fig. 5, after the user inputs the identifier of the contact B, that is, after the identifier of the contact B is determined as at least one preset account identifier, and after the mobile phone receives the message sent by the contact B, if it is detected that there is a content (for example, a "yawning" text content) matching the first preset information in the message, as shown in (a) in fig. 6, the electronic device may replace the "yawning" text content in the message sent by the contact B that is not grouped by group chat with the "haha" text content, and display a target mark (for example, a circular mark) in a display area of the "haha" text content; as shown in fig. 6 (B), the electronic device may replace the "yawning" text content in the message sent by the contact B in the group chat C with the "haha" text content, and display the target mark (e.g., a circular mark) in the display area of the "haha" text content.
It should be noted that, the electronic device may execute the step 203 first and then execute the step 501, that is, the electronic device may display the second message first and then display the target mark; alternatively, the electronic device may perform the above-described steps 203 and 501 simultaneously, i.e., the electronic device may display the second message and the target mark simultaneously.
Optionally, in the embodiment of the present application, after the step 501, the method for displaying a message provided in the embodiment of the present application further includes the following steps 502 and 503.
Step 502, the electronic device receives a target input of a target mark from a user.
Optionally, in the embodiment of the present application, the target input may be a click input, a long press input, or a sliding input of the target mark by a user, so as to trigger the electronic device to display the first message.
Step 503, the electronic device displays a first message in the target session window in response to the target input.
Optionally, in the embodiment of the present application, displaying the first message in the target session window may be any one of the following: replacing the second message with the first message, and displaying the first message in an area corresponding to the second message.
It should be noted that displaying the first message in the area corresponding to the second message may be understood as: the electronic device does not replace the second message with the first message, but instead displays the first message while the second message remains displayed.
Optionally, in the embodiment of the present application, the electronic device may perform any one of the following actions according to the input parameters input by the target: replacing the second message with the first message, and displaying the first message in an area corresponding to the second message, wherein the input parameters comprise at least one of the following: input modes, input directions, input tracks and the like, and different input parameters correspond to different actions.
It should be noted that, the area corresponding to the second message may be understood as: and displaying the area of the second message in the target session window, or displaying one area of the target session window within a preset range of the display area of the second message.
For example, in connection with (B) of fig. 6, as shown in fig. 7, after the user inputs a target mark displayed in a display area of a second message (e.g., a "haha" text content) for a long press, the mobile phone may display a first message (i.e., a "yawning" text content) in an area corresponding to the second message (e.g., an area below the display area of the second message), i.e., the mobile phone may display the first message while retaining the display of the second message.
In the embodiment of the invention, the electronic equipment can display the message with the content replaced in the target session window to the user through the target mark, so that the user can directly input the target mark to trigger the electronic equipment to rapidly display the content of the message before the replacement, thereby improving the diversity and flexibility of the display mode of the electronic equipment on the message.
Alternatively, in the embodiment of the present application, the above step 202 and step 203 may be replaced by the following step 204.
Step 204, the electronic device displays the first message in the target session window and does not display the target mark in the area corresponding to the first message when the first content of the first message is not matched with the first preset information.
In this embodiment, when receiving a message, the electronic device may compare the message with at least one preset message pre-stored in the electronic device to determine whether the message is matched with a certain preset message, so that if the message is matched with a certain preset message, the content in the message is replaced to display the message with the replaced content, and if the message is not matched with any preset message, the content in the message is not replaced, but the message is directly displayed. It will be appreciated that in the event that the message does not match any of the preset information, i.e. for messages for which no content substitution is performed, the electronic device does not display the target mark.
It should be noted that, in the message display method provided in the embodiment of the present application, the execution body may be a message display device, or a control module in the message display device for executing the message display method. In the embodiment of the present application, a message display device is described by taking a message display method performed by the message display device as an example.
Fig. 8 shows a schematic diagram of one possible structure of a message display device involved in an embodiment of the present application. As shown in fig. 8, the message display device 70 may include: a receiving module 71, a replacing module 72 and a display module 73.
The receiving module 71 is configured to receive a first message sent by a target user. And a replacing module 72, configured to replace the first content with the target content to obtain the second message if the first content of the first message received by the receiving module 71 matches with the first preset information. The display module 73 is configured to display the second message replaced by the replacing module 72 in a target session window, where the target session window is a session window corresponding to the target user.
The embodiment of the application provides a message display device, which can determine whether to replace the content of a message according to whether the content of the message meets corresponding conditions after receiving a message sent by a specific user, namely, when the content of the message meets the corresponding conditions, certain content of the message is replaced by the content required by the user, and then the message with the replaced content is displayed in a session window instead of directly displaying the received message in the session window, and meanwhile, the problem that the traditional mode only can delete the message after displaying the sent message is avoided, so that the display mode of the message is single is solved, and the diversity of the display mode of the message is improved.
In a possible implementation manner, the replacing module 72 is specifically configured to replace the first content with the target content to obtain the second message when the at least one preset account identifier stored in the electronic device includes the account identifier corresponding to the target user.
In a possible implementation manner, the receiving module 71 is further configured to receive the first input of the user before receiving the first message sent by the target user. The display module 73 is further configured to display, in response to the first input received by the receiving module 71, a target setting interface, where the target setting interface includes at least one of: a first control and a second control. The first control is used for setting first preset information and target content, and the second control is used for setting at least one preset account identifier.
In one possible implementation, the target setting interface includes at least a first control. The message display apparatus 70 provided in the embodiment of the present application further includes: and a storage module. The receiving module 71 is further configured to receive a second input from the user to the first control after the display module 73 displays the target setting interface. The display module 73 is further configured to display a first interface in response to the second input received by the receiving module 71, where the first interface includes at least one set of content input areas, and each set of content input areas includes an input area of preset information and an input area of replaced content. The receiving module 71 is further configured to receive a third input from the user, where the third input is input from the user to the first preset information and the target content in a set of content input areas in the at least one set of content input areas. A saving module for saving the first preset information and the target content in response to the third input received by the receiving module 71.
In one possible implementation, the target setting interface includes at least a second control. The message display apparatus 70 provided in the embodiment of the present application further includes: and a determining module. The receiving module 71 is further configured to receive a fourth input from the user to the second control after the display module 73 displays the target setting interface. The display module 73 is further configured to display, in response to the fourth input received by the receiving module 71, a second interface, where the second interface includes at least one first identifier, and each first identifier is used to indicate a user or a group of users, respectively. The receiving module 71 is further configured to receive a fifth input of the user, where the fifth input is input by the user to N first identifiers in the at least one first identifier, and N is a positive integer. The determining module is configured to determine the N first identifiers as at least one preset account identifier in response to the fifth input received by the receiving module 71.
In a possible implementation manner, the display module 73 is further configured to display the target mark in an area corresponding to the second message in the target session window after the replacing module 72 replaces the first content with the target content to obtain the second message.
In a possible implementation, the receiving module 71 is further configured to receive, after the displaying module 73 displays the target mark, a target input of the target mark from the user. The display module 73 is further configured to display the first message in the target session window in response to the target input received by the receiving module 71.
In a possible implementation manner, the display module 73 is further configured to display the first message in the target session window and not display the target mark in the area corresponding to the first message if the first content of the first message received by the receiving module 71 does not match the first preset information.
In one possible implementation, the display module 73 is specifically configured to display, in the target session window, the target content in the first display format, and display, in the second display format, other content, where the other content is other than the target content in the second message.
The message display device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The message 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, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The message display device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 90, including a processor 91, a memory 92, and a program or an instruction stored in the memory 92 and capable of running on the processor 91, where the program or the instruction implements each process of the embodiment of the method when executed by the processor 91, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The radio frequency unit 101 is configured to receive a first message sent by a target user. And the processor 110 is configured to replace the first content with the target content to obtain the second message if the first content of the first message matches the first preset information. And the display unit 106 is configured to display the second message in a target session window, where the target session window is a session window corresponding to the target user.
The embodiment of the application provides an electronic device, which can determine whether to replace the content of a message according to whether the content of the message meets corresponding conditions after receiving a message sent by a specific user, namely, when the content of the message meets the corresponding conditions, certain content of the message is replaced by the content required by the user, and then the message with the replaced content is displayed in a session window instead of directly displaying the received message in the session window, and meanwhile, the problem that the traditional mode only can delete the message after displaying the sent message, so that the display mode of the message is single is avoided, and the diversity of the display mode of the electronic device on the message is improved.
Optionally, in the embodiment of the present application, the processor 110 is further configured to replace the first content with the target content to obtain the second message when at least one preset account identifier stored in the electronic device includes an account identifier corresponding to the target user.
Optionally, in the embodiment of the present application, the user input unit 107 is configured to receive a first input of the user before receiving the first message sent by the target user. The display unit 106 is further configured to display, in response to the first input, a target setting interface, where the target setting interface includes at least one of: a first control and a second control. The first control is used for setting first preset information and target content, and the second control is used for setting at least one preset account identifier.
Optionally, in an embodiment of the present application, the target setting interface includes at least a first control. The user input unit 107 is further configured to receive a second input of the first control by the user after the display unit 106 displays the target setting interface. The display unit 106 is further configured to display a first interface in response to the second input, where the first interface includes at least one set of content input areas, and each set of content input areas includes an input area of preset information and an input area of replaced content. The user input unit 107 is further configured to receive a third input of the user, where the third input is input of the first preset information and the target content by the user in a set of content input areas of the at least one set of content input areas. And a memory 109 for storing first preset information and target content in response to a third input.
Optionally, in an embodiment of the present application, the target setting interface includes at least a second control. The user input unit 107 is further configured to receive a fourth input of the second control by the user after the display unit 106 displays the target setting interface. The display unit 106 is further configured to display, in response to the fourth input, a second interface including at least one first identifier, each first identifier being configured to indicate a user or a group of users, respectively. The user input unit 107 is further configured to receive a fifth input of the user, where the fifth input is input by the user to N first identifiers in the at least one first identifier, and N is a positive integer. The processor 110 is further configured to determine, in response to the fifth input, the N first identifiers as at least one preset account identifier.
Optionally, in the embodiment of the present application, the display unit 106 is further configured to display the target mark in an area corresponding to the second message in the target session window after the processor 110 replaces the first content with the target content to obtain the second message.
Optionally, in the embodiment of the present application, the user input unit 107 is further configured to receive, after the display unit 106 displays the target mark, a target input of the target mark by the user. The processor 110 is further configured to display a first message in the target session window in response to the target input.
Optionally, in the embodiment of the present application, the display unit 106 is further configured to display the first message in the target session window and not display the target mark in the area corresponding to the first message, where the first content of the first message does not match the first preset information.
Optionally, in the embodiment of the present application, the display unit 106 is specifically configured to display, in the target session window, the target content in the first display format, and display, in the second display format, other content, where the other content is a content in the second message other than the target content.
The electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., 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, a joystick, and so forth, which are not described in detail herein. 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that 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, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (8)

1. A message display method, the method comprising:
receiving a first message sent by a target user;
under the condition that the first content of the first message is matched with first preset information, replacing the first content with target content to obtain a second message;
displaying the second message in a target session window, wherein the target session window is a session window corresponding to the target user;
before the receiving the first message sent by the target user, the method further comprises:
receiving a first input of a user;
in response to the first input, displaying a target setting interface, wherein the target setting interface comprises at least one of the following: the first control, the second control, the third control and the fourth control;
the first control is used for setting the first preset information and the target content, and the second control is used for setting at least one preset account identifier; the third control is used for adding a content input area; the fourth control is used for deleting a content input area, and the content input area comprises an input area of preset information and an input area of replaced content;
the replacing the first content with the target content to obtain a second message includes:
Under the condition that at least one preset account identifier stored in the electronic equipment comprises the account identifier corresponding to the target user, replacing the first content with target content to obtain a second message;
after the first content is replaced by the target content to obtain the second message, the method further comprises:
displaying a target mark in a region corresponding to the second message in the target session window;
receiving target input of a user on the target mark;
in response to the target input, displaying the first message in the target session window according to input parameters of the target input, wherein the displaying the first message in the target session window comprises any one of the following: and replacing the second message with the first message, and displaying the first message in a region corresponding to the second message, wherein different input parameters correspond to different display modes.
2. The method according to claim 1, wherein the method further comprises:
and displaying the first message in the target session window and not displaying the target mark in a region corresponding to the first message under the condition that the first content of the first message is not matched with the first preset information.
3. The method of claim 1, wherein displaying the second message in the target session window comprises:
and in the target session window, displaying the target content in a first display format, and displaying other contents in a second display format, wherein the other contents are contents except the target content in the second message.
4. A message display device, the message display device comprising: the device comprises a receiving module, a replacing module and a display module;
the receiving module is used for receiving a first message sent by a target user;
the replacing module is used for replacing the first content with the target content to obtain a second message under the condition that the first content of the first message received by the receiving module is matched with first preset information;
the display module is configured to display the second message replaced by the replacing module in a target session window, where the target session window is a session window corresponding to the target user;
the receiving module is further configured to receive a first input of a user before receiving the first message sent by the target user;
The display module is further configured to display a target setting interface in response to the first input received by the receiving module, where the target setting interface includes at least one of: the first control, the second control, the third control and the fourth control;
the first control is used for setting the first preset information and the target content, and the second control is used for setting at least one preset account identifier; the third control is used for adding a content input area; the fourth control is used for deleting a content input area, and the content input area comprises an input area of preset information and an input area of replaced content;
the replacing module is specifically configured to replace the first content with a target content to obtain a second message when at least one preset account identifier stored in the electronic device includes the account identifier corresponding to the target user;
the display module is further configured to display a target mark in an area corresponding to the second message in the target session window after the replacement module replaces the first content with the target content to obtain the second message;
the receiving module is further used for receiving target input of a user on the target mark after the target mark is displayed by the display module;
The display module is further configured to display, in response to the target input received by the receiving module, the first message in the target session window according to an input parameter of the target input, where displaying the first message in the target session window includes any one of: and replacing the second message with the first message, and displaying the first message in a region corresponding to the second message, wherein different input parameters correspond to different display modes.
5. The apparatus of claim 4, wherein the display module is further configured to display the first message in the target session window and not display the target mark in an area corresponding to the first message if the first content of the first message does not match the first preset information.
6. The apparatus according to claim 4, wherein the display module is specifically configured to display, in the target session window, the target content in a first display format, and display, in a second display format, other content, where the other content is content in the second message other than the target content.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the message display method of any one of claims 1 to 3.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the message display method according to any of claims 1 to 3.
CN202110326467.5A 2021-03-26 2021-03-26 Message display method and device and electronic equipment Active CN113141296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110326467.5A CN113141296B (en) 2021-03-26 2021-03-26 Message display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110326467.5A CN113141296B (en) 2021-03-26 2021-03-26 Message display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113141296A CN113141296A (en) 2021-07-20
CN113141296B true CN113141296B (en) 2023-06-13

Family

ID=76810675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110326467.5A Active CN113141296B (en) 2021-03-26 2021-03-26 Message display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113141296B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629864B (en) * 2022-02-22 2024-04-16 维沃移动通信有限公司 Message sending method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012150A (en) * 2019-02-20 2019-07-12 维沃移动通信有限公司 A kind of message display method and terminal device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10129197B2 (en) * 2015-12-31 2018-11-13 Oath Inc. Computerized system and method for modifying a message to apply security features to the message's content
US10489506B2 (en) * 2016-05-20 2019-11-26 Blackberry Limited Message correction and updating system and method, and associated user interface operation
CN107147557B (en) * 2016-10-25 2021-01-15 北京小米移动软件有限公司 Method and device for modifying session information
CN109409124A (en) * 2018-10-12 2019-03-01 广东小天才科技有限公司 Message display method, device, terminal and the storage medium of mobile terminal
US20200401710A1 (en) * 2019-06-21 2020-12-24 Citrix Systems, Inc. System and method for censoring age-inappropriate content in real-time
CN110555027A (en) * 2019-08-19 2019-12-10 珠海格力电器股份有限公司 information security processing method and device, storage medium and computing equipment
CN111614544B (en) * 2020-04-20 2022-03-25 维沃移动通信有限公司 Message processing method and electronic equipment
CN112003781B (en) * 2020-08-26 2022-08-16 维沃移动通信(深圳)有限公司 Chat message sending method and device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012150A (en) * 2019-02-20 2019-07-12 维沃移动通信有限公司 A kind of message display method and terminal device

Also Published As

Publication number Publication date
CN113141296A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN111984115A (en) Message sending method and device and electronic equipment
CN111984162A (en) Page display method and device and electronic equipment
WO2023040741A1 (en) Message sending method and apparatus, and electronic device
CN113676589B (en) Unread message display method and device and electronic equipment
CN113259222A (en) Message processing method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN112003781A (en) Chat message sending method and device and electronic equipment
CN112162802A (en) Message reply method and device and electronic equipment
CN112286416A (en) Information display method and device and electronic equipment
CN111857504A (en) Information display method and device, electronic equipment and storage medium
CN112947807A (en) Display method and device and electronic equipment
CN113037924A (en) Voice sending method and device and electronic equipment
CN113141294A (en) Message prompting method and device and electronic equipment
CN113285866A (en) Information sending method and device and electronic equipment
CN112671635A (en) Sending method, sending device and electronic equipment
CN113141296B (en) Message display method and device and electronic equipment
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN113676395A (en) Information processing method, related device and readable storage medium
CN114051009B (en) Message sending method and electronic equipment
CN112578975A (en) Information processing method and device and electronic equipment
WO2023011368A1 (en) Method and apparatus for prompting unread message, electronic device and medium
CN113824627B (en) Group chat message display method and device, electronic equipment and storage medium
CN112269510B (en) Information processing method and device and electronic equipment
CN113364915B (en) Information display method and device and electronic equipment

Legal Events

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