CN109241338A - Playback of songs method and device - Google Patents
Playback of songs method and device Download PDFInfo
- Publication number
- CN109241338A CN109241338A CN201811119259.2A CN201811119259A CN109241338A CN 109241338 A CN109241338 A CN 109241338A CN 201811119259 A CN201811119259 A CN 201811119259A CN 109241338 A CN109241338 A CN 109241338A
- Authority
- CN
- China
- Prior art keywords
- song
- audio signal
- identity
- similarity
- audio
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000005236 sound signal Effects 0.000 claims abstract description 132
- 238000004590 computer program Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 206010039203 Road traffic accident Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The present invention relates to a kind of playback of songs method and devices, belong to automobile technical field, which is used for automobile audio, this method comprises: when receiving song acquisition instruction, the first audio signal of the first song that acquisition currently plays online;The target song for being greater than preset value with the similarity of first song is obtained according to first audio signal;The target song is saved to specified path, solves driver's operating handset on the run in the related technology, the lower problem of the safety of vehicle driving, the song of preset value can be gone out to be greater than with the similarity of the song according to the audio signals match for the song that automobile audio plays online, driver improves the safety of vehicle driving without operating handset of bowing.
Description
Technical field
The present invention relates to automobile technical field, in particular to a kind of playback of songs method and device.
Background technique
With the fast development and continuous improvement of people's living standards of automotive engineering, automobile has become must in for people's lives
Indispensable walking-replacing tool, requirement of the people to electronic equipment each on vehicle are also higher and higher.For example, automobile audio is as vehicle
On one of important electronic equipment, can play the role of alleviating driving fatigue.Exemplary, automobile audio can be by broadcasting online
Song sing to alleviate driving fatigue.
In the related technology, in vehicle travel process, when driver wants to download and save the song that automobile audio plays online
It is bent or with the song more similar song when, driver needs to download and save by bowing operating handset, in order to
Next time can directly listen to.However great security risk can be brought to traffic safety in operating handset on the run, and
Traffic accident can usually be caused, the safety of vehicle driving is lower.
Summary of the invention
The embodiment of the invention provides a kind of playback of songs method and devices, can solve driver in the related technology and drive
Operating handset in the process, the lower problem of the safety of vehicle driving.The technical solution is as follows:
According to a first aspect of the embodiments of the present invention, a kind of playback of songs method is provided, automobile audio, the method are used for
Include:
When receiving song acquisition instruction, the first audio signal of the first song that acquisition currently plays online;
The target song for being greater than preset value with the similarity of first song is obtained according to first audio signal;
The target song is saved to specified path.
Optionally, described obtained according to first audio signal is greater than preset value with the similarity of first song
Target song, comprising:
First audio signal is sent to the mobile terminal connecting with the automobile audio, the mobile terminal installation
Have and song is listened to know bent application program;
The data for the second song that the mobile terminal is sent are received, second song is that the mobile terminal passes through institute
State listen song know bent application program obtained from network it is corresponding with the maximum audio signal of similarity of first audio signal
Song;
Second song is determined as the target song.
Optionally, the automobile audio, which is equipped with, listens song to know bent application program, described to be obtained according to first audio signal
Take the target song for being greater than preset value with the similarity of first song, comprising:
By it is described listen song know bent application program obtain from network be greater than with the similarity of first audio signal it is described
The corresponding third song of the audio signal of preset value;
The third song is determined as the target song.
Optionally, described to listen the bent application program of song knowledge similar to first audio signal from network acquisition by described
Degree is greater than the corresponding third song of audio signal of the preset value, comprising:
The bent application program of song knowledge is listened to obtain song identity list by described, the song identity list records there are multiple songs
Song mark, each song identity uniquely indicate a song, and the song identity list also records the sound for having every song
The similarity of frequency signal and first audio signal, the similarity of the audio signal of every song and first audio signal
Greater than the preset value;
Whether detection receives song selection instruction in preset duration, and the song selection instruction is used to indicate wait choose
The first song identity, first song identity is the song identity that records in the song identity list;
When receiving the song selection instruction in the preset duration, obtain indicated by first song identity
Song;
Song indicated by first song identity is determined as the third song;
When not receiving the song selection instruction in the preset duration, chosen from the song identity list
Second song identity, the audio signal of song indicated by second song identity and the similarity of first audio signal
It is maximum;
Obtain song indicated by second song identity;
Song indicated by second song identity is determined as the third song.
According to a second aspect of the embodiments of the present invention, a kind of playback of songs device is provided, automobile audio, described device are used for
Include:
Acquisition module, for acquiring the first of the first song currently played online when receiving song acquisition instruction
Audio signal;
Module is obtained, is greater than preset value with the similarity of first song for obtaining according to first audio signal
Target song;
Preserving module, for saving the target song to specified path.
Optionally, the acquisition module, is used for:
First audio signal is sent to the mobile terminal connecting with the automobile audio, the mobile terminal installation
Have and song is listened to know bent application program;
The data for the second song that the mobile terminal is sent are received, second song is that the mobile terminal passes through institute
State listen song know bent application program obtained from network it is corresponding with the maximum audio signal of similarity of first audio signal
Song;
Second song is determined as the target song.
Optionally, the automobile audio, which is equipped with, listens song to know bent application program, the acquisition module, comprising:
Acquisition submodule, for listening the bent application program of song knowledge to obtain and first audio signal from network by described
Similarity is greater than the corresponding third song of audio signal of the preset value;
Submodule is determined, for the third song to be determined as the target song.
Optionally, the acquisition submodule, is used for:
The bent application program of song knowledge is listened to obtain song identity list by described, the song identity list records there are multiple songs
Song mark, each song identity uniquely indicate a song, and the song identity list also records the sound for having every song
The similarity of frequency signal and first audio signal, the similarity of the audio signal of every song and first audio signal
Greater than the preset value;
Whether detection receives song selection instruction in preset duration, and the song selection instruction is used to indicate wait choose
The first song identity, first song identity is the song identity that records in the song identity list;
When receiving the song selection instruction in the preset duration, obtain indicated by first song identity
Song;
Song indicated by first song identity is determined as the third song;
When not receiving the song selection instruction in the preset duration, chosen from the song identity list
Second song identity, the audio signal of song indicated by second song identity and the similarity of first audio signal
It is maximum;
Obtain song indicated by second song identity;
Song indicated by second song identity is determined as the third song.
According to a third aspect of the embodiments of the present invention, a kind of playback of songs device is provided, comprising: memory, processor and
It is stored in the computer program that can be run on the memory and on the processor, the processor executes the computer
Playback of songs method described in first aspect is realized when program.
According to a fourth aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, in the storage medium
It is stored with computer program, playback of songs method described in first aspect is realized when the computer program is executed by processor.
According to a fifth aspect of the embodiments of the present invention, a kind of computer program product comprising instruction is provided, when the meter
When calculation machine program product is run on computers, so that computer executes playback of songs method described in first aspect.
Technical solution provided in an embodiment of the present invention is include at least the following beneficial effects:
When receiving song acquisition instruction, the first audio letter for the first song that automobile audio acquisition currently plays online
Number, and the target song for being greater than preset value with the similarity of the first song is obtained according to first audio signal, later by the mesh
Mark song is saved to specified path, and in order to which driver can directly listen to next time, driver improves without operating handset of bowing
The safety of vehicle driving, for the personal safety of driver, passenger and passerby provides strong safety guarantee.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present invention, attached drawing needed in embodiment description will be made below
Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the invention, common for this field
For technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of playback of songs method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another playback of songs method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another playback of songs method provided in an embodiment of the present invention;
Fig. 4 is the flow chart that a kind of automobile audio provided in an embodiment of the present invention obtains third song from network;
Fig. 5 is a kind of structural schematic diagram of playback of songs device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram for obtaining module provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another playback of songs device provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
In the related technology, in vehicle travel process, when driver wants to download and save the song that automobile audio plays online
It is bent or with the song more similar song when, driver needs to download and save by bowing operating handset.However
Operating handset will disperse the attention of driver on the run, and the visual field of driver can become very narrow, lead to driver
Traffic signals can be missed, can't see prompt announcement column and other traffic signs.And when driver is stranger to the song of broadcasting
When, driver can also take a long time operating handset, thus bring great security risk to traffic safety, and usually
Traffic accident can be caused, the safety of vehicle driving is lower.
And in embodiments of the present invention, automobile audio can be obtained according to the audio signal of the song currently played online
And the song for being greater than preset value with the similarity of the song is saved, driver improves vehicle driving without operating handset of bowing
Safety.
Fig. 1 is a kind of flow chart of playback of songs method provided in an embodiment of the present invention.The playback of songs method is used for vapour
Vehicle sound equipment, as shown in Figure 1, this method comprises:
Step 110, when receiving song acquisition instruction, acquisition currently play online the first song the first audio letter
Number.
During automobile audio plays the first song online, when receiving song acquisition instruction, first song is acquired
The first bent audio signal.
Step 120 obtains the target song for being greater than preset value with the similarity of the first song according to first audio signal.
In the present embodiment, the similarity between the audio signal of song is used for the similarity reflected between song.When
The similarity of the audio signal of the first audio signal and target song of one song be greater than preset value when, it is determined that the first song with
The similarity of target song is greater than preset value;The similarity for determining the audio signal of the first audio signal and target song whether
It is exemplary when greater than preset value, it is corresponding with the audio signal of target song to can detecte the corresponding waveform of the first audio signal
Whether the similarity of waveform is greater than preset value.Such as the audio signal pair when the first audio signal corresponding waveform and target song
When the similarity for the waveform answered is greater than preset value, the similarity of the audio signal of the first audio signal and target song can be determined
Greater than preset value.Wherein, for judging that the preset value of similarity can be arranged according to actual needs, the present embodiment is to preset value
Size without limitation.
Step 130 saves target song to specified path.
Automobile audio get with the similarity of the first song be greater than preset value target song after, target song is saved
To specified path, in order to which driver can directly listen to next time.By the playback of songs method, the joy of driver can satisfy
Happy demand, and can be to avoid the generation because of unsafe accident caused by driver's operating handset.
In conclusion playback of songs method provided in an embodiment of the present invention, when receiving song acquisition instruction, automobile sound
The first audio signal of the first song that acquisition currently plays online is rung, and is obtained and the first song according to first audio signal
Similarity be greater than preset value target song, the target song is saved to specified path later, in order to driver next time
It can directly listen to, driver improves the safety of vehicle driving without operating handset of bowing, and is driver, passenger and road
The personal safety of people provides strong safety guarantee.
Wherein, in the step 120, automobile audio obtains according to first audio signal and is greater than with the similarity of the first song
The target song of preset value can there are many modes of can be achieved.Exemplary, in a kind of achievable mode, automobile audio can lead to
That crosses mobile terminal listens song to know bent application program acquisition target song;In the achievable mode of another kind, automobile audio can lead to
That crosses itself listens song to know bent application program acquisition target song.The present invention can be provided for realization mode by both below
Playback of songs method be illustrated.
The first can be in realization mode, as shown in Fig. 2, the playback of songs method may include:
Step 210, when receiving song acquisition instruction, the of the first song that automobile audio acquisition currently plays online
One audio signal.
During automobile audio plays the first song online, when receiving song acquisition instruction, first song is acquired
The first bent audio signal.
Optionally, driver can generate song acquisition instruction by the key on operation steering wheel, this is pressed on steering wheel
Key is electrically connected with automobile audio.When driver wants to download and save the song that automobile audio plays online or similar to the song
Song when, driver can press the key on steering wheel, generate song acquisition instruction.Automobile audio is received by driving
When the song acquisition instruction of member's triggering, pass through the first audio signal of the first song that microphone acquisition currently plays online.
First audio signal is sent to the mobile terminal connecting with automobile audio by step 220, automobile audio, the movement
Terminal, which is equipped with, listens song to know bent application program.
Mobile terminal has a networking function, and mobile terminal from web search and can be downloaded by listening song to know bent application program
Song.First audio signal of acquisition is sent to the mobile terminal for being equipped with and song being listened to know bent application program by automobile audio, so that
Mobile terminal from web search and is downloaded and the maximum target song of similarity of the first song according to first audio signal.
It is exemplary, mobile terminal can for smart phone, intelligent wearable device (such as Intelligent bracelet), tablet computer or
Laptop etc., mobile terminal installation listen song know bent application program can for QQ music, KuGoo music etc. it is any have listen
Song knows the application program of Qu Gongneng.The present embodiment is to the type of mobile terminal and song is listened to know bent application program without limitation.
Connection between mobile terminal and automobile audio can be wired connection or wireless connection.Assuming that mobile terminal is hand
Machine, automobile audio can be established by on-vehicle Bluetooth function and mobile phone and be wirelessly connected, and mobile phone mapping function and hand can also be passed through
Machine establishes wired connection.
Step 230, automobile audio receive the data for the second song that mobile terminal is sent, and the second song is that mobile terminal is logical
It crosses and song is listened to know the song corresponding with the maximum audio signal of the similarity of the first audio signal that bent application program is obtained from network.
After mobile terminal receives the first audio signal of automobile audio transmission, by listening song to know bent application program from network
It searches for and downloads the second song corresponding with the maximum audio signal of the similarity of the first audio signal.Later, mobile terminal will
The data of second song of downloading are sent to automobile audio.
Optionally, when mobile terminal is from web search to corresponding with the maximum audio signal of the similarity of the first audio signal
The second song when, automobile audio can export acquisition prompt information, and the acquisition prompt information is for downloading to the second song
It is prompted.For example, the acquisition prompt information of automobile audio output can be speech prompt information, which can be with
Are as follows: " having searched song a, whether PLSCONFM downloads now ".When automobile audio receives acquisition instruction in preset duration,
Automobile audio indicates that mobile terminal downloads second song from network.Wherein, driver can pass through pressing on operation steering wheel
Key generates the acquisition instruction.
Second song is determined as target song by step 240, automobile audio.
When automobile audio receives the data of the second song of mobile terminal transmission, the second song is determined as target song
It is bent.
Step 250, automobile audio save target song to specified path.
Automobile audio saves target song to specified path, in order to which driver can directly listen to next time.This is specified
Path can be what driver pre-set.The target song that automobile audio obtains every time is all saved to the specified path.
In addition, automobile audio can also be modified specified path under the operation of driver, automobile audio is subsequent to be obtained
The target song taken will be in the path after being saved in change.
In conclusion playback of songs method provided in an embodiment of the present invention, when receiving song acquisition instruction, automobile sound
First audio signal of the first song that sound acquisition currently plays online, and listen the bent application program of song knowledge to obtain by mobile terminal
The target song for being greater than preset value with the similarity of the first song is taken, later saves the target song to specified path, so as to
It can directly be listened to next time in driver, driver improves the safety of vehicle driving without operating handset of bowing, to drive
The personal safety of member, passenger and passerby provide strong safety guarantee.
In second of achievable mode, as shown in figure 3, the playback of songs method may include:
Step 310, when receiving song acquisition instruction, the of the first song that automobile audio acquisition currently plays online
One audio signal.
Step 310 can refer to step 210.
Step 320, automobile audio, which pass through, listens song to know similarity of the bent application program from network acquisition and the first audio signal
Third song corresponding greater than the audio signal of preset value.
In this kind of achievable mode, automobile audio, which is equipped with, to be listened song to know bent application program and has networking function, automobile
Sound equipment from web search and can download song by listening song to know bent application program.
In step 320, automobile audio, which passes through, listens song to know phase of the bent application program from network downloading and the first audio signal
It is greater than the corresponding third song of audio signal of preset value like degree.
Optionally, when automobile audio is believed from web search to the audio for being greater than preset value with the similarity of the first audio signal
When number corresponding third song, automobile audio can export acquisition prompt information, which is used for third song
Downloading prompted.For example, the acquisition prompt information of automobile audio output can be speech prompt information.When automobile audio exists
When receiving the acquisition instruction triggered by driver in preset duration, automobile audio downloads the third song from network.
In step 320, automobile audio can first obtain the song identity list that record has multiple song identities, then root
Corresponding song is downloaded according to the song selection instruction of driver's triggering.It is exemplary, as shown in figure 4, step 320 may include:
Step 321, automobile audio obtain song identity list by listening song to know bent application program.Execute step 322.
The song identity list records have multiple song identities, and each song identity uniquely indicates a song, the song
Identification list also records the similarity of the audio signal Yu the first audio signal that have every song, the audio signal of every song with
The similarity of first audio signal is greater than preset value.Exemplary, the song identity of song identity list records can be song title
Claim.
In the present embodiment, automobile audio can be shielded by middle control and be shown to obtained song identity list.
Assuming that the first song that automobile audio currently plays online is song A, and by taking song identity is song title as an example, vapour
Vehicle sound equipment passes through the song identity list for listening the bent application program of song knowledge to obtain can be as shown in table 1.Song identity list in table 1
Record has 3 song titles, this 3 song titles are respectively as follows: a1, a2 and a3, and each song title uniquely indicates a song.
The audio signal of every song and the similarity of the first audio signal are all larger than preset value y in this 3 song.Wherein, song title
Referred to as the similarity of the audio signal of the song of a1 and the first audio signal is x1, and song title is the audio signal of the song of a2
Similarity with the first audio signal is x2, and song title is the audio signal of the song of a3 and the similarity of the first audio signal
For x3, and x1 > x2 > x3.
Table 1
Song title | Similarity |
a1 | x1 |
a2 | x2 |
a3 | x3 |
Whether step 322, automobile audio detection receive song selection instruction in preset duration, the song selection instruction
It is used to indicate the first song identity to be chosen.When receiving album in preset duration and selecting instruction, step 323 is executed;
When not receiving song selection instruction in preset duration, step 325 is executed.
Wherein, the first song identity is the song identity recorded in song identity list.
In the present embodiment, when driver thinks oneself song to be downloaded of selection, driver can be in preset duration
The a certain song identity in the song identity list for controlling screen display in automobile audio is clicked, when automobile audio is received by driving
When the song selection instruction of member's triggering, automobile audio downloads corresponding song from network according to the instruction of driver.Work as driver
When not clicking on the song identity in song identity list in preset duration, automobile audio then downloads the maximum song of similarity automatically
It is bent.Exemplary, preset duration can be 5 seconds~10 seconds.
Step 323, automobile audio obtain song indicated by the first song identity.Execute step 324.
When receiving album in preset duration and selecting instruction, it is signified that automobile audio from network downloads the first song identity
The song shown.
For example, referring to table 1, when driver will download song indicated by song title a1, can in preset duration point
The song title a1 in the upper song identity list of control screen is hit, automobile audio is received to be referred to by the song selection of driver's triggering
It enables, downloads song indicated by song title a1 from network.In the present embodiment, driver can be according to actual demand from song
Any song identity is selected in identification list, so that automobile audio downloads corresponding song from network.
Song indicated by first song identity is determined as third song by step 324, automobile audio.
Step 325, automobile audio choose the second song identity from song identity list, indicated by second song identity
Song audio signal and the first audio signal similarity it is maximum.Execute step 326.
Wherein, the second song identity may be the same or different with the first song identity.
When automobile audio does not receive song selection instruction in preset duration, automobile audio is then automatically from song identity
The second song identity is chosen in list, the phase of the audio signal and the first audio signal of song indicated by second song identity
It is maximum like degree.Such as in table 1, the similarity of the audio signal of song indicated by song title a1 and the first audio signal is most
Greatly, so the second song identity is song title a1.
Step 326, automobile audio obtain song indicated by the second song identity.Execute step 327.
After automobile audio has determined the second song identity, song indicated by second song identity is downloaded from network.
Song indicated by second song identity is determined as third song by step 327, automobile audio.
Third song is determined as target song by step 330, automobile audio.
The third song that step 320 obtains is determined as target song by automobile audio.
Step 340, automobile audio save target song to specified path.
Step 340 can refer to step 250.
In conclusion playback of songs method provided in an embodiment of the present invention, when receiving song acquisition instruction, automobile sound
The first audio signal of the first song that acquisition currently plays online is rung, and is obtained and the first song by listening song to know bent application program
Bent similarity is greater than the target song of preset value, later saves the target song to specified path, in order under driver
Secondary directly to listen to, driver improves the safety of vehicle driving without operating handset of bowing, and is driver, Cheng Keji
The personal safety of passerby provides strong safety guarantee.
It should be noted that the sequencing of the step of playback of songs method provided in an embodiment of the present invention can be fitted
Work as adjustment, playback of songs method and step according to circumstances can also accordingly be increased and decreased.Any technology people for being familiar with the art
Member in the technical scope disclosed by the present invention, the method that variation can be readily occurred in, should all cover protection scope of the present invention it
It is interior, therefore repeat no more.
Fig. 5 is a kind of structural schematic diagram of playback of songs device 500 provided in an embodiment of the present invention.The playback of songs device
500 are used for automobile audio, as shown in figure 5, the playback of songs device 500 includes:
Acquisition module 510, for when receiving song acquisition instruction, the of the first song that acquisition currently plays online
One audio signal.
Module 520 is obtained, for obtaining the mesh for being greater than preset value with the similarity of the first song according to the first audio signal
Mark song.
Preserving module 530, for saving target song to specified path.
Playback of songs device provided in an embodiment of the present invention, acquisition module when receiving song acquisition instruction, work as by acquisition
First audio signal of preceding the first song played online obtains module and is obtained and the first song according to first audio signal
Similarity is greater than the target song of preset value, and preserving module saves the target song to specified path later, in order to drive
Member can directly listen to next time, and driver improves the safety of vehicle driving without operating handset of bowing, and for driver, multiply
The personal safety of visitor and passerby provide strong safety guarantee.
Optionally, module 520 is obtained, is used for:
First audio signal is sent to the mobile terminal connecting with automobile audio, mobile terminal, which is equipped with, listens song knowledge song to answer
Use program;
The data for the second song that mobile terminal is sent are received, which is mobile terminal by listening song to know Qu Yingyong
The song corresponding with the maximum audio signal of the similarity of the first audio signal that program is obtained from network;
Second song is determined as target song.
Optionally, automobile audio, which is equipped with, listens song to know bent application program, as shown in fig. 6, acquisition module 520 may include:
Acquisition submodule 521, for similar to the first audio signal from network acquisition by listening song to know bent application program
Degree is greater than the corresponding third song of audio signal of preset value.
Submodule 522 is determined, for third song to be determined as target song.
Wherein, acquisition submodule 521 are used for:
Song identity list is obtained by listening song to know bent application program, which there are multiple song marks
Know, each song identity uniquely indicates a song, which also records the audio signal for having every song and the
The similarity of the similarity of one audio signal, the audio signal of every song and the first audio signal is greater than preset value;
Whether detection receives song selection instruction in preset duration, which is used to indicate to be chosen
First song identity, first song identity are the song identity recorded in song identity list;When being received in preset duration
When to song selection instruction, song indicated by the first song identity is obtained;Song indicated by first song identity is determined
For third song;
When not receiving song selection instruction in preset duration, the second song mark is chosen from song identity list
Know, the audio signal of song indicated by second song identity and the similarity of the first audio signal are maximum;Obtain the second song
The indicated song of song mark;Song indicated by second song identity is determined as third song.
In conclusion playback of songs device provided in an embodiment of the present invention, acquisition module is receiving song acquisition instruction
When, the first audio signal of the first song that acquisition currently plays online, obtain module according to first audio signal obtain with
The similarity of first song is greater than the target song of preset value, for example, can by mobile terminal listen song know bent application program or
Person's automobile audio listens song to know bent application program acquisition target song, and preserving module saves the target song to specified circuit later
Diameter, in order to which driver can directly listen to next time, driver improves the safety of vehicle driving without operating handset of bowing
Property, strong safety guarantee is provided for the personal safety of driver, passenger and passerby.
Fig. 7 is the structural schematic diagram of another playback of songs device 700 provided in an embodiment of the present invention.Playback of songs dress
Setting 700 includes: memory 710, processor 720 and is stored in the computer that can be run on memory 710 and on processor 720
Program 711.Processor 720 realizes that playback of songs method provided by the above embodiment, the song are broadcast when executing computer program 711
The method of putting can be as shown in Figure 1, Figure 2 or shown in Fig. 3.
The embodiment of the present invention also provides a kind of computer readable storage medium, which is non-volatile readable storage
Medium is stored with computer program in the storage medium, which realizes that above-described embodiment mentions when being executed by processor
The playback of songs method of confession.
The embodiment of the present invention also provides a kind of computer program product comprising instruction, when the computer program product is being counted
When being run on calculation machine, so that computer executes playback of songs method provided by the above embodiment.
The embodiment of the present invention also provides a kind of chip, which includes programmable logic circuit and/or program instruction, works as core
For executing playback of songs method provided by the above embodiment when piece is run.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
, can be with reference to the specific work process of each step in embodiment of the method with the specific work process of module, details are not described herein.
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are wanted by right
It asks and points out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of playback of songs method, which is characterized in that be used for automobile audio, which comprises
When receiving song acquisition instruction, the first audio signal of the first song that acquisition currently plays online;
The target song for being greater than preset value with the similarity of first song is obtained according to first audio signal;
The target song is saved to specified path.
2. the method according to claim 1, wherein described obtain and described the according to first audio signal
The similarity of one song is greater than the target song of preset value, comprising:
First audio signal is sent to the mobile terminal connecting with the automobile audio, the mobile terminal, which is equipped with, to be listened
Song knows bent application program;
The data for the second song that the mobile terminal is sent are received, second song is that the mobile terminal is listened by described
Song knows the song corresponding with the maximum audio signal of similarity of first audio signal that bent application program is obtained from network;
Second song is determined as the target song.
3. listen song to know bent application program the method according to claim 1, wherein the automobile audio is equipped with,
It is described that the target song for being greater than preset value with the similarity of first song is obtained according to first audio signal, comprising:
The bent application program of song knowledge is listened to be greater than described preset from the similarity of network acquisition and first audio signal by described
The corresponding third song of the audio signal of value;
The third song is determined as the target song.
4. according to the method described in claim 3, it is characterized in that, described listen the bent application program of song knowledge to obtain from network by described
Take third song corresponding greater than the audio signal of the preset value with the similarity of first audio signal, comprising:
The bent application program of song knowledge is listened to obtain song identity list by described, the song identity list records there are multiple song marks
Know, each song identity uniquely indicates a song, and the song identity list, which also records, has the audio of every song to believe
Similarity number with first audio signal, the audio signal of every song and the similarity of first audio signal are greater than
The preset value;
Whether detection receives song selection instruction in preset duration, and the song selection instruction is used to indicate to be chosen the
One song identity, first song identity are the song identity recorded in the song identity list;
When receiving the song selection instruction in the preset duration, song indicated by first song identity is obtained
It is bent;
Song indicated by first song identity is determined as the third song;
When not receiving the song selection instruction in the preset duration, second is chosen from the song identity list
The similarity of song identity, the audio signal of song indicated by second song identity and first audio signal is most
Greatly;
Obtain song indicated by second song identity;
Song indicated by second song identity is determined as the third song.
5. a kind of playback of songs device, which is characterized in that be used for automobile audio, described device includes:
Acquisition module, for acquiring the first audio of the first song currently played online when receiving song acquisition instruction
Signal;
Module is obtained, for obtaining the mesh for being greater than preset value with the similarity of first song according to first audio signal
Mark song;
Preserving module, for saving the target song to specified path.
6. device according to claim 5, which is characterized in that the acquisition module is used for:
First audio signal is sent to the mobile terminal connecting with the automobile audio, the mobile terminal, which is equipped with, to be listened
Song knows bent application program;
The data for the second song that the mobile terminal is sent are received, second song is that the mobile terminal is listened by described
Song knows the song corresponding with the maximum audio signal of similarity of first audio signal that bent application program is obtained from network;
Second song is determined as the target song.
7. device according to claim 5, which is characterized in that the automobile audio, which is equipped with, listens song to know bent application program,
The acquisition module, comprising:
Acquisition submodule, for by it is described listen song know bent application program obtain from network it is similar to first audio signal
Degree is greater than the corresponding third song of audio signal of the preset value;
Submodule is determined, for the third song to be determined as the target song.
8. device according to claim 7, which is characterized in that the acquisition submodule is used for:
The bent application program of song knowledge is listened to obtain song identity list by described, the song identity list records there are multiple song marks
Know, each song identity uniquely indicates a song, and the song identity list, which also records, has the audio of every song to believe
Similarity number with first audio signal, the audio signal of every song and the similarity of first audio signal are greater than
The preset value;
Whether detection receives song selection instruction in preset duration, and the song selection instruction is used to indicate to be chosen the
One song identity, first song identity are the song identity recorded in the song identity list;
When receiving the song selection instruction in the preset duration, song indicated by first song identity is obtained
It is bent;
Song indicated by first song identity is determined as the third song;
When not receiving the song selection instruction in the preset duration, second is chosen from the song identity list
The similarity of song identity, the audio signal of song indicated by second song identity and first audio signal is most
Greatly;
Obtain song indicated by second song identity;
Song indicated by second song identity is determined as the third song.
9. a kind of playback of songs device characterized by comprising memory and is stored on the memory and can processor
The computer program run on the processor, the processor realize Claims 1-4 when executing the computer program
Any playback of songs method.
10. a kind of computer readable storage medium, which is characterized in that computer program is stored in the storage medium, it is described
Claims 1-4 any playback of songs method is realized when computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811119259.2A CN109241338A (en) | 2018-09-25 | 2018-09-25 | Playback of songs method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811119259.2A CN109241338A (en) | 2018-09-25 | 2018-09-25 | Playback of songs method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109241338A true CN109241338A (en) | 2019-01-18 |
Family
ID=65057413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811119259.2A Pending CN109241338A (en) | 2018-09-25 | 2018-09-25 | Playback of songs method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109241338A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082799A (en) * | 2011-01-26 | 2011-06-01 | 惠州市德赛西威汽车电子有限公司 | Vehicle-carried multimedia service system accessing method and system thereof |
CN102497401A (en) * | 2011-11-30 | 2012-06-13 | 上海博泰悦臻电子设备制造有限公司 | Music media information acquiring method and system of vehicle-mounted music system |
CN102521302A (en) * | 2011-11-30 | 2012-06-27 | 上海博泰悦臻电子设备制造有限公司 | Method and system for acquiring music media information of vehicle-mounted multimedia system |
CN104797001A (en) * | 2015-03-10 | 2015-07-22 | 高唱 | Music playing method and vehicle-mounted music playing system |
CN104978962A (en) * | 2014-04-14 | 2015-10-14 | 安徽科大讯飞信息科技股份有限公司 | Query by humming method and system |
CN105515702A (en) * | 2014-09-23 | 2016-04-20 | 大陆汽车投资(上海)有限公司 | Method for acquiring media information of radio station music, and vehicle radio set |
CN108241711A (en) * | 2016-12-27 | 2018-07-03 | 乐视汽车(北京)有限公司 | Song recognition method and device |
-
2018
- 2018-09-25 CN CN201811119259.2A patent/CN109241338A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102082799A (en) * | 2011-01-26 | 2011-06-01 | 惠州市德赛西威汽车电子有限公司 | Vehicle-carried multimedia service system accessing method and system thereof |
CN102497401A (en) * | 2011-11-30 | 2012-06-13 | 上海博泰悦臻电子设备制造有限公司 | Music media information acquiring method and system of vehicle-mounted music system |
CN102521302A (en) * | 2011-11-30 | 2012-06-27 | 上海博泰悦臻电子设备制造有限公司 | Method and system for acquiring music media information of vehicle-mounted multimedia system |
CN104978962A (en) * | 2014-04-14 | 2015-10-14 | 安徽科大讯飞信息科技股份有限公司 | Query by humming method and system |
CN105515702A (en) * | 2014-09-23 | 2016-04-20 | 大陆汽车投资(上海)有限公司 | Method for acquiring media information of radio station music, and vehicle radio set |
CN104797001A (en) * | 2015-03-10 | 2015-07-22 | 高唱 | Music playing method and vehicle-mounted music playing system |
CN108241711A (en) * | 2016-12-27 | 2018-07-03 | 乐视汽车(北京)有限公司 | Song recognition method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8862252B2 (en) | Audio user interface for displayless electronic device | |
CN107071174B (en) | A kind of method of speech processing and mobile terminal | |
CN106020612B (en) | A kind of data display method and mobile terminal | |
CN105827825A (en) | Audio data processing method and mobile terminal | |
WO2006080321A1 (en) | Av processing device, av processing method, and program | |
CN106341538B (en) | A kind of method for pushing and mobile terminal of lyrics poster | |
CN101414241A (en) | Mobile terminal and method of displaying menu thereof | |
CN104239381A (en) | Portable terminal and user interface method in portable terminal | |
CN106446180A (en) | Song recognition method and mobile terminal | |
CN105242552B (en) | Bootstrap technique and device are installed | |
CN105528438A (en) | Method for visualizing audio content in radio broadcasting | |
CN111665936A (en) | Music collection method and device, electronic equipment and medium | |
CN108334623A (en) | Display methods, the device and system of song | |
CN103092981A (en) | Method and electronic equipment for building speech marks | |
CN106384599A (en) | Cracking voice identification method and device | |
CN104898821A (en) | Information processing method and electronic equipment | |
CN112988108A (en) | Information playing method and device, electronic equipment and storage medium | |
CN106599204A (en) | Method and device for recommending multimedia content | |
CN106484411A (en) | A kind of method for pushing of mobile terminal wallpaper and mobile terminal | |
CN103165149A (en) | Vehicle-mounted terminal and vehicle-mounted terminal music playing method | |
US20240054157A1 (en) | Song recommendation method and apparatus, electronic device, and storage medium | |
CN112445393A (en) | Data processing method, device, equipment and machine readable medium | |
CN107562404A (en) | A kind of audio frequency playing method, mobile terminal and computer-readable recording medium | |
CN106303841A (en) | The changing method of a kind of audio frequency broadcast mode and mobile terminal | |
CN106293455A (en) | The vehicle entertainment system processing method to physical button with touch screen combination input |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190118 |