CN109684288A - Synchronous music method, terminal device and the automobile of different terminals - Google Patents
Synchronous music method, terminal device and the automobile of different terminals Download PDFInfo
- Publication number
- CN109684288A CN109684288A CN201811514775.5A CN201811514775A CN109684288A CN 109684288 A CN109684288 A CN 109684288A CN 201811514775 A CN201811514775 A CN 201811514775A CN 109684288 A CN109684288 A CN 109684288A
- Authority
- CN
- China
- Prior art keywords
- information
- music
- character string
- terminal
- musical designation
- 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
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The embodiment of the invention provides a kind of synchronous music methods of different terminals, comprising: second terminal receives the Bluetooth information that the music player of first terminal is sent during music;It obtains in the Bluetooth information for characterizing the character string information of musical designation and/or author information;The character string information is parsed to obtain corresponding musical designation and/or author information;Corresponding music data is downloaded based on the musical designation and/or author information to complete synchronous music.Based on above scheme, user does not need to carry out any manual operation, can be locally generated music playlist during music, realize the seamless migration of music playlist in other terminals;Moreover, the program can break the technical barrier between each music player, the playlist in different music players is merged.The embodiment of the invention also provides a kind of terminal device and automobiles.
Description
Technical field
The present invention relates to vehicle Internet technical fields, and in particular to a kind of synchronous music method, the terminal of different terminals
Equipment and automobile.
Background technique
The ownership of random improvement of living standard, automobile is increasing.
Many people's habits onboard listen song, and in order to listen to the music often listened on mobile phone, many people can use vehicle-mounted middle control
System bluetooth connection mobile phone music player carries out music.But music itself is played by bluetooth and will cause sound quality
Loss can not be listening experience that user provides.
With the rise of internet automobile, user directly can also play the sound oneself liked by vehicle-mounted central control system
It is happy, but this mode just needs user to search for one by one and downloads the music oneself liked to play out, this process is very numerous
It is trivial, and user needs to spend the time longer could form new favorites list in vehicle-mounted central control system.
Therefore, user is still faced with awkward choice.
Summary of the invention
In order at least be partially solved existing technology there are the problem of, an embodiment of the present invention is intended to provide a kind of different terminals
Synchronous music method, terminal device and automobile.
According in a first aspect, providing a kind of synchronous music method of different terminals in a kind of embodiment, comprising:
Second terminal receives the Bluetooth information that the music player of first terminal is sent during music;
Second terminal obtains in the Bluetooth information for characterizing the character string information of musical designation and/or author information;
Second terminal parses the character string information to obtain corresponding musical designation and/or author information;
Second terminal is based on the musical designation and/or the corresponding music data of author information downloading is same to complete music
Step.
Preferably, the method also includes previous steps:
Judge whether Bluetooth information transmission state is stable, if stablized, starts to parse Bluetooth information.
It is preferably, described to judge whether Bluetooth information transmission state is stable, comprising:
Judge that front and back receives whether the time interval of identical Bluetooth information is more than preset value twice, if be less than,
It is determined as information transmission state to stablize.
Preferably, the second terminal parses the character string information to obtain corresponding musical designation and/or author's letter
The step of breath includes:
The character string is parsed according to preset asterisk wildcard resolution rules, wherein the preset asterisk wildcard parsing
Rule is determined by the string format that the music player in the first terminal transmits.
Preferably, carrying out parsing according to default asterisk wildcard resolution rules to the character string includes:
The character string is parsed with preset coding mode;
Judge whether the character string includes separator;
If so, extracting the field of the separator front and back respectively;
Respectively using the field of the separator front and back as character keyword, carried out in author information database
Character Keywords matching;
Using the character keyword of successful match as author information, using another character keyword as musical designation.
Preferably, when not including separator in the character string, further comprise:
Semantic analysis is carried out to the character string, extracts semantic key words;
Semantic key words matching is carried out in author information database and musical designation database according to semantic key words;
The high semantic key words of the matching degree in author information database are determined as author information;
The high semantic key words of the matching degree in musical designation database are determined as musical designation.
Preferably, the method also includes:
Whether invalid the character string is judged, if it is, abandoning the character string.
It is preferably, described to judge whether the character string is invalid, comprising:
Judge whether the character string is null character or is started with http;
If so, confirming that the character string is invalid.
According to fourth aspect, a kind of terminal device is provided in a kind of embodiment, comprising:
Include:
Memory, for storing program;
Processor, for the program by executing the memory storage to realize method as described in relation to the first aspect;
Further include: display device and music player;Wherein,
The display device, for showing synchronous music information;
The music player, for playing music.
According to the third aspect, a kind of automobile is provided in a kind of embodiment, including terminal device described in second aspect.
According to fourth aspect, a kind of computer readable storage medium is provided in a kind of embodiment, this is computer-readable to deposit
Storage media includes program, and described program is used to be executed by processor to realize the method as described in above-mentioned first aspect.
Compared with prior art, the embodiment of the present invention at least has following advantages:
The synchronous music method of a kind of different terminals provided according to embodiments of the present invention, comprising: second terminal receives the
The Bluetooth information that the music player of one terminal is sent during music;Second terminal obtains to be used in the Bluetooth information
In characterization musical designation and/or the character string information of author information;It is corresponding to obtain that second terminal parses the character string information
Musical designation and/or author information;Second terminal is based on the musical designation and/or author information downloads corresponding music number
Synchronous music is completed accordingly.Therefore, the present invention at least has the advantages that
1, the technical solution that a whole set of user's music playlist is migrated from first terminal to second terminal, the party are provided
Case is simply, conveniently, it is only necessary to open bluetooth, can obtain music information being played on during music, realize other
The seamless migration of music playlist in terminal;
2, the synchronous music scheme of this different terminals can break the technical barrier between each music player, that is, come from
Music storage information can be generated in second terminal in the Bluetooth music of different music players and is saved to music
List, so as to merge the music playlist in different music players.
Detailed description of the invention
Fig. 1 is a kind of flow chart of synchronous music method of different terminals of the present invention in one embodiment;
Fig. 2 is a kind of exemplary process diagram of synchronous music method of different terminals of the present invention in one embodiment.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.Wherein different embodiments
Middle similar component uses associated similar element numbers.In the following embodiments, many datail descriptions be in order to
The application is better understood.However, those skilled in the art can recognize like a dream, part of feature
It is dispensed, or can be substituted by other elements, material, method in varied situations.In some cases, this Shen
Please it is relevant it is some operation there is no in the description show or describe, this is the core in order to avoid the application by mistake
More descriptions are flooded, and to those skilled in the art, these relevant operations, which are described in detail, not to be necessary, they
Relevant operation can be completely understood according to the general technology knowledge of description and this field in specification.
It is formed respectively in addition, feature described in this description, operation or feature can combine in any suitable way
Kind embodiment.Meanwhile each step in method description or movement can also can be aobvious and easy according to those skilled in the art institute
The mode carry out sequence exchange or adjustment seen.Therefore, the various sequences in the description and the appended drawings are intended merely to clearly describe a certain
A embodiment is not meant to be necessary sequence, and wherein some sequentially must comply with unless otherwise indicated.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.And " connection ", " connection " described in the application, unless otherwise instructed, include directly and
It is indirectly connected with (connection).
Currently, the information transmitted is pcm fluid sound source information when Bluetooth technology is used for music.But pcm fluid sound
Source information does not carry special audio fingerprint information and copyright information, thus cannot be directly by way of importing pcm stream
To generate music file.It include two available placeholders (character string) in pcm fluid sound source information, one can be used for storing sound
Happy name, another can be used for storing singer's name.But, about the assemble method of the two placeholders, different mobile phone terminal app has
Different modes.For example, KuGoo concert adds title of the song and singer informations simultaneously on music name placeholder, and with special symbol
Number "-" separates the two information, and what is added on singer's name placeholder is lyrics information.
Embodiment one
The embodiment of the present invention one provides a kind of synchronous music method of different terminals, referring to Fig.1, the method packet
It includes:
The bluetooth letter that the music player that step 101, second terminal receive first terminal is sent during music
Breath;
Practical to realize, the terminal that the first terminal and second terminal can be same type is also possible to different type
Terminal.After first terminal is connected by bluetooth with second terminal by user, first can be played by second terminal
Music in terminal.During music, second terminal can also receive Bluetooth information in addition to receiving audio.
The first terminal and second terminal can be the tool such as vehicle-mounted middle control large-size screen monitors, mobile phone, tablet computer, laptop
The terminal of standby Bluetooth function.The music player that the music played is installed in second terminal.
It is further comprising the steps of before the Bluetooth information transmitted in the reception Bluetooth music playing process:
Second terminal receives bluetooth open command, opens bluetooth;
Second terminal receives the first Bluetooth connection request that first terminal is sent, and carries out identities match, and successful match is then same
It anticipates and first Bluetooth connection request and establishes bluetooth connection with first terminal;Alternatively,
Second terminal sends the second Bluetooth connection request to first terminal, carries out identities match, and successful match is simultaneously receiving
After the response message of the agreement bluetooth connection sent to first terminal, bluetooth connection is carried out with the first terminal.
Further comprise:
Judge whether Bluetooth information transmission state is stable, if stablized, starts to parse Bluetooth information.
Specifically, described judge whether Bluetooth information transmission state is stable, comprising:
Judge that front and back receives whether the time interval of identical Bluetooth information is more than preset value twice, if be less than,
It is determined as information transmission state to stablize.
Bluetooth information corresponding to different music is different, and the beginning of usually every first song, whithin a period of time, first eventually
End repeatedly can send multiple Bluetooth information to second terminal.But start to receive Bluetooth information within several seconds in music
When, not can determine that the received character string information for characterizing musical designation and/or author information be correctly, this
It is to be likely to a first song included in Bluetooth information because Bluetooth information at this time is also unstable and be used to characterize sound
The character string information of happy title and/or author information, it is also possible to which upper one first song is used to characterize musical designation and/or author
The character string information of information generates after mixing with the character string information for characterizing musical designation and/or author information that this head is sung
Messy code information, therefore, it is necessary to judge front and back receive whether the time interval of identical Bluetooth information is more than preset threshold twice,
If be less than, it is determined that Bluetooth information transmission state stablize, at this point, just can confirm that the Bluetooth information received be stablize with just
True.The preset threshold is configured generally according to actual needs, such as 5 seconds, 6 seconds etc..
Step 102, second terminal obtain in the Bluetooth information for characterizing the character of musical designation and/or author information
String information;
When music starts to play, the Bluetooth information that second terminal will receive first terminal and be sent by bluetooth is described
It include the character string information for characterizing musical designation and/or author information in Bluetooth information.
In Bluetooth information, the character string information for characterizing musical designation and/or author information is usually two occupy-places
Symbol, different players have different formats to define the two placeholders.
For example, for characterizing the character string information format of musical designation and/or author information defined in qq music are as follows:
Titile: public notice balloon/n
Subtitle: Zhou Jielun/n
For characterizing the character string information format of musical designation and/or author information defined in KuGoo music are as follows:
Title: Zhou Jielun-public notice balloon/n
Subtitle: the lyrics/n
From above-mentioned definition as it can be seen that title and subtitle are the character strings for characterizing musical designation and/or author information
The beginning flag of information accords with, and/n is the end mark symbol for characterizing the character string information of musical designation and/or author information.
However, it is desirable to explanation when, rising for the character string information for characterizing musical designation and/or author information in Bluetooth information
Beginning identifier and end mark symbol are not limited to above-mentioned example, and in practical application, beginning flag symbol and end mark symbol can be with
Using any letter, number, symbol or a combination thereof form.
Therefore, it can be accorded with according to beginning flag and end mark symbol is obtained from Bluetooth protocol for characterizing musical designation
And/or the character string information of author information, that is, when reading beginning flag symbol, start the acquisition for carrying out character string information, directly
To the acquisition for terminating current string information when reading end mark symbol.
Certainly, the character string information format for characterizing musical designation and/or author information above is only illustrated, practical
In application, the content not necessarily Chinese character between beginning flag symbol and end mark symbol, is also possible to any type of
Encoded information.
Step 103, second terminal parse the character string information to obtain corresponding author information and/or musical designation;
Character string information for characterizing musical designation and/or author information generally comprises two component parts, such as on
Face enumerate using title and subtitle as two parts information of beginning flag.Many mainstream player softwares can be in a part
Author information and musical designation are separated using separator "-" in character string information, there are also players by author information and sound
Happy title is individually placed in two component parts of character string information.The character string rule of different music players is different,
Therefore, asterisk wildcard resolution rules need to carry out by string format that the music player in the first terminal is transmitted
It determines.
For different situations, the method for determining author information and musical designation is had nothing in common with each other.
The second terminal parses the step of character string information is to obtain corresponding musical designation and/or author information
Include:
The character string is parsed according to preset asterisk wildcard resolution rules, wherein the preset asterisk wildcard solution
Analysis rule is determined by the string format that the music player in the first terminal transmits.
Specifically, to the character string according to default asterisk wildcard resolution rules carry out parsing include:
The character string is parsed with preset coding mode;
Later, judge whether the character string includes separator;
If it is, can be handled according to following any modes:
The first: being determined as author information for the field before the separator, and the subsequent field of the separator is true
It is set to musical designation.
Second: extracting the field of the separator front and back respectively;
Respectively using the field of the separator front and back as character keyword, carried out in author information database
Character Keywords matching;
Using the character keyword of successful match as author information, using another character keyword as musical designation.
In another alternative embodiment of the invention, when in the character string do not include separator when, can by with
Lower step determines author information and musical designation:
Semantic analysis is carried out to the character string, extracts semantic key words;
Semantic key words matching is carried out in author information database and musical designation database according to semantic key words;
The high semantic key words of the matching degree in author information database are determined as author information;
The high semantic key words of the matching degree in musical designation database are determined as musical designation.
In a kind of optional embodiment of the invention, the method also includes:
Whether invalid the character string is judged, if it is, abandoning the character string.
Specifically, described judge whether the character string is invalid, comprising:
Judge whether the character string is null character or is started with http;
If it is, confirming that the character string is invalid.
Step 104, second terminal are based on the musical designation and/or author information downloads corresponding music data to complete
Synchronous music;
Specifically, second terminal determines that music corresponding to the author information and/or musical designation stores information first,
The step specifically includes:
Music matching is carried out in music libraries using author information and musical designation as keyword;
After successful match, the music storage information of corresponding music is obtained.
The music libraries can be own music libraries, or third party's music libraries of cooperation.
Specific matching process includes following two:
A, using identified author information and/or musical designation as matching criteria;
When the author information determined includes singer's field in the query result of music service end, and the music name determined
When claiming to include the musical designation field in the query result of music service end, music successful match is determined.
B, using in query result author information and musical designation as matching criteria;
When singer's field in query result includes the sound in identified author information and music service end query result
When happy name field includes identified musical designation, music successful match is determined.
Any progress music matching of the above method can be used.
Specifically, music storage information include following information at least one: author information, musical designation, song
Hand information, album name, album information, album list, Periodical front cover information, copyright information, play right, broadcasting link, the lyrics.
The music is stored into information preservation to music playlist.
Server can be using author information and/or musical designation as keyword, using crawler technology in third party's music
It is searched in library, to obtain useful music storage information (author information, musical designation, singer informations, album name, specially
Collect information, album list, Periodical front cover information, copyright information, play right, broadcasting link, lyrics etc.), by acquired music
In the music list that storage information preservation is recently played into second terminal, in this way, user can directly pass through music list
To play the music oneself liked.Based on this, it is achieved that user's music playlist moving from first terminal to second terminal
It moves.
To sum up, a kind of synchronous music method of different terminals provided by the embodiment of the present invention one, comprising: second terminal connects
Receive the Bluetooth information that the music player of first terminal is sent during music;Second terminal obtains the Bluetooth information
In for characterizing the character string information of musical designation and/or author information;Second terminal parses the character string information to obtain
Corresponding musical designation and/or author information;Second terminal is based on the musical designation and/or author information downloads corresponding sound
Happy data are to complete synchronous music.Therefore, the present invention at least has the advantages that
1, the technical solution that a whole set of user's music playlist is migrated from first terminal to second terminal, the party are provided
Case simply, conveniently, does not need user and carries out any manual operation, can be locally generated and broadcast in music bluetooth playing process
Table is emplaced, realizes the seamless migration of music playlist in other terminals;
2, the synchronous music scheme of this different terminals can break the skill on music player between each music player
Art barrier, that is, music storage information can be generated in second terminal simultaneously from the Bluetooth music of different music players
It saves to playlist, so as to merge the playlist in different music players.
Embodiment two
Second embodiment of the present invention provides a kind of terminal devices, comprising:
Memory, for storing program;
Processor, for the program by executing the memory storage to realize the method as described in embodiment one;
Further include: display device and music player;Wherein,
The display device, for showing synchronous music information;
The music player, for playing music.
Specifically, the processor is for executing following steps:
Receive the music player of other terminals Bluetooth information transmitted during music;
It is obtained from the Bluetooth information accordingly for characterizing the character string information of musical designation and/or author information;
Author information and musical designation are determined according to the character string information for characterizing musical designation and/or author information;
Determine that corresponding music stores information according to identified author information and musical designation;
The music is stored into information preservation to local playlist.
Specifically, before the Bluetooth information that the processor is also used to be transmitted in receiving Bluetooth music playing process,
Execute following previous step:
Judge whether Bluetooth information is stable, if stablized, starts to receive Bluetooth information.
The processor is used to judge whether Bluetooth information is stable according to following manner:
Judge whether identical Bluetooth information receiving time interval is more than preset threshold twice for front and back, if be less than, determines
Information transmission state is stablized.
Specifically, the processor is used to determine author information and musical designation according to following manner:
To it is described for characterize the character string of musical designation and/or author information according to preset asterisk wildcard resolution rules into
Row parsing, wherein the preset asterisk wildcard resolution rules are transmitted by the music player that the first terminal gives you
The string format determines.
The character string is parsed with preset coding mode;
Whether judge in the character string comprising separator;
If so, the field before the separator is determined as author information, the subsequent field of the separator is true
It is set to musical designation;Alternatively,
The field of the separator front and back is extracted respectively as character keyword;
Respectively using the field of the separator front and back as keyword, carried out in author information database crucial
Word matching;
Using the keyword of successful match as author information, using another keyword as musical designation.
Specifically, the processor is used to determine make in the following manner when not including separator in the character string
Person's information and musical designation:
Semantic analysis is carried out to the character string, extracts semantic key words;
Semantic key words matching is carried out in author information database and musical designation database according to semantic key words;
The high semantic key words of the matching degree in author information database are determined as author information;
The high semantic key words of the matching degree in musical designation database are determined as musical designation.
Whether the processor is also used to judge the character string invalid, and when the judgment result is yes, abandons the word
Symbol string.
Whether the processor is invalid for being judged by the following manner the character string:
Judge whether the character string is null character or is started with http;
If so, confirming that the character string is invalid.
Specifically, music storage information include following information at least one: author information, musical designation, song
Hand information, album name, album information, album list, Periodical front cover information, copyright information, play right, broadcasting link, the lyrics.
Embodiment three
The embodiment of the present invention three provides a kind of automobile, including the terminal device as described in above-described embodiment two, wherein institute
Stating terminal device includes:
Memory, for storing program;
Processor, for the program by executing the memory storage to realize the method as described in embodiment one;
Further include: display device and music player;Wherein,
The display device, for showing synchronous music information;
The music player, for playing music.
Example IV
The embodiment of the present invention four provides a kind of computer readable storage medium, and the computer readable storage medium includes
Program, described program are used to be executed by processor to realize the method as described in embodiment one.
Implementation method of the present invention is described further using vehicle-mounted large-size screen monitors as specific embodiment below.
Referring to Fig. 2, the example the following steps are included:
Step 201, vehicle-mounted large-size screen monitors end and mobile phone terminal bluetooth connection success;
Step 202, mobile phone terminal play music and by Bluetooth transmission information to vehicle-mounted large-size screen monitors end;
Step 203, vehicle-mounted large-size screen monitors end receive Bluetooth information;
Whether the received Bluetooth information of step 204, the judgement of vehicle-mounted large-size screen monitors end is stable, if stablized, goes to step
205, if unstable, recycle waiting.
Specifically, described judge whether Bluetooth information is stable, comprising:
Whether the time interval for judging front and back identical Bluetooth information received twice is more than preset threshold, if not
It is more than then to confirm that the Bluetooth information is stablized, if it does, then going to step 203 continues to Bluetooth information.
Step 205, vehicle-mounted large-size screen monitors end obtain the character for characterizing musical designation and/or author information from Bluetooth information
String information;
The character string information for characterizing musical designation and/or author information is solved according to the coding mode of utf-8
Analysis, obtains character string.
Step 206, vehicle-mounted large-size screen monitors end are determined according to the character string information for characterizing musical designation and/or author information to be made
Person's information and musical designation;
Assuming that character string acquired in the case of the first are as follows:
Title: Zhou Jielun-public notice balloon/n
Subtitle: the lyrics/n
Assuming that the character string obtained under second situation are as follows:
Title: public notice balloon/n
Subtitle: Zhou Jielun/n
For the first above-mentioned situation, due to being wrapped in the character string information for characterizing musical designation and/or author information
Therefore character string before separator, directly can be determined as author information by "-" containing separator, by the subsequent character of separator
String is determined as musical designation, it is, " Zhou Jielun " is determined as author information, " public notice balloon " is determined as musical designation.
For the first above-mentioned situation, author information and musical designation can also be determined by the following method:
Semantic key words " Zhou Jielun " " public notice balloon " " lyrics " are extracted after title and subtitle, according to these three
Semantic key words carry out Keywords matching in author information database, and matching result is that " Zhou Jielun " is author information, at this time
Remaining two semantic key words are matched in the music list corresponding to Zhou Jielun, matching result is " public notice balloon "
For musical designation, " lyrics " this semantic key words are dropped.
Under another embodiment, for the first situation, it can will be passed through in semantic key words directly after semantics recognition
The invalid keyword " lyrics " often occurred abandons, later, in the manner described above, by " Zhou Jielun " and " public notice balloon " as semantic
Keyword carries out semantic matches in author information database, and matching result is that " Zhou Jielun " is author information, will be left later
Semantic key words " public notice balloon " be confirmed as musical designation, certainly, can be further by " public notice balloon " in order to more accurate
It is matched as music list of the keyword corresponding to Zhou Jielun, matching result is that " public notice balloon " is musical designation.
For above-mentioned second situation, semantic key words " public notice balloon " is extracted after title, is extracted after subtitle
Semantic key words " Zhou Jielun ", at this point, vehicle-mounted large-size screen monitors end can't determine which be author information which be musical designation, also need
Carrying out Keywords matching, it was determined that one of semantic key words are author informations the other is musical designation, and
Author information matching is more easier, therefore, by " Zhou Jielun " and " public notice balloon " respectively as semantic key words, in author
Keywords matching is carried out in information database, according to matching result, " Zhou Jielun " is confirmed to be author information, then correspondingly, will
" public notice balloon " is determined as musical designation.
Step 207, vehicle-mounted large-size screen monitors end determine that music corresponding to author information and musical designation stores information;
" Zhou Jielun " is used as author information, " public notice balloon " is subjected to music as musical designation in music libraries
Match.
In practical application, a kind of matching process can be with are as follows: is scanned for, is listed all in music libraries according to musical designation
The information of music comprising the musical designation determines the singer's field and musical designation field of each music, by singer's field
Comprising " Zhou Jielun " and musical designation field includes that the music of " public notice balloon " is determined as target music.
If obtained target music has multiple, the high target music of matching degree is determined as final music.
For example, the search result for " Zhou Jielun " " public notice balloon " is as follows:
1. author information: Zhou Jielun musical designation: public notice balloon album: the bedtime stories of Zhou Jielun
2. author information: Zhou Jielun musical designation: public notice balloon (Live) album: China's new the 14th phase of the song second season
Since author information field in the first song and musical designation field and semantic key words exactly match,
First song is confirmed as final music.
Obtain the music storage information of final music.
Music is stored information preservation to local playlist by step 208, vehicle-mounted large-size screen monitors end.
After music is stored information preservation to local playlist by vehicle-mounted large-size screen monitors end, user can be directly by vehicle-mounted
Large-size screen monitors end carries out the broadcasting of music, in this way, being achieved that user's music playlist moving from first terminal to vehicle-mounted large-size screen monitors end
It moves.
It will be understood by those skilled in the art that all or part of function of various methods can pass through in above embodiment
The mode of hardware is realized, can also be realized by way of computer program.When function all or part of in above embodiment
When being realized by way of computer program, which be can be stored in a computer readable storage medium, and storage medium can
To include: read-only memory, random access memory, disk, CD, hard disk etc., it is above-mentioned to realize which is executed by computer
Function.For example, program is stored in the memory of equipment, when executing program in memory by processor, can be realized
State all or part of function.In addition, when function all or part of in above embodiment is realized by way of computer program
When, which also can store in storage mediums such as server, another computer, disk, CD, flash disk or mobile hard disks
In, through downloading or copying and saving into the memory of local device, or version updating is carried out to the system of local device, when logical
When crossing the program in processor execution memory, all or part of function in above embodiment can be realized.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple
It deduces, deform or replaces.
Claims (10)
1. a kind of synchronous music method of different terminals characterized by comprising
Second terminal receives the Bluetooth information that the music player of first terminal is sent during music;
Second terminal obtains in the Bluetooth information for characterizing the character string information of musical designation and/or author information;
Second terminal parses the character string information to obtain corresponding musical designation and/or author information;
Second terminal is based on the musical designation and/or author information downloads corresponding music data to complete synchronous music.
2. the method according to claim 1, wherein further comprising:
Judge whether Bluetooth information transmission state is stable, if stablized, starts to parse Bluetooth information.
3. according to the method described in claim 2, it is characterized in that, described judge whether Bluetooth information transmission state is stable, packet
It includes:
Judge that front and back receives whether the time interval of identical Bluetooth information is more than preset value twice, if be less than, it is determined that
Stablize for information transmission state.
4. the method according to claim 1, wherein the second terminal parses the character string information to obtain
The step of corresponding musical designation and/or author information includes:
The character string is parsed according to preset asterisk wildcard resolution rules, wherein the preset asterisk wildcard resolution rules
It is determined by the string format that the music player in the first terminal transmits.
5. according to the method described in claim 4, it is characterized in that, to the character string according to default asterisk wildcard resolution rules into
Row parses
The character string is parsed with preset coding mode;
Judge whether the character string includes separator;
If so, extracting the field of the separator front and back respectively;
Respectively using the field of the separator front and back as character keyword, character is carried out in author information database
Keywords matching;
Using the character keyword of successful match as author information, using another character keyword as musical designation.
6. according to the method described in claim 5, it is characterized in that, when in the character string do not include separator when, further
Include:
Semantic analysis is carried out to the character string, extracts semantic key words;
Semantic key words matching is carried out in author information database and musical designation database according to semantic key words;
The high semantic key words of the matching degree in author information database are determined as author information;
The high semantic key words of the matching degree in musical designation database are determined as musical designation.
7. method according to claim 5 or 6, which is characterized in that the method also includes:
Whether invalid the character string is judged, if it is, abandoning the character string.
8. the method according to the description of claim 7 is characterized in that described judge whether the character string is invalid, comprising:
Judge whether the character string is null character or is started with http;
If it is, the character string is invalid.
9. a kind of terminal device characterized by comprising
Memory, for storing program;
Processor, for the program by executing the memory storage to realize as of any of claims 1-8
Method;
Further include: display device and music player;Wherein,
The display device, for showing synchronous music information;
The music player, for playing music.
10. a kind of automobile, which is characterized in that including terminal device as claimed in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811514775.5A CN109684288A (en) | 2018-12-12 | 2018-12-12 | Synchronous music method, terminal device and the automobile of different terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811514775.5A CN109684288A (en) | 2018-12-12 | 2018-12-12 | Synchronous music method, terminal device and the automobile of different terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109684288A true CN109684288A (en) | 2019-04-26 |
Family
ID=66187188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811514775.5A Pending CN109684288A (en) | 2018-12-12 | 2018-12-12 | Synchronous music method, terminal device and the automobile of different terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684288A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399523A (en) * | 2019-07-25 | 2019-11-01 | 上海博泰悦臻电子设备制造有限公司 | Method for playing music and system, storage medium and car-mounted terminal based on car-mounted terminal |
CN112738776A (en) * | 2020-12-08 | 2021-04-30 | 上海博泰悦臻电子设备制造有限公司 | Method, device, system and storage medium for acquiring music information |
CN114489559A (en) * | 2022-01-24 | 2022-05-13 | 北京达佳互联信息技术有限公司 | Audio playing method, audio playing processing method and audio playing processing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090063660A1 (en) * | 2007-09-04 | 2009-03-05 | Apple Inc. | Synchronization and transfer of digital media items |
CN104092720A (en) * | 2013-12-26 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Playlist sharing method and device |
CN105828134A (en) * | 2016-03-22 | 2016-08-03 | 广东欧珀移动通信有限公司 | Playing control method and device in audio-video playing system |
CN108924227A (en) * | 2018-07-06 | 2018-11-30 | 盯盯拍(深圳)技术股份有限公司 | Method for playing music and music player based on mobile unit |
-
2018
- 2018-12-12 CN CN201811514775.5A patent/CN109684288A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090063660A1 (en) * | 2007-09-04 | 2009-03-05 | Apple Inc. | Synchronization and transfer of digital media items |
CN104092720A (en) * | 2013-12-26 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Playlist sharing method and device |
CN105828134A (en) * | 2016-03-22 | 2016-08-03 | 广东欧珀移动通信有限公司 | Playing control method and device in audio-video playing system |
CN108924227A (en) * | 2018-07-06 | 2018-11-30 | 盯盯拍(深圳)技术股份有限公司 | Method for playing music and music player based on mobile unit |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399523A (en) * | 2019-07-25 | 2019-11-01 | 上海博泰悦臻电子设备制造有限公司 | Method for playing music and system, storage medium and car-mounted terminal based on car-mounted terminal |
CN112738776A (en) * | 2020-12-08 | 2021-04-30 | 上海博泰悦臻电子设备制造有限公司 | Method, device, system and storage medium for acquiring music information |
CN114489559A (en) * | 2022-01-24 | 2022-05-13 | 北京达佳互联信息技术有限公司 | Audio playing method, audio playing processing method and audio playing processing device |
CN114489559B (en) * | 2022-01-24 | 2023-11-28 | 北京达佳互联信息技术有限公司 | Audio playing method, audio playing processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107918653B (en) | Intelligent playing method and device based on preference feedback | |
KR102364122B1 (en) | Generating and distributing playlists with related music and stories | |
CN107871500B (en) | Method and device for playing multimedia | |
US8438145B2 (en) | Methods, systems, and computer program products for determining availability of presentable content via a subscription service | |
CN107895016B (en) | Method and device for playing multimedia | |
US20070245376A1 (en) | Portable media player enabled to obtain previews of media content | |
CN109684288A (en) | Synchronous music method, terminal device and the automobile of different terminals | |
US9576047B2 (en) | Method and system for preparing a playlist for an internet content provider | |
JP2003535490A (en) | Internet radio and broadcast method | |
JP2004295568A (en) | Information processor, information processing method, and computer program | |
US20070245378A1 (en) | User system providing previews to an associated portable media player | |
CN105872583A (en) | Multifunctional media playing method and device | |
KR101713988B1 (en) | Method and apparatus for providing content sending metadata extracted from content | |
EP3738287B1 (en) | Content matching system | |
KR101547525B1 (en) | Automatic music selection apparatus and method considering user input | |
CN107193922B (en) | A kind of method and device of information processing | |
CN112086082A (en) | Voice interaction method for karaoke on television, television and storage medium | |
De Roure et al. | Content-based navigation of music using melodic pitch contours | |
JP2013160890A (en) | Information processing program, information processing apparatus, lyrics display method, and communication system | |
US11126629B2 (en) | System and method for mining playlist data for use in providing digital media or other content | |
JP2006526207A (en) | Media object search method | |
TW201547271A (en) | Playback method and associated transmitting device, playback device, and communication system | |
KR101684577B1 (en) | Method of providing tag-based list of content and apparatus for the same | |
KR20170027332A (en) | Method and apparatus for providing content sending metadata extracted from content | |
CN108986848A (en) | Method, system, intelligent sound box and the intelligent terminal of synchronous song information and the lyrics |
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: 20190426 |