CN112287162A - Message searching method and device and electronic equipment - Google Patents

Message searching method and device and electronic equipment Download PDF

Info

Publication number
CN112287162A
CN112287162A CN202011166470.7A CN202011166470A CN112287162A CN 112287162 A CN112287162 A CN 112287162A CN 202011166470 A CN202011166470 A CN 202011166470A CN 112287162 A CN112287162 A CN 112287162A
Authority
CN
China
Prior art keywords
message
target
input
instant messaging
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011166470.7A
Other languages
Chinese (zh)
Inventor
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011166470.7A priority Critical patent/CN112287162A/en
Publication of CN112287162A publication Critical patent/CN112287162A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/632Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/632Query formulation
    • G06F16/634Query by example, e.g. query by humming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • G10L25/54Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for retrieval

Abstract

The application discloses a message searching method and device and electronic equipment. Belongs to the technical field of communication. An embodiment of the method comprises: receiving a message search input for an instant messaging application; in response to a message search input, searching for a target message from a message record of an instant messaging application, and displaying a search result page containing the target message; the message record comprises historical voice messages sent or received by the instant messaging application, and the target message comprises one or more of the historical voice messages. The implementation method can automatically, quickly and accurately search the voice message in the instant messaging application, and improves the convenience of voice message search.

Description

Message searching method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a message searching method, a message searching device and electronic equipment.
Background
With the development of computer technology, instant messaging applications have come into play. Through the instant messaging application, a local user can conveniently and quickly communicate with an opposite-end user, such as sending text messages, voice messages, videos, expressions and the like. In many scenarios, text editing is not convenient for users, and thus voice messages have a great weight in instant messaging applications.
In the prior art, if a user needs to search a historical chat record, the user usually needs to input a keyword to search the historical chat record, and the searched chat record only contains a historical text message and cannot automatically search a historical voice message. If voice messages need to be searched, the user needs to manually scroll and play the voice messages one by one. Therefore, the prior art cannot conveniently and quickly search out the historical voice message, so that the voice message searching is poor in convenience.
Disclosure of Invention
The embodiment of the application aims to provide a message searching method, a message searching device and electronic equipment, which can conveniently and quickly search out historical voice messages and improve the convenience of voice message searching.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message search method, including: receiving a message search input for an instant messaging application; in response to the message search input, searching a target message from a message record of the instant messaging application, and displaying a search result page containing the target message; wherein, the message record includes historical voice messages sent or received by the instant messaging application, and the target message includes one or more of the historical voice messages.
In a second aspect, an embodiment of the present application provides a message search apparatus, including: a first receiving unit for receiving a message search input for an instant messaging application; the searching unit is used for responding to the message searching input, searching a target message from the message record of the instant messaging application and displaying a searching result page containing the target message; wherein, the message record includes historical voice messages sent or received by the instant messaging application, and the target message includes one or more of the historical voice messages.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method as described in the first aspect above.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method described in the first aspect.
In the embodiment of the application, after receiving the message search input aiming at the instant messaging application, the target message is searched from the message record of the instant messaging application, and the search result page containing the target message is displayed, so that the target message required by the user can be provided. Because the message records comprise the historical voice messages sent or received by the instant messaging application and the target messages comprise one or more of the historical voice messages, the voice messages in the instant messaging application can be quickly searched, and compared with a manual one-by-one playing mode, the convenience of voice message searching is greatly improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a message search method provided in an embodiment of the present application;
FIG. 2 is one of the schematic diagrams of a process of receiving a message search input in an embodiment of the present application;
FIG. 3 is a second schematic diagram of a process for receiving a message search input in an embodiment of the present application;
FIG. 4 is one of schematic diagrams of a search results page in an embodiment of the present application;
FIG. 5 is a second schematic diagram of a search results page in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a message search apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device suitable for implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message searching method, device and electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart of a message search method provided in an embodiment of the present application is shown. The message searching method provided by the embodiment of the application can be applied to electronic equipment. In practice, the electronic device may be a smart phone, a tablet computer, a laptop portable computer, a wearable device, or other electronic devices.
The process of the message searching method provided by the embodiment of the application comprises the following steps:
step 101, receiving a message search input for an instant messaging application.
In this embodiment, an Instant Messaging (IM) application may be run in an execution body (such as the electronic device) of the message search method. The instant messaging Application is a client Application (APP) that provides an instant messaging function. Instant messaging refers to services capable of sending and receiving internet messages and the like instantly. Through the instant messaging application, the user can communicate with the opposite-end user, such as sending text messages, voice messages, videos, expressions and the like.
In this embodiment, the execution subject may receive a message search input for the instant messaging application by the user. The message search input herein may be used to indicate that a message search is to be conducted in a message record of an instant messaging application. The user may perform the message search input in a variety of ways.
In some alternative implementations, the user may enter the message search by text entry. At this time, the message search input may include a keyword input in a text input manner. As an example, fig. 2 shows one of the schematic diagrams of a process of receiving a message search input. As shown in fig. 2, a search box may be displayed on top of the instant messaging interface. The user may make text entry in the search box, thereby triggering a search operation for a target message in the message record.
In some alternative implementations, the user may make the message search input by voice input. At this time, the message search input may include audio information input in a voice input manner. As an example, fig. 3 shows a second schematic diagram of a process of receiving a message search input. As shown in fig. 3, a "record search" button may be displayed in the instant messaging interface. When the user presses the 'record searching' key, the audio information can be input. In practice, the user may input various types of audio information, such as a human voice, a music voice, and the like, which is not particularly limited herein. After the audio information input is finished, the user can release the record searching key, so that the searching operation of the target message in the message record is triggered.
The message searching is carried out in a voice input mode, compared with a text input mode, the message searching method can acquire the required message under the condition that a user is not convenient to edit the text, and the message searching convenience is improved.
Step 102, responding to the message search input, searching the target message from the message record of the instant messaging application, and displaying the search result page containing the target message.
In this embodiment, in response to a message search input, the execution body may search for a target message from a message record of the instant messenger application and display a search result page including the target message. The message record of the instant messaging application may be stored locally in the execution main body, or may be stored in the server, which is not specifically limited herein.
When the message record of the instant messaging application is stored locally in the execution main body, the execution main body can directly search the target message from the local. When the message record of the instant messaging application is stored in the server, the message record can be firstly obtained from the server by sending a request, and then the target message is searched from the message record.
In this embodiment, the message record of the instant messaging application may include a historical voice message sent or received by the instant messaging application. The specific information may include a historical speech message sent by the local user to the opposite user and a historical speech message sent by the opposite user to the local user.
It should be noted that the message record may include various records such as a history text message, a text conversion result of a history voice message, a history video, and a history transmission file, in addition to the history voice message, and this embodiment is not limited thereto.
In this embodiment, the targeted message may include one or more historical voice messages. The one or more historical voice messages are historical voice messages that match the search intent indicated by the message search input. In practice, different searching modes can be adopted to search the target message according to different input modes of message searching input.
In some optional implementations of this embodiment, when the user performs the message search input by the voice input method, the message search input may include audio information input by the voice input method. At this time, the execution body may match a history voice message in a message record of the instant messaging application with audio information input by the user, and determine a target message in the history voice message based on a matching result.
As an example, the historical voice message may be matched with the audio information input by the user in a similarity calculation. Specifically, for each historical voice message, the audio features of the historical voice message and the audio features of the audio information input by the user may be extracted first. And then carrying out similarity calculation on the audio features of the two audio messages to obtain a similarity calculation result of the historical voice message and the audio information. If the similarity calculation result is greater than a preset threshold, the two are considered to be matched, otherwise, the two are considered to be not matched. For example, if the audio information is a music melody and the historical speech message is also the music melody, the similarity of the features of the two is usually high, and the historical speech message can be used as the target message.
It should be noted that, before the audio feature similarity calculation is performed, the historical voice message may also be intercepted based on the duration of the audio information. For example, the audio information is 5 seconds. The historical voice message to be matched is 10 seconds. The historical voice message of the first 5 seconds (i.e. the 1 st second to the 5 th second) can be intercepted as a voice segment to be matched, the historical voice message of the second 2 to the 6 th second can be intercepted as a voice segment to be matched, the historical voice message of the second 3 to the 7 th second can be intercepted as a voice segment to be matched, and so on. And then, similarity calculation is carried out on each voice segment to be matched and the audio information respectively.
It should be noted that the audio features may be represented in a vector form, and similarity calculation of the features may be performed by using a similarity calculation method such as a cosine law, an euclidean distance, and the like, and the similarity calculation method is not particularly limited in this embodiment.
As another example, the historical voice message in the message record and the audio information input by the user may be converted into texts, and the historical voice message and the audio information input by the user may be matched in a text similarity calculation manner, so as to select the target message in the historical voice message.
In the above implementation manner, the message record may further include a historical text message sent or received by the instant messaging application. At this time, the target message may further include one or more items of the history text message. When a user performs message search input in a voice input mode, the execution main body may perform text conversion on the audio information in the message search input to obtain a text conversion result of the audio information; and then, matching the historical text messages in the message records with the text conversion results of the audio information, and determining the target messages in the historical text messages based on the matching results. The matching can also be carried out by adopting a similarity calculation mode, and the historical text message with the similarity calculation result larger than a certain preset threshold value is selected as the target message.
Therefore, the historical voice message and the historical text message can be searched at the same time, the search result comprising both the historical voice message and the historical text message is obtained, and the richness of the message search result is improved.
In some optional implementations of this embodiment, the message record may include a text conversion result of the historical voice message in addition to the historical voice message. In practice, after a user sends or receives a voice message in an instant messaging application, the voice message is automatically converted into a text through voice recognition, and a text conversion result is obtained. And, the mapping of the voice information and the text conversion result can be automatically established, and the voice information, the text conversion result and the mapping of the voice information and the text conversion result can be stored. In practice, the text conversion result of the voice may be directly stored in the background, and may not be displayed in the instant messaging interface. And when the user triggers the text conversion function in the instant messaging interface, displaying the text conversion result.
When the user performs the message search input by the text input method, the message search input may include a keyword input by the text input method. At this time, the execution subject may first match the text conversion result in the message record of the instant messaging application with the keyword, and determine the target text conversion result in the text conversion result based on the matching result. And matching by adopting a similarity calculation mode, and selecting a text conversion result with the similarity calculation result larger than a certain preset threshold value as a target text conversion result. Then, the execution subject may use the history voice message corresponding to the target text conversion result as the target information.
In the above implementation manner, the message record may further include a historical text message sent or received by the instant messaging application. At this time, the target message may further include one or more items of the history text message. The execution body can also match the historical text messages in the message records with the keywords, and determine the target messages in the historical text messages based on the matching results. Therefore, the historical voice message and the historical text message can be searched at the same time, the search result comprising both the historical voice message and the historical text message is obtained, and the richness of the message search result is improved. By way of example, FIG. 4 shows one of the schematic diagrams of a search results page. As shown in fig. 4, the search result page includes both historical voice messages and historical text messages. The search result page may also include text conversion results of the historical voice messages.
In some alternative implementations of the present embodiment, the target messages in the search result page may be sorted in order of high similarity. If two or more target messages corresponding to the same similarity exist, the messages can be arranged in the order of the storage time of the messages from the back to the front.
In some optional implementations of this embodiment, after displaying the search result page including the target message, the execution body may further receive a first input of the target message in the search result page. Wherein the first input may include, but is not limited to, a click input to the target message. The first input may be used to indicate that the target message is to be voice broadcast when the target message is a historical voice message. In response to the first input, the execution subject may determine a first target playback position of the target message, and play the target message from the first target playback position. As an example, the first target playback position may be the first 2 seconds of the position in the target message that matches the search keyword.
In some optional implementations of the embodiment, the search result page may further include a text conversion result of the target message. The execution body may also receive a second input of a target location in the text conversion result after displaying the search result page containing the target message. Wherein the second input may include, but is not limited to, a click input to a target location in the text conversion result. In response to the second input, the execution subject may determine a second target playback position corresponding to the target position in the target message, and play the target message from the second target playback position.
By way of example, FIG. 5 shows a second schematic diagram of a search results page. As shown in fig. 5, the search result page further includes a text conversion result, and the user can click a certain position in the text conversion result to switch the played target message to the position, so as to improve the speed of verifying the voice message and the speed of acquiring the required content.
In some optional implementations of this embodiment, during the process of playing the target message, a double speed control area may also be displayed. The execution body may receive a third input to the double speed control region. The third input may include, but is not limited to, a selection input for a playback multiple speed or a click input for a multiple speed control button, etc. In response to a third input, the execution body may determine a target multiple speed and enable the target multiple speed to play the target message.
With continued reference to FIG. 5, three control buttons may be included in the speed control region, representing the "slow down," "pause," and "speed up" buttons, respectively. By clicking the 'speed reduction' and 'speed acceleration' buttons, the speed of playing can be adjusted to be 1.25 times, 1.5 times, 2 times and the like, so that the speed of verifying the voice message is improved.
In some optional implementation manners of this embodiment, in the process of playing the target message, a progress control area may also be displayed. The execution body may receive a fourth input to the progress control region. Wherein the fourth input may be used to adjust the play position. For example, a progress bar may be included in the progress control area, and the fourth input may include, but is not limited to, a slide input to the progress bar in the progress control area. In response to a fourth input, the execution body may determine a fourth target playback position of the target message, and play the target message from the fourth target playback position. The position of the progress bar and the playing position have a preset mapping relation. Based on the position of the progress bar, the fourth target playing position can be determined.
With continued reference to fig. 5, a progress bar may be included in the progress control area, and the user may control the playing position by sliding the progress bar, so as to increase the speed of verifying the voice message and the speed of acquiring the desired content.
In the method provided by the above embodiment of the present application, after receiving a message search input for an instant messaging application, a target message is searched from a message record of the instant messaging application, and a search result page including the target message is displayed, so that the target message required by a user can be provided. Because the message records comprise the historical voice messages sent or received by the instant messaging application and the target messages comprise one or more of the historical voice messages, the quick search for the voice messages in the instant messaging application can be realized, and compared with a manual one-by-one playing mode, the convenience of voice message search is greatly improved.
It should be noted that, in the message search method provided in the embodiment of the present application, the execution main body may be a message search apparatus, or a control module in the message search apparatus, which is used for executing the loading message search method. In the embodiment of the present application, a method for executing a loaded message search by a message search apparatus is taken as an example, and the message search method provided in the embodiment of the present application is described.
As shown in fig. 6, the message search apparatus 600 of the present embodiment includes: a first receiving unit 601, configured to receive a message search input for an instant messaging application; a searching unit 602, configured to search for a target message from a message record of the instant messaging application in response to the message search input, and display a search result page including the target message; wherein, the message record includes historical voice messages sent or received by the instant messaging application, and the target message includes one or more of the historical voice messages.
In some optional implementations of this embodiment, the message search input includes audio information input by a voice input method; the search unit 602 is further configured to match a historical voice message in the message record of the instant messaging application with the audio information, and determine a target message in the historical voice message based on a matching result.
In some optional implementations of this embodiment, the message record further includes a history text message sent or received by the instant messaging application, and the target message further includes one or more of the history text messages; the search unit 602 is further configured to perform text conversion on the audio information to obtain a text conversion result of the audio information; and matching the historical text message in the message record with the text conversion result of the audio information, and determining the target message in the historical text message based on the matching result.
In some optional implementation manners of this embodiment, the message search input includes a keyword input in a text input manner, and the message record further includes a text conversion result of the historical voice message; the search unit 602 is further configured to match a text conversion result in the message record of the instant messaging application with the keyword, and determine a target text conversion result in the text conversion result based on the matching result; and taking the historical voice message corresponding to the target text conversion result as target information.
In some optional implementations of this embodiment, the message record further includes a history text message sent or received by the instant messaging application, and the target message further includes one or more of the history text messages; and the searching unit 602 is further configured to match the historical text message in the message record with the keyword, and determine a target message in the historical text message based on a matching result.
In some optional implementations of this embodiment, the apparatus further includes: a second receiving unit for receiving a first input of the target message in the search result page; a first playing unit, configured to determine a first target playing position of the target message in response to the first input, and play the target message from the first target playing position.
In some optional implementations of this embodiment, the search result page further includes a text conversion result of the target message; and, the above-mentioned apparatus also includes: a third receiving unit, configured to receive a second input of the target position in the text conversion result; and a second playing unit, configured to determine, in response to the second input, a second target playing position corresponding to the target position in the target message, and play the target message from the second target playing position.
In some optional implementations of this embodiment, the apparatus further includes: the first display unit is used for displaying a speed doubling control area in the process of playing the target message; a fourth receiving unit for receiving a third input to the double speed control area; and the third playing unit is used for responding to the third input, determining a target multiple speed and enabling the target multiple speed to play the target message.
In some optional implementations of this embodiment, the apparatus further includes: the second display unit is used for displaying a progress control area in the process of playing the target message; a fifth receiving unit, configured to receive a fourth input to the progress control area; a fourth playing unit, configured to determine a third target playing position of the target message in response to the fourth input, and play the target message from the third target playing position.
The message search device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message search device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message search device provided in the embodiment of the present application can implement each process implemented by the message search device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
The apparatus provided by the above embodiment of the present application searches for a target message from a message record of an instant messaging application after receiving a message search input for the instant messaging application, and displays a search result page including the target message, thereby being capable of providing the target message required by a user. Because the message records comprise the historical voice messages sent or received by the instant messaging application and the target messages comprise one or more of the historical voice messages, the quick search for the voice messages in the instant messaging application can be realized, and compared with a manual one-by-one playing mode, the convenience of voice message search is greatly improved.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 710, a memory 709, and a program or an instruction stored in the memory 709 and capable of running on the processor 710, where the program or the instruction is executed by the processor 710 to implement each process of the above message search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
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 the processor 170.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The radio frequency unit 701 is configured to receive a message search input for an instant messaging application.
A processor 710 for searching for a target message from a message record of the instant messenger application in response to the message search input, and displaying a search result page including the target message; wherein, the message record includes historical voice messages sent or received by the instant messaging application, and the target message includes one or more of the historical voice messages.
In the embodiment of the application, after receiving the message search input aiming at the instant messaging application, the target message is searched from the message record of the instant messaging application, and the search result page containing the target message is displayed, so that the target message required by the user can be provided. Because the message records comprise the historical voice messages sent or received by the instant messaging application and the target messages comprise one or more of the historical voice messages, the quick search for the voice messages in the instant messaging application can be realized, and compared with a manual one-by-one playing mode, the convenience of voice message search is greatly improved.
Optionally, the message search input includes audio information input by using a voice input method; and the processor 710 is further configured to match a historical voice message in the message record of the instant messaging application with the audio information, and determine a target message in the historical voice message based on a matching result.
Optionally, the message record further includes a history text message sent or received by the instant messaging application, and the target message further includes one or more items in the history text message; the processor 710 is further configured to perform text conversion on the audio information to obtain a text conversion result of the audio information; and matching the historical text messages in the message records with the text conversion results of the audio information, and determining the target messages in the historical text messages based on the matching results.
Optionally, the message search input includes a keyword input in a text input manner, and the message record further includes a text conversion result of the historical voice message; the processor 710 is further configured to match a text conversion result in a message record of the instant messaging application with the keyword, and determine a target text conversion result in the message record based on the matching result; and taking the historical voice message corresponding to the target text conversion result as target information.
Optionally, the message record further includes a history text message sent or received by the instant messaging application, and the target message further includes one or more items in the history text message; and the processor 710 is further configured to match the historical text messages in the message record with the keywords, and determine a target message in the historical text messages based on a matching result.
Optionally, the radio frequency unit 701 is further configured to receive a first input of the target message in the search result page; the processor 710 is further configured to determine a first target playback position of the target message in response to the first input, and play the target message from the first target playback position.
Optionally, the search result page further includes a text conversion result of the target message; and a processor 710 further configured to receive a second input of a target location in the text conversion result; and responding to the second input, determining a second target playing position corresponding to the target position in the target message, and playing the target message from the second target playing position.
Optionally, the processor 710 is further configured to display a double-speed control area in the process of playing the target message; receiving a third input to the speed control area; in response to the third input, a target multiple speed is determined and the target multiple speed is enabled to play the target message.
Optionally, the processor 710 is further configured to display a progress control area during the process of playing the target message; receiving a fourth input to the progress control area; in response to the fourth input, determining a third target playback position of the target message from which to play the target message.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message search method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of searching for a message, the method comprising:
receiving a message search input for an instant messaging application;
and responding to the message search input, searching a target message from a message record of the instant messaging application, wherein the message record comprises historical voice messages sent or received by the instant messaging application, and displaying a search result page containing the target message, and the target message comprises one or more of the historical voice messages.
2. The method of claim 1, wherein the message search input comprises audio information entered using a voice input; and the number of the first and second groups,
the searching for the target message from the message record of the instant messaging application comprises:
and matching the historical voice message in the message record of the instant messaging application with the audio information, and determining a target message in the historical voice message based on a matching result.
3. The method of claim 2, wherein the message record further includes historical text messages sent or received by the instant messaging application, and the target message further includes one or more of the historical text messages; and the number of the first and second groups,
the searching for the target message from the message record of the instant messaging application further comprises:
performing text conversion on the audio information to obtain a text conversion result of the audio information;
and matching the historical text messages in the message records with the text conversion results of the audio information, and determining the target messages in the historical text messages based on the matching results.
4. The method of claim 1, wherein the message search input comprises a keyword input by text input, and the message record further comprises a text conversion result of the historical voice message; and the number of the first and second groups,
the searching for the target message from the message record of the instant messaging application comprises:
matching a text conversion result in a message record of the instant messaging application with the keyword, and determining a target text conversion result in the message record based on the matching result;
and taking the historical voice message corresponding to the target text conversion result as target information.
5. The method of claim 1, wherein after said displaying a search results page containing the target message, the method further comprises:
receiving a first input of the target message in the search results page;
in response to the first input, a first target play position of the target message is determined, and the target message is played from the first target play position.
6. The method of claim 1, wherein the search results page further includes text conversion results of the target message; and the number of the first and second groups,
after the displaying a search results page containing the target message, the method further comprises:
receiving a second input of a target position in the text conversion result;
and responding to the second input, determining a second target playing position corresponding to the target position in the target message, and playing the target message from the second target playing position.
7. An apparatus for searching a message, the apparatus comprising:
a first receiving unit for receiving a message search input for an instant messaging application;
the searching unit is used for responding to the message searching input, searching a target message from the message record of the instant messaging application and displaying a searching result page containing the target message;
wherein, the message record includes historical voice messages sent or received by the instant messaging application, and the target message includes one or more of the historical voice messages.
8. The apparatus of claim 7, wherein the message search input comprises audio information entered using a voice input; and the number of the first and second groups,
the searching unit is further configured to match a historical voice message in the message record of the instant messaging application with the audio information, and determine a target message in the historical voice message based on a matching result.
9. The apparatus of claim 8, wherein the message record further comprises historical text messages sent or received by the instant messaging application, and wherein the target message further comprises one or more of the historical text messages; and the number of the first and second groups,
the search unit is further configured to perform text conversion on the audio information to obtain a text conversion result of the audio information; and matching the historical text messages in the message records with the text conversion results of the audio information, and determining the target messages in the historical text messages based on the matching results.
10. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the message search method of any of claims 1-6.
CN202011166470.7A 2020-10-27 2020-10-27 Message searching method and device and electronic equipment Pending CN112287162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011166470.7A CN112287162A (en) 2020-10-27 2020-10-27 Message searching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011166470.7A CN112287162A (en) 2020-10-27 2020-10-27 Message searching method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112287162A true CN112287162A (en) 2021-01-29

Family

ID=74373364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011166470.7A Pending CN112287162A (en) 2020-10-27 2020-10-27 Message searching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112287162A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079086A (en) * 2021-04-07 2021-07-06 维沃移动通信有限公司 Message transmitting method, message transmitting device, electronic device, and storage medium
CN113157966A (en) * 2021-03-15 2021-07-23 维沃移动通信有限公司 Display method and device and electronic equipment
CN113485594A (en) * 2021-06-30 2021-10-08 上海掌门科技有限公司 Message record searching method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457834A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and client terminal for triggering ITEM voice searching in instant messaging
CN104714981A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 Voice message search method, device and system
CN107622137A (en) * 2017-10-23 2018-01-23 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for searching speech message
CN108874904A (en) * 2018-05-24 2018-11-23 平安科技(深圳)有限公司 Speech message searching method, device, computer equipment and storage medium
CN109697245A (en) * 2018-12-05 2019-04-30 百度在线网络技术(北京)有限公司 Voice search method and device based on video web page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457834A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and client terminal for triggering ITEM voice searching in instant messaging
CN104714981A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 Voice message search method, device and system
CN107622137A (en) * 2017-10-23 2018-01-23 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus for searching speech message
CN108874904A (en) * 2018-05-24 2018-11-23 平安科技(深圳)有限公司 Speech message searching method, device, computer equipment and storage medium
CN109697245A (en) * 2018-12-05 2019-04-30 百度在线网络技术(北京)有限公司 Voice search method and device based on video web page

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157966A (en) * 2021-03-15 2021-07-23 维沃移动通信有限公司 Display method and device and electronic equipment
CN113157966B (en) * 2021-03-15 2023-10-31 维沃移动通信有限公司 Display method and device and electronic equipment
CN113079086A (en) * 2021-04-07 2021-07-06 维沃移动通信有限公司 Message transmitting method, message transmitting device, electronic device, and storage medium
CN113485594A (en) * 2021-06-30 2021-10-08 上海掌门科技有限公司 Message record searching method, device and storage medium

Similar Documents

Publication Publication Date Title
CN112287162A (en) Message searching method and device and electronic equipment
WO2017084541A1 (en) Method and apparatus for sending expression image during call session
CN105227778A (en) The method of event notification, device, terminal and server
CN111859119A (en) Information processing method and device
WO2019045816A1 (en) Graphical data selection and presentation of digital content
CN112287165A (en) File processing method and device
CN108717403B (en) Processing method and device for processing
CN113253903A (en) Operation method and operation device
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN112286421A (en) Playlist processing method and device and electronic equipment
CN112328829A (en) Video content retrieval method and device
CN111954079A (en) Image processing method, image processing apparatus, electronic device, and medium
CN111695008A (en) Message integration method and device
WO2022237877A1 (en) Information processing method and apparatus, and electronic device
CN113055529B (en) Recording control method and recording control device
CN113593614B (en) Image processing method and device
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN113127653B (en) Information display method and device
CN112416143B (en) Text information editing method and device and electronic equipment
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN112672088A (en) Video call method and device
CN113076444A (en) Song identification method and device, electronic equipment and storage medium
CN113905125A (en) Video display method and device and electronic equipment
CN112307273A (en) Information query method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment

Legal Events

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