CN112883205B - Method, medium, device and computing equipment for warehousing multimedia materials - Google Patents

Method, medium, device and computing equipment for warehousing multimedia materials Download PDF

Info

Publication number
CN112883205B
CN112883205B CN202110181399.8A CN202110181399A CN112883205B CN 112883205 B CN112883205 B CN 112883205B CN 202110181399 A CN202110181399 A CN 202110181399A CN 112883205 B CN112883205 B CN 112883205B
Authority
CN
China
Prior art keywords
uploading
multimedia
determining
path
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110181399.8A
Other languages
Chinese (zh)
Other versions
CN112883205A (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.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music 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 Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN202110181399.8A priority Critical patent/CN112883205B/en
Publication of CN112883205A publication Critical patent/CN112883205A/en
Application granted granted Critical
Publication of CN112883205B publication Critical patent/CN112883205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/41Indexing; Data structures therefor; Storage structures
    • 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/43Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Automatic Tape Cassette Changers (AREA)
  • Automatic Disk Changers (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure provides a method, medium, device and computing equipment for warehousing multimedia materials. The method comprises the following steps: acquiring identification information of the multimedia material under the condition that the completion of the uploading of the multimedia material is monitored; determining an uploading address of the multimedia material by utilizing the identification information of the multimedia material; and acquiring the multimedia material from the uploading address, and carrying out warehouse entry processing on the multimedia material. The embodiment of the disclosure can reduce the time delay of warehousing from the hour level to the second level. Compared with the situation that all uploading parties need to be detected in the polling process, the warehouse-in efficiency can be improved.

Description

Method, medium, device and computing equipment for warehousing multimedia materials
Technical Field
Embodiments of the present disclosure relate to the field of information processing technologies, and more particularly, to a method, medium, apparatus, and computing device for warehousing multimedia materials.
Background
This section is intended to provide a background or context to the embodiments of the disclosure recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Currently, in the related art, under the condition that a multimedia server obtains the authorization of a copyright party of multimedia, a multimedia material uploaded by the copyright party of the multimedia can be obtained. Taking songs as an example, the feed may include a meta-information file and the original audio file of the song. The process of the multimedia server side leading the obtained materials into the database is called warehousing. The related technology has serious delay condition in the process of executing the storage of the multimedia materials, so that the multimedia materials cannot be stored in time.
Disclosure of Invention
The disclosure is expected to provide a method, medium, device and computing equipment for warehousing multimedia materials, so as to solve the problem that the warehousing of the multimedia materials is not timely, and improve the warehousing efficiency of the multimedia materials.
In a first aspect of the embodiments of the present disclosure, there is provided a method for warehousing multimedia materials, including:
acquiring identification information of the multimedia material under the condition that the completion of the uploading of the multimedia material is monitored;
determining an uploading address of the multimedia material by utilizing the identification information of the multimedia material;
and acquiring the multimedia material from the uploading address, and carrying out warehouse entry processing on the multimedia material.
In one embodiment of the present disclosure, before determining the upload address of the multimedia material, the method further comprises:
Acquiring verification information of the identification information;
verifying the identification information by using the verification information to obtain a verification result;
and under the condition that the verification result meets the preset condition, continuing to execute the step of determining the uploading address of the multimedia material.
In one embodiment of the present disclosure, determining that the verification result meets a predetermined condition includes:
determining an absolute path of multimedia material uploading contained in the identification information;
acquiring a preset allowable path for uploading the multimedia materials in the verification information;
in the case where the absolute path and the allowable path have the same parent directory, it is determined that the check result meets a predetermined condition.
In one embodiment of the present disclosure, determining that the verification result meets a predetermined condition includes:
determining the directory layer number corresponding to the absolute path of the multimedia material uploading contained in the identification information;
acquiring directory layers corresponding to a preset allowable path for uploading the multimedia materials in the verification information;
and under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path, determining that the check result meets the preset condition.
In one embodiment of the present disclosure, determining that the verification result meets a predetermined condition includes:
Determining a file name format of a notification file contained in the identification information, wherein the notification file is used for representing that the uploading of the multimedia material is completed;
acquiring a preset file name format of a notification file contained in the verification information;
and under the condition that the file name format is successfully matched with the preset file name format, determining that the verification result meets the preset condition.
In one embodiment of the present disclosure, determining an upload address of a multimedia item using identification information of the multimedia item includes:
acquiring an absolute path of multimedia material uploading contained in the identification information;
and taking the address corresponding to the absolute path as an uploading address of the multimedia material.
In one embodiment of the present disclosure, determining an upload address of a multimedia item using identification information of the multimedia item includes:
determining a path corresponding to each folder under the condition that folders exist in absolute paths of uploading of the multimedia materials contained in the identification information;
and respectively determining the path of each folder as the uploading address of the multimedia material.
In one embodiment of the present disclosure, the identification information includes information obtained through a message queue.
In a second aspect of the embodiments of the present disclosure, there is provided a warehouse entry device for multimedia materials, including:
The identification information acquisition module is used for acquiring the identification information of the multimedia materials under the condition that the completion of the uploading of the multimedia materials is monitored;
the uploading address determining module is used for determining the uploading address of the multimedia material by utilizing the identification information of the multimedia material;
and the warehousing module is used for acquiring the multimedia materials from the uploading address and warehousing the multimedia materials.
In one embodiment of the present disclosure, further comprising:
the verification information acquisition module is used for acquiring verification information of the identification information;
the verification module is used for verifying the identification information by utilizing the verification information to obtain a verification result;
and the verification result feedback module is used for continuously executing the step of determining the uploading address of the multimedia material under the condition that the verification result accords with the preset condition.
In one embodiment of the present disclosure, a test result feedback module includes:
an absolute path determining sub-module, configured to determine an absolute path of uploading of the multimedia material contained in the identification information;
the allowable path acquisition sub-module is used for acquiring an allowable path of uploading the scheduled multimedia materials in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the absolute path and the allowed path have the same parent directory.
In one embodiment of the present disclosure, a verification result feedback module includes:
an absolute path directory layer number determining sub-module, configured to determine a directory layer number corresponding to an absolute path uploaded by the multimedia material included in the identification information;
the allowed path directory layer number acquisition sub-module is used for acquiring directory layer numbers corresponding to allowed paths uploaded by the preset multimedia materials in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path.
In one embodiment of the present disclosure, a verification result feedback module includes:
the file name format determining submodule is used for determining the file name format of a notification file contained in the identification information, wherein the notification file is used for representing that the uploading of the multimedia material is completed;
a predetermined file name format obtaining sub-module for obtaining a predetermined file name format of the notification file contained in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the file name format is successfully matched with the preset file name format.
In one embodiment of the present disclosure, an upload address determination module includes:
The absolute path acquisition sub-module is used for acquiring an absolute path of uploading the multimedia materials contained in the identification information;
and the uploading address determination execution sub-module is used for taking the address corresponding to the absolute path as the uploading address of the multimedia material.
In one embodiment of the present disclosure, an upload address determination module includes:
the path determination submodule is used for determining a path corresponding to each folder under the condition that folders exist in absolute paths of uploading of the multimedia materials contained in the identification information;
and the uploading address determination execution sub-module is used for respectively determining the path of each folder as the uploading address of the multimedia material.
In one embodiment of the present disclosure, the identification information includes information obtained through a message queue.
In a third aspect of the disclosed embodiments, a computer readable medium is provided, on which a computer program is stored, which program, when being executed by a processor, implements the steps of the above-mentioned method for warehousing multimedia material.
In a fourth aspect of embodiments of the present disclosure, there is provided a computing device comprising: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of the method for warehousing the multimedia materials when executing the program.
According to the method and the device for warehousing the multimedia materials, which are disclosed by the embodiment of the invention, the uploaded multimedia materials can be timely subjected to warehousing treatment in a monitoring mode. The time delay for binning can be reduced from the hour level to the second level compared to the polling approach. In addition, compared with the situation that the material uploading situation of all uploading parties needs to be detected in the polling process, the embodiment of the application only needs to carry out warehouse entry processing on the finished uploaded multimedia materials, does not need to detect the material uploading situation of all uploading parties in sequence, can reduce the time consumption of the detection process, and further improves warehouse entry efficiency.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
fig. 1 schematically illustrates a flowchart one of a method implementation of warehousing multimedia materials according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a verification process in a warehousing method for multimedia materials according to the present disclosure;
FIG. 3 schematically illustrates a flowchart one of the implementation of step S23 in a verification process according to the present disclosure;
FIG. 4 schematically illustrates a second implementation flowchart of step S23 in a verification process according to the present disclosure;
FIG. 5 schematically illustrates a third implementation flowchart of step S23 in a verification process according to the present disclosure;
fig. 6 schematically illustrates a first implementation flowchart of step S12 in a method for warehousing multimedia materials according to the present disclosure;
fig. 7 schematically illustrates a second implementation flowchart of step S12 in a method for warehousing multimedia materials according to the present disclosure;
fig. 8 schematically illustrates a flowchart two of a method implementation of warehousing multimedia materials according to an embodiment of the present disclosure;
fig. 9 schematically illustrates a schematic diagram of transmitting information in a method of warehousing multimedia materials according to an embodiment of the present disclosure;
fig. 10 schematically illustrates a media schematic of a warehousing method for multimedia materials according to one embodiment of the disclosure;
fig. 11 schematically illustrates a schematic structure of a warehouse entry device for multimedia materials according to an embodiment of the present disclosure;
fig. 12 schematically illustrates a structural schematic diagram of a computing device according to an embodiment of the present disclosure.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are presented merely to enable one skilled in the art to better understand and practice the present disclosure and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Those skilled in the art will appreciate that embodiments of the present disclosure may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the disclosure, a method, medium, device and computing equipment for warehousing multimedia materials are provided.
Any number of elements in the figures are for illustration and not limitation, and any naming is used for distinction only, and not for any limiting sense.
The principles and spirit of the present disclosure are explained in detail below with reference to several representative embodiments thereof.
Summary of The Invention
In the existing multi-media material warehouse-in technology, a timing round inspection mode is adopted to sequentially upload and detect the multi-media materials to the uploading party (the copyright party of the multi-media) of each multi-media material. The mode cannot meet the requirement of efficient material warehouse entry.
In view of the above, the present disclosure provides a method and an apparatus for warehousing multimedia materials, which adopt a trigger mechanism to realize the detection of the uploading of the multimedia materials. For the uploaded multimedia materials, the uploading addresses of the multimedia materials are detected, so that the storage of the multimedia materials can be realized at the first time, and the storage efficiency is improved.
Having described the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are specifically described below.
Exemplary method
A method of warehousing multimedia materials according to an exemplary embodiment of the present disclosure is described below with reference to fig. 1.
As shown in fig. 1, the method for warehousing multimedia materials according to the embodiment of the disclosure includes the following steps:
s11: acquiring identification information of the multimedia material under the condition that the completion of the uploading of the multimedia material is monitored;
S12: determining an uploading address of the multimedia material by utilizing the identification information of the multimedia material;
s13: and acquiring the multimedia material from the uploading address, and carrying out warehouse entry processing on the multimedia material.
The executing party of the steps can be a multimedia exhibiting party, for example, a server of a music playing application program or a server of a video playing application program, etc.
The uploading party of the multimedia material can be a multimedia copyright party, such as a server on the side of a film company, a record company or an author. Alternatively, the uploading party of the multimedia material may be a proxy server on the side of a proxy mechanism, and the proxy mechanism may proxy different movie companies, different record companies, different authors, etc.
The multimedia material may include audio material, video material, text image material, and the like.
Before the multimedia material is transmitted, the multimedia presenter can agree in advance with the uploading party (of the multimedia material) to transmit information. The pre-agreed transmission information may include a transmission protocol, a transmission account number of the uploading party, a name of the uploading party, an allowable path of the uploading of the multimedia material, and the like. The above transmission information items may be associated with each other.
The transfer protocol may include a standard file transfer protocol (FTP, file Transfer Protocol). In addition, other file transfer protocols may be employed.
Illustratively, the name of the uploading party may be a film and television company A1, a record company B1, an author C1, and the like.
The allowed path (of the multimedia material upload) may be an address temporarily stored after the material upload. Illustratively, the allowable path may be "/movie company A1/" or "/record company B1/singer B/" or the like.
The uploading process of the uploading party is exemplarily described below.
The uploading party logs in the material transmission platform of the multimedia display party through the transmission account number.
Taking multimedia material as an example of audio material, the audio material may be in units of (music) albums, including album cover files, song audio files within the albums, album meta information files, and the like.
The uploading party can determine the absolute path of the uploading of the multimedia materials on the material transmission platform of the multimedia display party according to the preset transmission information, so that the audio materials can be temporarily stored to the address corresponding to the absolute path. For example, the uploading party may determine the absolute path by input or by selection. The absolute path may be the same as the previously described allowed path. Alternatively, the absolute path may be a subdirectory of the allowed path. For example, in the case where the allowable path is "/record company B1/", the absolute path may be "/record company B1/singer B1/", "/record company B1/singer B2/", or the like.
After the uploading of the audio materials is completed, the uploading party can also inform the multimedia display party that the uploading of the audio materials is completed in the form of uploading a notification file. The notification file may be uploaded into the allowed path, or the absolute path.
The multimedia presenter can utilize a monitoring mechanism to monitor account information and notification files of the uploaded multimedia materials. For example, the warehouse-in process of the multimedia material can be started under the condition that the completion of uploading the notification file is monitored. Or the multimedia presentation party can also detect the starting moment of uploading by the uploading party, and estimate the moment of finishing material transmission according to the transmission rate. And under the condition that the estimated time of completing transmission is reached, starting a warehouse-in flow of the multimedia material.
Under the condition that the uploading of the multimedia materials is finished is monitored, the multimedia display party can acquire the identification information of the multimedia materials. The identification information may include account information or notification files, etc. According to the identification information, the uploading address of the multimedia material can be determined. For example, an absolute path of the multimedia material may be determined according to the path of the notification file, and then an address corresponding to the absolute path is used as an uploading address of the multimedia material. Or, an allowed path can be determined according to the account information, and an address corresponding to the allowed path is used as an uploading address of the multimedia material.
And acquiring the multimedia material from the uploading address, and carrying out warehouse entry processing on the multimedia material. The warehouse entry processing can comprise the processes of material scanning, material uploading, material analysis, material matching and the like.
Wherein: the material scan is used to obtain information about the multimedia material, such as artist name, album track, etc.
The material uploading is used for acquiring the multimedia material from the uploading address and storing the multimedia material in a multimedia database of the multimedia display party.
Material parsing is used to parse multimedia content from multimedia material, such as album art, songs in an album, and the like.
The material matching is used for matching the analyzed content with the existing catalogue in the multimedia database of the multimedia presenter so as to realize updating. For example, the list of songs of singer b1 may be matched to update new album information for singer b 1.
Through the process, the embodiment of the application can timely carry out warehouse entry processing on the uploaded multimedia materials in a monitoring mode. The time delay for binning can be reduced from the hour level to the second level compared to the polling approach. In addition, compared with the situation that the material uploading situation of all uploading parties needs to be detected in the polling process, the embodiment of the application only needs to carry out warehouse entry processing on the finished uploaded multimedia materials, does not need to detect the material uploading situation of all uploading parties in sequence, can reduce the time consumption of the detection process, and further improves warehouse entry efficiency.
As shown in fig. 2, in one possible implementation, before determining the upload address of the multimedia material, the method further includes:
s21: acquiring verification information of the identification information;
s22: verifying the identification information by using the verification information to obtain a verification result;
s23: and under the condition that the verification result meets the preset condition, continuing to execute the step of determining the uploading address of the multimedia material.
The verification information may include an allowable path in the transmission information pre-agreed by the multimedia presenter and the uploading party.
In addition, the verification information may further include a predetermined file name of the notification file. For example, for the film-television company A1, the predetermined file name of the notification file may be "film-television company a1_transmission completed". For record company B1, the predetermined file name of the notification file may be "record company b1_transmission completed".
In the case where the verification information includes the permission path and a predetermined file name of the notification file, the corresponding information in the identification information may be verified to obtain a verification result.
And under the condition that the verification result meets the preset condition, continuing to execute the step of determining the uploading address of the multimedia material.
The above-mentioned verification may verify the validity of the absolute path determined by the uploading party.
In addition, in the case that the uploading party is a proxy server on the proxy mechanism side, the uploading party may transmit multimedia materials of different record companies, different video companies or different authors during uploading. Through the verification process, the multimedia materials of different record companies, different film and television companies or different authors can be distinguished. The distinguishing process will be described in detail later.
As shown in fig. 3, in a possible implementation manner, the determining that the verification result involved in step S23 meets the predetermined condition includes:
s31: determining an absolute path of multimedia material uploading contained in the identification information;
s32: acquiring a preset allowable path for uploading the multimedia materials in the verification information;
s33: in the case where the absolute path and the allowable path have the same parent directory, it is determined that the check result meets a predetermined condition.
The multimedia presenter may determine an absolute path of the multimedia asset based on the path of the notification file. Alternatively, the absolute path may be determined by reading the content entered or selected by the uploading party. Comparing the absolute path with a preset allowable path uploaded by the multimedia materials in the check information, and determining that the check result meets preset conditions under the condition that the absolute path and the allowable path have the same father catalog.
For example, when the allowable path is "/record company B1/", if the absolute path starts with "/record company B1/", it can be determined that the absolute path has the same parent directory as the allowable path.
Through the scheme, the correctness of the absolute path determined by the uploading party can be checked. The method is favorable for determining the correct uploading address of the multimedia material.
As shown in fig. 4, in a possible implementation manner, the determining that the verification result involved in step S23 meets the predetermined condition includes:
s41: determining the directory layer number corresponding to the absolute path of the multimedia material uploading contained in the identification information;
s42: acquiring directory layers corresponding to a preset allowable path for uploading the multimedia materials in the verification information;
s43: and under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path, determining that the check result meets the preset condition.
In the case of determining the absolute path, the number of directory layers corresponding to the absolute path may be further determined. For example, in the case where the absolute path is "/record company B1/singer B/", the number of directory layers of the absolute path is 3. In the case where the absolute path is "/record company B1/", the directory number of layers of the absolute path is 2.
And comparing the directory layer number corresponding to the absolute path with the directory layer number corresponding to the allowed path, and determining that the check result meets the preset condition under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path.
That is, the absolute path may be the same as the allowed path. Alternatively, the absolute path may be a subdirectory of the allowed path.
By the scheme, the absolute path can be checked by using the directory layer number. The matching of the absolute path with the allowed path is satisfied.
As shown in fig. 5, in a possible implementation manner, the determining that the verification result involved in step S23 meets the predetermined condition includes:
s51: determining a file name format of a notification file contained in the identification information, wherein the notification file is used for representing that the uploading of the multimedia material is completed;
s52: acquiring a preset file name format of a notification file contained in the verification information;
s53: and under the condition that the file name format is successfully matched with the preset file name format, determining that the verification result meets the preset condition.
The notification file is used for representing that the uploading of the multimedia material is completed. Under the condition that the completion of the uploading of the multimedia materials is monitored, a notification file can be acquired. So that the file name format of the notification file can be determined.
The predetermined file name of the notification file contained in the verification information may characterize different uploaders.
The matching mode can adopt regular matching. That is, in the case where the file name format of the notification file contains a predetermined file name format of the notification file, it may be determined that the matching is successful. For example, the predetermined file name format of the notification file may be "record company b1_transmission completed". If the file name format of the notification file contains the above text, the matching can be considered successful. For example, "record company b1_singer b1_transmission completed", "record company b1_singer b2_transmission completed", and the like can be regarded as successful matching.
Through the scheme, under the condition that the uploading party transmits various multimedia materials, the multimedia materials can be distinguished according to the file name of the notification file.
As shown in fig. 6, in a possible implementation manner, the determining, by using the identification information of the multimedia material, the uploading address of the multimedia material includes:
s61: acquiring an absolute path of multimedia material uploading contained in the identification information;
s62: and taking the address corresponding to the absolute path as an uploading address of the multimedia material.
Taking multimedia material as an example of a music album. For example, the uploading party may upload the corresponding notification file after each music album is transmitted. Alternatively, one notification file may be transmitted after the transmission of a plurality of music albums is completed.
By analyzing the notification file in the identification information, the absolute path of the notification file can be obtained. And determining the absolute path of the corresponding multimedia material uploading by using the absolute path of the notification file.
For example, a scan test may be performed on an address corresponding to an absolute path of the notification file to determine whether a folder is still present in the address corresponding to the absolute path.
In the case that no folder exists in the address corresponding to the absolute path, it may indicate that the notification file is identical to the absolute path of the single music album, that is, the notification file characterizes that the uploading of the single music album identical to the absolute path is completed. Therefore, the address corresponding to the absolute path of the multimedia material uploading can be used as the uploading address of the multimedia material.
Through the scheme, the uploading address of the multimedia material can be accurately determined by using the path of the notification file.
As shown in fig. 7, in a possible implementation manner, the determining, by using the identification information of the multimedia material, the uploading address of the multimedia material includes:
s71: determining a path corresponding to each folder under the condition that folders exist in absolute paths of uploading of the multimedia materials contained in the identification information;
s72: and respectively determining the path of each folder as the uploading address of the multimedia material.
Still take multimedia material as a music album as an example. And under the condition that the folder exists in the address corresponding to the absolute path, notifying that the file characterizes that the uploading of the folder in the address corresponding to the absolute path is completed. That is, the folder may be regarded as a music album.
If there are multiple folders in the address corresponding to the absolute path, each folder may correspond to a music album. What the notification file characterizes is that all the folders in the address corresponding to the absolute path have been uploaded.
In the above case, a folder path obtaining instruction may be used to obtain an absolute path corresponding to each folder. And respectively determining the absolute path of each folder as the uploading address of the multimedia material.
Through the scheme, the uploading address of the multimedia material can be accurately determined by using the path of the notification file.
In one possible implementation, the identification information includes information obtained through a message queue.
Message queues support asynchronous processing of information. For example, priorities may be assigned in advance to different uploads or different uploaded contents. For example, record company B1 has a higher priority than record company B2. Singer b1 has a higher priority than singer b2, etc. When the storage is carried out, the multimedia materials with high priority can be processed preferentially. So as to realize the priority storage of important multimedia materials.
Or, in the service high-sending period, the multimedia materials to be put in storage can be processed in batches according to the message queue, so that the load of a multimedia display party can be reduced.
As shown in fig. 8, in one possible implementation manner, the method for warehousing the multimedia materials of the present application may include the following steps:
the multimedia presenter initially communicates with the uploading party of the multimedia material to form pre-agreed transmission information (corresponding to the channel-account configuration of fig. 8). As shown in fig. 9, both parties agree on transmission information, which may include an FTP account number, an allowable path, a predetermined file name of a notification file, a location of the notification file (in an album directory or outside the album directory), and the like.
The multimedia display party inputs the information of channel-account configuration, and opens a corresponding FTP account for the uploading party to carry out material transmission.
The uploading party logs in the FTP account numbers (corresponding to the accounts 1 to 4 in fig. 8) by using different channels (corresponding to the channels 1 to 4 in fig. 8). An absolute path is determined from the allowed paths in the transmission information. And uploading an album material packet including an album cover file, a song audio file and an album meta information file to an address corresponding to the absolute path.
After confirming that the uploading of the album material packet is completed, the uploading party transmits a notification file to the address corresponding to the absolute path.
The multimedia presenter uses the file uploading monitoring subsystem to trigger an event message by a message queue mode under the condition that the notification file is monitored by the mode of expanding the FTP service. The event message may include an FTP account number and an absolute path of the notification file.
The multimedia display party acquires the event message and performs warehousing pretreatment service. The warehousing pretreatment service comprises the step of comparing the information with the entered channel-account configuration information to realize verification. The check may include whether the absolute path exists the same parent directory as the allowed path, whether the number of layers of the absolute path is greater than the number of layers of the allowed path, whether the name of the notification file matches a predetermined file name of the notification file, and the like.
And triggering the warehouse-in process under the condition that the verification is passed, and executing the warehouse-in process of the multimedia materials.
Exemplary Medium
Having described the method of an exemplary embodiment of the present disclosure, next, a medium of an exemplary embodiment of the present disclosure will be described with reference to fig. 10.
In some possible implementations, various aspects of the present disclosure may also be implemented as a computer-readable medium having a program stored thereon, which when executed by a processor is configured to implement the steps in the song recommendation list generation method according to various exemplary embodiments of the present disclosure described in the above "exemplary method" section of the present description.
Specifically, the processor is configured to implement the following steps when executing the program: acquiring identification information of the multimedia material under the condition that the completion of the uploading of the multimedia material is monitored; determining an uploading address of the multimedia material by utilizing the identification information of the multimedia material; and acquiring the multimedia material from the uploading address, and carrying out warehouse entry processing on the multimedia material.
It should be noted that: the medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As shown in fig. 10, a medium 100 according to an embodiment of the present disclosure is depicted that may employ a portable compact disc read-only memory (CD-ROM) and include a program and may run on a device. However, the disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take many forms, including, but not limited to: electromagnetic signals, optical signals, or any suitable combination of the preceding. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the context of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN).
Exemplary apparatus
Having described the media of the exemplary embodiments of the present disclosure, next, an apparatus of the exemplary embodiments of the present disclosure will be described with reference to fig. 11.
As shown in fig. 11, the warehouse entry device of the multimedia material according to the embodiment of the disclosure may include:
the identification information obtaining module 111 is configured to obtain identification information of the multimedia material when the completion of the uploading of the multimedia material is monitored;
an upload address determining module 112, configured to determine an upload address of the multimedia material using the identification information of the multimedia material;
and the warehousing module 113 is used for acquiring the multimedia materials from the uploading address and warehousing the multimedia materials.
In one possible embodiment, the storage device for multimedia materials may further include:
a verification information acquisition module 121 for acquiring verification information of the identification information;
the verification module 122 is configured to verify the identification information by using the verification information to obtain a verification result;
and the check result feedback module 123 is configured to continuously perform the step of determining the uploading address of the multimedia material if the check result meets the predetermined condition.
In one possible implementation, the test result feedback module 123 may further include:
An absolute path determining submodule 1231, configured to determine an absolute path of uploading the multimedia material contained in the identification information;
an allowable path acquisition submodule 1232, configured to acquire an allowable path for uploading a predetermined multimedia material in the verification information;
the determination result generation sub-module 1233 is configured to determine that the check result meets a predetermined condition in the case where the absolute path and the allowable path have the same parent directory.
In one possible implementation, the verification result feedback module 123 may further include:
an absolute path directory layer number determining submodule 1234 for determining the directory layer number corresponding to the absolute path uploaded by the multimedia material contained in the identification information;
the allowed path directory layer number obtaining submodule 1235 is used for obtaining directory layer numbers corresponding to allowed paths uploaded by the scheduled multimedia materials in the check information;
the determining result generating sub-module 1233 may be further configured to determine that the check result meets the predetermined condition when the number of directory layers corresponding to the absolute path is not less than the number of directory layers corresponding to the allowed path.
In one possible implementation, the verification result feedback module 123 may further include:
a file name format determining submodule 1236, configured to determine a file name format of a notification file included in the identification information, where the notification file is used to characterize that the uploading of the multimedia material is completed;
A predetermined file name format acquiring sub-module 1237 for acquiring a predetermined file name format of the notification file contained in the verification information;
the determination result generation sub-module 1233 may be further configured to determine that the verification result meets the predetermined condition in the case where the file name format is successfully matched with the predetermined file name format.
In one possible implementation, the upload address determination module 112 may further include:
an absolute path obtaining submodule 1121, configured to obtain an absolute path of uploading the multimedia material contained in the identification information;
the upload address determination execution submodule 1122 is configured to use an address corresponding to the absolute path as an upload address of the multimedia material.
In one possible implementation, the upload address determination module 112 may further include:
a path determining submodule 1123, configured to determine a path corresponding to each folder when a folder exists in an absolute path of uploading the multimedia material included in the identification information;
the upload address determination execution submodule 1122 is further configured to determine a path of each folder as an upload address of the multimedia material, respectively.
In one possible implementation, the identification information includes information obtained through a message queue.
Exemplary computing device
Having described the methods, media, and apparatus of exemplary embodiments of the present disclosure, a computing device of exemplary embodiments of the present disclosure is next described with reference to fig. 12.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
In some possible implementations, a computing device according to embodiments of the present disclosure may include at least one processing unit and at least one storage unit. Wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the steps in the song recommendation list generation method according to various exemplary embodiments of the present disclosure described in the above section of the "exemplary method" of the present specification.
A computing device 120 according to such an implementation of the present disclosure is described below with reference to fig. 12. The computing device 120 shown in fig. 12 is merely an example and should not be taken as limiting the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 12, computing device 120 is in the form of a general purpose computing device. Components of computing device 120 may include, but are not limited to: the at least one processing unit 1201, the at least one memory unit 1202, and a bus 1203 connecting the different system components (including the processing unit 1201 and the memory unit 1202).
Bus 1203 includes a data bus, a control bus, and an address bus.
The storage unit 1202 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 12021 and/or cache memory 12022, and may further include readable media in the form of nonvolatile memory, such as Read Only Memory (ROM) 12023.
The storage unit 1202 may also include a program/utility 12025 having a set (at least one) of program modules 12024, such program modules 12024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The computing device 120 may also communicate with one or more external devices 1204 (e.g., keyboard, pointing device, etc.). Such communication may occur through an input/output (I/O) interface 1205. Moreover, computing device 120 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1206. As shown in FIG. 12, network adapter 1206 communicates with other modules of computing device 120 via bus 1203. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computing device 120, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
It should be noted that although in the above detailed description several units/modules or sub-units/sub-modules of a warehouse entry device for multimedia material are mentioned, such a division is only exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present disclosure. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Furthermore, although the operations of the methods of the present disclosure are depicted in the drawings in a particular order, this is not required to or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that this disclosure is not limited to the particular embodiments disclosed nor does it imply that features in these aspects are not to be combined to benefit from this division, which is done for convenience of description only. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (16)

1. A method for warehousing multimedia materials, comprising:
under the condition of utilizing the monitored notification file, acquiring the identification information of the multimedia material under the condition of confirming that the uploading of the multimedia material is completed; the identification information comprises an absolute path of the multimedia material uploading and a file name format of the notification file; determining a file name format of the notification file contained in the identification information, wherein the notification file is used for representing that the uploading of the multimedia material is completed;
verifying the identification information of the multimedia material by utilizing the verification information to determine the uploading address of the multimedia material; the verification information comprises a preset allowable path for uploading the multimedia material and a preset file name format of a notification file;
acquiring the multimedia material from the uploading address, and warehousing the multimedia material;
before the determining the uploading address of the multimedia material, the method further comprises:
checking the identification information by using the acquired checking information of the identification information, and determining that a checking result meets a preset condition;
determining that the verification result meets the predetermined condition comprises:
Determining an absolute path of multimedia material uploading contained in the identification information;
acquiring a preset allowable path for uploading the multimedia materials in the verification information;
and determining that the check result meets the preset condition under the condition that the absolute path and the allowed path have the same parent directory.
2. The method of claim 1, further comprising, prior to said determining the upload address of the multimedia item:
and under the condition that the verification result meets the preset condition, continuing to execute the step of determining the uploading address of the multimedia material.
3. The method of claim 1, wherein determining that the verification result meets the predetermined condition comprises:
determining the directory layer number corresponding to the absolute path of the multimedia material uploading contained in the identification information;
acquiring directory layers corresponding to a preset allowable path for uploading the multimedia materials in the verification information;
and under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path, determining that the check result meets the preset condition.
4. The method of claim 1, wherein determining that the verification result meets the predetermined condition comprises:
Acquiring a preset file name format of the notification file contained in the verification information;
and under the condition that the file name format is successfully matched with the preset file name format, determining that the verification result meets the preset condition.
5. The method of claim 1, wherein determining the upload address of the multimedia item using the identification information of the multimedia item comprises:
acquiring an absolute path of multimedia material uploading contained in the identification information;
and taking the address corresponding to the absolute path as an uploading address of the multimedia material.
6. The method according to claim 1 or 5, wherein determining the upload address of the multimedia material using the identification information of the multimedia material comprises:
determining a path corresponding to each folder under the condition that the folder exists in the absolute path of the uploading of the multimedia materials contained in the identification information;
and respectively determining the path of each folder as the uploading address of the multimedia material.
7. The method of any of claims 1 to 5, wherein the identification information comprises information obtained through a message queue.
8. A warehouse entry device for multimedia materials, comprising:
the identification information acquisition module is used for acquiring the identification information of the multimedia material under the condition that the completion of the uploading of the multimedia material is confirmed by utilizing the monitored notification file; the identification information comprises an absolute path of the multimedia material uploading and a file name format of the notification file;
a file name format determining sub-module, configured to determine a file name format of a notification file included in the identification information, where the notification file is used to characterize that the multimedia material has been uploaded;
the uploading address determining module is used for checking the identification information of the multimedia materials by using the checking information so as to determine the uploading address of the multimedia materials; the verification information comprises a preset allowable path for uploading the multimedia material and a preset file name format of a notification file;
the warehousing module is used for acquiring the multimedia materials from the uploading address and warehousing the multimedia materials;
the verification information acquisition module is used for acquiring verification information of the identification information;
the verification module is used for verifying the identification information by utilizing the verification information to obtain a verification result;
The checked result feedback module comprises:
an absolute path determining sub-module, configured to determine an absolute path of uploading the multimedia material contained in the identification information;
the allowable path acquisition sub-module is used for acquiring an allowable path of uploading the scheduled multimedia materials in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the absolute path and the allowed path have the same parent directory.
9. The apparatus as recited in claim 8, further comprising:
and the verification result feedback module is used for continuously executing the step of determining the uploading address of the multimedia material under the condition that the verification result meets the preset condition.
10. The apparatus of claim 9, wherein the verification result feedback module comprises:
the allowed path directory layer number acquisition sub-module is used for acquiring directory layer numbers corresponding to the allowed paths uploaded by the preset multimedia materials in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the directory layer number corresponding to the absolute path is not smaller than the directory layer number corresponding to the allowed path.
11. The apparatus of claim 9, wherein the verification result feedback module comprises:
a predetermined file name format obtaining sub-module, configured to obtain a predetermined file name format of the notification file included in the verification information;
and the judging result generating sub-module is used for determining that the checking result meets the preset condition under the condition that the file name format is successfully matched with the preset file name format.
12. The apparatus of claim 8, wherein the upload address determination module comprises:
an absolute path obtaining sub-module, configured to obtain an absolute path of uploading the multimedia material contained in the identification information;
and the uploading address determination execution sub-module is used for taking the address corresponding to the absolute path as the uploading address of the multimedia material.
13. The apparatus according to claim 8 or 12, wherein the upload address determination module comprises:
the path determining submodule is used for determining a path corresponding to each folder under the condition that the folder exists in the absolute path of the uploading of the multimedia materials contained in the identification information;
and the uploading address determination execution sub-module is used for respectively determining the path of each folder as the uploading address of the multimedia material.
14. The apparatus according to any one of claims 8 to 12, wherein the identification information comprises information obtained through a message queue.
15. A medium storing a computer program, which when executed by a processor implements the method of any one of claims 1 to 7.
16. A computing device, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
CN202110181399.8A 2021-02-09 2021-02-09 Method, medium, device and computing equipment for warehousing multimedia materials Active CN112883205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110181399.8A CN112883205B (en) 2021-02-09 2021-02-09 Method, medium, device and computing equipment for warehousing multimedia materials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110181399.8A CN112883205B (en) 2021-02-09 2021-02-09 Method, medium, device and computing equipment for warehousing multimedia materials

Publications (2)

Publication Number Publication Date
CN112883205A CN112883205A (en) 2021-06-01
CN112883205B true CN112883205B (en) 2023-05-12

Family

ID=76056400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110181399.8A Active CN112883205B (en) 2021-02-09 2021-02-09 Method, medium, device and computing equipment for warehousing multimedia materials

Country Status (1)

Country Link
CN (1) CN112883205B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626466B (en) * 2021-08-10 2022-04-15 深圳市玄羽科技有限公司 Material management method and system based on industrial internet and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895536A (en) * 2010-06-30 2010-11-24 北京新媒传信科技有限公司 Multimedia information sharing method
WO2015179683A2 (en) * 2014-05-23 2015-11-26 Radeeus, Inc. Multimedia digital content retrieval, matching, and syncing systems and methods of using the same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369520B2 (en) * 2012-08-19 2016-06-14 Box, Inc. Enhancement of upload and/or download performance based on client and/or server feedback information
CN103440295A (en) * 2013-08-20 2013-12-11 乐视网信息技术(北京)股份有限公司 Method for uploading multimedia files and electronic terminal
CN108512814B (en) * 2017-02-28 2021-02-05 腾讯科技(北京)有限公司 Media data processing method, device and system
CN110844444A (en) * 2019-10-14 2020-02-28 安徽继远软件有限公司 Warehouse material warehouse-in and warehouse-out management method and system
CN112203118B (en) * 2020-12-03 2021-03-09 粒子文化科技集团(杭州)股份有限公司 Multimedia resource distribution method, device, electronic device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895536A (en) * 2010-06-30 2010-11-24 北京新媒传信科技有限公司 Multimedia information sharing method
WO2015179683A2 (en) * 2014-05-23 2015-11-26 Radeeus, Inc. Multimedia digital content retrieval, matching, and syncing systems and methods of using the same

Also Published As

Publication number Publication date
CN112883205A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US8527950B2 (en) Verification of software applications
CN113342745B (en) Mirror image file verification method and device, electronic equipment and storage medium
US9912747B2 (en) Browser and system for download and download method
US11743306B2 (en) Intelligent screen and resource sharing during a meeting
CN102007509A (en) Inserting a multimedia file through a web-based desktop productivity application
US9069771B2 (en) Music recognition method and system based on socialized music server
US10061863B2 (en) Asset manager
CN110866193A (en) Feedback method, device and equipment based on online document comment and storage medium
US20150100582A1 (en) Association of topic labels with digital content
CN112769802A (en) Access verification method and device based on server, electronic equipment and storage medium
CN112883205B (en) Method, medium, device and computing equipment for warehousing multimedia materials
US20130013987A1 (en) System and method for linking web documents
CN110570293A (en) method, device, server and storage medium for reimbursing collected invoices
US9946805B2 (en) System and method for displaying services capable of pasting document stored on a cloud-based cross-clipboard
CN114449047A (en) File data processing method and device
CN105765570A (en) Music identification
US20150067459A1 (en) Identifying extra material in companion content
CA2710114C (en) Digital content supply system
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
US10162488B1 (en) Browser-based media scan
CN113329091B (en) Data management method and device, storage medium and electronic equipment
CN111367703B (en) Fault checking method and device
CN113407339A (en) Resource request feedback method and device, readable storage medium and electronic equipment
CN115620877A (en) Method, system, equipment and storage medium for uploading medical data to cloud platform
US9087127B1 (en) Method for providing an integrated video module

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