CN112486923A - File updating method, device and system - Google Patents

File updating method, device and system Download PDF

Info

Publication number
CN112486923A
CN112486923A CN202011459246.7A CN202011459246A CN112486923A CN 112486923 A CN112486923 A CN 112486923A CN 202011459246 A CN202011459246 A CN 202011459246A CN 112486923 A CN112486923 A CN 112486923A
Authority
CN
China
Prior art keywords
metadata
file
multimedia
multimedia file
initial
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.)
Pending
Application number
CN202011459246.7A
Other languages
Chinese (zh)
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.)
Beijing Wutong Chelian Technology Co Ltd
Original Assignee
Beijing Wutong Chelian 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 Beijing Wutong Chelian Technology Co Ltd filed Critical Beijing Wutong Chelian Technology Co Ltd
Priority to CN202011459246.7A priority Critical patent/CN112486923A/en
Publication of CN112486923A publication Critical patent/CN112486923A/en
Pending legal-status Critical Current

Links

Images

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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/483Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

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)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a file updating method, device and system, and relates to the technical field of computers. The multimedia client in the method can acquire the completion metadata of the multimedia file from the server and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the application is used for perfecting the metadata of the multimedia file through interaction between the multimedia client and the server, and the user does not need to manually complement the data, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.

Description

File updating method, device and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for updating a file.
Background
The terminal can be provided with a multimedia client which can be used for playing multimedia files such as video files, audio files and the like.
In the related art, when a terminal receives a play instruction for a multimedia file pre-stored in the terminal, the multimedia client plays the multimedia file in response to the play instruction. If the metadata of the multimedia file pre-stored in the terminal is not complete, the playing effect of the multimedia file played by the multimedia client is affected. Therefore, in general, before the multimedia client plays the multimedia file, the user needs to complete the metadata of the multimedia file manually, so that the terminal can update the multimedia file based on the completed metadata. Wherein the metadata of the multimedia file includes: file name, album name, and album cover, etc.
However, since it is inefficient for a user to manually complete metadata of a multimedia file, file update is inefficient in the related art.
Disclosure of Invention
The application provides a file updating method, device and system, which can solve the problem of low file updating efficiency in the related technology. The technical scheme is as follows:
on one hand, the file updating method is applied to a multimedia client; the method comprises the following steps:
acquiring initial metadata of a multimedia file, wherein the multimedia file is an audio file or a video file;
sending the initial metadata of the multimedia file to a server;
receiving completion metadata of the multimedia file sent by the server, wherein the completion metadata is metadata, which is acquired by the server based on the initial metadata and is other than the initial metadata;
updating the multimedia file based on the complementary metadata.
Optionally, the obtaining initial metadata of the multimedia file includes:
responding to a playing instruction aiming at the multimedia file, analyzing the multimedia file to obtain initial metadata of the multimedia file;
or after the multimedia client is started, analyzing the multimedia file to obtain the initial metadata of the multimedia file.
Optionally, the receiving the complementary metadata of the multimedia file sent by the server includes:
and receiving complete metadata of the multimedia file sent by the server, wherein the complete metadata comprises the initial metadata and the complementary metadata.
Optionally, the updating the multimedia file based on the supplementary metadata includes:
and packaging the complementing metadata to the multimedia file to obtain an updated multimedia file.
Optionally, the updating the multimedia file based on the supplementary metadata includes:
displaying an updating interface of the multimedia file, wherein the updating interface displays the initial metadata and the completion metadata, and the initial metadata and the completion metadata both comprise at least one subdata;
and responding to the selection operation aiming at the target subdata in the updating interface, and updating the file name of the multimedia file based on the target subdata.
On the other hand, a file updating method is provided and is applied to a server; the method comprises the following steps:
receiving initial metadata of a multimedia file sent by a multimedia client, wherein the multimedia file is an audio file or a video file;
acquiring complementary metadata of the multimedia file based on the initial metadata, wherein the complementary metadata is metadata except the initial metadata;
sending the completion metadata to the multimedia client, wherein the completion metadata is used for instructing the multimedia client to update the multimedia file based on the completion metadata.
Optionally, the server stores complete metadata of a plurality of files; the obtaining of the complementary metadata of the multimedia file based on the initial metadata includes:
based on the initial metadata, acquiring complete metadata containing the initial metadata, wherein the complete metadata further comprises the completion metadata.
In another aspect, a file updating apparatus is provided, which is applied to a multimedia client; the device comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring initial metadata of a multimedia file, and the multimedia file is an audio file or a video file;
the sending module is used for sending the initial metadata of the multimedia file to a server;
a receiving module, configured to receive complementary metadata of the multimedia file sent by the server, where the complementary metadata is metadata obtained by the server based on the initial metadata and is other than the initial metadata;
and the updating module is used for updating the multimedia file based on the completion metadata.
In another aspect, a file updating apparatus is provided, which is applied to a server; the device comprises:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving initial metadata of a multimedia file sent by a multimedia client, and the multimedia file is an audio file or a video file;
an obtaining module, configured to obtain, based on the initial metadata, complementary metadata of the multimedia file, where the complementary metadata is metadata other than the initial metadata;
a sending module, configured to send the completion metadata to the multimedia client, where the completion metadata is used to instruct the multimedia client to update the multimedia file based on the completion metadata.
In still another aspect, a file updating apparatus is provided, which includes: a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the file update method as described in the above aspect when executing the computer program.
In yet another aspect, a computer-readable storage medium having instructions stored therein is provided, the instructions being loaded and executed by a processor to implement the file update method as described in the above aspect.
In still another aspect, a file update system is provided, which includes: a multimedia client and a server, the multimedia client comprising a file updating apparatus as described in the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the application provides a file updating method, a device and a system, wherein a multimedia client in the method can acquire the completion metadata of a multimedia file from a server and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the application is used for perfecting the metadata of the multimedia file through interaction between the multimedia client and the server, and the user does not need to manually complement the data, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an application scenario of a file updating method provided in an embodiment of the present application;
FIG. 2 is a flowchart of a file updating method according to an embodiment of the present application;
FIG. 3 is a flowchart of another file updating method provided by an embodiment of the present application;
FIG. 4 is a flowchart of another file updating method provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of an application interface of a multimedia client according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an application interface of another multimedia client provided in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a file update apparatus according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of another file update apparatus provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of another file updating apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario of a file updating method according to an embodiment of the present application. Referring to fig. 1, the application scenario may include: a server 01, and one or more terminals 02, for example two terminals 02 are shown in fig. 1. Therein, a multimedia client (which may also be referred to as an application) 021 may be installed in each terminal 02. Also, a communication connection may be established between the server 01 and each of the terminals 02 through a wired or wireless network.
Wherein, the terminal 02 may be a smart phone, a computer, a tablet computer, or a wearable device, etc. Alternatively, the terminal 02 may be an onboard device such as an onboard navigator. The server 01 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. And, the server 01 may be a backend server of the multimedia client 021 installed in the terminal 02.
Fig. 2 is a flowchart of a file updating method according to an embodiment of the present application. The method can be applied to a multimedia client 021 installed in the terminal 02 shown in fig. 1. As can be seen with reference to fig. 1, the method may comprise:
step 101, obtaining initial metadata of a multimedia file.
In the embodiment of the present application, a multimedia client may be installed in the terminal, and the multimedia client may be used to play a multimedia file. The terminal may have a plurality of multimedia files stored therein in advance. The multimedia client may parse a multimedia file from a plurality of multimedia files to obtain initial metadata (metadata) of the multimedia file. The multimedia file may be an audio file or a video file.
Optionally, the multimedia file is an audio file, and the initial metadata of the multimedia file may include: audio name, lyrics, author, album name, and album art. The multimedia file is a video file, and the initial metadata of the multimedia file may include: at least one of a video name and a subtitle.
Step 102, sending the initial metadata of the multimedia file to a server.
In the embodiment of the application, after acquiring the initial metadata of the multimedia file, the multimedia client may send the initial metadata to the server. The server has stored therein complete metadata for a plurality of files. The server may obtain complementary metadata of the multimedia file from a plurality of complete metadata previously stored therein based on the received initial metadata. The complementary metadata acquired by the server may be metadata of the complete metadata of the multimedia file, except the initial metadata.
By way of example, it is assumed that the complete metadata of the multimedia file stored in the server includes: audio name, lyrics, author, album name, album cover, encoding format, bitrate, file format, and file size. And, the initial metadata of the multimedia file received by the server includes an audio name and an album name. Therefore, the server can obtain the completion metadata of the multimedia file according to the initial metadata of the multimedia file, wherein the completion metadata of the multimedia file comprises lyrics, authors, album covers, encoding format, code rate, file format and file size.
And 103, receiving the completion metadata of the multimedia file sent by the server.
In the embodiment of the application, after acquiring the completion metadata of the multimedia file, the server may send the completion metadata of the multimedia file to the multimedia client. Therefore, the multimedia client can receive the complementary metadata of the multimedia file sent by the server.
And 104, updating the multimedia file based on the completion metadata.
In the embodiment of the application, after the multimedia client acquires the complementary metadata of the multimedia file, the multimedia file can be updated based on the complementary metadata, so that the updated metadata of the multimedia file is relatively perfect, and the playing effect of the multimedia file played by the multimedia client is improved.
In summary, the embodiment of the present application provides a file updating method, in which a multimedia client in the method can obtain completion metadata of a multimedia file from a server, and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the embodiment of the application realizes the perfection of the metadata of the multimedia file through the interaction between the multimedia client and the server, and does not need the manual completion of data by a user, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Fig. 3 is a flowchart of another file updating method provided in an embodiment of the present application. The method may be applied to the server 01 shown in fig. 1. Referring to fig. 3, the method may include:
step 201, receiving initial metadata of a multimedia file sent by a multimedia client.
In the embodiment of the present application, a multimedia client may be installed in the terminal, and the multimedia client may be used to play a multimedia file. The terminal may have a plurality of multimedia files stored therein in advance. The multimedia client can acquire initial metadata of a certain multimedia file in a plurality of multimedia files and can send the acquired initial metadata of the multimedia file to the server. Therefore, the server can receive the initial metadata of the multimedia file sent by the multimedia client. The multimedia file may be an audio file or a video file.
Optionally, the multimedia file is an audio file, and the initial metadata of the multimedia file may include: audio name, lyrics, author, album name, and album art. The multimedia file is a video file, and the initial metadata of the multimedia file may include: at least one of a video name and a subtitle.
Step 202, acquiring complementary metadata of the multimedia file based on the initial metadata.
In the embodiment of the present application, the server may store complete metadata of a plurality of multimedia files. After receiving initial metadata of a certain multimedia file sent by a multimedia client, a server may obtain complementary metadata of the multimedia file from a plurality of complete metadata stored in advance based on the initial metadata. The complementing metadata is metadata of the complete metadata of the multimedia file except the initial metadata.
By way of example, it is assumed that the complete metadata of the multimedia file stored in the server includes: audio name, lyrics, author, album name, album cover, encoding format, bitrate, file format, and file size. And, the initial metadata of the multimedia file received by the server includes an audio name and an album name. Therefore, the server can obtain the completion metadata of the multimedia file according to the initial metadata of the multimedia file, wherein the completion metadata of the multimedia file comprises lyrics, authors, album covers, encoding format, code rate, file format and file size.
And step 203, sending the completion metadata to the multimedia client.
In the embodiment of the application, after acquiring the completion metadata of the multimedia file, the server may send the completion metadata to the multimedia client. Therefore, the multimedia client can update the multimedia file according to the received complementary metadata, so that the metadata of the updated multimedia file is more perfect, and the playing effect of the multimedia file played by the multimedia client is improved.
In summary, the embodiment of the present application provides a file updating method, in which a multimedia client in the method can obtain completion metadata of a multimedia file from a server, and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the embodiment of the application realizes the perfection of the metadata of the multimedia file through the interaction between the multimedia client and the server, and does not need the manual completion of data by a user, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Fig. 4 is a flowchart of another file updating method provided in an embodiment of the present application. The method can be applied to the application scenario shown in fig. 1. Referring to fig. 4, the method may include:
step 301, the multimedia client obtains initial metadata of the multimedia file.
In the embodiment of the present application, a multimedia client may be installed in the terminal, and the multimedia client may be used to play a multimedia file. The terminal may have a plurality of multimedia files stored therein in advance. The multimedia client may parse a multimedia file of the plurality of multimedia files to obtain initial metadata of the multimedia file. The multimedia file may be an audio file or a video file.
Optionally, the multimedia file is an audio file, and the initial metadata of the multimedia file may include: audio name, lyrics, author, album name, and album art. The multimedia file is a video file, and the initial metadata of the multimedia file may include: at least one of a video name and a subtitle.
As an alternative implementation manner, the multimedia client may respond to a play instruction for the multimedia file, and parse the multimedia file to obtain the initial metadata of the multimedia file. The playing instruction for the multimedia file may be generated by user triggering or may be automatically generated by the multimedia client.
Optionally, the application interface of the multimedia client displays a file list of a plurality of multimedia files. When a user triggers a click operation on an area where a certain multimedia file in the file list is located, the multimedia client can generate a play instruction for the multimedia file. Therefore, the multimedia client can respond to the playing instruction to analyze the multimedia file so as to obtain the initial metadata of the multimedia file. And, the multimedia client can also respond to the playing instruction to play the multimedia file.
Or, after the multimedia client finishes playing the first multimedia file, the multimedia client can automatically play the second multimedia file, and then the multimedia client can automatically generate a playing instruction for the second multimedia file. Therefore, the multimedia client can respond to the playing instruction aiming at the second multimedia file and analyze the second multimedia file to obtain the initial metadata of the second multimedia file. The second multimedia file is any one of a plurality of multimedia files stored in the terminal except the first multimedia file.
As another optional implementation manner, after the multimedia client is started, the multimedia client may parse the multimedia file to obtain the initial metadata of the multimedia file.
In the embodiment of the application, a plurality of clients can be installed in the terminal, and the icon of each client can be displayed on the display interface of the terminal. When a user triggers a click operation on an icon of a multimedia client in a plurality of clients, the terminal can respond to the click operation to start the multimedia client. And after the multimedia client is started, the multimedia client can automatically analyze the multimedia file pre-stored in the terminal, so as to obtain the initial metadata of the multimedia file.
Step 302, the multimedia client sends the initial metadata of the multimedia file to the server.
In the embodiment of the application, after acquiring the initial metadata of the multimedia file, the multimedia client may send the initial metadata to the server.
For example, assuming that after the multimedia client parses the multimedia client, the obtained initial metadata of the multimedia file includes an audio name and an album name, the multimedia client may send the audio name and the album name of the multimedia file to the server.
Step 303, the server obtains the complementary metadata of the multimedia file based on the initial metadata.
In the embodiment of the application, the server stores complete metadata of a plurality of files. After receiving the initial metadata of the multimedia file sent by the multimedia client, the server may obtain the complementary metadata of the multimedia file from a plurality of complete metadata stored in advance based on the initial metadata. The complementing metadata is metadata of the complete metadata of the multimedia file except the initial metadata. That is, the complete metadata includes the initial metadata and the complementary metadata.
By way of example, it is assumed that the complete metadata of the multimedia file stored in the server includes: audio name, lyrics, author, album name, album cover, encoding format, bitrate, file format, and file size. And, the initial metadata of the multimedia file received by the server includes an audio name and an album name. Therefore, the server can obtain the completion metadata of the multimedia file according to the initial metadata of the multimedia file, wherein the completion metadata of the multimedia file comprises lyrics, authors, album covers, encoding format, code rate, file format and file size.
Optionally, the multimedia client may first obtain complete metadata including the initial metadata based on the initial metadata, and then obtain complementary metadata in the complete metadata, excluding the initial metadata, based on the complete metadata and the initial metadata.
Of course, the initial metadata obtained by the multimedia client analyzing the multimedia file may have a low accuracy of some sub-data. The server may not be able to determine the complete metadata including the initial metadata based on the initial metadata sent by the multimedia client, and thus may not obtain the complementary metadata of the multimedia file.
Therefore, the server can determine complete metadata with the matching degree larger than the threshold value of the matching degree of the initial metadata based on the initial metadata sent by the multimedia client, and obtain the complementary metadata of the multimedia file based on the complete metadata and the initial metadata. The supplementary metadata is metadata of the complete metadata that is different from the original metadata.
The threshold of the matching degree may be a threshold of the matching degree stored in the server in advance. The matching degree of the initial metadata and the complete metadata may be measured by a ratio of the number of matching sub-data of the plurality of sub-data included in the initial metadata to the number of the plurality of sub-data included in the initial metadata. The larger the ratio is, the larger the matching degree of the initial metadata and the complete metadata is; the smaller the ratio, the smaller the matching degree of the initial metadata and the complete metadata. The matching subdata is subdata which is the same as the plurality of subdata of the complete metadata in the plurality of subdata of the initial metadata.
Step 304, the server sends the complementary metadata of the multimedia file to the multimedia client.
In the embodiment of the application, after acquiring the completion metadata of the multimedia file, the server may send the completion metadata to the multimedia client.
Of course, the initial metadata obtained by the multimedia client analyzing the multimedia file may have a low accuracy of some sub-data. Therefore, in order to ensure the accuracy of the metadata of the updated multimedia file, the server may send the complete metadata of the multimedia file to the multimedia client.
Step 305, the multimedia client encapsulates the complementary metadata into the multimedia file to obtain an updated multimedia file.
In this embodiment, the multimedia client receives the completion metadata sent by the server, and then the multimedia client can encapsulate the completion metadata into the multimedia file to obtain the updated multimedia file. Or, the multimedia client receives the complete metadata sent by the server, and then the multimedia client can encapsulate the multimedia file based on the received complete metadata of the multimedia file to obtain an updated multimedia file, so that the accuracy of the metadata of the updated multimedia file is ensured.
Because the updated metadata of the multimedia file is more perfect, the playing effect of the multimedia file played by the multimedia client is better. Moreover, since the updated multimedia file is obtained by the multimedia client by encapsulating according to the metadata (complementary metadata or complete metadata) sent by the server, the metadata of the updated multimedia file is not affected by the replacement of the player or the terminal. Even if the player or the terminal is replaced to play the multimedia file, the more complete metadata of the multimedia file can be used, and good experience of one-time completion and permanent use is achieved.
And step 306, displaying an updating interface of the multimedia file.
In the embodiment of the application, the multimedia client can display the update interface of the multimedia file in the application interface. The update interface may be displayed with initial metadata and complementary metadata. The initial metadata and the complementary metadata each include at least one child data. That is, the update interface may display at least one sub data included in the initial metadata and at least one sub data included in the complementary metadata.
For example, referring to FIG. 5, the plurality of child data displayed by the update interface may include: audio name, author, album name, encoding format, bitrate, file format, and file size.
And 307, responding to the selection operation aiming at the target subdata in the updating interface, and updating the file name of the multimedia file based on the target subdata.
In this embodiment of the application, when a user triggers a selection operation for target sub-data in an update interface, the multimedia client may respond to the selection operation and update a file name of a multimedia file based on the target sub-data. Referring to fig. 5, a selection button a1 for each child data may also be displayed in the update interface. The selection operation may be a click operation of the selection button a1 for updating the target sub data in the interface. Also shown in fig. 5 is a decision button, and when the user triggers a click operation for the decision button a2, the multimedia client may determine that the selection for the target sub data is completed in response to the click operation.
Optionally, the number of the target sub-data may be one or more. If the number of the target subdata is one, the multimedia client can directly determine the target subdata as the file name of the multimedia file.
If the number of the target subdata is multiple, the multimedia client may sort the multiple target subdata according to an execution sequence of the selection operation for the multiple target subdata, and determine the sorted multiple target subdata as the file name of the multimedia file. For example, assuming that the first target sub-data is an audio name, the second target sub-data is an author, and the user triggers a selection operation for the first target sub-data first, and then triggers a selection operation for the second target sub-data, the file name of the multimedia file determined by the multimedia client may be: audio name-author.
Or the multimedia client may store a naming rule of the file name of the multimedia file in advance, and the multimedia client may respond to the selection operation for the target sub-data in the update interface and determine the file name of the multimedia file according to the naming rule. The naming rule of the file name of the multimedia file is used for expressing: the order of the sub-data. For example, suppose the naming rule of the file name of a multimedia file is: an audio name; a file format; an author; the file size, and the target subdata includes an audio name and an author, the file name of the multimedia file determined by the multimedia client may be: audio name-author.
For example, assume that the audio name of a multimedia file is: abcd, authored by YYY. The file name of the multimedia file before update is: ssdsfsdfa. Referring to fig. 6, the file name of the updated multimedia file is abcd-YYY. Wherein, the album cover a3 of the updated multimedia file can also be displayed in the application interface of the multimedia client. Also, referring to fig. 6, the application interface of the multimedia client may also display related information of other multimedia files, for example, file names of two other multimedia files, which are ZZZ and AAA, may be displayed. The file names of the other multimedia files shown in fig. 6 may be file names updated by the method provided in the embodiment of the present application, or may be file names before updating.
It should be noted that the order of the steps of the file updating method provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be correspondingly increased or decreased according to the situation. For example, step 306 and step 307 may be performed before step 305, or step 306 and step 307 may be deleted according to the circumstances, and any method that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application shall be covered by the protection scope of the present application, and thus, the description thereof shall not be repeated.
In summary, the embodiment of the present application provides a file updating method, in which a multimedia client in the method can obtain completion metadata of a multimedia file from a server, and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the embodiment of the application realizes the perfection of the metadata of the multimedia file through the interaction between the multimedia client and the server, and does not need the manual completion of data by a user, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Fig. 7 is a schematic structural diagram of a file updating apparatus according to an embodiment of the present application. The file updating apparatus can be applied to a multimedia client 021 installed in the terminal 02 shown in fig. 1. Referring to fig. 7, the apparatus may include:
an obtaining module 401, configured to obtain initial metadata of the multimedia file.
Wherein, the multimedia file is an audio file or a video file.
A sending module 402, configured to send initial metadata of the multimedia file to the server.
A receiving module 403, configured to receive the complementary metadata of the multimedia file sent by the server. Wherein the complementing metadata is metadata other than the initial metadata, which is acquired by the server based on the initial metadata.
An update module 404 for updating the multimedia file based on the completion metadata.
Optionally, the obtaining module 401 may be configured to:
and responding to the playing instruction aiming at the multimedia file, and analyzing the multimedia file to obtain the initial metadata of the multimedia file. Or after the multimedia client is started, the multimedia file is analyzed to obtain the initial metadata of the multimedia file.
A receiving module 403, which may be configured to: and receiving the complete metadata of the multimedia file sent by the server. The complete metadata includes initial metadata and complementary metadata.
An update module 404, which may be configured to:
packaging the complementary metadata into the multimedia file to obtain an updated multimedia file; and displaying an updating interface of the multimedia file. And in response to the selection operation aiming at the target subdata in the updating interface, updating the file name of the multimedia file based on the target subdata. The updating interface displays initial metadata and completion metadata, and the initial metadata and the completion metadata both comprise at least one subdata.
To sum up, the embodiment of the present application provides a file updating apparatus, where a multimedia client in the apparatus can obtain completion metadata of a multimedia file from a server, and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the embodiment of the application realizes the perfection of the metadata of the multimedia file through the interaction between the multimedia client and the server, and does not need the manual completion of data by a user, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Fig. 8 is a schematic structural diagram of another file updating apparatus according to an embodiment of the present application. The file updating apparatus can be applied to the server 01 shown in fig. 1. As can be seen with reference to fig. 8, the file updating apparatus may include:
a receiving module 501, configured to receive initial metadata of a multimedia file sent by a multimedia client. Wherein, the multimedia file is an audio file or a video file.
An obtaining module 502, configured to obtain complementary metadata of the multimedia file based on the initial metadata. The complementary metadata is metadata other than the initial metadata.
A sending module 503, configured to send the complementary metadata to the multimedia client. The completion metadata is used to instruct the multimedia client to update the multimedia file based on the completion metadata.
Optionally, the server may store complete metadata of a plurality of files. The obtaining module 502 may be configured to: based on the initial metadata, complete metadata including the initial metadata is obtained. The complete metadata also includes complementary metadata.
To sum up, the embodiment of the present application provides a file updating apparatus, where a multimedia client in the apparatus can obtain completion metadata of a multimedia file from a server, and update the multimedia file based on the completion metadata. Therefore, the updated metadata of the multimedia file can be ensured to be perfect, and the playing effect of the multimedia file played by the multimedia client is better. In addition, the file updating method provided by the embodiment of the application realizes the perfection of the metadata of the multimedia file through the interaction between the multimedia client and the server, and does not need the manual completion of data by a user, so that the efficiency of perfecting the metadata is higher, and the updating efficiency of the multimedia file is further improved.
Fig. 9 is a schematic structural diagram of another file updating apparatus provided in an embodiment of the present application, and referring to fig. 9, the apparatus 60 may include: a processor 601, a memory 602, and a computer program stored on the memory 602 and operable on the processor, wherein the processor 601, when executing the computer program, can implement the file updating method provided by the above method embodiments, for example, the method shown in any one of fig. 2 to fig. 4.
The embodiment of the present application provides a computer-readable storage medium, where instructions are stored, and the instructions are loaded and executed by a processor to implement the file updating method provided by the foregoing method embodiment, for example, implement the method shown in any one of fig. 2 to fig. 4.
An embodiment of the present application further provides a file updating system, where the file updating system may include: a multimedia client, which may comprise the file updating apparatus shown in fig. 7 or 9, and a server, which may comprise the file updating apparatus shown in fig. 8 or 9.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A file updating method is characterized in that the method is applied to a multimedia client; the method comprises the following steps:
acquiring initial metadata of a multimedia file, wherein the multimedia file is an audio file or a video file;
sending the initial metadata of the multimedia file to a server;
receiving completion metadata of the multimedia file sent by the server, wherein the completion metadata is metadata, which is acquired by the server based on the initial metadata and is other than the initial metadata;
updating the multimedia file based on the complementary metadata.
2. The method of claim 1, wherein obtaining the initial metadata of the multimedia file comprises:
responding to a playing instruction aiming at the multimedia file, analyzing the multimedia file to obtain initial metadata of the multimedia file;
or after the multimedia client is started, analyzing the multimedia file to obtain the initial metadata of the multimedia file.
3. The method of claim 1, wherein the receiving the complementary metadata of the multimedia file sent by the server comprises:
and receiving complete metadata of the multimedia file sent by the server, wherein the complete metadata comprises the initial metadata and the complementary metadata.
4. The method of any of claims 1 to 3, wherein said updating said multimedia file based on said complementary metadata comprises:
and packaging the complementing metadata to the multimedia file to obtain an updated multimedia file.
5. The method of any of claims 1 to 3, wherein said updating said multimedia file based on said complementary metadata comprises:
displaying an updating interface of the multimedia file, wherein the updating interface displays the initial metadata and the completion metadata, and the initial metadata and the completion metadata both comprise at least one subdata;
and responding to the selection operation aiming at the target subdata in the updating interface, and updating the file name of the multimedia file based on the target subdata.
6. A file updating method is characterized by being applied to a server; the method comprises the following steps:
receiving initial metadata of a multimedia file sent by a multimedia client, wherein the multimedia file is an audio file or a video file;
acquiring complementary metadata of the multimedia file based on the initial metadata, wherein the complementary metadata is metadata except the initial metadata;
sending the completion metadata to the multimedia client, wherein the completion metadata is used for instructing the multimedia client to update the multimedia file based on the completion metadata.
7. The method of claim 6, wherein the server has stored therein complete metadata for a plurality of files; the obtaining of the complementary metadata of the multimedia file based on the initial metadata includes:
based on the initial metadata, acquiring complete metadata containing the initial metadata, wherein the complete metadata further comprises the completion metadata.
8. A file updating device is characterized by being applied to a multimedia client; the device comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring initial metadata of a multimedia file, and the multimedia file is an audio file or a video file;
the sending module is used for sending the initial metadata of the multimedia file to a server;
a receiving module, configured to receive complementary metadata of the multimedia file sent by the server, where the complementary metadata is metadata obtained by the server based on the initial metadata and is other than the initial metadata;
and the updating module is used for updating the multimedia file based on the completion metadata.
9. A file updating device is characterized by being applied to a server; the device comprises:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving initial metadata of a multimedia file sent by a multimedia client, and the multimedia file is an audio file or a video file;
an obtaining module, configured to obtain, based on the initial metadata, complementary metadata of the multimedia file, where the complementary metadata is metadata other than the initial metadata;
a sending module, configured to send the completion metadata to the multimedia client, where the completion metadata is used to instruct the multimedia client to update the multimedia file based on the completion metadata.
10. A file updating apparatus, characterized in that the file updating apparatus comprises: a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the file update method according to any one of claims 1 to 5 or implementing the file update method according to claim 6 or 7 when executing the computer program.
11. A computer-readable storage medium having stored thereon instructions which are loaded and executed by a processor to implement the file update method according to any one of claims 1 to 5, or to implement the file update method according to claim 6 or 7.
12. A file update system, characterized in that the file update system comprises: a multimedia client comprising a file updating apparatus according to claim 8 or 10, and a server comprising a file updating apparatus according to claim 9 or 10.
CN202011459246.7A 2020-12-11 2020-12-11 File updating method, device and system Pending CN112486923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459246.7A CN112486923A (en) 2020-12-11 2020-12-11 File updating method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459246.7A CN112486923A (en) 2020-12-11 2020-12-11 File updating method, device and system

Publications (1)

Publication Number Publication Date
CN112486923A true CN112486923A (en) 2021-03-12

Family

ID=74917553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459246.7A Pending CN112486923A (en) 2020-12-11 2020-12-11 File updating method, device and system

Country Status (1)

Country Link
CN (1) CN112486923A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059812A (en) * 2006-04-20 2007-10-24 联发科技股份有限公司 Method, apparatus, system for generating or updating a metadata of a multimedia file
CN101369281A (en) * 2008-10-09 2009-02-18 湖北科创高新网络视频股份有限公司 Retrieval method based on video abstract metadata
CN102209259A (en) * 2011-06-03 2011-10-05 Tcl集团股份有限公司 Method and system for dynamically generating movie cover wall
CN103442293A (en) * 2013-08-30 2013-12-11 武汉眸博科技有限公司 Method and system for quickly starting playing of network multimedia files
CN103902551A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Information processing method and device and control device
CN103944709A (en) * 2014-03-26 2014-07-23 小米科技有限责任公司 Data synchronization method and device
CN105159691A (en) * 2015-10-30 2015-12-16 北京奇虎科技有限公司 Method and device for updating metadata
CN105843930A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Video search method and device
CN106961626A (en) * 2017-03-13 2017-07-18 福州瑞芯微电子股份有限公司 The method and apparatus that a kind of video metamessage auto-complete is arranged

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059812A (en) * 2006-04-20 2007-10-24 联发科技股份有限公司 Method, apparatus, system for generating or updating a metadata of a multimedia file
CN101369281A (en) * 2008-10-09 2009-02-18 湖北科创高新网络视频股份有限公司 Retrieval method based on video abstract metadata
CN102209259A (en) * 2011-06-03 2011-10-05 Tcl集团股份有限公司 Method and system for dynamically generating movie cover wall
CN103902551A (en) * 2012-12-25 2014-07-02 华为技术有限公司 Information processing method and device and control device
CN103442293A (en) * 2013-08-30 2013-12-11 武汉眸博科技有限公司 Method and system for quickly starting playing of network multimedia files
CN103944709A (en) * 2014-03-26 2014-07-23 小米科技有限责任公司 Data synchronization method and device
CN105159691A (en) * 2015-10-30 2015-12-16 北京奇虎科技有限公司 Method and device for updating metadata
CN105843930A (en) * 2016-03-29 2016-08-10 乐视控股(北京)有限公司 Video search method and device
CN106961626A (en) * 2017-03-13 2017-07-18 福州瑞芯微电子股份有限公司 The method and apparatus that a kind of video metamessage auto-complete is arranged

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘恩涛;张智翔;: "本地视频资源元数据库建设的研究与实践", 图书情报导刊, no. 01, 31 January 2016 (2016-01-31) *

Similar Documents

Publication Publication Date Title
CN109471653B (en) Application program updating method, electronic device, server and storage medium
CN106815370B (en) Method, device and system for updating resource file
CN109947512B (en) Text adaptive display method, device, server and storage medium
CN113055451B (en) Resource downloading method and device, electronic equipment and storage medium
US9792623B2 (en) Advertisement processing method and apparatus
CN111290779B (en) Gray release method and device, storage medium and electronic equipment
CN114329298B (en) Page presentation method and device, electronic equipment and storage medium
CN113254105B (en) Resource processing method and device, storage medium and electronic equipment
US20170187837A1 (en) Ad download method, the client and the server
CN109168012B (en) Information processing method and device for terminal equipment
CN112612977A (en) Page display method, system, device, equipment and storage medium
US20240103928A1 (en) Information processing method and apparatus for animation resource, device, medium and product
CN112104909A (en) Interactive video playing method and device, computer equipment and readable storage medium
CN111506747B (en) File analysis method, device, electronic equipment and storage medium
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN112486923A (en) File updating method, device and system
CN111198853A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114339404A (en) Display method and device of screen protection wallpaper in windows system and electronic equipment
CN108920658B (en) Mobile device desktop moving method and device and electronic device
CN113707179A (en) Audio identification method, device, equipment and medium
CN107911718B (en) Digital television software upgrading method and device and computer readable storage medium
CN112752165A (en) Subtitle processing method, subtitle processing device, server and computer-readable storage medium
CN111147931A (en) Transmission method, device and equipment of TLV (threshold Length value) data packet and readable storage medium
CN108763425B (en) Method and apparatus for storing and reading audio files
US20170171296A1 (en) Method and electronic device for downloading data

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