CN103093787B - Mobile unit and method for playing music thereof and device - Google Patents

Mobile unit and method for playing music thereof and device Download PDF

Info

Publication number
CN103093787B
CN103093787B CN201110338773.7A CN201110338773A CN103093787B CN 103093787 B CN103093787 B CN 103093787B CN 201110338773 A CN201110338773 A CN 201110338773A CN 103093787 B CN103093787 B CN 103093787B
Authority
CN
China
Prior art keywords
unit
music
mobile unit
time
broadcasting
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.)
Active
Application number
CN201110338773.7A
Other languages
Chinese (zh)
Other versions
CN103093787A (en
Inventor
张瑞金
应宜伦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN201110338773.7A priority Critical patent/CN103093787B/en
Publication of CN103093787A publication Critical patent/CN103093787A/en
Application granted granted Critical
Publication of CN103093787B publication Critical patent/CN103093787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of mobile unit and method for playing music thereof and device, the method for playing music of described mobile unit comprises: the broadcasting frequency obtaining music in described mobile unit, the external unit that is connected with described mobile unit; The equipment that setting broadcasting frequency is the highest is preferred unit when again playing music.Technical scheme of the present invention improves playing efficiency and the intelligence degree of mobile unit on the one hand, enhances the Experience Degree of user on the other hand, brings great convenience to user.

Description

Mobile unit and method for playing music thereof and device
Technical field
The present invention relates to mobile unit field, particularly a kind of mobile unit and method for playing music thereof and device.
Background technology
Along with the progress of expanding economy, society, automobile has become the main vehicles of people.Meanwhile, automobile starts to become the popular consumer goods gradually, the consumer group of automobile is in continuous expansion, the requirement of consumer to automobile is also more and more higher, especially at the aspect of performance of automobile, therefore, the vehicle information terminal equipment (be also referred to as vehicle-mounted terminal equipment or mobile unit) relevant to automobile there has also been development space, and these mobile units have brought a lot of convenience.Meanwhile, the progress of modern communications technology then makes the function of mobile unit correspondingly obtain more raising.
Mobile unit, based on mobile communication and Internet technology, provides positional information in interior security service, personalized service etc. to automobile.In addition, mobile unit can provide navigation feature, transport information function, emergency function etc.And mobile unit can also provide various multimedia service, the such as broadcasting of the local audio such as film, music video, TV and Radio Service receiving etc.Such as, and along with the development of internet, the network function that mobile unit provides gets more and more, and, is got online without being tethered to a cable by mobile unit, listens to online music or watch Internet video etc.
For user vehicle, its music liked can be play by frequent usual mobile unit of crossing, by the music storage liked in mobile unit, in car, listen to the song oneself liked.In addition, the music storage that oneself also can like by user, in moveable memory device, as portable hard drive, USB flash drive (USBflashdisk), is called for short USB flash disk, and the safe digital card of user (SecureDigitalMemoryCard), referred to as SD card.By the music storage liked in moveable memory device, user is facilitated to carry on the one hand, the music oneself liked can be play whenever and wherever possible, on the other hand, the hard disk because of mobile unit also can be prevented poisoning and cause the music data be stored in mobile unit hard disk to be damaged.
Presently, mobile unit is when playing music, the path giving tacit consent to the music file that last is play is current broadcast path, when user will play the music oneself liked, need mode manually to find the path of target sound music file, click and play, adopt and play music in this way, efficiency is low, and brings inconvenience to user.Especially when user is in the process driven a car, manually find the position of target sound music file, often the notice of dispersion user, driving hidden danger may be brought.Therefore, how can play-over by mobile unit the music that user likes, improve playing efficiency and the intelligence degree of mobile unit, seem all the more important.
Publication number is that the Chinese patent application of CN102103883A provides a kind of vehicle-carrying music player and player method, and its vehicle-carrying music player is simple to operate and improve the Experience Degree of user.But to the problems referred to above, it does not relate to.
Summary of the invention
The problem that the present invention solves is to provide a kind of method for playing music and playing device of mobile unit, when user needs to listen to music, play the music that user likes as much as possible, promote intelligence degree during vehicle-mounted device plays music, enhance the Experience Degree that user listens to the music in car adduction to a great extent.
For solving the problem, the invention provides a kind of method for playing music of mobile unit, comprising:
Obtain the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit;
The equipment that setting broadcasting frequency is the highest is preferred unit when again playing music.
Optionally, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain total broadcasting time of music in described mobile unit in Preset Time;
Obtain total broadcasting time of music in described external unit in Preset Time;
Determine that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
Optionally, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain the single broadcasting time of each song in described mobile unit in Preset Time;
Obtain the single broadcasting time of each song in described external unit in Preset Time;
Determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Optionally, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain the single broadcasting time of each song in described mobile unit in Preset Time, and calculate total broadcasting time of music in described mobile unit;
Obtain the single broadcasting time of each song in described external unit in Preset Time, and calculate total broadcasting time of music in described external unit;
Determine that the equipment that total broadcasting time is maximum is play the highest equipment of frequency;
When total broadcasting time of music is identical in described mobile unit with external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Optionally, the method for playing music of described mobile unit, also comprises:
At described mobile unit with when the broadcasting frequency of music is identical in described external unit, obtain total reproduction time of music in described mobile unit, external unit;
Setting the longest equipment of described total reproduction time is preferred unit when again playing music.
Optionally, the method for playing music of described mobile unit, also comprises:
At described mobile unit with when in described external unit, the broadcasting frequency of music is identical with total reproduction time, the described mobile unit of random setting or external unit are preferred unit when again playing music.
Optionally, the method for playing music of described mobile unit, also comprises:
When again playing music, if described preferred unit is external unit, then detects described external unit and whether be connected with described mobile unit.
Optionally, the method for playing music of described mobile unit, also comprises:
Preserve the broadcast interface that last plays music in described preferred unit;
When again playing music, switch to the broadcast interface of described preservation.
Optionally, described external unit comprises: SD card, USB flash disk.
For solving the problem, the present invention also provides a kind of music player of mobile unit, comprising:
Acquiring unit, for obtaining the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit;
Setup unit, for setting, to play the highest equipment of frequency be preferred unit when again playing music.
Optionally, described acquiring unit comprises:
First acquiring unit, for obtaining total broadcasting time of music in described mobile unit in Preset Time;
Second acquisition unit, for obtaining total broadcasting time of music in described external unit in Preset Time;
First determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
Optionally, described acquiring unit comprises:
3rd acquiring unit, for obtaining the single broadcasting time of each song in described mobile unit in Preset Time;
4th acquiring unit, for obtaining the single broadcasting time of each song in described external unit in Preset Time;
Second determining unit, for determining that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Optionally, described acquiring unit comprises:
First computing unit, for obtaining the single broadcasting time of each song in described mobile unit in Preset Time, and calculates total broadcasting time of music in described mobile unit;
Second computing unit, for obtaining the single broadcasting time of each song in described external unit in Preset Time, and calculates total broadcasting time of music in described external unit;
3rd determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency; When total broadcasting time of music is identical in described mobile unit with external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Optionally, described acquiring unit, also at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, obtain total reproduction time of music in described mobile unit, external unit;
Described setup unit, also at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, setting the longest equipment of described total reproduction time is preferred unit when again playing music.
Optionally, described setup unit, also for when the broadcasting frequency of described mobile unit, external unit middle pitch is identical with total reproduction time, the described mobile unit of random setting or external unit are preferred unit when again playing music.
Optionally, the music player of described mobile unit, also comprises:
Whether detecting unit, for when again playing music and described setup unit setting preferred unit is external unit, detecting described external unit and being connected with described mobile unit.
Optionally, the music player of described mobile unit, also comprises:
Storage unit, plays the broadcast interface of music in described preferred unit for preserving last;
Switch unit, for when again playing music, switches to the broadcast interface that described storage unit is preserved.
Optionally, described external unit comprises: SD card, USB flash disk.
For solving the problem, the present invention also provides a kind of mobile unit, comprises above-mentioned music player.
Compared with prior art, technical scheme of the present invention has the following advantages:
By obtaining the broadcasting frequency of music in mobile unit and external unit, the equipment that setting broadcasting frequency is the highest is preferred unit when again playing music, user can be made when listening to music next time, the memory location of the target sound music file liked is found without the need to mode manually again, only need click to play and just can listen to the music liked, improve the playing efficiency of mobile unit, simultaneously, also improve mobile unit intelligence degree, enhance the Experience Degree of user, bring facility to user.
Further, under the prerequisite that total broadcasting time of music is identical in mobile unit with external unit, obtain the single broadcasting time of each song in mobile unit and external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency, and then the preferred unit set when again playing music, or, obtain total reproduction time of music in described mobile unit, external unit, determine that the longest equipment of described total reproduction time is play the highest equipment of frequency, and then preferred unit when music is play in setting again.When making the broadcasting frequency of music in mobile unit with external unit identical, still preferred unit when again playing music can be set, further increasing the intelligence degree of mobile unit, improve the playing efficiency of mobile unit, enhance the Experience Degree of user.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for playing music of the mobile unit of embodiment of the present invention;
Fig. 2 is the basic structure schematic diagram of the music player of the mobile unit of embodiment of the present invention;
Fig. 3 is an embodiment process flow diagram of step S11 shown in Fig. 1;
Fig. 4 is another embodiment process flow diagram of step S11 shown in Fig. 1;
Fig. 5 is another embodiment process flow diagram of step S11 shown in Fig. 1;
Fig. 6 is the structural representation of the music player of the mobile unit of the embodiment of the present invention.
Embodiment
Just as described in the background art, existing mobile unit can not be accomplished when user will listen to music, the broadcast path of the music providing user to prefer according to user's hobby at ordinary times as much as possible, and the position at the music place needing user's mode manually to find it to prefer, and click broadcasting, this for user when driving for, can bring inconvenience, serious also may cause hidden danger of driving a vehicle.Adopt the music manually finding user to like, then play, playing efficiency is low, brings inconvenience to user, also reduces the Experience Degree of user.
Therefore, inventor proposes a kind of method for playing music of mobile unit, by comparing the broadcasting frequency of music in the broadcasting frequency of music in mobile unit and external unit, setting mobile unit or external unit is preferred unit when again playing music, improve playing efficiency and the intelligence degree of mobile unit, also enhance the experience of user.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail the specific embodiment of the present invention below in conjunction with accompanying drawing.
Set forth detail in the following description so that fully understand the present invention.But the present invention can be different from alternate manner described here to implement with multiple, those skilled in the art can when without prejudice to doing similar popularization when intension of the present invention.Therefore the present invention is not by the restriction of following public embodiment.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the method for playing music of the mobile unit of embodiment of the present invention; As shown in Figure 1, the method for playing music of the mobile unit of embodiment of the present invention comprises:
Step S11: the broadcasting frequency obtaining music in described mobile unit, the external unit that is connected with described mobile unit;
Step S12: the equipment that setting broadcasting frequency is the highest is preferred unit when again playing music.
In present embodiment, described external unit comprises: SD card, USB flash disk, portable hard drive, CD etc., below all with described external unit for SD card or USB flash disk illustrate accordingly.For different user, its hobby is different, and the music storage that some user tends to oneself to like, in mobile unit, facilitates it to play like this.The music storage that some user tends to oneself to like is in USB flash disk or SD card, as long as have playback equipment, it just can play the music oneself liked.
The broadcasting frequency of described music refers to the number of times that in Preset Time, described music is played.Described Preset Time can be set by the manufacturer of mobile unit.Which equipment the concert liked to know user is stored in, and described Preset Time can be set as one week, or two weeks, and usual Preset Time is a little long, and preferred unit during again the playing of final setting is more accurate.
Accordingly, the music player of the mobile unit of embodiment of the present invention as shown in Figure 2, comprising:
Acquiring unit 10, for obtaining the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit;
Setup unit 20, for setting, to play the highest equipment of frequency be preferred unit when again playing music.
In order to explain method for playing music and the device of the mobile unit of embodiment of the present invention, correspondingly illustrate below in conjunction with embodiment.
Embodiment one
In the present embodiment, the music frequency in mobile unit or the external unit that is connected with described mobile unit is weighed by the single broadcasting time of each song.Particularly, with reference to figure 3, described step S11, the broadcasting frequency obtaining music in described mobile unit, the external unit that is connected with described mobile unit comprises:
Step S111, obtains the single broadcasting time of each song in described mobile unit in Preset Time;
Step S112, obtains the single broadcasting time of each song in described external unit in Preset Time;
Step S113, determines that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Be correspondingly illustrate for one week with Preset Time in the present embodiment, refer to table 1, table 1 is the single broadcasting time table of each song in one week interior mobile unit, in external unit, for convenience of description, the single broadcasting time of each song in the part music of mobile unit or external unit is only gived in table 1.
Table 1
Can be known by table 1, in mobile unit, the single broadcasting time of each song is followed successively by: 2,1,1,1,1; In USB flash disk, the single broadcasting time of each song is followed successively by: 6,2,2,2,3; In SD card, the single broadcasting time of each song is followed successively by; 3,1,2,2,1 therefore, what in USB flash disk, single broadcasting time was maximum is 6 times, what in SD card, single broadcasting time was maximum is 3 times, what in mobile unit, single broadcasting time was maximum is 2 times, therefore, 6 times that single broadcasting time is maximum, therefore, in the specific implementation, setting USB flash disk is preferred unit when again playing music to step S12 shown in Fig. 1.
Because external unit can not be inserted on mobile unit always, therefore when again playing music, if external unit is preferred unit, then first to detect described external unit whether to be connected with mobile unit, for the present embodiment, then will detect described USB flash disk whether to be connected with mobile unit, if be connected, then path USB flash disk storing music is defaulted as prefered path during this broadcasting music, if detect, described USB flash disk is not connected with mobile unit, then using equipment many for single broadcasting time time as preferred unit, it is SD card in the present embodiment, similarly, now still to detect SD card whether to be connected with described mobile unit, if be connected, then the path storing music in SD card is defaulted as prefered path during this broadcasting music, as long as user clicks broadcast button, just its music liked can be listened to.Certainly, if now detect, SD card is not also connected with described mobile unit, for the present embodiment, then gives tacit consent to the prefered path when path storing music in described mobile unit is this broadcasting music.
In order to strengthen the Experience Degree of user, in the present embodiment, also can preserve the broadcast interface that last plays music in described preferred unit; When again playing music, switch to the broadcast interface of described preservation.In the present embodiment, if detect, USB flash disk is connected with described mobile unit, then when the path that user provides according to the music player of mobile unit, when clicking the music play in USB flash disk, described music player can play the broadcast interface that last plays music in described USB flash disk.
In addition, at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, in the present embodiment, be in particular described mobile unit identical with the single broadcasting time of each song in described external unit, for example, in USB flash disk, single broadcasting time is single broadcasting time in 3, SD card to the maximum maximum is also 3, now, can set the longest equipment of described total reproduction time is preferred unit when again playing music.
Particularly, be exactly in Preset Time, as: in one week, total add up the reproduction time of music in described USB flash disk, and total reproduction time of music in described SD card; Setting the longest equipment of total reproduction time is preferred unit when again playing music.According to the statistics of reality, in described USB flash disk, total reproduction time of music is greater than total reproduction time of music in SD card, therefore preferred unit when again playing is USB flash disk.In addition, if described mobile unit is identical with the broadcasting frequency of music in described external unit, total reproduction time is also identical, then the described mobile unit of random setting or external unit are preferred unit when again playing music.
Accordingly, the music player of the mobile unit of the present embodiment as shown in Figure 6, comprising: acquiring unit 10, setup unit 20, detecting unit 30, storage unit 40, switch unit 50.
Described acquiring unit 10, for obtaining the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit, wherein, described acquiring unit 10 comprises:
3rd acquiring unit (not shown), for obtaining the single broadcasting time of each song in described mobile unit in Preset Time;
4th acquiring unit (not shown), for obtaining the single broadcasting time of each song in described external unit in Preset Time;
Second determining unit (not shown), for determining that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
Described setup unit 20, is connected with described acquiring unit 10, and for setting, to play the highest equipment of frequency be preferred unit when again playing music.
Described detecting unit 30 is connected with described setup unit 20, for again play music and described setup unit 20 sets preferred unit be external unit time, detect described external unit and whether be connected with described mobile unit.
Described storage unit 40, being connected with described setup unit 20, playing the broadcast interface of music in described preferred unit for preserving last.
Described switch unit 50, is connected with described storage unit 40, for when again playing music, switches to the broadcast interface that described storage unit 40 is preserved.
After described detecting unit 30 detects that described external unit to be connected with described mobile unit or not to connect, specifically can with reference in the method for playing music of above-mentioned mobile unit as preferred unit when again playing using described external unit or mobile unit, after detecting that external unit to be connected with described mobile unit or not to connect, the selected preferred unit again play carries out, and no longer launches concrete detailed description in detail herein.
In addition, in the present embodiment, described acquiring unit 10 also comprises the 5th acquiring unit (not shown), at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, obtain total reproduction time of music in described mobile unit, external unit.Described setup unit 20, also at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, setting the longest equipment of described total reproduction time is preferred unit when again playing music; And when in described mobile unit, external unit, the broadcasting frequency of music is identical with total reproduction time, the described mobile unit of random setting or external unit are preferred unit when again playing music.
Embodiment two
Different from embodiment one, in the present embodiment, the music frequency in mobile unit or the external unit that is connected with described mobile unit is weighed by total broadcasting time of music.Particularly, with reference to figure 1 and Fig. 4, described step S11, the broadcasting frequency obtaining music in described mobile unit, the external unit that is connected with described mobile unit comprises:
Step S114, obtains total broadcasting time of music in described mobile unit in Preset Time;
Step S115, obtains total broadcasting time of music in described external unit in Preset Time;
Step S116, determines that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
In the present embodiment, do not pay close attention to the single broadcasting time of each song in mobile unit or external unit, as long as this song is played, then once count, see above-mentioned table 1, in USB flash disk, total broadcasting time of music is 15 times, in SD card, total broadcasting time of music is 9 times, in mobile unit, total broadcasting time of music is 6 times, therefore, determine that the USB flash disk that total broadcasting time is maximum is play the highest equipment of frequency, therefore, in the specific implementation, set described USB flash disk is preferred unit when again playing music to step S12 described in Fig. 1.
In addition, at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, in the present embodiment, be in particular described mobile unit identical with total broadcasting time of music in described external unit, for example, in USB flash disk, total broadcasting time of music is 20, in mobile unit, total broadcasting time of music is also 20, now, can pass through, setting the longest equipment of described total reproduction time is preferred unit when again playing music.
Particularly, be exactly in Preset Time, as: in one week, total add up the reproduction time of music in described USB flash disk, and total reproduction time of music in mobile unit; Setting the longest equipment of total reproduction time is preferred unit when again playing music.According to the statistics of reality, in described USB flash disk, total reproduction time of music is greater than total reproduction time of music in mobile unit card, therefore preferred unit when again playing is USB flash disk.
In addition, if described mobile unit is identical with the broadcasting frequency of music in described external unit, total reproduction time is also identical, then the described mobile unit of random setting or external unit are preferred unit when again playing music.
Similar to embodiment one, when again playing music, if external unit is preferred unit.Whether then first will detect described external unit to be connected with mobile unit, be connected for described external unit or be not connected with described mobile unit, selected preferred unit when again playing music also can be different.Particularly, can be connected with described mobile unit in situation to described external unit in reference example one, or not connect the explanation in situation, repeat no more herein.
The music player of the mobile unit in the present embodiment in the music player of mobile unit and embodiment one is distinguished and is, described acquiring unit comprises:
First acquiring unit, for obtaining total broadcasting time of music in described mobile unit in Preset Time;
Second acquisition unit, for obtaining total broadcasting time of music in described external unit in Preset Time;
First determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
The setup unit of the present embodiment, detecting unit, storage unit, switch unit described in reference example one, can repeat no more herein.In addition, described acquiring unit also comprises the 5th acquiring unit, equally also can reference example one.
Embodiment three
Different with embodiment two from embodiment one, in the present embodiment, the music frequency in mobile unit or the external unit that is connected with described mobile unit is weighed by total broadcasting time of music and the single broadcasting time of each song.Particularly, with reference to figure 1 and Fig. 5, described step S11, the broadcasting frequency obtaining music in described mobile unit, the external unit that is connected with described mobile unit comprises:
Step S117, obtains the single broadcasting time of each song in described mobile unit in Preset Time, and calculates total broadcasting time of music in described mobile unit;
Step S118, obtains the single broadcasting time of each song in described external unit in Preset Time, and calculates total broadcasting time of music in described external unit;
Step S119, determines that the equipment that total broadcasting time is maximum is play the highest equipment of frequency;
Step S120, when total broadcasting time of music is identical in described mobile unit with external unit, determines that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
In the present embodiment, occur identical situation for total broadcasting time of music in mobile unit and external unit, such as: in mobile unit, total broadcasting time of music is 20, in USB flash disk, total broadcasting time of music is also 20.Now, need by determining the judgement of single broadcasting time to play the highest equipment of frequency.
If store 20 songs in mobile unit, per song to be all played once, and in USB flash disk, storing 5 songs, the number of times that per song is played is followed successively by: 6,3,3,5,3, now, in this case, USB flash disk single broadcasting time is maximum, is and plays the highest equipment of frequency, therefore, in the specific implementation, setting USB flash disk is preferred unit when again playing music to step S12 shown in Fig. 1.In addition, in some cases, total broadcasting time of music in described mobile unit and external unit may be there is, the situation that described mobile unit is all identical with the broadcasting time of single in external unit, now, still can by obtain total reproduction time of music in described mobile unit, external unit set described in again play music time preferred unit.Similar to embodiment one and embodiment two, be exactly in Preset Time, as in one week, total the reproduction time adding up music in described mobile unit and external unit set described in preferred unit when again playing music.
In addition, if described mobile unit is all identical with total reproduction time with the broadcasting frequency of music in described external unit, particularly, in described external unit in total broadcasting time of music, mobile unit in identical, the external unit of total broadcasting time of music in the single broadcasting time of each song, mobile unit in identical, the external unit of the single broadcasting time of each song in total reproduction time of music, mobile unit total reproduction time of music also identical, now, the described mobile unit of random setting or external unit are preferred unit when again playing music.
The music player of the mobile unit in the present embodiment in the music player of mobile unit and embodiment one is distinguished and is, acquiring unit comprises:
First computing unit, for obtaining the single broadcasting time of each song in described mobile unit in Preset Time, and calculates total broadcasting time of music in described mobile unit;
Second computing unit, for obtaining the single broadcasting time of each song in described external unit in Preset Time, and calculates total broadcasting time of music in described external unit;
3rd determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency; When total broadcasting time of music is identical in described mobile unit with external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
The setup unit of the present embodiment, detecting unit, storage unit, switch unit described in reference example one, can repeat no more herein.In addition, described acquiring unit also comprises the 5th acquiring unit, equally also can reference example one.
The embodiment of the present invention also provides a kind of mobile unit, comprises above-mentioned music player.
In sum, technical scheme of the present invention at least has the following advantages:
By obtaining the broadcasting frequency of music in mobile unit and external unit, the equipment that setting broadcasting frequency is the highest is preferred unit when again playing music, user can be made when listening to music next time, the memory location of the target sound music file liked is found without the need to mode manually again, only need click to play and just can listen to the music liked, improve the playing efficiency of mobile unit, simultaneously, also improve mobile unit intelligence degree, enhance the Experience Degree of user, bring facility to user.
Further, under the prerequisite that total broadcasting time of music is identical in mobile unit with external unit, obtain the single broadcasting time of each song in mobile unit and external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency, and then the preferred unit set when again playing music, or, obtain total reproduction time of music in described mobile unit, external unit, determine that the longest equipment of described total reproduction time is play the highest equipment of frequency, and then preferred unit when music is play in setting again.When making the broadcasting frequency of music in mobile unit with external unit identical, still preferred unit when again playing music can be determined, further increasing the intelligence degree of mobile unit, improve the playing efficiency of mobile unit, enhance the Experience Degree of user.
Although the present invention with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; the Method and Technology content of above-mentioned announcement can be utilized to make possible variation and amendment to technical solution of the present invention; therefore; every content not departing from technical solution of the present invention; the any simple modification done above embodiment according to technical spirit of the present invention, equivalent variations and modification, all belong to the protection domain of technical solution of the present invention.

Claims (19)

1. a method for playing music for mobile unit, is characterized in that, comprising:
Obtain the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit;
The equipment that setting broadcasting frequency is the highest is preferred unit when again playing music.
2. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain total broadcasting time of music in described mobile unit in Preset Time;
Obtain total broadcasting time of music in described external unit in Preset Time;
Determine that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
3. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain the single broadcasting time of each song in described mobile unit in Preset Time;
Obtain the single broadcasting time of each song in described external unit in Preset Time;
Determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
4. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, in the described mobile unit of described acquisition, the external unit that is connected with described mobile unit, the broadcasting frequency of music comprises:
Obtain the single broadcasting time of each song in described mobile unit in Preset Time, and calculate total broadcasting time of music in described mobile unit;
Obtain the single broadcasting time of each song in described external unit in Preset Time, and calculate total broadcasting time of music in described external unit;
Determine that the equipment that total broadcasting time is maximum is play the highest equipment of frequency;
When total broadcasting time of music is identical in described mobile unit with external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
5. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, also comprise:
At described mobile unit with when the broadcasting frequency of music is identical in described external unit, obtain total reproduction time of music in described mobile unit, external unit;
Setting the longest equipment of described total reproduction time is preferred unit when again playing music.
6. the method for playing music of mobile unit as claimed in claim 5, is characterized in that, also comprise:
At described mobile unit with when in described external unit, the broadcasting frequency of music is identical with total reproduction time, the described mobile unit of random setting or external unit are preferred unit when again playing music.
7. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, also comprise:
When again playing music, if described preferred unit is external unit, then detects described external unit and whether be connected with described mobile unit.
8. the method for playing music of mobile unit as claimed in claim 1, is characterized in that, also comprise:
Preserve the broadcast interface that last plays music in described preferred unit;
When again playing music, switch to the broadcast interface of described preservation.
9. the method for playing music of mobile unit as claimed in claim 1, it is characterized in that, described external unit comprises: SD card, USB flash disk.
10. a music player for mobile unit, is characterized in that, comprising:
Acquiring unit, for obtaining the broadcasting frequency of music in described mobile unit, the external unit that is connected with described mobile unit;
Setup unit, for setting, to play the highest equipment of frequency be preferred unit when again playing music.
The music player of 11. mobile units as claimed in claim 10, it is characterized in that, described acquiring unit comprises:
First acquiring unit, for obtaining total broadcasting time of music in described mobile unit in Preset Time;
Second acquisition unit, for obtaining total broadcasting time of music in described external unit in Preset Time;
First determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency.
The music player of 12. mobile units as claimed in claim 10, it is characterized in that, described acquiring unit comprises:
3rd acquiring unit, for obtaining the single broadcasting time of each song in described mobile unit in Preset Time;
4th acquiring unit, for obtaining the single broadcasting time of each song in described external unit in Preset Time;
Second determining unit, for determining that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
The music player of 13. mobile units as claimed in claim 10, it is characterized in that, described acquiring unit comprises:
First computing unit, for obtaining the single broadcasting time of each song in described mobile unit in Preset Time, and calculates total broadcasting time of music in described mobile unit;
Second computing unit, for obtaining the single broadcasting time of each song in described external unit in Preset Time, and calculates total broadcasting time of music in described external unit;
3rd determining unit, for determining that the equipment that total broadcasting time is maximum is play the highest equipment of frequency; When total broadcasting time of music is identical in described mobile unit with external unit, determine that the equipment that single broadcasting time is maximum is play the highest equipment of frequency.
The music player of 14. mobile units as claimed in claim 10, is characterized in that,
Described acquiring unit, also at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, obtain total reproduction time of music in described mobile unit, external unit;
Described setup unit, also at described mobile unit with when in described external unit, the broadcasting frequency of music is identical, setting the longest equipment of described total reproduction time is preferred unit when again playing music.
The music player of 15. mobile units as claimed in claim 14, is characterized in that,
Described setup unit, also for when the broadcasting frequency of described mobile unit, external unit middle pitch is identical with total reproduction time, the described mobile unit of random setting or external unit are preferred unit when again playing music.
The music player of 16. mobile units as claimed in claim 10, is characterized in that, also comprise:
Whether detecting unit, for when again playing music and described setup unit setting preferred unit is external unit, detecting described external unit and being connected with described mobile unit.
The music player of 17. mobile units as claimed in claim 10, is characterized in that, also comprise:
Storage unit, plays the broadcast interface of music in described preferred unit for preserving last;
Switch unit, for when again playing music, switches to the broadcast interface that described storage unit is preserved.
The music player of 18. mobile units as claimed in claim 10, it is characterized in that, described external unit comprises: SD card, USB flash disk.
19. 1 kinds of mobile units, is characterized in that, comprise the music player described in any one of claim 10 to 18.
CN201110338773.7A 2011-10-31 2011-10-31 Mobile unit and method for playing music thereof and device Active CN103093787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110338773.7A CN103093787B (en) 2011-10-31 2011-10-31 Mobile unit and method for playing music thereof and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110338773.7A CN103093787B (en) 2011-10-31 2011-10-31 Mobile unit and method for playing music thereof and device

Publications (2)

Publication Number Publication Date
CN103093787A CN103093787A (en) 2013-05-08
CN103093787B true CN103093787B (en) 2016-03-30

Family

ID=48206279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110338773.7A Active CN103093787B (en) 2011-10-31 2011-10-31 Mobile unit and method for playing music thereof and device

Country Status (1)

Country Link
CN (1) CN103093787B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895583B (en) * 2017-11-03 2020-01-14 深圳市沃特沃德股份有限公司 Method for distributing system media source by vehicle-mounted system and vehicle-mounted system
CN111613201A (en) * 2020-06-01 2020-09-01 大陆泰密克汽车系统(上海)有限公司 In-vehicle sound management device and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04351777A (en) * 1991-05-28 1992-12-07 Fujitsu Ten Ltd Automatic music selection method for optical disk reproducing device
JP2002032951A (en) * 2000-07-18 2002-01-31 Kenwood Corp Recording medium player utilizing changer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04351777A (en) * 1991-05-28 1992-12-07 Fujitsu Ten Ltd Automatic music selection method for optical disk reproducing device
JP2002032951A (en) * 2000-07-18 2002-01-31 Kenwood Corp Recording medium player utilizing changer

Also Published As

Publication number Publication date
CN103093787A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
US8571501B2 (en) Cellular handheld device with FM Radio Data System receiver
KR101126922B1 (en) Method for data transmission utilizing a portable multimedia device
CN101937693A (en) Video and audio playing method and system based on voice command
CN103607678B (en) A kind of wireless synchronization audio amplifier
CN104918069B (en) One kind plays scenario reduction method, system, playback terminal and control terminal
CN103716656A (en) Video loading method and electronic device
JP2004528649A (en) Playback method of multimedia data by entertainment device
CN104092654A (en) Media playing method, client and system
CN103384176A (en) Vehicle-mounted terminal radio station music collecting method and multimedia data processing system
CN103187077A (en) Vehicle-mounted equipment, and audio control method and device applied to vehicle-mounted equipment
CN102572670A (en) One-to-many wireless frequency modulation (FM) loudspeaker box system
CN103399917B (en) Data file insertion, device and system
CN103093787B (en) Mobile unit and method for playing music thereof and device
CN105611400B (en) Content processing apparatus and method for transmitting variable-size segments
US20180121159A1 (en) Content Receiver to Tune and Segment Programming
CN103369007A (en) Method, system and mobile terminal for obtaining associated music information
KR20120014340A (en) System and method for playing contents using of exterior speaker in converged personal network service environment
CN104750868A (en) Method and device for establishing multi-media file playlist
US20150271598A1 (en) Radio to Tune Multiple Stations Simultaneously and Select Programming Segments
CN105654973A (en) Audio file processing method and system
CN101901612B (en) Sound playing method and device with variable speed and invariable tone
CN108200142A (en) A kind of music method for pushing and sound-box device
US8832752B2 (en) Automatic transmission content selection
US8175518B2 (en) System for and method of receiving internet radio broadcast via satellite radio
CN103093790A (en) Vehicle-mounted equipment and music playing method and playing device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Zhang Ruijin

Inventor after: Ying Zhenkai

Inventor before: Zhang Ruijin

Inventor before: Ying Yilun

CB03 Change of inventor or designer information