CN108446389A - Speech message searching and displaying method, device, computer equipment and storage medium - Google Patents
Speech message searching and displaying method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108446389A CN108446389A CN201810240238.XA CN201810240238A CN108446389A CN 108446389 A CN108446389 A CN 108446389A CN 201810240238 A CN201810240238 A CN 201810240238A CN 108446389 A CN108446389 A CN 108446389A
- Authority
- CN
- China
- Prior art keywords
- message
- speech
- speech message
- duration
- search result
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/686—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/638—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of speech message searching and displaying method of offer of the embodiment of the present invention, device, equipment and computer readable storage medium.The method includes:Receive message search instruction, wherein the message search instruction includes keyword;The text message of search and Keywords matching in default file, wherein the data preserved in default file include the corresponding text message of speech message;Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format.The embodiment of the present invention can facilitate user check with the matched speech message of search key, improve the efficiency of voice inquirement message, improve the experience of user.
Description
Technical field
The present invention relates to technical field of data processing more particularly to a kind of speech message searching and displaying method, device, calculating
Machine equipment and storage medium.
Background technology
Instant messaging tools such as wechat, QQ etc. has become essential media of communication in people's Working Life.We
When using such means of communication, it can be impressed in brain by vision and the chat content of Auditory Perception, however as
The passage of time, content are not apparent from.For the chat content before understanding, we often use function of search, depending on
Chat record at that time is arrived in position.For mode of chatting, two kinds of word message and speech message can be generally used.With word message phase
Than speech message is convenient and efficient and can be closing the distance.It shows as:The sentence of equal length inputs word input and voice
For required time span, voice input wants much faster;And when voice input, the emotion shape of speaker can be carried in recording
State, convey information more fully, be not likely to produce misunderstanding.Thus the future market of voice input is huge.Currently, instant messaging tools
Such as wechat, the content that can be searched for is most, such as group members, date, picture and video, file, link, music and text envelope
Breath.And for the user for liking speech message, it is desirable to it is before looking back, be less susceptible to positioning the date, say a certain words
When inscribing the details of content, certain difficulty there is.It is searched in order to facilitate user, position history Message Record, it is most of
Existing means of communication has all provided the query function of history message record to the user, however possesses the communication tool of this function
The word message record that can only inquire, navigate to user has ignored the demand that user records to inquiring, positioning speech message,
Cause the process that user searches speech message extremely cumbersome, seriously affects user experience.
Invention content
A kind of speech message searching and displaying method of offer of the embodiment of the present invention, device, computer equipment and storage medium, can
Speech message is scanned for, and the result of search is shown according to preset format.
In a first aspect, an embodiment of the present invention provides a kind of speech message searching and displaying method, this method includes:
Receive message search instruction, wherein the message search instruction includes keyword;
Search and the text message of Keywords matching in default file, wherein the data preserved in default file include
The corresponding text message of speech message;
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format.
Second aspect, an embodiment of the present invention provides a kind of speech messages to search for display device, which includes for holding
A kind of unit of speech message searching and displaying method described in the above-mentioned first aspect of row.
The third aspect, an embodiment of the present invention provides a kind of computer equipment, the computer equipment includes memory, with
And the processor being connected with the memory;
The memory is for storing computer program, and the processor is for running the calculating stored in the memory
Machine program, to execute the speech message searching and displaying method described in above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program includes program instruction, real when described program instruction is executed by processor
Speech message searching and displaying method described in existing above-mentioned first aspect.
The embodiment of the present invention can scan for speech message, obtain with the matched speech message of search key, and will
It searches for obtained speech message search result to show according to preset format, user can be facilitated to check and the matched language of search key
Sound message improves the efficiency of voice inquirement message, improves the experience of user.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of speech message searching and displaying method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram for speech message search display that another embodiment of the present invention provides;
Fig. 3 is a kind of sub-process schematic diagram of speech message searching and displaying method provided in an embodiment of the present invention;
Fig. 4 is the exemplary plot provided in an embodiment of the present invention shown with Keywords matching speech message search result;
Fig. 5 is a kind of another sub-process schematic diagram of speech message searching and displaying method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram for speech message searching and displaying method that another embodiment of the present invention provides;
Fig. 7 is a kind of schematic block diagram for speech message search display device that the present invention applies example offer;
Fig. 8 is a kind of schematic block diagram for speech message search display device that another embodiment of the present invention provides;
Fig. 9 is the schematic block diagram of display unit provided in an embodiment of the present invention;
Figure 10 is the schematic block diagram for the display unit that another embodiment of the present invention provides;
Figure 11 is the schematic block diagram for the speech message search display device that another embodiment of the present invention provides;
Figure 12 is a kind of schematic block diagram of computer equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, element, component and/or its presence or addition gathered.It will also be understood that in description of the invention and appended
The term "and/or" used in claims refers to any combinations and institute of one or more of associated item listed
It is possible that combining, and include these combinations.
It will also be understood that although term first, second etc. can be used for describing various elements herein, these elements are not answered
This is limited to these terms.These terms are only used for these elements being distinguished from each other out.For example, not departing from the scope of the invention
Under the premise of, first acquisition unit can be referred to as second acquisition unit, and similarly, and second acquisition unit can be referred to as
One acquiring unit.First acquisition unit and second acquisition unit are acquiring unit, but they are not same acquiring unit.
Methods as described below embodiment can be applied to the mobile phone with display and/or touch tablet, on knee
In the portable device of computer or tablet computer etc, can also apply with display and/or touch tablet it is non-just
Portable device, in desktop computer.It should be noted that being equipped with instant messaging tools such as wechat, QQ etc. in these equipment.
Fig. 1 is a kind of flow diagram of speech message searching and displaying method provided in an embodiment of the present invention.This method packet
Include following steps S101-S103.
S101 receives message search instruction, wherein the message search instruction includes keyword.
Specifically, search key can be inputted in the search query term in instant messaging tools such as wechat homepage, clicked
Search button detects that input is completed, and generates message search instruction;Also specific communication object such as chatting object can be opened,
Associated buttons such as " searching chat record " are found in the corresponding interface of specific communication object, after clicking on, input is searched
Rope keyword clicks search button or detects that input is completed, that is, generates message search instruction, wherein communication object can be with
It is single contact person, can also be group.Wherein, the mode of keyword input, including textual form and speech form.
The keyword of speech form input, needs the keyword that corresponding textual form is converted speech into according to speech recognition.
In some embodiments, the target time section letter selected in two periods can also be included in search instruction
Breath, i.e., can also include temporal information in search instruction;In some embodiments, can also be included in search instruction in relation to extremely
The object contact person information selected in the interface of few two contact persons can also include that object contact person is believed that is, in search instruction
Breath.
S102, the text message of search and Keywords matching in default file, wherein the data preserved in default file
Including the corresponding text message of speech message.
User during using instant messaging tools such as wechat, such as chat note by the communications records that equipment can obtain user
Record.If message in chat record is speech message, then speech message can be converted into pair by equipment according to speech recognition algorithm
The text message answered, and be stored in default file, for being used when search.Wherein, default file includes speech message pair
The text message answered.The text message of search and Keywords matching in default file, if keyword is " zoo ", default
Searched in the text message preserved in file, if search including with " zoo " relevant text message, it is judged that should
Text message is the text message with Keywords matching.Wherein, search includes the search of various modes, is such as searched for generally, accurately
Search etc..
S103 shows speech message search result corresponding with the text message of the Keywords matching according to preset format
Show.Wherein, preset format is related with speech message duration, or corresponding with the length of device screen display line, speech message
The number of words of the corresponding text message of speech message duration, speech message is related.
The embodiment scans for the speech message in instant messaging tools, obtains and the matched voice of search key
Message, and the speech message search result that search obtains is shown according to preset format, user can be facilitated to check crucial with search
The matched speech message of word, improves the efficiency of voice inquirement message, improves the experience of user.
Fig. 2 is a kind of flow diagram for speech message searching and displaying method that another embodiment of the present invention provides.The party
Method includes step S201-S207.The embodiment and embodiment illustrated in fig. 1 difference lies in:Before receiving message search instruction,
This embodiment increases step S201-S204.Step S201-S204 is described more fully below.Wherein, step S205-S207 with
Step in embodiment illustrated in fig. 1 corresponds to, and please refers to the description in embodiment illustrated in fig. 1, is not repeating herein.
S201 judges whether speech message duration is more than default speech message duration after receiving speech message.
Default speech message duration can be pre-set, such as specially 1 minute.It can also be according to the custom of user
It is configured, that is, receives the setting of user.After default speech message duration is set, it can modify, can such as receive use
The default speech message duration of family modification can also receive another suitable duration of server setting according to the feedback of user
As new default speech message duration.If it is to be appreciated that more than default speech message duration, indicate that user is not very willing one
The so long voice of secondary reading.After having read one section of speech message such as user, a certain section in speech message is not very clear, is used
Family, which merely desires to repeat, listens this section of corresponding voice, and when being not intended to listen voice every time, all from the beginning.In that case, if
Every time from the beginning, the experience of user can be influenced.
If the long speech message is carried out segmentation and forms multiple speech messages by S202 more than default speech message duration.
Wherein, long speech message refers to being more than the speech message for presetting speech message duration.By the long speech message into
Row segmentation forms multiple speech messages, including:The long speech message is subjected to segmentation according to the time and forms multiple speech messages, or
Person detects the stall position of speaking in the long speech message, is divided the long speech message according to time and stall position of speaking
Section forms multiple speech messages.Wherein, which is carried out by segmentation according to the time and forms multiple speech messages, Ke Yili
The long speech message is segmented by Xie Wei at regular intervals, which is less than default speech message duration, such as every 30s
Long speech message is divided into multistage.Binding time and stall position can also be spoken to position waypoint, such as when detecting recording
When time is more than 30s, if being detected simultaneously by stall position of speaking, using the stall position of speaking as waypoint, next segmentation
It is spaced in 30s or more between point and a upper waypoint.If a upper waypoint and speech message terminate between time between
Every less than 30s, by the voice after a upper waypoint also as a voice after segmentation.Wherein it is possible to be disappeared according to voice
Corresponding sound wave variation is ceased to detect stall position of speaking, if detecting that one section of sound wave mean amplitude of tide in speech message compares
Height, and another section of sound wave mean amplitude of tide is relatively low, and the centre position of lower this section of sound wave of average amplitude ratio can be taken corresponding
The long speech message is divided into multistage by the time as stall position of speaking, further according to time and stall position of speaking.It needs to note
Meaning, in this embodiment, the 30s times are an example, and in other embodiments, the time may be set to be it
His numerical value.
Speech message is converted to corresponding text message by S203 by speech recognition.
Wherein, include two kinds of situations here, a kind of situation be more than default speech message duration, segmentation is formed
Multiple speech messages be converted to corresponding text message, another situation is, if being not above default speech message duration, will
The speech message is converted to corresponding text message.Specifically, the speech recognition algorithm in equipment can be utilized speech message
Be converted to corresponding text message.
In one embodiment, before speech message is converted to corresponding text message by speech recognition, it is also necessary to
It proceeds as follows:Judge whether current time reaches revocation messages duration with the interval for receiving the speech message time;If reaching
Revocation messages duration, then speech message is converted to by corresponding text message by speech recognition.Wherein, revocation messages duration refers to
Be be arranged in instant messaging tools can be with the time of revocation messages, such as 2s.If it is to be understood that current time with connect
The interval for receiving the speech message time reaches revocation messages duration, then this message will not be recalled by user, avoids the occurrence of elder generation
Speech message is converted into corresponding text message, the case where then this speech message is withdrawn.Equipment can so be reduced
The speech message being withdrawn is converted to the treating capacity of corresponding text message.If should be noted that not up to revocation messages
Duration, it is still necessary to speech message is segmented, and shown.Only speech message corresponding text message is not converted into.
Speech message and the corresponding text message of speech message are stored in default file by S204.
The embodiment is after receiving speech message, if speech message is more than default speech message duration, by the long language
Sound message carries out segmentation and forms multiple speech messages, then speech message is converted to corresponding text message simultaneously by speech recognition
It preserves.Long speech message more than default speech message duration is divided into multistage, user can be segmented to obtain or search for pair
The content for answering speech message can only play this section of speech message when wherein a certain section of speech message user thinks to read again, and
It need not from the beginning play every time, improve the experience of user.
In one embodiment, after step s 102, i.e., the text message with Keywords matching is searched in default file
Later, the method further includes:It is a plurality of whether the text message of detection and the Keywords matching has;If with the keyword
The text message matched has a plurality of, is ranked up to the corresponding speech message search result of a plurality of text message according to preset rules.
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format, including:It will row
Speech message search result corresponding with the text message of the Keywords matching after sequence is shown according to preset format.Wherein,
Preset rules include the time tandem received according to speech message, and/or according to the corresponding text message of speech message with
The matching degree of keyword is ranked up, or according to the forgetting curve of people come the forgetting corresponding to different phonetic message time
The height of possibility is ranked up.Specifically, the time such as received according to speech message is ranked up by evening to early sequence,
The speech message sequence received after i.e. is in front;According to the corresponding text message of speech message and the matching degree of keyword by height
It is ranked up to low, i.e., the high sequence of matching degree is in front;It is ranked up from high to low according to possibility of forgetting, i.e., will forget can
The high sequence of energy property is in front.
In one embodiment, as shown in figure 3, speech message corresponding with the text message of the Keywords matching is searched for
As a result it is shown according to preset format, i.e. step S103, includes the following steps S301-S304.Wherein, preset format and speech message
Duration is related.
S301, pair speech message corresponding with the text message of the Keywords matching obtain speech message duration.
S302 judges whether speech message duration is more than preset duration.Wherein, preset duration can be 30s.
S303 shows corresponding speech message search result if being more than preset duration according to the first preset format.Wherein,
First preset format includes:The content of text of the default number of words of keyword correspondence in speech message, speech message.First is pre-
If format can also include:The time that the corresponding sender's information of speech message, speech message are sent.Wherein, keyword can be with
It is highlighted, such as distinguishes color or overstriking, sender's information includes sender's pet name and/or transmission human head picture etc., voice
Information includes voice and/or speech message duration etc.;Default number of words includes the number of words of keyword, and preset times could be provided as 16
Word may be set to be other numbers of words.If the total number of word of the corresponding text message of speech message is more than default number of words, predetermined word
Other texts other than number can be replaced with ellipsis.As keyword is:It has a meal, it is 16 to preset number of words, then text message can
To be shown as:... which place you have a meal at, send out a positioning and give ....If the number of words of the corresponding text message of speech message is less than
Preset times, other than display text message, other default numbers of words of deficiency can also be replaced with ellipsis.It is appreciated that
For, there are many noises in speech message, really have speech message and few.
S304 shows corresponding speech message search result if being less than preset duration according to the second preset format.Its
In, the second preset format includes:The corresponding content of text of voice messaging, speech message.Second preset format can also include:Language
The time that the corresponding sender's information of sound message, speech message are sent.Wherein, keyword is highlighted, such as distinguish color or
Overstriking etc., sender's information include sender's pet name and/or transmission human head picture etc., and voice messaging includes that voice and/or voice disappear
Cease duration etc..Specific display effect can be referring to Fig. 4.
Fig. 4 is the exemplary plot shown with the speech message search result of Keywords matching.As shown in figure 4, in terminal 10
The speech message search result with Keywords matching is shown on screen 11.Wherein, keyword 110 is " zoo ", sender
Information includes sender's image 120 and sender's pet name 130.Speech message includes voice 160 and speech message duration 150.Language
The corresponding content of text of sound message 140, wherein shown it can be seen that keyword " zoo " is overstriking.What speech message was sent
Time 170 is shown as:2018-01-01, in other embodiments, the time that speech message is sent can also be specific to minute etc..
In one embodiment, as shown in figure 5, speech message corresponding with the text message of the Keywords matching is searched for
As a result it is shown according to preset format, i.e. step S103 includes the following steps S501-S504.Wherein, preset format and search result
The number of words that the length of interface display row, speech message duration, speech message correspond to text message is related.It is to be understood that searching
In rope result interface display row, a speech message search result corresponding with the text message of the Keywords matching is shown,
I.e. in search result interfaces a line, a speech message search result is shown, to facilitate user to check.
S501, pair speech message corresponding with the text message of the Keywords matching obtain speech message duration, and
Speech message corresponds to the number of words of text message.
S502, the length shown according to speech message duration calculation speech message.
S503 judges that the length that speech message is shown shows whether length is more than search result interfaces display line with number of words
Length.
S504, if more than the length of search result interfaces display line, according to third preset format by corresponding speech message
Search result is shown in same a line.Wherein, third preset format includes:It is right before and after keyword in speech message, speech message
The content of text for the default number of words answered.Third preset format can also include:The corresponding sender's information of speech message, voice disappear
Cease the time sent.Wherein, keyword is highlighted, such as it includes that sender is close to distinguish color or overstriking, sender's information
Claim and/or send human head picture etc., voice messaging includes voice and speech message duration etc.;Default number of words includes the word of keyword
Number, the length of the several length and speech message according to search result interfaces display line of predetermined word are set, preset number of words=
Length-the n that (length that length-speech message of search result interfaces display line is shown)/each word is shown.Wherein, n is reserved
Length, length in reserve include being left white for frame, and length in reserve can also be used to indicate ellipsis etc..Ellipsis can such as be used
Instead of more than part, as keyword is:It has a meal, it is 16 to preset number of words, then text message can be shown as:... you are at which
A place for dinner is sent out a positioning and is given ....
S505 shows corresponding voice if being less than the length of search result interfaces display line according to the 4th preset format
Message search result.Wherein, the 4th preset format includes:The corresponding content of text of voice messaging, speech message.4th default lattice
Formula can also include:The time that the corresponding sender's information of speech message, speech message are sent.Wherein, keyword is highlighted,
Color or overstriking are such as distinguished, sender's information includes sender's pet name and/or transmission human head picture etc., and voice messaging includes language
Sound and speech message duration etc..
In above example, the data preserved in default file include the corresponding text message of speech message, other one
In a little embodiments, the data preserved in default file further include pure text other than including the corresponding text message of speech message
This message, plaintext message can be regarded as most starting the text message that input is textual form input.Protected in default file
The data deposited include the corresponding text message of speech message and plaintext message.
Fig. 6 is a kind of flow diagram for speech message searching and displaying method that another embodiment of the present invention provides.The party
Method includes step S601-S609.The embodiment and embodiment shown in Fig. 2 difference lies in:Step S607-608 is increased, with
And the difference of step S606, S609.Below by the difference place of the detailed embodiment and embodiment shown in Fig. 2, other steps
The description of embodiment part shown in Fig. 2 is please referred to, details are not described herein.
S606, the text message of search and Keywords matching in default file, wherein the data preserved in default file
Including the corresponding text message of speech message and plaintext message.
User during using instant messaging tools such as wechat, such as chat note by the communications records that equipment can obtain user
Record.If message in chat record is speech message, then speech message can be converted into pair by equipment according to speech recognition algorithm
The text message answered, and be stored in default file;If the message in chat record is plaintext message, then directly by pure text
This message is stored in default file.Therefore, the data preserved in default file include the corresponding text message of speech message and
Plaintext message.
It is a plurality of whether the text message of S607, detection and the Keywords matching has.
S608, if having with the text message of the Keywords matching it is a plurality of, by the corresponding speech message of a plurality of text message
Search result and plaintext message search result sort according to according to preset rules.Wherein, preset rules include disappearing according to voice
The time tandem that breath and plaintext message receive, and/or disappear according to the corresponding text message of speech message and plain text
It ceases and is ranked up with the matching degree of keyword, or according to the forgetting curve of people come according to different phonetic message and plaintext message
The height of possibility of forgetting corresponding to sending time is ranked up.Specifically, such as according to speech message and plaintext message
The time of reception is ranked up by evening to early sequence, i.e., after the speech message that receives and plaintext message sort in front;
It is ranked up from high to low according to the corresponding text message of speech message and plaintext message and the matching degree of keyword, i.e.,
In front with the high sequence of degree;It is ranked up from high to low according to possibility of forgetting, i.e., by the high sequence of possibility of forgetting preceding
Face.
S609, by the speech message search result corresponding with the text message of the Keywords matching after sequence according to pre-
If format is shown, shown according to another preset format with the plaintext message search result of the Keywords matching.
Wherein, speech message search result corresponding with the text message of the Keywords matching is shown according to preset format
Show, the content that can be described referring to Fig. 3 with embodiment illustrated in fig. 5, details are not described herein.
Plaintext message search result with the Keywords matching is shown according to another preset format, wherein another
Preset format includes:The time that the corresponding sender's information of plain text information, plain text information, plaintext message are sent.Wherein,
Keyword in plaintext message is highlighted, such as distinguishes color or overstriking, sender's information include sender's pet name and/
Or send human head picture etc., plain text information includes the content of plain text information.
In this embodiment, the data preserved in default file include that the corresponding text message of speech message and plain text disappear
Breath, with after the text message of Keywords matching, judgement and the text message of the Keywords matching are for search in default file
No have a plurality of, if having a plurality of, the speech message search result searched and plaintext message search result are ranked up, according to
Sequence after sequence is shown.Wherein, by speech message search result corresponding with the text message of the Keywords matching according to
Preset format is shown, the plaintext message search result with the Keywords matching is shown according to another preset format.More one
Step improves the efficiency of message search, improves the experience of user.
Fig. 7 is a kind of schematic block diagram of speech message search display device provided in an embodiment of the present invention.Such as Fig. 7 institutes
Show, which includes receiving unit 701, search unit 702, display unit 703.
Receiving unit 701, for receiving message search instruction, wherein the message search instruction includes keyword.
Specifically, search key can be inputted in the search query term in instant messaging tools such as wechat homepage, clicked
Search button detects that input is completed, and generates message search instruction;Also specific communication object such as chatting object can be opened,
Associated buttons such as " searching chat record " are found in the corresponding interface of specific communication object, after clicking on, input is searched
Rope keyword clicks search button or detects that input is completed, that is, generates message search instruction, wherein communication object can be with
It is single contact person, can also be group.Wherein, the mode of keyword input, including textual form and speech form.
The keyword of speech form input, needs the keyword that corresponding textual form is converted speech into according to speech recognition.
In some embodiments, the target time section letter selected in two periods can also be included in search instruction
Breath, i.e., can also include temporal information in search instruction;In some embodiments, can also be included in search instruction in relation to extremely
The object contact person information selected in the interface of few two contact persons can also include that object contact person is believed that is, in search instruction
Breath.
Search unit 702, the text message for search and Keywords matching in default file, wherein default file
The data of middle preservation include the corresponding text message of speech message.
User during using instant messaging tools such as wechat, such as chat note by the communications records that equipment can obtain user
Record.If message in chat record is speech message, then speech message can be converted into pair by equipment according to speech recognition algorithm
The text message answered, and be stored in default file, for being used when search.Wherein, default file includes speech message pair
The text message answered.
Display unit 703, for pressing speech message search result corresponding with the text message of the Keywords matching
It is shown according to preset format.Wherein, preset format is related with speech message duration, or with the length of device screen display line, language
The corresponding speech message duration of sound message, the number of words of the corresponding text message of speech message are related.
The embodiment can facilitate user check with the matched speech message of search key, improve voice inquirement message
Efficiency improves the experience of user.
Fig. 8 is a kind of schematic block diagram for speech message search display device that another embodiment of the present invention provides.Such as Fig. 8
It is shown, the device 80 include judging unit 801, segmenting unit 802, recognition unit 803, storage unit 804, receiving unit 805,
Search unit 806, display unit 807.Wherein, the embodiment and embodiment shown in Fig. 7 difference lies in:It is single to increase judgement
Member 801, segmenting unit 802, recognition unit 803, storage unit 804.Wherein, receiving unit 805, search unit 806, display are single
Member 807 is consistent with described in embodiment illustrated in fig. 7, specifically please refers in Fig. 7 and describes accordingly, details are not described herein.Below
It will be described in judging unit 801, segmenting unit 802, recognition unit 803, storage unit 804.
Judging unit 801 judges whether speech message duration is more than default speech message after receiving speech message
Duration.
Default speech message duration can be pre-set, such as specially 1 minute.It can also be according to the custom of user
It is configured, that is, receives the setting of user.After default speech message duration is set, it can modify, can such as receive use
The default speech message duration of family modification can also receive another suitable duration of server setting according to the feedback of user
As new default speech message duration.If it is to be appreciated that more than default speech message duration, indicate that user is not very willing one
The so long voice of secondary reading.After having read one section of speech message such as user, a certain section in speech message is not very clear, is used
Family, which merely desires to repeat, listens this section of corresponding voice, and when being not intended to listen voice every time, all from the beginning.In that case, if
Every time from the beginning, the experience of user can be influenced.
Segmenting unit 802, if for being more than default speech message duration, by the long speech message carry out segmentation formed it is multiple
Speech message.Wherein, long speech message refers to being more than the speech message for presetting speech message duration.Segmenting unit 802 is used for
The long speech message is subjected to segmentation according to the time and forms multiple speech messages.In another embodiment, segmenting unit includes position
Set detection unit, voice segment unit.Wherein, position detection unit is used to detect the pause position of speaking in the long speech message
It sets.Voice segment unit, for the long speech message to be carried out segmentation and forms multiple voices according to time and stall position of speaking
Message.Wherein, which is carried out by segmentation according to the time and forms multiple speech messages, it can be understood as, every one section
The long speech message is segmented by the time, which is less than default speech message duration, such as divides long speech message every 30s
At multistage.Binding time and stall position can also be spoken to position waypoint, such as when detecting that record length is more than 30s,
If being detected simultaneously by stall position of speaking, using the stall position of speaking as waypoint, next waypoint and upper one segmentation
It is spaced in 30s or more between point.If the time interval between a upper waypoint and speech message terminate is less than 30s, will be upper
Voice after one waypoint is also as a voice after segmentation.Wherein it is possible to be become according to the corresponding sound wave of speech message
Change to detect stall position of speaking, if detecting that one section of sound wave mean amplitude of tide in speech message is relatively high, and another section of sound
The equal amplitude ratio of popin is relatively low, and the centre position of lower this section of sound wave of the average amplitude ratio corresponding time can be taken to stop as speaking
The long speech message is divided into multistage by position further according to time and stall position of speaking.It should be noted that in the implementation
In example, the 30s times are an example, and in other embodiments, the time may be set to be other numerical value.
If the speech message is converted to corresponding text and disappeared by recognition unit 803 for being more than default speech message duration
Breath, and if be more than default speech message duration, will segmentation formed multiple speech messages be converted to corresponding text message.
Specifically, it can utilize the speech recognition algorithm in equipment that speech message is converted to corresponding text message.
In one embodiment, judging unit 801 are additionally operable to judge that current time is with the interval of speech message time is received
It is no to reach revocation messages duration.Recognition unit 803, if voice disappears for reaching revocation messages duration, then by speech recognition
Breath is converted to corresponding text message.Wherein, what revocation messages duration referred to being arranged in instant messaging tools can recall
The time of message, such as 2s.If it is to be understood that current time and receiving the interval of speech message time and reaching revocation messages
Duration avoids the occurrence of and speech message is first converted to corresponding text message, then then this message will not be recalled by user
The case where this speech message is withdrawn.Equipment can so be reduced the speech message being withdrawn is converted into corresponding text and disappeared
The treating capacity of breath.If should be noted that not up to revocation messages duration, it is still necessary to be segmented, and show to speech message.
Only speech message corresponding text message is not converted into.
Storage unit 804, for speech message and the corresponding text message of speech message to be stored in default file.
Long speech message more than default speech message duration is divided into multistage by the embodiment, and user can be segmented to obtain
Or the content of the corresponding speech message of search can only play the section when wherein a certain section of speech message user thinks to read again
Speech message improves the experience of user without from the beginning playing every time.
In one embodiment, a kind of speech message search display device further includes first detection unit, the first sequencing unit,
Specifically, first detection unit, for detect with the text message of the Keywords matching whether have it is a plurality of.First sequence is single
Member, if a plurality of for having with the text message of the Keywords matching, according to preset rules to corresponding to a plurality of text message
Speech message is ranked up.Display unit, for the voice corresponding with the text message of the Keywords matching after sorting
Message search result is shown according to preset format.Wherein, preset rules include the time tandem received according to speech message,
And/or be ranked up according to the matching degree of the corresponding text message of speech message and keyword, or according to the forgetting curve of people
It is ranked up come the height of the possibility of forgetting corresponding to different phonetic message time.Specifically, such as disappear according to voice
Ceasing the time received is ranked up by evening to early sequence, i.e., after the speech message that receives sort in front;Disappear according to voice
The matching degree for ceasing corresponding text message and keyword is ranked up from high to low, i.e., the high sequence of matching degree is in front;According to
Possibility of forgetting is ranked up from high to low, i.e., in front by the high sequence of possibility of forgetting.
In one embodiment, by speech message search result corresponding with the text message of the Keywords matching according to pre-
If format is shown, wherein preset format is related with speech message duration.As shown in figure 9, display unit 807 includes the first acquisition
Unit 901, the first judging unit 902, the first display unit 903.
First acquisition unit 901 is used for pair speech message corresponding with the text message of the Keywords matching, obtains language
Sound message duration.
First judging unit 902, for judging whether speech message duration is more than preset duration.Wherein, preset duration can
Think 30s.
If first display unit 903 shows corresponding speech message for being more than preset duration according to the first preset format
Search result.Wherein, the first preset format includes:The default number of words of keyword correspondence in speech message, speech message
Content of text.First preset format can also include:The time that the corresponding sender's information of speech message, speech message are sent.
Wherein, keyword can be highlighted, such as it includes sender's pet name and/or hair to distinguish color or overstriking, sender's information
It makes a gift to someone head portrait etc., voice messaging includes voice and/or speech message duration etc.;Default number of words includes the number of words of keyword, is preset
Number could be provided as 16 words, may be set to be other numbers of words.If the total number of word of the corresponding text message of speech message is super
Default number of words is crossed, other texts other than default number of words can be replaced with ellipsis.As keyword is:It has a meal, default number of words is
16, then text message can be shown as:... which place you have a meal at, send out a positioning and give ....If speech message is corresponding
The number of words of text message is less than preset times, and other than display text message, can also using for the default number of words of other deficiencies saves
Contracted notation replaces.It is to be understood that there is many noises in speech message, really have speech message and few.
First display unit 903 shows corresponding voice if being additionally operable to be less than preset duration according to the second preset format
Message search result.Wherein, the second preset format includes:The corresponding content of text of voice messaging, speech message.Second default lattice
Formula can also include:The time that the corresponding sender's information of speech message, speech message are sent.Wherein, speech message corresponds to text
Keyword in this content is highlighted, such as it includes sender's pet name and/or hair to distinguish color or overstriking, sender's information
It makes a gift to someone head portrait etc., voice messaging includes voice and/or speech message duration etc..Specific display effect can be referring to Fig. 4.
In one embodiment, by speech message search result corresponding with the text message of the Keywords matching according to pre-
If format is shown, wherein preset format is corresponding with the length of search result interfaces display line, speech message duration, speech message
The number of words of text message is related.It is to be understood that in search result interfaces display line, display one and the Keywords matching
The corresponding speech message search result of text message, i.e., in search result interfaces a line, show speech message search knot
Fruit, to facilitate user to check.As shown in Figure 10, display unit 807 further includes second acquisition unit 101, computing unit 102,
Two judging units 103, the second display unit 104.
Second acquisition unit 101 is used for pair speech message corresponding with the text message of the Keywords matching, obtains language
Sound message duration and speech message correspond to the number of words of text message.
Computing unit 102, the length for being shown according to speech message duration calculation speech message.
Second judgment unit 103, for judging that the length that speech message is shown shows whether length is more than search with number of words
The length of result interface display row.
Second display unit 104, if for the length more than search result interfaces display line, it will according to third preset format
Corresponding speech message search result is shown in same a line.Wherein, third preset format includes:Speech message, speech message
The content of text of the default number of words of middle keyword correspondence.Third preset format can also include:The corresponding hair of speech message
Make a gift to someone information, speech message send time.Wherein, keyword is highlighted, such as distinguishes color or overstriking, sender's letter
Breath includes sender's pet name and/or transmission human head picture etc., and voice messaging includes voice and speech message duration etc.;Default number of words packet
Including the number of words of keyword, the length of the several length and speech message according to search result interfaces display line of predetermined word is set,
Length-the n that default number of words=(length that length-speech message of search result interfaces display line is shown)/each word is shown.Its
In, n is length in reserve, and length in reserve includes being left white for frame, and length in reserve can also be used to indicate ellipsis etc..Such as may be used
To replace the part for being more than with ellipsis, as keyword is:It has a meal, it is 16 to preset number of words, then text message can be shown
For:... which place you have a meal at, send out a positioning and give ....
Second display unit 104, if being additionally operable to be less than the length of search result interfaces display line, according to the 4th default lattice
Formula shows corresponding speech message search result.Wherein, the 4th preset format includes:The corresponding text of voice messaging, speech message
This content.4th preset format can also include:The time that the corresponding sender's information of speech message, speech message are sent.Its
In, speech message corresponds to the keyword in content of text and is highlighted, such as differentiation color or overstriking, sender's information include
Sender's pet name and/or transmission human head picture etc., voice messaging includes voice and speech message duration etc..
In the embodiment of apparatus above, the data preserved in default file include the corresponding text message of speech message,
In some other embodiment, the data preserved in default file are also wrapped other than including the corresponding text message of speech message
Plaintext message is included, plaintext message can be regarded as most starting the text message that input is textual form input.I.e. default text
The data preserved in part include the corresponding text message of speech message and plaintext message.
Figure 11 is a kind of schematic block diagram for speech message search display device that another embodiment provides.Such as Figure 11 institutes
Show, the device 110 include judging unit 111, segmenting unit 112, recognition unit 113, storage unit 114, receiving unit 115,
Search unit 116, second detection unit 117, the second sequencing unit 118, display unit 119.Wherein, the embodiment and Fig. 8 institutes
The embodiment shown difference lies in:It increases second detection unit 117, the second sequencing unit 118 and search unit 116 and shows
Show the difference of unit 119.Wherein unit is please consistent with described in embodiment illustrated in fig. 8, specifically please refers in Fig. 8 and retouches accordingly
It states, details are not described herein.Search unit 116 is described more fully below, second detection unit 117, the second sequencing unit 118, shows
Show unit 119.
Search unit 116, the text message for search and Keywords matching in default file, wherein default file
The data of middle preservation include the corresponding text message of speech message and plaintext message.
User during using instant messaging tools such as wechat, such as chat note by the communications records that equipment can obtain user
Record.If message in chat record is speech message, then speech message can be converted into pair by equipment according to speech recognition algorithm
The text message answered, and be stored in default file;If the message in chat record is plaintext message, then directly by pure text
This message is stored in default file.Therefore, the data preserved in default file include the corresponding text message of speech message and
Plaintext message.
Second detection unit 117, for detect with the text message of the Keywords matching whether have it is a plurality of.
Second sequencing unit 118, if a plurality of for having, by the corresponding speech message of a plurality of text message and plaintext message
It sorts according to according to preset rules.Wherein, preset rules include according to before and after the time of speech message and plaintext message reception
Sequentially, and/or according to the corresponding text message of speech message and plaintext message and the matching degree of keyword it is ranked up, or
Person is according to the forgetting curve of people come the possibility of forgetting corresponding to different phonetic message and plaintext message sending time
Height is ranked up.Specifically, the time such as received according to speech message and plaintext message is carried out by evening to early sequence
Sequence, i.e., after the speech message that receives and plaintext message sequence in front;According to the corresponding text message of speech message with
And plaintext message and the matching degree of keyword are ranked up from high to low, i.e., the high sequence of matching degree is in front;According to forgetting
Possibility is ranked up from high to low, i.e., in front by the high sequence of possibility of forgetting.
Display unit 119, for searching the speech message corresponding with the text message of the Keywords matching after sequence
Hitch fruit shows according to preset format, aobvious according to another preset format with the plaintext message search result of the Keywords matching
Show.Wherein, another preset format includes:The corresponding sender's information of plain text information, plain text information, plaintext message are sent
Time.Wherein, the keyword in plaintext message is highlighted, such as differentiation color or overstriking, sender's information include
Sender's pet name and/or transmission human head picture etc., plain text information includes the content of plain text information.
In this embodiment, the data preserved in default file include that the corresponding text message of speech message and plain text disappear
Breath, with after the text message of Keywords matching, judgement and the text message of the Keywords matching are for search in default file
No have a plurality of, if having a plurality of, the speech message searched and plaintext message are ranked up, aobvious according to the sequence after sequence
Show.Wherein, speech message search result corresponding with the text message of the Keywords matching is shown according to preset format, it will
It is shown according to another preset format with the plaintext message search result of the Keywords matching.A more step improves message search
Efficiency, improve the experience of user.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in figure 12
It calculates and is run on machine equipment.
Figure 12 is a kind of schematic block diagram of computer equipment provided in an embodiment of the present invention.The equipment 120 can also be
Exist in the form of client.The equipment 120 includes that processor 122, memory and the network connected by system bus 121 connects
Mouth 123, wherein memory may include non-volatile memory medium 124 and built-in storage 125.
The non-volatile memory medium 124 can storage program area 1241 and computer program 1242.The computer program
1242 are performed, and processor 122 may make to execute a kind of speech message searching and displaying method.The processor 122 is for providing
Calculating and control ability support the operation of whole equipment 120.The built-in storage 125 is the calculating in non-volatile memory medium
The operation of machine program provides environment and may make processor 122 to execute a kind of language when the computer program is executed by processor 122
Sound message searching and displaying method.The network interface 123 is for carrying out network communication, such as reception instruction.Those skilled in the art
It is appreciated that Figure 120 shown in structure, only with the block diagram of the relevant part-structure of application scheme, constitute pair
The restriction for the equipment 120 that application scheme is applied thereon, specific equipment 120 may include than as shown in the figure more or more
Few component either combines certain components or is arranged with different components.
Wherein, the processor 122 is for running computer program stored in memory, to realize following steps:
Receive message search instruction, wherein the message search instruction includes keyword;In default file search with
The text message of Keywords matching, wherein the data preserved in default file include the corresponding text message of speech message;It will be with
The corresponding speech message search result of text message of the Keywords matching is shown according to preset format.
In one embodiment, the processor 122 is specific to execute before executing the reception message search instruction:
After receiving speech message, judge whether speech message duration is more than default speech message duration;If more than pre-
If speech message duration, which is subjected to segmentation and forms multiple speech messages, wherein long speech message disappears for voice
Cease the speech message that duration is more than default speech message duration;Multiple speech messages are converted into corresponding text by speech recognition
This message;Multiple speech messages and the corresponding text message of multiple speech messages are stored in default file.
In one embodiment, the processor 122 execute it is described by the long speech message carry out segmentation form multiple languages
It is specific to execute when sound message:
The long speech message is subjected to segmentation according to the time and forms multiple speech messages;Or
Detect the stall position of speaking in the long speech message;According to time and stall position of speaking by the long speech message
It carries out segmentation and forms multiple speech messages.
In one embodiment, the data preserved in the default file further include plaintext message, and the processor 122 exists
Execute it is described when showing speech message search result corresponding with the text message of the Keywords matching according to preset format,
It is specific to execute:
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format;It will
It is shown according to another preset format with the plaintext message search result of the Keywords matching.
In one embodiment, the processor 122 execute it is described will be corresponding with the text message of the Keywords matching
Speech message search result shown according to preset format before, also execute:
It is a plurality of whether the text message of detection and the Keywords matching has;If the text message with the Keywords matching
Have a plurality of, the corresponding speech message search result of a plurality of text message is ranked up according to preset rules.
In one embodiment, the processor 122 execute it is described will be corresponding with the text message of the Keywords matching
Speech message search result when being shown according to preset format, it is specific to execute:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration;Judge voice
Whether message duration is more than preset duration;If being more than preset duration, show that corresponding speech message is searched according to the first preset format
Hitch fruit;If being less than preset duration, corresponding speech message search result is shown according to the second preset format.
In one embodiment, the processor 122 execute it is described will be corresponding with the text message of the Keywords matching
Speech message search result when being shown according to preset format, it is specific to execute:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration and voice
Message corresponds to the number of words of text message;The length shown according to speech message duration calculation speech message;Judge that speech message is aobvious
The length shown and number of words show length whether be more than search result interfaces display line length;If being shown more than search result interfaces
Corresponding speech message search result is shown in same a line by capable length according to third preset format;If being less than search
The length of result interface display row shows corresponding speech message search result according to the 4th preset format.
It should be appreciated that in embodiments of the present invention, alleged processor 122 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
A kind of computer readable storage medium, the computer-readable storage are provided in another embodiment of the invention
It includes program instruction that media storage, which has computer program, the computer program, and described program instructs when being executed by a processor
Realize following steps:
Receive message search instruction, wherein the message search instruction includes keyword;In default file search with
The text message of Keywords matching, wherein the data preserved in default file include the corresponding text message of speech message;It will be with
The corresponding speech message search result of text message of the Keywords matching is shown according to preset format.
In one embodiment, the processor is before executing the reception message search instruction, specific implementation:
After receiving speech message, judge whether speech message duration is more than default speech message duration;If more than pre-
If speech message duration, which is subjected to segmentation and forms multiple speech messages, wherein long speech message disappears for voice
Cease the speech message that duration is more than default speech message duration;Multiple speech messages are converted into corresponding text by speech recognition
This message;Multiple speech messages and the corresponding text message of multiple speech messages are stored in default file.
In one embodiment, which described carried out segmentation and forms multiple voices and disappear executing by the processor
When breath, specific implementation:
The long speech message is subjected to segmentation according to the time and forms multiple speech messages;Or
Detect the stall position of speaking in the long speech message;According to time and stall position of speaking by the long speech message
It carries out segmentation and forms multiple speech messages.
In one embodiment, the data preserved in the default file further include plaintext message, and the processor is being held
Row is described when showing speech message search result corresponding with the text message of the Keywords matching according to preset format, tool
Body is realized:
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format;It will
It is shown according to another preset format with the plaintext message search result of the Keywords matching.
In one embodiment, the processor is described by language corresponding with the text message of the Keywords matching in execution
Before sound message search result is shown according to preset format, also execute:
It is a plurality of whether the text message of detection and the Keywords matching has;If the text message with the Keywords matching
Have a plurality of, the corresponding speech message search result of a plurality of text message is ranked up according to preset rules.
In one embodiment, the processor is described by language corresponding with the text message of the Keywords matching in execution
When sound message search result is shown according to preset format, specific implementation:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration;Judge voice
Whether message duration is more than preset duration;If being more than preset duration, show that corresponding speech message is searched according to the first preset format
Hitch fruit;If being less than preset duration, corresponding speech message search result is shown according to the second preset format.
In one embodiment, the processor is described by language corresponding with the text message of the Keywords matching in execution
When sound message search result is shown according to preset format, specific implementation:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration and voice
Message corresponds to the number of words of text message;The length shown according to speech message duration calculation speech message;Judge that speech message is aobvious
The length shown and number of words show length whether be more than search result interfaces display line length;If being shown more than search result interfaces
Corresponding speech message is shown in same a line by capable length according to third preset format;If being less than search result interfaces
The length of display line shows corresponding speech message search result according to the 4th preset format.
The computer readable storage medium can be the internal storage unit of the terminal described in aforementioned any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card etc..Further, the computer readable storage medium can also both include the storage inside of the terminal
Unit also includes External memory equipment.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it
Its mode is realized.For example, terminal embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner.Those skilled in the art can be clear
Recognize to Chu, for convenience of description and succinctly, the terminal of foregoing description and the specific work process of unit, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.The above description is merely a specific embodiment, but this
The protection domain of invention is not limited thereto, any one skilled in the art the invention discloses technical scope
It is interior, can readily occur in various equivalent modifications or substitutions, these modifications or substitutions should all cover protection scope of the present invention it
It is interior.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of speech message searching and displaying method, which is characterized in that the method includes:
Receive message search instruction, wherein the message search instruction includes keyword;
The text message of search and Keywords matching in default file, wherein the data preserved in default file include voice
The corresponding text message of message;
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format.
2. according to the method described in claim 1, it is characterized in that, before the reception message search instruction, the method
Further include:
After receiving speech message, judge whether speech message duration is more than default speech message duration;
If more than default speech message duration, which is subjected to segmentation and forms multiple speech messages, wherein long voice
Message is the speech message that speech message duration is more than default speech message duration;
Multiple speech messages are converted into corresponding text message by speech recognition;
Multiple speech messages and the corresponding text message of multiple speech messages are stored in default file.
3. according to the method described in claim 2, it is characterized in that, it is described by the long speech message carry out segmentation form multiple languages
Sound message, including:
The long speech message is subjected to segmentation according to the time and forms multiple speech messages;Or
Detect the stall position of speaking in the long speech message;
The long speech message is subjected to segmentation and forms multiple speech messages according to time and stall position of speaking.
4. according to the method described in claim 1, it is characterized in that, the data preserved in the default file further include plain text
Message, it is described to show speech message search result corresponding with the text message of the Keywords matching according to preset format,
Including:
Speech message search result corresponding with the text message of the Keywords matching is shown according to preset format;Will with institute
The plaintext message search result for stating Keywords matching is shown according to another preset format.
5. according to the method described in claim 1, it is characterized in that, described will be corresponding with the text message of the Keywords matching
Speech message search result shown according to preset format before, the method further includes:
It is a plurality of whether the text message of detection and the Keywords matching has;
If having with the text message of the Keywords matching a plurality of, the corresponding speech message search result of a plurality of text message is pressed
It is ranked up according to preset rules.
6. according to the method described in claim 1, it is characterized in that, described will be corresponding with the text message of the Keywords matching
Speech message search result shown according to preset format, including:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration;
Judge whether speech message duration is more than preset duration;
If being more than preset duration, corresponding speech message search result is shown according to the first preset format;
If being less than preset duration, corresponding speech message search result is shown according to the second preset format.
7. according to the method described in claim 1, it is characterized in that, described will be corresponding with the text message of the Keywords matching
Speech message search result shown according to preset format, including:
Pair speech message corresponding with the text message of the Keywords matching obtains speech message duration and speech message
The number of words of corresponding text message;
The length shown according to speech message duration calculation speech message;
Judge length that speech message is shown and number of words show length whether be more than search result interfaces display line length;
If more than the length of search result interfaces display line, corresponding speech message search result is shown according to third preset format
It is shown in same a line;
If being less than the length of search result interfaces display line, corresponding speech message search knot is shown according to the 4th preset format
Fruit.
8. a kind of speech message searches for display device, which is characterized in that described device includes appointing for executing claim 1-7 such as
The unit of one the method.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory, and is connected with the memory
Processor;
The memory is for storing computer program;The processor is for running the computer journey stored in the memory
Sequence, to execute such as claim 1-7 any one of them methods.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program includes program instruction, when described program instruction is executed by processor, realizes that claim 1-7 such as appoints
Method described in one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810240238.XA CN108446389B (en) | 2018-03-22 | 2018-03-22 | Voice message search display method and device, computer equipment and storage medium |
PCT/CN2018/101071 WO2019179014A1 (en) | 2018-03-22 | 2018-08-17 | Method, apparatus, computer device, and storage medium for searching and displaying voice messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810240238.XA CN108446389B (en) | 2018-03-22 | 2018-03-22 | Voice message search display method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108446389A true CN108446389A (en) | 2018-08-24 |
CN108446389B CN108446389B (en) | 2021-12-24 |
Family
ID=63196129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810240238.XA Active CN108446389B (en) | 2018-03-22 | 2018-03-22 | Voice message search display method and device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108446389B (en) |
WO (1) | WO2019179014A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274586A (en) * | 2018-11-14 | 2019-01-25 | 深圳市云歌人工智能技术有限公司 | Storage method, device and the storage medium of chat message |
CN109977130A (en) * | 2019-03-29 | 2019-07-05 | 珠海豹好玩科技有限公司 | A kind of hot word methods of exhibiting and system |
CN111625701A (en) * | 2020-05-25 | 2020-09-04 | Oppo广东移动通信有限公司 | Search method, search device, server and storage medium |
CN113360636A (en) * | 2021-06-30 | 2021-09-07 | 北京百度网讯科技有限公司 | Content display method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988794B (en) * | 2019-12-02 | 2024-05-03 | 深圳云天励飞技术有限公司 | Data searching method and device capable of dynamically adjusting searching strategy and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750365A (en) * | 2012-06-14 | 2012-10-24 | 华为软件技术有限公司 | Retrieval method and system of instant voice messages, user device and server |
EP2637391A1 (en) * | 2012-03-09 | 2013-09-11 | BlackBerry Limited | Message search method and electronic device |
CN104714981A (en) * | 2013-12-17 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Voice message search method, device and system |
CN105049637A (en) * | 2015-08-25 | 2015-11-11 | 努比亚技术有限公司 | Device and method for controlling instant communication |
CN105719642A (en) * | 2016-02-29 | 2016-06-29 | 黄博 | Continuous and long voice recognition method and system and hardware equipment |
CN105791087A (en) * | 2016-02-27 | 2016-07-20 | 深圳市金立通信设备有限公司 | Media segmentation method, and terminal |
CN106940618A (en) * | 2017-03-31 | 2017-07-11 | 珠海市魅族科技有限公司 | The player method and device of a kind of voice messaging |
CN107305541A (en) * | 2016-04-20 | 2017-10-31 | 科大讯飞股份有限公司 | Speech recognition text segmentation method and device |
CN107622137A (en) * | 2017-10-23 | 2018-01-23 | 腾讯音乐娱乐科技(深圳)有限公司 | The method and apparatus for searching speech message |
CN107798143A (en) * | 2017-11-24 | 2018-03-13 | 珠海市魅族科技有限公司 | A kind of information search method, device, terminal and readable storage medium storing program for executing |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786719A (en) * | 2016-08-25 | 2018-03-09 | 中兴通讯股份有限公司 | Voice document conversion method, device and mobile terminal |
-
2018
- 2018-03-22 CN CN201810240238.XA patent/CN108446389B/en active Active
- 2018-08-17 WO PCT/CN2018/101071 patent/WO2019179014A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2637391A1 (en) * | 2012-03-09 | 2013-09-11 | BlackBerry Limited | Message search method and electronic device |
CN102750365A (en) * | 2012-06-14 | 2012-10-24 | 华为软件技术有限公司 | Retrieval method and system of instant voice messages, user device and server |
CN104714981A (en) * | 2013-12-17 | 2015-06-17 | 腾讯科技(深圳)有限公司 | Voice message search method, device and system |
CN105049637A (en) * | 2015-08-25 | 2015-11-11 | 努比亚技术有限公司 | Device and method for controlling instant communication |
CN105791087A (en) * | 2016-02-27 | 2016-07-20 | 深圳市金立通信设备有限公司 | Media segmentation method, and terminal |
CN105719642A (en) * | 2016-02-29 | 2016-06-29 | 黄博 | Continuous and long voice recognition method and system and hardware equipment |
CN107305541A (en) * | 2016-04-20 | 2017-10-31 | 科大讯飞股份有限公司 | Speech recognition text segmentation method and device |
CN106940618A (en) * | 2017-03-31 | 2017-07-11 | 珠海市魅族科技有限公司 | The player method and device of a kind of voice messaging |
CN107622137A (en) * | 2017-10-23 | 2018-01-23 | 腾讯音乐娱乐科技(深圳)有限公司 | The method and apparatus for searching speech message |
CN107798143A (en) * | 2017-11-24 | 2018-03-13 | 珠海市魅族科技有限公司 | A kind of information search method, device, terminal and readable storage medium storing program for executing |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109274586A (en) * | 2018-11-14 | 2019-01-25 | 深圳市云歌人工智能技术有限公司 | Storage method, device and the storage medium of chat message |
CN109977130A (en) * | 2019-03-29 | 2019-07-05 | 珠海豹好玩科技有限公司 | A kind of hot word methods of exhibiting and system |
CN111625701A (en) * | 2020-05-25 | 2020-09-04 | Oppo广东移动通信有限公司 | Search method, search device, server and storage medium |
CN111625701B (en) * | 2020-05-25 | 2024-01-26 | Oppo广东移动通信有限公司 | Searching method, searching device, server and storage medium |
CN113360636A (en) * | 2021-06-30 | 2021-09-07 | 北京百度网讯科技有限公司 | Content display method, device, equipment and storage medium |
CN113360636B (en) * | 2021-06-30 | 2023-08-01 | 北京百度网讯科技有限公司 | Content display method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108446389B (en) | 2021-12-24 |
WO2019179014A1 (en) | 2019-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446389A (en) | Speech message searching and displaying method, device, computer equipment and storage medium | |
KR102089487B1 (en) | Far-field extension for digital assistant services | |
CN105100360B (en) | Call householder method and device for voice communication | |
KR101816375B1 (en) | Application gateway for providing different user interfaces for limited distraction and non-limited distraction contexts | |
Horvitz et al. | Models of attention in computing and communication: from principles to applications | |
CN108874904A (en) | Speech message searching method, device, computer equipment and storage medium | |
US8122088B2 (en) | Adding personal note capabilities to text exchange clients | |
KR20200039030A (en) | Far-field extension for digital assistant services | |
CN104035995B (en) | Group's label generating method and device | |
CN104679405B (en) | A kind of terminal | |
CN105069013B (en) | The control method and device of input interface are provided in search interface | |
US11366634B2 (en) | Memory retention system | |
CN105519047A (en) | Information transmission method and transmission device | |
KR102136962B1 (en) | Voice interaction at a primary device to access call functionality of a companion device | |
CN109002184A (en) | A kind of association method and device of input method candidate word | |
CN108038102A (en) | Recommendation method, apparatus, terminal and the storage medium of facial expression image | |
CN105827516A (en) | Message processing method and device | |
CN105630849A (en) | Expression image recommendation system and method | |
CN106888308B (en) | A kind of method of speech processing and mobile terminal | |
CN107038080A (en) | A kind of method and terminal for obtaining destination object | |
CN106356056A (en) | Speech recognition method and device | |
US20100203869A1 (en) | Mobile terminal and method for phone number management using image in mobile terminal | |
CN107783650A (en) | A kind of man-machine interaction method and device based on virtual robot | |
CN109951380A (en) | For searching method, electronic equipment and the computer-readable medium of conversation message | |
CN112748828B (en) | Information processing method, device, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |