Message Display Method and Apparatus
By analyzing the target scene keywords associated with voice messages, finding matching target voice messages in the chat record, the problem of low efficiency in finding voice messages is solved and the user experience is improved.
Patent Information
- Application Number
- CN202210005021.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-04
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2042-01-04
AI Technical Summary
The inefficiency of finding voice messages affects the user experience.
By analyzing the target scene keywords associated with the voice message, find matching target voice messages in the target chat record, and display or play target voice messages.
It improves the efficiency and user experience of finding voice messages, and reduces the need for playback one by one.
Smart Images

Figure CN114398127B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of terminals, and particularly relates to a message display method and apparatus thereof. Background Art
[0002] With the rapid development of communication technologies, more and more users use terminal devices to chat. Among them, voice messages are one of the important and efficient chat forms.
[0003] However, currently, users can only search for chat records by keywords to find text-based chat records. When users want to find voice messages, they can only click on voice messages one by one to find the target voice message. In this way, the efficiency of finding voice messages is low, affecting the user experience. Summary of the Invention
[0004] The purpose of the embodiments of this application is to provide a message display method and apparatus thereof, which can solve the problem that the low efficiency of finding voice messages affects the user experience.
[0005] In a first aspect, the embodiments of this application provide a message display method, which includes:
[0006] Receiving a first input for selecting a first voice message;
[0007] In response to the first input, determining, according to the target scene keyword associated with the first voice message, a target voice message in the target chat record that matches the target scene keyword;
[0008] Displaying the message record of the target voice message or playing the target voice message.
[0009] In a second aspect, the embodiments of this application provide a message display apparatus, which includes:
[0010] A receiving module, configured to receive a first input for selecting a first voice message;
[0011] A processing module, configured to, in response to the first input, determine, according to the target scene keyword associated with the first voice message, a target voice message in the target chat record that matches the target scene keyword;
[0012] A display module, configured to display the message record of the target voice message or play the target voice message.
[0013] In a third aspect, the embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0014] Fourthly, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
[0015] Fifthly, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instructions to implement the method described in the first aspect.
[0016] In the embodiment of the present application, after the user selects the first voice message, by parsing the target scene keyword associated with the first voice message, the target voice message matching the target scene keyword is searched for in the target chat record, and then, the message record of the target voice message is displayed or the target voice message is played. In this way, the user does not need to play the voice messages in the target chat record one by one, which improves the efficiency of searching for voice messages and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic flowchart of a message display method provided by an embodiment of the present application;
[0018] Figure 2 is a schematic diagram of a chat session interface provided by an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of a method for displaying a first scene keyword provided by an embodiment of the present application;
[0020] Figure 4 is a schematic diagram of a message selection control provided by an embodiment of the present application;
[0021] Figure 5 is a schematic structural diagram of a message display device provided by an embodiment of the present application;
[0022] Figure 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
[0023] Figure 7 is a schematic hardware structural diagram of another electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] Next, the technical solutions in the embodiments of the present application will be clearly described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0025] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually of the same 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 description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0026] In view of the problems in the background art, the embodiments of this application provide a message display method and its device. After the user selects the first voice message, by parsing the target scene keywords associated with the first voice message, the target voice message that matches the target scene keywords is searched for in the target chat record. After that, the message record of the target voice message is displayed or the target voice message is played. In this way, the user does not need to play the voice messages in the target chat record one by one, which improves the efficiency of finding voice messages and the user experience.
[0027] Next, in combination with the drawings, the message display method provided by the embodiments of this application will be described in detail through specific embodiments and their application scenarios.
[0028] Figure 1 It is a flowchart of a message display method provided by the embodiments of this application, which may include the following steps 110 to step 130.
[0029] Step 110, receive the first input for selecting the first voice message.
[0030] In some embodiments, more and more users use terminal devices to chat, and the chat records of the users can be displayed through the terminal devices. Among them, the first voice message can be the latest voice message received by the user when chatting with the terminal device, or the latest voice message sent by the user, or the voice message selected by the user from the historical chat records.
[0031] The chat records of the user can come from group chat sessions of multiple users or conversations between two users. Combining Figure 2 with the schematic diagram of the chat session interface shown, Figure 2 the session interface shown is a group chat session among multiple users. The session interface can include voice messages of different users, and the user can select one of the multiple voice messages as the first voice message.
[0032] In some embodiments, the first input may be a single operation input. Exemplarily, in the session interface, the user can select the first voice message by long-pressing the voice message. The first input may also be a combined input including multiple operation inputs of the user. Exemplarily, when the user performs a sliding input on the voice message, the terminal device may display a prompt message of "whether to extract associated messages", and the user can select "extract associated messages" through a click input to select the first voice message. Details are not listed one by one here.
[0033] After the user selects the first voice message, step 120 can be executed next.
[0034] Step 120: In response to the first input, determine the target voice message in the target chat record that matches the target scene keyword according to the target scene keyword associated with the first voice message.
[0035] Specifically, the target scene keyword associated with the first voice message can be determined by parsing the chat record included in the session where the first voice message is located.
[0036] Exemplarily, in order to improve the accuracy of scene analysis, semantic analysis can be performed on the first voice message and a preset number of voice messages received before the first voice message to obtain the target scene keyword associated with the first voice message; semantic analysis can also be performed on the voice messages generated during the session within a preset time period before the first voice message is received to obtain the target scene keyword associated with the first voice message. Details are not listed one by one here. Optionally, if there are text messages during the session before the first voice message, the text messages can also be used as the object of semantic analysis, which is not specifically limited here.
[0037] As a specific example, when the first voice message includes text information such as a contact name and a time name, the contact name and the time name can be directly used as the target keywords. For example, if the text information corresponding to the first voice message is "Zhang San, the content you sent at noon is very good", which includes the contact name "Zhang San" and the time name "noon", these two words can be directly used as the target keywords.
[0038] In the embodiments of the present application, the number of target scene keywords can be one or multiple, which is not specifically limited here.
[0039] The target chat record may include a first voice message and conversation messages before or after the first voice message. Exemplarily, according to the first time corresponding to the first voice message in the conversation messages, the chat records included in the session where the first voice message is located within 24 hours before the first time may be used as the target chat record. It is also possible to determine the target chat record according to the time intervals between adjacent messages and the time intervals between each message and the first voice message in the conversation messages where the first voice message is located. For example, the messages that meet the preset time interval condition are used as the target chat record, and no specific limitation is provided here.
[0040] According to the embodiments of the present application, by parsing the target chat record, the target voice message that matches the target scenario keyword can be quickly and effectively found, so that the user does not need to play and search each voice message one by one, improving the message search efficiency, bringing convenience to the user, and improving the user experience.
[0041] In some embodiments, in order to improve the accuracy of locating the target voice message, step 120 of the embodiments of the present application may further include the following steps:
[0042] Step 121, in response to the first input, display the first scenario keyword associated with the first voice message.
[0043] Step 122, receive a second input for selecting the target scenario keyword from the first scenario keywords.
[0044] Step 123, in response to the second input, determine the target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword.
[0045] Specifically, in response to the first input, after determining the first voice message selected by the user, by parsing the chat records included in the session where the first voice message is located, the first scenario keyword associated with the first voice message is obtained. Combining with Figure 3 As shown in the schematic diagram of the first scenario keyword display method, the first scenario keyword can be displayed near the first voice message, so as to facilitate the user to understand the search conditions for finding the target voice message from the target chat record.
[0046] As a specific embodiment, the first scenario keyword may also be displayed according to the following steps: in response to the first input, determine the first scenario information according to the first chat record within the first time period; determine at least one first scenario keyword associated with the first scenario information in the first chat record; and display the first scenario keywords in sequence according to the occurrence frequency of each first scenario keyword.
[0047] Specifically, the first time period can be a preset time length. For example, the first time period can be a time period before the first time corresponding to the first voice message in the conversation message, or a time period after the first time corresponding to the first voice message. The first time period can also be determined according to the time interval between adjacent messages in the conversation message. For example, by combining the time intervals between each message and the first voice message, and according to the longest time point corresponding to the messages that meet the preset time interval condition, the length of the first time period is determined. It can be understood that the length of the first time period can be set according to actual needs, and specific implementation manners are not listed one by one here.
[0048] Exemplarily, by analyzing the first chat record, the first scenario information can be obtained, and at least one first scenario keyword associated with the first scenario information can be further analyzed. Next, the number of occurrences of each first keyword, that is, the frequency of each first keyword, can be counted. According to the frequency of each first scenario keyword, the first scenario keywords are displayed in descending order.
[0049] As a specific example, the first scenario keywords can be displayed near the first voice message in the form of a floating window. When the number of first scenario keywords is multiple, optionally, only a preset number of first scenario keywords can be displayed in the floating window. For example, the user can switch the first scenario keywords displayed in the floating window by sliding input, so as to facilitate the user to understand all the parsed first scenario keywords.
[0050] Taking the text information corresponding to the first voice message as "When shall we sing" as an example, by parsing the chat record included in the conversation where the first voice message is located, "sing" and "time" are obtained as the first scenario keywords and are displayed near the first voice message. Continuing to combine Figure 3 As shown, keyword 1 can be "sing" and keyword 2 can be "time".
[0051] For the first scenario keywords displayed on the terminal device, the user can select a target scenario keyword from the first scenario keywords through a second input. The second input can include a single operation input, or the first input can also be a combined input including multiple user operation inputs, which is not specifically limited here.
[0052] By parsing the target chat record according to the user's selection of the target scenario keyword, the target voice message matching the target scenario keyword can be quickly and effectively found, improving the accuracy of voice message display.
[0053] To reduce user operations and improve the convenience of message search, step 120 of the embodiment of the present application can also determine the target keyword according to the following steps to facilitate accurate search for the target voice message.
[0054] Step 201: Play a first voice message in response to a first input.
[0055] Step 202: Receive a fourth input for controlling the stop of playing the first voice message.
[0056] Step 203: In response to the fourth input, stop playing the first voice message, and determine the text information corresponding to the stop of playing the first voice message as a target scenario keyword.
[0057] Step 204: Determine a target voice message in the target chat record that matches the target scenario keyword.
[0058] Specifically, after the user selects the first voice message through the first input, the first voice message starts to play. During the playback of the first voice message, the fourth input can be used to control the stop of playing the first voice message. Among them, the text information corresponding to the stop of playing the first voice message can be used as the target scenario keyword. Exemplarily, the text information corresponding to the first voice message includes "Zhang San, let's go to the place we just mentioned for dinner tonight,...". When the first voice message is played to "dinner", the user controls the stop of playing the first voice message through the fourth input. At this time, "dinner" can be used as the target scenario keyword, and then search for the target voice message that matches "dinner" from the target chat record. In this way, the accuracy of the obtained target scenario keyword can be improved, which is convenient for accurately finding the target voice message.
[0059] In the embodiment of the present application, after determining the target scenario keyword, the target voice message can be searched from the target chat record. To improve the search efficiency of the target voice message and the accuracy of searching for the target voice message, when determining the target voice message in the target chat record that matches the target scenario keyword, it may specifically further include the following steps: In response to a second input, display a second chat record within a second time period; receive a third input for the user to select the target chat record from the second chat record; in response to the third input, determine the target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword.
[0060] Specifically, after determining that the user selects the target keyword, the display interface of the terminal device jumps to the page for displaying the second chat record, and all chat records within the second time period are displayed on the chat record page. Among them, the second chat record corresponding to the second time period can be all chat records of the session where the first voice message is located, or the second time period can be the same as the first time period, that is, the second chat record is the same as the first chat record, which is not specifically limited here.
[0061] The page for displaying the second chat record may include a message selection control. Exemplarily, in combinationFigure 4 Schematic diagram of the message selection control shown. The message selection control can include selecting a single message or all the messages displayed on the page. Through a third input, the user can select chat records from the second chat record to obtain the target chat record. After the selection of the target chat record is completed, the target voice message that matches the target scenario keyword in the target chat record can be determined next. In this way, the efficiency of finding voice messages and the accuracy of finding voice messages are improved.
[0062] To improve the intelligence level of message search, when the time keyword is included in the first voice message, the target chat record can also be determined according to the following steps: in response to the first input, determine the chat records within the third time period as the target chat record, where the third time period is determined according to the time keyword in the first voice message; determine the target voice message that matches the target scenario keyword in the target chat record.
[0063] Specifically, the time keyword can be, for example: half an hour ago, noon, ten o'clock, yesterday, tomorrow, last week, etc. The third time period is determined according to the time keyword included in the first voice message and the time point corresponding to the first voice message, and the chat records within this time period are determined as the target chat record. For example, in the first voice message, if the time keyword "noon" is included, the time period from noon today to the time point corresponding to the first voice message can be used as the third time period, and the chat records included in this third time period are used as the target chat record.
[0064] As a specific example, when searching for the target voice message that matches the target scenario keyword in the target chat record, it can be searched according to the target scenario keyword. Optionally, when the number of target scenario keywords is multiple, the multiple keywords can be combined, and according to the combined target scenario keyword. For example, for the target scenario keywords "singing" and "time", they can be combined into "what time to sing". Next, the target chat record can be analyzed to search for the associated voice message to achieve the extraction of the voice message.
[0065] As another specific example, when the number of target scenario keywords is multiple, the associated voice message can also be searched from the target chat record according to the search priority of the target scenario keyword. For example, the search priority of the target scenario keyword can be determined according to the order in which the user selects the target scenario keyword. Optionally, the earlier the target scenario keyword selected by the user, the higher the search priority. When searching for the associated voice message from the target chat record, the search priority of the target scenario keyword can be used to search for and locate the voice message. First, search for and locate the voice message according to the target scenario keyword with a higher priority. If not found, then search for and locate from the next priority target scenario keyword.
[0066] According to an embodiment of the present application, after determining the target voice message, step 130 can be executed.
[0067] Step 130: Display the message record of the target voice message or play the target voice message.
[0068] In an embodiment of the present application, after finding the target voice message that matches the target scene keyword, the location where the target voice message is located can be displayed. To facilitate the user's positioning of the target voice message, the target voice message can also be displayed in a highlighted form. As another specific embodiment, after finding the target voice message that matches the target scene keyword, the voice message can also be automatically played, so as to facilitate the user to determine whether the target voice message is accurate.
[0069] In some embodiments, if a voice message that matches the target scene keyword is found in the target chat record, a prompt message can also be displayed to facilitate the user to understand the actually searched voice message.
[0070] According to the message display method provided by the embodiments of the present application, the search efficiency of voice messages can be effectively improved, enabling the user to conveniently and quickly find the target voice message in a large number of chat records, saving the user's time, and thus enhancing the user experience.
[0071] It should be noted that for the message display method provided by the embodiments of the present application, the execution subject can be a message display device, or a control module in the message display device for executing the message display method. In the embodiments of the present application, the message display method executed by the message display device is taken as an example to illustrate the message display device provided by the embodiments of the present application.
[0072] Figure 5 is a schematic structural diagram of a message display device provided by an embodiment of the present application, as Figure 5 shown, the message display device 500 may include: a receiving module 510, a processing module 520, and a display module 530.
[0073] The receiving module 510 is configured to receive a first input for selecting a first voice message;
[0074] The processing module 520 is configured to, in response to the first input, determine a target voice message that matches the target scene keyword in the target chat record according to the target scene keyword associated with the first voice message;
[0075] The display module 530 is configured to display the message record of the target voice message or play the target voice message.
[0076] According to an embodiment of the present application, after a user selects a first voice message, by parsing the target scene keywords associated with the first voice message, the target voice message that matches the target scene keywords is searched for in the target chat record, and then, the message record of the target voice message is displayed or the target voice message is played. In this way, the user does not need to play the voice messages in the target chat record one by one, which improves the efficiency of searching for voice messages, brings convenience to the user, and improves the user experience.
[0077] In some embodiments, the display module 530 is further configured to display, in response to a first input, the first scene keywords associated with the first voice message;
[0078] The receiving module 510 is further configured to receive a second input for selecting a target scene keyword from the first scene keywords;
[0079] The processing module 520 is further configured to, in response to the second input, determine, according to the target scene keyword, the target voice message in the target chat record that matches the target scene keyword.
[0080] In this way, it is convenient for the user to understand the search conditions for searching for the target voice message from the target chat record.
[0081] In some embodiments, the processing module 520 is further configured to, in response to a first input, determine first scene information according to the first chat record within a first time period;
[0082] The processing module 520 is further configured to determine at least one first scene keyword in the first chat record that is associated with the first scene information;
[0083] The display module 530 is further configured to display the first scene keywords in sequence according to the occurrence frequency of each first scene keyword.
[0084] In this way, it is convenient for the user to understand the search conditions for searching for the target voice message from the target chat record.
[0085] In some embodiments, the display module 530 is further configured to display, in response to a second input, the second chat record within a second time period;
[0086] The receiving module 510 is further configured to receive a third input for the user to select the target chat record from the second chat record;
[0087] The processing module 520 is further configured to, in response to the third input, determine, according to the target scene keyword, the target voice message in the target chat record that matches the target scene keyword.
[0088] In this way, by parsing the target chat record after the user selects the target scenario keyword, the target voice message matching the target scenario keyword can be quickly and effectively found, improving the search efficiency of the target voice message and the accuracy of the voice message display.
[0089] In some embodiments, the apparatus further includes:
[0090] A playback module, configured to play a first voice message in response to a first input;
[0091] The receiving module 510 is further configured to receive a fourth input for controlling the stop of the playback of the first voice message;
[0092] The playback module is further configured to stop playing the first voice message in response to the fourth input, and determine that the text information corresponding to the stop of the playback of the first voice message is the target scenario keyword;
[0093] The processing module 520 is further configured to determine a target voice message in the target chat record that matches the target scenario keyword.
[0094] In this way, the accuracy of the obtained target scenario keyword can be improved, facilitating the accurate search for the target voice message.
[0095] In some embodiments, when the first voice message includes a time keyword,
[0096] The processing module 520 is further configured to determine, in response to the first input, the chat record within a third time period as the target chat record, where the third time period is determined according to the time keyword in the first voice message;
[0097] The processing module 520 is further configured to determine a target voice message in the target chat record that matches the target scenario keyword.
[0098] In this way, the degree of intelligence of message search and the accuracy of the target scenario keyword can be improved, which is beneficial to accurately extract the target voice message and improve the user experience.
[0099] The message display device in the embodiments of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0100] The message display device in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0101] The message display device provided in the embodiments of the present application can implement Figures 1 to 4 each process implemented by the method embodiments. To avoid repetition, it will not be elaborated here.
[0102] Optionally, as Figure 6 shown, the embodiments of the present application further provide an electronic device 600, including a processor 601, a memory 602, a program or instruction stored on the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, it implements each process of the above-mentioned message display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0103] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0104] Figure 7 It is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.
[0105] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc.
[0106] Those skilled in the art can understand that the electronic device 700 may further include a power source (such as a battery) for powering each component. The power source can be logically connected to the processor 710 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. Figure 7 The structure of the electronic device shown in does not limit the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0107] Among them, the user input unit 707 is used to receive a first input for selecting a first voice message;
[0108] The processor 710 is used to, in response to the first input, determine a target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword associated with the first voice message;
[0109] The display unit 706 is used to display the message record of the target voice message or play the target voice message.
[0110] According to the embodiments of the present application, after the user selects the first voice message, by parsing the target scenario keyword associated with the first voice message, a target voice message that matches the target scenario keyword is searched for in the target chat record. Then, the message record of the target voice message is displayed or the target voice message is played. In this way, the user does not need to play the voice messages in the target chat record one by one, which improves the efficiency of searching for voice messages, brings convenience to the user, and improves the user experience.
[0111] In some embodiments, the display unit 706 is further used to, in response to the first input, display the first scenario keyword associated with the first voice message;
[0112] The user input unit 707 is further used to receive a second input for selecting the target scenario keyword in the first scenario keyword;
[0113] The processor 710 is further used to, in response to the second input, determine a target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword.
[0114] In this way, it can facilitate the user to understand the search conditions for finding the target voice message from the target chat record.
[0115] In some embodiments, the processor 710 is further used to, in response to the first input, determine the first scenario information according to the first chat record within the first time period;
[0116] The processor 710 is further used to determine at least one first scenario keyword associated with the first scenario information in the first chat record;
[0117] The display unit 706 is further configured to sequentially display the first scene keywords according to the occurrence frequency of each first scene keyword.
[0118] In this way, it is convenient for the user to understand the search conditions for finding the target voice message from the target chat record.
[0119] In some embodiments, the display unit 706 is further configured to display the second chat record within a second time period in response to a second input;
[0120] The user input unit 707 is further configured to receive a third input by which the user selects a target chat record from the second chat record;
[0121] The processor 710 is further configured to, in response to the third input, determine a target voice message in the target chat record that matches the target scene keyword according to the target scene keyword.
[0122] In this way, by parsing the target chat record after the user selects the target scene keyword, the target voice message that matches the target scene keyword can be quickly and effectively found, improving the efficiency of finding the target voice message and the accuracy of displaying the voice message.
[0123] In some embodiments, the audio output unit 703 is configured to play a first voice message in response to a first input;
[0124] The user input unit 707 is further configured to receive a fourth input for controlling the stop of playing the first voice message;
[0125] The audio output unit 703 is further configured to stop playing the first voice message in response to the fourth input, and determine that the text information corresponding to the stop of playing the first voice message is the target scene keyword;
[0126] The processor 710 is further configured to determine a target voice message in the target chat record that matches the target scene keyword.
[0127] In this way, the accuracy of the obtained target scene keyword can be improved, facilitating the accurate search for the target voice message.
[0128] In some embodiments, when the first voice message includes a time keyword,
[0129] The processor 710 is further configured to, in response to the first input, determine the chat record within a third time period as the target chat record, where the third time period is determined according to the time keyword in the first voice message;
[0130] The processor 710 is further configured to determine a target voice message in the target chat record that matches the target scene keyword.
[0131] In this way, the intelligence level of message search can be improved, as well as the accuracy of target scenario keywords, which is beneficial to accurately extract target voice messages and improve the user experience.
[0132] It should be understood that in the embodiments of the present application, the input unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042. The graphics processor 7041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. The other input devices 7072 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 elaborated here. The memory 709 may be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 710 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 710.
[0133] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it realizes each process of the above-mentioned message display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0134] Among them, the processor is the processor in the electronic device described in the above embodiments. 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 disc, etc.
[0135] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to realize each process of the above-mentioned message display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0136] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-a-chip, etc.
[0137] It should be noted that in this document, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments 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 the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0138] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0139] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the spirit and scope protected by the claims of the present application, can also make many forms, all of which fall within the protection scope of the present application.
Claims
1. A message display method, characterized in that, The method includes: Receiving a first input for selecting a first voice message; In response to the first input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword associated with the first voice message, where the target chat record is the chat record within a third time period determined based on the time keyword in the first voice message; Playing the target voice message; The step of, in response to the first input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword associated with the first voice message includes: In response to the first input, determining first scenario information according to the first chat record within a first time period; Determining at least one first scenario keyword associated with the first scenario information in the first chat record; Sequentially displaying the first scenario keywords according to the occurrence frequency of each first scenario keyword; Receiving a second input for selecting a target scenario keyword from the first scenario keywords; In response to the second input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword.
2. The method according to claim 1, wherein The step of, in response to the second input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword includes: In response to the second input, displaying the second chat record within a second time period; Receiving a third input for the user to select the target chat record from the second chat record; In response to the third input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword.
3. The method according to claim 1, wherein The step of, in response to the first input, determining a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword associated with the first voice message includes: In response to the first input, playing the first voice message; Receiving a fourth input for controlling the stop of playing the first voice message; In response to the fourth input, stopping the playing of the first voice message and determining the text information corresponding to the stop of playing the first voice message as the target scenario keyword; Determining a target voice message that matches the target scenario keyword in the target chat record.
4. A message display device, characterized in that, The apparatus includes: A receiving module, configured to receive a first input for selecting a first voice message; A processing module, configured to, in response to the first input, determine a target voice message that matches the target scenario keyword in the target chat record according to the target scenario keyword associated with the first voice message, where the target chat record is the chat record within a third time period determined based on the time keyword in the first voice message; A display module, configured to play the target voice message; Wherein, the processing module is further configured to, in response to the first input, determine first scenario information according to the first chat record within a first time period; The processing module is further configured to determine at least one first scenario keyword associated with the first scenario information in the first chat record; The display module is further configured to sequentially display the first scenario keywords according to the occurrence frequency of each of the first scenario keywords; The receiving module is further configured to receive a second input for selecting a target scenario keyword from the first scenario keywords; The processing module is further configured to, in response to the second input, determine a target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword.
5. The apparatus according to claim 4, wherein The display module is further configured to, in response to the second input, display a second chat record within a second time period; The receiving module is further configured to receive a third input for the user to select the target chat record from the second chat record; The processing module is further configured to, in response to the third input, determine a target voice message in the target chat record that matches the target scenario keyword according to the target scenario keyword.
6. The device according to claim 4, characterized in that, The apparatus further includes: A playback module, configured to play the first voice message in response to the first input; The receiving module is further configured to receive a fourth input for controlling the stop of the playback of the first voice message; The playback module is further configured to, in response to the fourth input, stop playing the first voice message, and determine the text information corresponding to the stop of the playback of the first voice message as the target scenario keyword; The processing module is further configured to determine a target voice message in the target chat record that matches the target scenario keyword.
Citation Information
Patent Citations
Voice message processing method and device
CN112417095A