CN105139886B - A kind of method for playing music and system using switching device - Google Patents
A kind of method for playing music and system using switching device Download PDFInfo
- Publication number
- CN105139886B CN105139886B CN201510440126.5A CN201510440126A CN105139886B CN 105139886 B CN105139886 B CN 105139886B CN 201510440126 A CN201510440126 A CN 201510440126A CN 105139886 B CN105139886 B CN 105139886B
- Authority
- CN
- China
- Prior art keywords
- switching device
- usb host
- music
- music file
- usb
- 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
Links
Landscapes
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The present invention discloses a kind of method for playing music and system using switching device, wherein, method includes step:A, the operation of usb host monitoring user, receive user commence play out instruction after will commence play out instruction and music file is sent into switching device;B, switching device receives commence play out instruction and music file after, music file is decoded and plays corresponding music file.Pass through the present invention, user can by switching device one be connected by USB interface with usb host, other end connects earphone by earphone interface, so as to listen to the music in usb host using the earphone, certainly it also can directly be played out using switching device, while extension earphone cable has been achieveed the purpose that by the switching device.
Description
Technical field
The present invention relates to mobile terminal application field, more particularly to a kind of method for playing music using switching device and it is
System.
Background technology
In the prior art, because usb host(Usb host:Such as computer)Often without audio output apparatus, user
Some obstacles are frequently encountered when playing music using usb host:As the audio output port on usb host does not support the ear of user
Machine or speaker, in other words, as the earphone insertion computer of user, but computer does not support such a earphone to lead to not speak;Again
Such as, even if usb host supports the earphone, but since earphone cable is shorter, make troubles to user's use;Namely user's earphone is inserted
Upper computer, although can speak, earphone cable is shorter, and user is using posture and uncomfortable, or even needs to bend the back of the body and use.
Therefore, the prior art has yet to be improved and developed.
The content of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of music using switching device
Method and system, it is intended to solve the problems, such as that existing usb host music is inconvenient.
Technical scheme is as follows:
A kind of method for playing music using switching device, wherein, including step:
A, usb host monitoring user operation, receive user commence play out instruction after will commence play out instruction with
And music file is sent into switching device;
B, switching device receives commence play out instruction and music file after, music file is decoded and plays phase
The music file answered.
The method for playing music using switching device, wherein, include after the step B:
The switching device feeds back the information finished to usb host after music file finishes.
The method for playing music using switching device, wherein, in the step A, the usb host is with music text
Part is transmitted for unit, sends a music file every time.
The method for playing music using switching device, wherein, further included after the step B:
When receiving the stopping play instruction of user, stop playing corresponding music file.
The method for playing music using switching device, wherein, in the step B, the switching device passes through certainly
The loudspeaker of band or the earphone of connection play out.
A kind of music playing system using switching device, wherein, including:Switching device and usb host;The switching dress
Put including:First USB link blocks, file reception module, command reception module, playing module;
The first USB link blocks, it is logical between usb host and switching device to carry out for connecting usb host
News;
File reception module, the music file played for receiving the needs that usb host sends over;
Command reception module, the operational order sended over for receiving usb host;
Playing module, for decoding and playing music file;
The usb host includes:2nd USB link blocks, file sending module, instruction sending module and operation monitoring mould
Block;
The 2nd USB link blocks, are connected for the first USB link blocks with switching device, to carry out USB master
Communication between machine and switching device;
Monitoring modular is operated, corresponding operational order is converted into for monitoring the operation of user, and by operation;
Described instruction sending module, for the operation institute according to the user that detects of operation monitoring modular on usb host
The operational order of conversion, switching device is sent to by operational order by the 2nd USB link blocks;
File sending module, for the music file in usb host to be sent to switching dress by the 2nd USB link blocks
Put.
The music playing system using switching device, wherein, the switching device further includes:
Feedback module, for the information after a music file finishes, finished to usb host feedback.
The music playing system using switching device, wherein, the file sending module is using music file to be single
Position is transmitted, and sends a music file every time.
The music playing system using switching device, wherein, the switching device is mobile phone.
The music playing system using switching device, wherein, the usb host is computer.
Beneficial effect:By the present invention, user can by switching device one be connected by USB interface with usb host, separately
One connects earphone by earphone interface, certainly also can be directly sharp so as to listen to the music in usb host using the earphone
Played out with switching device, while extension earphone cable has been achieveed the purpose that by the switching device.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method for playing music preferred embodiment using switching device of the invention.
Fig. 2 is the structural frames of switching device preferred embodiment in a kind of music playing system using switching device of the invention
Figure.
Fig. 3 is the structural frames of usb host preferred embodiment in a kind of music playing system using switching device of the invention
Figure.
Embodiment
The present invention provides a kind of method for playing music and system using switching device, to make the purpose of the present invention, technology
Scheme and effect are clearer, clear and definite, and the present invention is described in more detail below.It is it should be appreciated that described herein specific
Embodiment only to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow of method for playing music preferred embodiment using switching device of the invention
Figure, as shown in the figure, it includes step:
S101, usb host monitoring user operation, receive user commence play out instruction after will commence play out instruction
And music file is sent into switching device;
S102, switching device receive commence play out instruction and music file after, music file is decoded and is broadcast
Put corresponding music file.
Since USB interface is unified, there are multiple camp's species to differ rather than earphone interface, so user can utilize this hair
Switching device is connected for one by bright method by USB interface with usb host, and other end connects earphone by earphone interface, from
And earphone can be used to listen to the music in usb host, simultaneously because the switching of switching device is so reached extension earphone cable
Purpose.In other words, switching device can be regarded as to mobile phone, usb host regards computer as, and also mobile phone is connected with computer,
Then mobile phone, which connects earphone, can listen to music in computer.
In the step S101, the usb host is transmitted in units of music file, sends a music every time
File.Playing flow can so be simplified, make playing process more smooth,
Its concrete operations is that user plays each music file, USB master according to the playing sequence of player in usb host
Chance in order successively sends music file to switching device.Switching device can be by music file when receiving music file
Preserve, can also be deleted after finishing playing, self-defining operation can be carried out by user.
In the step S102, after the switching device receives music file and commences play out instruction, it can specifically lead to
The earphone for crossing the loudspeaker carried or connection plays out.
Include after the step S102:
The switching device feeds back the information finished to usb host after music file finishes.That is switching dress
Putting can be after each music file finishes, all to the information that finishes of usb host feedback, and such user can be with the
One time got feedack, and certainly, all music files that user can be also set in player plays list play
After the completion of feed back the information finished again.
Further included after the step S102:
When receiving the stopping play instruction of user, stop playing corresponding music file.I.e. user can stop at any time
The only process of music, when user clicks on the button that player stops, then can stop playing phase by switching device
The music file answered.Certain above process is the operation that user carries out on usb host.User also can be at the same time in switching device
The above-mentioned operation for commencing play out and stopping and play is carried out, increase volume also may be selected certainly or reduce the operation of volume.
Based on the above method, the present invention also provides a kind of music playing system preferred embodiment using switching device, bag
Include:The switching device and usb host connected by USB data line;As shown in Fig. 2, the switching device includes:First USB connects
Connection module 21, file reception module 22, command reception module 23, playing module 25;
The first USB link blocks 21, it is logical between usb host and switching device to carry out for connecting usb host
News;
File reception module 22, the music file played for receiving the needs that usb host sends over;
Command reception module 23, the operational order sended over for receiving usb host;
Playing module 25, for decoding and playing music file;
As shown in figure 3, the usb host includes:2nd USB link blocks 11, file sending module 12, instruction send mould
Block 13 and operation monitoring modular 14;
The 2nd USB link blocks 11, are connected for the first USB link blocks 21 with switching device, to carry out
Communication between usb host and switching device;
Monitoring modular 14 is operated, corresponding operational order is converted into for monitoring the operation of user, and by operation;
Described instruction sending module 13, for the operation according to the user that detects of operation monitoring modular on usb host
The operational order changed, switching device is sent to by operational order by the 2nd USB link blocks 11;Operational order includes opening
Beginning play instruction and stopping play instruction.
File sending module 12, for the music file in usb host to be sent to switching by the 2nd USB link blocks
Device.
The switching device further includes:
Feedback module 24, for the information after a music file finishes, finished to usb host feedback.
The file sending module 12 is transmitted in units of music file, sends a music file every time.
The switching device is mobile phone.The usb host is computer, is preferably desktop computer, because desktop computer is not easy
Move, so its use scope of the length limitation of earphone cable, can extend use scope, side by the switching device of the present invention
Just use.
Ins and outs on above-mentioned modular unit have been described in detail in method above, and so it will not be repeated.
In conclusion by the present invention, user can by switching device one be connected by USB interface with usb host, separately
One connects earphone by earphone interface, certainly also can be directly sharp so as to listen to the music in usb host using the earphone
Played out with switching device, while extension earphone cable has been achieveed the purpose that by the switching device.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (7)
1. a kind of method for playing music using switching device, it is characterised in that including step:
A, usb host monitoring user operation, receive user commence play out instruction after will commence play out instruction and sound
Music file is sent into switching device;
B, switching device receives commence play out instruction and music file after, music file is decoded and is played corresponding
Music file;
In the step A, the usb host is transmitted in units of music file, sends a music file every time, described
Usb host successively sends music file to the switching device according to the playing sequence of music file in player;
In the step B, the switching device is played out by the loudspeaker or the earphone of connection carried;
Described switching device one end is connected by USB interface with usb host, and the other end connects earphone by earphone interface.
2. the method for playing music according to claim 1 using switching device, it is characterised in that after the step B
Including:
The switching device feeds back the information finished to usb host after music file finishes.
3. the method for playing music according to claim 1 using switching device, it is characterised in that after the step B
Further include:
When receiving the stopping play instruction of user, stop playing corresponding music file.
A kind of 4. music playing system using switching device, it is characterised in that including:Switching device and usb host;Described turn
Connection device includes:First USB link blocks, file reception module, command reception module, playing module;
The first USB link blocks, for connecting usb host, to carry out the communication between usb host and switching device;
File reception module, the music file played for receiving the needs that usb host sends over;
Command reception module, the operational order sended over for receiving usb host;
Playing module, for decoding and playing music file;
The usb host includes:2nd USB link blocks, file sending module, instruction sending module and operation monitoring modular;
The 2nd USB link blocks, are connected for the first USB link blocks with switching device, with carry out usb host with
Communication between switching device;
Monitoring modular is operated, corresponding operational order is converted into for monitoring the operation of user, and by operation;
Described instruction sending module, for being changed according to operation of the user that detects of operation monitoring modular on usb host
Operational order, operational order is sent to switching device by the 2nd USB link blocks;
File sending module, for the music file in usb host to be sent to switching device by the 2nd USB link blocks;
The file sending module is transmitted in units of music file, sends a music file, the usb host every time
Music file is sent to the switching device successively according to the playing sequence of music file in player;
The switching device is played out by the loudspeaker or the earphone of connection carried;
Described switching device one end is connected by USB interface with usb host, and the other end connects earphone by earphone interface.
5. the music playing system according to claim 4 using switching device, it is characterised in that the switching device is also
Including:
Feedback module, for the information after a music file finishes, finished to usb host feedback.
6. the music playing system according to claim 4 using switching device, it is characterised in that the switching device is
Mobile phone.
7. the music playing system according to claim 4 using switching device, it is characterised in that the usb host is
Computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510440126.5A CN105139886B (en) | 2015-07-24 | 2015-07-24 | A kind of method for playing music and system using switching device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510440126.5A CN105139886B (en) | 2015-07-24 | 2015-07-24 | A kind of method for playing music and system using switching device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105139886A CN105139886A (en) | 2015-12-09 |
CN105139886B true CN105139886B (en) | 2018-05-08 |
Family
ID=54725205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510440126.5A Active CN105139886B (en) | 2015-07-24 | 2015-07-24 | A kind of method for playing music and system using switching device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105139886B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9876018B2 (en) | 2015-12-03 | 2018-01-23 | Micron Technology, Inc. | Ferroelectric capacitor, ferroelectric field effect transistor, and method used in forming an electronic component comprising conductive material and ferroelectric material |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1896982A (en) * | 2005-07-15 | 2007-01-17 | 北京菁华资源科技有限公司 | Cell-phone USB main system |
CN1968171A (en) * | 2006-11-24 | 2007-05-23 | 蔡大维 | Unidirectional infrared communication digital portable medial player and its digital content charging management system |
CN101304619A (en) * | 2007-05-11 | 2008-11-12 | 鸿富锦精密工业(深圳)有限公司 | Wireless earphone and audiofrequency apparatus as well as audio frequency play method |
CN201383560Y (en) * | 2009-03-25 | 2010-01-13 | 深圳市三木通信技术有限公司 | Data cable, mobile communication terminal playing system and acoustic system |
CN102421040A (en) * | 2011-12-15 | 2012-04-18 | 上海山景集成电路技术有限公司 | USB (Universal Serial Bus)-based wireless sound box device |
CN202258371U (en) * | 2011-09-22 | 2012-05-30 | 黄雄劲 | Bluetooth multi-media player |
CN102708082A (en) * | 2012-05-09 | 2012-10-03 | 福兴达科技实业(深圳)有限公司 | Method for playing high-fidelity music through mobile terminal, and mobile terminal for same |
CN102984620A (en) * | 2012-11-30 | 2013-03-20 | 深圳市博尊音域科技有限公司 | Sound equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100754210B1 (en) * | 2006-03-08 | 2007-09-03 | 삼성전자주식회사 | Method and apparatus for reproducing multi channel sound using cable/wireless device |
-
2015
- 2015-07-24 CN CN201510440126.5A patent/CN105139886B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1896982A (en) * | 2005-07-15 | 2007-01-17 | 北京菁华资源科技有限公司 | Cell-phone USB main system |
CN1968171A (en) * | 2006-11-24 | 2007-05-23 | 蔡大维 | Unidirectional infrared communication digital portable medial player and its digital content charging management system |
CN101304619A (en) * | 2007-05-11 | 2008-11-12 | 鸿富锦精密工业(深圳)有限公司 | Wireless earphone and audiofrequency apparatus as well as audio frequency play method |
CN201383560Y (en) * | 2009-03-25 | 2010-01-13 | 深圳市三木通信技术有限公司 | Data cable, mobile communication terminal playing system and acoustic system |
CN202258371U (en) * | 2011-09-22 | 2012-05-30 | 黄雄劲 | Bluetooth multi-media player |
CN102421040A (en) * | 2011-12-15 | 2012-04-18 | 上海山景集成电路技术有限公司 | USB (Universal Serial Bus)-based wireless sound box device |
CN102708082A (en) * | 2012-05-09 | 2012-10-03 | 福兴达科技实业(深圳)有限公司 | Method for playing high-fidelity music through mobile terminal, and mobile terminal for same |
CN102984620A (en) * | 2012-11-30 | 2013-03-20 | 深圳市博尊音域科技有限公司 | Sound equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105139886A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102301336B (en) | Dynamically provisioning a device with audio processing capability | |
CN102568513B (en) | Audio data processing method and interacting method | |
KR20200139198A (en) | Earphone wireless communication method, master earphone, slave earphone and earphone system | |
CN102932567B (en) | Terminal and audio processing method | |
CN107005800B (en) | Audio file transmission and receiving method, device, equipment and system | |
CN110832579A (en) | Last mile equalization | |
US9866947B2 (en) | Dual-microphone headset and noise reduction processing method for audio signal in call | |
KR101614552B1 (en) | Method of objet transmission between devices with multiple wireless interface | |
CN205004033U (en) | Cloud intelligence speech recognition PA -system | |
CN104254007A (en) | Method and device for processing audio | |
CN105163233A (en) | Method and system for interaction between intelligent cloud sound box and intelligent terminal | |
CN105307102A (en) | Bluetooth wireless audio transmitter | |
CN107431859A (en) | The radio broadcasting of the voice data of encapsulation with control data | |
CN105260159A (en) | Audio play method and apparatus | |
CN103686540A (en) | Active wireless network sound equipment and use method thereof | |
CN205622822U (en) | Two bluetooth speaker | |
CN107171696A (en) | Communication equipment connects the stereo implementation method of call of wireless headset | |
CN104732993A (en) | Wireless router music player | |
CN105139886B (en) | A kind of method for playing music and system using switching device | |
WO2020082710A1 (en) | Voice interaction control method, apparatus and system for bluetooth speaker | |
CN202856964U (en) | Audio playing system and multi-channel earphone with wireless voice integrated | |
CN1980053A (en) | Wireless network audio frequency power amplifier and relative method | |
CN104066033A (en) | Bluetooth sound box system and using method thereof | |
CN111225102A (en) | Bluetooth audio signal transmission method and device | |
CN106293603A (en) | Audio output system and output intent |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211118 Address after: 264200 No. 220, Keji Road, torch high tech Industrial Development Zone, Weihai City, Shandong Province Patentee after: Weihai high tech Park Operation Management Co.,Ltd. Address before: 10 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100 Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd. |