CN107038046B - Method and device for upgrading audio playing system and terminal - Google Patents

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

Info

Publication number
CN107038046B
CN107038046B CN201710208200.XA CN201710208200A CN107038046B CN 107038046 B CN107038046 B CN 107038046B CN 201710208200 A CN201710208200 A CN 201710208200A CN 107038046 B CN107038046 B CN 107038046B
Authority
CN
China
Prior art keywords
audio playing
application program
version
firmware
playing equipment
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
CN201710208200.XA
Other languages
Chinese (zh)
Other versions
CN107038046A (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 CN201710208200.XA priority Critical patent/CN107038046B/en
Publication of CN107038046A publication Critical patent/CN107038046A/en
Application granted granted Critical
Publication of CN107038046B publication Critical patent/CN107038046B/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 invention discloses an upgrading method and device of an audio playing system and a terminal. The method for upgrading the audio playing system comprises the following steps: when the application program is detected to be upgraded, downloading the firmware of the audio playing device matched with the version of the application program, when the upgraded application program is connected with the audio playing device, obtaining the version information of the audio playing device, and when the version information of the application program is not matched with the version information of the audio playing device, sending the firmware of the audio playing device to the audio playing device so as to update the firmware of the audio playing device. When the application program is connected with the audio playing equipment, if the version of the audio playing equipment is detected to be matched with the version of the application program, the audio playing equipment can normally work, and if the version of the audio playing equipment is not matched with the version of the application program, the audio playing equipment firmware downloaded in advance can be sent to the audio playing equipment, so that the audio playing equipment is updated to the matched version in a shorter time.

Description

Method and device for upgrading audio playing system and terminal
Technical Field
The present invention relates to the field of communications technologies, in particular, to the field of multimedia technologies, and in particular, to a method, an apparatus, and a terminal for upgrading an audio playing system.
Background
With the development of communication technology, audio playing systems including audio playing devices such as mobile terminals, smart speakers, smart televisions, etc. are becoming more and more popular. The audio playing equipment such as the intelligent sound box, the intelligent television and the like can generally directly access the Internet and can directly obtain audio resources and upgrade files from the network. The audio playing device can be generally interconnected with the mobile terminal, and after a special application program is installed on the mobile terminal, the audio playing device can be accessed and controlled through the application program. Because the versions of the application program and the audio playing device in the mobile terminal are updated irregularly, the audio playing device may not play normally after the version of the application program is updated, or the audio playing device may not be controlled by the application program after the version of the audio playing device is updated.
Therefore, the version update of the mobile terminal application and the audio playing device and the matching situation between the two software versions become the focus of the industry.
Disclosure of Invention
The embodiment of the invention provides an upgrading method, a device and a terminal of an audio playing system, which can enable audio playing equipment in the audio playing system to finish version updating in a shorter time.
The embodiment of the invention provides an upgrading method of an audio playing system, which comprises the following steps:
when the upgrade of the application program is detected, downloading the firmware of the audio playing equipment matched with the version of the application program;
when the upgraded application program is connected with an audio playing device, acquiring version information of the audio playing device;
matching the version information of the application program with the version information of the audio playing equipment;
and when the version information of the application program is not matched with the version information of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to update the firmware of the audio playing equipment.
An embodiment of the present invention further provides an upgrading apparatus for an audio playing system, where the apparatus includes:
the downloading module is used for downloading the firmware of the audio playing equipment matched with the version of the application program when the upgrading of the application program is detected;
the acquisition module is used for acquiring the version information of the audio playing equipment when the upgraded application program is connected with the audio playing equipment;
the matching module is used for matching the version information of the application program with the version information of the audio playing equipment;
and the processing module is used for sending the firmware of the audio playing equipment to update the firmware of the audio playing equipment when the version information of the application program is not matched with the version information of the audio playing equipment.
The embodiment of the present invention further provides a terminal, which includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, wherein the processor invokes the computer program stored in the memory to execute the method for upgrading an audio playing system according to any embodiment of the present invention.
The method and the device for updating the firmware of the audio playing device have the advantages that the firmware of the audio playing device matched with the version of the application program is downloaded when the application program is detected to be upgraded, the version information of the audio playing device is acquired when the upgraded application program is connected with the audio playing device, and the firmware of the audio playing device is sent to the audio playing device to update the firmware of the audio playing device when the version information of the application program is not matched with the version information of the audio playing device. When the application program is connected with the audio playing equipment, if the version of the audio playing equipment is detected to be matched with the version of the application program, the audio playing equipment can immediately and normally work, and if the version of the audio playing equipment is not matched with the version of the application program, the audio playing equipment firmware downloaded in advance can be sent to the audio playing equipment, so that the audio playing equipment is updated to the matched version in a shorter time, and the waiting time for updating the audio playing equipment firmware is effectively reduced.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a schematic flowchart of an upgrading method for an audio playing system according to an embodiment of the present invention.
Fig. 2 is another schematic flow chart of an upgrading method of an audio playing system according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of a method for upgrading an audio playing system according to an embodiment of the present invention.
Fig. 4 is a schematic application scenario diagram of an upgrading method for an audio playing system according to an embodiment of the present invention.
Fig. 5 is a schematic view of another application scenario of an upgrading method for an audio playing system according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an upgrading apparatus of an audio playing system according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. 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 "comprising" and "having," as well as any variations thereof, in the present invention 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 terminal (such as a notebook, a palm computer, a tablet computer, a smart phone, an intelligent wearable device, a vehicle-mounted intelligent device and the like) integrated with the upgrading device of the audio playing system, and the upgrading device of the audio playing system can be realized in a hardware or software mode.
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 method comprises the following steps:
step S101, when detecting the upgrade of the application program, downloading the firmware of the audio playing device matched with the version of the application program.
It is understood that the method described in the present embodiment can be applied to an audio playing system. Preferably, the audio playing system may include a source device and a plurality of audio playing devices. The plurality of audio playing devices may include a master device and at least one slave device. The source device may be configured to provide audio data and an upgrade file to a plurality of audio playing devices, for example, the source device may be a web server. The plurality of audio playing devices may establish a connection through a wired transmission manner or a wireless transmission manner, so as to form a private network environment, such as a local area network environment. The Wireless transmission mode may be infrared, bluetooth, WiFi (Wireless local area network), hotspot network, etc. The private network environment may be connected to one or more routers and, in turn, to the internet via the routers, such that one or more audio devices within the private network environment may directly access the internet or source device to obtain audio resources.
The plurality of audio playing devices may include a master device and at least one slave device. Generally, a main control device in the audio playing device may be installed with an application APP for controlling the audio playing system, and the audio playing device in the system may be managed through the application APP, including setting and adjusting each audio playing device, creating a playlist, obtaining audio resources, controlling a playing state, and the like.
The master control device can be a notebook, a palm computer, a tablet personal computer, a smart phone and the like, and the slave device can be a smart phone, a smart sound box, a smart television and the like.
It can be understood that, in the embodiment of the present invention, a dedicated APP is installed on the mobile terminal, and may be interconnected with an audio playing device in the audio playing system through the APP. When the mobile terminal detects the APP upgrading, the mobile terminal accesses the network server or the application platform through the Internet, downloads the upgrading file corresponding to the APP for upgrading, records the upgraded APP version information, and downloads the audio playing device firmware which is issued by the network server or the application platform and is matched with the APP version. The audio playing device firmware may be all versions of audio playing device firmware matched with the version of the APP, or may be the latest version of audio playing device firmware matched with the version of the APP.
Step S102, when the upgraded application program is connected with an audio playing device, acquiring the version information of the audio playing device.
It can be understood that, when the upgraded application program is started and the audio playing device is connected through the application program, the version information corresponding to the audio playing device which establishes communication connection with the application program is acquired. For example, there are multiple audio playing devices in the audio playing system, which are respectively the mobile terminal 1, the audio playing device a, the audio playing device B, the audio playing device C, the audio playing device D, and the audio playing device E, and when an application program in the mobile terminal 1 is connected to the audio playing device a and the audio playing device B, version information of the audio playing device a and version information of the audio playing device B are respectively obtained.
Step S103, matching the version information of the application program with the version information of the audio playing equipment; if not, executing step S104; if so, go to step S105.
It can be understood that the version information may include information such as a version name and a version number, the version number of the application program may be compared with the version number of the audio playing device, and when the version numbers of the application program and the version number of the audio playing device are not consistent, it is determined that the version information of the application program is not matched with the version information of the audio playing device, step S104 is executed; and if the version information of the application program is determined to be matched with the version information of the audio playing device, executing step S105.
Step S104, sending the audio playing device firmware to the audio playing device to update the firmware of the audio playing device.
It can be understood that, when the version information of the application program does not match the version information of the audio playing device, the audio playing device firmware downloaded through the mobile terminal is sent to the audio playing device, so that the audio playing device performs firmware update.
It will be appreciated that the firmware is typically stored in an electrically erasable Read Only Memory (ROM) or Flash chip in the device, a program that is typically upgradeable by the user through a specific refresh program. The firmware is generally the software that works on the most basic and bottom layer of a product. For independently operable electronic products, firmware generally refers to its operating system; for non-standalone electronic products, firmware generally refers to the lowest level of program code that the device can run. Since the player in the audio playing device generally stores the firmware in Flash, the firmware update actually overwrites Flash with a new firmware program.
And step S105, controlling the audio playing device to work through the application program.
It can be understood that when the version information of the application program matches with the version information of the audio playing device, the audio playing device is controlled to perform normal operations, such as playing music, through the application program.
In some embodiments, the obtaining version information of an audio playing device when the upgraded application program is connected to the audio playing device includes:
and when the upgraded application program is connected with the audio playing equipment for the first time, acquiring the version information of the audio playing equipment.
In some embodiments, the sending the firmware of the audio playing device to update the firmware of the audio playing device when the version information of the application program does not match the version information of the audio playing device includes:
when the version of the application program is higher than that of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to upgrade the firmware of the audio playing equipment; or
And when the version of the application program is lower than that of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to degrade the firmware of the audio playing equipment.
In some embodiments, when the version of the application program is lower than the version of the audio playing device, the method further includes:
detecting whether the version of the application program is compatible with the version of the audio playing device;
and if not, sending the firmware of the audio playing equipment to the audio playing equipment so as to degrade the firmware of the audio playing equipment.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Referring to fig. 2, fig. 2 is another schematic flow chart illustrating an upgrading method of an audio playing system according to an embodiment of the present invention. The method comprises the following steps:
step S201, when detecting the upgrade of the application program, downloading the firmware of the audio playing device matched with the version of the application program.
For example, a dedicated APP is installed on the mobile terminal, and may be interconnected with an audio playing device in an audio playing system through the APP. When the mobile terminal detects the APP upgrading, the mobile terminal accesses the network server or the application platform through the Internet, downloads the upgrading file corresponding to the APP for upgrading, records the upgraded APP version information, and downloads the audio playing device firmware which is issued by the network server or the application platform and is matched with the APP version. The audio playing device firmware may be all versions of audio playing device firmware matched with the version of the APP, or may be the latest version of audio playing device firmware matched with the version of the APP.
Step S202, when the upgraded application program is connected to the audio playing device for the first time, the version information of the audio playing device is obtained.
It can be understood that when the upgraded APP is started and the audio playing device is connected to the APP for the first time, the version information corresponding to the audio playing device in communication connection with the APP is acquired. For example, there are multiple audio playback devices in the audio playback system, which are respectively the mobile terminal 1, the audio playback device a, the audio playback device B, the audio playback device C, the audio playback device D, and the audio playback device E, when the APP in the mobile terminal 1 is connected to the audio playback device a for the first time, and the audio playback device C is connected to the audio playback device D for the second time, only the version information of the audio playback device a that is connected for the first time is obtained, so as to reduce the number of times of information exchange between the APP and each audio playback device in the audio playback system.
Step S203, matching the version information of the application program with the version information of the audio playing equipment; if not, go to step S204; if so, go to step S205.
It can be understood that the version information may include information such as a version name and a version number, the version number of the application program may be compared with the version number of the audio playing device, and when the version numbers of the application program and the version number of the audio playing device are not consistent, it is determined that the version information of the application program is not matched with the version information of the audio playing device, step S204 is executed; when the version numbers of the application program and the audio playing device are consistent, and the version information of the application program is determined to be matched with the version information of the audio playing device, step S205 is executed.
Step S204, sending the audio playing device firmware to the audio playing device to update the firmware of the audio playing device.
It can be understood that, when the version information of the application program does not match with the version information of the audio playing device, the firmware of the audio playing device, which has been downloaded through the mobile terminal, is sent to the audio playing device, so that the audio playing device performs firmware update.
Preferably, the step S204 can be implemented by executing the step S2041 and the step S2042, specifically:
step S2041, when the version of the application program is higher than the version of the audio playing device, sending the firmware of the audio playing device to upgrade the firmware of the audio playing device.
It can be understood that, when the version of the application program is higher than the version of the audio playing device, which indicates that the version of the audio playing device needs to be upgraded to the version matched with the application program, the firmware of the audio playing device downloaded through the mobile terminal is sent to the audio playing device, so that the audio playing device performs firmware upgrade.
Step S2042, when the version of the application program is lower than the version of the audio playing device, sending the firmware of the audio playing device to perform firmware degradation on the audio playing device.
It can be understood that, when the version of the application program is lower than the version of the audio playing device, which indicates that the version of the audio playing device needs to be downgraded to a version matching the application program, the audio playing device firmware downloaded through the mobile terminal is sent to the audio playing device, so that the audio playing device performs firmware downgrading.
And step S205, controlling the audio playing device to work through the application program.
It can be understood that when the version information of the application program matches with the version information of the audio playing device, the audio playing device is controlled to perform normal operations, such as playing music, through the application program.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an upgrading method of an audio playing system according to an embodiment of the present invention. The method comprises the following steps:
step S301, when detecting the upgrade of the application program, downloading the firmware of the audio playing device matched with the version of the application program.
For example, a dedicated APP is installed on the mobile terminal, and may be interconnected with an audio playing device in an audio playing system through the APP. When the mobile terminal detects the APP upgrading, the mobile terminal accesses the network server or the application platform through the Internet, downloads the upgrading file corresponding to the APP for upgrading, records the upgraded APP version information, and downloads the audio playing device firmware which is issued by the network server or the application platform and is matched with the APP version. The audio playing device firmware may be all versions of audio playing device firmware matched with the version of the APP, or may be the latest version of audio playing device firmware matched with the version of the APP.
Step S302, when the upgraded application program is connected to the audio playing device for the first time, obtaining the version information of the audio playing device.
It can be understood that when the upgraded APP is started and the intelligent audio playing device is connected for the first time through the APP, the version information corresponding to the audio playing device which establishes communication connection with the APP is acquired. For example, there are multiple audio playback devices in the audio playback system, which are respectively the mobile terminal 1, the audio playback device a, the audio playback device B, the audio playback device C, the audio playback device D, and the audio playback device E, when the APP in the mobile terminal 1 is connected to the audio playback device a for the first time, and the audio playback device C is connected to the audio playback device D for the second time, only the version information of the audio playback device a that is connected for the first time is obtained, so as to reduce the number of times of information exchange between the APP and each audio playback device in the audio playback system.
Step S303, matching the version information of the application program with the version information of the audio playing equipment; if not, go to step S304; if so, go to step S306.
It can be understood that the version information may include information such as a version name and a version number, the version number of the application program may be compared with the version number of the audio playing device, and when the version numbers of the application program and the version number of the audio playing device are not consistent, it is determined that the version information of the application program is not matched with the version information of the audio playing device, step S304 is executed; when the version numbers of the application program and the audio playing device are consistent, and the version information of the application program is determined to be matched with the version information of the audio playing device, step S306 is executed.
Step S304, when the version of the application program is lower than the version of the audio playing device, detecting whether the version of the application program is compatible with the version of the audio playing device; if not, go to step S305; if yes, go to step S306.
It can be understood that, when the version of the application program is lower than the version of the audio playing device, the application program may be capable of normally operating the audio playing device, or there may be a case that the application program cannot be operated, it is necessary to detect whether the version of the application program is compatible with the version of the audio playing device, so as to determine whether the audio playing device needs to perform firmware update.
Step S305, sending the firmware of the audio playing device to perform firmware degradation on the audio playing device.
It can be understood that, when the version of the application program is not compatible with the version of the audio playing device, which indicates that the application program cannot normally operate the audio playing device, the audio playing device firmware is sent to the audio playing device to perform firmware degradation on the audio playing device, so as to recover to the audio playing device version matched with the application program.
And step S306, controlling the audio playing device to work through the application program.
It can be understood that, when the version of the application program is compatible with the version of the audio playing device, it indicates that the application program can normally operate the audio playing device, and the audio playing device is directly controlled to operate through the application program without updating the firmware of the audio playing device.
For a clearer understanding of the embodiment of the present invention, please refer to fig. 4, and fig. 4 is an application scenario diagram of an upgrading method of an audio playing system according to the embodiment of the present invention.
Taking a mobile phone and an intelligent sound box as an example, when the mobile phone detects that the APP is upgraded, downloading sound box firmware matched with the APP version from an application platform; when the upgraded APP in the mobile phone is connected with the sound box A for the first time, the mobile phone acquires version information of the sound box A; the mobile phone matches the version information of the APP with the version information of the sound box A; when the version information of the APP is not matched with the version information of the sound box A, the mobile phone sends the downloaded sound box firmware to the sound box A; the loudspeaker A updates firmware, such as firmware upgrade, according to the loudspeaker firmware; after the sound box A is upgraded successfully, returning a message of successful update to the mobile phone; after receiving the message that the firmware of the sound box is updated successfully, the mobile phone controls the sound box A to work through the APP, for example, playing audio.
Referring to fig. 5, fig. 5 is a schematic view of another application scenario of an upgrading method of an audio playing system according to an embodiment of the present invention.
Taking a mobile phone and an intelligent telephone as examples, when the mobile phone detects the APP upgrade, downloading television firmware matched with the APP version from an application platform; when the upgraded APP in the mobile phone is connected with the television B for the first time, the mobile phone acquires version information of the television B; the mobile phone matches the version information of the APP with the version information of the television B; when the version information of the APP is not matched with the version information of the television B, the mobile phone sends the downloaded television firmware to the television B; the television B updates the firmware, such as firmware upgrading, according to the television firmware; the television B returns a message of successful update to the mobile phone after successful update; after receiving the message that the television firmware is successfully updated, the mobile phone controls the television B to work through the APP, such as playing audio.
The method and the device for updating the firmware of the audio playing device have the advantages that the firmware of the audio playing device matched with the version of the application program is downloaded when the application program is detected to be upgraded, the version information of the audio playing device is acquired when the upgraded application program is connected with the audio playing device, and the firmware of the audio playing device is sent to the audio playing device to update the firmware of the audio playing device when the version information of the application program is not matched with the version information of the audio playing device. When the application program is connected with the audio playing equipment, if the version of the audio playing equipment is detected to be matched with the version of the application program, the audio playing equipment can immediately and normally work, and if the version of the audio playing equipment is not matched with the version of the application program, the audio playing equipment firmware downloaded in advance can be sent to the audio playing equipment, so that the audio playing equipment is updated to the matched version in a shorter time, and the waiting time for updating the audio playing equipment firmware is effectively reduced.
An upgrade apparatus for an audio playing system is further provided in an embodiment of the present invention, as shown in fig. 6, fig. 6 is a schematic structural diagram of the upgrade apparatus for an audio playing system provided in an embodiment of the present invention. The upgrading apparatus 40 of the audio playing system includes a downloading module 41, an obtaining module 42, a matching module 43, a processing module 44, and a control module 45.
The downloading module 41 is configured to, when detecting an application upgrade, download the audio playback device firmware that matches the application version.
For example, a dedicated APP is installed on the mobile terminal, and may be interconnected with an audio playing device in an audio playing system through the APP. When the mobile terminal detects the APP update, the download module 41 accesses the network server or the application platform through the internet to download the update file corresponding to the APP for update, records the version information of the updated APP, and downloads the audio playing device firmware issued by the network server or the application platform and matched with the version of the APP. The audio playing device firmware may be all versions of audio playing device firmware matched with the version of the APP, or may be the latest version of audio playing device firmware matched with the version of the APP.
The obtaining module 42 is configured to obtain version information of the audio playing device when the upgraded application program is connected to the audio playing device.
It can be understood that, when the upgraded application program is started and the audio playing device is connected through the application program, the obtaining module 42 obtains the version information corresponding to the audio playing device that establishes a communication connection with the application program. For example, there are multiple audio playing devices in the audio playing system, which are respectively the mobile terminal 1, the audio playing device a, the audio playing device B, the audio playing device C, the audio playing device D, and the audio playing device E, and when an application program in the mobile terminal 1 connects the audio playing device a and the audio playing device B, the obtaining module 42 obtains version information of the audio playing device a and the audio playing device B, respectively.
Preferably, the obtaining module 42 is further configured to obtain version information of the audio playing device when the upgraded application program is connected to the audio playing device for the first time.
It can be understood that, when the upgraded APP is started and the intelligent audio playing device is connected for the first time through the APP, the obtaining module 42 obtains the version information corresponding to the audio playing device that establishes communication connection with the APP. For example, there are multiple audio playing devices in the audio playing system, which are respectively the mobile terminal 1, the audio playing device a, the audio playing device B, the audio playing device C, the audio playing device D, and the audio playing device E, when the APP in the mobile terminal 1 is connected to the audio playing device a for the first time, and the audio playing device C and the audio playing device D are connected for the second time, the obtaining module 42 only obtains the version information of the audio playing device a that is connected for the first time, so as to reduce the number of times of information exchange between the APP and each audio playing device in the audio playing system.
The matching module 43 is configured to match the version information of the application program with the version information of the audio playing device.
It can be understood that the version information may include information such as a version name and a version number, and the matching module 43 may compare the version number of the application program with the version number of the audio playing device, and when the version numbers of the application program and the version number of the audio playing device are not consistent, determine that the version information of the application program is not matched with the version information of the audio playing device; and when the version numbers of the application program and the audio playing equipment are consistent, determining that the version information of the application program is matched with the version information of the audio playing equipment.
The processing module 44 is configured to send the audio playing apparatus firmware to the audio playing apparatus to update the firmware of the audio playing apparatus when the version information of the application program does not match the version information of the audio playing apparatus.
The processing module 44 further includes an upgrade submodule 441, a detection submodule 442, and a downgrade submodule 443.
The upgrade submodule 441 is configured to, when the version of the application program is higher than the version of the audio playing device, send the audio playing device firmware to the audio playing device to upgrade the firmware of the audio playing device.
The downgrade sub-module 443 is configured to send the audio playing device firmware to the audio playing device to downgrade the firmware of the audio playing device when the version of the application program is lower than the version of the audio playing device.
In some embodiments, the detection sub-module 442 is configured to detect whether the version of the application program is compatible with the version of the audio playing device when the version of the application program is lower than the version of the audio playing device.
It can be understood that, when the version of the application program is lower than the version of the audio playing device, the application program may be able to operate the audio playing device normally, and there may also be a case that the application program cannot be operated, and the detection sub-module 442 is required to detect whether the version of the application program is compatible with the version of the audio playing device, so as to determine whether the audio playing device needs to perform a firmware update.
The downgrading sub-module 443 is further configured to send the audio playback device firmware to the audio playback device to downgrade the firmware of the audio playback device when the version of the application program is incompatible with the version of the audio playback device.
The control module 45 is configured to control the audio playing device to operate through the application program when the version information of the application program matches the version information of the audio playing device.
It is understood that, when the version information of the application program matches with the version information of the audio playing device, the control module 45 controls the audio playing device to perform normal operation, such as playing music, through the application program.
An embodiment of the present invention further provides a terminal, as shown in fig. 7, and fig. 7 is a schematic structural diagram of the terminal provided in the embodiment of the present invention. The terminal 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 505, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, power supply 509, and bluetooth module 510. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for transmitting and receiving information, or receiving and transmitting signals during a call.
The memory 502 may be used to store applications and data. The memory 502 stores applications including computer programs.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors.
The audio circuit 506 may provide an audio interface between the user and the terminal through a speaker, microphone.
Wireless fidelity (WiFi) module 507 may be used for short-range wireless transmission, may assist a user in browsing websites, accessing streaming media, downloading related data packets, etc., and provides wireless broadband internet access for the user.
The processor 508 is a control center of the terminal, links various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the terminal.
The terminal also includes a power supply 509 (such as a battery) for powering the various components.
Bluetooth module 510 may be used to establish a connection with other audio devices to form a private network environment, such as a lan environment.
Although not shown in fig. 7, the terminal may further include a camera or the like, which is not described in detail herein.
Specifically, in this embodiment, the processor 508 in the terminal loads a computer program corresponding to one or more processes of an application program into the memory 502 according to the following instructions, and the processor 508 runs the application program stored in the memory 502 to execute the following operations:
when the upgrade of the application program is detected, downloading the firmware of the audio playing equipment matched with the version of the application program;
when the upgraded application program is connected with an audio playing device, acquiring version information of the audio playing device;
matching the version information of the application program with the version information of the audio playing equipment;
and when the version information of the application program is not matched with the version information of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to update the firmware of the audio playing equipment.
In some embodiments, the processor 508 is configured to obtain version information of the audio playing device when the upgraded application program is connected to the audio playing device, and includes:
and when the upgraded application program is connected with the audio playing equipment for the first time, acquiring the version information of the audio playing equipment.
In some embodiments, the processor 508 is configured to send the firmware of the audio playing device to update the firmware of the audio playing device when the version information of the application program does not match the version information of the audio playing device, and includes:
when the version of the application program is higher than that of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to upgrade the firmware of the audio playing equipment; or
And when the version of the application program is lower than that of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to degrade the firmware of the audio playing equipment.
In some embodiments, the processor 508 is configured to, when the version of the application program is lower than the version of the audio playback device, further include:
detecting whether the version of the application program is compatible with the version of the audio playing device;
and if not, sending the firmware of the audio playing equipment to the audio playing equipment so as to degrade the firmware of the audio playing equipment.
In some embodiments, the processor 508 is for the method further comprising:
and when the version information of the application program is matched with the version information of the audio playing equipment, controlling the audio playing equipment to work through the application program.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiment of the present invention, the upgrade apparatus of the audio playing system and the upgrade method of the audio playing system in the above embodiments belong to the same concept, and any method provided in the upgrade method embodiment of the audio playing system may be run on the upgrade apparatus of the audio playing system, and a specific implementation process thereof is described in detail in the upgrade method embodiment of the audio playing system, and is not described herein again.
It should be noted that, for the method for upgrading an audio playing system according to the present invention, it can be understood by a person skilled in the art that all or part of the process for implementing the method for upgrading an audio playing system according to the embodiment of the present invention can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and the process of executing the process may include the process according to the embodiment of the method for upgrading an audio playing system. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the upgrading device of the audio playing system in the embodiment of the present invention, 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 integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method, the device and the terminal for upgrading the audio playing system provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for upgrading an audio playing system, the method comprising:
when the upgrade of the application program is detected, downloading the firmware of the audio playing equipment matched with the version of the application program;
when the upgraded application program is connected with an audio playing device, acquiring version information of the audio playing device;
matching the version information of the application program with the version information of the audio playing equipment;
when the version information of the application program is not matched with the version information of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to update the firmware of the audio playing equipment;
the sending the firmware of the audio playing device to update the firmware of the audio playing device specifically includes:
when the version of the application program is lower than the version of the audio playing device, detecting whether the version of the application program is compatible with the version of the audio playing device;
if not, sending the firmware of the audio playing equipment to degrade the firmware of the audio playing equipment, and receiving a degradation success message sent by the audio playing equipment and then controlling the audio playing equipment to work;
and if so, controlling the audio playing equipment to work through the application program.
2. The method for upgrading an audio playing system according to claim 1, wherein the obtaining version information of an audio playing device when the upgraded application program is connected to the audio playing device includes:
and when the upgraded application program is connected with the audio playing equipment for the first time, acquiring the version information of the audio playing equipment.
3. The method for upgrading the audio playing system according to claim 1 or 2, wherein when the version information of the application program does not match the version information of the audio playing device, sending the firmware of the audio playing device to update the firmware of the audio playing device includes:
and when the version of the application program is higher than that of the audio playing equipment, sending the firmware of the audio playing equipment to the audio playing equipment so as to upgrade the firmware of the audio playing equipment.
4. The method for upgrading an audio playback system according to claim 3, further comprising:
and when the version information of the application program is matched with the version information of the audio playing equipment, controlling the audio playing equipment to work through the application program.
5. An apparatus for upgrading an audio playback system, the apparatus comprising:
the downloading module is used for downloading the firmware of the audio playing equipment matched with the version of the application program when the upgrading of the application program is detected;
the acquisition module is used for acquiring the version information of the audio playing equipment when the upgraded application program is connected with the audio playing equipment;
the matching module is used for matching the version information of the application program with the version information of the audio playing equipment;
the processing module is used for sending the firmware of the audio playing equipment to update the firmware of the audio playing equipment when the version information of the application program is not matched with the version information of the audio playing equipment;
the processing module further comprises a detection submodule and a degradation submodule, wherein the detection submodule is used for detecting whether the version of the application program is compatible with the version of the audio playing device when the version of the application program is lower than the version of the audio playing device;
the degradation submodule is used for sending the firmware of the audio playing equipment to degrade the firmware of the audio playing equipment if the version of the application program is incompatible with the version of the audio playing equipment, and controlling the audio playing equipment to work after receiving a degradation success message sent by the audio playing equipment;
and if the version of the application program is compatible with the version of the audio playing equipment, controlling the audio playing equipment to work through the application program.
6. The apparatus for upgrading an audio playing system according to claim 5, wherein the obtaining module is further configured to:
and when the upgraded application program is connected with the audio playing equipment for the first time, acquiring the version information of the audio playing equipment.
7. The upgrading apparatus for audio playing system according to claim 5 or 6, wherein the processing module further comprises:
and the upgrading submodule is used for sending the firmware of the audio playing equipment to upgrade the firmware of the audio playing equipment when the version of the application program is higher than that of the audio playing equipment.
8. The apparatus for upgrading an audio playback system according to claim 7, further comprising:
and the control module is used for controlling the audio playing equipment to work through the application program when the version information of the application program is matched with the version information of the audio playing equipment.
9. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor calls the computer program stored in the memory to execute the method for upgrading the audio playback system according to any one of claims 1 to 4.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method according to any one of claims 1-4.
CN201710208200.XA 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and terminal Expired - Fee Related CN107038046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710208200.XA CN107038046B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710208200.XA CN107038046B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and terminal

Publications (2)

Publication Number Publication Date
CN107038046A CN107038046A (en) 2017-08-11
CN107038046B true CN107038046B (en) 2021-02-02

Family

ID=59533871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710208200.XA Expired - Fee Related CN107038046B (en) 2017-03-31 2017-03-31 Method and device for upgrading audio playing system and terminal

Country Status (1)

Country Link
CN (1) CN107038046B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864098A (en) * 2017-10-18 2018-03-30 上海斐讯数据通信技术有限公司 The compatibility method and system of a kind of router firmware
CN108667908B (en) * 2018-04-13 2021-04-06 广州虎牙信息科技有限公司 Information feedback method, device, equipment and storage medium during client interaction
CN109582372B (en) * 2018-11-12 2022-01-28 海信视像科技股份有限公司 System starting method and device
CN110058896A (en) * 2019-03-12 2019-07-26 视联动力信息技术股份有限公司 A kind of application program launching method and device
CN112114837B (en) * 2019-06-19 2023-07-21 杭州海康威视数字技术股份有限公司 Firmware updating method and camera
CN113419763B (en) * 2021-07-16 2024-03-29 南京炫佳网络科技有限公司 Data processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN105389183A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for making application version and intelligent sound box software version correspond
CN106028142A (en) * 2016-05-25 2016-10-12 广东欧珀移动通信有限公司 Upgrading control method and upgrading control apparatus for playing devices
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
US8806471B2 (en) * 2010-09-28 2014-08-12 Red Hat, Inc. Upgrade and downgrade in package update operations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN105389183A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for making application version and intelligent sound box software version correspond
CN106028142A (en) * 2016-05-25 2016-10-12 广东欧珀移动通信有限公司 Upgrading control method and upgrading control apparatus for playing devices
CN106325929A (en) * 2016-08-22 2017-01-11 合肥华凌股份有限公司 Firmware upgrading method, firmware upgrading device, refrigerator and server side

Also Published As

Publication number Publication date
CN107038046A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107038046B (en) Method and device for upgrading audio playing system and terminal
CN109388453B (en) Application page display method and device, storage medium and electronic equipment
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
WO2019037724A1 (en) Method for upgrading application of mobile terminal, storage device, and mobile terminal
CN109495871B (en) Bluetooth connection control method, electronic device and computer readable storage medium
CN108196947B (en) Application running state control method and mobile terminal
CN110430562B (en) Bluetooth communication method and related device
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN112559069B (en) Running control method and device of sub-application, storage medium and electronic equipment
CN112306524A (en) System upgrading method, electronic device and computer storage medium
CN105430448A (en) Control processing method for video player and video player client
CN113168332B (en) Data processing method and device and mobile terminal
CN106919458B (en) Method and device for Hook target kernel function
CN107463395B (en) Component calling method and device
CN107015874B (en) Data transmission control method, device and terminal
WO2020052354A1 (en) Game loading method and related products
CN104391742B (en) Optimizing application method and apparatus
CN113039517B (en) Audio resource calling method and device and electronic equipment
CN110677456A (en) Resource allocation method and equipment
KR20200106317A (en) Appartus and method for controlling application relocation in edge computing environment
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN106445594B (en) System application installation method and device and terminal equipment
KR101083189B1 (en) Method, apparatus, system, and recording medium for upgrading application of mobile terminal
CN107015830B (en) Method and device for upgrading audio playing system and audio playing equipment

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: 20210202