CN107038047B - Software version synchronization method and device of audio playing equipment and audio playing equipment - Google Patents

Software version synchronization method and device of audio playing equipment and audio playing equipment Download PDF

Info

Publication number
CN107038047B
CN107038047B CN201710210349.1A CN201710210349A CN107038047B CN 107038047 B CN107038047 B CN 107038047B CN 201710210349 A CN201710210349 A CN 201710210349A CN 107038047 B CN107038047 B CN 107038047B
Authority
CN
China
Prior art keywords
audio playing
software
upgrading
software version
file
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
CN201710210349.1A
Other languages
Chinese (zh)
Other versions
CN107038047A (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 CN201710210349.1A priority Critical patent/CN107038047B/en
Publication of CN107038047A publication Critical patent/CN107038047A/en
Application granted granted Critical
Publication of CN107038047B publication Critical patent/CN107038047B/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

Abstract

The invention provides a software version synchronization method and device of audio playing equipment and the audio playing equipment, when the audio playing equipment needs to be added into an audio playing system, a request instruction for inviting the audio playing system to be added is sent by a receiving terminal; according to the request instruction, network connection is established with original audio playing equipment in the audio playing system; acquiring software version information of original audio playing equipment in an audio playing system; comparing the acquired software version information with software version information of newly-added audio playing equipment; and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result. Therefore, the invention can effectively ensure that the software versions of all the audio playing devices in the same audio playing system are consistent, thereby improving the coordination, stability and consistency of all the audio playing devices in the audio playing system.

Description

Software version synchronization method and device of audio playing equipment and audio playing equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for synchronizing software versions of an audio playback device, and an audio playback device.
Background
Intelligent network audio playing devices (such as sound boxes) are becoming more and more popular, and these intelligent network sound boxes integrate a processor and a network interface, so that streaming media music on the internet can be accessed, and music resources are directly obtained from the network for playing according to the selection of a user. The smart network speaker is generally controlled by using a mobile terminal (such as a mobile phone and a tablet computer). For example, after a dedicated application is installed on the mobile terminal, the smart network speaker can be accessed through the application, streaming media music on the internet can be browsed, and songs are selected and pushed to the smart network speaker for playing.
In a sound box playing system composed of a plurality of intelligent network sound boxes, the consistency of the performance of each intelligent network sound box is a key point for realizing the operation of the plurality of sound boxes. Because, in a loudspeaker box playing system composed of a plurality of loudspeaker boxes, if the performances of the loudspeaker boxes are not consistent, the inconsistent work can occur.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for synchronizing software versions of audio playback devices, and an audio playback device, which can effectively ensure that software versions of all audio playback devices in a same audio playback system are consistent, so as to improve coordination, stability, and consistency of all audio playback devices in an audio playback system.
The embodiment of the invention provides a software version synchronization method of audio playing equipment, which comprises the following steps:
receiving a request instruction sent by a terminal for inviting to join an audio playing system;
according to the request instruction, network connection is established with original audio playing equipment in the audio playing system;
acquiring software version information of original audio playing equipment in the audio playing system;
comparing the acquired software version information with software version information of newly-added audio playing equipment;
and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result.
An embodiment of the present invention further provides a software version synchronization apparatus for an audio playing device, including:
the request instruction receiving module is used for receiving a request instruction sent by the terminal and used for inviting the user to join the audio playing system;
the network connection establishing module is used for establishing network connection with original audio playing equipment in the audio playing system according to the request instruction;
the version information acquisition module is used for acquiring software version information of original audio playing equipment in the audio playing system;
the version information comparison module is used for comparing the acquired software version information with the software version information of the newly-added audio playing equipment;
and the version synchronization module is used for synchronizing the software version of the newly added audio playing device and the software version of the original audio playing device according to the comparison result.
The embodiment of the invention also provides audio playing equipment, which comprises a memory and a processor, wherein the processor is connected with the memory through a bus; the memory is used for storing a group of program codes, and the processor is used for calling the program codes stored in the memory and executing the following operations:
receiving a request instruction sent by a terminal for inviting to join an audio playing system;
according to the request instruction, network connection is established with original audio playing equipment in the audio playing system;
acquiring software version information of original audio playing equipment in the audio playing system;
comparing the acquired software version information with software version information of newly-added audio playing equipment;
and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result.
According to the software version synchronization method and device for the audio playing equipment and the audio playing equipment, when the audio playing equipment needs to be added into an audio playing system, a request instruction for inviting the audio playing system to be added is sent by a receiving terminal; according to the request instruction, network connection is established with original audio playing equipment in the audio playing system; acquiring software version information of original audio playing equipment in the audio playing system; comparing the acquired software version information with software version information of newly-added audio playing equipment; and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result. Therefore, the invention can effectively ensure that the software versions of all the audio playing devices in the same audio playing system are consistent, thereby improving the coordination, stability and consistency of all the audio playing devices in the audio playing system.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation process of a software version synchronization method for an audio playing device according to an embodiment of the present invention.
Fig. 2 is a schematic flowchart illustrating a specific implementation process of a software version synchronization method for an audio playing device according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a specific implementation of a software version synchronization method for an audio playback device according to another embodiment of the present invention.
Fig. 4 is a schematic diagram of an implementation flow of deleting a software upgrade file according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart illustrating an implementation process of an audio playback device having a software upgrade file according to an embodiment of the present invention.
Fig. 6 is a schematic block diagram of a software version synchronization apparatus of an audio playing device according to an embodiment of the present invention.
Fig. 7 is a detailed module schematic diagram of a software version synchronization apparatus of an audio playing device according to an embodiment of the present invention.
Fig. 8 is a detailed module schematic diagram of a software version synchronization apparatus of an audio playing device according to another embodiment of the present invention.
Fig. 9 is a detailed module schematic diagram of a software version synchronization apparatus of an audio playing device according to yet another embodiment of the present invention.
Fig. 10 is a schematic block diagram of an audio playing device according to an embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present invention are illustrated in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
While the principles of the invention have been described in the foregoing context, which is not intended to be limiting, those of ordinary skill in the art will appreciate that various of the steps and operations described below may also be implemented in hardware. The principles of the present invention are operational with numerous other general purpose or special purpose computing, communication environments or configurations.
Referring to fig. 1, a method for synchronizing software versions of an audio playback device according to an embodiment of the present invention is shown.
The software version synchronization method of the audio playing equipment is applied to the audio playing equipment and comprises the following steps:
in step S101, a request instruction for inviting to join the audio playing system sent by the terminal is received.
In the embodiment of the present invention, first, APP (Application) software for controlling an audio playing device is installed in a mobile terminal (such as a mobile phone and a tablet computer).
It is understood that when the audio playing device (e.g. smart sound box) is produced in the factory, the staff member will refresh the software of the audio playing device to the current latest version of software. For example, when the audio playing device is refreshed by software, a current latest version of the upgrade file is backed up in a FLASH memory (FLASH) of the audio playing device.
Therefore, when the audio playing device needs to join the audio playing system, the audio playing device is selected on the APP software interface of the mobile terminal, at this time, the mobile terminal sends a request instruction for inviting to join the audio playing system to the audio playing device, and the audio playing device receives the request instruction for inviting to join the audio playing system sent by the mobile terminal.
However, it is understood that one or more existing audio playing devices may exist in the audio playing system, and the software versions of the existing audio playing devices are the same. However, it is also possible that none of the audio playback devices is temporarily present in the audio playback system.
Under the condition that one audio playing device is not available in the audio playing system temporarily, the first audio playing device is directly added into the audio playing system without software version comparison.
In the case where a new audio playing device joins the audio playing system in which one or more audio playing devices already exist, the newly joined audio playing device needs to perform step S102, step S103, and step S104.
In step S102, according to the request instruction, a network connection is established with an original audio playing device in the audio playing system.
In step S103, software version information of an original audio playing device in the audio playing system is obtained.
In the embodiment of the present invention, in the case of an audio playback system in which one or more audio playback devices already exist, one case is: software upgrading files are stored in all audio playing devices in the audio playing system; the audio playing device newly added to the audio playing system can randomly acquire the software version information from one of the audio playing devices.
The other situation is that: only the audio playing main device in the audio playing system stores the software upgrading file, and then the audio playing device newly added in the audio playing system acquires the software version information from the audio playing main device.
In step S104, comparing the acquired software version information with the software version information of the newly added audio playing device.
In step S105, the software version of the newly added audio playing device and the software version of the original audio playing device are synchronized according to the comparison result.
As an embodiment of the present invention, step S105 includes:
if the software version of the original audio playing device is higher than that of the newly added audio playing device, reading a software upgrading file stored in the original audio playing device; and upgrading the current software version of the newly-added audio playing equipment according to the software upgrading file.
Referring to fig. 2, if the software version of the original audio playing device is higher than the software version of the newly added audio playing device, the step of reading the software upgrade file stored in the original audio playing device includes:
in step S201, if the software version of the original audio playing device is higher than the software version of the newly added audio playing device, an upgrade file reading message is broadcasted to the original audio playing device in the audio playing system, so that the audio playing device storing the upgrade file establishes response communication with the original audio playing device.
In step S202, a confirmation message returned by the audio playing device storing the upgrade file is received.
In step S203, a one-to-one response communication is established with the audio playing device in which the upgrade file is stored according to the confirmation message.
In step S204, the software upgrade file is read from the audio playing device in which the upgrade file is stored.
Preferably, after the software versions of the audio playing devices in the audio playing system are consistent, in order to save the storage space of the audio playing devices and facilitate the audio playing system to manage the software upgrade files of the audio playing devices, only one audio playing device in the audio playing system is generally reserved to have the software upgrade files. Therefore, after the step of performing an upgrade operation on the current software version of the newly added audio playing device according to the software upgrade file, the method further includes:
when the upgrade is successful, reporting an upgrade success message;
and deleting the software upgrading file according to the upgrading success message.
Referring to fig. 3, as another embodiment of the present invention, step S105 further includes:
in step S301, if the software version of the original audio playing device is lower than the software version of the newly added audio playing device, the software upgrade file of the newly added audio playing device is read.
In step S302, an upgrade instruction is generated according to the software upgrade file; and the upgrading instruction is used for indicating the original audio playing equipment to execute upgrading operation according to the software upgrading file.
In step S303, sending the upgrade instruction to an original audio playing device in the audio playing system to instruct the original audio playing device to execute an upgrade operation; and the upgrading instruction carries the software upgrading file.
Referring to fig. 4, preferably, after the software versions of the audio playing devices in the audio playing system are consistent, in order to save the storage space of the audio playing devices and facilitate the audio playing system to manage the software upgrade files of the audio playing devices, only one audio playing device in the audio playing system is generally reserved to have the software upgrade file. Therefore, after the step of sending the upgrade instruction to the original audio playing device in the audio playing system, the method further includes:
in step S401, an upgrade success message returned by the original audio playing device is received;
in step S402, a deletion instruction of the upgrade file is generated;
in step S403, the deleting instruction is sent to the original audio playing device in the audio playing system, so that the original audio playing device deletes the software upgrade file according to the deleting instruction.
Referring to fig. 5, as a preferred embodiment of the present invention, when the audio playing device needs to quit the audio playing system, in order to ensure that the quitted audio playing device has the software upgrade file, after step S105, the method further includes:
in step S501, a control instruction for instructing to quit the audio playing system is received, where the control instruction is sent by the terminal.
In step S502, according to the control instruction, a software upgrade file is read from the audio playing device in which the upgrade file is stored.
In step S503, the software upgrade file is saved in the newly added audio playing device memory.
In step S504, according to the control instruction, the network connection is disconnected with the original audio playing device in the audio playing system.
As can be seen from the above, according to the software version synchronization method for audio playing equipment provided in the embodiment of the present invention, when the audio playing equipment needs to be added to the audio playing system, a request instruction for inviting the audio playing system to be added is sent by the receiving terminal; according to the request instruction, network connection is established with original audio playing equipment in the audio playing system; acquiring software version information of original audio playing equipment in the audio playing system; comparing the acquired software version information with software version information of newly-added audio playing equipment; and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result. Therefore, the invention can effectively ensure that the software versions of all the audio playing devices in the same audio playing system are consistent, thereby improving the coordination, stability and consistency of all the audio playing devices in the audio playing system.
Please refer to fig. 6 to fig. 9, which are schematic block diagrams of a software version synchronization apparatus of an audio playing device according to an embodiment of the present invention; for convenience of explanation, only portions related to the embodiments of the present invention are shown. The software version synchronization apparatus 100 of the audio playing device comprises: a request instruction receiving module 101, a network connection establishing module 102, a version information acquiring module 103, a version information comparing module 104, and a version synchronizing module 105. The software version synchronization device of the audio playing device can be a software unit, a hardware unit or a unit combining software and hardware which is built in the audio playing device.
A request instruction receiving module 101, configured to receive a request instruction sent by a terminal to invite to join an audio playing system.
And the network connection establishing module 102 is configured to establish a network connection with an original audio playing device in the audio playing system according to the request instruction.
The version information obtaining module 103 is configured to obtain software version information of an original audio playing device in the audio playing system.
And the version information comparison module 104 is configured to compare the acquired software version information with software version information of a newly added audio playing device.
And the version synchronization module 105 is configured to synchronize the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result.
In this embodiment of the present invention, the version synchronization module 105 includes: an upgrade file acquisition module 201 and an upgrade operation module 202.
The upgrade file obtaining module 201 is configured to obtain a software upgrade file stored in the original audio playing device if the software version of the original audio playing device is higher than the software version of the newly added audio playing device.
And the upgrading operation module 202 is configured to perform upgrading operation on the current software version of the newly added audio playing device according to the software upgrading file.
In this embodiment of the present invention, the upgrade file acquiring module 201 includes: a broadcasting module 301, an acknowledgement message receiving module 302, a response communication establishing module 303 and a file obtaining sub-module 304.
The broadcasting module 301 is configured to broadcast an upgrade file reading message to an original audio playing device in the audio playing system if the software version of the original audio playing device is higher than the software version of a newly added audio playing device, so that the audio playing device storing the upgrade file establishes response communication with the original audio playing device.
A confirmation message receiving module 302, configured to receive a confirmation message returned by the audio playing device in which the upgrade file is stored.
And the response communication establishing module 303 is configured to establish one-to-one response communication with the audio playing device in which the upgrade file is stored according to the confirmation message.
The file obtaining sub-module 304 is configured to obtain the software upgrade file from the audio playing device in which the upgrade file is stored.
As a preferred embodiment of the present invention, the software version synchronization apparatus of the audio playing device further includes: a reporting module 401 and a file deleting module 402.
And a reporting module 401, configured to report an upgrade success message after the upgrade is successful.
A file deleting module 402, configured to delete the software upgrade file according to the upgrade success message.
As another embodiment of the present invention, the version synchronization module 105 further includes: a reading module 501, an upgrade instruction generating module 502, and an upgrade instruction sending module 503.
The reading module 501 is configured to read a software upgrade file of a newly added audio playing device if a software version of an original audio playing device is lower than a software version of the newly added audio playing device.
An upgrade instruction generating module 502, configured to generate an upgrade instruction according to the software upgrade file; and the upgrading instruction is used for indicating the original audio playing equipment to execute upgrading operation according to the software upgrading file.
An upgrade instruction sending module 503, configured to send the upgrade instruction to an original audio playing device in the audio playing system, so as to instruct the original audio playing device to perform an upgrade operation; and the upgrading instruction carries the software upgrading file.
Preferably, the software version synchronization apparatus of the audio playing device further includes: a success message receiving module 601, a deletion instruction generating module 602, and a deletion instruction sending module 603.
The success message receiving module 601 is configured to receive an upgrade success message returned by the original audio playing device.
A deleting instruction generating module 602, configured to generate a deleting instruction of the upgrade file.
A deleting instruction sending module 603, configured to send the deleting instruction to an original audio playing device in the audio playing system, so that the original audio playing device deletes the software upgrade file according to the deleting instruction.
As another preferred embodiment of the present invention, the software version synchronization apparatus of the audio playing device further includes: a control instruction receiving module 701, a file reading sub-module 702, a file saving module 703 and a network disconnection module 704.
A control instruction receiving module 701, configured to receive a control instruction for instructing the terminal to exit the audio playing system.
The file reading sub-module 702 is configured to read a software upgrade file from the audio playing device in which the upgrade file is stored according to the control instruction.
The file saving module 703 is configured to save the software upgrade file to a memory of the newly added audio playing device.
And a network disconnection module 704, configured to disconnect a network connection with an original audio playing device in the audio playing system according to the control instruction.
As can be seen from the above, in the software version synchronization apparatus for an audio playing device provided in the embodiment of the present invention, when the audio playing device needs to be added to an audio playing system, a request instruction for inviting the audio playing system to be added is sent by a receiving terminal; according to the request instruction, network connection is established with original audio playing equipment in the audio playing system; acquiring software version information of original audio playing equipment in the audio playing system; comparing the acquired software version information with software version information of newly-added audio playing equipment; and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result. Therefore, the invention can effectively ensure that the software versions of all the audio playing devices in the same audio playing system are consistent, thereby improving the coordination, stability and consistency of all the audio playing devices in the audio playing system.
The software version synchronization method and device for audio playing equipment provided by the embodiment of the invention belong to the same concept, and the specific implementation process is detailed in the whole specification and is not described herein again.
Fig. 10 shows a specific structural block diagram of an audio playing device provided in an embodiment of the present invention, where the audio playing device 1200 may be used to implement the software version synchronization method/apparatus of the audio playing device provided in the foregoing embodiments.
As shown in fig. 10, the audio playing device may include a memory 801 including one or more computer-readable storage media (only one shown), an audio circuit 802, a transmission module 803, a processor 804 including one or more processing cores (only one shown), and a power supply 805. Those skilled in the art will appreciate that the audio playback device configuration shown in fig. 10 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. Wherein:
the memory 801 may be used to store software programs and modules, such as program instructions/modules corresponding to the software version synchronization method/apparatus of the audio playing device in the foregoing embodiments, and the processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 801, that is, functions for implementing software version synchronization of the audio playing device. The memory 801 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 801 may further include memory located remotely from the processor 804, which may be connected to an audio playback device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The audio circuit 802 may transmit the electrical signal converted from the received audio data to a speaker, and the electrical signal is converted into a sound signal by the speaker and output.
The audio playback device accesses streaming media, etc. through a transport module 803 (e.g., a Wi-Fi module), which provides wireless broadband internet access for the user. Although fig. 10 shows the transmission module 803, it is understood that it does not belong to the essential constitution of the audio playback apparatus, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 804 is a control center of the audio playback device, connects various parts of the entire audio playback device using various interfaces and lines, and performs various functions of the audio playback device and processes data by operating or executing software programs and/or modules stored in the memory 801 and calling up data stored in the memory 801. Optionally, processor 804 may include one or more processing cores; preferably, the processor 804 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 804.
The audio playback device further includes a power source 805 (e.g., a battery) for supplying power to various components, and preferably, the power source may be logically connected to the processor 804 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 805 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any other components.
Although not shown, the audio playback device may also be a bluetooth module or the like. And will not be described in detail herein. Additionally, the mobile terminal also includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs including instructions for:
receiving a request instruction sent by a terminal for inviting to join an audio playing system;
according to the request instruction, network connection is established with original audio playing equipment in the audio playing system;
acquiring software version information of original audio playing equipment in the audio playing system;
comparing the acquired software version information with software version information of newly-added audio playing equipment;
and synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (12)

1. A method for synchronizing software versions of audio playing devices is characterized by comprising the following steps:
when the audio playing equipment needs to be added into the audio playing system, a request instruction sent by the terminal for inviting to be added into the audio playing system is received;
according to the request instruction, network connection is established with original audio playing equipment in the audio playing system;
acquiring software version information of original audio playing equipment in the audio playing system;
comparing the acquired software version information with software version information of newly-added audio playing equipment;
according to the comparison result, synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device so as to make the software versions of all the audio playing devices in the same audio playing system consistent, specifically comprising:
if the software version of the original audio playing device is higher than that of the newly added audio playing device, broadcasting an upgrade file reading message to the original audio playing device in the audio playing system so as to enable the audio playing device stored with the upgrade file to establish response communication with the original audio playing device;
receiving a confirmation message returned by the audio playing equipment in which the upgrade file is stored;
establishing one-to-one response communication with the audio playing equipment stored with the upgrading file according to the confirmation message;
reading a software upgrading file from the audio playing equipment stored with the upgrading file;
and upgrading the current software version of the newly-added audio playing equipment according to the software upgrading file.
2. The method for synchronizing software versions of audio playback devices according to claim 1, wherein after the step of performing an upgrade operation on the current software version of the newly added audio playback device according to the software upgrade file, the method further comprises:
when the upgrade is successful, reporting an upgrade success message;
and deleting the software upgrading file according to the upgrading success message.
3. The method for synchronizing software versions of audio playback devices as claimed in claim 1, wherein the step of synchronizing the software version of the newly added audio playback device with the software version of the original audio playback device according to the comparison result comprises:
if the software version of the original audio playing device is lower than that of the newly added audio playing device, reading a software upgrading file of the newly added audio playing device;
generating an upgrading instruction according to the software upgrading file; the upgrading instruction is used for indicating the original audio playing equipment to execute upgrading operation according to the software upgrading file;
sending the upgrade instruction to original audio playing equipment in the audio playing system to instruct the original audio playing equipment to execute upgrade operation; and the upgrading instruction carries the software upgrading file.
4. The method for synchronizing software versions of audio playback devices according to claim 3, further comprising, after the step of sending an upgrade instruction to an original audio playback device in the audio playback system:
receiving an upgrade success message returned by the original audio playing equipment;
generating a deleting instruction of the upgrade file;
and sending the deleting instruction to original audio playing equipment in the audio playing system so that the original audio playing equipment deletes the software upgrading file according to the deleting instruction.
5. The method for synchronizing software versions of audio playback devices of claim 1, wherein the step of synchronizing the software version of the newly added audio playback device with the software version of the original audio playback device according to the comparison result further comprises:
receiving a control instruction for instructing the audio playing system to exit from the terminal;
reading a software upgrading file from the audio playing equipment stored with the upgrading file according to the control instruction;
storing the software upgrading file into a memory of newly-added audio playing equipment;
and according to the control instruction, disconnecting the network connection with the original audio playing equipment in the audio playing system.
6. A software version synchronization apparatus for an audio playback device, comprising:
the request instruction receiving module is used for receiving a request instruction sent by the terminal for inviting the audio playing system to be added when the audio playing device needs to be added into the audio playing system;
the network connection establishing module is used for establishing network connection with original audio playing equipment in the audio playing system according to the request instruction;
the version information acquisition module is used for acquiring software version information of original audio playing equipment in the audio playing system;
the version information comparison module is used for comparing the acquired software version information with the software version information of the newly-added audio playing equipment;
the version synchronization module is used for synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device according to the comparison result so as to ensure that the software versions of all the audio playing devices in the same audio playing system are consistent;
wherein the version synchronization module comprises:
the broadcast module is used for broadcasting an upgrade file reading message to the original audio playing equipment in the audio playing system if the software version of the original audio playing equipment is higher than that of the newly added audio playing equipment, so that the audio playing equipment with the upgrade file is established response communication with the original audio playing equipment;
the confirmation message receiving module is used for receiving the confirmation message returned by the audio playing equipment in which the upgrade file is stored;
the response communication establishing module is used for establishing one-to-one response communication with the audio playing equipment stored with the upgrading file according to the confirmation message;
the file acquisition submodule is used for acquiring the software upgrading file from the audio playing equipment in which the upgrading file is stored;
and the upgrading operation module is used for upgrading the current software version of the newly-added audio playing equipment according to the software upgrading file.
7. The software version synchronization apparatus for an audio playback device as claimed in claim 6, further comprising:
the reporting module is used for reporting an upgrade success message after the upgrade is successful;
and the file deleting module is used for deleting the software upgrading file according to the upgrading success message.
8. The software version synchronization apparatus of an audio playing device according to claim 6, wherein the version synchronization module further comprises: the system comprises a reading module, an upgrading instruction generating module and an upgrading instruction sending module;
the reading module is used for reading the software upgrading file of the newly added audio playing device if the software version of the original audio playing device is lower than that of the newly added audio playing device;
the upgrading instruction generating module is used for generating upgrading instructions according to the software upgrading files; the upgrading instruction is used for indicating the original audio playing equipment to execute upgrading operation according to the software upgrading file;
the upgrading instruction sending module is used for sending the upgrading instruction to original audio playing equipment in the audio playing system so as to instruct the original audio playing equipment to execute upgrading operation; and the upgrading instruction carries the software upgrading file.
9. The software version synchronization apparatus for an audio playback device as claimed in claim 8, further comprising:
the successful message receiving module is used for receiving an upgrade successful message returned by the original audio playing equipment;
the deleting instruction generating module is used for generating a deleting instruction of the upgrading file;
and the deleting instruction sending module is used for sending the deleting instruction to original audio playing equipment in the audio playing system so that the original audio playing equipment deletes the software upgrading file according to the deleting instruction.
10. The software version synchronization apparatus for an audio playback device as claimed in claim 6, further comprising:
the control instruction receiving module is used for receiving a control instruction which is sent by the terminal and used for instructing the audio playing system to quit;
the file reading submodule is used for reading the software upgrading file from the audio playing equipment stored with the upgrading file according to the control instruction;
the file storage module is used for storing the software upgrading file into a newly-added audio playing equipment memory;
and the network disconnection module is used for disconnecting the network connection with the original audio playing equipment in the audio playing system according to the control instruction.
11. An audio playing device is characterized by comprising a memory and a processor, wherein the processor and the memory are connected through a bus; the memory is used for storing a group of program codes, and the processor is used for calling the program codes stored in the memory and executing the following operations:
when the audio playing equipment needs to be added into the audio playing system, a request instruction sent by the terminal for inviting to be added into the audio playing system is received;
according to the request instruction, network connection is established with original audio playing equipment in the audio playing system;
acquiring software version information of original audio playing equipment in the audio playing system;
comparing the acquired software version information with software version information of newly-added audio playing equipment;
according to the comparison result, synchronizing the software version of the newly added audio playing device with the software version of the original audio playing device so as to make the software versions of all the audio playing devices in the same audio playing system consistent, specifically comprising:
if the software version of the original audio playing device is higher than that of the newly added audio playing device, broadcasting an upgrade file reading message to the original audio playing device in the audio playing system so as to enable the audio playing device stored with the upgrade file to establish response communication with the original audio playing device;
receiving a confirmation message returned by the audio playing equipment in which the upgrade file is stored;
establishing one-to-one response communication with the audio playing equipment stored with the upgrading file according to the confirmation message;
reading a software upgrading file from the audio playing equipment stored with the upgrading file;
and upgrading the current software version of the newly-added audio playing equipment according to the software upgrading file.
12. A storage medium storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1 to 5.
CN201710210349.1A 2017-03-31 2017-03-31 Software version synchronization method and device of audio playing equipment and audio playing equipment Expired - Fee Related CN107038047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210349.1A CN107038047B (en) 2017-03-31 2017-03-31 Software version synchronization method and device of audio playing equipment and audio playing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210349.1A CN107038047B (en) 2017-03-31 2017-03-31 Software version synchronization method and device of audio playing equipment and audio playing equipment

Publications (2)

Publication Number Publication Date
CN107038047A CN107038047A (en) 2017-08-11
CN107038047B true CN107038047B (en) 2020-08-14

Family

ID=59534665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210349.1A Expired - Fee Related CN107038047B (en) 2017-03-31 2017-03-31 Software version synchronization method and device of audio playing equipment and audio playing equipment

Country Status (1)

Country Link
CN (1) CN107038047B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540781A (en) * 2020-12-15 2021-03-23 东莞新能安科技有限公司 Software upgrading method of battery management system, electric equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888867A (en) * 2014-03-07 2014-06-25 深圳市领芯者科技有限公司 Loudspeaker box and system and method for controlling loudspeaker box
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN104850429A (en) * 2015-04-22 2015-08-19 北京五悦信息科技有限公司 Software upgrading method and system for intelligent equipment
CN105072614A (en) * 2015-08-10 2015-11-18 小米科技有限责任公司 Method and device for controlling audio playing device
CN105511903A (en) * 2015-11-23 2016-04-20 广东欧珀移动通信有限公司 Audio device updating method and apparatus
CN105549995A (en) * 2015-12-10 2016-05-04 广东欧珀移动通信有限公司 Audio device upgrading method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101831693B1 (en) * 2011-03-08 2018-02-23 삼성전자주식회사 The method for synchronizing infomation across platform portable terminal with multi-software platform and device thereof
US10516718B2 (en) * 2015-06-10 2019-12-24 Google Llc Platform for multiple device playout
CN205584455U (en) * 2016-03-24 2016-09-14 东莞市斯惠威电子科技有限公司 Intelligence audio amplifier based on mobile internet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888867A (en) * 2014-03-07 2014-06-25 深圳市领芯者科技有限公司 Loudspeaker box and system and method for controlling loudspeaker box
CN104639647A (en) * 2015-02-12 2015-05-20 广东欧珀移动通信有限公司 Loudspeaker box upgrading method and loudspeaker box upgrading device
CN104850429A (en) * 2015-04-22 2015-08-19 北京五悦信息科技有限公司 Software upgrading method and system for intelligent equipment
CN105072614A (en) * 2015-08-10 2015-11-18 小米科技有限责任公司 Method and device for controlling audio playing device
CN105511903A (en) * 2015-11-23 2016-04-20 广东欧珀移动通信有限公司 Audio device updating method and apparatus
CN105549995A (en) * 2015-12-10 2016-05-04 广东欧珀移动通信有限公司 Audio device upgrading method and apparatus

Also Published As

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

Similar Documents

Publication Publication Date Title
JP6830984B2 (en) Wake-up method for voice smart devices, wake-up devices for voice smart devices, smart devices and computer-readable storage media
JP6976410B2 (en) Communication methods, devices and systems on live relay channels
US10284494B2 (en) Device controlling method, client, server and intermediate device
WO2014101889A1 (en) Data synchronization method and device
CN105308673A (en) Methods, systems, and media for managing output of an HDMI source
CN105323628B (en) Cross-screen playing method and system based on DLNA (digital Living network alliance), browser end device and playing device
EP3125501A1 (en) File synchronization method, server, and terminal
CN103516885B (en) A kind of multimedia play system and multi-medium play method
CN107025121B (en) Software upgrading method and device and electronic device
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
CN102724334A (en) Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA)
CN111200805A (en) Bluetooth networking method and system based on Bluetooth equipment
CN102830943B (en) Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform
CN104253872A (en) Synchronous information updating method, system and terminal
CN104754132A (en) Electronic device and method of determining operating mode of electronic device
CN114258053A (en) Wireless device and method for automatic recovery from failure
US20120330888A1 (en) Data backup device
CN112003943A (en) Voice data synchronization method and device
CN107038047B (en) Software version synchronization method and device of audio playing equipment and audio playing equipment
CN105828253A (en) Wireless connection control method and device in audio playing system
CN106990986B (en) Software upgrading control method and device and audio playing equipment
CN111767176B (en) Method and device for remotely controlling terminal equipment
CN101232671A (en) Method and apparatus for providing updated information using power control in portable terminal device
CN104749939A (en) Alarm clock setting method, device and Bluetooth loudspeaker box
CN114884805A (en) Data transmission method, device, terminal and storage medium

Legal Events

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

Address after: 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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200814

CF01 Termination of patent right due to non-payment of annual fee