CN106982177A - Upgrade control method, device and terminal - Google Patents
Upgrade control method, device and terminal Download PDFInfo
- Publication number
- CN106982177A CN106982177A CN201710210321.8A CN201710210321A CN106982177A CN 106982177 A CN106982177 A CN 106982177A CN 201710210321 A CN201710210321 A CN 201710210321A CN 106982177 A CN106982177 A CN 106982177A
- Authority
- CN
- China
- Prior art keywords
- audio frequency
- bandwidth
- frequency apparatus
- upgrade
- broadcast system
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the present invention provides a kind of upgrade control method, and applied to audio frequency broadcast system, the audio frequency broadcast system includes multiple audio frequency apparatuses, the described method comprises the following steps:When receiving the upgrade request of the first audio frequency apparatus, the status information of other audio frequency apparatuses in audio frequency broadcast system is obtained;The second audio frequency apparatus being currently in upgrade status and the 3rd audio frequency apparatus that need not upgrade are confirmed according to status information;Obtain the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list;It is provided for downloading the second bandwidth of upgrade file according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download upgrade file.The present invention have ensure music it is successional under the premise of improve upgrading efficiency beneficial effect.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of upgrade control method, device and terminal.
Background technology
Intelligent radio audio amplifier is a kind of new intelligent appliance equipment, by connecting WIFI network, can with mobile phone
Using information exchange is carried out, so that the various instructions that the application received on mobile phone is transmitted, perform the desired various orders of user.
At present, in the market has had some intelligent radio speaker products, by taking SONOS as an example, is all installed by mobile phone
One APP checks and controlled audio amplifier to play music.Intelligent sound box is generally required under the webserver when upgrading
Carry newest software.Now, other online audio amplifiers for playing music are there may be in network, and upgrades and downloads upgrade file meeting
The substantial amounts of network bandwidth is taken in a short time, is likely to result in the phenomenon for the audio amplifier appearance broadcasting interim card for playing music.
And if the excessive network bandwidth is assigned with to download played file can make it that upgrade file download is slower, influence upgrading effect
Rate.
The content of the invention
The embodiment of the present invention provides a kind of upgrade control method, device and terminal, with the continuous of guarantee music
Property on the premise of improve upgrading efficiency beneficial effect.
The embodiment of the present invention provides a kind of upgrade control method, applied to audio frequency broadcast system, the audio frequency broadcast system bag
Multiple audio frequency apparatuses are included, be the described method comprises the following steps:
When receiving the upgrade request of the first audio frequency apparatus, the state letter of other audio frequency apparatuses in audio frequency broadcast system is obtained
Breath;
The second audio frequency apparatus being currently in upgrade status and the 3rd sound that need not upgrade are confirmed according to status information
Frequency equipment;
Obtain the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list;
It is provided for downloading the second band of upgrade file according to the network total bandwidth and the first bandwidth of audio frequency broadcast system
Width, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download upgrade file.
The embodiment of the present invention provides a kind of upgrading control device, applied to audio frequency broadcast system, the audio frequency broadcast system bag
Multiple audio frequency apparatuses are included, described device includes:
When the first acquisition module, upgrade request for receiving the first audio frequency apparatus, its in audio frequency broadcast system is obtained
The status information of his audio frequency apparatus;
Module is confirmed, for confirming to be currently at the second audio frequency apparatus in upgrade status and need not according to status information
3rd audio frequency apparatus of upgrading;
Second acquisition module, for obtaining the first band required for the 3rd audio frequency apparatus plays current play list
It is wide;
Setup module, is provided for downloading for the network total bandwidth and the first bandwidth according to the audio frequency broadcast system
Second bandwidth of upgrade file, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download
Upgrade file.
The embodiment of the present invention provides a kind of terminal, including memory, processor and stores on a memory and can handle
The computer program run on device, realizes any of the above-described described method during the computing device computer program.
From the foregoing, it will be observed that upgrading of the upgrade control method provided in an embodiment of the present invention by receiving the first audio frequency apparatus please
When asking, the status information of other audio frequency apparatuses in audio frequency broadcast system is obtained;Confirmed to be currently at upgrading shape according to status information
The second audio frequency apparatus in state and the 3rd audio frequency apparatus without upgrading;Obtain the 3rd audio frequency apparatus and play currently playing
The first bandwidth required for list;It is provided for downloading according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system
Second bandwidth of upgrade file, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download
Upgrade file;So as to complete the control of upgrade file speed of download, in the premise for ensureing not influenceing voice data to play with most fast
Speed download upgrade file, with improve upgrading efficiency beneficial effect.
Brief description of the drawings
Fig. 1 is the upgrade control method and the schematic diagram of a scenario of device in one embodiment of the present invention.
Fig. 2 be one embodiment of the present invention in upgrade control method the first flow chart.
Fig. 3 be one embodiment of the present invention in upgrade control method second of flow chart.
Fig. 4 be one embodiment of the present invention in upgrade control method the third flow chart.
Fig. 5 be one embodiment of the present invention in upgrading control device the first structure chart.
Fig. 6 be one embodiment of the present invention in upgrading control device second of structure chart.
Fig. 7 be one embodiment of the present invention in terminal structure chart.
Embodiment
It refer to schema, wherein identical element numbers represent identical component, principle of the invention is to implement one
Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by
It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be referred to as the operation performed by one or multi-section computer
The step of and symbol illustrate, unless otherwise stating clearly.Therefore, it will appreciate that these steps and operation, be carried for several times wherein having
To be performed by computer, include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern
Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match somebody with somebody again
Put or change in a manner familiar to those skilled in the art in addition the running of the computer.The data knot that the data are maintained
Structure is the provider location of the internal memory, and it has the particular characteristics as defined in the data format.But, the principle of the invention is with above-mentioned
Word illustrates, it is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and
Operation also may be implemented among hardware.
It is the schematic diagram of a scenario of the upgrade control method in the embodiment of the present invention referring to Fig. 1 and Fig. 2, Fig. 1.Figure
2 be the upgrade control method in the embodiment of the present invention, in the terminal such as its main audio equipment, mobile phone, IPAD.In the present embodiment
In, upgrade control method is applied in audio frequency broadcast system, and the audio frequency broadcast system includes multiple audio frequency apparatuses and a terminal.
The upgrade control method is stored in in the audio frequency apparatus of control or the memory of terminal in the form of a computer program.The liter
Level control method comprises the following steps:
S101, when receiving the upgrade request of the first audio frequency apparatus, obtain other audio frequency apparatuses in audio frequency broadcast system
Status information.
In this step, the first audio frequency apparatus in the audio frequency broadcast system, which is detected, has the broadcasting of redaction soft on network
During part, upgrade request can be sent to the terminal in master control status.This moment, some audio frequency apparatuses in other audio frequency apparatuses may
During being in download upgrade file and being upgraded, some audio frequency apparatuses are receiving network audio data and are being in and broadcasting
During putting the music on.The status information is used to judge that whether corresponding audio frequency apparatus is in escalation process, or risen
Level is completed.The audio frequency apparatus that upgrading is completed can directly carry out the broadcasting of voice data without being upgraded.
S102, according to status information confirm to be currently at the second audio frequency apparatus in upgrade status and the without upgrading
Three audio frequency apparatuses.
In this step, confirmed currently to be in upgrade status according to the status information of other audio frequency apparatuses got
Audio frequency apparatus, the audio frequency apparatus that should be in upgrade status is the second audio frequency apparatus.According to the shape of other audio frequency apparatuses got
The audio frequency apparatus of state validation of information currently without upgrading, these are the 3rd audio frequency apparatus without the audio frequency apparatus of upgrading.Wherein,
It can also be multiple that the quantity of two audio frequency apparatuses, which can be one,.
S103, acquisition the 3rd audio frequency apparatus play the first bandwidth required for current play list.
In practical application, performed every predetermined period and once obtain the 3rd audio frequency apparatus broadcasting current play list institute
The first bandwidth needed, so as to realize dynamic adjustment.The 3rd audio frequency apparatus broadcasting was for example obtained every 10 seconds currently to broadcast
Emplace the first bandwidth required for table.
In certain embodiments, referring to Fig. 3, step S103 includes following sub-step:
S1031, the broadcasting code check and the sound of song for obtaining the song in broadcast state in current play list
Frequency is according to buffer memory.In this step, after three audio frequency apparatus without upgrading is confirmed, send broadcast state acquisition and refer to
Make to the 3rd audio frequency apparatus, and receive the broadcast state information that the 3rd audio frequency apparatus is returned.The broadcast state information includes current
The broadcasting code check and the voice data buffer memory of the song of the song of broadcasting.
S1032, according to it is described broadcasting code check and the voice data buffer memory set play current play list needed for
The first bandwidth wanted.In this step, a voice data is set most according to the broadcasting code check and voice data buffer memory
Small download speed, just can guarantee that the phenomenon of interim card occurs in playing process in the song.And the maximum of speed of download is by bandwidth
Determine, distribute to the first bandwidth of the 3rd audio frequency apparatus, the maximum speed of download corresponding to the first bandwidth is greater than the minimum
Download speed.In actual applications, the minimum download speed is xKb/s, and the corresponding speed of download of the first bandwidth is yKb/s,
The corresponding speed of download of first bandwidth should be than the minimum big predetermined value of download speed, can with the broadcasting for further ensureing song
With smoothness without interim card.
S104, according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system be provided for download upgrade file
The second bandwidth, to cause the first audio frequency apparatus and the second audio frequency apparatus to upgrade text from the Internet download using the second bandwidth
Part.
In actual applications, step S104 comprises the following steps:
S1041, inquiry network management module are to obtain the network total bandwidth of the audio frequency broadcast system.In this step,
The network total bandwidth of audio frequency broadcast system distribution can be obtained by querying router.
S1042, according to network total bandwidth and the first bandwidth be provided for download upgrade file the second bandwidth, to cause
First audio frequency apparatus and the second audio frequency apparatus download upgrade file using the second bandwidth.In this step, second bandwidth=
The bandwidth of network total bandwidth-the first.The terminal is calculated after the second bandwidth, can be sent control instruction and for example be route to Network Management Equipment
Device so that the total bandwidth that router distributes to first audio frequency apparatus and the second audio frequency apparatus is the 3rd bandwidth, distributes to the
The a width of first band of band of three audio frequency apparatuses is wide.It will of course be understood that ground, in certain embodiments, the terminal itself can both enter
The distribution of row Internet resources, without sending instructions to router.
In certain embodiments, can be in actual applications in step S1042:
A, the upgrade file download progress for obtaining the second audio frequency apparatus and upgrade file total amount.In this step, lead to
Cross total amount D and current download progress F that inquiry download manager obtains the upgrade file.
B, according to the download progress, the total amount of upgrade file and the first bandwidth set distribute to the first audio frequency apparatus
3rd bandwidth and the 4th bandwidth for distributing the second audio frequency apparatus, wherein, the 3rd bandwidth and the 4th bandwidth and be the second bandwidth.
In this step, the 3rd band is wider than the 4th bandwidth, by distributing to the bandwidth of the first audio frequency apparatus the 3rd and distributing to this
The bandwidth of second audio frequency apparatus the 4th so that first audio frequency apparatus and the second audio frequency apparatus can approximately complete upgrading text simultaneously
The download of part, best of breed broadcast state can most be reached soon by advantageously allowing whole audio frequency broadcast system.
From the foregoing, it will be observed that upgrading of the upgrade control method provided in an embodiment of the present invention by receiving the first audio frequency apparatus please
When asking, the status information of other audio frequency apparatuses in audio frequency broadcast system is obtained;Confirmed to be currently at upgrading shape according to status information
The second audio frequency apparatus in state and the 3rd audio frequency apparatus without upgrading;Obtain the 3rd audio frequency apparatus and play currently playing
The first bandwidth required for list;It is provided for downloading according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system
Second bandwidth of upgrade file, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download
Upgrade file;So as to complete the control of upgrade file speed of download, in the premise for ensureing not influenceing voice data to play with most fast
Speed download upgrade file, with improve upgrading efficiency beneficial effect.
It refer to Fig. 5, Fig. 5 is the structure chart of the upgrading control device in one embodiment of the present invention, upgrading control
Device includes:First acquisition module 201, confirmation module 202, the second acquisition module 203 and setup module 204.
Wherein, when first acquisition module 201 is used to receive the upgrade request of the first audio frequency apparatus, obtains audio and play
The status information of the audio frequency apparatus of other in system.The first audio frequency apparatus in the audio frequency broadcast system, which is detected, new edition on network
During this playout software, upgrade request can be sent to the terminal in master control status.This moment, some sounds in other audio frequency apparatuses
During frequency equipment may be in download upgrade file and be upgraded, some audio frequency apparatuses are receiving network audio frequency
According to and in during playing music.The status information is used to judge whether corresponding audio frequency apparatus is in escalation process,
Or promoted completion.The audio frequency apparatus that upgrading is completed can directly carry out the broadcasting of voice data without being upgraded.
Confirm that module 202 is used for the second audio frequency apparatus and the nothing being currently at according to status information confirmation in upgrade status
The 3rd audio frequency apparatus that need to upgrade.Confirmed currently to be in upgrade status according to the status information of other audio frequency apparatuses got
Audio frequency apparatus, should in upgrade status audio frequency apparatus be the second audio frequency apparatus.According to other audio frequency apparatuses got
Status information confirms audio frequency apparatus currently without upgrading, and these are the 3rd audio frequency apparatus without the audio frequency apparatus of upgrading.Wherein,
It can also be multiple that the quantity of second audio frequency apparatus, which can be one,.
Second acquisition module 203 is used to obtain the first band required for the 3rd audio frequency apparatus broadcasting current play list
It is wide.In certain embodiments, second acquisition module 203 is used to obtain the 3rd audio frequency apparatus every predetermined period and play to work as
The first bandwidth required for preceding playlist, so as to realize dynamic adjustment.Wherein, as shown in fig. 6, second acquisition module 203
Including the setting unit 2032 of first acquisition unit 2031 and first.
First acquisition unit 2031 is used to obtain the broadcasting code for being in the song in broadcast state in current play list
The voice data buffer memory of rate and the song.After three audio frequency apparatus without upgrading is confirmed, send and play shape
State obtains instruction to the 3rd audio frequency apparatus, and receives the broadcast state information that the 3rd audio frequency apparatus is returned.The broadcast state information
Code check and the voice data buffer memory of the song are played including currently playing song.
First setting unit 2032 is used to set to play according to the broadcasting code check and the voice data buffer memory to work as
The first bandwidth required for preceding playlist.One voice data is set according to the broadcasting code check and voice data buffer memory
Minimum download speed, just can guarantee that the phenomenon of interim card occurs in playing process in the song.And the maximum of speed of download is by band
Width is determined, distributes to the first bandwidth of the 3rd audio frequency apparatus, the maximum speed of download corresponding to the first bandwidth is greater than this most
Small download speed.In actual applications, the minimum download speed is xKb/s, and the corresponding speed of download of the first bandwidth is yKb/
S, the corresponding speed of download of the first bandwidth should be than the minimum big predetermined value of download speed, further to ensure the broadcasting of song
Can be smooth without interim card.
Setup module 204 is used to be provided for down according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system
The second bandwidth of upgrade file is carried, to cause the first audio frequency apparatus and the second audio frequency apparatus using the second bandwidth under internet
Carry upgrade file.Setup module 204 includes:The setting unit 2042 of query unit 2041 and second.
Query unit 2041 is used to inquire about network management module to obtain the network total bandwidth of the audio frequency broadcast system.Look into
The network total bandwidth of audio frequency broadcast system distribution can be obtained by querying router by asking unit 2041
Second setting unit 2042 is used to be provided for downloading according to the network total bandwidth and first bandwidth to rise
Second bandwidth of level file, to cause the first audio frequency apparatus and the second audio frequency apparatus to download upgrade file using the second bandwidth.
Second bandwidth=the bandwidth of network total bandwidth-the first.The terminal is calculated after the second bandwidth, can send control instruction to webmaster
Equipment such as router so that it is the 3rd band that router, which distributes to first audio frequency apparatus and the total bandwidth of the second audio frequency apparatus,
Width, a width of first band of band for distributing to the 3rd audio frequency apparatus is wide.It will of course be understood that ground, in certain embodiments, the terminal is certainly
Body can both carry out the distribution of Internet resources, without sending instructions to router.
In certain embodiments, second setting unit 2042 is downloaded into for obtaining the upgrade file of the second audio frequency apparatus
The total amount of degree and upgrade file;And distributed to according to the setting of the download progress, the total amount of upgrade file and the first bandwidth
3rd bandwidth of the first audio frequency apparatus and the 4th bandwidth for distributing the second audio frequency apparatus, wherein, the 3rd bandwidth and the 4th bandwidth
And for the second bandwidth.3rd band is wider than the 4th bandwidth, by distributing to the bandwidth of the first audio frequency apparatus the 3rd and distribution
Give the bandwidth of the second audio frequency apparatus the 4th so that first audio frequency apparatus and the second audio frequency apparatus approximately can complete to rise simultaneously
The download of level file, best of breed broadcast state can most be reached soon by advantageously allowing whole audio frequency broadcast system.
From the foregoing, it will be observed that upgrading control device provided in an embodiment of the present invention receives the first audio by the first acquisition module
During the upgrade request of equipment, the status information of other audio frequency apparatuses in audio frequency broadcast system is obtained;Confirm that module is believed according to state
Breath confirms the second audio frequency apparatus being currently in upgrade status and the 3rd audio frequency apparatus without upgrading;Second acquisition module
Obtain the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list;Setup module is played according to the audio
The network total bandwidth and the first bandwidth of system are provided for downloading the second bandwidth of upgrade file, to cause the first audio frequency apparatus
And second audio frequency apparatus using the second bandwidth from the Internet download upgrade file;So as to complete the control of upgrade file speed of download
System, upgrade file is downloaded in the premise for ensureing not influenceing voice data to play with most fast speed, with raising upgrading efficiency
Beneficial effect.
Refer to Fig. 7, the embodiment of the present invention also provides a kind of terminal 300, the terminal 300 can include radio frequency (RF,
Radio Frequency) circuit 301, include the memories 302, defeated of one or more computer-readable recording mediums
Enter unit 303, display unit 304, sensor 305, voicefrequency circuit 306, Wireless Fidelity (WiFi, Wireless Fidelity)
Module 307, include the part such as one or the processor 308 and power supply 309 of more than one processing core.This area skill
Art personnel are appreciated that the restriction of the terminal structure shown in Fig. 7 not structure paired terminal, can include more more or more than illustrating
Few part, either combines some parts or different parts arrangement.Wherein:
RF circuits 301 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 308 is handled;In addition, being sent to up data are related to
Base station.Generally, RF circuits 301 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM, Subscriber IdentityModule) card, transceiver, coupler, low-noise amplifier (LNA,
Low Noise Amplifier), duplexer etc..In addition, RF circuits 301 can also by radio communication and network and other set
Standby communication.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile communications
(GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division MultipleAccess), wideband code division it is many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, ShortMessaging Service) etc..
Memory 302 can be used for storage software program and module, and processor 308 is stored in memory 302 by operation
Software program and module, so as to perform various function application and data processing.Memory 302 can mainly include storage journey
Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored uses created data according to terminal
(such as voice data, phone directory etc.) etc..In addition, memory 302 can include high-speed random access memory, it can also include
Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 302 can also include Memory Controller, to provide processor 308 and input block 303 to memory 302
Access.
Input block 303 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment
In, input block 303 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile
Control plate, collect user on or near it touch operation (such as user using any suitable object such as finger, stylus or
Operation of the annex on touch sensitive surface or near touch sensitive surface), and filled according to the corresponding connection of formula set in advance driving
Put.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects the signal that touch operation is brought, touch controller is transmitted a signal to;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 308, and can reception processing
Order that device 308 is sent simultaneously is performed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.Except touch sensitive surface, input block 303 can also include other input equipments.Specifically, other are defeated
Physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse can be included but is not limited to by entering equipment
One or more in mark, action bars etc..
Display unit 304 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and terminal
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display
Unit 304 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, OrganicLight-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it, send processing to
Device 308 is provided accordingly on a display panel with determining the type of touch event with preprocessor 308 according to the type of touch event
Visual output.Although in the figure 7, touch sensitive surface is that input is realized as two independent parts and is inputted with display panel
Function, but in some embodiments it is possible to by touch sensitive surface and display panel it is integrated and realize input and output function.
Terminal may also include at least one sensor 305, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear
Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration
Size, can detect that size and the direction of gravity when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 306, loudspeaker, microphone can provide the COBBAIF between user and terminal.Voicefrequency circuit 306 can
Electric signal after the voice data received is changed, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, by voicefrequency circuit 306 receive after be converted to voice data, then
After voice data output processor 308 is handled, through RF circuits 301 to be sent to such as another terminal, or by voice data
Output is to memory 302 so as to further processing.Voicefrequency circuit 306 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 307
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 7 is shown
WiFi module 307, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completely
Become in the essential scope of invention and omit.
Processor 308 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, is led to
Cross operation or perform and be stored in software program and/or module in memory 302, and call and be stored in memory 302
Data, perform the various functions and processing data of terminal, so as to carry out integral monitoring to mobile phone.Optionally, processor 308 can be wrapped
Include one or more processing cores;It is preferred that, processor 308 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 308.
Terminal also includes the power supply 309 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 308 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.Power supply 309 can also include one or more direct current or AC power, recharging system, power failure inspection
The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal can also include camera, bluetooth module etc., will not be repeated here.Specifically at this
In embodiment, the processor 308 in terminal can be according to following instruction, by the process pair of one or more application program
The executable file answered is loaded into memory 302, and the application journey stored in the memory 302 is run by processor 308
Sequence, so as to realize following functions:
When receiving the upgrade request of the first audio frequency apparatus, the state letter of other audio frequency apparatuses in audio frequency broadcast system is obtained
Breath;
The second audio frequency apparatus being currently in upgrade status and the 3rd sound that need not upgrade are confirmed according to status information
Frequency equipment;
Obtain the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list;
It is provided for downloading the second band of upgrade file according to the network total bandwidth and the first bandwidth of audio frequency broadcast system
Width, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download upgrade file.
During upgrade request of the terminal provided in an embodiment of the present invention by receiving the first audio frequency apparatus, obtain audio and play
The status information of the audio frequency apparatus of other in system;The second audio frequency apparatus for confirming to be currently in upgrade status according to status information
And the 3rd audio frequency apparatus without upgrading;Obtain the first band required for the 3rd audio frequency apparatus broadcasting current play list
It is wide;It is provided for downloading the second band of upgrade file according to the network total bandwidth and the first bandwidth of the audio frequency broadcast system
Width, to cause the first audio frequency apparatus and the second audio frequency apparatus to use the second bandwidth from the Internet download upgrade file;So as to complete
Into the control of upgrade file speed of download, upgrading text is downloaded with most fast speed in the premise for ensureing not influenceing voice data to play
Part, with the beneficial effect for improving upgrading efficiency.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations can be with structure
The computer-readable instruction stored on into one or more computer-readable mediums, it will make to succeed in one's scheme when being performed by electronic equipment
Calculate equipment and perform the operation.Describing the orders of some or all of operations, to should not be construed as to imply that these operations necessarily suitable
Sequence correlation.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that
Not all operation must exist in each embodiment provided in this article.
Moreover, word " preferably " used herein means serving as example, example or illustration.Feng Wen is described as " preferably
" any aspect or design be not necessarily to be construed as than other aspect or design it is more favourable.On the contrary, the use purport of word " preferably "
Concept is being proposed in a concrete fashion.Term "or" as used in this application is intended to mean the "or" included and non-excluded
"or".I.e., unless otherwise or clear from the context, " X means that nature includes any one of arrangement using A or B ".
That is, if X uses A;X uses B;Or X uses A and B both, then " X is met using A or B " in foregoing any example.
Although moreover, the disclosure, this area skill has shown and described relative to one or more implementations
Art personnel are based on the reading to the specification and drawings and understand it will be appreciated that equivalent variations and modification.The disclosure include it is all this
The modifications and variations of sample, and be limited only by the scope of the following claims.Particularly with by said modules (such as element,
Resource etc.) various functions that perform, it is intended to correspond to the specified work(for performing the component for describing the term of such component
The random component (unless otherwise instructed) of energy (for example it is functionally of equal value), it is illustrated herein with execution in structure
The disclosure exemplary implementations in function open structure it is not equivalent.Although in addition, the special characteristic of the disclosure is
Through being disclosed relative to the only one in some implementations, but this feature can with such as can be to given or application-specific
For be expect and other favourable implementations other one or more combinations of features.Moreover, with regard to term " comprising ", " tool
Have ", " containing " or its deformation be used in embodiment or claim for, such term be intended to with term
The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can be integrated in a processing module or unit list
Solely be physically present, can also two or more units be integrated in a module.Above-mentioned integrated module can both be used
The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.If the integrated module is with software function
The form of module is realized and is situated between as independent production marketing or in use, an embodied on computer readable storage can also be stored in
In matter.Storage medium mentioned above can be read-only storage, disk or CD etc..Above-mentioned each device or system, can be with
Perform the method in correlation method embodiment.
In summary, although the present invention it is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit
The system present invention, one of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit
Adorn, therefore protection scope of the present invention is defined by the scope that claim is defined.
Claims (11)
1. a kind of upgrade control method, applied to audio frequency broadcast system, the audio frequency broadcast system includes multiple audio frequency apparatuses, and it is special
Levy and be, the described method comprises the following steps:
When receiving the upgrade request of the first audio frequency apparatus, the status information of other audio frequency apparatuses in audio frequency broadcast system is obtained;
Confirm that the second audio frequency apparatus being currently in upgrade status and the 3rd audio that need not upgrade are set according to status information
It is standby;
Obtain the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list;
It is provided for downloading the second bandwidth of upgrade file according to the network total bandwidth and the first bandwidth of audio frequency broadcast system, with
So that the first audio frequency apparatus and the second audio frequency apparatus use the second bandwidth from the Internet download upgrade file.
2. upgrade control method according to claim 1, it is characterised in that acquisition the 3rd audio frequency apparatus is played
The step of the first bandwidth required for current play list, includes:
Obtain the broadcasting code check and the voice data of the song for being in the song in broadcast state in current play list
Buffer memory;
First band required for playing current play list is set according to the broadcasting code check and the voice data buffer memory
It is wide.
3. upgrade control method according to claim 1, it is characterised in that acquisition the 3rd audio frequency apparatus is played
The step of the first bandwidth required for current play list, includes:
The first bandwidth required for the 3rd audio frequency apparatus plays current play list is obtained every predetermined period.
4. upgrade control method according to claim 1, it is characterised in that the net according to the audio frequency broadcast system
Network total bandwidth and the first bandwidth are provided for downloading the second bandwidth of upgrade file, to cause the first audio frequency apparatus and second
Audio frequency apparatus using the second bandwidth from the Internet download upgrade file the step of include:
Network management module is inquired about to obtain the network total bandwidth of the audio frequency broadcast system;
It is provided for downloading the second bandwidth of upgrade file according to the network total bandwidth and first bandwidth, to cause the
One audio frequency apparatus and the second audio frequency apparatus download upgrade file using the second bandwidth.
5. upgrade control method according to claim 4, it is characterised in that described according to the network total bandwidth and institute
The second bandwidth that the first bandwidth is provided for downloading upgrade file is stated, to cause the first audio frequency apparatus and the second audio frequency apparatus to adopt
The step of downloading upgrade file with the second bandwidth includes:
Obtain the upgrade file download progress of the second audio frequency apparatus and the total amount of upgrade file;
The 3rd band for distributing to the first audio frequency apparatus is set according to the download progress, the total amount of upgrade file and the first bandwidth
Wide and the second audio frequency apparatus of distribution the 4th bandwidth, wherein, the 3rd bandwidth and the 4th bandwidth and be the second bandwidth.
6. one kind upgrading control device, applied to audio frequency broadcast system, the audio frequency broadcast system includes multiple audio frequency apparatuses, and it is special
Levy and be, described device includes:
When the first acquisition module, upgrade request for receiving the first audio frequency apparatus, other sounds in audio frequency broadcast system are obtained
The status information of frequency equipment;
Module is confirmed, for the second audio frequency apparatus being currently at according to status information confirmation in upgrade status and without upgrading
The 3rd audio frequency apparatus;
Second acquisition module, for obtaining the first bandwidth required for the 3rd audio frequency apparatus plays current play list;
Setup module, is provided for downloading upgrading for the network total bandwidth and the first bandwidth according to the audio frequency broadcast system
Second bandwidth of file, to cause the first audio frequency apparatus and the second audio frequency apparatus to upgrade using the second bandwidth from the Internet download
File.
7. upgrading control device according to claim 6, it is characterised in that second acquisition module includes:
First acquisition unit, the broadcasting code check of the song in broadcast state and institute in current play list are in for obtaining
State the voice data buffer memory of song;
First setting unit, currently playing row are played for being set according to the broadcasting code check and the voice data buffer memory
The first bandwidth required for table.
8. upgrading control device according to claim 6, it is characterised in that second acquisition module is used for every predetermined
Cycle obtains the first bandwidth required for the 3rd audio frequency apparatus broadcasting current play list.
9. upgrading control device according to claim 6, it is characterised in that the setup module includes:
Query unit, for inquiring about network management module to obtain the network total bandwidth of the audio frequency broadcast system;
Second setting unit, for being provided for downloading upgrade file according to the network total bandwidth and first bandwidth
Second bandwidth, to cause the first audio frequency apparatus and the second audio frequency apparatus to download upgrade file using the second bandwidth.
10. upgrading control device according to claim 9, it is characterised in that second setting unit is used to obtaining the
The upgrade file download progress and the total amount of upgrade file of two audio frequency apparatuses;And according to the download progress, upgrade file
Total amount and the first bandwidth set the 3rd bandwidth for distributing to the first audio frequency apparatus and the 4th band for distributing the second audio frequency apparatus
Width, wherein, the 3rd bandwidth and the 4th bandwidth and be the second bandwidth.
11. a kind of terminal, it is characterised in that including memory, processor and store on a memory and can transport on a processor
Capable computer program, realizes the method as described in claim 1-5 is any during the computing device computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710210321.8A CN106982177B (en) | 2017-03-31 | 2017-03-31 | Upgrade control method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710210321.8A CN106982177B (en) | 2017-03-31 | 2017-03-31 | Upgrade control method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106982177A true CN106982177A (en) | 2017-07-25 |
CN106982177B CN106982177B (en) | 2020-01-14 |
Family
ID=59343555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710210321.8A Active CN106982177B (en) | 2017-03-31 | 2017-03-31 | Upgrade control method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106982177B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291799A (en) * | 2020-10-23 | 2021-01-29 | 北京小米移动软件有限公司 | Download network speed determining method and device, user equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100313236A1 (en) * | 2009-06-05 | 2010-12-09 | Time Warner Cable Inc. | Techniques for ungrading software in a video content network |
CN102236563A (en) * | 2010-04-28 | 2011-11-09 | 腾讯科技(深圳)有限公司 | Software upgrading method and system |
CN102800344A (en) * | 2012-07-10 | 2012-11-28 | 清华大学 | Audio wireless play system and audio wireless adaptation apparatus |
CN103067509A (en) * | 2012-12-30 | 2013-04-24 | 乐视网信息技术(北京)股份有限公司 | System and method of modularized software updating |
CN104954286A (en) * | 2015-05-29 | 2015-09-30 | 小米科技有限责任公司 | Bandwidth allocation method and device |
WO2016022360A1 (en) * | 2014-08-05 | 2016-02-11 | NFL Enterprises LLC | Apparatus and methods for personalized video delivery |
CN105511903A (en) * | 2015-11-23 | 2016-04-20 | 广东欧珀移动通信有限公司 | Audio device updating method and apparatus |
CN106331084A (en) * | 2016-08-22 | 2017-01-11 | 深圳Tcl新技术有限公司 | Software background adaptive upgrading method and apparatus |
-
2017
- 2017-03-31 CN CN201710210321.8A patent/CN106982177B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100313236A1 (en) * | 2009-06-05 | 2010-12-09 | Time Warner Cable Inc. | Techniques for ungrading software in a video content network |
CN102236563A (en) * | 2010-04-28 | 2011-11-09 | 腾讯科技(深圳)有限公司 | Software upgrading method and system |
CN102800344A (en) * | 2012-07-10 | 2012-11-28 | 清华大学 | Audio wireless play system and audio wireless adaptation apparatus |
CN103067509A (en) * | 2012-12-30 | 2013-04-24 | 乐视网信息技术(北京)股份有限公司 | System and method of modularized software updating |
WO2016022360A1 (en) * | 2014-08-05 | 2016-02-11 | NFL Enterprises LLC | Apparatus and methods for personalized video delivery |
CN104954286A (en) * | 2015-05-29 | 2015-09-30 | 小米科技有限责任公司 | Bandwidth allocation method and device |
CN105511903A (en) * | 2015-11-23 | 2016-04-20 | 广东欧珀移动通信有限公司 | Audio device updating method and apparatus |
CN106331084A (en) * | 2016-08-22 | 2017-01-11 | 深圳Tcl新技术有限公司 | Software background adaptive upgrading method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112291799A (en) * | 2020-10-23 | 2021-01-29 | 北京小米移动软件有限公司 | Download network speed determining method and device, user equipment and storage medium |
CN112291799B (en) * | 2020-10-23 | 2024-04-09 | 北京小米移动软件有限公司 | Method and device for determining download network speed, user equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106982177B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103473092B (en) | A kind of download the processing method of application, device and terminal unit | |
CN103677899B (en) | The method and apparatus of application program is installed | |
CN103414766A (en) | Method, device and terminal equipment for installing application | |
CN106612250A (en) | Resource utilization authority judgment system and method | |
CN104598262A (en) | Method and device for updating mobile application | |
CN105788612A (en) | Method and device for testing tone quality | |
CN106210755A (en) | A kind of methods, devices and systems playing live video | |
CN104519404A (en) | Graphics interchange format file playing method and device | |
CN103475914A (en) | Video playing method, video playing device, terminal equipment and server | |
CN103631625B (en) | A kind of method of data acquisition, user terminal, server and system | |
CN103945241A (en) | Streaming data statistical method, system and related device | |
CN106254924B (en) | A kind of player method of multi-medium data, system and relevant device | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN106231433A (en) | A kind of methods, devices and systems playing Internet video | |
CN104954159A (en) | Network information statistics method and device | |
CN104135502A (en) | Method of implementing application notification as well as associated equipment and system | |
CN105959482A (en) | Scene sound effect control method and electronic device | |
CN103491240A (en) | Alarm clock sounding method, device and mobile terminal | |
CN103399911A (en) | Access processing method, device and terminal device on basis of browser client | |
CN103699577B (en) | A kind of page display accelerated method, device and mobile terminal | |
CN105550316A (en) | Pushing method and device of audio list | |
CN107577795A (en) | A kind of methods, devices and systems for recommending song | |
CN104539597A (en) | Multimedia data pushing method and device | |
CN106953899A (en) | Multi-medium data sharing method and device | |
CN106682189A (en) | Filename display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |