Message processing method and device and electronic equipment

By collecting and comparing user voice content in electronic devices to determine whether the message is known, the problem of inflexible processing of unread messages in the prior art is solved, and a more intelligent message marking method is realized.

CN119071266APending Publication Date: 2024-12-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411065567.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing electronic devices lack flexibility in processing unread messages. Even if the user knows the message content, the device is still marked as unread, resulting in inflexible processing methods.

Method used

By collecting user voice content when receiving a session message, and comparing it with the message content, marking it as a read message if it matches, using a conversation or a call to determine the processing method of unread messages.

Benefits of technology

Improves flexibility in the way electronic devices handle unread messages, and avoids users from repeatedly viewing messages with known content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071266A_ABST
    Figure CN119071266A_ABST
Patent Text Reader

Abstract

The invention discloses a message processing method and device and electronic equipment, and belongs to the field of electronic equipment. The message processing method comprises the steps that under the condition that a first session message is received, user voice content is collected, the first session message is a session message from second electronic equipment, and the user voice content comprises voice content of a user to which the first electronic equipment belongs and voice content of a user to which the second electronic equipment belongs; and under the condition that the content of the first session message is matched with the user voice content, marking the first session message as a read message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic equipment, and specifically relates to a message processing method, device and electronic equipment. Background Art

[0002] Currently, users can use chat applications in electronic devices to achieve real-time communication between users. For example, users can send messages to other users through instant messaging applications, such as text messages, picture messages, voice messages, etc. After the chat application of an electronic device receives a new message, the electronic device can mark the message as an unread message, such as displaying a red digital mark, to prompt the user of the unread message.

[0003] Currently, if user A uses an instant messaging application to send a message to user B, user B's electronic device can display a red digital icon in the conversation box between user B and user A in the conversation list interface of the instant messaging application to prompt user B that a new message from user A has been received. If user B does not view the message sent by user A, the message will be marked as an unread message by user B's electronic device.

[0004] However, in some cases, the user has learned the content of the message, but the message will always be marked as an unread message by the electronic device, so the way in which the electronic device handles unread messages is not flexible enough. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a message processing method, device and electronic device, which improve the flexibility of the electronic device in processing unread messages.

[0006] In a first aspect, an embodiment of the present application provides a message processing method, which is applied to a first electronic device, and the method includes: when a first conversation message is received, collecting user voice content, the first conversation message is a conversation message from a second electronic device, and the user voice content includes voice content of a user belonging to the first electronic device and a user belonging to the second electronic device. When the content of the first conversation message matches the user voice content, marking the first conversation message as a read message.

[0007] In a second aspect, an embodiment of the present application provides a message processing device, the device comprising: a collection module and a processing module. The collection module is used to collect user voice content when receiving a first conversation message, the first conversation message is a conversation message from a second electronic device, and the user voice content includes the voice content of the user to which the first electronic device belongs and the user to which the second electronic device belongs. The processing module is used to mark the first conversation message as a read message when the content of the first conversation message matches the user voice content collected by the collection module.

[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0012] In an embodiment of the present application, when the first electronic device receives the first conversation message from the second electronic device, it starts to collect user voice content including the user of the first electronic device and the user of the second electronic device within a certain period of time, and then performs voice analysis on the collected user voice content and compares it with the content of the first conversation message to determine whether there is content in the collected user voice content that matches the content of the first conversation message. If the content of the two matches, it can be considered that the user of the first electronic device and the user of the second electronic device have discussed the content of the first conversation message, that is, the user of the first electronic device knows the content of the first conversation message and does not need to check the first conversation message, and then the first electronic device marks the first conversation message as a read message, that is, this solution determines the handling method of unread messages by monitoring the conversation or call between users, thereby realizing flexible handling of unread messages, thereby improving the flexibility of the electronic device in handling unread messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 One of the flowcharts of the message processing method provided in the embodiment of the present application;

[0014] Figure 2 The second flowchart of the message processing method provided in the embodiment of the present application;

[0015] Figure 3 The third flowchart of the message processing method provided in the embodiment of the present application;

[0016] Figure 4A fourth flowchart of a message processing method provided in an embodiment of the present application;

[0017] Figure 5 A schematic diagram of an interface for marking unread messages as read messages provided in an embodiment of the present application;

[0018] Figure 6 A schematic diagram of an interface for prompt information provided in an embodiment of the present application;

[0019] Figure 7 One of the schematic diagrams of the message processing device provided in the embodiment of the present application;

[0020] Figure 8 A second schematic diagram of a message processing device provided in an embodiment of the present application;

[0021] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0022] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0026] The message processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0027] The message processing method provided in the embodiment of the present application can be applied to the scenario of electronic devices processing unread messages when users use applications (such as instant messaging applications) in electronic devices. For example, messages whose contents are known to users can be marked as read, thereby realizing flexible processing of unread messages.

[0028] Exemplarily, the embodiments of the present application may be applied to a scenario where, when an electronic device receives a message sent by another electronic device, the user of the electronic device has not viewed the message but has known the content of the message, for example, when a first electronic device receives a message sent by a second electronic device, the user of the first electronic device has not viewed the message, but the user of the first electronic device has discussed the content of the message with the user of the second electronic device through a video call, voice call, or telephone call. Or when a first electronic device receives a message sent by a second electronic device, the user of the first electronic device has not viewed the message, but the user of the first electronic device has met with the user of the second electronic device to discuss the content of the message.

[0029] In a typical related scheme, when an electronic device receives a message sent by another electronic device, if the user of the electronic device does not click to view the received message, the message will be marked as an unread message. Even if the user of the electronic device no longer needs to view the content of the message, the message will still be marked as an unread message by the electronic device, resulting in the electronic device not being flexible enough in the way it handles unread messages.

[0030] In the embodiment of the present application, when the first conversation message is received, the first electronic device collects user voice content, the first conversation message is a conversation message from the second electronic device, and the user voice content includes the voice content of the user of the first electronic device and the user of the second electronic device. When the content of the first conversation message matches the user voice content, the first conversation message is marked as a read message. In the scheme of the present application, when the first electronic device receives the first conversation message from the second electronic device, it starts to collect user voice content including the user of the first electronic device and the user of the second electronic device within a certain period of time, and then performs voice analysis on the collected user voice content and compares it with the content of the first conversation message to determine whether there is content matching the content of the first conversation message in the collected user voice content. If the content of the two matches, it can be considered that the user of the first electronic device and the user of the second electronic device have discussed the content of the first conversation message, that is, the user of the first electronic device knows the content of the first conversation message and does not need to check the first conversation message. Then the first electronic device marks the first conversation message as a read message, that is, the scheme determines the processing method of unread messages by monitoring the conversation or call between users, thereby realizing flexible processing of unread messages, thereby improving the flexibility of the electronic device in processing unread messages.

[0031] The execution subject of the message processing method provided in the embodiment of the present application may be a message processing device, for example, the message processing device may be an electronic device, or a functional module or functional entity in an electronic device. The following takes the first electronic device as an example to illustrate the technical solution provided in the embodiment of the present application.

[0032] Figure 1 A flow chart of a message processing method provided by an embodiment of the present application is shown. Figure 1 As shown, the message processing method provided in the embodiment of the present application may include the following steps 201 and 202.

[0033] Step 201: Upon receiving a first conversation message, the first electronic device collects user voice content.

[0034] In the embodiment of the present application, the first conversation message is a conversation message from the second electronic device. The user voice content includes the voice content of the user of the first electronic device and the user of the second electronic device.

[0035] In an embodiment of the present application, when the first electronic device is in a locked screen state, or displays the desktop, or displays the interface of any application, if the first electronic device receives a first conversation message, the first electronic device can start collecting user voice content to determine whether to mark the first conversation message as an unread message or a read message.

[0036] Optionally, in the embodiments of the present application, illustratively, in combination Figure 1 ,like Figure 2 As shown, the above step 201 can be specifically implemented through the following step 201a.

[0037] Step 201a: When receiving the first conversation message, if it is detected that the second application corresponding to the first conversation message is in operation, the first electronic device obtains the content of the first conversation message through the second application and collects the user's voice content.

[0038] Optionally, in an embodiment of the present application, the first electronic device may obtain the content of the first conversation message through the second application and collect the user voice content through the second application, or the first electronic device may collect the user voice content through the first application.

[0039] It should be noted that the second application corresponding to the first conversation message refers to an application of the first electronic device that receives the first conversation message.

[0040] Optionally, in an embodiment of the present application, the second application may include at least one of the following: an instant messaging application, a short message application, a telephone application, etc.

[0041] Optionally, in an embodiment of the present application, the above-mentioned running status may include at least one of the following: background running status, use status (ie, foreground running status), status of allowing reception and display of notification messages, etc.

[0042] In the embodiment of the present application, the first electronic device can identify the content of the first conversation message through the second application. For example, if the first conversation message is a text conversation message, the content of the first conversation message can be identified through a text recognition technology; if the first conversation message is a voice conversation message, the content of the first conversation message can be identified through a voice recognition technology, or the voice conversation message can be converted into a text conversation message to identify the content of the first conversation message through a text recognition technology; if the first conversation message is a picture conversation message, the description information (such as text information) in the picture can be identified through a picture recognition technology, and the description information can be extracted to identify the content of the first conversation message through a text recognition technology.

[0043] Optionally, in an embodiment of the present application, the first electronic device may obtain all contents of the first conversation message through the second application, or the first electronic device may obtain key contents (such as time, place, person) of the first conversation message through the second application.

[0044] For example, it is assumed that the content of the first conversation message received by Application A of the first electronic device from Application A of the second electronic device is: Meet in the conference room for a meeting in 30 minutes. If Application A in the first electronic device is in operation, the content of the first conversation message obtained by the first electronic device through Application A may be: Meet in the conference room for a meeting in 30 minutes, or may be: 30 minutes, conference room, meeting.

[0045] As another example, assume that the content of the first conversation message received by application B of the first electronic device from application B of the second electronic device is: Let's go to eat together at 6:30 this afternoon, at the same place as before. If application B in the first electronic device is in operation, the content of the first conversation message obtained by the first electronic device through application B may be: Let's go to eat together at 6:30 this afternoon, at the same place as before, or may be: 6:30 p.m., dinner, and the same place as before.

[0046] In this way, when the first electronic device receives the first conversation message from the second electronic device, the first electronic device can detect the running state of the second application corresponding to the first conversation message, and when it is in the running state, the first electronic device obtains the content of the first conversation message and collects the user's voice content through the second application. When the second application is in the running state, it can be understood that the received first conversation message is a more urgent message. At this time, obtaining the content of the first conversation message and collecting the user's voice content through the second application can flexibly determine whether the user's voice content contains the content of the first conversation message in a relatively short time, so as to more efficiently process urgent messages.

[0047] Optionally, in an embodiment of the present application, the first conversation message may be a message in any application in the electronic device, such as an instant messaging application, a short message application, a telephone application, etc.

[0048] Optionally, in the embodiment of the present application, the first conversation message may include at least one of the following: a voice message, a picture message, a text message, etc.

[0049] Optionally, in the embodiment of the present application, the first electronic device may collect user voice content of a first duration. The first duration may be a default of the first electronic device system, or may be preset by the user.

[0050] For example, the first duration may be any of the following: 1 minute, 5 minutes, 10 minutes, 20 minutes, 30 minutes, 60 minutes, etc. The specific duration may be determined according to actual use requirements, and the present application embodiment does not limit this.

[0051] Optionally, in an embodiment of the present application, the above-mentioned user voice content may include at least one of the following: voice call content between the first electronic device and the second electronic device, face-to-face conversation content between the user of the first electronic device and the user of the second electronic device, video call content between the first electronic device and the second electronic device, voice call content, telephone call content, etc.

[0052] It should be noted that the above-mentioned user voice content can be voice content within a certain range that can be detected by the first electronic device. The certain range can be a range customized by the first electronic device system or a range of voice detection capability of the first electronic device. For example, a circular area with a first value (such as 30 meters, 50 meters or 100 meters, etc.) as the radius, centered on the first electronic device, is used as the range in which the first electronic device can detect voice.

[0053] Optionally, in the embodiment of the present application, the first electronic device may collect the user's voice content through the microphone device of the first electronic device, or the first electronic device may collect the user's voice content through the sound sensor of the first electronic device. It should be noted that when the sound wave hits the surface of the sensor, the piezoelectric material inside the sensor produces a tiny charge change, which can be measured and converted into a digital signal, thereby realizing the voice recognition function.

[0054] Optionally, in the embodiment of the present application, the application to which the first conversation message and the user voice content belong may be the same application, or may be different applications.

[0055] In one case, the first conversation message may be an application that can receive conversation messages, such as a messaging application, and the user voice content may be recorded by the first electronic device by directly turning on a microphone application in the first electronic device, and the user voice content may be a conversation or chat content between users in a face-to-face scenario. Specifically, the schemes of steps 301 and 301a are described below.

[0056] In another case, the first conversation message may be an application that can receive conversation messages, such as an instant messaging application, and the user voice content may be obtained by the first electronic device through an instant messaging application, a telephone application, or other instant messaging applications corresponding to the first conversation message, and the user voice content may be a voice call content or a video call content corresponding to the instant messaging application, or may be a telephone call content. For details, see the following steps 302 and 302a.

[0057] For example, in combination Figure 1 ,like Figure 3As shown, before the "first electronic device collects user voice content" in the above step 201, the message processing method provided in the embodiment of the present application also includes the following step 301, and the "first electronic device collects user voice content" in the above step 201 can be specifically implemented through the following step 301a.

[0058] Step 301: Upon receiving a first conversation message, a first electronic device obtains a first location of the first electronic device and a second location of a second electronic device.

[0059] In the embodiment of the present application, the first position may be the position information of the first electronic device, or the position information of the user to which the first electronic device belongs. The second position may be the position information of the second electronic device, or the position information of the user to which the second electronic device belongs.

[0060] Optionally, in an embodiment of the present application, the above-mentioned location information may include at least one of the following: environmental landmark information, coordinate location information, geographic location information, etc.

[0061] It should be noted that environmental landmark information can be landmark building information, landmark landscape information, etc. For example, the above environmental information can be near the Oriental Pearl Tower, near the library, etc. The specific information can be determined according to actual conditions, and the embodiments of the present application are not limited. The above coordinate position information can be based on a specific position as the coordinate origin, the line between the coordinate origin and the first position of the first electronic device as the X-axis, the direction of the X-axis is the direction pointing to the first electronic device, and the straight line in any direction perpendicular to the X-axis is used as the Y-axis, so as to establish a rectangular coordinate system and obtain the coordinate position information. The above geographic location information is objective location information that is not subject to human will, and can be the specific location of a specific building, for example: next to the elevator on the third floor of the library, table 3 in a restaurant, on the podium of classroom 102, at the entrance of a supermarket, etc.

[0062] In the implementation of this application, the first electronic device can obtain the first location of the first electronic device through the positioning system, and access the location information of the second electronic device through the application corresponding to the first session message to obtain the second location of the second electronic device. For example, the first electronic device can send a request message to the application corresponding to the first session message in the second electronic device through the application corresponding to the first session message, so as to request to obtain the location information of the second electronic device.

[0063] Optionally, in an embodiment of the present application, the above-mentioned positioning system may include at least one of the following: base station positioning, global positioning system (Global Positioning System, GPS), etc.

[0064] Step 301a: When the distance between the first position and the second position is less than or equal to a first threshold, the first electronic device collects user voice content.

[0065] In an embodiment of the present application, the first electronic device can measure the distance between the first electronic device and the second electronic device based on the first position and the second position. When the distance is less than or equal to a first threshold, it can be considered that the user of the first electronic device and the user of the second electronic device have met. At this time, the first electronic device can collect user voice content, and the user voice content can be the collected conversation content or chat content between users.

[0066] Optionally, in the embodiment of the present application, the first threshold may be a default value of the first electronic device system, or may be pre-set by the user. For example, the first threshold may be any of the following: 30 cm, 60 cm, 90 cm, one meter, two meters, etc. The specific value may be determined according to actual use requirements, and the embodiment of the present application does not limit this.

[0067] Exemplarily, assuming that the above-mentioned first threshold is 1 meter, when the first electronic device calculates that the distance between the first electronic device and the second electronic device is 0.5 meter based on the first position and the second position, since 0.5 meter < 1 meter, it can be considered that user A belonging to the first electronic device and user B belonging to the second electronic device have met. At this time, the first electronic device collects the chat content of user A and user B.

[0068] Exemplarily, assuming that the above-mentioned first threshold is 2 meters, when the first electronic device calculates that the distance between the first electronic device and the second electronic device is 0.2 meters based on the first position and the second position, since 0.2 meters < 2 meters, it can be considered that user A belonging to the first electronic device and user B belonging to the second electronic device have met. At this time, the first electronic device collects the chat content of user A and user B.

[0069] In this way, when the first electronic device receives the first conversation message from the second electronic device, the first electronic device can determine whether the user of the first electronic device and the user of the second electronic device have met each other based on the distance between the first electronic device and the second electronic device, and decide how to handle the first conversation message. That is, when the distance between the first position and the second position is less than or equal to the first threshold, it can be considered that the user of the first electronic device and the user of the second electronic device have met each other. At this time, the first electronic device collects the user's voice content, so it can more accurately determine whether the collected user's voice content contains the content of the first conversation message.

[0070] For example, in combination Figure 1 ,like Figure 4As shown, before the "first electronic device collects user voice content" in the above step 201, the message processing method provided in the embodiment of the present application also includes the following step 302, and the "first electronic device collects user voice content" in the above step 201 can be specifically implemented through the following step 302a.

[0071] Step 302: When receiving the first conversation message, the first electronic device detects, through the first application, whether a call exists between the first electronic device and the second electronic device.

[0072] Optionally, in an embodiment of the present application, the above-mentioned first application may include at least one of the following: an application capable of making voice calls, an application capable of making video calls, an application capable of making telephone calls, etc.

[0073] It should be noted that the first application may be the application corresponding to the first conversation message. Alternatively, the first application may be another application different from the application corresponding to the first conversation message, and the other application is an application that both the first electronic device and the second electronic device have and that can perform voice calls, video calls, or telephone calls.

[0074] In an embodiment of the present application, after receiving the first conversation message, the first electronic device can obtain the user identifier of the sender of the first conversation message from the second electronic device, and then detect through the first application whether there is a call behavior on the current first electronic device, that is, detect whether there is a phone call behavior, video call behavior or voice call behavior, etc. If it is detected that the first electronic device has a call behavior, at the same time, the first electronic device monitors whether the identifier of the contact of the current call matches the user identifier of the sender of the first conversation message. If the identifier of the contact of the current call matches the user identifier of the sender of the first conversation message, then it can be considered that there is a call between the first electronic device and the second electronic device.

[0075] It should be noted that the matching of the identifier of the contact of the current call and the user identifier of the sender of the first conversation message means that the identifier of the contact of the current call is the same as the user identifier of the sender of the first conversation message.

[0076] Step 302a: When a call is detected between the first electronic device and the second electronic device, the first electronic device collects user voice content through the first application.

[0077] In the embodiment of the present application, the above-mentioned user voice content is any one of the following: telephone call content, video call content, voice call content, etc.

[0078] In the embodiment of the present application, when a call is detected between the first electronic device and the second electronic device, the first electronic device can trigger the recording function of the microphone device through the first application to collect the user's voice content.

[0079] For example, if the first electronic device detects that the first electronic device and the second electronic device are making a telephone call through the first application, the first electronic device collects the content of the telephone call through the first application. Alternatively, if the first electronic device detects that the first electronic device and the second electronic device are making a video call through the first application, the first electronic device collects the content of the video call through the first application. Alternatively, if the first electronic device detects that the first electronic device and the second electronic device are making a voice call through the first application, the first electronic device collects the content of the voice call through the first application.

[0080] In this way, when the first electronic device receives the first conversation message from the second electronic device, the first electronic device detects whether there is a call between the first electronic device and the second electronic device through the first application, and then collects the user voice content, thereby determining based on the collected user voice content whether the user of the first electronic device and the user of the second electronic device discussed the content of the first conversation message through the first application, thereby more accurately determining whether the status of the first conversation message should be unread or read.

[0081] Step 202: When the content of the first conversation message matches the user voice content, the first electronic device marks the first conversation message as a read message.

[0082] Optionally, in the embodiment of the present application, the matching of the content of the first conversation message and the user voice content may include any of the following: the content of the first conversation message is exactly the same as the user voice content, the content of the first conversation message matches keywords of the user voice content, the similarity between the content of the first conversation message and the user voice content reaches a first approximate value, etc.

[0083] It should be noted that the similarity of the above contents reaching a first approximate value means that the repetition degree or repetition rate of the contents is greater than or equal to the first approximate value.

[0084] Optionally, in the embodiment of the present application, the first approximate value may be a default value of the first electronic device system, or may be preset by the user. It should be noted that the first approximate value may be a percentage or a percentage range greater than 0 and less than or equal to 1.

[0085] Optionally, in the embodiment of the present application, the first approximate value may include any one of the following percentages: 80%, 90%, 95%, 100%, etc. Alternatively, the first approximate value may include any one of the following percentage ranges: 80%-90%, 95%-100%, etc. The specific percentage can be determined according to actual use requirements, and the embodiment of the present application is not limited thereto.

[0086] Exemplarily, assume that the content of the first conversation message is: There will be a meeting in the conference room at 8:30 tomorrow morning, and all staff members must attend. The user voice content is: Remember to go to the conference room for a meeting at 8:30 tomorrow, and all staff members are required to attend. The first electronic device can extract keywords from the first conversation message, such as tomorrow, 8:30, meeting, all staff members, and attend. The first electronic device then compares the extracted keywords with the user voice content, and the result is that the user voice content contains all the keywords, and it can be considered that the content of the first conversation message matches the user voice content. Alternatively, the first electronic device can directly compare the content of the first conversation message with the user voice content, extract the repeated words therein, and calculate the repetition rate. From the above two message contents, it can be concluded that the repetition rate is 81%. The repetition rate exceeds the above first approximate value (for example, 80%), and it can be considered that the content of the first conversation message matches the user voice content.

[0087] Optionally, in the embodiment of the present application, the first electronic device may mark the first conversation message as a read message by any one of the following marking methods: text marking method, invisible marking method, etc.

[0088] It should be noted that the above-mentioned invisible marking method can be understood as when the first electronic device receives the first conversation message, a red number will be displayed on the dialog box of the contact corresponding to the first conversation message, indicating the number of unread messages. If the first electronic device wants to mark the first conversation message as a read message, the red number can be invisible so that it is no longer displayed. Alternatively, when the first electronic device receives the first conversation message, a red dot will be displayed on the instant messaging application logo of the contact corresponding to the first conversation message, indicating that there are unread messages. If the first electronic device wants to mark the first conversation message as a read message, the red dot can be invisible so that it is no longer displayed.

[0089] For example, Figure 5As shown, the user of the first electronic device uses the instant messaging application to chat with user A, user B, user C, and user D through text at the same time. The instant messaging application interface shows that the first electronic device has received 5 unread messages from user A, and a circle with the word 5 is displayed in the upper left corner of the chat box with user A. Since the content of the first conversation message of user A matches the user's voice content, the word "read" is displayed behind the chat box with user A, that is, the first electronic device marks the unread messages as read by text marking. The instant messaging application interface shows that the first electronic device has received 2 unread messages from user B, and a circle with the word 2 is displayed in the upper left corner of the chat box with user B. Since the content of the first conversation message of user B matches the user's voice content, the word "read" is displayed behind the chat box with user B. The instant messaging application interface shows that the first electronic device has received 7 unread messages from user C, and a circle with the word 7 is displayed in the upper left corner of the chat box with user C. Since the content of the first conversation message of user C matches the user's voice content, the word "read" is displayed behind the chat box with user C, that is, the first electronic device marks the unread messages as read by text marking. The instant messaging application interface shows that the first electronic device has received 11 unread messages from user D, and a circle with the word 11 is displayed in the upper left corner of the chat box with user D. Since the content of the first conversation message of user D matches the user's voice content, the word "read" is displayed behind the chat box with user D, that is, the first electronic device marks the unread messages as read by text marking.

[0090] The embodiment of the present application provides a message processing method. When a first electronic device receives a first conversation message from a second electronic device, it starts to collect user voice content including the user of the first electronic device and the user of the second electronic device within a certain time period, and then performs voice analysis on the collected user voice content and compares it with the content of the first conversation message to determine whether there is content in the collected user voice content that matches the content of the first conversation message. If the contents of the two match, it can be considered that the user of the first electronic device and the user of the second electronic device have discussed the content of the first conversation message, that is, the user of the first electronic device knows the content of the first conversation message and does not need to check the first conversation message. Then, the first electronic device marks the first conversation message as a read message, that is, this solution determines the processing method of unread messages by monitoring the conversation or call between users, thereby realizing flexible processing of unread messages, thereby improving the flexibility of the electronic device in processing unread messages.

[0091] Optionally, in an embodiment of the present application, before "the first electronic device marks the first conversation message as a read message" in the above step 202, the message processing method provided in the embodiment of the present application also includes the following steps 401 and 402, and the above step 202 "the first electronic device marks the first conversation message as a read message" can be specifically implemented by the following step 202a.

[0092] Step 401: When the content of the first conversation message matches the user's voice content, the first electronic device displays a prompt message.

[0093] In the embodiment of the present application, the prompt information is used to prompt at least one of the following: whether the content of the first conversation message matches the user voice content, and whether to mark the first conversation message as a read message.

[0094] In the embodiment of the present application, the above prompt information includes prompt content, confirmation controls (such as a "yes" control) and non-confirmation controls (such as a "no" control), etc.

[0095] Optionally, in an embodiment of the present application, the electronic device may display the above prompt information in the form of a floating window on the screen.

[0096] For example, Figure 6 As shown, the first electronic device is a mobile phone as an example. The mobile phone receives the first conversation message of the second electronic device. For example, the content of the first conversation message is "Tencent conference for external cooperation, please sign and approve as soon as possible", and then the mobile phone can collect the user's voice content within 10 minutes, and compare the content of the first conversation message with "Tencent conference for external cooperation, please sign and approve as soon as possible". If the two match, it is considered that the user of the mobile phone and the user of the second electronic device have communicated on the content of the first conversation message, so that the mobile phone can display a floating window to display a prompt message. The prompt message prompts the user "Do you want to set this message as read? "External cooperation" and "Conference resolution" have been discussed."

[0097] Step 402: The first electronic device receives a user's confirmation input for the prompt information.

[0098] Optionally, in the embodiment of the present application, the above confirmation input can be a click input of the confirmation control in the prompt information, or a sliding input, a long press input or a specific gesture input of the prompt information, etc. The specific input is determined according to actual use requirements and is not limited in the embodiment of the present application.

[0099] Exemplarily, the first electronic device may receive input from a user clicking on the prompt information once, indicating approval of the content of the prompt information; the first electronic device may receive input from a user clicking on the prompt information twice in a row, indicating disapproval of the content of the prompt information. The first electronic device may receive input from a user swiping the prompt information to the left, indicating approval of the content of the prompt information; the first electronic device may receive input from a user swiping the prompt information to the right, indicating disapproval of the content of the prompt information. The first electronic device may receive input from a user entering text to agree with the prompt information, indicating approval of the content of the prompt information; the first electronic device may receive input from a user entering text to disagree with the prompt information, indicating disapproval of the content of the prompt information. The first electronic device may receive input from a user pressing and holding the prompt information for 2 seconds, indicating approval of the content of the prompt information; the first electronic device may receive input from a user pressing and holding the prompt information for 5 seconds, indicating disapproval of the content of the prompt information.

[0100] Step 202a: In response to the confirmation input, the first electronic device marks the first conversation message as a read message.

[0101] In this way, when the content of the first conversation message has been known to the user of the first electronic device, the first electronic device can display a prompt message to the user so that the user knows that the received conversation message has been discussed, and the user decides whether to mark the received conversation message as a read message, thereby improving the flexibility of conversation message processing and human-computer interaction performance.

[0102] Optionally, in the embodiment of the present application, after the above step 201, the message processing method provided in the embodiment of the present application also includes the following step 203.

[0103] Step 203: When the content of the first conversation message does not match the user voice content, the first electronic device marks the first conversation message as an unread message.

[0104] Optionally, in an embodiment of the present application, the content of the first conversation message and the user voice content do not match each other, and may include at least one of the following: the content of the first conversation message is completely different from the user voice content, the content of the first conversation message and the keywords of the user voice content do not match each other, the similarity between the content of the first conversation message and the user voice content does not reach the first approximate value, the first electronic device does not collect the user voice content, etc.

[0105] Optionally, in the embodiment of the present application, the marking method in which the first electronic device marks the first conversation message as an unread message may include at least one of the following: a text marking method, a digital marking method, etc.

[0106] Exemplarily, suppose user A of the first electronic device receives a conversation message from user B of the second electronic device, and the message content is: "Let's go to the basketball court to play basketball after school." Then the first electronic device collects ten minutes of user voice messages containing the voice content of user A and user B through the application corresponding to the conversation message received from user B. The user voice message is "Let's go to eat later." The similarity of the content of the two messages is 0, that is, it does not reach the above-mentioned first approximation value (for example, 80%), so it can be considered that the content of the user voice message does not match "Let's go to the basketball court to play basketball after school" at all. Then the first electronic device displays the two words "unread" in the conversation box of user B, that is, the first electronic device marks the first conversation message as an unread message in the form of a text mark.

[0107] It should be noted that the execution relationship between the above step 203 and step 202 is an "or" relationship, that is, when the above step 202 is executed, the above step 203 is not executed, and when the above step 203 is executed, the above step 202 is not executed.

[0108] Thus, when the content of the first conversation message does not match the user's voice content, the first electronic device still marks the first conversation message as an unread message, so that the user of the first electronic device can promptly handle the unprocessed items in the unread message, thereby improving the flexibility of handling the unread message.

[0109] Exemplarily, the user of the first electronic device is user A, and the user of the second electronic device is user B. The first electronic device is currently in a chat scene, that is, when the instant messaging application of the first electronic device is in operation, if the instant messaging application of the first electronic device receives a conversation message sent by the second electronic device, that is, user A receives a conversation message from user B, then the first electronic device can access the second position of the second electronic device through the instant messaging application, and then measure the distance between the first position of the first electronic device and the second position of the second electronic device. When the distance is less than or equal to 1 meter, it can be considered that user A meets user B. On this basis, the first electronic device starts to collect 10 minutes of user voice content, for example, the user voice content is: "Let's play badminton together on the weekend." When the user voice content collected by the first electronic device containing user A and user B is "Let's go play badminton together on Saturday or Sunday", it can be considered that the user voice content matches the content of the conversation message received by user A from user B. The first electronic device can directly mark the first conversation message as a read message, or pop up a window next to user B's conversation box to remind "Do you want to mark the message as a read message? Going to play badminton together on the weekend has been discussed" to prevent user A from clicking and reading the above conversation message from user B again.

[0110] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0111] The message processing method provided in the embodiment of the present application can be executed by a message processing device. In the embodiment of the present application, the message processing device provided in the embodiment of the present application is described by taking the message processing method executed by the message processing device as an example.

[0112] Figure 7 A possible structural diagram of a message processing device involved in some embodiments of the present application is shown. Figure 7 As shown, the message processing device 70 may include: a collection module 71 and a processing module 72.

[0113] The collection module 71 is used to collect user voice content when receiving a first conversation message, the first conversation message is a conversation message from the second electronic device, and the user voice content includes the voice content of the user of the first electronic device and the user of the second electronic device. The processing module 72 is used to mark the first conversation message as a read message when the content of the first conversation message matches the user voice content collected by the collection module.

[0114] In a possible implementation, the message processing device 70 provided in the embodiment of the present application further includes: an acquisition module. The acquisition module is used to acquire the first position of the first electronic device and the second position of the second electronic device before the acquisition module 71 acquires the user voice content. The acquisition module 71 is specifically used to acquire the user voice content when the distance between the first position and the second position acquired by the acquisition module is less than or equal to the first threshold.

[0115] In a possible implementation, the message processing device 70 provided in the embodiment of the present application further includes: a detection module. The detection module is used to detect whether there is a call between the first electronic device and the second electronic device through the first application before the collection module 71 collects the user voice content. The collection module 71 is specifically used to collect the user voice content through the first application when it is detected that there is a call between the first electronic device and the second electronic device. The user voice content is any of the following: telephone call content, video call content, and voice call content.

[0116] In one possible implementation, combining Figure 7 ,like Figure 8As shown, the message processing device 70 provided in the embodiment of the present application further includes: a display module 73 and a receiving module 74. The display module 73 is used to display a prompt message before the processing module 72 marks the first conversation message as a read message, and the prompt message is used to prompt at least one of the following: whether the content of the first conversation message matches the user's voice content and whether to mark the first conversation message as a read message. The receiving module 74 is used to receive a user's confirmation input for the prompt message displayed by the display module 73. The processing module 72 is specifically used to mark the first conversation message as a read message in response to the confirmation input received by the receiving module 74.

[0117] In a possible implementation, the collection module 71 is specifically configured to, upon receiving the first conversation message, obtain the content of the first conversation message through the second application and collect the user voice content if it is detected that the second application corresponding to the first conversation message is in running state.

[0118] An embodiment of the present application provides a message processing device, which, upon receiving a first conversation message from a second electronic device, begins to collect user voice content including that of the user of the first electronic device and the user of the second electronic device within a certain time period, and then performs voice analysis on the collected user voice content and compares it with the content of the first conversation message to determine whether there is content in the collected user voice content that matches the content of the first conversation message. If the contents of the two match, it can be considered that the user of the first electronic device and the user of the second electronic device have discussed the content of the first conversation message, that is, the user of the first electronic device knows the content of the first conversation message and does not need to view the first conversation message. Then, the first electronic device marks the first conversation message as a read message, thereby achieving flexible processing of unread messages, thereby improving the flexibility of the way in which the message processing device processes unread messages.

[0119] The message processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0120] The message processing 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 embodiment of the present application.

[0121] The message processing device provided in the embodiment of the present application can implement each process of the above-mentioned method embodiment. To avoid repetition, they will not be described here.

[0122] Alternatively, if Fig. 9 As shown, an embodiment of the present application also provides an electronic device 1000, including a processor 1001 and a memory 1002, wherein the memory 1002 stores programs or instructions that can be executed on the processor 1001, and when the program or instructions are executed by the processor 1001, the various steps of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0123] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0124] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0125] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0126] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0127] The input unit 104 is used to collect user voice content when receiving a first conversation message, the first conversation message is a conversation message from the second electronic device, and the user voice content includes voice content of the user of the first electronic device and the user of the second electronic device.

[0128] The processor 110 is configured to mark the first conversation message as a read message when the content of the first conversation message matches the user voice content.

[0129] An embodiment of the present application provides an electronic device. When the electronic device receives a first conversation message from a second electronic device, it starts to collect user voice content including that of the user of the electronic device and the user of the second electronic device within a certain period of time, and then performs voice analysis on the collected user voice content and compares it with the content of the first conversation message to determine whether there is content in the collected user voice content that matches the content of the first conversation message. If the contents of the two match, it can be considered that the user of the electronic device and the user of the second electronic device have discussed the content of the first conversation message, that is, the user of the electronic device knows the content of the first conversation message and does not need to check the first conversation message. Then, the electronic device marks the first conversation message as a read message, that is, this solution determines the handling method of unread messages by monitoring the conversation or call between users, thereby achieving flexible handling of unread messages, thereby improving the flexibility of the way in which the electronic device handles unread messages.

[0130] Optionally, the processor 110 is further configured to obtain a first position of the first electronic device and a second position of the second electronic device before collecting user voice content.

[0131] The input unit 104 is specifically configured to collect user voice content when the distance between the first position and the second position is less than or equal to a first threshold.

[0132] Optionally, the processor 110 is further configured to detect, through the first application, whether a call exists between the first electronic device and the second electronic device before collecting the user voice content.

[0133] The input unit 104 is specifically used to collect user voice content through the first application when a call is detected between the first electronic device and the second electronic device. The user voice content is any one of the following: telephone call content, video call content, and voice call content.

[0134] Optionally, the display unit 106 is used to display prompt information before marking the first conversation message as a read message, where the prompt information is used to prompt at least one of the following: whether the content of the first conversation message matches the user voice content and whether to mark the first conversation message as a read message.

[0135] The user input unit 107 is used to receive a confirmation input of the user for the prompt information.

[0136] The processor 110 is specifically configured to mark the first conversation message as a read message in response to the confirmation input.

[0137] Optionally, the processor 110 is further configured to, after collecting the user voice content, mark the first conversation message as an unread message when the content of the first conversation message does not match the user voice content.

[0138] Optionally, the processor 110 is specifically configured to, upon receiving the first conversation message, obtain the content of the first conversation message through the second application if it is detected that the second application corresponding to the first conversation message is in operation, and collect the user voice content through the input unit 104 .

[0139] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here. The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, it is not repeated here.

[0140] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture 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, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0141] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0142] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0143] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0144] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0145] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0146] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0147] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned message processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0148] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0149] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0150] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A message processing method, applied to a first electronic device, characterized in that: include: When a first conversation message is received, user voice content is collected, where the first conversation message is a conversation message from a second electronic device, and the user voice content includes voice content of a user belonging to the first electronic device and a user belonging to the second electronic device; In a case where the content of the first conversation message matches the user voice content, the first conversation message is marked as a read message.

2. The method according to claim 1, characterized in that Before collecting the user voice content, the method further includes: Acquire a first position of the first electronic device and a second position of the second electronic device; The collecting of user voice content includes: When the distance between the first position and the second position is less than or equal to a first threshold, the user voice content is collected.

3. The method according to claim 1, characterized in that Before collecting the user voice content, the method further includes: Detecting, by a first application, whether a call exists between the first electronic device and the second electronic device; The collecting of user voice content includes: In the case where a call is detected between the first electronic device and the second electronic device, the user voice content is collected through the first application, and the user voice content is any one of the following: telephone call content, video call content, and voice call content.

4. The method according to any one of claims 1 to 3, characterized in that Before marking the first conversation message as a read message, the method further includes: Displaying prompt information, the prompt information is used to prompt at least one of the following: whether the content of the first conversation message matches the content of the user voice, and whether to mark the first conversation message as a read message; Receiving a confirmation input from the user regarding the prompt information; The step of marking the first conversation message as a read message includes: In response to the confirmation input, the first conversation message is marked as a read message.

5. The method according to claim 1, characterized in that The collecting of user voice content upon receiving the first conversation message includes: When the first conversation message is received, if it is detected that the second application corresponding to the first conversation message is in a running state, the content of the first conversation message is obtained through the second application, and the user voice content is collected.

6. A message processing device, characterized in that: The device comprises: a collection module and a processing module; The collection module is used to collect user voice content when receiving a first conversation message, wherein the first conversation message is a conversation message from the second electronic device, and the user voice content includes voice content of a user belonging to the first electronic device and a user belonging to the second electronic device; The processing module is configured to mark the first conversation message as a read message when the content of the first conversation message matches the user voice content collected by the collection module.

7. The device according to claim 6, characterized in that The device also includes: an acquisition module; The acquisition module is used to acquire the first position of the first electronic device and the second position of the second electronic device before the acquisition module acquires the user voice content; The acquisition module is specifically configured to acquire the user voice content when the distance between the first position and the second position acquired by the acquisition module is less than or equal to a first threshold.

8. The method according to claim 6, characterized in that The device also includes: a detection module; The detection module is used to detect whether there is a call between the first electronic device and the second electronic device through the first application before the collection module collects the user voice content; The collection module is specifically used to collect the user voice content through the first application when a call is detected between the first electronic device and the second electronic device. The user voice content is any one of the following: telephone call content, video call content, and voice call content.

9. The device according to any one of claims 6 to 8, characterized in that The device also includes: a display module and a receiving module; The display module is configured to display prompt information before the processing module marks the first conversation message as a read message, wherein the prompt information is configured to prompt at least one of the following: whether the content of the first conversation message matches the user voice content and whether to mark the first conversation message as a read message; The receiving module is used to receive a user's confirmation input for the prompt information displayed by the display module; The processing module is specifically configured to mark the first conversation message as a read message in response to the confirmation input received by the receiving module.

10. The device according to claim 6, characterized in that The collection module is specifically configured to, when receiving the first conversation message, obtain the content of the first conversation message through the second application and collect the user voice content if it is detected that the second application corresponding to the first conversation message is in a running state.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the message processing method according to any one of claims 1 to 5 are implemented.