CN110321332B - Multimedia file recovery method, device, terminal and storage medium - Google Patents

Multimedia file recovery method, device, terminal and storage medium Download PDF

Info

Publication number
CN110321332B
CN110321332B CN201910612008.6A CN201910612008A CN110321332B CN 110321332 B CN110321332 B CN 110321332B CN 201910612008 A CN201910612008 A CN 201910612008A CN 110321332 B CN110321332 B CN 110321332B
Authority
CN
China
Prior art keywords
multimedia
list
multimedia file
server
identifier
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.)
Active
Application number
CN201910612008.6A
Other languages
Chinese (zh)
Other versions
CN110321332A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201910612008.6A priority Critical patent/CN110321332B/en
Publication of CN110321332A publication Critical patent/CN110321332A/en
Application granted granted Critical
Publication of CN110321332B publication Critical patent/CN110321332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1873Versioning file systems, temporal file systems, e.g. file system supporting different historic versions of files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a multimedia file recovery method, a device, a terminal and a storage medium, and relates to the technical field of Internet, wherein the method comprises the following steps: acquiring a first version identifier of a first multimedia list corresponding to a collection label, and acquiring a second version identifier of a second multimedia list corresponding to the collection label from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the method, the version identifiers of the multimedia lists stored in the terminal and the server are compared, and the list information is compared, so that the collected multimedia files in the collection label are recovered from the server even though the version identifiers are the same, and the reliability is improved.

Description

Multimedia file recovery method, device, terminal and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a multimedia file recovery method, a device, a terminal and a storage medium.
Background
With the development of internet technology, the functions of application clients in terminals are becoming more and more powerful. For example, the music application client in the terminal can not only play songs online, but also collect songs, so that the user can conveniently play the collected songs later. In order to ensure the reliability of the collected songs, the terminal can generate a song list based on the collected songs, wherein the song list comprises information such as song names of the collected songs, the song list is synchronized to a server corresponding to the music application client, and when the locally collected songs are lost, the terminal can recover the collected songs from the server based on the song list.
Currently, when a terminal synchronizes the song to a server, the server generates a version number (for convenience of distinction, the version number is referred to as a first version number) for the song, the first version number is issued to the terminal, and the terminal stores the first version number locally. When the terminal starts the music application, the terminal acquires a version number (called a second version number) of the song stored in the server from the server, and determines whether the first version number and the second version number are consistent; when the songs are inconsistent, all songs in the song list are acquired from the server, and the songs collected locally are replaced by all songs in the song list.
Since the related art only compares the version numbers, when the locally collected songs are lost, but the version numbers of the song list are not changed, in this case, the terminal cannot recover the songs from the server, i.e. cannot recover the collected songs, resulting in poor reliability of recovery.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, a terminal and a storage medium for recovering a multimedia file, which can solve the problem of poor reliability of recovering the multimedia file. The technical scheme is as follows:
in one aspect, an embodiment of the present disclosure provides a method for recovering a multimedia file, the method including:
acquiring a first version identifier of a first multimedia list corresponding to a collection label, and acquiring a second version identifier of a second multimedia list corresponding to the collection label from a server;
when the first version identifier and the second version identifier are the same, acquiring first list information of the first multimedia list and acquiring second list information of the second multimedia list from the server;
and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different.
In the embodiment of the disclosure, a first version identifier of a first multimedia list corresponding to a collection label is obtained, and a second version identifier of a second multimedia list corresponding to the collection label is obtained from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
In one possible implementation manner, the obtaining the first version identifier of the first multimedia list corresponding to the collection label includes:
and when a recovery instruction for the collection label is received, acquiring a first version identification of a first multimedia list corresponding to the collection label.
In the embodiment of the disclosure, when the recovery instruction is received, the first version identifier is acquired, so that the judgment of the subsequent recovery operation is performed, and the network resource is saved.
In another possible implementation, the method further includes:
when a first updating instruction for the multimedia file in the collection label is received, a first multimedia identifier to be updated is obtained;
updating a third multimedia list currently corresponding to the collection label according to the first multimedia identifier to obtain the first multimedia list;
acquiring first list information of the first multimedia list, and storing the first list information;
correspondingly, the acquiring the first list information of the first multimedia list includes:
and acquiring the stored first list information.
In the embodiment of the disclosure, when updating the multimedia file in the collection label, updating a third locally stored multimedia list to obtain a first multimedia list, obtaining first list information of the first multimedia list, and storing the first list information. Therefore, when the multimedia file is updated, the list information can be updated in time, the latest list information corresponding to the multimedia list is ensured to be stored, and when the multimedia file in the collection label is recovered later, the stored list information is directly acquired, so that the accuracy and the efficiency are improved.
In another possible implementation manner, the obtaining, from the server, the second version identifier of the second multimedia list corresponding to the favorites tag includes:
sending an acquisition request to the server, wherein the acquisition request carries the collection tag and a user identifier;
receiving an acquisition response returned by the server, wherein the acquisition response carries a second version identifier of the second multimedia list;
and acquiring a second version identifier of the second multimedia list from the acquisition response.
In the embodiment of the disclosure, the second version identifier of the second multimedia list corresponding to the collection label in the server may be obtained by sending an obtaining request to the server, where the obtaining request carries the collection label and the user identifier, so that the server may accurately return the second version identifier of the second multimedia list corresponding to the collection label of the user.
In another possible implementation manner, the second list information is further carried in the acquisition response;
correspondingly, the obtaining the second list information of the second multimedia list from the server includes:
and acquiring the second list information from the acquisition response.
In the embodiment of the disclosure, the second list information is also carried in the acquisition response, so that the second version identifier and the second list information can be acquired simultaneously through one acquisition request, network resources are saved, and the efficiency of acquiring the second list information is improved.
In another possible implementation, the method further includes:
when a multimedia application is launched, it is determined that the resume instruction for the favorites tag is received.
In the embodiment of the disclosure, when the terminal starts the multimedia application, the terminal determines that a recovery instruction for the collection tag is received, so that the multimedia files collected in the collection tag can be recovered, and a user can obtain the multimedia files collected by the user when the multimedia application is started each time.
In another possible implementation, the method further includes:
and when a login operation for logging in the user identifier is received in the multimedia application, determining that the recovery instruction for the collection label is received.
When the user logs in the multimedia application, the terminal determines that a recovery instruction for the collection label is received, namely, when the user logs in the multimedia application each time, the multimedia files collected in the collection label are recovered, so that the user can acquire the multimedia files collected by the user when logging in the multimedia application each time.
In another possible implementation, the method further includes:
displaying an application interface of the multimedia application, wherein the application interface comprises a collection label; when the collection tag is triggered, it is determined that the resume instruction for the collection tag is received.
When the user triggers the collection label, the user is informed that the user wants to play the multimedia files collected in the collection label, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the user can play the multimedia files collected in the collection label.
In another possible implementation, the method further includes:
and when the network of the terminal is abnormal and is connected to the network again, determining that the recovery instruction for the collection label is received.
When the network of the terminal is abnormal and the terminal is connected to the network again, the situation that the multimedia files collected in the collection label are lost is likely to occur, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the multimedia files collected in the collection label can be recovered in time.
In another possible implementation manner, the obtaining the first version identifier of the first multimedia list corresponding to the collection label includes:
And when a second updating instruction for the multimedia files in the collection label is received, acquiring a first version identification of a first multimedia list corresponding to the collection label.
In the embodiment of the disclosure, when the second update instruction is received, the first version identifier is acquired, so that the subsequent recovery operation judgment is performed, the multimedia file can be recovered in time each time when the multimedia file in the collection label is updated, and the loss of the multimedia file is avoided.
In another possible implementation manner, the obtaining the first list information of the first multimedia list includes:
when a second updating instruction for the multimedia file in the collection label is received, a second multimedia identifier to be updated is obtained;
updating a third multimedia list currently corresponding to the collection label according to the second multimedia identifier to obtain the first multimedia list;
and acquiring first list information corresponding to the first multimedia list.
In the embodiment of the disclosure, when the multimedia file in the collection label is updated, the local multimedia list is updated first, and then the first list information of the updated multimedia list is acquired, so that the first list information does not need to be stored, the storage space is saved, and when the multimedia file is updated, judgment of recovering the multimedia file is performed, and the timeliness of recovering the multimedia file is improved.
In another possible implementation manner, the obtaining, from the server, the second version identifier of the second multimedia list corresponding to the favorites tag includes:
sending an update request to the server, wherein the update request carries the second multimedia identifier, and the server is used for updating a fourth multimedia list corresponding to the collection tag according to the second multimedia identifier to obtain the second multimedia list;
receiving an update response returned by the server, wherein the update response carries a second version identifier of the second multimedia list;
and acquiring a second version identifier of the second multimedia list from the update response.
In the embodiment of the disclosure, when the multimedia list is updated locally, the server is also instructed to update the multimedia list synchronously, so that the accuracy of the second list information returned by the server can be ensured to be accurate, and the accuracy is improved. And when the server updates the multimedia list, the server directly transmits the second version identification without obtaining again, thereby saving network resources and improving the efficiency of obtaining the second version identification.
In another possible implementation manner, the update response further carries second list information corresponding to the second multimedia list;
Correspondingly, the obtaining the second list information of the second multimedia list from the server includes:
and acquiring the second list information from the update response.
In the embodiment of the disclosure, the update response also carries the second list information, so that network resources are further saved and the efficiency of acquiring the second list information is improved.
In another possible implementation, the method further includes:
and when the first version identifier and the second version identifier are different, directly executing the step of recovering the collected multimedia files in the collection label from the server.
In the embodiment of the disclosure, when the first version identifier and the second version identifier are different, the recovery operation can be directly specified without judging the list information again, so that the efficiency of the recovery operation is improved.
In another possible implementation manner, the recovering, from the server, the multimedia file collected in the collection tag includes:
acquiring a first multimedia file library corresponding to each multimedia identifier in the first multimedia list according to the first multimedia list;
acquiring a second multimedia file library corresponding to each multimedia identifier in the second multimedia list from the server;
And updating the first multimedia file library according to the first multimedia file library and the second multimedia file library.
In another possible implementation manner, the updating the first multimedia file library according to the first multimedia file library and the second multimedia file library includes:
determining at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, deleting the at least one first target multimedia file from the first multimedia file library, adding the at least one second target multimedia file library to the first multimedia file library, wherein the at least one first target multimedia file is a multimedia file which is included in the first multimedia file library but is not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by deleting at least one first target multimedia file from the first multimedia file library and adding at least one second target multimedia file library to the first multimedia file library, so that the data of the terminal and the server are completely consistent, and the recovery accuracy is improved.
In another possible implementation manner, the updating the first multimedia file library according to the first multimedia file library and the second multimedia file library includes:
determining at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and adding the at least one second target multimedia file into the first multimedia file library, wherein the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by adding at least one second target multimedia file library to the first multimedia file library, so that the first multimedia file library of the terminal can include as many multimedia files as possible, and the first multimedia file library is ensured not to lack the multimedia file library, thereby being capable of supplementing the multimedia files lost by the user.
In the embodiment of the disclosure, since the recovery of the multimedia file in the collection label is generally performed in the background of the terminal; in addition, the terminal does not delete the first multimedia file library directly when updating the first multimedia file library, so that the terminal does not appear at the moment of deleting the first multimedia file library, and the first multimedia file library lacks the panic feeling brought to the user. And when the terminal updates the first multimedia file library, the terminal only deletes or adds the multimedia files in the first multimedia file library, so that the user cannot find that the multimedia files are lost, and the user can recover the multimedia files without perception.
In another aspect, there is provided a multimedia file restoration apparatus, the apparatus including:
the first acquisition module is used for acquiring a first version identifier of a first multimedia list corresponding to the collection tag and acquiring a second version identifier of a second multimedia list corresponding to the collection tag from the server;
the second acquisition module is used for acquiring first list information of the first multimedia list and acquiring second list information of the second multimedia list from the server when the first version identifier and the second version identifier are the same;
and the recovery module is used for recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different.
In one possible implementation manner, the first obtaining module is further configured to obtain a first version identifier of a first multimedia list corresponding to the collection tag when a recovery instruction for the collection tag is received.
In another possible implementation, the apparatus further includes:
the third acquisition module is used for acquiring a first multimedia identifier to be updated when a first update instruction of the multimedia file in the collection label is received;
The updating module is used for updating a third multimedia list corresponding to the collection label currently according to the first multimedia identifier to obtain the first multimedia list;
the storage module is used for acquiring first list information of the first multimedia list and storing the first list information;
correspondingly, the second obtaining module is further configured to obtain the stored first list information when receiving a recovery instruction for the collection label.
In another possible implementation manner, the first obtaining module is further configured to send an obtaining request to the server, where the obtaining request carries the collection tag and the user identifier; receiving an acquisition response returned by the server, wherein the acquisition response carries a second version identifier of the second multimedia list; and acquiring a second version identifier of the second multimedia list from the acquisition response.
In another possible implementation manner, the second list information is further carried in the acquisition response;
correspondingly, the second obtaining module is further configured to obtain the second list information from the obtaining response.
In another possible implementation, the apparatus further includes:
The determining module is used for determining that the recovery instruction of the collection label is received when the multimedia application is started; or alternatively, the process may be performed,
the determining module is further configured to determine that the recovery instruction for the collection tag is received when a login operation for logging in the user identifier is received in the multimedia application; or alternatively, the process may be performed,
the determining module is further configured to display an application interface of the multimedia application, where the application interface includes a collection label; when the collection label is triggered, determining that the recovery instruction for the collection label is received; or alternatively, the process may be performed,
and the determining module is also used for determining that the recovery instruction for the collection label is received when the network of the terminal is abnormal and is connected to the network again.
In another possible implementation manner, the first obtaining module is further configured to obtain, when receiving a second update instruction for the multimedia file in the collection label, a first version identifier of a first multimedia list corresponding to the collection label.
In another possible implementation manner, the first obtaining module is further configured to send an update request to the server, where the update request carries the second multimedia identifier, and the server is configured to update, according to the second multimedia identifier, a fourth multimedia list corresponding to the collection tag, to obtain the second multimedia list; receiving an update response returned by the server, wherein the update response carries a second version identifier of the second multimedia list; and acquiring a second version identifier of the second multimedia list from the update response.
In another possible implementation manner, the update response further carries second list information corresponding to the second multimedia list; correspondingly, the second obtaining module is further configured to obtain the second list information from the update response.
In another possible implementation manner, the restoring module is further configured to restore the multimedia file collected in the collection tag from the server when the first version identifier and the second version identifier are different.
In another possible implementation manner, the recovery module is further configured to obtain, according to the first multimedia list, a first multimedia file library corresponding to each multimedia identifier in the first multimedia list; acquiring a second multimedia file library corresponding to each multimedia identifier in the second multimedia list from the server; and updating the first multimedia file library according to the first multimedia file library and the second multimedia file library.
In another possible implementation manner, the recovery module is further configured to determine at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, delete the at least one first target multimedia file from the first multimedia file library, and add the at least one second target multimedia file library to the first multimedia file library, where the at least one first target multimedia file is a multimedia file included in the first multimedia file library but not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file included in the second multimedia file library but not included in the first multimedia file library.
In another possible implementation manner, the recovery module is further configured to determine at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and add the at least one second target multimedia file to the first multimedia file library, where the at least one second target multimedia file is a multimedia file that is included in the second multimedia file library but not included in the first multimedia file library.
In another aspect, there is provided a terminal including:
a processor and a memory having stored therein at least one instruction, at least one program, code set or instruction set, loaded and executed by the processor to implement the operations in the multimedia file restoration method of any of the possible implementations described above.
In another aspect, a computer readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, the instruction, the program, the set of codes, or the set of instructions being loaded and executed by a processor to implement operations performed by a terminal in a multimedia file restoration method in any one of the possible implementations described above.
The technical scheme provided by the embodiment of the disclosure has the beneficial effects that: acquiring a first version identifier of a first multimedia list corresponding to a collection label, and acquiring a second version identifier of a second multimedia list corresponding to the collection label from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
Drawings
FIG. 1 is a schematic diagram of an implementation environment for multimedia file restoration provided by an embodiment of the present disclosure;
FIG. 2 is a flowchart of a method for recovering a multimedia file according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for recovering a multimedia file according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a method for recovering a multimedia file according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a multimedia file restoring apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure are described in further detail below.
The disclosed embodiments provide an implementation environment for multimedia file restoration, referring to fig. 1, which includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected through a wireless or wired network. Also, a multimedia application client for providing services by the server 102 may be installed on the terminal 101, and a user on the terminal may implement functions such as data transmission, message interaction, and the like through the multimedia application client.
The terminal 101 may be a computer, a mobile phone, a tablet computer, or other electronic device. The multimedia application client may be a music application client, a video playing client, a picture browsing client, or the like. The server 102 may be a background server corresponding to the multimedia application client; accordingly, the server 102 may be a music application server, a video playing server, or a picture browsing server. The multimedia file may be a video file, an audio file, an image, or the like.
The terminal 101 may play the multimedia file through the multimedia application client, and may also collect the multimedia file in the collection tag, and in order to improve reliability, the terminal 101 may further synchronize a multimedia list composed of multimedia identifiers collected in the collection tag to the server 102. Subsequently, when the multimedia files collected in the collection tag of the terminal 101 are lost, the collected multimedia files may be restored from the server 102 based on the multimedia list.
It should be noted that, the multimedia application client includes at least one collection tag, and the terminal 101 may collect the multimedia file in any collection tag. The at least one collection label may include a default collection identifier of the multimedia application client, and may further include a collection label built by the user in the multimedia application client. For example, when the multimedia application client is a music application client, the favorites tab may be "i like," "love," "chorus," "Tong Ge," or the like.
The embodiment of the disclosure provides a multimedia file recovery method, referring to fig. 2, the method includes:
201. the method comprises the steps of obtaining a first version identifier of a first multimedia list corresponding to a collection label, and obtaining a second version identifier of a second multimedia list corresponding to the collection label from a server.
202. When the first version identification and the second version identification are the same, first list information of the first multimedia list is acquired, and second list information of the second multimedia list is acquired from the server.
203. And recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different.
In the embodiment of the disclosure, a first version identifier of a first multimedia list corresponding to a collection label is obtained, and a second version identifier of a second multimedia list corresponding to the collection label is obtained from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
In one possible implementation manner, obtaining a first version identifier of a first multimedia list corresponding to a collection label includes:
and when a recovery instruction for the collection label is received, acquiring a first version identifier of a first multimedia list corresponding to the collection label.
In the embodiment of the disclosure, when the recovery instruction is received, the first version identifier is acquired, so that the judgment of the subsequent recovery operation is performed, and the network resource is saved.
In another possible implementation, the method further includes:
when a first updating instruction for the multimedia file in the collection label is received, a first multimedia identifier to be updated is obtained;
updating a third multimedia list corresponding to the collection label currently according to the first multimedia identifier to obtain the first multimedia list;
acquiring first list information of the first multimedia list, and storing the first list information;
correspondingly, the acquiring the first list information of the first multimedia list includes:
the stored first list information is acquired.
In the embodiment of the disclosure, when updating the multimedia file in the collection label, updating a third locally stored multimedia list to obtain a first multimedia list, obtaining first list information of the first multimedia list, and storing the first list information. Therefore, when the multimedia file is updated, the list information can be updated in time, the latest list information corresponding to the multimedia list is ensured to be stored, and when the multimedia file in the collection label is recovered later, the stored list information is directly acquired, so that the accuracy and the efficiency are improved.
In another possible implementation manner, the obtaining, from the server, the second version identifier of the second multimedia list corresponding to the favorites tag includes:
sending an acquisition request to the server, wherein the acquisition request carries the collection tag and the user identifier;
receiving an acquisition response returned by the server, wherein the acquisition response carries a second version identifier of the second multimedia list;
and acquiring a second version identification of the second multimedia list from the acquisition response.
In the embodiment of the disclosure, the second version identifier of the second multimedia list corresponding to the collection label in the server may be obtained by sending an obtaining request to the server, where the obtaining request carries the collection label and the user identifier, so that the server may accurately return the second version identifier of the second multimedia list corresponding to the collection label of the user.
In another possible implementation manner, the second list information is also carried in the acquisition response;
correspondingly, the obtaining the second list information of the second multimedia list from the server includes:
the second list information is acquired from the acquisition response.
In the embodiment of the disclosure, the second list information is also carried in the acquisition response, so that the second version identifier and the second list information can be acquired simultaneously through one acquisition request, network resources are saved, and the efficiency of acquiring the second list information is improved.
In another possible implementation, the method further includes:
when a multimedia application is launched, it is determined that the resume instruction for the favorites tag was received.
In the embodiment of the disclosure, when the terminal starts the multimedia application, the terminal determines that a recovery instruction for the collection tag is received, so that the multimedia files collected in the collection tag can be recovered, and a user can obtain the multimedia files collected by the user when the multimedia application is started each time.
In another possible implementation, the method further includes:
when a login operation for logging in the user identifier is received in the multimedia application, the recovery instruction of the collection label is determined to be received.
When the user logs in the multimedia application, the terminal determines that a recovery instruction for the collection label is received, namely, when the user logs in the multimedia application each time, the multimedia files collected in the collection label are recovered, so that the user can acquire the multimedia files collected by the user when logging in the multimedia application each time.
In another possible implementation, the method further includes:
displaying an application interface of the multimedia application, wherein the application interface comprises a collection label; when the favorites tag is triggered, it is determined that the resume instruction for the favorites tag is received.
When the user triggers the collection label, the user is informed that the user wants to play the multimedia files collected in the collection label, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the user can play the multimedia files collected in the collection label.
In another possible implementation, the method further includes:
when the network of the terminal is abnormal and is connected to the network again, the recovery instruction of the collection label is determined to be received.
When the network of the terminal is abnormal and the terminal is connected to the network again, the situation that the multimedia files collected in the collection label are lost is likely to occur, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the multimedia files collected in the collection label can be recovered in time.
In another possible implementation manner, obtaining a first version identifier of a first multimedia list corresponding to a collection label includes:
and when a second updating instruction for the multimedia files in the collection label is received, acquiring a first version identification of a first multimedia list corresponding to the collection label.
In the embodiment of the disclosure, when the second update instruction is received, the first version identifier is acquired, so that the subsequent recovery operation judgment is performed, the multimedia file can be recovered in time each time when the multimedia file in the collection label is updated, and the loss of the multimedia file is avoided.
In another possible implementation manner, the obtaining the first list information of the first multimedia list includes:
when a second updating instruction for the multimedia file in the collection label is received, a second multimedia identifier to be updated is obtained;
updating a third multimedia list corresponding to the collection label currently according to the second multimedia identifier to obtain the first multimedia list;
and acquiring first list information corresponding to the first multimedia list.
In the embodiment of the disclosure, when the multimedia file in the collection label is updated, the local multimedia list is updated first, and then the first list information of the updated multimedia list is acquired, so that the first list information does not need to be stored, the storage space is saved, and when the multimedia file is updated, judgment of recovering the multimedia file is performed, and the timeliness of recovering the multimedia file is improved.
In another possible implementation manner, obtaining, from the server, a second version identifier of a second multimedia list corresponding to the favorites tag, including:
sending an update request to a server, wherein the update request carries a second multimedia identifier, and the server is used for updating a fourth multimedia list corresponding to the collection tag according to the second multimedia identifier to obtain a second multimedia list;
Receiving an update response returned by the server, wherein the update response carries a second version identifier of a second multimedia list;
a second version identification of the second multimedia list is obtained from the update response.
In the embodiment of the disclosure, when the multimedia list is updated locally, the server is also instructed to update the multimedia list synchronously, so that the accuracy of the second list information returned by the server can be ensured to be accurate, and the accuracy is improved. And when the server updates the multimedia list, the server directly transmits the second version identification without obtaining again, thereby saving network resources and improving the efficiency of obtaining the second version identification.
In another possible implementation manner, the update response also carries second list information corresponding to the second multimedia list;
correspondingly, obtaining second list information of a second multimedia list from the server includes:
second list information is obtained from the update response.
In the embodiment of the disclosure, the update response also carries the second list information, so that network resources are further saved and the efficiency of acquiring the second list information is improved.
In another possible implementation, the method further includes:
And when the first version identifier and the second version identifier are different, directly executing the step of recovering the collected multimedia files in the collection label from the server.
In the embodiment of the disclosure, when the first version identifier and the second version identifier are different, the recovery operation can be directly specified without judging the list information again, so that the efficiency of the recovery operation is improved.
In another possible implementation manner, the recovering, from the server, the multimedia file collected in the collection tag includes:
according to the first multimedia list, a first multimedia file library corresponding to each multimedia identifier in the first multimedia list is obtained;
acquiring a second multimedia file library corresponding to each multimedia identifier in the second multimedia list from the server;
and updating the first multimedia file library according to the first multimedia file library and the second multimedia file library.
In another possible implementation, updating the first multimedia file repository according to the first multimedia file repository and the second multimedia file repository includes:
determining at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, deleting the at least one first target multimedia file from the first multimedia file library, adding the at least one second target multimedia file library to the first multimedia file library, wherein the at least one first target multimedia file is a multimedia file included in the first multimedia file library but not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file included in the second multimedia file library but not included in the first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by deleting at least one first target multimedia file from the first multimedia file library and adding at least one second target multimedia file library to the first multimedia file library, so that the data of the terminal and the server are completely consistent, and the recovery accuracy is improved.
In another possible implementation, updating the first multimedia file repository according to the first multimedia file repository and the second multimedia file repository includes:
and determining at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and adding the at least one second target multimedia file into the first multimedia file library, wherein the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by adding at least one second target multimedia file library to the first multimedia file library, so that the first multimedia file library of the terminal can include as many multimedia files as possible, and the first multimedia file library is ensured not to lack the multimedia file library, thereby being capable of supplementing the multimedia files lost by the user.
In the embodiment of the disclosure, since the recovery of the multimedia file in the collection label is generally performed in the background of the terminal; in addition, the terminal does not delete the first multimedia file library directly when updating the first multimedia file library, so that the terminal does not appear at the moment of deleting the first multimedia file library, and the first multimedia file library lacks the panic feeling brought to the user. And when the terminal updates the first multimedia file library, the terminal only deletes or adds the multimedia files in the first multimedia file library, so that the user cannot find that the multimedia files are lost, and the user can recover the multimedia files without perception.
The embodiment of the disclosure provides a multimedia file recovery method, referring to fig. 3, the method includes:
301. when a first update instruction for the multimedia file in the collection label is received, the terminal acquires a first multimedia identifier to be updated.
The first update instruction may be a first delete instruction or a first add instruction. Accordingly, the first multimedia identifier to be updated may be the first multimedia identifier to be deleted or the first multimedia identifier to be added.
When the first update instruction is a first delete instruction, this step may be: the terminal displays a collection interface corresponding to the collection label, wherein the collection interface comprises at least one multimedia identifier; when a deleting operation of any multimedia identifier is received, determining that a first updating instruction of the multimedia file in the collection label is received, and taking the any multimedia identifier as a first multimedia identifier.
When the first update instruction is a first add instruction, this step may be: when the terminal receives the adding operation of any multimedia identifier, the terminal determines that a first updating instruction of the multimedia file in the collection label is received, and the any multimedia identifier is used as a first multimedia identifier.
The multimedia application client of the terminal comprises at least one collection label; the terminal can update the multimedia files in any one of the collection labels, or update the multimedia files in all the collection labels. When the terminal updates the multimedia files in any one of the collection labels, the subsequent steps can be used for recovering the multimedia files in the collection labels, and the recovery operation can be performed on the multimedia files in a plurality of or all of the collection labels.
For example, the multimedia application client includes 4 collection tabs, respectively, "i like," "love," "aging," and "Tong Ge. When a user adds a song to the favorite collection label, the terminal can only restore the multimedia files in the favorite collection label, and can restore the multimedia files in the favorite collection labels, namely, love song, aging song and Tong Ge.
It should be noted that, when the terminal performs a recovery operation on the multimedia files in the plurality of collection labels, the terminal may perform a recovery operation on the multimedia files in the collection label that is updated recently by the user, or may obtain the collection label that should be recovered currently according to a recovery rule set by the user. For example, the restoration rule is a restoration order of at least one collection label, and the terminal selects one collection label from the at least one collection label according to the restoration order.
302. And the terminal updates a third multimedia list corresponding to the collection label currently according to the first multimedia identifier to obtain a first multimedia list.
And before the third multimedia list receives the first updating instruction, the terminal collects the multimedia list corresponding to the tag. And when the collection tag does not collect the multimedia file before receiving the first update instruction, the third multimedia list is empty. When at least one multimedia file has been collected in the collection tag before the first update instruction is received, the multimedia identification of the at least one collected multimedia file is included in the third multimedia list.
When the first updating instruction is a first deleting instruction, deleting the first multimedia identifier in the third multimedia list by the terminal to obtain a first multimedia list; and when the first updating instruction is a first adding instruction, adding a first multimedia identifier in the third multimedia list by the terminal to obtain a first multimedia list. The first multimedia list includes at least one multimedia identifier, which is an identifier of at least one multimedia file collected by the collection tag. For example, when the multimedia file is a song, the first multimedia list may be a song list corresponding to the collection label, where the song list includes an identification of at least one song.
It should be noted that, after the terminal obtains the first multimedia identifier to be updated, the synchronization request server updates the multimedia list, and the process may be: and the terminal sends a first update request to the server, wherein the first update request carries the first multimedia identifier. The server receives the first updating request, updates a fourth multimedia list corresponding to the collection label currently according to the first multimedia identifier to obtain a second multimedia list, acquires a second version identifier and second list information of the second multimedia list, and stores the second version identifier and the second list information so as to return the second version identifier and the second list information to the terminal when the terminal requests to acquire the second version identifier and the second list information.
The fourth multimedia list is a collection list corresponding to the collection label stored in the server, and the fourth multimedia list is a multimedia list corresponding to the collection label before the server receives the first update request. And, when the collection tag does not collect the multimedia file before receiving the first update request, the fourth multimedia list is empty. When at least one multimedia file has been collected in the collection tag before the first update request is received, the fourth multimedia list includes multimedia identifications of the at least one multimedia file that has been collected.
And when the first updating request is a first deleting request, deleting the first multimedia identifier in the fourth multimedia list by the server to obtain a second multimedia list. And when the first updating request is a first adding request, adding a first multimedia identifier in the fourth multimedia list by the server to obtain a second multimedia list.
When the server adds the first multimedia identifier to the fourth multimedia list, the first multimedia identifier may be directly added to the end of the fourth multimedia list, or may be added to a position corresponding to the category of the fourth multimedia list according to the category corresponding to the first multimedia identifier. For example, the multimedia may be a song, the type corresponding to the first multimedia identifier is a love song, and the server adds the song to the location corresponding to the love song.
Another point to be described is that the terminal does not have strict time sequence for updating the local multimedia list and requesting the server to update the multimedia list, and the terminal can update the local multimedia list first and then request the server to update the multimedia list. The server may be requested to update the multimedia list before the local multimedia list is updated, or the server may be requested to update the multimedia list while the local multimedia list is being updated.
303. The terminal acquires first list information of a first multimedia list and stores the first list information.
The first list information may include at least one of a first number of multimedia identifications in the first multimedia list, a first encoding result obtained by encoding the multimedia identifications in the first multimedia list, and a time of generating the first multimedia list. The first encoding result may be a hash value obtained by performing a hash operation on the multimedia identifier in the first multimedia list, and the like.
When the multimedia file is a song, the first multimedia list may be a song list. Correspondingly, the first list information may include the number of songs included in the song list, and/or hash the song identifier in the song list, and at least one of the obtained hash value and the time of generating the song list.
The terminal can store the first list information corresponding to different collection labels into different storage spaces, and then acquire the first list information corresponding to different collection labels from different storage spaces. The terminal can also associate and store the corresponding relation between the first multimedia list and the first list information, and then directly acquire the first list information of the first multimedia list from the corresponding relation between the multimedia list and the list information according to the first multimedia list.
304. And when receiving a recovery instruction for the collection label, the terminal acquires a first version identifier of a first multimedia list corresponding to the collection label.
The first version identification may be a first version number. In one possible implementation, when the terminal requests the server to update the multimedia list, the server may issue a first version identification of the first multimedia list to the terminal. The terminal stores a first version identification of the first multimedia list. In this step, the terminal directly acquires the first version identifier of the stored first multimedia list. In another possible implementation manner, the terminal may obtain a third version identifier of the third multimedia list, and determine the first version identifier according to the third version identifier and the version update rule. For example, when the third version identifier is the third version number, the first version identifier is the first version number, and the version update rule is 1, the terminal adds 1 to the third version number, so as to obtain the first version number.
The terminal may determine whether a resume instruction is received by any of the following four ways:
and (3) a step of: when the terminal starts the multimedia application, the terminal determines that a recovery instruction for the collection label is received.
When the terminal starts the multimedia application, the terminal determines that the recovery instruction of the collection label is received, so that the multimedia files collected in the collection label can be recovered, and a user can acquire the collected multimedia files when the multimedia application is started each time.
And II: when a login operation of a login user identifier is received in the multimedia application, the recovery instruction of the collection label is determined to be received.
When the user logs in the multimedia application, the terminal determines that a recovery instruction for the collection label is received, namely, when the user logs in the multimedia application each time, the multimedia files collected in the collection label are recovered, so that the user can acquire the multimedia files collected by the user when logging in the multimedia application each time.
3. The terminal displays an application interface of the multimedia application, wherein the application interface comprises a collection label; when the collection tag is triggered, it is determined that a resume instruction for the collection tag was received.
The application interface can be any interface of a multimedia application; for example, the application interface may be a main interface of the multimedia application, and may also be a corresponding interface of the multimedia application; in the embodiments of the present disclosure, the application interface is not particularly limited.
When the user triggers the collection label, the user is informed that the user wants to play the multimedia files collected in the collection label, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the user can play the multimedia files collected in the collection label.
4. When the network of the terminal is abnormal and the terminal is connected to the network again, the recovery instruction of the collection label is received.
When the network of the terminal is abnormal and the terminal is connected to the network again, the situation that the multimedia files collected in the collection label are lost is likely to occur, and at the moment, the terminal recovers the multimedia files collected in the collection label, so that the multimedia files collected in the collection label can be recovered in time.
305. And the terminal acquires a second version identifier of a second multimedia list corresponding to the collection label from the server.
The second multimedia list is a multimedia list corresponding to the collection label stored in the server. Since the second multimedia list and the first multimedia list may be the same or different. For convenience of distinction, the multimedia list corresponding to the favorite tag stored in the server is referred to as a second multimedia list. Accordingly, this step can be achieved by the following steps (1) to (4), including:
(1) And the terminal sends a first acquisition request to the server, wherein the first acquisition request carries the collection label and the user identifier.
The user identification is a user account number registered by the user in the server; for example, the user identification may be a user's cell phone number, nickname, etc.
(2) And the server receives the first acquisition request and acquires a second version identifier of a second multimedia list corresponding to the collection label according to the user identifier and the collection label.
The server stores the multimedia list corresponding to the multimedia files collected under each collection label of each user, that is, the corresponding relation between the user identification, the collection label and the multimedia list is stored in the server, and the corresponding relation between the multimedia list and the version identification is also stored in the server. Accordingly, the steps may be: the server obtains a second multimedia list corresponding to the collection label from the corresponding relation among the user identification, the collection label and the multimedia list according to the user identification and the collection label; and acquiring a second version identifier of the second multimedia list from the corresponding relation between the multimedia list and the version identifier according to the second multimedia list.
It should be noted that, the server may also store a correspondence relationship between the user identifier, the collection label, and the version identifier of the multimedia list. Accordingly, the steps may be: and the server acquires a second version identifier of a second multimedia list corresponding to the collection label from the corresponding relation among the user identifier, the collection label and the version identifier of the multimedia list according to the user identifier and the collection label.
(3) The server sends a first acquisition response to the terminal, wherein the first acquisition response carries a second version identifier of the second multimedia list.
(4) And the terminal receives the first acquisition response and acquires the second version identification of the second multimedia list from the first acquisition response.
It should be noted that, steps 304 and 305 are not strictly time-sequential, and step 304 may be performed first, and then step 305 may be performed; step 305 may be performed first, and then step 304 may be performed; steps 304 and 305 may also be performed simultaneously.
306. And when the first version identifier and the second version identifier are the same, the terminal acquires the first list information of the stored first multimedia list.
After the terminal acquires the first version identifier and the second version identifier, determining whether the first version identifier and the second version identifier are the same; when the first version identifier and the second version identifier are different, the terminal determines that the multimedia file collected in the local collection tag is different from the multimedia file synchronized in the server, and executes the step of recovering the multimedia file collected in the collection tag from the server by the terminal in step 205. When the first version identifier and the second version identifier are the same, the version identifier may not change, but the multimedia file collected in the local collection tag is lost, so that the terminal may further determine according to the first list information of the first multimedia list stored locally and the second list information of the second multimedia list stored in the server.
307. The terminal acquires second list information of a second multimedia list from the server.
The second list information may include at least one of a second number of multimedia identifications in the second multimedia list, a second encoding result obtained by encoding the multimedia identifications in the second multimedia list, and a time of generating the second multimedia list. The second encoding result may be a hash value obtained by performing a hash operation on the multimedia identifier in the second multimedia list, and so on.
This step can be achieved by the following steps (1) to (4), comprising:
(1) And the terminal sends a second acquisition request to the server, wherein the second acquisition request carries the collection label and the user identifier.
(2) And the server receives the second acquisition request and acquires second list information of a second multimedia list corresponding to the collection label according to the user identification and the collection label.
The server stores the multimedia list corresponding to the multimedia files collected under each collection label of each user, that is, the corresponding relation between the user identification, the collection label and the multimedia list is stored in the server, and the corresponding relation between the multimedia list and the list information is also stored in the server. Accordingly, the steps may be: the server obtains a second multimedia list corresponding to the collection label from the corresponding relation among the user identification, the collection label and the multimedia list according to the user identification and the collection label; and acquiring second list information of the second multimedia list from the corresponding relation between the multimedia list and the list information according to the second multimedia list.
It should be noted that, the server may also store a correspondence relationship between the user identifier, the collection label, and list information of the multimedia list. Accordingly, the steps may be: and the server acquires second list information of a second multimedia list corresponding to the collection label from the corresponding relation among the user identification, the collection label and the list information of the multimedia list according to the user identification and the collection label.
(3) And the server sends a second acquisition response to the terminal, wherein the second acquisition response carries second list information of a second multimedia list.
(4) And the terminal receives the second acquisition response and acquires second list information of a second multimedia list from the second acquisition response.
The other point to be described is that the terminal may acquire the second list information from the server when the first version identifier and the second version identifier are the same; when the first version identifier and the second version identifier are different, the second list information can be acquired without acquiring the second list information from the server, so that the second list information is acquired only when the second list information is required to be acquired, and network resources are saved.
The terminal may also synchronously acquire the second list information when acquiring the second version identifier. Correspondingly, the first acquisition response also carries second list information. In the step, the terminal directly acquires the second list information from the first acquisition response, so that the second version identifier and the second list information can be acquired through one acquisition operation, and when the first version identifier and the second version identifier are the same, the first list information and the list information can be directly compared without acquiring again, thereby shortening the time and improving the efficiency.
The terminal can compare the version identification and then compare the list information; the terminal may also compare the version identification and the list information at the same time. The terminal may also compare only the list information without comparing the version identification.
When the terminal compares the version identification and the list information at the same time, steps 301-307 are replaced with: when a recovery instruction for the collection label is received, the terminal acquires a first version identification and first list information of a first multimedia list corresponding to the collection label, and acquires a second version identification and second list information of a second multimedia list corresponding to the collection label from the server. When the first list information and the second list information are different or the first version identification and the second version identification are different, the terminal in step 308 is executed to restore the multimedia files collected in the collection label from the server.
308. And when the first list information and the second list information are different or the first version identifier and the second version identifier are different, the terminal recovers the multimedia files collected in the collection label from the server.
This step can be achieved by the following steps (1) to (3), comprising:
(1) And the terminal acquires a first multimedia file library corresponding to each multimedia identifier in the first multimedia list according to the first multimedia list.
The first multimedia file library comprises at least one first multimedia file. And storing the corresponding relation between the multimedia identifier and the multimedia file in a database of the terminal. Accordingly, the steps may be: the terminal acquires each multimedia identifier in the first multimedia list according to the first multimedia list; and according to each multimedia identifier, acquiring a first multimedia file corresponding to each multimedia identifier from the corresponding relation between the multimedia identifier and the multimedia file in the database, and forming the first multimedia file corresponding to each multimedia identifier into a first multimedia file library.
For example, if the first multimedia list is a first song list, the terminal obtains each first song in the first song list from the database according to the song identification in the first song list.
(2) And the terminal acquires a second multimedia file library corresponding to each multimedia file in the second multimedia list from the server.
The second multimedia file library comprises at least one second multimedia file. And the terminal sends a recovery request to the server, wherein the recovery request carries the collection label and the user identifier. The server receives the recovery request, acquires a second multimedia list according to the collection tag and the user identifier, acquires each multimedia identifier in the second multimedia list, acquires a second multimedia file corresponding to each multimedia identifier according to each multimedia identifier, forms a second multimedia file library from the second multimedia file corresponding to each multimedia identifier, and sends the second multimedia file library to the terminal; the terminal receives a second multimedia file bank.
(3) And the terminal updates the first multimedia file library according to the first multimedia file library and the second multimedia file library.
In one possible implementation, the terminal determines at least one first target multimedia file and at least one second target multimedia file from the first multimedia file library and the second multimedia file library, deletes the at least one first target multimedia file from the first multimedia file library, and adds the at least one second target multimedia file library to the first multimedia file library.
The at least one first target multimedia file is a multimedia file which is included in the first multimedia file library but is not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library.
For example, the first multimedia file repository includes multimedia files A, B and C therein; the second multimedia file library comprises multimedia files A, B and D, at least one first target multimedia file is C, and at least one second multimedia file is D; and deleting the C in the first multimedia file library by the terminal, and adding the D into the first multimedia file library to obtain an updated first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by deleting at least one first target multimedia file from the first multimedia file library and adding at least one second target multimedia file library to the first multimedia file library, so that the data of the terminal and the server are completely consistent, and the recovery accuracy is improved.
In another possible implementation manner, the terminal determines at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and adds the at least one second target multimedia file to the first multimedia file library, where the at least one second target multimedia file is a multimedia file included in the second multimedia file library but not included in the first multimedia file library.
For example, the first multimedia file repository includes multimedia files A, B and C therein; the second multimedia file library comprises multimedia files A, B and D, at least one first target multimedia file is C, and at least one second multimedia file is D; and D is added to the first multimedia file library by the terminal to obtain an updated first multimedia file library.
In the embodiment of the disclosure, the terminal updates the first multimedia file library by adding at least one second target multimedia file library to the first multimedia file library, so that the first multimedia file library of the terminal can include as many multimedia files as possible, and the situation that the first multimedia file library does not lack multimedia files is ensured, so that the multimedia files lost by a user can be supplemented.
In the related art, when updating a first multimedia file library corresponding to a collection label, a terminal deletes all multimedia files in the first multimedia file library in the first step, and adds all multimedia files in a second multimedia file library to the first multimedia file library in the second step. There is a time difference between the first step and the second step, and if the terminal exits the update operation (for example, the user exits the multimedia application) between the first step and the second step, the multimedia file in the first multimedia file library corresponding to the collection label may be lost.
It should be noted that, in the embodiment of the present disclosure, since the recovery of the multimedia file in the collection tag is generally performed in the background of the terminal; in addition, the terminal does not delete the first multimedia file library directly when updating the first multimedia file library, so that the terminal does not appear at the moment of deleting the first multimedia file library, and the first multimedia file library lacks the panic feeling brought to the user. And when the terminal updates the first multimedia file library, the terminal only deletes or adds the multimedia files in the first multimedia file library, so that the user can hardly find that the multimedia files are lost, and the user can recover the multimedia files without perception.
In the embodiment of the disclosure, a first version identifier of a first multimedia list corresponding to a collection label is obtained, and a second version identifier of a second multimedia list corresponding to the collection label is obtained from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
The embodiment of the disclosure provides a multimedia file recovery method, referring to fig. 4, the method includes:
401. and when a second updating instruction for the multimedia file in the collection label is received, the terminal acquires a second multimedia identifier to be updated.
The second update instruction may be a second delete instruction or a second add instruction. Accordingly, the second multimedia identifier to be updated may be the second multimedia identifier to be deleted or the second multimedia identifier to be added. Moreover, this step is similar to step 301, and will not be described here again.
402. And the terminal updates a third multimedia list corresponding to the collection label currently according to the second multimedia identifier to obtain a first multimedia list.
This step is similar to step 302 and will not be described in detail herein.
403. The terminal acquires first list information and a first version identification of a first multimedia list.
The step of the terminal obtaining the first version identifier of the first multimedia list may be: the terminal obtains a third version identifier of the third multimedia list, and determines a first version identifier according to the third version identifier and the version updating rule. For example, when the third version identifier is the third version number, the first version identifier is the first version number, and the version update rule is 1, the terminal adds 1 to the third version number, so as to obtain the first version number.
404. The terminal sends a second update request to the server, wherein the second update request carries a second multimedia identifier.
The step of the synchronization request server for updating the multimedia list after the terminal obtains the first multimedia identifier to be updated is similar to the step of the synchronization request server for updating the multimedia list, and will not be described in detail herein.
405. And the server receives a second updating request, updates a fourth multimedia list corresponding to the collection label according to the second multimedia identifier, obtains a second multimedia list, and obtains second list information and a second version identifier corresponding to the second multimedia list.
The step of obtaining, by the server, the second version identifier corresponding to the second multimedia list may be: the server obtains a fourth version identifier of the fourth multimedia list, and determines a second version identifier according to the fourth version identifier and the version updating rule.
406. And the server returns an update response to the terminal, wherein the update response carries the second list information and the second version identification.
In the embodiment of the disclosure, after the terminal updates the fourth multimedia list to obtain the second multimedia list, the second list information and the second version identifier are returned to the terminal, the terminal can acquire the second list information and the second version identifier without requesting again, and the second list information and the second version identifier are carried in the acquisition response, so that network resources are saved, and the acquisition efficiency is improved.
407. And the terminal receives the update response and acquires the second list information and the second version identification from the update response.
408. And when the first version identifier and the second version identifier are different or the first list information and the second list information are different, the terminal recovers the multimedia files collected in the collection label from the server.
This step is similar to step 308 and will not be described in detail herein.
In the embodiment of the disclosure, a first version identifier of a first multimedia list corresponding to a collection label is obtained, and a second version identifier of a second multimedia list corresponding to the collection label is obtained from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
The embodiment of the disclosure provides a multimedia file recovery device, which is used for executing operations executed by a terminal in the multimedia file recovery method. Referring to fig. 5, the apparatus includes:
a first obtaining module 501, configured to obtain a first version identifier of a first multimedia list corresponding to a collection tag, and obtain a second version identifier of a second multimedia list corresponding to the collection tag from a server;
A second obtaining module 502, configured to obtain, when the first version identifier and the second version identifier are the same, first list information of the first multimedia list, and obtain, from the server, second list information of the second multimedia list;
and a restoring module 503, configured to restore the multimedia files collected in the collection tag from the server when the first list information and the second list information are different.
In a possible implementation manner, the first obtaining module 501 is further configured to obtain, when receiving a recovery instruction for the collection label, a first version identifier of a first multimedia list corresponding to the collection label.
In another possible implementation, the apparatus further includes:
the third acquisition module is used for acquiring a first multimedia identifier to be updated when a first update instruction of the multimedia file in the collection label is received;
the updating module is used for updating the third multimedia list corresponding to the collection label currently according to the first multimedia identifier to obtain the first multimedia list;
the storage module is used for acquiring first list information of the first multimedia list and storing the first list information;
Correspondingly, the second obtaining module 502 is further configured to obtain the stored first list information when receiving a recovery instruction for the favorites.
In another possible implementation manner, the first obtaining module 301 is further configured to send an obtaining request to the server, where the obtaining request carries the collection tag and the user identifier; receiving an acquisition response returned by the server, wherein the acquisition response carries a second version identifier of the second multimedia list; and acquiring a second version identification of the second multimedia list from the acquisition response.
In another possible implementation manner, the second list information is also carried in the acquisition response;
correspondingly, the second obtaining module 502 is further configured to obtain the second list information from the obtaining response.
In another possible implementation, the apparatus further includes:
a determining module for determining that the recovery instruction for the favorites is received when the multimedia application is started; or alternatively, the process may be performed,
the determining module is further used for determining that the recovery instruction for the collection label is received when a login operation for logging in the user identifier is received in the multimedia application; or alternatively, the process may be performed,
The determining module is also used for displaying an application interface of the multimedia application, and the application interface comprises a collection label; when the collection label is triggered, determining that the recovery instruction for the collection label is received; or alternatively, the process may be performed,
the determining module is further configured to determine that the recovery instruction for the favorite tag is received when the network of the terminal is abnormal and is connected to the network again.
In another possible implementation manner, the first obtaining module 501 is further configured to obtain, when receiving the second update instruction for the multimedia file in the collection label, a first version identifier of the first multimedia list corresponding to the collection label.
In another possible implementation manner, the first obtaining module 501 is further configured to send an update request to a server, where the update request carries a second multimedia identifier, and the server is configured to update, according to the second multimedia identifier, a fourth multimedia list corresponding to the collection tag, to obtain the second multimedia list; receiving an update response returned by the server, wherein the update response carries a second version identifier of a second multimedia list; a second version identification of the second multimedia list is obtained from the update response.
In another possible implementation manner, the update response also carries second list information corresponding to the second multimedia list; correspondingly, the second obtaining module 502 is further configured to obtain the second list information from the update response.
In another possible implementation, the restoring module 503 is further configured to restore the multimedia file collected in the collection tag from the server when the first version identifier and the second version identifier are different.
In another possible implementation manner, the recovering module 503 is further configured to obtain, according to the first multimedia list, a first multimedia file library corresponding to each multimedia identifier in the first multimedia list; acquiring a second multimedia file library corresponding to each multimedia identifier in the second multimedia list from the server; and updating the first multimedia file library according to the first multimedia file library and the second multimedia file library.
In another possible implementation manner, the restoration module 503 is further configured to determine at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, delete the at least one first target multimedia file from the first multimedia file library, add the at least one second target multimedia file library to the first multimedia file library, where the at least one first target multimedia file is a multimedia file included in the first multimedia file library but not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file included in the second multimedia file library but not included in the first multimedia file library.
In another possible implementation, the restoring module 503 is further configured to determine at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and add the at least one second target multimedia file to the first multimedia file library, where the at least one second target multimedia file is a multimedia file that is included in the second multimedia file library but not included in the first multimedia file library.
In the embodiment of the disclosure, a first version identifier of a first multimedia list corresponding to a collection label is obtained, and a second version identifier of a second multimedia list corresponding to the collection label is obtained from a server; when the first version identifier and the second version identifier are the same, acquiring first list information of a first multimedia list and acquiring second list information of a second multimedia list from a server; and recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different. In the embodiment of the disclosure, not only the version identifiers of the multimedia lists stored in the terminal and the server are compared, but also the list information is compared, so that even if the version identifiers are the same, the collected multimedia files in the collection label can be recovered from the server when the list information is different, and the reliability is improved.
It should be noted that, regarding the apparatus in the above embodiment, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment regarding the method, and will not be described in detail herein.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 600 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 600 includes: a processor 601 and a memory 602.
Processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 601 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 601 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 601 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 601 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 602 is used to store at least one instruction for execution by processor 601 to implement the multimedia file restoration method provided by the method embodiments of the present invention.
In some embodiments, the terminal 600 may further optionally include: a peripheral interface 603, and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 603 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 604, a display 605, a camera assembly 606, audio circuitry 607, a positioning assembly 608, and a power supply 609.
Peripheral interface 603 may be used to connect at least one Input/Output (I/O) related peripheral to processor 601 and memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 601, memory 602, and peripheral interface 603 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 604 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 604 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 604 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 604 may also include NFC (Near Field Communication ) related circuits, which the present invention is not limited to.
The display screen 605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 605 is a touch display, the display 605 also has the ability to collect touch signals at or above the surface of the display 605. The touch signal may be input as a control signal to the processor 601 for processing. At this point, the display 605 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 605 may be one, providing a front panel of the terminal 600; in other embodiments, the display 605 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folded design; in still other embodiments, the display 605 may be a flexible display, disposed on a curved surface or a folded surface of the terminal 600. Even more, the display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 605 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 606 is used to capture images or video. Optionally, the camera assembly 606 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 606 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 607 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing, or inputting the electric signals to the radio frequency circuit 604 for voice communication. For the purpose of stereo acquisition or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 607 may also include a headphone jack.
The location component 608 is used to locate the current geographic location of the terminal 600 to enable navigation or LBS (Location Based Service, location based services). The positioning component 608 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
A power supply 609 is used to power the various components in the terminal 600. The power source 609 may be alternating current, direct current, disposable battery or rechargeable battery. When the power source 609 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 600 further includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: acceleration sensor, gyroscope sensor, pressure sensor, fingerprint sensor, optical sensor, and proximity sensor.
Those skilled in the art will appreciate that the structure shown in fig. 6 is not limiting of the terminal 600 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 7 is a schematic structural diagram of a server 700 according to an embodiment of the present invention, where the server 700 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 701 and one or more memories 702, where at least one instruction is stored in the memories 702, and the at least one instruction is loaded and executed by the processors 701 to implement the multimedia file restoration method provided in each of the foregoing multimedia file restoration method embodiments. Of course, the server 700 may also have a wired or wireless network interface, a keyboard, an input/output interface, etc. for performing input/output, and may further include other components for implementing the functions of the device, which are not described herein.
The embodiment of the invention also provides a computer readable storage medium, in which at least one instruction, at least one section of program, code set or instruction set is stored, the instruction, the program, the code set or the instruction set is loaded and executed by a processor to implement the operations performed by the server or the terminal in the method for recovering a multimedia file in the above embodiment.
The foregoing is merely for facilitating understanding of the technical solutions of the present disclosure by those skilled in the art, and is not intended to limit the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (15)

1. A method for recovering a multimedia file, the method comprising:
acquiring a first version identifier of a first multimedia list corresponding to a collection label, and acquiring a second version identifier of a second multimedia list corresponding to the collection label from a server;
when the first version identifier and the second version identifier are the same, acquiring first list information of the first multimedia list and acquiring second list information of the second multimedia list from the server;
recovering the collected multimedia files in the collection label from the server when the first list information and the second list information are different;
the recovering the collected multimedia files in the collection label from the server comprises the following steps:
determining at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, deleting the at least one first target multimedia file from the first multimedia file library, adding the at least one second target multimedia file library to the first multimedia file library, wherein the at least one first target multimedia file is a multimedia file which is included in the first multimedia file library but is not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library; or alternatively, the process may be performed,
Determining at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and adding the at least one second target multimedia file into the first multimedia file library, wherein the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library;
the first multimedia library is a multimedia file library corresponding to each multimedia identifier in the first multimedia list, and the second multimedia library is a media file library corresponding to each multimedia identifier in the second multimedia list.
2. The method of claim 1, wherein the obtaining the first version identification of the first multimedia list corresponding to the favorites tag comprises:
and when a recovery instruction for the collection label is received, acquiring a first version identification of a first multimedia list corresponding to the collection label.
3. The method according to claim 2, wherein the method further comprises:
when a first updating instruction for the multimedia file in the collection label is received, a first multimedia identifier to be updated is obtained;
Updating a third multimedia list currently corresponding to the collection label according to the first multimedia identifier to obtain the first multimedia list;
acquiring first list information of the first multimedia list, and storing the first list information;
correspondingly, the acquiring the first list information of the first multimedia list includes:
and acquiring the stored first list information.
4. The method of claim 3, wherein the obtaining, from a server, the second version identification of the second multimedia list corresponding to the favorites tag comprises:
sending an acquisition request to the server, wherein the acquisition request carries the collection tag and a user identifier;
receiving an acquisition response returned by the server, wherein the acquisition response carries a second version identifier of the second multimedia list;
and acquiring a second version identifier of the second multimedia list from the acquisition response.
5. The method of claim 4, wherein the second list information is further carried in the acquisition response;
correspondingly, the obtaining the second list information of the second multimedia list from the server includes:
And acquiring the second list information from the acquisition response.
6. The method according to claim 2, wherein the method further comprises:
determining that the recovery instruction for the collection label is received when a multimedia application is started; or alternatively, the process may be performed,
when a login operation of a login user identifier is received in the multimedia application, determining that the recovery instruction of the collection label is received; or alternatively, the process may be performed,
displaying an application interface of the multimedia application, wherein the application interface comprises a collection label; when the collection label is triggered, determining that the recovery instruction for the collection label is received; or alternatively, the process may be performed,
and when the network of the terminal is abnormal and is connected to the network again, determining that the recovery instruction for the collection label is received.
7. The method of claim 1, wherein the obtaining the first version identification of the first multimedia list corresponding to the favorites tag comprises:
and when a second updating instruction for the multimedia files in the collection label is received, acquiring a first version identification of a first multimedia list corresponding to the collection label.
8. The method of claim 7, wherein the obtaining the first list information of the first multimedia list comprises:
When a second updating instruction for the multimedia file in the collection label is received, a second multimedia identifier to be updated is obtained;
updating a third multimedia list currently corresponding to the collection label according to the second multimedia identifier to obtain the first multimedia list;
and acquiring first list information corresponding to the first multimedia list.
9. The method of claim 8, wherein the obtaining, from a server, the second version identification of the second multimedia list corresponding to the favorites tag comprises:
sending an update request to the server, wherein the update request carries the second multimedia identifier, and the server is used for updating a fourth multimedia list corresponding to the collection tag according to the second multimedia identifier to obtain the second multimedia list;
receiving an update response returned by the server, wherein the update response carries a second version identifier of the second multimedia list;
and acquiring a second version identifier of the second multimedia list from the update response.
10. The method of claim 9, wherein the update response further carries second list information corresponding to the second multimedia list;
Correspondingly, the obtaining the second list information of the second multimedia list from the server includes:
and acquiring the second list information from the update response.
11. The method according to claim 1, wherein the method further comprises:
and when the first version identifier and the second version identifier are different, directly executing the step of recovering the collected multimedia files in the collection label from the server.
12. The method of any of claims 1-11, wherein recovering the multimedia files that have been collected in the collection tab from the server further comprises:
acquiring a first multimedia file library corresponding to each multimedia identifier in the first multimedia list according to the first multimedia list;
acquiring a second multimedia file library corresponding to each multimedia identifier in the second multimedia list from the server;
and updating the first multimedia file library according to the first multimedia file library and the second multimedia file library.
13. A multimedia file restoration apparatus, the apparatus comprising:
The first acquisition module is used for acquiring a first version identifier of a first multimedia list corresponding to the collection tag and acquiring a second version identifier of a second multimedia list corresponding to the collection tag from the server;
the second acquisition module is used for acquiring first list information of the first multimedia list and acquiring second list information of the second multimedia list from the server when the first version identifier and the second version identifier are the same;
the recovery module is used for recovering the multimedia files collected in the collection label from the server when the first list information and the second list information are different;
the recovery module is configured to determine at least one first target multimedia file and at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, delete the at least one first target multimedia file from the first multimedia file library, add the at least one second target multimedia file library to the first multimedia file library, where the at least one first target multimedia file is a multimedia file that is included in the first multimedia file library but is not included in the second multimedia file library, and the at least one second target multimedia file is a multimedia file that is included in the second multimedia file library but is not included in the first multimedia file library; or determining at least one second target multimedia file according to the first multimedia file library and the second multimedia file library, and adding the at least one second target multimedia file into the first multimedia file library, wherein the at least one second target multimedia file is a multimedia file which is included in the second multimedia file library but is not included in the first multimedia file library;
The first multimedia library is a multimedia file library corresponding to each multimedia identifier in the first multimedia list, and the second multimedia library is a media file library corresponding to each multimedia identifier in the second multimedia list.
14. A terminal, the terminal comprising:
a processor and a memory having stored therein at least one instruction, at least one program, code set or instruction set, the instruction, program, code set or instruction set being loaded and executed by the processor to implement the operations in the multimedia file restoration method of any of the preceding claims 1-12.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes or a set of instructions, the program, the set of codes or the set of instructions being loaded and executed by a processor to implement the operations performed by a terminal in a multimedia file restoration method according to any of the preceding claims 1-12.
CN201910612008.6A 2019-07-08 2019-07-08 Multimedia file recovery method, device, terminal and storage medium Active CN110321332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910612008.6A CN110321332B (en) 2019-07-08 2019-07-08 Multimedia file recovery method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910612008.6A CN110321332B (en) 2019-07-08 2019-07-08 Multimedia file recovery method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110321332A CN110321332A (en) 2019-10-11
CN110321332B true CN110321332B (en) 2023-07-21

Family

ID=68123047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910612008.6A Active CN110321332B (en) 2019-07-08 2019-07-08 Multimedia file recovery method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110321332B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114675871A (en) * 2020-12-25 2022-06-28 北京达佳互联信息技术有限公司 Resource updating method and device, electronic equipment, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099780A (en) * 2015-08-12 2015-11-25 北京思特奇信息技术股份有限公司 Automatic file publishing or upgrading method and system thereof
CN107391669A (en) * 2017-07-20 2017-11-24 郑州云海信息技术有限公司 A kind of multi version file management method and device based on file system
CN107729439A (en) * 2017-09-29 2018-02-23 北京小米移动软件有限公司 Obtain the methods, devices and systems of multi-medium data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120095962A1 (en) * 2008-10-14 2012-04-19 Goldman Jason D Aggregating Media Content From Multiple Clients To A Server
CN104092646B (en) * 2013-10-28 2016-10-12 腾讯科技(深圳)有限公司 Operation synchronous method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099780A (en) * 2015-08-12 2015-11-25 北京思特奇信息技术股份有限公司 Automatic file publishing or upgrading method and system thereof
CN107391669A (en) * 2017-07-20 2017-11-24 郑州云海信息技术有限公司 A kind of multi version file management method and device based on file system
CN107729439A (en) * 2017-09-29 2018-02-23 北京小米移动软件有限公司 Obtain the methods, devices and systems of multi-medium data

Also Published As

Publication number Publication date
CN110321332A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN108717432B (en) Resource query method and device
CN110213153B (en) Display method, acquisition method, device, terminal and storage medium of unread messages
CN108093307B (en) Method and system for acquiring playing file
CN110674022A (en) Behavior data acquisition method and device and storage medium
CN108684206B (en) Searching method and device
CN111694834A (en) Method, device and equipment for putting picture data into storage and readable storage medium
CN111241115B (en) Data synchronization method, device, equipment and storage medium
CN111935516B (en) Audio file playing method, device, terminal, server and storage medium
CN111949680A (en) Data processing method and device, computer equipment and storage medium
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN113742366A (en) Data processing method and device, computer equipment and storage medium
CN111565338A (en) Method, device, system, equipment and storage medium for playing video
CN109547847B (en) Method and device for adding video information and computer readable storage medium
CN110471614B (en) Method for storing data, method and device for detecting terminal
CN110321332B (en) Multimedia file recovery method, device, terminal and storage medium
CN113190307A (en) Control adding method, device, equipment and storage medium
CN112084157A (en) File recovery method and device, computer equipment and storage medium
CN114168369A (en) Log display method, device, equipment and storage medium
CN111682983A (en) Interface display method and device, terminal and server
CN112612540B (en) Data model configuration method, device, electronic equipment and storage medium
CN115134316B (en) Topic display method, device, terminal and storage medium
CN112597417B (en) Page updating method and device, electronic equipment and storage medium
CN111125095B (en) Method, device, electronic equipment and medium for adding data prefix
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN113900920A (en) Data processing method and device, electronic equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant