CN107025120A - Software upgrading processing method, device and terminal - Google Patents
Software upgrading processing method, device and terminal Download PDFInfo
- Publication number
- CN107025120A CN107025120A CN201710209384.1A CN201710209384A CN107025120A CN 107025120 A CN107025120 A CN 107025120A CN 201710209384 A CN201710209384 A CN 201710209384A CN 107025120 A CN107025120 A CN 107025120A
- Authority
- CN
- China
- Prior art keywords
- compatible
- audio
- version number
- software upgrading
- frequency apparatus
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 230000000052 comparative effect Effects 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000000034 method Methods 0.000 claims abstract description 22
- 230000015654 memory Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 6
- 239000007787 solid Substances 0.000 claims description 4
- 230000006854 communication Effects 0.000 abstract description 20
- 238000004891 communication Methods 0.000 abstract description 19
- 230000008569 process Effects 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of software upgrading processing method, device and terminal.The software upgrading processing method is by obtaining the corresponding protocol version of each audio frequency apparatus in the current application version number for playing application, audio frequency apparatus group, the minimum application version number that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware, then, protocol version is compared with current application version number, obtain comparative result, judged whether to apply compatible compatible audio equipment with playing according to the comparative result, if in the presence of the software upgrading processing performed for compatible audio equipment is operated.The program determines whether audio frequency apparatus needs upgrading by terminal, reduces the number of communications between audio frequency apparatus, reduces the logical process difficulty of software upgrading.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of software upgrading processing method, device and terminal.
Background technology
Intelligent sound box is a kind of new intelligent appliance equipment, by connecting in the terminals such as wireless network and smart mobile phone
Play application (APP) set up communication connection so that receive and perform APP transmission various instructions, such as, and play, pause play,
Stop playing music etc..Multiple intelligent sound boxes may make up an audio frequency apparatus group.
At present, in audio frequency apparatus group upgrading control mode, it is typically all to be sentenced by its own that whether intelligent sound box, which upgrades,
It is disconnected, then the information for needing to upgrade is sent to APP to control it to be upgraded.However, it is this upgrading control mode in APP with
Number of passing through is more between intelligent sound box so that the logical process difficulty of end side is larger.
The content of the invention
The embodiment of the present invention provides a kind of software upgrading processing method, device and terminal, can reduce patrolling for software upgrading
Collect intractability.
The embodiment of the present invention provides a kind of software upgrading processing method, including:
Obtain the corresponding protocol version of each audio frequency apparatus in the current application version number for playing application, audio frequency apparatus group
Number, the minimum application version number that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware;
The protocol version is compared with the current application version number, comparative result is obtained;
Judged whether to apply compatible compatible audio equipment with described play according to the comparative result;
If in the presence of the software upgrading processing performed for the compatible audio equipment is operated.
Correspondingly, the embodiments of the invention provide a kind of software upgrading processing unit, including:
Acquisition module, for obtaining each audio frequency apparatus pair in the current application version number for playing application, audio frequency apparatus group
The protocol version answered, the minimum application version that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware
This number;
Comparison module, for the protocol version to be compared with the current application version number, obtains comparing knot
Really;
Judge module, for being judged whether to apply compatible compatible audio with described play according to the comparative result
Equipment;
Performing module, if for existing during compatible audio equipment, performing the software upgrading for the compatible audio equipment
Processing operation.
Correspondingly, the embodiments of the invention provide a kind of terminal, including memory, processor and it is stored in the memory
Computer program that is upper and can running on the processor, is realized during computer program above-mentioned described in the computing device
Software upgrading processing method.
Software upgrading processing method provided in an embodiment of the present invention, the current application version number applied by acquisition broadcasting,
The corresponding protocol version of each audio frequency apparatus in audio frequency apparatus group, the protocol version is simultaneous with audio frequency apparatus sound intermediate frequency firmware
The minimum application version number of the broadcasting application of appearance, then, protocol version is compared with current application version number, compared
Relatively result, judges whether to apply compatible compatible audio equipment with playing, if in the presence of performing pin according to the comparative result
Software upgrading to compatible audio equipment handles operation.The program determines whether audio frequency apparatus needs upgrading by terminal, subtracts
Lack the number of communications between audio frequency apparatus, reduce the logical process difficulty of software upgrading.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of schematic flow sheet of software upgrading processing method provided in an embodiment of the present invention.
Fig. 2 is a kind of structural representation of software upgrading processing system provided in an embodiment of the present invention.
Fig. 3 is a kind of application scenarios schematic diagram of software upgrading processing method provided in an embodiment of the present invention.
Fig. 4 is a kind of structural representation of software upgrading processing unit provided in an embodiment of the present invention.
Fig. 5 is another structural representation of software upgrading processing unit provided in an embodiment of the present invention.
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of software upgrading processing method, device and terminal.It will carry out respectively specifically below
It is bright.
In a preferred embodiment there is provided a kind of software upgrading processing method, as shown in figure 1, flow can be as follows:
101st, obtain and play the current application version number of application, the corresponding agreement version of each audio frequency apparatus in audio frequency apparatus group
This number, the minimum application version number that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware.
Wherein, play application can include it is various can be with the APP of playing audio-fequency data.The broadcasting application may be mounted at intelligence
Can be in the equipment such as terminal, it is possible to be communicatively coupled by wireless network with audio frequency apparatus so that the broadcasting application can be by
Corresponding voice data, which is pushed in audio frequency apparatus, to be played out.
In embodiments of the present invention, audio frequency apparatus group can include a master control audio frequency apparatus (MPP) and multiple subordinates
Audio frequency apparatus (MP), MPP can be used for managing all MP in the audio frequency apparatus group.Terminal can be built by wireless network with the MPP
Vertical communication connection, and the corresponding protocol version of each audio frequency apparatus in audio frequency apparatus group is obtained by the MPP.
And application version number namely software version number.The number format of version number can have a variety of, can be by software developer
Set.Usual version number can be stipulated with numeral, but also have different modes, such as, often there is one behind dbase
A little English and numeral, can understand the type of software by version number.At present, 3 kinds of commonplace name forms of Version Control
Respectively:Version number's name form of GNU styles, version number's name form of Windows styles, NetFramework styles
Version number names form.Such as, a certain audio A PP application version number can be 6.3.1 or 6.3.1Build 101 etc..
In some embodiments, protocol version can be stored in the corresponding data storage of audio frequency apparatus in the form of a file
In area.Such as, firmware version number is 11.3.34 in present video equipment, if application version number is 6.3.1,6.3.4,6.4.2
Playing application can be compatible with the audio firmware.From the coding rule of software version number, version number is that 6.3.1 is minimum answers
Use version number.Then the corresponding protocol version of the audio frequency apparatus is then 6.3.1.
102nd, the protocol version and current application version number are compared, obtain comparative result.
Specifically, the corresponding protocol version of above-mentioned each audio frequency apparatus is compared respectively at current application version number
Compared with.The comparative result can include three kinds, be respectively:Protocol version is equal to higher than current application version number, protocol version
Current application version number and protocol version are less than current application version number.
103rd, judged whether to apply compatible compatible audio equipment with the broadcasting according to comparative result;If so, performing
Step 305, if it is not, terminating flow.
In the embodiment of the present invention, judging whether the mode of compatible audio equipment can have a variety of.Such as, can basis
Protocol version is determined with the height of current application version number.That is, step " is judged whether with being somebody's turn to do according to comparative result
Play the compatible compatible audio equipment of application " it can include:
When comparative result is that protocol version is higher than current application version number, judge compatible audio equipment is not present;
When comparative result is that protocol version is not higher than current application version number, there is compatible audio equipment in judgement.
In practical application, playing application can be with backward compatible, that is, broadcasting application of the application version number higher than 6.3.1 is (such as
6.4.1) also can be compatible for 11.3.34 audio frequency apparatus with firmware version number.And application version number is less than 6.3.1 broadcasting application
Can not be compatible for 11.3.34 audio frequency apparatus with firmware version number if (such as 6.2.1).
104th, the software upgrading processing operation for compatible audio equipment is performed.
Specifically, when it is determined that existing in the audio frequency apparatus group with broadcasting application compatible compatible audio equipment, perform
Software upgrading for the compatible audio equipment handles operation.
Wherein, the mode of software upgrading processing operation can have a variety of.In certain embodiments, in order to save software upgrading
Cost, the audio frequency apparatus for applying current application version most to match with the broadcasting can be chosen from the audio frequency apparatus group, is only held
Software upgrading of the hand-manipulating of needle to the audio frequency apparatus most matched, which is handled, to be operated.That is, step " performs and is directed to compatible audio equipment
Software upgrading processing operation " following flow can be included:
Determine that protocol version is not higher than the audio frequency apparatus of current application version number from audio frequency apparatus group, to obtain compatibility
Audio frequency apparatus group;
Protocol version highest compatible audio equipment is determined from compatible audio equipment group, to be set as optimal audio
It is standby;
Perform the software upgrading processing operation for optimal audio equipment.
Specifically, if only one of which compatible audio equipment in the compatible audio equipment group, can directly it perform for compatibility
The software upgrading processing operation of audio frequency apparatus.
If there are multiple compatible audio equipment in the compatible audio equipment group, selection protocol version highest (namely
Closest to current application version number) compatible audio equipment be used as optimal audio equipment.
Specifically, can be with the most good news if the optimal audio equipment is not that the MPP of communication connection is currently set up with terminal
Frequency equipment sets up communication connection, regard the optimal audio equipment as new MPP.
In specific implementation process, playing the process of application and optimal audio equipment foundation communication connection can be:
APP obtains the first device identification of optimal audio equipment, and sends the first information to current MPP, the first information
Carry first device identification;
Current MPP receives the first information, and the first device identification in the first information determines corresponding target sound
Frequency equipment sends the second message, and second message carries the application identities of the APP;
Application identities of the target audio equipment in second message send connection request, the connection request to APP
Carry the second device identification of the target device;
APP judges whether second device identification is identical with the first device identification obtained;
If identical, APP responds the connection request, and sets up communication connection with the target audio equipment.
In some embodiments, can determine whether current application version number protocol version corresponding with optimal audio equipment is
It is no identical, apply (if identical, can determine that to be completely compatible) whether completely compatible with optimal audio equipment to determine to play.If
It is completely compatible, then it can be operated without the upgrading processing of audio frequency apparatus.
In certain embodiments, the audio frequency apparatus can also be upgraded.That is, performing for the soft of optimal audio equipment
The step of part upgrading processing is operated includes:
When current application version number is more recent application version number, the current solid of optimal audio equipment sound intermediate frequency firmware is obtained
Part version number;
Whether judge current version of firmware number is latest firmware version number;
If it is not, based on newest solid version number's generation upgrade information;
Corresponding upgrade file is obtained according to upgrade information and optimal audio equipment is sent to, so that optimal audio equipment root
Firmware upgrade is carried out according to upgrade file.
Wherein, the broadcasting application latest edition that more recent application version number is issued by software developer in official's software platform
This application version number.The audio firmware that latest firmware version number is then issued in official's software platform by software developer is most
The firmware version number of redaction.
Generally, due to which software developer can issue the redaction for playing application and its correspondence audio firmware simultaneously.Therefore,
When it is more recent application version to play application, audio firmware can be upgraded to latest firmware version, to be reached most preferably with the broadcasting
Matching effect.
Specifically, receive user for the upgrade information upgrading determine operation when, can from server obtain should
The upgrade file of the latest firmware version of audio frequency apparatus, and the upgrade file is sent to the optimal audio equipment, complete it
Upgrading.
In certain embodiments, this method can also include:
When current application version number is not more recent application version number, based on more recent application version number generation upgrade tip letter
Cease and show, can be upgraded with pointing out user to play application.
In practical application, user can select to upgrade or do not upgrade according to the upgrade tip freedom of information.
In certain embodiments, this method can also include:
If in the absence of compatible audio equipment, being determined to play the intended application using needing to be upgraded to according to protocol version
Version, and broadcasting application of upgrading.
Specifically, when the protocol version of all audio frequency apparatuses in audio frequency apparatus foot is all higher than current application version number,
It can determine that in the absence of compatible audio equipment.Now, broadcasting application must jump to upgrading interface and be upgraded so that after upgrading
The application version number of application is played, is not less than the corresponding minimum protocol version number of audio frequency apparatus group sound intermediate frequency equipment, with realization pair
The control management of audio frequency apparatus group.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of software upgrading processing method, working as application is played by obtaining
Each corresponding protocol version of audio frequency apparatus in preceding application version number, audio frequency apparatus group, the protocol version is to be set with audio
The minimum application version number of the compatible broadcasting application of standby sound intermediate frequency firmware, then, by protocol version and current application version number
It is compared, obtains comparative result, is judged whether to apply compatible compatible audio equipment with playing according to the comparative result,
If in the presence of the software upgrading processing performed for compatible audio equipment is operated.The program determines audio frequency apparatus by terminal
Upgrading whether is needed, the number of communications between audio frequency apparatus is reduced, reduces the logical process difficulty of software upgrading.
There is provided a kind of software upgrading processing system in a further preferred embodiment.With reference to Fig. 2, the software upgrading processing system
System includes:Server 21, terminal 22 and audio frequency apparatus group 23.Can between the server 21, terminal 22 and audio frequency apparatus 23
To be connected with each other by network.
Wherein, server 21 is used to provide multi-medium data to be played, and it can be data server, w network services
The network equipments such as device.
Terminal 22 can be the intelligent terminals such as computer, smart mobile phone, tablet personal computer.
Audio frequency apparatus group 23 can include a master control audio frequency apparatus for being controlled by terminal 22, and multiple subordinate audios are set
It is standby.In practical application, the master control audio frequency apparatus, subordinate audio frequency apparatus can have for intelligent sound box, intelligent television, smart mobile phone
The playback equipments such as the intelligent terminal of playing function.
Another software upgrading processing method that there is provided of the present invention will be introduced based on said system below.With reference to Fig. 3, tool
Body flow can be as follows:
301st, the master control audio frequency apparatus in terminal and audio frequency apparatus group sets up communication connection.
In some embodiments, terminal can send connection request, master control sound to master control audio frequency apparatus in a network environment
Frequency equipment is received after the connection request, sends corresponding response message, is communicated to connect with being set up with terminal.
302nd, master control audio frequency apparatus obtains the current version of firmware number and corresponding protocol version of all audio frequency apparatuses,
And it is sent to terminal.
Corresponding voice data can be pushed to the APP of playing audio-fequency data including various by playing application
Played out in audio frequency apparatus.
In the embodiment of the present invention, the audio frequency apparatus group can carry out audio by the broadcasting application installed in the terminal and play control
System.Wherein, the minimum application version number that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware.
In some embodiments, current version of firmware number and corresponding protocol version can be stored in audio frequency apparatus in the form of a file
In corresponding data storage area.
And application version number namely software version number.The number format of version number can have a variety of, can be by software developer
Set.Usual version number can be stipulated with numeral, but also have different modes, such as, often there is one behind dbase
A little English and numeral, can understand the type of software by version number.Such as, a certain audio A PP application version number can be
Or 6.3.1Build 101 etc. 6.3.1.
303rd, terminal obtains the current application version number for playing application, and by the protocol version received and current application
Version number is compared, and obtains comparative result.
Specifically, the corresponding protocol version of above-mentioned each audio frequency apparatus is compared respectively at current application version number
Compared with.The comparative result can include three kinds, be respectively:Protocol version is equal to higher than current application version number, protocol version
Current application version number and protocol version are less than current application version number.
304th, terminal is chosen from audio frequency apparatus group according to comparative result and applies compatible compatible audio equipment with playing, and
Chosen from compatible audio equipment with playing the optimal audio equipment that application is most matched.
In the embodiment of the present invention, judging whether the mode of compatible audio equipment can have a variety of.Such as, can basis
Protocol version is determined with the height of current application version number.When comparative result is that protocol version is higher than current application version
Number when, it is determined that corresponding audio frequency apparatus is not compatible audio equipment.When comparative result is that protocol version is not higher than current application
During version number, it is determined that corresponding audio frequency apparatus is compatible audio equipment.
Specifically, determine that protocol version is not higher than current application version number from audio frequency apparatus group according to comparative result
Audio frequency apparatus, to obtain compatible audio equipment group.Then, determine that protocol version highest is compatible from compatible audio equipment group
Audio frequency apparatus, using as with playing the optimal audio equipment that application is most matched.
305th, terminal and optimal audio equipment, which are set up, communicates to connect, and regard the optimal audio equipment as new master control audio
Equipment.
Specifically, can be with the most good news if the optimal audio equipment is not that the MPP of communication connection is currently set up with terminal
Frequency equipment sets up communication connection, regard the optimal audio equipment as new MPP.
In specific implementation process, playing the process of application and optimal audio equipment foundation communication connection can be:
APP obtains the first device identification of optimal audio equipment, and sends the first information to current MPP, the first information
Carry first device identification;
Current MPP receives the first information, and the first device identification in the first information determines corresponding target sound
Frequency equipment sends the second message, and second message carries the application identities of the APP;
Application identities of the target audio equipment in second message send connection request, the connection request to APP
Carry the second device identification of the target device;
APP judges whether second device identification is identical with the first device identification obtained;
If identical, APP responds the connection request, and sets up communication connection with the target audio equipment.
306th, terminal to server sends version information and obtains request, and the version information, which obtains to ask to carry, plays application
The firmware identifiers of application identities and audio firmware.
307th, server obtains corresponding version information, and sends the version information to terminal, and the version information includes should
With version information and firmware version information.
Specifically, server finds corresponding application version according to the application identities from corresponding data storage area and believed
Breath, and it is sent to terminal.Corresponding firmware version information is found from corresponding data storage area according to the firmware identifiers, and
It is sent to terminal.
308th, terminal determines to play whether application is more recent application version according to the version information, and whether audio firmware is most
New firmware version.
Specifically, application version information may include that application version number is gathered, and terminal is determined most from application version number set
High application version number, and highest application version number is compared with current application version number.If highest application version number is higher than
Current application version number, it is determined that it is not more recent application version to play application, is otherwise more recent application version.
Similarly, firmware version information may include firmware version number set, and terminal is determined most from firmware version number set
High firmware version number, and highest firmware version number and current version of firmware number are compared.If highest firmware version number is higher than
Current version of firmware number, it is determined that audio firmware is not latest firmware version, is otherwise latest firmware version.
309th, it is more recent application version playing application, when audio firmware is not latest firmware version, terminal to server
Send upgrade file and obtain request, acquisition request carries latest firmware version number.
Generally, due to which software developer can issue the redaction for playing application and its correspondence audio firmware simultaneously.Therefore,
When it is more recent application version to play application, audio firmware can be upgraded to latest firmware version, to be reached most preferably with the broadcasting
Matching effect.
310th, server obtains request to the corresponding upgrade file of terminal transmission according to the upgrade file.
Specifically, server obtains upgrade file corresponding with the latest firmware version number, and the upgrade file is sent
To terminal.
311st, the upgrade file received is sent to optimal audio equipment by terminal.
The upgrade file that terminal the reception server is returned, and the upgrade file is given into its foundation by wireless network transmissions
The optimal audio equipment of communication connection.
312nd, optimal audio equipment receives the upgrade file and performs firmware upgrade operation.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of software upgrading processing method, working as application is played by obtaining
Each corresponding protocol version of audio frequency apparatus in preceding application version number, audio frequency apparatus group, the protocol version is to be set with audio
The minimum application version number of the compatible broadcasting application of standby sound intermediate frequency firmware, then, by protocol version and current application version number
It is compared, obtains comparative result, is judged whether to apply compatible compatible audio equipment with playing according to the comparative result,
If in the presence of the software upgrading processing performed for compatible audio equipment is operated.The program determines audio frequency apparatus by terminal
Upgrading whether is needed, the number of communications between audio frequency apparatus is reduced, reduces the logical process difficulty of software upgrading.
In still another embodiment of the process, a kind of software upgrading processing unit is also provided, the software upgrading processing unit can
In the form of software or hardware it is integrated in the terminal, the terminal can specifically include mobile phone, tablet personal computer, notebook computer etc. and set
It is standby.As shown in figure 4, the software upgrading processing unit 400 can include acquisition module 41, comparison module 42, judge module 43 with
And performing module 44, wherein:
Acquisition module 41, for obtaining each audio frequency apparatus in the current application version number for playing application, audio frequency apparatus group
Corresponding protocol version, the minimum application version that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware
This number;
Comparison module 42, for protocol version to be compared with current application version number, obtains comparative result;
Judge module 43, for being judged whether to apply compatible compatible audio equipment with playing according to comparative result;
Performing module 44, if for existing during compatible audio equipment, performing at the software upgrading for compatible audio equipment
Reason operation.
In certain embodiments, judge module 43 is used for:
When comparative result is that protocol version is higher than current application version number, judge compatible audio equipment is not present;
When comparative result is that protocol version is not higher than current application version number, there is compatible audio equipment in judgement.
In certain embodiments, performing module 44 is used for:
Determine that protocol version is not higher than the audio frequency apparatus of current application version number from audio frequency apparatus group, to obtain compatibility
Audio frequency apparatus group;
Protocol version highest compatible audio equipment is determined from compatible audio equipment group, to be set as optimal audio
It is standby;
Perform the software upgrading processing operation for optimal audio equipment.
Fig. 5 is refer to, in some embodiments, the software updating apparatus 400 can also include upgraded module 45;
Upgraded module 45, if available in the absence of compatible audio equipment when, broadcasting application need are determined according to protocol version
The intended application version to be upgraded to, and broadcasting application of upgrading.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of software upgrading processing unit, working as application is played by obtaining
Each corresponding protocol version of audio frequency apparatus in preceding application version number, audio frequency apparatus group, the protocol version is to be set with audio
The minimum application version number of the compatible broadcasting application of standby sound intermediate frequency firmware, then, by protocol version and current application version number
It is compared, obtains comparative result, is judged whether to apply compatible compatible audio equipment with playing according to the comparative result,
If in the presence of the software upgrading processing performed for compatible audio equipment is operated.The program determines audio frequency apparatus by terminal
Upgrading whether is needed, the number of communications between audio frequency apparatus is reduced, reduces the logical process difficulty of software upgrading.
A kind of terminal is also provided in still another embodiment of the process, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, realize any of the above-described software upgrading during the computing device computer program
Processing method.
The terminal can be but be not limited to mobile terminal, and the terminal is retouched in detail by taking mobile terminal as an example below
State.
Such as, refer to Fig. 6, the mobile terminal 500 can include radio frequency (RF, Radio Frequency) circuit 501,
Include the memories 502 of one or more computer-readable recording mediums, input module 503, display module 504, pass
Sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include one or one
The parts such as the processor 508 and power supply 509 of individual above processing core.It will be understood by those skilled in the art that being shown in Fig. 6
Mobile terminal structure do not constitute restriction to mobile terminal, can include than illustrating more or less parts, or group
Close some parts, or different part arrangements.
Radio circuit 501 can be used for receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 508 handled;In addition, being sent up data are related to
To base station.
Memory 502 can be used for storage software program and module.Processor 508 is stored in memory 502 by operation
Software program and module, so as to perform various function application and data processing.Memory 502 can mainly include storage journey
Sequence area and storage data field, wherein, application (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data according to mobile terminal
(such as voice data, phone directory etc.) etc..
Input module 503 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.
Display module 504 can be used for the information that is inputted by user of display or the information for being supplied to user and mobile terminal
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Such as, the display module 504 can when background application receives new information, for the new information the application application icon
The middle corresponding footmark of display.
Mobile terminal may also include at least one sensor 505, such as gravity sensor, motion sensor and other biographies
Sensor.
Voicefrequency circuit 506 can provide the COBBAIF between user and mobile terminal by loudspeaker, microphone.Audio-frequency electric
The voice data received can be converted into electric signal by road 506, be transferred to loudspeaker, and it is defeated to be converted to voice signal by loudspeaker
Go out;On the other hand, the voice signal of collection is converted to electric signal by microphone, by voicefrequency circuit 506 receive after be converted to audio
Data, then after voice data output processor 508 is handled, through radio circuit 501 to be sent to such as another mobile terminal, or
Person exports voice data to memory 502 so as to further processing.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and mobile terminal can be with by wireless fidelity module 507
Help user to send and receive e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.
Processor 508 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 502, and calls and be stored in storage
Data in device 502, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Can
Choosing, processor 508 may include one or more processing cores;It is preferred that, processor 508 can integrated application processor and modulation
Demodulation processor, wherein, application processor mainly handles operating system, user interface and application etc., modem processor master
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 508.
Mobile terminal also includes the power supply 509 (such as battery) powered to all parts.It is preferred that, power supply can pass through electricity
Management system and processor 508 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 509 can also include one or more direct current or AC power, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal can also bag bluetooth module, image it is first-class.
Specifically in the present embodiment, processor 508 in mobile terminal can according to following instruction, by one or one with
On the corresponding executable file of process of application be loaded into memory 502, and run by processor 508 and be stored in storage
Application in device 502, so as to realize various functions:
Obtain the corresponding protocol version of each audio frequency apparatus in the current application version number for playing application, audio frequency apparatus group
Number, the protocol version is the minimum application version number of the broadcasting application compatible with audio frequency apparatus sound intermediate frequency firmware, then, will be assisted
View version number is compared with current application version number, obtains comparative result, judges whether and broadcast according to the comparative result
Put using compatible compatible audio equipment, if in the presence of the software upgrading performed for compatible audio equipment handles operation.
From the foregoing, it will be observed that the embodiments of the invention provide a kind of terminal, the terminal plays the current application of application by obtaining
Each corresponding protocol version of audio frequency apparatus in version number, audio frequency apparatus group, the protocol version be and audio frequency apparatus middle pitch
The minimum application version number of the compatible broadcasting application of frequency firmware, then, protocol version is compared with current application version number
Compared with, obtain comparative result, according to the comparative result judge whether with play apply compatible compatible audio equipment, if depositing
Then performing the software upgrading processing operation for compatible audio equipment.Whether the program determines audio frequency apparatus by terminal
Upgrading is needed, the number of communications between audio frequency apparatus is reduced, reduces the logical process difficulty of software upgrading.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, RandomAccess
Memory), disk or CD etc..
Term " one " and " described " and similar word have been used during idea of the invention is described (especially
In the appended claims), it should be construed to not only cover odd number by these terms but also cover plural number.In addition, unless herein
In be otherwise noted, otherwise herein narration number range when referred to merely by quick method and belong to the every of relevant range
Individual independent value, and each independent value is incorporated into this specification, just as these values have individually carried out statement one herein
Sample.In addition, unless otherwise stated herein or context has clearly opposite prompting, otherwise institute specifically described herein is methodical
Step can be performed by any appropriate order.The step of change of the present invention is not limited to description order.Unless in addition
Advocate, be otherwise all only using any and all example presented herein or exemplary language (for example, " such as ")
It is better described idea of the invention, and not the scope to idea of the invention is any limitation as.Spirit and model are not being departed from
In the case of enclosing, those skilled in the art becomes readily apparent that a variety of modifications and adaptation.
A kind of control method for playing back and device provided above the embodiment of the present invention is described in detail, herein
Application program specific case is set forth to the principle and embodiment of the present invention, and the explanation of above example is only intended to
Help to understand method and its core concept of the invention;Simultaneously for those skilled in the art, according to the thought of the present invention,
It will change in embodiment and range of applications, in summary, this specification content should not be construed as
Limitation of the present invention.
Claims (11)
1. a kind of software upgrading processing method, it is characterised in that including:
Obtain the corresponding protocol version of each audio frequency apparatus, institute in the current application version number for playing application, audio frequency apparatus group
State minimum application version number of the protocol version for the broadcasting application compatible with audio frequency apparatus sound intermediate frequency firmware;
The protocol version is compared with the current application version number, comparative result is obtained;
Judged whether to apply compatible compatible audio equipment with described play according to the comparative result;
If in the presence of the software upgrading processing performed for the compatible audio equipment is operated.
2. software upgrading processing method as claimed in claim 1, it is characterised in that judge whether to deposit according to the comparative result
Include the step of with described play using compatible compatible audio equipment:
When the comparative result is that the protocol version is higher than current application version number, judge the compatible audio is not present
Equipment;
When the comparative result is that the protocol version is not higher than current application version number, there is the compatible audio in judgement
Equipment.
3. software upgrading processing method as claimed in claim 1, it is characterised in that perform for the compatible audio equipment
The step of software upgrading processing operation, includes:
Determine that protocol version is not higher than the audio frequency apparatus of the current application version number from the audio frequency apparatus group, to obtain
Compatible audio equipment group;
Protocol version highest compatible audio equipment is determined from the compatible audio equipment group, to be set as optimal audio
It is standby;
Perform the software upgrading processing operation for the optimal audio equipment.
4. software upgrading processing method as claimed in claim 3, it is characterised in that perform for the optimal audio equipment
The step of software upgrading processing operation, includes:
When current application version number is more recent application version number, the current solid of the optimal audio equipment sound intermediate frequency firmware is obtained
Part version number;
Whether judge the current version of firmware number is latest firmware version number;
If it is not, then based on newest solid version number's generation upgrade information;
Corresponding upgrade file is obtained according to the upgrade information and the optimal audio equipment is sent to, so that the most good news
Frequency equipment carries out firmware upgrade according to the upgrade file.
5. software upgrading processing method as claimed in claim 3, it is characterised in that methods described also includes:
When current application version number is not more recent application version number, based on more recent application version number generation upgrade tip letter
Cease and show, to point out broadcasting application described in user to be upgraded.
6. software upgrading processing method as claimed in claim 1, it is characterised in that methods described also includes:
If in the absence of the compatible audio equipment, determining that described play applies what needs were upgraded to according to the protocol version
Intended application version, and the broadcasting application of upgrading.
7. a kind of software upgrading processing unit, it is characterised in that including:
Acquisition module, it is corresponding for obtaining each audio frequency apparatus in the current application version number for playing application, audio frequency apparatus group
Protocol version, the minimum application version that the protocol version is applied for the broadcasting compatible with audio frequency apparatus sound intermediate frequency firmware
Number;
Comparison module, for the protocol version to be compared with the current application version number, obtains comparative result;
Judge module, for being judged whether to set using compatible compatible audio with described play according to the comparative result
It is standby;
Performing module, if for existing during compatible audio equipment, the software upgrading performed for the compatible audio equipment is handled
Operation.
8. software upgrading processing unit as claimed in claim 7, it is characterised in that the judge module is used for:
When the comparative result is that the protocol version is higher than current application version number, judge the compatible audio is not present
Equipment;
When the comparative result is that the protocol version is not higher than current application version number, there is the compatible audio in judgement
Equipment.
9. software upgrading processing unit as claimed in claim 7, it is characterised in that the performing module is used for:
Determine that protocol version is not higher than the audio frequency apparatus of the current application version number from the audio frequency apparatus group, to obtain
Compatible audio equipment group;
Protocol version highest compatible audio equipment is determined from the compatible audio equipment group, to be set as optimal audio
It is standby;
Perform the software upgrading processing operation for the optimal audio equipment.
10. software upgrading processing unit as claimed in claim 7, it is characterised in that described device also includes:
Upgraded module, if for being not present during the compatible audio equipment, determining that the broadcasting should according to the protocol version
The intended application version being upgraded to needs, and the broadcasting application of upgrading.
11. a kind of terminal, it is characterised in that including memory, processor and be stored on the memory and can be at the place
The computer program run on reason device, is realized such as any one of claim 1-6 described in the computing device during computer program
Described software upgrading processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209384.1A CN107025120B (en) | 2017-03-31 | 2017-03-31 | Software upgrading processing method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209384.1A CN107025120B (en) | 2017-03-31 | 2017-03-31 | Software upgrading processing method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107025120A true CN107025120A (en) | 2017-08-08 |
CN107025120B CN107025120B (en) | 2020-05-12 |
Family
ID=59526670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710209384.1A Expired - Fee Related CN107025120B (en) | 2017-03-31 | 2017-03-31 | Software upgrading processing method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025120B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632836A (en) * | 2017-09-26 | 2018-01-26 | 湖南机友科技有限公司 | Softwarecompatible method and device |
CN107634856A (en) * | 2017-09-18 | 2018-01-26 | 上海斐讯数据通信技术有限公司 | A kind of router firmware upgrade method and system |
CN107864098A (en) * | 2017-10-18 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | The compatibility method and system of a kind of router firmware |
CN108595195A (en) * | 2018-04-09 | 2018-09-28 | 江苏国泰新点软件有限公司 | A kind of application program update method, apparatus, terminal and storage medium |
CN111414188A (en) * | 2020-02-25 | 2020-07-14 | 北京小米移动软件有限公司 | Application version matching method, application version matching device and storage medium |
CN113434233A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Interface skipping method and device, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033758A (en) * | 2009-09-25 | 2011-04-27 | 深圳市福智软件技术有限公司 | Firmware updating method of audio playing device and system using same |
CN105094931A (en) * | 2015-09-09 | 2015-11-25 | 小米科技有限责任公司 | Software upgrading method and device |
CN105389183A (en) * | 2015-11-04 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and apparatus for making application version and intelligent sound box software version correspond |
-
2017
- 2017-03-31 CN CN201710209384.1A patent/CN107025120B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033758A (en) * | 2009-09-25 | 2011-04-27 | 深圳市福智软件技术有限公司 | Firmware updating method of audio playing device and system using same |
CN105094931A (en) * | 2015-09-09 | 2015-11-25 | 小米科技有限责任公司 | Software upgrading method and device |
CN105389183A (en) * | 2015-11-04 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and apparatus for making application version and intelligent sound box software version correspond |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107634856A (en) * | 2017-09-18 | 2018-01-26 | 上海斐讯数据通信技术有限公司 | A kind of router firmware upgrade method and system |
CN107634856B (en) * | 2017-09-18 | 2020-12-22 | 金华市智甄通信设备有限公司 | Router firmware upgrading method and system |
CN107632836A (en) * | 2017-09-26 | 2018-01-26 | 湖南机友科技有限公司 | Softwarecompatible method and device |
CN107864098A (en) * | 2017-10-18 | 2018-03-30 | 上海斐讯数据通信技术有限公司 | The compatibility method and system of a kind of router firmware |
CN108595195A (en) * | 2018-04-09 | 2018-09-28 | 江苏国泰新点软件有限公司 | A kind of application program update method, apparatus, terminal and storage medium |
CN111414188A (en) * | 2020-02-25 | 2020-07-14 | 北京小米移动软件有限公司 | Application version matching method, application version matching device and storage medium |
CN113434233A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Interface skipping method and device, storage medium and electronic device |
CN113434233B (en) * | 2021-06-28 | 2023-10-24 | 青岛海尔科技有限公司 | Interface jump method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107025120B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107025120A (en) | Software upgrading processing method, device and terminal | |
CN108880867B (en) | Network equipment data acquisition method and system | |
CN108924805B (en) | Bluetooth connection method, medium, first electronic device, second electronic device and computing device | |
CN102138134B (en) | Intelligent power-enabled communications port | |
CN108696849A (en) | Data transmission method, device, storage medium and electronic equipment | |
CN108900945A (en) | Bluetooth headset box and audio recognition method, server and storage medium | |
CN107889092A (en) | Bluetooth devices control method, device, terminal device and storage medium | |
CN107770759A (en) | Method for building up, device, storage medium and the mobile terminal of blue tooth voice link | |
CN103096306A (en) | Audio playing method and system | |
CN103731733B (en) | A kind of version upgrading method and electronic equipment | |
US11785092B2 (en) | Multimedia resource playing method, apparatus, terminal, and system | |
CN107634962A (en) | The management method and Related product of network bandwidth | |
CN112230877A (en) | Voice operation method and device, storage medium and electronic equipment | |
CN106997302A (en) | Firmware upgrade method, device and audio-frequence player device | |
CN106060223B (en) | Terminal control method and device | |
CN108347719A (en) | Connection method of Bluetooth device, device, storage medium, mobile terminal and server | |
CN106990986B (en) | Software upgrading control method and device and audio playing equipment | |
CN107018192B (en) | Upgrade method, device and the audio-frequence player device of audio frequency broadcast system | |
CN103401989A (en) | Method, device and terminal for displaying contact information | |
CN103297434A (en) | Method for processing data, user sides, server and system | |
CN110944318B (en) | Lock card setting method and device, storage medium and terminal | |
CN105721672B (en) | A kind of the double screen mutual control method and its system of smart phone and former Main Engine | |
CN107483993A (en) | Pronunciation inputting method, TV and the computer-readable recording medium of TV | |
CN101808160A (en) | File processing method applied on mobile terminal and mobile terminal | |
CN111262737A (en) | Port configuration management method and device, storage medium and terminal |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200512 |