CN103854679B - Music control method, method for playing music, device and system - Google Patents

Music control method, method for playing music, device and system Download PDF

Info

Publication number
CN103854679B
CN103854679B CN201210508875.3A CN201210508875A CN103854679B CN 103854679 B CN103854679 B CN 103854679B CN 201210508875 A CN201210508875 A CN 201210508875A CN 103854679 B CN103854679 B CN 103854679B
Authority
CN
China
Prior art keywords
music
play
those
legal
control
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
CN201210508875.3A
Other languages
Chinese (zh)
Other versions
CN103854679A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210508875.3A priority Critical patent/CN103854679B/en
Publication of CN103854679A publication Critical patent/CN103854679A/en
Application granted granted Critical
Publication of CN103854679B publication Critical patent/CN103854679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The present invention relates to music control method, music play control apparatus, method for playing music, music player and music control system, wherein music control method includes:Focus is established so that an at least music player connects focus, receives the information of these music players transmission, information is registered user's name of corresponding music player;The public key of these music players is obtained according to registered user's name of these music players, verifies whether these music players are legal successively according to the public key of these music players and private key;And if checking is legal, the music player granting music information to be played legal to checking, and music players joint for sending control instructions to these legal music players to control these legal plays music.The present invention can realize that in real time, safely joint plays music to music player.

Description

Music control method, method for playing music, device and system
Technical field
The present invention relates to music technical field, more particularly to music control method, music play control apparatus, Method for playing music, music player and music control system.
Background technology
With the increasingly popularization of mobile device, mobile Internet it is more and more flourishing, can between these mobile devices Which type of interconnection work is carried out, the problem of exactly professional thinks, will also turn into most producing shockingly for Future Internet Hair point.And the application of now nearly all mobile device for needing to communicate all is based directly or indirectly on Internet, That is a side wants to communicate with the opposing party, it is necessary to data are route by complicated Internet, get to the opposing party.But this Kind mode inherently brings the delay that can not ignore(Such as the delay with regard to hundreds of milliseconds easily), this delay is so that some requirements The application of hard real-time communication is developed into very difficult, even impossible thing, such as multiple mobile devices are to music Joint plays.
Multiple mobile devices, such as several or tens mobile phone joint broadcasting music, the work of power amplifier can not only be played With, additionally it is possible to there is stereosonic effect.The mankind from ancient times just hobby music, condition it is limited, only carry with mobile device, Such as in the case of mobile phone, how to make that mobile device is common in real time, safely plays the melodious music of the reward heart, it is popular, extremely It is the primary demand of music-lover less.
The content of the invention
Therefore, the present invention provides music control method, music play control apparatus, method for playing music, music and broadcast Device and music control system are put, to realize that in real time, safely joint plays music to music player.
Specifically, a kind of music control method that the embodiment of the present invention proposes, including step:Focus is established to be supplied to Few music player connection focus, receives the information of these music players transmission, and information fills for corresponding music The registered user's name put;The public key of these music players is obtained according to registered user's name of these music players, Verify whether these music players are legal successively according to the public key of these music players and private key;And if checking is closed Method, then to verifying the legal music player granting music information to be played, and to these legal music players The music player joint that control instruction is sent to control these legal plays music.
In addition, a kind of music play control apparatus that the embodiment of the present invention proposes, including focus establish module, authentication module And control playing module, focus establish module, for establishing focus so that an at least music player connects focus, receive The information that these music players are sent, information are registered user's name of corresponding music player;Authentication module, for root The public key of these music players is obtained according to registered user's name of these music players, is filled according to these musics The public key and private key put verify whether these music players are legal successively;Playing module is controlled, if legal for checking, The music player granting music information to be played legal to checking, and send control to these legal music players System instruction plays music with the music player joint for controlling these legal.
In addition, a kind of method for playing music that the embodiment of the present invention proposes, including step:Registered at registration end, and Receive the private key that registration end is provided;The focus that music play control apparatus is established is connected, and is sent to music play control apparatus Registered user's name, so that whether music play control apparatus is legal according to private key and the public key verifications music player obtained; And if checking is legal, the music information to be played of music play control apparatus granting is received, and receives music control The control instruction that device processed is sent under the control of music play control apparatus to play music.
Furthermore a kind of music player that the embodiment of the present invention proposes, including Registering modules, link block and broadcasting Module, Registering modules, for being registered at registration end, and receive the private key that registration end is provided;Link block, for connecting sound The focus that happy broadcast control device is established, and registered user's name is sent to music play control apparatus, so that music controls Whether device is legal according to private key and the public key verifications music player obtained;Playing module, if legal for checking, connect The music information to be played of music play control apparatus granting is received, and receives the control instruction of music play control apparatus transmission To play music under the control of music play control apparatus.
Furthermore a kind of music control system that the embodiment of the present invention proposes, including music play control apparatus and extremely A few music player, music play control apparatus including focus establish module, authentication module, service call unit and Control playing module;Each music player includes Registering modules, link block and playing module;Each Registering modules, For being registered at registration end, and receive the private key that registration end is provided;Focus establishes module, for establishing focus;Each company Connection module, registered user's name is sent for connecting the focus of music play control apparatus foundation, and to music play control apparatus; Authentication module, the public affairs of an at least music player are obtained for registered user's name according to an at least music player Key, verify at least whether a music player is legal successively according at least public key of a music player and private key;Control Playing module, if legal for checking, to verifying the legal music player granting music information to be played, and to this A little legal music players send control instruction;Each playing module, for receiving music play control apparatus granting The music information to be played, and the control instruction of music play control apparatus transmission is received with the control of music play control apparatus System is lower to play music.
It is of the invention by establishing focus so that an at least music player connects this focus from above-described embodiment, Registered user's name that each music player is sent is received, each sound is obtained always according to registered user's name of each music player The public key of music playing device, public key and private key further according to each music player verify whether each music player closes successively Method, if checking is legal, the music player granting music information to be played legal to checking, and broadcast to legal music Put the music player joint that device sends control instruction to control these legal and play this music, it is achieved thereby that each music In real time, safely joint plays music to playing device, has reached and has expressed single music using multiple music players The music effect that device can not show, pleasing music is brought to masses.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow the above and other objects, features and advantages of the present invention can Become apparent, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, describe in detail as follows.
Brief description of the drawings
Fig. 1 is the step flow chart for the music control method that the embodiment of the present invention proposes;
Fig. 2 is the main frame block diagram for the music play control apparatus that the embodiment of the present invention proposes;
Fig. 3 is the step flow chart for the method for playing music that the embodiment of the present invention proposes;
Fig. 4 is the main frame block diagram for the music player that the embodiment of the present invention proposes;
Fig. 5 is the main frame block diagram for the music control system that the embodiment of the present invention proposes.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined goal of the invention is taken, below in conjunction with Accompanying drawing and preferred embodiment, to according to music control method proposed by the present invention, music play control apparatus, music Method, music player and music control system its embodiment, structure, feature and effect, describe in detail As after.
For the present invention foregoing and other technology contents, feature and effect, in the following preferable reality coordinated with reference to schema Applying during example describes in detail to be clearly presented.By the explanation of embodiment, when predetermined mesh can be reached to the present invention The technological means taken and effect be able to more deeply and it is specific understand, but institute's accompanying drawings are only to provide with reference to saying It is bright to be used, not it is used for being any limitation as the present invention.
Fig. 1 is the step flow chart of music control method provided in an embodiment of the present invention.Here, music controls Method is used to send control instruction to legal music player to control legal music player to combine broadcasting music. Specifically, referring to Fig. 1, the music control method of the embodiment of the present invention may include following steps S101-S109:
Step S101:Focus is established so that an at least music player connects this focus, receives these musics dress The information of transmission is put, information is registered user's name of corresponding music player.
In this step, one can be established using music play control apparatus and is based on Wi-Fi(WirelessFidelity, Wireless Fidelity)Focus, this focus is to provide the launch point based on Wi-Fi online, and the equipment for having Wi-Fi functions can search for It is attached to this focus and accesses internet or access the LAN that is made up of focus and music player.Wi-Fi is local Communication(Namely without any route, it is joined directly together)The stronger real-time of communication can be ensured, may also there are several milliseconds Delay, but human auditory can not perceive this delay, hundreds of milliseconds of the delay easily unlike internet communication, is weak reality When property.Hotspot name can be user name of the music play control apparatus in the registration of registration end, to facilitate each music Device connects this focus by selecting hotspot name.In other embodiments, focus can also be based on NFC(Near Field Communication, near field communication (NFC))Focus or other types of focus.Preferably, music Control device and music player can be the equipment such as mobile phone.
Step is specifically may also include before step S101:Registered at registration end.
In this step, it is in the method that registration end is registered:Can be by inputting username and password etc. at registration end Checking information is registered.It can be network server end etc. to register end, in addition, registration end can provide private key to being registered Music play control apparatus.
Step S103:The public affairs of these music players are obtained according to registered user's name of these music players Key, verify whether these music players are legal successively according to the public key of these music players and private key, if checking is closed Method, then carry out step S105.
, can be from CA in this step(Certificate Authority, certificate management authority)Obtain music player Registered user's name corresponding to public key.Verify that whether legal music player method be as follows:Utilize music player Public key is by initial data(Such as Hello)Encryption data is encrypted as, and encryption data is sent to music player so that sound Generation ciphertext data is decrypted using private key pair encryption data in music playing device, obtains ciphertext data(For example, Hello)And By ciphertext data compared with initial data, if ciphertext data(Hello)With initial data(Hello)It is identical, then it can sentence Staccato music playing device is a legal music player(I.e. music player is legal), conversely, being judged as that music is broadcast It is illegal to put device.The purpose for introducing legitimate verification is, avoid allowing one it is equally in the range of WIFI hot spot but may Spiteful music player is connected to the network being made up of music player and music play control apparatus, gives the net Network brings potential threat.
Step is specifically may also include in step S103:If checking is illegal, step S107 is carried out.
Step S105:The music player granting music information to be played legal to checking.
In this step, by all music players verify whether it is legal after, then by music play control apparatus with Wi-Fi connection between music player is to all legal music player granting music informations to be played.Music Information can include song, the website links of song, song Hash mark etc..For example, if music information is the network address chain of song Connect, then music player need to arrive this website links and obtain the music to be played.
Step S107:Connection between illegal music player is disconnected.
In this step, when music play control apparatus checking music player is illegal, music play control apparatus The connection between music player can actively be disconnected.
Step S109:Control instruction is sent to legal music player to control these legal music players Joint plays this music.
In this step, beginning or halt instruction can be sent to each music player to control music player to start Play this music or stop playing this music, control can also be sent to each music player and plays rhythm instruction so that music Playing device with different rhythm combine play this music, or at regular intervals can to each music player send play into Synchronous instruction is spent so that music player plays out the synchronization of progress, it might even be possible to is sent and is broadcast to each music player The instruction of different parts is put so that music player plays different parts, so as to reach the effect of three-dimensional broadcasting.Finally, each sound Music playing device and music play control apparatus are common, harmoniously play same music.
Wherein, playing out the synchronous method of progress at regular intervals can be:It can provide at some point in time All music players commence play out from some opening position of music, to prevent broadcasting for some or some music players Degree of putting into lags.
In an embodiment of the present invention, the present invention is by establishing focus so that an at least music player connects this heat Point, registered user's name that each music player is sent is received, is obtained always according to registered user's name of each music player The public key of each music player, public key and private key further according to each music player verify that each music player is successively It is no legal, if checking is legal, to verifying the legal music player granting music information to be played, and to legal sound The music player joint that music playing device sends control instruction to control these legal plays this music, it is achieved thereby that sound In real time, safely joint plays music to music playing device, has reached and has been broadcast using the single music of multiple music players expression Put the music effect that device can not show, pleasing music brought to masses, and also by verifying illegal when disconnect Connection, so as to prevent spiteful music player to be attached, avoid potential network connection and threaten.
Fig. 2 is the main frame block diagram for the music play control apparatus that the embodiment of the present invention proposes.Referring to Fig. 2, music Broadcast control device includes:Focus establishes module 201, authentication module 203 and control playing module 205.Here, music Control device is used to send control instruction to legal music player to control legal music player to combine broadcasting Music.
More specifically, focus establishes module 201, for establishing focus so that an at least music player connects focus, The information of these music players transmission is received, information is registered user's name of corresponding music player.
Preferably, focus is the focus based on Wi-Fi.
Authentication module 203, these musics dress is obtained for registered user's name according to these music players The public key put, verify whether these music players are legal successively according to the public key of these music players and private key.
Preferably, authentication module 203 obtains each according to registered user's name of each music player from certificate management authority The public key of music player.
Playing module 205 is controlled, if legal for checking, what the music player granting legal to checking to be played Music information, and control instruction is sent to control these legal music players to join to these legal music players Close and play this music.
In addition, authentication module 203, if it is illegal to be additionally operable to checking, by between illegal music player Connection disconnects.
In addition, authentication module 203, is additionally operable to be encrypted as initial data using the public key of music player to encrypt number According to, and encryption data is sent to music player so that life is decrypted using private key pair encryption data in music player Into ciphertext data, ciphertext data is obtained and by ciphertext data compared with initial data, if ciphertext data and initial data phase Together, then judge music player for a legal music player(I.e. music player is legal), conversely, being judged as Music player is illegal.
In addition, control playing module 205, is additionally operable to send beginning or halt instruction to these music players to control These music players commence play out this music or stop playing this music;Control is sent to these music players to play Rhythm instructs so that these music players are combined with different rhythm plays this music;Broadcast at regular intervals to these music Put device and send the synchronous instruction of playing progress rate so that these music players play out the synchronization of progress;And/or to These music players send the instruction for playing different parts so that these music players play different parts, so as to reach The effect played to solid.
It is in embodiments of the present invention, of the invention by establishing focus so that an at least music player connects this focus, Registered user's name that each music player is sent is received, each sound is obtained always according to registered user's name of each music player The public key of music playing device, public key and private key further according to each music player verify whether each music player closes successively Method, if checking is legal, the music player granting music information to be played legal to checking, and broadcast to legal music Put the music player joint that device sends control instruction to control these legal and play this music, it is achieved thereby that music is broadcast Putting device, in real time, safely joint plays music, has reached and has expressed single music dress using multiple music players Put the music effect that can not be showed, pleasing music brought to masses, and also by verifying illegal when disconnect, So as to prevent spiteful music player to be attached, avoid potential network connection and threaten.
Fig. 3 is the step flow chart of method for playing music provided in an embodiment of the present invention.Here, method for playing music is used for Music is played under the control of music play control apparatus.Specifically, referring to Fig. 3, the music side of the embodiment of the present invention Method may include following steps S301-S307:
Step S301:Registered at registration end, and receive the private key that registration end is provided.
In this step, music player can be registered, be in the method that registration end is registered:It can pass through Registered in checking informations such as registration end input username and passwords.It can be network server end etc. to register end.To participating in The purpose that each music player that joint plays is registered is each in order to allow music play control apparatus can recognize that Music player.
Step S303:The focus that music play control apparatus is established is connected, and sends and registers to music play control apparatus User name, so that whether music play control apparatus is legal according to private key and the public key verifications music player obtained, if testing It is legal to demonstrate,prove, then carries out step S305.
In this step, music play control apparatus can obtain the registered user of music player from certificate management authority Public key corresponding to name.Whether legal music play control apparatus checking music player method be as follows:Utilize music The public key of device is by initial data(Such as Hello)Encryption data is encrypted as, and encryption data is sent to music player So that generation ciphertext data is decrypted using private key pair encryption data in music player, ciphertext data is obtained(For example, Hello)And by ciphertext data compared with initial data, if ciphertext data(Hello)With initial data(Hello)It is identical, Then may determine that music player is a legal music player, conversely, being judged as that music player is illegal. The purpose for introducing legitimate verification is, avoid allowing one it is equally in the range of WIFI hot spot but may spiteful sound Music playing device is connected to the network being made up of music player and music play control apparatus, comes to the Netowrk tape potential Threaten.
Step is specifically may also include in step S303:If checking is illegal, step S307 is carried out.
Step S305:The music information to be played of music play control apparatus granting is received, and receives music control The control instruction that device processed is sent under the control of music play control apparatus to play this music.
In this step, music play control apparatus by all music players verify whether it is legal after, then pass through sound Wi-Fi connection between happy broadcast control device and music player will play to all legal music player grantings Music information, then music player can receives the sound to be played of music play control apparatus granting in this step Happy information.Music information can include song, the website links of song, song Hash mark etc..For example, if music information is song Bent website links, then music player need to arrive this website links acquisition music to be played.
Specifically it may also include in step S305:
Beginning or the halt instruction that music play control apparatus transmission can be received are broadcast with commencing play out this music or stopping This music is put, the control broadcasting rhythm instruction that can also receive music play control apparatus transmission plays this sound with different rhythm It is happy, or can receive at regular intervals the synchronous instruction of playing progress rate of music play control apparatus transmission with play out into The synchronization of degree, it might even be possible to which receive music play control apparatus transmission plays the instructions of different parts to play this sound respectively Portion, the effect of three-dimensional broadcasting can be reached if each music player plays different parts respectively.Finally, music fills Put with music play control apparatus it is common, harmoniously play same music.
Wherein, playing out the synchronous method of progress at regular intervals can be:Music play control apparatus can be with Provide that all music players commence play out from some opening position of music at some point in time, with prevent some or it is some The playing progress rate hysteresis of music player.
Step S307:Connection between music play control apparatus disconnects.
In this step, when music play control apparatus checking music player is illegal, music play control apparatus The connection between music player can actively be disconnected.
In an embodiment of the present invention, the present invention at registration end by being registered, and receives the private key that registration end is provided, The focus that music play control apparatus is established is connected, and registered user's name is sent to music play control apparatus, so that music is broadcast It is whether legal according to private key and the public key verifications music player obtained to put control device, if checking is legal, receives music The music information to be played of broadcast control device granting, and the control instruction of music play control apparatus transmission is received with sound This music is played under the control of happy broadcast control device, it is achieved thereby that music player in real time, is safely broadcast in music Put and music played under the control of control device, and also by verifying illegal when disconnect, so as to prevent malice connect Music play control apparatus, avoid potential network connection and threaten.
Fig. 4 is the main frame block diagram for the music player that the embodiment of the present invention proposes.Referring to Fig. 4, music Device includes:Registering modules 401, link block 403 and playing module 405.Here, music player is used to broadcast in music Put and play music under the control of control device.
More specifically, Registering modules 401, for being registered at registration end, and receive the private key that registration end is provided.
Link block 403, sent out for connecting the focus of music play control apparatus foundation, and to music play control apparatus Registered user's name is sent, so that whether music play control apparatus closes according to private key and the public key verifications music player obtained Method.
Preferably, focus is the focus based on Wi-Fi, and music play control apparatus obtains public key from certificate management authority.
Playing module 405, for receiving the music information to be played of music play control apparatus granting, and receive music The control instruction that broadcast control device is sent under the control of music play control apparatus to play this music.
In addition, link block 403, if being additionally operable to, checking is illegal, and the connection between music play control apparatus is broken Open.
Wherein, when music play control apparatus checking music player is illegal, music play control apparatus can be with Actively disconnect the connection between music player.
Playing module 405, it is additionally operable to receive beginning or halt instruction that music play control apparatus sends to commence play out This music stops playing this music;The control broadcasting rhythm instruction that music play control apparatus is sent is received to broadcast with different rhythm Put this music;Receive the synchronous instruction of playing progress rate that music play control apparatus is sent at regular intervals with play out into The synchronization of degree;And/or the instructions of the different parts of broadcasting that music play control apparatus is sent is received to play this part.
In an embodiment of the present invention, the present invention at registration end by being registered, and receives the private key that registration end is provided, The focus that music play control apparatus is established is connected, and registered user's name is sent to music play control apparatus, so that music is broadcast It is whether legal according to private key and the public key verifications music player obtained to put control device, if checking is legal, receives music The music information to be played of broadcast control device granting, and the control instruction of music play control apparatus transmission is received with sound This music is played under the control of happy broadcast control device, it is achieved thereby that music player in real time, is safely broadcast in music Put and music played under the control of control device, and also by verifying illegal when disconnect, so as to prevent malice connect Music play control apparatus, avoid potential network connection and threaten.
Fig. 5 is the main frame block diagram for the music joint play system that the embodiment of the present invention proposes.Referring to Fig. 5, music Joint play system includes:Music play control apparatus and at least one music player.Wherein, music control dress Put and establish module 501, authentication module 503 and control playing module 505 including focus.Each music player includes note Volume module 511, link block 513 and playing module 515.
Each Registering modules 511, for being registered at registration end, and receive the private key that registration end is provided.
Focus establishes module 501, for establishing focus.
Each link block 513, for connecting the focus of music play control apparatus foundation, and control and fill to music Put and send registered user's name.
Authentication module 503, obtain an at least music for registered user's name according to an at least music player and broadcast The public key of device is put, whether an at least music player is verified according at least public key of a music player and private key successively It is legal.
In addition, authentication module 503, is additionally operable to be encrypted as initial data using the public key of music player to encrypt number According to, and encryption data is sent to music player so that life is decrypted using private key pair encryption data in music player Into ciphertext data, ciphertext data is obtained and by ciphertext data compared with initial data, if ciphertext data and initial data phase Together, then judge that music player is legal, conversely, being judged as that music player is illegal.
Playing module 505 is controlled, if legal for checking, what the music player granting legal to checking to be played Music information, and send control instruction to those legal music players.
In addition, control playing module 505, is additionally operable to send beginning to the legal music player of those checkings or stops To control, those music players commence play out music or stopping plays music for instruction;Send and control to those music players Record and broadcast is put rhythm and instructed so that those music players are combined with different rhythm plays music;At regular intervals to those sounds Music playing device sends the synchronous instruction of playing progress rate so that those music players play out the synchronization of progress;And/ Or the instruction for playing different parts is sent to those music players so that those music players play different parts.
Each playing module 515, for receiving the music information to be played of music play control apparatus granting, and receive The control instruction that music play control apparatus is sent under the control of music play control apparatus to play music.
In addition, each link block 513, if being additionally operable to, checking is illegal, the connection between music play control apparatus Disconnect.Wherein, when music play control apparatus checking music player is illegal, music play control apparatus can be actively Disconnect the connection between music player.
In an embodiment of the present invention, the present invention connects what music play control apparatus was established by each music player Focus, and registered user's name is sent to music play control apparatus, music play control apparatus is according to private key and the public key obtained Verify whether each music player is legal, if checking is legal, music play control apparatus is just to the legal music of checking The device granting music information to be played, and send control instruction, each music dress to these legal music players The control instruction for receiving music play control apparatus transmission is put with this sound of joint broadcasting under the control of music play control apparatus It is happy, it is achieved thereby that each music player in real time, music is safely played under the control of music play control apparatus, and And disconnected when also by verifying illegal, so as to prevent malice connection music play control apparatus, avoid potential Network connection threatens.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is controlled to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification For the equivalent embodiment of equivalent variations, as long as being the technical spirit pair according to the present invention without departing from technical solution of the present invention content Any simple modification, equivalent change and modification that above example is made, in the range of still falling within technical solution of the present invention.

Claims (19)

1. a kind of music control method, it is characterized in that:Including step:
Focus is established so that an at least music player connects the focus, receives the information of those music players transmission, The information is registered user's name of corresponding music player;
The public key of those music players is obtained according to registered user's name of those music players, according to those music The public key and private key of playing device verify whether those music players are legal successively;And
If checking is legal, the music player granting music information to be played legal to checking, the music information bag The website links of song are included, and sends control instruction to those legal music players and is broadcast with the music for controlling those legal Put joint after device obtains music according to the website links and play the music;
Wherein, control instruction is sent to control those legal musics to fill to those legal music players in execution Put in the step of joint plays the music, in addition to step:
The synchronous instruction of playing progress rate is sent so that those music players to those music players at regular intervals Play out the synchronization of progress.
2. music control method according to claim 1, it is characterized in that:Performing according to those music players Public key and private key verify successively in the whether legal step of those music players, in addition to step:
If checking is illegal, the connection between illegal music player is disconnected.
3. music control method according to claim 1, it is characterized in that:Performing according to those music players Public key and private key verify successively in the whether legal step of those music players, in addition to step:
Initial data is encrypted as encryption data using the public key of music player, and the encryption data is sent to the music Playing device obtains the decryption so that generation ciphertext data is decrypted using the private key pair encryption data in the music player Data and by the ciphertext data compared with the initial data, if the ciphertext data is identical with the initial data, judge should Music player is legal, conversely, being judged as that the music player is illegal.
4. music control method according to claim 1, it is characterized in that:Performing to those legal musics In the step of music player joint that device sends control instruction to control those legal plays the music, in addition to step Suddenly:
Beginning or halt instruction are sent to those music players to control those music players to commence play out the music Or stop playing the music;
Control, which is sent, to those music players plays rhythm instruction so that those music players are combined with different rhythm Play the music;And/or
The instruction for playing different parts is sent to those music players so that those music players play different parts.
5. a kind of music play control apparatus, it is characterised in that it includes:
Focus establishes module, for establishing focus so that an at least music player connects the focus, receives those music and broadcasts The information of device transmission is put, the information is registered user's name of corresponding music player;
Authentication module, the public affairs of those music players are obtained for registered user's name according to those music players Key, verify whether those music players are legal successively according to the public key of those music players and private key;And
Playing module is controlled, if legal for checking, the music player granting music to be played legal to checking is believed Breath, the music information include the website links of song, and for sending control instruction to those legal music players To control those legal music players to play the music according to joint after website links acquisition music;
The control playing module, it is additionally operable to send the synchronous instruction of playing progress rate to those music players at regular intervals So that those music players play out the synchronization of progress.
6. control device according to claim 5, it is characterised in that the authentication module, if it is illegal to be additionally operable to checking, Connection between illegal music player is disconnected.
7. control device according to claim 5, it is characterised in that the authentication module, be additionally operable to fill using music Initial data is encrypted as encryption data by the public key put, and the encryption data is sent into the music player so that the music Generation ciphertext data is decrypted using the private key pair encryption data in playing device, obtains the ciphertext data and by the ciphertext data Compared with the initial data, if the ciphertext data is identical with the initial data, judge that the music player is legal, instead It, is judged as that the music player is illegal.
8. control device according to claim 5, it is characterised in that the control playing module, be additionally operable to those music Playing device sends beginning or halt instruction to control those music players to commence play out the music or stop playing the sound It is happy;Control is sent to those music players play rhythm instruct so that those music players are combined with different rhythm broadcasts Put the music;And/or the instruction for playing different parts is sent so that those music players to those music players Play different parts.
9. control device according to claim 5, it is characterised in that the focus is the focus based on Wi-Fi, the checking mould Root tuber obtains the public key of those music players according to registered user's name of those music players from certificate management authority.
10. a kind of method for playing music, it is characterized in that:Including step:
Registered at registration end, and receive the private key of registration end granting;
The focus that music play control apparatus is established is connected, and registered user's name is sent to the music play control apparatus, so that Whether the music play control apparatus is legal according to the private key and the public key verifications music player obtained;And
If checking is legal, the music information to be played of the music play control apparatus granting, the music information bag are received The website links of song are included, and receive the control instruction of music play control apparatus transmission with the music play control apparatus Control under according to the website links obtain music after play the music;
The control instruction for receiving music play control apparatus transmission is being performed with the control in the music play control apparatus Play in the whether legal step of the music, in addition to step:
The synchronous instruction of playing progress rate of music play control apparatus transmission is received at regular intervals to play out progress Synchronization.
11. method for playing music according to claim 10, it is characterized in that:Performing so that the music play control apparatus According in the private key and the whether legal step of public key verifications music player obtained, in addition to step:
If checking is illegal, the connection between the music play control apparatus disconnects.
12. method for playing music according to claim 10, it is characterized in that:The music play control apparatus is received performing The control instruction of transmission to be played under the control of the music play control apparatus in the whether legal step of the music, in addition to Step:
Beginning or the halt instruction for receiving music play control apparatus transmission play the sound to commence play out the music or stopping It is happy;
The control broadcasting rhythm instruction for receiving music play control apparatus transmission plays the music with different rhythm;And/or
The instructions of the different parts of broadcasting of music play control apparatus transmission is received to play the part.
13. a kind of music player, it is characterised in that it includes:
Registering modules, for being registered at registration end, and receive the private key of registration end granting;
Link block, for connecting the focus of music play control apparatus foundation, and send and note to the music play control apparatus Volume user name, so that whether the music play control apparatus closes according to the private key and the public key verifications music player obtained Method;And
Playing module, if legal for checking, receive the music information to be played of the music play control apparatus granting, institute Stating music information includes the website links of song, and receives the control instruction of music play control apparatus transmission with the music The music is played after obtaining music according to the website links under the control of broadcast control device;
The playing module, it is additionally operable to receive the finger of the playing progress rate synchronization of music play control apparatus transmission at regular intervals Make to play out the synchronization of progress.
14. music player according to claim 13, it is characterised in that the link block, if being additionally operable to checking not Legal, then the connection between the music play control apparatus disconnects.
15. music player according to claim 13, it is characterised in that the playing module, be additionally operable to receive the sound The beginning or halt instruction that happy broadcast control device is sent play the music to commence play out the music or stopping;Receive the music The control that broadcast control device is sent plays rhythm instruction and plays the music with different rhythm;And/or receive the music The instruction for the different parts of broadcasting that control device is sent is to play the part.
16. music player according to claim 13, it is characterised in that the focus is the focus based on Wi-Fi, should Music play control apparatus obtains the public key from certificate management authority.
17. a kind of music control system, including:Music play control apparatus and at least a music player;
The music play control apparatus establishes module, authentication module, service call unit and control including focus and plays mould Block;
Each music player includes Registering modules, link block and playing module;
Each Registering modules, for being registered at registration end, and receive the private key of registration end granting;
The focus establishes module, for establishing focus;
Each link block, for connecting the focus of music play control apparatus foundation, and to the music play control apparatus Send registered user's name;
The authentication module, an at least music is obtained for registered user's name according to an at least music player The public key of device, according to this, at least the public key of a music player and private key verify that at least a music player is for this successively It is no legal;
The control playing module, if legal for checking, the music player granting music to be played legal to checking Information, and send control instruction to those legal music players;
Each playing module, for receiving the music information to be played of the music play control apparatus granting, the music letter Breath includes the website links of song, and receives the control instruction of music play control apparatus transmission with music control The music is played after obtaining music according to the website links under the control of device;
The control playing module, it is additionally operable to send the synchronous instruction of playing progress rate to those music players at regular intervals So that those music players play out the synchronization of progress.
18. music control system as claimed in claim 17, it is characterised in that the authentication module, be additionally operable to utilize sound Initial data is encrypted as encryption data by the public key of music playing device, and by the encryption data be sent to the music player with Make the music player that generation ciphertext data be decrypted using the private key pair encryption data, obtain the ciphertext data and should Ciphertext data is compared with the initial data, if the ciphertext data is identical with the initial data, judges that the music fills It is legal to put, conversely, being judged as that the music player is illegal.
19. music control system as claimed in claim 17, it is characterised in that the control playing module, be additionally operable to Those verify that legal music player sends beginning or halt instruction to control those music players to commence play out this Music stops playing the music;Control, which is sent, to those music players plays rhythm instruction so that those musics fill Put to combine with different rhythm and play the music;And/or sent to those music players play the instructions of different parts with Those music players are made to play different parts.
CN201210508875.3A 2012-12-03 2012-12-03 Music control method, method for playing music, device and system Active CN103854679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210508875.3A CN103854679B (en) 2012-12-03 2012-12-03 Music control method, method for playing music, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210508875.3A CN103854679B (en) 2012-12-03 2012-12-03 Music control method, method for playing music, device and system

Publications (2)

Publication Number Publication Date
CN103854679A CN103854679A (en) 2014-06-11
CN103854679B true CN103854679B (en) 2018-01-09

Family

ID=50862236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210508875.3A Active CN103854679B (en) 2012-12-03 2012-12-03 Music control method, method for playing music, device and system

Country Status (1)

Country Link
CN (1) CN103854679B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162314B (en) * 2015-03-30 2019-08-27 安富科技股份有限公司 The method that peripheral devices are initialized and establish line
CN106332085B (en) * 2016-09-08 2020-06-12 珠海全志科技股份有限公司 Configuration method of WIFI network of Internet of things, Internet of things terminal and routing terminal
CN111226451A (en) * 2017-10-12 2020-06-02 深圳传音通讯有限公司 Wireless network connection method and system based on intelligent terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007124469A2 (en) * 2006-04-21 2007-11-01 Vergence Entertainment Llc Musically interacting devices
CN101114901A (en) * 2006-07-26 2008-01-30 联想(北京)有限公司 Safety authentication system, apparatus and method for non-contact type wireless data transmission
CN101132474A (en) * 2006-08-25 2008-02-27 联想(北京)有限公司 Method and system for implementing audio-visual contents playing by multiple mobile terminals
CN102119523A (en) * 2008-08-13 2011-07-06 索尼爱立信移动通讯有限公司 Synchronized playing of songs by a plurality of wireless mobile terminals
CN202374319U (en) * 2011-06-25 2012-08-08 播思通讯技术(北京)有限公司 Music play system based on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007124469A2 (en) * 2006-04-21 2007-11-01 Vergence Entertainment Llc Musically interacting devices
CN101114901A (en) * 2006-07-26 2008-01-30 联想(北京)有限公司 Safety authentication system, apparatus and method for non-contact type wireless data transmission
CN101132474A (en) * 2006-08-25 2008-02-27 联想(北京)有限公司 Method and system for implementing audio-visual contents playing by multiple mobile terminals
CN102119523A (en) * 2008-08-13 2011-07-06 索尼爱立信移动通讯有限公司 Synchronized playing of songs by a plurality of wireless mobile terminals
CN202374319U (en) * 2011-06-25 2012-08-08 播思通讯技术(北京)有限公司 Music play system based on mobile terminal

Also Published As

Publication number Publication date
CN103854679A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
Soriente et al. HAPADEP: human-assisted pure audio device pairing
CN108632231A (en) A kind of internet of things equipment, Internet of Things authentication platform, authentication method and system
CN103370915B (en) The method and apparatus of the certification in secure user plane alignment system
CN102571766B (en) Registration and network access control
US20170303075A1 (en) System and method for playing licensed music based on bluetooth communication cross-reference to related application
US20060161621A1 (en) System, method and computer program product for collaboration and synchronization of media content on a plurality of media players
CN110198295A (en) Safety certifying method and device and storage medium
CN109074826A (en) Live events audio stream is synchronous with the real-time radio of videograph
WO2006025989A3 (en) Method and apparatus for automatically re-validating multiple clients of an authentication system
CN107105199B (en) Smart home based on technology of Internet of things nurses method and system
CN103854679B (en) Music control method, method for playing music, device and system
JP6067045B2 (en) System and method for providing an online music ensemble game
CN103002013A (en) Social music query system and social music query method
CN107484032A (en) Prevent the verification method and device brushed
CN102195939A (en) High-speed wireless network remote-control competition system and implementation method thereof
WO2012114169A1 (en) Method and system for audio dubbing distribution
CN104917631B (en) Prediction initiation, participation and information processing method, apparatus and system
CN108234450A (en) A kind of identity authentication method, the method for endpoint registration, server and terminal
CN109005424A (en) The control method of object, apparatus and system, storage medium, electronic device
US9262890B2 (en) Customizing player-generated audio in electronic games
CN107661628A (en) It is a kind of to create network to promote the method and system of multi-player gaming
CN103781026B (en) The authentication method of common authentication mechanism
CN106203998A (en) A kind of method and device of withdrawing deposit of net cast
CN106131603B (en) A kind of video broadcasting method and system based on dynamic dictionary
WO2017185618A1 (en) Method and device for implementing civilian commentary

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