CN107015830B - Method and device for upgrading audio playing system and audio playing equipment - Google Patents

Method and device for upgrading audio playing system and audio playing equipment Download PDF

Info

Publication number
CN107015830B
CN107015830B CN201710210352.3A CN201710210352A CN107015830B CN 107015830 B CN107015830 B CN 107015830B CN 201710210352 A CN201710210352 A CN 201710210352A CN 107015830 B CN107015830 B CN 107015830B
Authority
CN
China
Prior art keywords
version
audio playing
playing device
upgrading
information
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.)
Expired - Fee Related
Application number
CN201710210352.3A
Other languages
Chinese (zh)
Other versions
CN107015830A (en
Inventor
彭学锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710210352.3A priority Critical patent/CN107015830B/en
Publication of CN107015830A publication Critical patent/CN107015830A/en
Application granted granted Critical
Publication of CN107015830B publication Critical patent/CN107015830B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The embodiment of the invention discloses a method and a device for an audio playing system and audio playing equipment, wherein the method comprises the steps of acquiring second version information of second audio playing equipment when the second audio playing equipment is detected to be added into the audio playing system; when the second version information is not matched with the first version information of the first audio playing device, setting a uniform version according to the second version information and the first version information; updating the first audio playing device and the second audio playing device to a uniform version; and when an upgrade trigger instruction is detected, upgrading the second audio playing device and the first audio playing device from the unified version to the upgraded version. The scheme adopts the scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.

Description

Method and device for upgrading audio playing system and audio playing equipment
Technical Field
The invention relates to the technical field of communication, in particular to an upgrading method and device of an audio playing system and audio playing equipment.
Background
The intelligent audio playing device is a novel intelligent household appliance, and comprises an intelligent sound box, an intelligent television and the like. The music playing system integrates a processor and a network interface, and can directly acquire music resources from the network to play through streaming media music accessing the Internet. Meanwhile, the intelligent audio playing device can be connected with electronic devices such as a smart phone and a tablet personal computer and works under the control of control applications in the electronic devices.
The intelligent audio playing system comprises at least two intelligent audio playing devices, wherein one is a master audio playing device, and the other is a slave audio playing device. When the control application in the electronic device controls the audio playing device in the intelligent audio playing system to perform the upgrade operation, the master audio playing device needs to acquire the version information of each slave audio playing device to judge whether the slave audio playing device needs to perform the upgrade operation, so that the upgrade efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides an upgrading method and device of an audio playing system and audio playing equipment, which can improve the upgrading efficiency of the audio playing system.
The embodiment of the invention provides an upgrading method of an audio playing system, which comprises the following steps:
when detecting that the second audio playing device is added into the audio playing system, acquiring second version information of the second audio playing device;
when the second version information is not matched with the first version information of the first audio playing device, setting a uniform version according to the second version information and the first version information;
updating the first audio playing device and the second audio playing device to a uniform version;
and when an upgrade trigger instruction is detected, upgrading the second audio playing device and the first audio playing device from the unified version to the upgraded version.
An embodiment of the present invention further provides an upgrading apparatus for an audio playing system, including:
the first obtaining module is used for obtaining second version information of the second audio playing device when the second audio playing device is detected to be added into the audio playing system;
the unified module is used for setting a unified version according to the second version information and the first version information when the second version information is not matched with the first version information of the first audio playing device;
the updating module is used for updating the first audio playing device and the second audio playing device to a uniform version;
and the first upgrading module is used for upgrading the second audio playing device and the first audio playing device from the unified version to the upgraded version when the upgrading triggering instruction is detected.
An embodiment of the present invention further provides an audio playing device, including:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program code stored in the memory to perform some or all of the steps described in any of the methods of embodiments of the invention.
The preferred embodiment adopts the scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an upgrading method of an audio playing system according to a preferred embodiment of the present invention.
Fig. 2 is a schematic flowchart of an upgrading method of an audio playing system according to a preferred embodiment of the present invention.
Fig. 3a is a schematic view of a scenario of an upgrading method of an audio playing system according to a preferred embodiment of the present invention.
Fig. 3b is a schematic view of another scenario of an upgrading method of an audio playing system according to a preferred embodiment of the present invention.
Fig. 4 is another flowchart illustrating an upgrading method of an audio playing system according to a preferred embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an upgrading apparatus of an audio playing system according to a preferred embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an audio playing device according to a preferred embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first", "second", "third" and "fourth", etc. in the present invention are used for distinguishing different objects, not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The execution main body of the upgrading method of the audio playing system provided by the embodiment of the invention can be an upgrading device of the audio playing system provided by the embodiment of the invention or a system integrating the upgrading device of the audio playing system. The audio playing device described in the embodiment of the present invention may be a smart speaker, a smart television, and the like, and the above devices are only examples, but not exhaustive, and include but are not limited to the above devices.
The embodiment of the invention provides an upgrading method and device of an audio playing system and audio playing equipment. The details will be described below separately.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an upgrading method of an audio playing system according to an embodiment of the present invention. The following describes each step of the upgrade method of the audio playing system in detail.
S101, when the fact that the second audio playing device is added into the audio playing system is detected, second version information of the second audio playing device is obtained.
The audio playing system is a system comprising at least one first audio playing device, wherein the audio playing device can be an intelligent sound box, an intelligent television and the like. According to different functions, the plurality of first audio playing devices can be divided into a master audio playing device and a slave audio playing device, and the master audio playing device is used for managing an audio playing system, such as version synchronization, version upgrade, and the like.
The version information includes version number, update time, update times and other information. When the second audio playing device is detected to be added into the audio playing system, first obtaining second version information corresponding to the second audio playing device, then obtaining first version information corresponding to the first audio playing device, then comparing the second version information with the first version information, and if the second version information is matched with the first version information, ending the operation; if not, the process proceeds to step S102.
S102, when the second version information is not matched with the first version information of the first audio playing device, setting a uniform version according to the second version information and the first version information.
Assuming that the first version corresponding to the first version information is V1.0 and the second version corresponding to the second version information is V2.0, since the first version and the second version are different, it can be considered that the second version information is not matched with the first version information.
If the second version information does not match the first version information, the uniform version may be set according to the level of the first version and the second version. The development of system versions is a process of continuously improving old functions and adding new functions. Thus, in some embodiments, a higher version may be selected from the first version and the second version to be set to the unified version. In some embodiments, the first version may also be directly set as the uniform version, which may speed up the uniformity of the versions.
S103, updating the first audio playing device and the second audio playing device to a unified version.
Specifically, an installation package corresponding to the unified version may be obtained, and the installation package is installed on the first audio playing device and the second audio playing device to update to the unified version. Preferably, only an audio playing device which is not a unified version needs to be selected from the first audio playing device or the second audio playing device to install the installation package.
For example, if the first version is set as the unified version, only the installation package needs to be installed on the second audio playing device; if the second version is set to the unified version, only the installation package needs to be installed on the first audio playing device.
And S104, when the upgrading triggering instruction is detected, upgrading the second audio playing device and the first audio playing device from the unified version to the upgraded version.
After the step of updating the versions of the first audio playing device and the second audio playing device, the first audio playing device and the second audio playing device have the same version, so that if an upgrade triggering instruction for upgrading the audio playing system is detected, the first audio playing device and the second audio playing device are directly upgraded without detecting whether each audio playing device needs to be upgraded one by one, and the upgrading efficiency is improved.
The method for upgrading the audio playing system according to the preferred embodiment adopts a scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an upgrading method of an audio playing system according to an embodiment of the present invention. The following describes each step of the upgrade method of the audio playing system in detail.
S201, when it is detected that the second audio playing device joins the audio playing system, second version information of the second audio playing device is obtained.
The audio playing system is a system comprising at least one first audio playing device, wherein the audio playing device can be an intelligent sound box, an intelligent television and the like. According to different functions, the plurality of first audio playing devices can be divided into a master audio playing device and a slave audio playing device, and the master audio playing device is used for managing an audio playing system, such as version synchronization, version upgrade, and the like.
The version information includes version number, update time, update times and other information. When the second audio playing device is detected to be added into the audio playing system, first obtaining second version information corresponding to the second audio playing device, then obtaining first version information corresponding to the first audio playing device, then comparing the second version information with the first version information, and if the second version information is matched with the first version information, ending the operation; if not, the process proceeds to step S202.
S202, when the second version information is not matched with the first version information of the first audio playing device, a first version corresponding to the first version information and a second version corresponding to the second version information are obtained.
Assuming that the first version corresponding to the first version information is V1.0 and the second version corresponding to the second version information is V2.0, since the first version and the second version are different, it can be considered that the second version information is not matched with the first version information.
And when the second version information is not matched with the first version information, acquiring a first version corresponding to the first version information and a second version corresponding to the second version information, and selecting one from the first version and the second version to be set as a uniform version, namely, performing version unification on the first audio playing device and the second audio playing device.
S203, when the second version is higher than the first version, setting the second version as a uniform version; and when the second version is lower than the first version, setting the first version as a uniform version.
The development of system versions is a process of continuously improving old functions and adding new functions. Thus, in some embodiments, a higher version may be selected from the first version and the second version to be set to the unified version. The method comprises the following specific steps:
(a) and when the second version is higher than the first version, setting the second version as a uniform version.
(b) And when the second version is lower than the first version, setting the first version as a uniform version.
Since the audio playing system often includes a plurality of first audio playing devices, in some embodiments, in order to accelerate the speed of version unification, a first version corresponding to the first version information may also be directly obtained, and the first version is set as a unified version.
S204, when the unified version is the first version, updating the second audio playing device to the first version; and when the unified version is the second version, updating the first audio playing device to the second version.
If the first version is set as the unified version in step S203, a first installation package corresponding to the first version is obtained first, and then the first installation package is installed after the existing installation file on the second audio playing device is deleted, so that the second audio playing device is updated to the first version.
If the second version is set to be the unified version in step S203, a second installation package corresponding to the second version is obtained first, and then the second installation package is installed after the existing installation file on the first audio playing device is deleted, so that the first audio playing device is updated to the second version.
S205, when an upgrade trigger instruction is detected, an upgrade package corresponding to the upgrade version is obtained; and installing an upgrade package in the first audio playing device and the second audio playing device so as to upgrade to an upgraded version.
For example, if an upgrade trigger instruction is detected, an upgrade version carried in the upgrade instruction is acquired first, and then an upgrade package corresponding to the upgrade version is acquired. Then, the existing installation files of the first audio playing device and the second audio playing device are deleted, and then the upgrade package is installed on the audio playing devices, so that the upgrade is realized.
It should be noted that, if an upgrade trigger instruction is detected during the unified version operation, the unified version operation is continuously completed and then the upgrade operation is performed, so that upgrade failure caused by conflict between the unified version operation and the upgrade operation is avoided, and the upgrade efficiency is improved.
As shown in fig. 3a, when a second audio playing device applies to join the audio playing system, a first audio playing device in the audio playing system first obtains a version number of the second audio playing device as 3.0, and then compares the version number with a version number of 4.0 of the first audio playing device to obtain that the version numbers are not equal. Therefore, an installation package with the version number of 4.0 is further obtained, and the installation package with the version number of 4.0 is installed on the second audio playing device, so that the version numbers of the second audio playing device and the first audio playing device are consistent.
As shown in fig. 3b, after the first audio playing device receives an upgrade instruction sent by the terminal to upgrade the audio playing device in the audio playing system to the 5.0 version, the upgrade version number 5.0 is compared with the current version number 4.0 of the audio playing device, and the two are found to be different, so that the first audio playing device and the second audio playing device are upgraded to the 5.0 version.
The method for upgrading the audio playing system according to the preferred embodiment adopts a scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.
Referring to fig. 4, fig. 4 is another schematic flow chart of an upgrading method of an audio playing system according to an embodiment of the present invention.
S301, when it is detected that the second audio playing device joins the audio playing system, second version information of the second audio playing device is obtained.
The audio playing system is a system comprising at least one first audio playing device, wherein the audio playing device can be an intelligent sound box, an intelligent television and the like. According to different functions, the plurality of first audio playing devices can be divided into a master audio playing device and a slave audio playing device, and the master audio playing device is used for managing an audio playing system, such as version synchronization, version upgrade, and the like.
The version information includes version number, update time, update times and other information. When the second audio playing device is detected to be added into the audio playing system, first second version information corresponding to the second audio playing device is obtained, and then the audio playing system is upgraded based on the second version information.
S302, when an upgrade trigger instruction is detected, first version information of a first audio playing device is acquired.
Before unifying the version information, if an upgrade trigger instruction is detected, the first version information of the first audio playing device can be further acquired, and information is extracted from the first version information and the second version information for upgrading.
S303, the upgrade version, the first version corresponding to the first version information and the second version corresponding to the second version information are obtained.
Specifically, the first version is extracted from the first version information, the second version is extracted from the second version information, and then the upgrade version is acquired. And determining how to upgrade according to the second version information, the relationship between the upgraded versions and the relationship between the first version and the upgraded version.
S304, upgrading the second audio playing device and the first audio playing device to the upgraded version based on the upgraded version, the first version and the second version.
The mode of upgrading the audio playing system may be determined by judging whether both the second version and the first version are matched with the upgraded version, specifically as follows:
(A) when the second version is matched with the upgrading version and the first version is not matched with the upgrading version, upgrading the first audio playing device to the upgrading version;
(B) when the first version is matched with the upgrading version and the second upgrading version is not matched with the upgrading version, upgrading the second audio playing device to the upgrading version;
(C) and upgrading the first audio playing device and the second audio playing device to the upgraded version when the first upgraded version, the second upgraded version and the upgraded version are not matched.
The second version and the first version are compared with the upgraded version respectively, and whether the upgrade is carried out or not is determined according to the comparison result. The scheme does not need to compare the version information of each audio playing device in the audio playing system with the upgrading version information, thereby improving the upgrading efficiency.
In the method for upgrading an audio playing system according to the preferred embodiment, after the addition of the second audio playing device is detected, if the audio playing system needs to be upgraded before the version information of the second audio playing device and the version information of the first audio playing device are unified, the upgrading is determined according to the version information of the second audio playing device, the version information of the first audio playing device and the upgrading version information, so that the step of unifying the versions is omitted, and the upgrading efficiency is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an upgrading device of an audio playing system according to an embodiment of the present invention. The upgrading apparatus 400 of the audio playing system includes a first obtaining module 401, a unifying module 402, an updating module 403, and a first upgrading module 404, which are described in detail as follows:
a first obtaining module 401, configured to obtain second version information of a second audio playing device when it is detected that the second audio playing device joins the audio playing system; a unifying module 402, configured to set a unified version according to the second version information and the first version information when the second version information does not match the first version information of the first audio playing device; an updating module 403, configured to update the first audio playing device and the second audio playing device to a unified version; the first upgrade module 404 is configured to upgrade, when the upgrade trigger instruction is detected, the second audio playing device and the first audio playing device from the unified version to the upgraded version.
The audio playing system is a system comprising at least one first audio playing device, wherein the audio playing device can be an intelligent sound box, an intelligent television and the like. According to different functions, the plurality of first audio playing devices can be divided into a master audio playing device and a slave audio playing device, and the master audio playing device is used for managing an audio playing system, such as version synchronization, version upgrade, and the like.
The version information includes version number, update time, update times and other information. When the first obtaining module 401 detects that the second audio playing device joins the audio playing system, first obtain second version information corresponding to the second audio playing device, then obtain first version information corresponding to the first audio playing device, and then compare the second version information with the first version information.
In some embodiments, the unified module 402 includes a first obtaining sub-module 4021 and a setting sub-module 4022, which are described in detail as follows:
the first obtaining sub-module 4021 is configured to obtain a first version corresponding to the first version information; a setting sub-module 4022, configured to set the first version as the unified version.
In some embodiments, the unified module 402 includes a second obtaining sub-module 4023, a first setting sub-module 4024, and a second setting sub-module 4025, which are described as follows:
a second obtaining sub-module 4023, configured to obtain a first version corresponding to the first version information and a second version corresponding to the second version information; the first setting sub-module 4024 is configured to set the second version as a uniform version when the second version is higher than the first version; the second setting sub-module 4025 is configured to set the first version as the unified version when the second version is lower than the first version.
Wherein the version information includes a version number. Assuming that the first version corresponding to the first version information is V1.0 and the second version corresponding to the second version information is V2.0, since the first version and the second version are different, it can be considered that the second version information is not matched with the first version information.
When the second version information does not match the first version information, the second obtaining sub-module 4023 obtains the first version corresponding to the first version information and the second version corresponding to the second version information, and selects one of the first version and the second version to be set as a unified version, that is, the versions of the first audio playing device and the second audio playing device are unified.
In some embodiments, the update module 403 includes a first update submodule 4031 and a second update submodule 4032, which are described in detail as follows:
the first updating sub-module 4031 is configured to update the second audio playing device to the first version when the unified version is the first version; and a second updating sub-module 4032, configured to update the first audio playing device to the second version when the unified version is the second version.
If the first version is set to be the unified version by the first setting sub-module 4024, the first updating sub-module 4031 first obtains a first installation package corresponding to the first version, and then installs the first installation package after deleting the existing installation on the second audio playing device, so that the second audio playing device is updated to the first version.
If the first setting sub-module 4024 sets the second version as the unified version, the second updating sub-module 4032 first obtains the second installation package corresponding to the second version, and then installs the second installation package after deleting the existing installation on the first audio playing device, so that the first audio playing device is updated to the second version.
In some embodiments, first upgrade module 404 includes an acquisition sub-module 4041 and an upgrade sub-module 4042, which are described in detail as follows:
the obtaining sub-module 4041 is used for obtaining an upgrade package corresponding to the upgrade version; the upgrade submodule 4042 is configured to install an upgrade package in the first audio playback device and the second audio playback device, so as to upgrade to an upgraded version.
In some embodiments, the upgrade apparatus 400 of the audio playing system further includes a second obtaining module 405, a obtaining module 406, and a second upgrade module 407, which are described in detail as follows:
a second obtaining module 405, configured to obtain first version information of the first audio playing device when the upgrade trigger instruction is detected; an obtaining module 406, configured to obtain the upgrade version, the first version corresponding to the first version information, and the second version corresponding to the second version information; the second upgrade module 407 is configured to upgrade the second audio playing device and the first audio playing device to the upgraded version based on the upgraded version, the first version, and the second version.
In some embodiments, the second upgrade module 407 includes a first upgrade sub-module 4071, a second upgrade sub-module 4072, and a third upgrade sub-module 4073, which are described in detail as follows:
the first upgrading sub-module 4071, configured to upgrade the first audio playing device to the upgraded version when the second version matches the upgraded version and the first version does not match the upgraded version; the second upgrade submodule 4072 is configured to upgrade the second audio playing apparatus to the upgraded version when the first version matches the upgraded version and the second upgraded version does not match the upgraded version; and the third upgrade sub-module 4073 is configured to upgrade the first audio playing device and the second audio playing device to the upgraded version when the first upgraded version, the second upgraded version, and the upgraded version are not matched.
The upgrade apparatus of the audio playing system of the preferred embodiment adopts a scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an audio playing device according to a preferred embodiment of the invention. The audio playback device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, audio circuitry 503, a Wireless Fidelity (WiFi) module 504, and a processor 505 including one or more processing cores. Those skilled in the art will appreciate that the audio playback device configuration shown in fig. 6 is not intended to be limiting of the audio playback device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The rf circuit 501 may be used for transmitting and receiving information, such as downlink information of a base station, and then the downlink information is processed by one or more processors 505. The radio frequency circuit 501 may also communicate with a network and other devices, such as servers, terminal devices, etc., via wireless communication.
The memory 502 may be used to store software programs and modules. The processor 508 executes various functional applications and data processing by executing software programs and modules stored in the memory 502. The memory 502 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The audio circuit 503 may provide an audio interface between the user and the audio playback device through a speaker, microphone. The audio circuit 503 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 503 and converted into audio data, and the audio data is output to the processor 505 for processing and then transmitted through the radio frequency circuit 501.
Wireless fidelity (WiFi) belongs to short-range wireless transmission technology, and an audio playing device can browse a web page and access streaming media through the wireless fidelity module 504, or establish a communication connection with other devices.
The processor 505 is a control center of the audio playing device, connects various parts of the whole audio playing device by using various interfaces and lines, and executes various functions of the audio playing device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring on the audio playing device.
Although not shown, the audio playing device may further include a power supply, a bluetooth module, and the like, which are not described herein.
Specifically, in this embodiment, the processor 505 acquires the second version information of the second audio playing device when detecting that the second audio playing device joins the audio playing system; when the second version information is not matched with the first version information of the first audio playing device, setting a uniform version according to the second version information and the first version information; updating the first audio playing device and the second audio playing device to a uniform version; and when an upgrade trigger instruction is detected, upgrading the second audio playing device and the first audio playing device from the unified version to the upgraded version.
Further, the processor 505 further obtains a first version corresponding to the first version information; the first version is set to a unified version.
Further, the processor 505 further obtains a first version corresponding to the first version information and a second version corresponding to the second version information; when the second version is higher than the first version, setting the second version as a uniform version; and when the second version is lower than the first version, setting the first version as a uniform version.
Further, when the unified version is the first version, the processor 505 updates the second audio playing device to the first version; and when the unified version is the second version, updating the first audio playing device to the second version.
Further, the processor 505 further obtains an upgrade package corresponding to the upgrade version; and installing an upgrade package in the first audio playing device and the second audio playing device so as to upgrade to an upgraded version.
Further, the processor 505 further obtains first version information of the first audio playing device when detecting the upgrade triggering instruction; acquiring an upgrade version, a first version corresponding to the first version information and a second version corresponding to the second version information; and upgrading the second audio playing device and the first audio playing device to the upgraded version based on the upgraded version, the first version and the second version.
Further, the processor 505 upgrades the first audio playing device to the upgraded version when the second version is matched with the upgraded version and the first version is not matched with the upgraded version; when the first version is matched with the upgrading version and the second upgrading version is not matched with the upgrading version, upgrading the second audio playing device to the upgrading version; and upgrading the first audio playing device and the second audio playing device to the upgraded version when the first upgraded version, the second upgraded version and the upgraded version are not matched.
The audio playing device of the preferred embodiment adopts a scheme of unifying the versions of the first audio playing device and the second audio playing device when the second audio playing device is detected to be added, so that the audio playing device can be directly upgraded during upgrading, and the upgrading efficiency is improved.
The method, the apparatus and the audio playing device for upgrading an audio playing system according to the embodiments of the present invention are described in detail above, and each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An upgrade method for an audio playing system, the audio playing system including at least one first audio playing device, the method comprising:
when detecting that a second audio playing device joins the audio playing system, acquiring second version information of the second audio playing device;
acquiring first version information of the first audio playing device;
when the version number in the second version information is different from the version number in the first version information, it is determined that the second version information is not matched with the first version information of the first audio playing device, and a unified version is set according to the second version information and the first version information, including: acquiring a first version corresponding to the first version information and a second version corresponding to the second version information; when the second version is higher than the first version, setting the second version as a uniform version; when the second version is lower than the first version, setting the first version as a uniform version;
updating the first audio playing device and the second audio playing device to the unified version;
when an upgrade trigger instruction is detected, judging whether the unified version operation is finished or not;
if not, continuing to execute the unified version operation;
if yes, an upgrade version carried by the upgrade trigger instruction is obtained, an upgrade package corresponding to the upgrade version is obtained, existing installation files of the second audio playing device and the first audio playing device are deleted, and the upgrade package is installed on the first audio playing device and the second audio playing device.
2. The method for upgrading the audio playing system according to claim 1, wherein the updating the first audio playing device and the second audio playing device to the unified version includes:
when the unified version is the first version, updating the second audio playing device to the first version;
and when the unified version is the second version, updating the first audio playing device to the second version.
3. The method for upgrading the audio playing system according to claim 1, wherein the obtaining the second version information of the second audio playing device further includes:
when an upgrade trigger instruction is detected, acquiring first version information of the first audio playing device;
acquiring an upgrade version, a first version corresponding to the first version information and a second version corresponding to the second version information;
and upgrading the second audio playing device and the first audio playing device to an upgraded version based on the upgraded version, the first version and the second version.
4. The method for upgrading the audio playing system according to claim 3, wherein the upgrading the second audio playing device and the first audio playing device to an upgraded version based on the upgraded version, the first version, and the second version comprises:
when the second version is matched with the upgrading version and the first version is not matched with the upgrading version, upgrading the first audio playing device to the upgrading version;
when the first version is matched with the upgrading version and the second version is not matched with the upgrading version, upgrading the second audio playing device to the upgrading version;
and upgrading the first audio playing device and the second audio playing device to the upgraded version when the first version, the second version and the upgraded version are not matched.
5. An upgrade apparatus for an audio playback system, the audio playback system including at least one first audio playback device, comprising:
the first obtaining module is used for obtaining second version information of second audio playing equipment and obtaining first version information of first audio playing equipment when the fact that the second audio playing equipment is added into the audio playing system is detected;
a unifying module, configured to determine that the second version information is not matched with the first version information of the first audio playing device when the version number in the second version information is different from the version number in the first version information, and set a unified version according to the second version information and the first version information;
the updating module is used for updating the first audio playing device and the second audio playing device to the unified version;
the first upgrading module is used for judging whether the unified version operation is finished or not when an upgrading trigger instruction is detected; if not, continuing to execute the unified version operation; if so, acquiring an upgrade version carried by the upgrade trigger instruction, acquiring an upgrade package corresponding to the upgrade version, deleting the existing installation files of the second audio playing device and the first audio playing device, and installing the upgrade package on the first audio playing device and the second audio playing device;
the unifying module includes:
the second obtaining submodule is used for obtaining a first version corresponding to the first version information and a second version corresponding to the second version information;
the first setting submodule is used for setting the second version as a uniform version when the second version is higher than the first version;
and the second setting submodule is used for setting the first version as a uniform version when the second version is lower than the first version.
6. The upgrading apparatus for audio playing system according to claim 5, wherein the updating module comprises:
the first updating submodule is used for updating the second audio playing device to the first version when the unified version is the first version;
and the second updating submodule is used for updating the first audio playing device to the second version when the unified version is the second version.
7. The apparatus for upgrading an audio playback system according to claim 5, further comprising:
the second obtaining module is used for obtaining the first version information of the first audio playing device when an upgrading triggering instruction is detected;
the acquisition module is used for acquiring the upgrade version, the first version corresponding to the first version information and the second version corresponding to the second version information;
and the second upgrading module is used for upgrading the second audio playing device and the first audio playing device to an upgraded version based on the upgraded version, the first version and the second version.
8. The upgrading apparatus for audio playing system according to claim 7, wherein the second upgrading module comprises:
the first upgrading sub-module is used for upgrading the first audio playing device to the upgraded version when the second version is matched with the upgraded version and the first version is not matched with the upgraded version;
the second upgrading sub-module is used for upgrading the second audio playing device to the upgraded version when the first version is matched with the upgraded version and the second version is not matched with the upgraded version;
and the third upgrading submodule is used for upgrading the first audio playing device and the second audio playing device to the upgraded version when the first version, the second version and the upgraded version are not matched.
9. An audio playback device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the method of any of claims 1-4.
10. A storage medium storing a plurality of instructions for loading by a processor and performing the method of any of claims 1 to 4.
CN201710210352.3A 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and audio playing equipment Expired - Fee Related CN107015830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210352.3A CN107015830B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and audio playing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210352.3A CN107015830B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and audio playing equipment

Publications (2)

Publication Number Publication Date
CN107015830A CN107015830A (en) 2017-08-04
CN107015830B true CN107015830B (en) 2021-04-02

Family

ID=59446335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210352.3A Expired - Fee Related CN107015830B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and audio playing equipment

Country Status (1)

Country Link
CN (1) CN107015830B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764812B (en) * 2019-10-18 2023-04-07 东莞市小精灵教育软件有限公司 Intelligent device, intelligent wearable device and software upgrading system and method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101040552B (en) * 2005-04-18 2010-12-01 捷讯研究有限公司 Method and system for controlling software version updates
US20140297774A1 (en) * 2013-03-29 2014-10-02 Bala Sridhar Munupalle System for managing configuration updates in cluster of computational devices
US10127536B2 (en) * 2013-11-11 2018-11-13 Microsoft Technology Licensing, Llc Unified content representation
CN104461504B (en) * 2014-11-06 2019-05-14 深圳市金立通信设备有限公司 A kind of management method of end application
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN105163333B (en) * 2015-06-18 2018-07-06 广东欧珀移动通信有限公司 A kind of data processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Version Control for Metadata in unified database console;Yuan Wang ET AL;《 2012 6th International Conference on New Trends in Information Science, Service Science and Data Mining (ISSDM2012)》;20130613;全文 *
广东邮政储蓄统一版本工程的实施与建设;喻军;《邮政研究》;20040731;第20卷(第4期);全文 *

Also Published As

Publication number Publication date
CN107015830A (en) 2017-08-04

Similar Documents

Publication Publication Date Title
CN110659046B (en) Firmware upgrading method, terminal, charging box, earphone and storage medium
JP5710680B2 (en) System and method for reducing factory program time for wireless devices
CN103646656B (en) Sound effect treatment method, device, plugin manager and audio plug-in unit
CN107038046B (en) Method and device for upgrading audio playing system and terminal
CN109508198B (en) Application program installation method and device, storage medium and terminal
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
CN107025120B (en) Software upgrading processing method and device and terminal
CN105677335A (en) Method and device for increasing first starting speed of mobile terminal
CN104965730B (en) A kind of version upgrading method and system
CN106970816B (en) Software upgrading processing method and device and audio playing equipment
CN105528229A (en) Method and device for improving first starting speed of mobile terminal
CN108347719B (en) Bluetooth device connection method, device, storage medium, mobile terminal and server
CN107025121B (en) Software upgrading method and device and electronic device
CN104079970A (en) System and method of data interaction and control of mobile equipment and WIFI (Wireless Fidelity) smart television
KR20150005164A (en) FOTA system and the method
US9465599B2 (en) Method, device and system for installing terminal software
CN105337822A (en) Main playback device selection method and related device
CN113168332B (en) Data processing method and device and mobile terminal
CN105430448A (en) Control processing method for video player and video player client
CN114937452A (en) Service calling method and system, calling device, target device and readable storage medium
CN107015830B (en) Method and device for upgrading audio playing system and audio playing equipment
CN106990986B (en) Software upgrading control method and device and audio playing equipment
CN104199682A (en) Information processing method and electronic equipment
CN106293814B (en) Upgrading method and device
KR20180050001A (en) Firmware upgrade system and method for IoT

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

Granted publication date: 20210402