CN103002015A - Method and system for close-range music sharing - Google Patents

Method and system for close-range music sharing Download PDF

Info

Publication number
CN103002015A
CN103002015A CN2012104542433A CN201210454243A CN103002015A CN 103002015 A CN103002015 A CN 103002015A CN 2012104542433 A CN2012104542433 A CN 2012104542433A CN 201210454243 A CN201210454243 A CN 201210454243A CN 103002015 A CN103002015 A CN 103002015A
Authority
CN
China
Prior art keywords
music sharing
server end
audio file
music
client
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
Application number
CN2012104542433A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2012104542433A priority Critical patent/CN103002015A/en
Publication of CN103002015A publication Critical patent/CN103002015A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a system for close-range music sharing. The method is applicable to at least two communication terminals wirelessly communicated, wherein one of the communication terminal is a server terminal, and the other communication terminals are clients. The method includes: the server terminal writes target audio files into a buffer memory space according to music sharing requests transmitted by the clients; the server terminal transmits audio data in the buffer memory space to the clients; and the clients plays the received audio data online. By the method and the system for close-range music sharing, traditional music sharing way utilizing wireless communication to transmit the whole audio file is avoided, audio data in a server terminal buffer memory space can be received by one or more clients simultaneously by means of online sharing, the audio data can be played online, storage space of clients and time for transmitting audio files can be saved, and interactivity of music sharing is enhanced.

Description

Closely music sharing method and system
Technical field
The present invention relates to wireless communication field, relate in particular to the method and system that voice data is shared between the equipment.
Background technology
Along with the rise of the Internet, up-to-date music and information can be upgraded in time on network, and the common transmission media such as traditional broadcast receiver, broadcasting are ignored by people gradually.The intelligent mobile terminals such as mobile phone are because its convenience usually becomes the first-selected instrument that people listen to music, music and newfangled music that people can oneself like in network search by mobile radio network.
Sharing generally all by bluetooth or the wireless communication technology such as infrared of audio file closely transmitted file between traditional cellphone subscriber; be sent to another mobile phone storage medium with the audio file that will need to transmit from a mobile phone storage medium; but such file-sharing can be encroached on third-party intellectual property usually; both lost time; affecting again the user experiences; and the cellphone subscriber still can't know the music that peripheral friend listens to online by WLAN (wireless local area network), listens to synchronously with the music that realizes and friend is real.If can realize online synchronous music between the cellphone subscriber, then can share simultaneously the music of liking with friend, strengthen interactive and interesting.
Summary of the invention
The objective of the invention is: a kind of closely music sharing method is provided, and the method supports the audio file between a plurality of communication terminals to share online, has strengthened the interactive of music sharing.
Another object of the present invention is: a kind of closely music sharing system is provided, and this system can realize that the audio file between a plurality of communication terminals is shared online, has saved the memory space of portable terminal, and it is convenient to share, interactive strong.
To achieve these goals, the technical solution used in the present invention is:
A kind of closely music sharing method is applied between the communication terminal of two or more radio communications, and one of them communication terminal is server end, and all the other communication terminals are client, and the method may further comprise the steps:
Described server end writes spatial cache according to the music sharing request that described client sends with the target audio file;
Described server end is sent to described client with the voice data in the described spatial cache;
Described client is play online to the described voice data that receives.
Preferably, described target audio file is the in progress audio file of described server end.
Preferably, the audio file that searches at described server end for the audio file name that comprises in the music sharing request that sends according to described client of described target audio file.
Preferably, described spatial cache is the linear structure buffer of first in first out.
Preferably, setting up radio communication by wifi direct technology between described client and the described server end is connected.
The present invention also provides a kind of closely music sharing system, comprises the communication terminal of two or more radio communications, and one of them communication terminal is server end, and all the other communication terminals are client, and described client comprises:
The command request module is used for sending the music sharing request to server end;
Online playing module is used for receiving and plays online from the voice data of server end and to described voice data;
Described server end comprises:
Cache module is used for according to the music sharing request of described client the target music being carried out caching process;
Sending module is for the online playing module that the voice data in the described cache module is sent to described client.
Preferably, described target audio file is the in progress audio file of described server end.
Preferably, the audio file that searches at described server end for the audio file name that comprises in the music sharing request that sends according to described client of described target audio file.
Preferably, described spatial cache is the linear structure buffer of first in first out.
Preferably, setting up radio communication by wifi direct technology between described client and the described server end is connected.
The invention has the beneficial effects as follows: closely music sharing method and system of the present invention, avoided transmitting by radio communication between the traditional communication terminal mode that realizes music sharing of whole audio file, by the online mode of sharing, so that the voice data between one or more client while reception server end buffer area, and described voice data play online, both save the memory space of client and the time of transmitting audio file, strengthened again the interactive of music sharing.For the public place, a plurality of clients can also be listened to news, advertisement etc. online by music sharing, thereby can reach the effect of traditional common transmission medium.
Description of drawings
Fig. 1 is the flow chart of steps of closely music sharing method of the present invention;
Fig. 2 is the functional-block diagram of closely music sharing system of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and preferred embodiment, but embodiments of the present invention are not limited to this.
The present invention by the music between a plurality of communication terminals share online with solve audio file transmissions time-consuming, take memory space and the nonsynchronous defective of music.
Take mobile phone as example, when a certain user's mobile phone A when playing a piece of music, if when this user's good friend want to listen to this music by mobile phone B, then using closely music sharing method of the present invention can solve.With reference to Fig. 1, the inventive method comprises:
Step S10, described server end writes spatial cache according to the music sharing request that described client sends with the target audio file;
Mobile phone B sends the music sharing request to mobile phone A, after mobile phone A is agreed this request, then mobile phone A writes in progress voice data in the spatial cache, and the spatial cache that duration is 5s for example is set, and described spatial cache is the linear structure buffer of first in first out.
Step S20, described server end is sent to described client with the voice data in the described spatial cache;
Mobile phone A is when writing voice data in the spatial cache, also the voice data in the spatial cache is sent on the mobile phone B by wireless network, can arrange spatial cache herein, when the space that takies in detecting spatial cache reaches predetermined threshold, then the data in the spatial cache are sent on the mobile phone B.
Step S30, described client is play online to the described voice data that receives.
Mobile phone B will be play the voice data from mobile phone A online, in order to guarantee that music is smooth and easy on the mobile phone B, need to improve audio data transmission speed, because the mobile phone B music playing is to adopt the online mode of playing, therefore do not need audio file integral body is downloaded on the mobile phone B, thereby saved the memory space of mobile phone B, and listened to music and saved in advance audio reception file worry consuming time, only need listen to online and can conveniently realize music sharing.
In the present invention, in order to guarantee the reliability of transfer of data between the communication terminal, the preferred wireless connections mode that adopts wifi direct between each communication terminal.Adopt wifi direct, so that do not rely on the connection of wireless router between the communication terminal, its transmission rate and transmission range have significantly lifting than Bluetooth transmission.And wifi direct equipment by establishment group (with one to one or the topological form of one-to-many) connect, the working forms of group and infrastructure BSS are similar.Can be responsible for whole group by a wifi direct equipment, comprise which equipment of control adds, when group starts and termination etc.Rely on wifi direct technology, except realizing between two good friends can also realizing that " list " is to the music sharing pattern of " many " " list " music sharing pattern to " list ".
For example server end is the public broadcasting output equipment that stores a large amount of audio files, it can access a plurality of communication terminals as client simultaneously by wifi direct, the playback terminal of support of wireless communication such as mobile phone or PDA, a plurality of clients are by sending the online music of listening server end broadcast of music sharing request, owing to adopt the online voice data that receives in the Play Server end spatial cache, need not to take the internal storage space of client, also need not consume the flow of client wireless access mobile site, this music sharing mode is efficient and convenient.Simultaneously, server end also can be play news, plays public service ads when switching song, plays the effect of public broadcasting medium.
Preferably, server end receives the music sharing request from client, described music sharing request comprises the audio file name that the user wants program request, server end according to the audio file name that receives in this locality or this audio file of webserver search, and then music playing and the voice data that will play send to the client of request by spatial cache, to realize that the client point broadcasts and the online shared effect of music.Described server end can be Cloud Server, by the magnanimity voice data of Cloud Server storage, to satisfy client user's individual sexual demand.
Share online in the method in music of the present invention, be not downloaded to client terminal local because the audio file of sharing is complete, both avoided listening to the storage resources that music has taken client, avoided again the third-party intellectual property of infringement, and can not take the wireless Internet access flow of user mobile phone, online audibility is smooth, is conducive to strengthen the user and listens to online the interactive and interesting of music.
The present invention also provides a kind of closely music sharing system, comprises the communication terminal of two or more radio communications, and one of them communication terminal is server end 20, and all the other communication terminals are client 10.Server end 20 can be the portable terminal that stores a large amount of audio files, such as mobile phone, PDA, PC server etc., 10 of described clients are the portable terminal that possesses music playback function, such as mobile phone, PDA etc., described server end 20 interconnects by wireless communication technology with client 10, preferably, adopting wifi direct technology to set up radio communication connects.
With reference to Fig. 2, described client 10 comprises:
Command request module 101 is used for sending the music sharing request to server end 20;
Online playing module 102 is used for receiving and plays online from the voice data of server end 20 and to described voice data;
Described server end 20 comprises:
Cache module 201 is used for according to the music sharing request of described client 10 the target music being carried out caching process;
Sending module 202 is for the online playing module 102 that the voice datas in the described cache module 201 is sent to described client.
When the quantity of the client 10 that accesses is one, be " list " to the music sharing pattern of " list "; When the quantity of the client 10 that accesses is two or more, be " list " to the music sharing pattern of " many ".
The music sharing request that client 10 sends can be share service device end 20 in progress audio files, is about to the music data of server end 20 broadcasts this moment in spatial cache is sent to the online playing module 102 of client 10.
The music that client 10 can also come program request to like by server end 20, this moment, the music sharing request of command request module 101 transmissions comprised the audio file name that the user wants program request, server end 20 according to the audio file name that receives in this locality or this audio file of webserver search, and then music playing and the voice data that will play send to the client 10 of request by spatial cache, to realize that 10 of clients broadcast and the online shared effect of music.Described server end 20 can be Cloud Server, by the magnanimity voice data of Cloud Server storage, to satisfy client 10 users' individual sexual demand.
Closely music sharing method and system of the present invention, avoided transmitting by radio communication between the traditional communication terminal mode that realizes music sharing of whole audio file, by the online mode of sharing, so that the voice data between one or more 10 while of client reception server end 20 buffer areas, and described voice data play online, both save the memory space of client 10 and the time of transmitting audio file, strengthened again the interactive of music sharing.For the public place, a plurality of clients can also be listened to news, advertisement etc. online by music sharing, thereby can reach the effect of traditional common transmission medium.
More than be that better enforcement of the present invention is specified, but the invention is not limited to described embodiment, those of ordinary skill in the art make all equivalent variations or replacement also can doing under the prerequisite of spirit of the present invention, the distortion that these are equal to or replace all is included in the application's claim limited range.

Claims (10)

1. a closely music sharing method is applied between the communication terminal of two or more radio communications, and one of them communication terminal is server end, and all the other communication terminals are client, it is characterized in that, the method may further comprise the steps:
Described server end writes spatial cache according to the music sharing request that described client sends with the target audio file;
Described server end is sent to described client with the voice data in the described spatial cache;
Described client is play online to the described voice data that receives.
2. closely music sharing method and system as claimed in claim 1, it is characterized in that: described target audio file is the in progress audio file of described server end.
3. closely music sharing method and system as claimed in claim 1 is characterized in that: the audio file that described target audio file searches at described server end for the audio file name that comprises in the music sharing request that sends according to described client.
4. closely music sharing method and system as claimed in claim 1, it is characterized in that: described spatial cache is the linear structure buffer of first in first out.
5. closely music sharing method and system as claimed in claim 1 is characterized in that: set up radio communication by wifi direct technology between described client and the described server end and be connected.
6. closely music sharing system comprises the communication terminal of two or more radio communications, and one of them communication terminal is server end, and all the other communication terminals are client, it is characterized in that:
Described client comprises:
The command request module is used for sending the music sharing request to server end;
Online playing module is used for receiving and plays online from the voice data of server end and to described voice data;
Described server end comprises:
Cache module is used for according to the music sharing request of described client the target music being carried out caching process;
Sending module is for the online playing module that the voice data in the described cache module is sent to described client.
7. closely music sharing system as claimed in claim 6, it is characterized in that: described target audio file is the in progress audio file of described server end.
8. closely music sharing system as claimed in claim 6 is characterized in that: the audio file that described target audio file searches at described server end for the audio file name that comprises in the music sharing request that sends according to described client.
9. closely music sharing system as claimed in claim 6, it is characterized in that: described spatial cache is the linear structure buffer of first in first out.
10. closely music sharing system as claimed in claim 6 is characterized in that: set up radio communication by wifi direct technology between described client and the described server end and be connected.
CN2012104542433A 2012-11-13 2012-11-13 Method and system for close-range music sharing Pending CN103002015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104542433A CN103002015A (en) 2012-11-13 2012-11-13 Method and system for close-range music sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104542433A CN103002015A (en) 2012-11-13 2012-11-13 Method and system for close-range music sharing

Publications (1)

Publication Number Publication Date
CN103002015A true CN103002015A (en) 2013-03-27

Family

ID=47930148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104542433A Pending CN103002015A (en) 2012-11-13 2012-11-13 Method and system for close-range music sharing

Country Status (1)

Country Link
CN (1) CN103002015A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716393A (en) * 2013-12-27 2014-04-09 深圳天珑无线科技有限公司 Resource sharing method and device and terminal used for LAN communication
CN104519468A (en) * 2013-10-08 2015-04-15 张发泉 Method for people to jointly participate in entertainment by using mobile phones
CN104750723A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 File sharing method, system, browser and server
CN105976825A (en) * 2016-06-15 2016-09-28 贵阳朗玛信息技术股份有限公司 Music sharing device and music sharing method
CN106464304A (en) * 2014-11-24 2017-02-22 华为技术有限公司 Resource sharing method and terminal
CN106685772A (en) * 2016-12-23 2017-05-17 北京奇虎科技有限公司 Intelligent speaker, intelligent housing system and implementation method thereof
CN108924603A (en) * 2018-07-31 2018-11-30 复旦大学 Multiple terminals stream media play system and method based on software definition WiFi
WO2019192098A1 (en) * 2018-04-03 2019-10-10 平安科技(深圳)有限公司 Entertainment resource sharing method and device, and computer-readable storage medium
CN110503984A (en) * 2019-08-12 2019-11-26 成都法兰特科技有限公司 Playback method, equipment and the system of wireless audio playback equipment
WO2020132818A1 (en) * 2018-12-24 2020-07-02 华为技术有限公司 Wireless short-distance audio sharing method and electronic device
CN113766434A (en) * 2021-10-08 2021-12-07 亿次网联(杭州)科技有限公司 File sharing method and device, home cloud server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094317A1 (en) * 2007-10-03 2009-04-09 General Instrument Corporation Method, apparatus and system for sharing multimedia content within a peer-to-peer network
CN101964842A (en) * 2010-09-13 2011-02-02 复旦大学 Mobile phone terminal-based self-organized video synchronous sharing player
CN102075728A (en) * 2011-01-18 2011-05-25 中兴通讯股份有限公司 Method and system for sharing audio and/or video data
US20120202424A1 (en) * 2011-02-07 2012-08-09 Samsung Electronics Co., Ltd. Apparatus and method for playing music

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090094317A1 (en) * 2007-10-03 2009-04-09 General Instrument Corporation Method, apparatus and system for sharing multimedia content within a peer-to-peer network
CN101964842A (en) * 2010-09-13 2011-02-02 复旦大学 Mobile phone terminal-based self-organized video synchronous sharing player
CN102075728A (en) * 2011-01-18 2011-05-25 中兴通讯股份有限公司 Method and system for sharing audio and/or video data
US20120202424A1 (en) * 2011-02-07 2012-08-09 Samsung Electronics Co., Ltd. Apparatus and method for playing music

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519468A (en) * 2013-10-08 2015-04-15 张发泉 Method for people to jointly participate in entertainment by using mobile phones
CN103716393A (en) * 2013-12-27 2014-04-09 深圳天珑无线科技有限公司 Resource sharing method and device and terminal used for LAN communication
CN104750723B (en) * 2013-12-30 2018-12-07 腾讯科技(深圳)有限公司 file sharing method, system, browser and server
CN104750723A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 File sharing method, system, browser and server
WO2015101302A1 (en) * 2013-12-30 2015-07-09 腾讯科技(深圳)有限公司 Data sharing method, system, user end and background server
CN106464304A (en) * 2014-11-24 2017-02-22 华为技术有限公司 Resource sharing method and terminal
CN105976825A (en) * 2016-06-15 2016-09-28 贵阳朗玛信息技术股份有限公司 Music sharing device and music sharing method
CN106685772A (en) * 2016-12-23 2017-05-17 北京奇虎科技有限公司 Intelligent speaker, intelligent housing system and implementation method thereof
WO2019192098A1 (en) * 2018-04-03 2019-10-10 平安科技(深圳)有限公司 Entertainment resource sharing method and device, and computer-readable storage medium
CN108924603A (en) * 2018-07-31 2018-11-30 复旦大学 Multiple terminals stream media play system and method based on software definition WiFi
WO2020132818A1 (en) * 2018-12-24 2020-07-02 华为技术有限公司 Wireless short-distance audio sharing method and electronic device
CN110503984A (en) * 2019-08-12 2019-11-26 成都法兰特科技有限公司 Playback method, equipment and the system of wireless audio playback equipment
CN113766434A (en) * 2021-10-08 2021-12-07 亿次网联(杭州)科技有限公司 File sharing method and device, home cloud server and storage medium

Similar Documents

Publication Publication Date Title
CN103002015A (en) Method and system for close-range music sharing
EP3073703A1 (en) Method and system for sharing music and other audio content among mobile devices
CN101558617B (en) Community networking using networked audio devices
US8886112B2 (en) Media device with enhanced data retrieval feature
CN102204219A (en) Method, apparatus and system for switching and playing a video
CN102456347A (en) Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
CN105161124A (en) Audio playing method and apparatus of multiple playing devices
CN105185391A (en) Method and device for multi-user sound box control
CN104240735A (en) Intelligent loudspeaker box audio playing method and system
CN105872002A (en) Video program obtaining method and system, and device
CN105743958A (en) Terminal-to-terminal communication method and device
CN102143203A (en) System and method for realizing synchronous sharing of multimedia files between mobile terminals
CN105636041A (en) Networking method and apparatus for intelligent device
CN105812185B (en) A kind of communication connecting method of playback equipment
US9781751B2 (en) Systems, methods, and devices for associating a contact identifier with a broadcast source
CN104320699A (en) Method for dynamically adjusting Bluetooth sounding device
CN101267383A (en) Data transmission method and system
US20080281787A1 (en) Content storing device query
CN105898356A (en) Live video streaming media recording method and system
CN103686540A (en) Active wireless network sound equipment and use method thereof
CN106953899A (en) Multi-medium data sharing method and device
CN203387627U (en) Live broadcast and order system of mobile streaming media
CN102932214B (en) A kind of discovery polymerization of home network dissimilar medium equipment
CN103716658B (en) Video on demand service device and method
CN102656894A (en) Implementation method and system for mobile stream media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130327