CN104618470A - Network music resource downloading method and related equipment - Google Patents

Network music resource downloading method and related equipment Download PDF

Info

Publication number
CN104618470A
CN104618470A CN201510035256.0A CN201510035256A CN104618470A CN 104618470 A CN104618470 A CN 104618470A CN 201510035256 A CN201510035256 A CN 201510035256A CN 104618470 A CN104618470 A CN 104618470A
Authority
CN
China
Prior art keywords
playback equipment
main playback
signal strength
main
wireless router
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.)
Granted
Application number
CN201510035256.0A
Other languages
Chinese (zh)
Other versions
CN104618470B (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.)
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 CN201510035256.0A priority Critical patent/CN104618470B/en
Publication of CN104618470A publication Critical patent/CN104618470A/en
Application granted granted Critical
Publication of CN104618470B publication Critical patent/CN104618470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

An embodiment of the invention relates to the technical field of electronic and discloses a network music resource downloading method and related equipment. A network music system comprises a first main playing apparatus and a second main playing apparatus. The method comprises that the first main playing apparatus obtains first signal intensity of a signal sent by a wireless router, sends a connection requirement to the second main playing apparatus when determining that the first signal intensity is lower than the preset signal intensity threshold, establishes connection with the second main playing apparatus when receiving first response information sent by the second main playing apparatus and downloads the network music resource from the internet through the second main playing apparatus. By means of the embodiment, the downloading rate of the first main playing apparatus can be improved, and the problem that music playing is not smooth due to instable downloading rate in the network music system can be solved.

Description

A kind of online music resource downloading method and relevant device
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of online music resource downloading method and relevant device.
Background technology
The online music system be made up of multiple playback equipment is just more and more subject to the welcome of consumer, in online music system, multiple playback equipment is distributed in different area of space, and be interconnected into a private network by the wireless mode of the industrial standards such as such as IEEE802.11, one or more playback equipments in the same space region can form a broadcasting group, there is a playback equipment can directly by wireless router connecting Internet in private network simultaneously, user utilizes the terminals such as smart mobile phone just can control playback equipment in private network by special application software and to download abundant online music resource from the Internet and carry out equipment control etc. to playback equipment.
In current online music system, the usual way of playback equipment download network music sources is that the main playback equipment of each broadcasting group is directly connected with wireless router, and then directly from the Internet download online music resource, and then other playback equipments in broadcasting group can be transmitted to.But in this fashion, the wireless router signal that the main playback equipment distant with wireless router receives can be very weak, thus the speed that the main broadcaster causing these distant puts device downloads online music resource reduces greatly.Visible, be easy to the not smooth phenomenon of music occurring causing due to downloading rate instability in existing online music system.
Summary of the invention
The embodiment of the invention discloses a kind of online music resource downloading method and relevant device, can downloading rate be improved, thus can solve in online music system and cause the slack problem of music because downloading rate is unstable.
The embodiment of the invention discloses a kind of online music resource downloading method, comprising:
Described first main playback equipment obtains the first signal strength values that described wireless router transmits, and judges whether described first signal strength values is less than preset signal strength threshold value;
If so, then described first main playback equipment sends connection request to described second main playback equipment, and described second main playback equipment receives the secondary signal intensity level that described wireless router transmits and is greater than described preset signal strength threshold value;
When described first main playback equipment receives the first response message of described second main playback equipment transmission, the connection with described second main playback equipment set up by described first main playback equipment, and described first response message is used for notifying that described first main broadcaster puts the second main playback equipment described in equipment connection;
Described first main playback equipment by described second main playback equipment from described the Internet download online music resource.
Accordingly, the embodiment of the invention discloses a kind of main playback equipment, comprising:
Acquiring unit, for obtaining the first signal strength values that described wireless router transmits;
Judging unit, for judging whether described first signal strength values is less than preset signal strength threshold value;
Transmitting element, for when the judged result of described first judging unit is for being, send connection request to described second main playback equipment, described second main playback equipment receives the secondary signal intensity level that described wireless router transmits and is greater than described preset signal strength threshold value;
First linkage unit, during for receiving the first response message that described second main playback equipment sends when described main playback equipment, set up the connection with described second main playback equipment, described first response message is used for notifying that described main broadcaster puts the second main playback equipment described in equipment connection;
First download unit, for by described second main playback equipment from described the Internet download online music resource.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, online music system comprises the first main playback equipment and the second main playback equipment, first main playback equipment and the second main playback equipment are respectively in the first broadcasting group and the second broadcasting group and receive the maximum playback equipment of signal strength signal intensity that wireless router transmits, wherein: first the first main playback equipment obtains the first signal strength values that wireless router transmits, when judging that this first signal strength values is less than preset signal strength threshold value, connection request is sent to the second main playback equipment, when receiving the first response message that the second main playback equipment sends, set up the connection with the second main playback equipment, eventually through the second main playback equipment from the Internet download online music resource.Pass through the embodiment of the present invention, first main playback equipment is when the signal strength values receiving wireless router signal is less than preset signal strength threshold value, the second main playback equipment of preset signal strength threshold value can be greater than from the Internet download online music resource by connecting the signal strength values receiving wireless router signal, in this way, the downloading rate of the first main playback equipment can be improved, thus the first main playback equipment can be avoided more weak and cause downloading rate unstable owing to receiving wireless router signal, the appearance of the not smooth problem of music.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of online music resource downloading method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of online music resource downloading method disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of main playback equipment disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of main playback equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of online music resource downloading method and relevant device, can downloading rate be improved, thus can solve in online music system and cause the slack problem of music because downloading rate is unstable.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of online music resource downloading method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to online music system, this online music system comprises the first main playback equipment and the second main playback equipment, this first main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, and this second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the second broadcasting group.As shown in Figure 1, the method can comprise the following steps:
S101, the first main playback equipment obtain the first signal strength values that wireless router transmits.
In the embodiment of the present invention, online music system comprises multiple broadcasting group, and each broadcasting group includes multiple playback equipment, can connect into a private network between all broadcasting groups, and wherein, the first broadcasting group can be any one broadcasting group.In the first broadcasting group, the playback equipment receiving the signal strength signal intensity that transmits of wireless router maximum is called main playback equipment, i.e. the first main playback equipment.First main playback equipment is download network music sources from the Internet mainly, and then is transmitted to other playback equipments in the first broadcasting group, so that all playback equipments in online music system synchronously can play music.
In the embodiment of the present invention, first main playback equipment can receive the signal that wireless router is launched, therefore, first first main playback equipment can obtain the first signal strength values of the signal that the wireless router that receives is launched from the reception of wireless signals module of this first main playback equipment, so that the first main playback equipment judges what kind of network path of this selection download network music sources from the Internet.
S102, the first main playback equipment judge whether this first signal strength values is less than preset signal strength threshold value, if so, perform step S103; If not, process ends.
In the embodiment of the present invention, when the first main playback equipment gets the first signal strength values, the first main playback equipment can judge whether this first signal strength values is less than preset signal strength threshold value further.Wherein, this preset signal strength threshold value is the download demand that can wireless router signal strength signal intensity that the main playback equipment of judgement first receives meet online music resource, namely ensure that the first main playback equipment can download network music sources in time, thus the asynchronous or not smooth of online music system whole music progress can not be caused.
Further, when judging that this first signal strength values is less than preset signal strength threshold value, the first main playback equipment can send connection request to the second main playback equipment; When judging that this first signal strength values is greater than or equal to preset signal strength threshold value, this first main playback equipment directly connects wireless router.
S103, when step S102 judges that this first signal strength values is less than preset signal strength threshold value, the first main playback equipment sends connection request to the second main playback equipment.
In the embodiment of the present invention, in all playback equipments in online music system, there is a playback equipment and remain wired or wireless connections relation with wireless router all the time, therefore, the signal strength values of the wireless router that this playback equipment receives is maximum in all playback equipments, meanwhile, this playback equipment is also the main playback equipment of its place broadcasting group.
In the embodiment of the present invention, the second main playback equipment is receive the main playback equipment that secondary signal intensity level that wireless router transmits is greater than preset signal strength threshold value in online music system.This second main playback equipment can be the main playback equipment of any one the broadcasting group gone out in online music system outside the first broadcasting group, also can be to be only limitted to directly and wireless router keeps wired or the main playback equipment of wireless connections relation, the embodiment of the present invention limit.
In the embodiment of the present invention, when judging that this first signal strength values is less than preset signal strength threshold value, show that the first main playback equipment needs just can not cause the asynchronous of music progress or not smooth by the mode that connects other main playback equipments from the Internet download online music resource, therefore, the first main playback equipment can send a connection request to the second main playback equipment.This connection request can carry the device identification of the first main playback equipment, so as the second main playback equipment send response message time can according to this device identification correct send to this first main playback equipment.This device identification can comprise device hardware address or physical address, the network address, equipment Serial Number etc., and the embodiment of the present invention does not limit.
S104, when the first main playback equipment receives the first response message that the second main playback equipment sends, the connection with the second main playback equipment set up by the first main playback equipment.
In the embodiment of the present invention, the first response message is used for notifying that the first main broadcaster puts the main playback equipment of equipment connection second.Therefore, when the first main playback equipment receives the first response message of the second main playback equipment transmission, show that the connection request that the first main playback equipment sends agreed to by the second main playback equipment, therefore, the first main playback equipment can set up the connection of the main playback equipment with second.
In the embodiment of the present invention, online music system also includes the 3rd main playback equipment, and the 3rd main playback equipment is the general name of all main playback equipment being connected to the second main playback equipment, therefore, 3rd main playback equipment can be that zero also can for multiple, and the embodiment of the present invention does not limit.
Accordingly, after second main playback equipment receives the connection request of the first main playback equipment transmission, the secondary signal intensity level that first this second main playback equipment can receive according to self judges the maximum number of connections amount of the main playback equipment that this second main playback equipment can connect, and then judges whether the quantity of the 3rd main playback equipment himself connected reaches maximum number of connections amount.If do not reach maximum number of connections amount, then the second main playback equipment can send the first response message to the first main playback equipment, notifies that the first main broadcaster puts this second main playback equipment of equipment connection; If reach maximum number of connections amount, whether the signal strength values that the second main playback equipment can judge to receive in the 3rd main playback equipment the maximum main playback equipment of target of signal strength signal intensity that wireless router transmits further is greater than the first signal strength values.If the signal strength values of the main playback equipment of target is greater than the first signal strength values, just send the first response message to the first main playback equipment, notify that the first main broadcaster puts this second main playback equipment of equipment connection; If judge whether the signal strength values of the main playback equipment of target is less than or equal to the first signal strength values, then notify that the first main broadcaster puts equipment connection wireless router.
S105, the first main playback equipment pass through the second main playback equipment from the Internet download online music resource.
In the embodiment of the present invention, after the first main playback equipment and the second main playback equipment connect, the first main playback equipment just can pass through the second main playback equipment download network music sources from the Internet.
In the embodiment of the present invention, online music system comprises the first main playback equipment and the second main playback equipment, first main playback equipment and the second main playback equipment are respectively in the first broadcasting group and the second broadcasting group and receive the maximum playback equipment of signal strength signal intensity that wireless router transmits, wherein: first the first main playback equipment obtains the first signal strength values that wireless router transmits, when judging that this first signal strength values is less than preset signal strength threshold value, connection request is sent to the second main playback equipment, when receiving the first response message that the second main playback equipment sends, set up the connection with the second main playback equipment, eventually through the second main playback equipment from the Internet download online music resource.Pass through the embodiment of the present invention, first main playback equipment is when the signal strength values receiving wireless router signal is less than preset signal strength threshold value, the second main playback equipment of preset signal strength threshold value can be greater than from the Internet download online music resource by connecting the signal strength values receiving wireless router signal, in this way, the downloading rate of the first main playback equipment can be improved, thus the first main playback equipment can be avoided more weak and cause downloading rate unstable owing to receiving wireless router signal, the appearance of the not smooth problem of music.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of online music resource downloading method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied to online music system, this online music system comprises the first main playback equipment and the second main playback equipment, this first main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, and this second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the second broadcasting group.As shown in Figure 2, the method can comprise the following steps:
S201, the first main playback equipment obtain the first signal strength values that wireless router transmits.
In the embodiment of the present invention, online music system comprises multiple broadcasting group, and each broadcasting group includes multiple playback equipment, can connect into a private network between all broadcasting groups, and wherein, the first broadcasting group can be any one broadcasting group.In the first broadcasting group, the playback equipment receiving the signal strength signal intensity that transmits of wireless router maximum is called main playback equipment, i.e. the first main playback equipment.First main playback equipment is download network music sources from the Internet mainly, and then is transmitted to other playback equipments in the first broadcasting group, so that all playback equipments in online music system synchronously can play music.
In the embodiment of the present invention, first main playback equipment can receive the signal that wireless router is launched, therefore, first first main playback equipment can obtain the first signal strength values of the signal that the wireless router that receives is launched from the reception of wireless signals module of this first main playback equipment, so that the first main playback equipment judges what kind of network path of this selection download network music sources from the Internet.
S202, the first main playback equipment judge whether this first signal strength values is less than preset signal strength threshold value, if so, perform step S203; If not, step S205 is performed.
In the embodiment of the present invention, when the first main playback equipment gets the first signal strength values, the first main playback equipment can judge whether this first signal strength values is less than preset signal strength threshold value further.Wherein, this preset signal strength threshold value is the download demand that can wireless router signal strength signal intensity that the main playback equipment of judgement first receives meet online music resource, namely ensure that the first main playback equipment can download network music sources in time, thus the asynchronous or not smooth of online music system whole music progress can not be caused.
Further, when judging that this first signal strength values is less than preset signal strength threshold value, the first main playback equipment can send connection request to the second main playback equipment; When judging that this first signal strength values is greater than or equal to preset signal strength threshold value, this first main playback equipment directly connects wireless router.
S203, when step S202 judges that this first signal strength values is less than preset signal strength threshold value, the first main playback equipment sends connection request to the second main playback equipment.
In the embodiment of the present invention, in all playback equipments in online music system, there is a playback equipment and remain wired or wireless connections relation with wireless router all the time, therefore, the signal strength values of the wireless router that this playback equipment receives is maximum in all playback equipments, meanwhile, this playback equipment is also the main playback equipment of its place broadcasting group.
In the embodiment of the present invention, the second main playback equipment is receive the main playback equipment that secondary signal intensity level that wireless router transmits is greater than preset signal strength threshold value in online music system.This second main playback equipment can be the main playback equipment of any one the broadcasting group gone out in online music system outside the first broadcasting group, also can be to be only limitted to directly and wireless router keeps wired or the main playback equipment of wireless connections relation, the embodiment of the present invention limit.
In the embodiment of the present invention, when judging that this first signal strength values is less than preset signal strength threshold value, show that the first main playback equipment needs just can not cause the asynchronous of music progress or not smooth by the mode that connects other main playback equipments from the Internet download online music resource, therefore, the first main playback equipment can send a connection request to the second main playback equipment.This connection request can carry the device identification of the first main playback equipment, so as the second main playback equipment send response message time can according to this device identification correct send to this first main playback equipment.This device identification can comprise device hardware address or physical address, the network address, equipment Serial Number etc., and the embodiment of the present invention does not limit.
S204, when the first main playback equipment receives the second response message that the second main playback equipment sends, the connection with wireless router set up by the first main playback equipment.
In the embodiment of the present invention, the second response message is used for notifying that the first main broadcaster puts equipment connection wireless router.Therefore, when the first main playback equipment receives the second response message of the second main playback equipment transmission, show that the second main playback equipment judges that the first main playback equipment does not meet the condition connecting this second main playback equipment, therefore, the first main playback equipment needs to set up the connection with wireless router.
In the embodiment of the present invention, online music system also includes the 3rd main playback equipment, and the 3rd main playback equipment is the general name of all main playback equipment being connected to the second main playback equipment, therefore, 3rd main playback equipment can be that zero also can for multiple, and the embodiment of the present invention does not limit.
Accordingly, after second main playback equipment receives the connection request of the first main playback equipment transmission, the secondary signal intensity level that first this second main playback equipment can receive according to self judges the maximum number of connections amount of the main playback equipment that this second main playback equipment can connect, and then judges whether the quantity of the 3rd main playback equipment himself connected reaches maximum number of connections amount.If do not reach maximum number of connections amount, then the second main playback equipment can send the first response message to the first main playback equipment, notifies that the first main broadcaster puts this second main playback equipment of equipment connection; If reach maximum number of connections amount, whether the signal strength values that the second main playback equipment can judge to receive in the 3rd main playback equipment the maximum main playback equipment of target of signal strength signal intensity that wireless router transmits further is greater than the first signal strength values.If the signal strength values of the main playback equipment of target is greater than the first signal strength values, just send the first response message to the first main playback equipment, notify that the first main broadcaster puts this second main playback equipment of equipment connection; If judge whether the signal strength values of the main playback equipment of target is less than or equal to the first signal strength values, then send the second response message to the first main playback equipment, notify that the first main broadcaster puts equipment connection wireless router.
Accordingly, when the second main playback equipment judges that the quantity of the 3rd main playback equipment himself connected does not reach maximum number of connections amount, or, when the second main playback equipment judges that the quantity of the 3rd main playback equipment himself connected reaches maximum number of connections amount, but when the signal strength values judging to receive in the 3rd main playback equipment the maximum main playback equipment of target of signal strength signal intensity that wireless router transmits is greater than the first signal strength values, second main playback equipment can send the first response message to the first main playback equipment, notify that the first main broadcaster puts this second main playback equipment of equipment connection, and the second main playback equipment can notify that this target main broadcaster puts equipment connection to wireless router.Therefore, when the first main playback equipment receives the first response message, the first main playback equipment can set up the connection of the main playback equipment with second.
S205, when step S202 judges that this first signal strength values is greater than or equal to preset signal strength threshold value, the connection with wireless router set up by the first main playback equipment.
In the embodiment of the present invention, when the first main playback equipment judges that this first signal strength values is greater than or equal to preset signal strength threshold value, show that the first main playback equipment directly can not cause the asynchronous of music progress or not smooth by wireless router download network music sources, therefore the first main playback equipment directly can set up the connection with wireless router.
S206, the first main playback equipment by wireless router from the Internet download online music resource.
In the embodiment of the present invention, after the first main playback equipment and wireless router connect, the first main playback equipment just can pass through wireless router directly download network music sources from the Internet.
In the embodiment of the present invention, when the signal strength values that the first main playback equipment reception wireless router transmits is more than or equal to preset signal strength threshold value, the first main playback equipment can directly by connecting wireless router from the Internet download online music resource; When the signal strength values that the first main playback equipment reception wireless router transmits is less than preset signal strength threshold value, the first main playback equipment needs to compare by signal strength values other the main playback equipments being greater than preset signal strength threshold value could from the Internet download online music resource.So both can ensure when all main broadcasters put the stable of online music resource downloading speed when device signal intensity level is all greater than preset signal strength threshold value, the stable of the downloading rate receiving the less main playback equipment of wireless router signal strength values can be ensured again, thus the first main playback equipment can be avoided more weak and cause downloading rate unstable owing to receiving wireless router signal, the appearance of the not smooth problem of music.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of main playback equipment disclosed in the embodiment of the present invention.Wherein, this main playback equipment 300 is applied to online music system, this online music system also comprises the second main playback equipment, this main playback equipment 300 is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, and this second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the second broadcasting group.As shown in Figure 3, this main playback equipment 300 can comprise with lower unit:
Acquiring unit 301, for obtaining the first signal strength values that wireless router transmits.
In the embodiment of the present invention, online music system comprises multiple broadcasting group, and each broadcasting group includes multiple playback equipment, can connect into a private network between all broadcasting groups, and wherein, the first broadcasting group can be any one broadcasting group.In the first broadcasting group, the playback equipment receiving the signal strength signal intensity that transmits of wireless router maximum is called main playback equipment 300.Main playback equipment 300 is download network music sources from the Internet mainly, and then is transmitted to other playback equipments in the first broadcasting group, so that all playback equipments in online music system synchronously can play music.
In the embodiment of the present invention, main playback equipment 300 can receive the signal that wireless router is launched, therefore, first acquiring unit 301 can obtain the first signal strength values of the signal that the wireless router that receives is launched from the reception of wireless signals module of this main playback equipment 300, so that judging unit 302 judges what kind of network path of this selection download network music sources from the Internet.
Judging unit 302, for judging whether the first signal strength values that above-mentioned acquiring unit 301 gets is less than preset signal strength threshold value.
In the embodiment of the present invention, when acquiring unit 301 gets the first signal strength values, judging unit 302 can judge whether this first signal strength values is less than preset signal strength threshold value further.Wherein, this preset signal strength threshold value is judge that can wireless router signal strength signal intensity that main playback equipment 300 receives meet the download demand of online music resource, namely ensure that main playback equipment 300 can download network music sources in time, thus the asynchronous or not smooth of online music system whole music progress can not be caused.
Further, when judging unit 302 judges that this first signal strength values is less than preset signal strength threshold value, transmitting element 303 can send connection request to the second main playback equipment; When judging unit 302 judges that this first signal strength values is greater than or equal to preset signal strength threshold value, this main playback equipment 300 directly can connect wireless router.
Transmitting element 303, for when above-mentioned judging unit 302 judges that this first signal strength values is less than preset signal strength threshold value, sends connection request to the second main playback equipment.
In the embodiment of the present invention, in all playback equipments in online music system, there is a playback equipment and remain wired or wireless connections relation with wireless router all the time, therefore, the signal strength values of the wireless router that this playback equipment receives is maximum in all playback equipments, meanwhile, this playback equipment is also the main playback equipment of its place broadcasting group.
In the embodiment of the present invention, the second main playback equipment is receive the main playback equipment that secondary signal intensity level that wireless router transmits is greater than preset signal strength threshold value in online music system.This second main playback equipment can be the main playback equipment of any one the broadcasting group gone out in online music system outside the first broadcasting group, also can be to be only limitted to directly and wireless router keeps wired or the main playback equipment of wireless connections relation, the embodiment of the present invention limit.
In the embodiment of the present invention, when judging unit 302 judges that this first signal strength values is less than preset signal strength threshold value, show that main playback equipment 300 needs the mode by connecting other main playback equipments just can not cause the asynchronous of music progress or not smooth from the Internet download online music resource, therefore, transmitting element 303 can send a connection request to the second main playback equipment.This connection request can carry the device identification of main playback equipment 300, so as the second main playback equipment send response message time can according to this device identification correct send to this main playback equipment 300.This device identification can comprise device hardware address or physical address, the network address, equipment Serial Number etc., and the embodiment of the present invention does not limit.
First linkage unit 304, during for receiving the first response message that the second main playback equipment sends when main playback equipment 300, sets up the connection with the second main playback equipment.
In the embodiment of the present invention, the first response message is used for notifying that main playback equipment 300 connects the second main playback equipment.Therefore, when main playback equipment 300 receives the first response message of the second main playback equipment transmission, show that the connection request that the transmitting element 303 of main playback equipment 300 sends agreed to by the second main playback equipment, therefore, the first linkage unit 304 can set up the connection of the main playback equipment with second.
In the embodiment of the present invention, online music system also includes the 3rd main playback equipment, and the 3rd main playback equipment is the general name of all main playback equipment being connected to the second main playback equipment, therefore, 3rd main playback equipment can be that zero also can for multiple, and the embodiment of the present invention does not limit.
Accordingly, after second main playback equipment receives the connection request of main playback equipment 300 transmission, the secondary signal intensity level that first this second main playback equipment can receive according to self judges the maximum number of connections amount of the main playback equipment that this second main playback equipment can connect, and then judges whether the quantity of the 3rd main playback equipment himself connected reaches maximum number of connections amount.If do not reach maximum number of connections amount, then the second main playback equipment can send the first response message to main playback equipment 300, notifies that main playback equipment 300 connects this second main playback equipment; If reach maximum number of connections amount, whether the signal strength values that the second main playback equipment can judge to receive in the 3rd main playback equipment the maximum main playback equipment of target of signal strength signal intensity that wireless router transmits further is greater than the first signal strength values.If the signal strength values of the main playback equipment of target is greater than the first signal strength values, just send the first response message to main playback equipment 300, notify that main playback equipment 300 connects this second main playback equipment; If judge whether the signal strength values of the main playback equipment of target is less than or equal to the first signal strength values, then notify that main playback equipment 300 connects wireless router.
First download unit 305, for passing through the second main playback equipment from the Internet download online music resource.
In the embodiment of the present invention, after the first linkage unit 304 and the second main playback equipment connect, the first download unit 305 just can pass through the second main playback equipment download network music sources from the Internet.
In the embodiment of the present invention, online music system comprises main playback equipment and the second main playback equipment, main playback equipment and the second main playback equipment are respectively in the first broadcasting group and the second broadcasting group and receive the maximum playback equipment of signal strength signal intensity that wireless router transmits, wherein: first main playback equipment obtains the first signal strength values that wireless router transmits, when judging that this first signal strength values is less than preset signal strength threshold value, connection request is sent to the second main playback equipment, when receiving the first response message that the second main playback equipment sends, set up the connection with the second main playback equipment, eventually through the second main playback equipment from the Internet download online music resource.Pass through the embodiment of the present invention, main playback equipment is when the signal strength values receiving wireless router signal is less than preset signal strength threshold value, the second main playback equipment of preset signal strength threshold value can be greater than from the Internet download online music resource by connecting the signal strength values receiving wireless router signal, in this way, the downloading rate of main playback equipment can be improved, thus main playback equipment can be avoided more weak and cause downloading rate unstable owing to receiving wireless router signal, the appearance of the not smooth problem of music.
Refer to Fig. 4, Fig. 4 is the structural representation of another kind of main playback equipment disclosed in the embodiment of the present invention.Wherein, this main playback equipment 400 is applied to online music system, this online music system also comprises the second main playback equipment, this main playback equipment 400 is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, and this second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the second broadcasting group.As shown in Figure 4, this main playback equipment 400 can comprise with lower unit:
Acquiring unit 401, for obtaining the first signal strength values that wireless router transmits.
In the embodiment of the present invention, online music system comprises multiple broadcasting group, and each broadcasting group includes multiple playback equipment, can connect into a private network between all broadcasting groups, and wherein, the first broadcasting group can be any one broadcasting group.In the first broadcasting group, the playback equipment receiving the signal strength signal intensity that transmits of wireless router maximum is called main playback equipment 400.Main playback equipment 400 is download network music sources from the Internet mainly, and then is transmitted to other playback equipments in the first broadcasting group, so that all playback equipments in online music system synchronously can play music.
In the embodiment of the present invention, main playback equipment 400 can receive the signal that wireless router is launched, therefore, first acquiring unit 401 can obtain the first signal strength values of the signal that the wireless router that receives is launched from the reception of wireless signals module of this main playback equipment 400, so that judging unit 402 judges what kind of network path of this selection download network music sources from the Internet.
Judging unit 402, for judging whether the first signal strength values that above-mentioned acquiring unit 401 gets is less than preset signal strength threshold value.
In the embodiment of the present invention, when acquiring unit 401 gets the first signal strength values, judging unit 402 can judge whether this first signal strength values is less than preset signal strength threshold value further.Wherein, this preset signal strength threshold value is judge that can wireless router signal strength signal intensity that main playback equipment 400 receives meet the download demand of online music resource, namely ensure that main playback equipment 400 can download network music sources in time, thus the asynchronous or not smooth of online music system whole music progress can not be caused.
Further, when judging unit 402 judges that this first signal strength values is less than preset signal strength threshold value, transmitting element 403 can send connection request to the second main playback equipment; When judging unit 402 judges that this first signal strength values is greater than or equal to preset signal strength threshold value, this main playback equipment 400 directly can connect wireless router.
Transmitting element 403, for when above-mentioned judging unit 402 judges that this first signal strength values is less than preset signal strength threshold value, sends connection request to the second main playback equipment.
In the embodiment of the present invention, in all playback equipments in online music system, there is a playback equipment and remain wired or wireless connections relation with wireless router all the time, therefore, the signal strength values of the wireless router that this playback equipment receives is maximum in all playback equipments, meanwhile, this playback equipment is also the main playback equipment of its place broadcasting group.
In the embodiment of the present invention, the second main playback equipment is receive the main playback equipment that secondary signal intensity level that wireless router transmits is greater than preset signal strength threshold value in online music system.This second main playback equipment can be the main playback equipment of any one the broadcasting group gone out in online music system outside the first broadcasting group, also can be to be only limitted to directly and wireless router keeps wired or the main playback equipment of wireless connections relation, the embodiment of the present invention limit.
In the embodiment of the present invention, when judging unit 402 judges that this first signal strength values is less than preset signal strength threshold value, show that main playback equipment 400 needs the mode by connecting other main playback equipments just can not cause the asynchronous of music progress or not smooth from the Internet download online music resource, therefore, transmitting element 403 can send a connection request to the second main playback equipment.This connection request can carry the device identification of main playback equipment 400, so as the second main playback equipment send response message time can according to this device identification correct send to this main playback equipment 400.This device identification can comprise device hardware address or physical address, the network address, equipment Serial Number etc., and the embodiment of the present invention does not limit.
First linkage unit 404, during for receiving the first response message that the second main playback equipment sends when main playback equipment 400, sets up the connection with the second main playback equipment.
In the embodiment of the present invention, the first response message is used for notifying that main playback equipment 400 connects the second main playback equipment.Therefore, when main playback equipment 400 receives the first response message of the second main playback equipment transmission, show that the connection request that the transmitting element 403 of main playback equipment 400 sends agreed to by the second main playback equipment, therefore, the first linkage unit 404 can set up the connection of the main playback equipment with second.
In the embodiment of the present invention, online music system also includes the 3rd main playback equipment, and the 3rd main playback equipment is the general name of all main playback equipment being connected to the second main playback equipment, therefore, 3rd main playback equipment can be that zero also can for multiple, and the embodiment of the present invention does not limit.
Accordingly, after second main playback equipment receives the connection request of main playback equipment 400 transmission, the secondary signal intensity level that first this second main playback equipment can receive according to self judges the maximum number of connections amount of the main playback equipment that this second main playback equipment can connect, and then judges whether the quantity of the 3rd main playback equipment himself connected reaches maximum number of connections amount.If do not reach maximum number of connections amount, then the second main playback equipment can send the first response message to main playback equipment 400, notifies that main playback equipment 400 connects this second main playback equipment; If reach maximum number of connections amount, whether the signal strength values that the second main playback equipment can judge to receive in the 3rd main playback equipment the maximum main playback equipment of target of signal strength signal intensity that wireless router transmits further is greater than the first signal strength values.If the signal strength values of the main playback equipment of target is greater than the first signal strength values, just send the first response message to main playback equipment 400, notify that main playback equipment 400 connects this second main playback equipment; If judge whether the signal strength values of the main playback equipment of target is less than or equal to the first signal strength values, then notify that main playback equipment 400 connects wireless router.
First download unit 405, for passing through the second main playback equipment from the Internet download online music resource.
In the embodiment of the present invention, after the first linkage unit 404 and the second main playback equipment connect, the first download unit 405 just can pass through the second main playback equipment download network music sources from the Internet.
Second linkage unit 406, for judging that this first signal strength values is greater than or equal to preset signal strength threshold value at above-mentioned judging unit 402, or when main playback equipment 400 receives the first response message of the second main playback equipment transmission, set up the connection with wireless router.
In the embodiment of the present invention, the second response message is used for notifying that main playback equipment 400 connects wireless router.Therefore, when main playback equipment 400 receives the second response message of the second main playback equipment transmission, show that the second main playback equipment judges that main playback equipment 400 does not meet the condition connecting this second main playback equipment, therefore, this main playback equipment 400 needs to set up the connection with wireless router.Or, when judging unit 402 judges that this first signal strength values is greater than or equal to preset signal strength threshold value, show that main playback equipment 400 directly can not cause the asynchronous of music progress or not smooth by wireless router download network music sources, therefore the second linkage unit 406 directly can set up the connection with wireless router.
Second download unit 407, for by wireless router from the Internet download online music resource.
In the embodiment of the present invention, after the second linkage unit 406 connects with wireless router, the second download unit 407 just can pass through wireless router directly download network music sources from the Internet.
In the embodiment of the present invention, when the signal strength values that main playback equipment reception wireless router transmits is more than or equal to preset signal strength threshold value, main playback equipment can directly by connecting wireless router from the Internet download online music resource; When the signal strength values that main playback equipment reception wireless router transmits is less than preset signal strength threshold value, main playback equipment needs to compare by signal strength values other the main playback equipments being greater than preset signal strength threshold value could from the Internet download online music resource.So both can ensure when all main broadcasters put the stable of online music resource downloading speed when device signal intensity level is all greater than preset signal strength threshold value, the stable of the downloading rate receiving the less main playback equipment of wireless router signal strength values can be ensured again, thus main playback equipment can be avoided more weak and cause downloading rate unstable owing to receiving wireless router signal, the appearance of the not smooth problem of music.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (12)

1. an online music resource downloading method, it is characterized in that, described method is applied to online music system, described online music system comprises the first main playback equipment and the second main playback equipment, described first main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, described second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that described wireless router transmits in the second broadcasting group, wherein:
Described first main playback equipment obtains the first signal strength values that described wireless router transmits, and judges whether described first signal strength values is less than preset signal strength threshold value;
If so, then described first main playback equipment sends connection request to described second main playback equipment, and described second main playback equipment receives the secondary signal intensity level that described wireless router transmits and is greater than described preset signal strength threshold value;
When described first main playback equipment receives the first response message of described second main playback equipment transmission, the connection with described second main playback equipment set up by described first main playback equipment, and described first response message is used for notifying that described first main broadcaster puts the second main playback equipment described in equipment connection;
Described first main playback equipment by described second main playback equipment from the Internet download online music resource.
2. method according to claim 1, is characterized in that, described method also comprises:
When described first main playback equipment judges that described first signal strength values is more than or equal to preset signal strength threshold value, the connection with described wireless router set up by described first main playback equipment;
Or,
When described first main playback equipment receives the second response message of described second main playback equipment transmission, the connection with described wireless router set up by described first main playback equipment, and described second response message is used for notifying that described first main broadcaster puts wireless router described in equipment connection;
Described first main playback equipment by described wireless router from online music resource described in described the Internet download.
3. method according to claim 1, is characterized in that, described connection request carries described first signal strength values;
Described first response message be by described second main playback equipment according to described first signal strength values judge described first main playback equipment meet connect the condition of described second main playback equipment after the response message that produces.
4. method according to claim 3, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, according to described first signal strength values, described second main playback equipment judges that described first main playback equipment meets the condition connecting described second main playback equipment and comprises:
Judge whether the quantity of the 3rd main playback equipment that described second main playback equipment connects reaches default maximum number of connections amount by described second main playback equipment, if, judge whether there is the main playback equipment of target in described 3rd main playback equipment by described 3rd main playback equipment, it is maximum that the main playback equipment of described target receives the signal strength signal intensity that described wireless router transmits, and the signal strength values that the main playback equipment of described target receives is greater than described first signal strength values, if, determine that described first main playback equipment meets the condition connecting described second main playback equipment.
5. method according to claim 1, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, and described first response message is in the response message judging to produce after the quantity of the 3rd main playback equipment that described second main playback equipment connects does not reach default maximum number of connections amount by described second main playback equipment.
6. method according to claim 2, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, described second response message is judging to there is the main playback equipment of target in described 3rd main playback equipment by described second main playback equipment, it is maximum that the main playback equipment of described target receives the signal strength signal intensity that described wireless router transmits, and the response message that the signal strength values received of the main playback equipment of described target produces after being less than or equal to described first signal strength values.
7. a main playback equipment, it is characterized in that, described main playback equipment is applied to online music system, described online music system also comprises the second main playback equipment, described main playback equipment is receive the maximum playback equipment of signal strength signal intensity that wireless router transmits in the first broadcasting group, described second main playback equipment is receive the maximum playback equipment of signal strength signal intensity that described wireless router transmits in the second broadcasting group, wherein:
Acquiring unit, for obtaining the first signal strength values that described wireless router transmits;
Judging unit, for judging whether described first signal strength values is less than preset signal strength threshold value;
Transmitting element, for when the judged result of described first judging unit is for being, send connection request to described second main playback equipment, described second main playback equipment receives the secondary signal intensity level that described wireless router transmits and is greater than described preset signal strength threshold value;
First linkage unit, during for receiving the first response message that described second main playback equipment sends when described main playback equipment, set up the connection with described second main playback equipment, described first response message is used for notifying that described main broadcaster puts the second main playback equipment described in equipment connection;
First download unit, for by described second main playback equipment from the Internet download online music resource.
8. main playback equipment according to claim 7, is characterized in that, described main playback equipment also comprises:
Second linkage unit, during for judging that described first signal strength values is more than or equal to preset signal strength threshold value at described judging unit, or when described main playback equipment receives the second response message of described second main playback equipment transmission, set up the connection with described wireless router;
Second download unit, for by described wireless router from online music resource described in described the Internet download.
9. main playback equipment according to claim 7, is characterized in that, described connection request carries described first signal strength values;
Described first response message be by described second main playback equipment according to described first signal strength values judge described main playback equipment meet connect the condition of described second main playback equipment after the response message that produces.
10. main playback equipment according to claim 9, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, according to described first signal strength values, described second main playback equipment judges that described main playback equipment meets the condition connecting described second main playback equipment and comprises:
Judge whether the quantity of the 3rd main playback equipment that described second main playback equipment connects reaches default maximum number of connections amount by described second main playback equipment, if, judge whether there is the main playback equipment of target in described 3rd main playback equipment by described 3rd main playback equipment, it is maximum that the main playback equipment of described target receives the signal strength signal intensity that described wireless router transmits, and the signal strength values that the main playback equipment of described target receives is greater than described first signal strength values, if, determine that described main playback equipment meets the condition connecting described second main playback equipment.
11. main playback equipments according to claim 7, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, and described first response message is in the response message judging to produce after the quantity of the 3rd main playback equipment that described second main playback equipment connects does not reach default maximum number of connections amount by described second main playback equipment.
12. main playback equipments according to claim 8, it is characterized in that, described online music system also comprises at least one the 3rd main playback equipment, described second response message is judging to there is the main playback equipment of target in described 3rd main playback equipment by described second main playback equipment, it is maximum that the main playback equipment of described target receives the signal strength signal intensity that described wireless router transmits, and the response message that the signal strength values received of the main playback equipment of described target produces after being less than or equal to described first signal strength values.
CN201510035256.0A 2015-01-23 2015-01-23 A kind of online music resource downloading method and relevant device Active CN104618470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035256.0A CN104618470B (en) 2015-01-23 2015-01-23 A kind of online music resource downloading method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035256.0A CN104618470B (en) 2015-01-23 2015-01-23 A kind of online music resource downloading method and relevant device

Publications (2)

Publication Number Publication Date
CN104618470A true CN104618470A (en) 2015-05-13
CN104618470B CN104618470B (en) 2019-02-12

Family

ID=53152745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035256.0A Active CN104618470B (en) 2015-01-23 2015-01-23 A kind of online music resource downloading method and relevant device

Country Status (1)

Country Link
CN (1) CN104618470B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429831A (en) * 2015-11-04 2016-03-23 广东欧珀移动通信有限公司 Main play equipment selection method and play equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137879A1 (en) * 2006-04-24 2008-06-12 Schwartz David L Wireless audio system
CN102083152A (en) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 Method for switching hotspots in wireless local area network (WLAN) and terminal
CN102870348A (en) * 2010-03-05 2013-01-09 韩国电子通信研究院 Wideband near field communication apparatus and method
CN104080012A (en) * 2014-06-30 2014-10-01 广东欧珀移动通信有限公司 Method, device and system for controlling multiple display devices
CN104123954A (en) * 2014-07-24 2014-10-29 广东欧珀移动通信有限公司 Control method and device for wireless music system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137879A1 (en) * 2006-04-24 2008-06-12 Schwartz David L Wireless audio system
CN102870348A (en) * 2010-03-05 2013-01-09 韩国电子通信研究院 Wideband near field communication apparatus and method
CN102083152A (en) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 Method for switching hotspots in wireless local area network (WLAN) and terminal
CN104080012A (en) * 2014-06-30 2014-10-01 广东欧珀移动通信有限公司 Method, device and system for controlling multiple display devices
CN104123954A (en) * 2014-07-24 2014-10-29 广东欧珀移动通信有限公司 Control method and device for wireless music system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429831A (en) * 2015-11-04 2016-03-23 广东欧珀移动通信有限公司 Main play equipment selection method and play equipment
CN105429831B (en) * 2015-11-04 2018-03-02 广东欧珀移动通信有限公司 A kind of system of selection of main playback equipment and playback equipment

Also Published As

Publication number Publication date
CN104618470B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN109348521B (en) Network distribution method, device and equipment of intelligent equipment and computer readable medium
CN105553868A (en) Data transmission method and device and terminal
CN105337822B (en) A kind of selection method and relevant device of main playback equipment
CN105025390B (en) A kind of broadcasting scene store method, system, playback terminal and controlling terminal
CN110831245B (en) Network connection method, device and router
CN107979693A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN105072146A (en) Music information sharing method and device
CN111741509A (en) Network distribution method and device, storage medium and processor
CN105679350B (en) A kind of method and device that audio plays
CN104967646B (en) Document down loading method and device
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN105703987B (en) A kind of audio-video frequency playing system control method and device
CN105050123A (en) Load control method for wireless network and terminal
CN104618470A (en) Network music resource downloading method and related equipment
CN105392083B (en) A kind of MPP speakers switching method and access controller
CN111083763B (en) Network control method, network control device, storage medium and electronic equipment
CN112153712A (en) Communication method and device of terminal and base station
CN104837216A (en) Method and device for reconnecting intelligent terminal with wireless intelligent equipment
CN103813393A (en) Network speed protection method of application based on TD-LTE and network speed protection device
CN106161044B (en) A kind of information transferring method and device
CN104796167A (en) Terminal
CN107249194A (en) Manage method, device and the equipment of wireless network connection
CN111148188B (en) Network connection method, device, storage medium and electronic equipment
CN108769956B (en) Internet of things communication method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant