CN116150413B - Multimedia resource display method and device - Google Patents
Multimedia resource display method and device Download PDFInfo
- Publication number
- CN116150413B CN116150413B CN202310128770.3A CN202310128770A CN116150413B CN 116150413 B CN116150413 B CN 116150413B CN 202310128770 A CN202310128770 A CN 202310128770A CN 116150413 B CN116150413 B CN 116150413B
- Authority
- CN
- China
- Prior art keywords
- display
- multimedia resource
- training sample
- information
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012549 training Methods 0.000 claims description 116
- 239000013598 vector Substances 0.000 claims description 33
- 238000010200 validation analysis Methods 0.000 claims description 9
- 238000010276 construction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 14
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 239000000463 material Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 238000010187 selection method Methods 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a method and a device for displaying multimedia resources, which relate to the technical field of data processing, and the main technical scheme comprises the following steps: responding to a display instruction of a target multimedia resource, and acquiring corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one piece of display demand information, and the display demand information is input into the preset display demand library through a preset display template; according to the display demand information, corresponding target multimedia resources are generated, the target multimedia resources containing the display demand information are displayed, and compared with the prior art that when the multimedia resources are displayed in a large quantity, the manual mode is used for configuring the workload of displaying the demand information, and the error rate is high, the automatic identification and input of the display demand information are realized through the preset display template, and the efficiency of displaying the multimedia resources is improved.
Description
Technical Field
The disclosure relates to the technical field of data processing, and in particular relates to a method and a device for displaying multimedia resources.
Background
In the related art, when the multimedia resource is displayed, the display requirement information of the multimedia resource needs to be manually configured in advance for being called when the multimedia resource is displayed, and the display requirement information is displayed in the multimedia resource. When the multimedia resources are displayed in a large batch, the workload of displaying the demand information is large and the efficiency is low through manual configuration.
Disclosure of Invention
The disclosure provides a method and a device for displaying multimedia resources, which at least solve the problems of large workload and low efficiency of configuring display requirement information in a manual mode when the multimedia resources are displayed in a large scale in the related technology.
The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a method for displaying a multimedia resource, including:
Responding to a display instruction of a target multimedia resource, and acquiring corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one piece of display demand information, and the display demand information is input into the preset display demand library through a preset display template;
generating corresponding target multimedia resources according to the display demand information;
and displaying the target multimedia resource containing the display demand information.
In some embodiments of the present disclosure, before obtaining the corresponding display requirement information from the preset display requirement library according to the identification information of the target multimedia resource, the method further includes:
Constructing the preset display template, wherein the preset display template comprises attribute fields, and the attribute fields comprise: a multimedia resource category field, a presentation success condition field, a validity period field, and a multimedia resource validation object field;
Generating display demand information corresponding to the identification information of the target multimedia resource based on attribute fields in the preset display template respectively;
and storing the generated display demand information in the preset display demand library.
In some embodiments of the present disclosure, the exposing the target multimedia resource containing the exposure requirement information includes:
confirming target description information corresponding to the target multimedia resources based on a preset display model, wherein one multimedia resource category corresponds to at least one target description information;
And displaying the target multimedia resource according to the target description information.
In some embodiments of the present disclosure, before confirming the target description information corresponding to the target multimedia resource based on a preset presentation model, the method further includes:
acquiring a first training sample, wherein the first training sample is historical display data of a target multimedia resource;
acquiring a second training sample, wherein the second training sample is display data of different target multimedia resources respectively displayed to different watching objects;
acquiring a third training sample, wherein the third training sample is historical display data of a similar multimedia resource similar to the target multimedia resource; the first training sample, the second training sample and the third training sample all comprise at least one target description information;
And respectively inputting the first training sample, the second training sample and the third training sample into a preset display model for training to obtain the trained preset display model.
In some embodiments of the present disclosure, inputting the first training sample, the second training sample, and the third training sample into a preset display model for training, respectively, so as to obtain the trained preset display model includes:
Respectively extracting features of the first training sample, the second training sample and the third training sample to obtain corresponding first feature vectors, second feature vectors and third feature vectors;
Training the first feature vector, the second feature vector and the third feature vector based on a preset multimedia resource display index to obtain the preset display model.
According to a second aspect of the embodiments of the present disclosure, there is provided a display device for a multimedia resource, including:
The display demand information acquisition unit is configured to execute a display instruction responding to a target multimedia resource, and acquire corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one display demand information, and the display demand information is input into the preset display demand library through a preset display template;
a first generation unit configured to perform generation of a corresponding target multimedia resource according to the presentation demand information;
And the display unit is configured to display the target multimedia resource containing the display requirement information.
In some embodiments of the present disclosure, the apparatus further comprises:
the construction unit is configured to construct the preset display template before acquiring corresponding display requirement information from a preset display requirement library according to the identification information of the target multimedia resource, wherein the preset display template comprises attribute fields, and the attribute fields comprise: a multimedia resource category field, a presentation success condition field, a validity period field, and a multimedia resource validation object field;
The second generation unit is configured to execute the generation of display requirement information corresponding to the identification information of the target multimedia resource based on the attribute fields in the preset display template respectively;
And the storage unit is configured to store the generated display demand information in the preset display demand library.
In some embodiments of the present disclosure, the display unit includes:
the confirming module is configured to execute the confirmation of the target description information corresponding to the target multimedia resources based on a preset display model, wherein one multimedia resource category corresponds to at least one target description information;
And the display module is configured to display the target multimedia resource according to the target description information.
In some embodiments of the present disclosure, the apparatus further comprises:
the acquisition unit is configured to acquire a first training sample before confirming target description information corresponding to the target multimedia resource based on a preset display model, wherein the first training sample is historical display data of the target multimedia resource;
The acquisition unit is further configured to perform acquisition of a second training sample, wherein the second training sample is display data for respectively displaying different target multimedia resources to different viewing objects;
the acquisition unit is further configured to perform acquisition of a third training sample, wherein the third training sample is historical display data of a similar multimedia resource similar to the target multimedia resource; the first training sample, the second training sample and the third training sample all comprise at least one target description information;
The training unit is configured to perform training by respectively inputting the first training sample, the second training sample and the third training sample into a preset display model so as to obtain the trained preset display model.
In some embodiments of the present disclosure, the training unit includes:
The acquisition module is configured to perform feature extraction on the first training sample, the second training sample and the third training sample respectively to acquire corresponding first feature vectors, second feature vectors and third feature vectors;
the training module is configured to perform training on the first feature vector, the second feature vector and the third feature vector based on a preset multimedia resource display index to obtain the preset display model.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of presentation of a multimedia asset as described in any one of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform a method of exposing a multimedia resource as described in any one of the first aspects above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
In the embodiment of the disclosure, in response to a display instruction of a target multimedia resource, corresponding display demand information is obtained from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one display demand information, and the display demand information is input into the preset display demand library through a preset display template; according to the display demand information, corresponding target multimedia resources are generated, the target multimedia resources containing the display demand information are displayed, and compared with the prior art that when the multimedia resources are displayed in a large quantity, the manual mode is used for configuring the workload of displaying the demand information, and the error rate is high, the automatic identification and input of the display demand information are realized through the preset display template, and the efficiency of displaying the multimedia resources is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a flowchart illustrating a method of exposing a multimedia asset according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating another method of presentation of a multimedia asset according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating another method of presentation of a multimedia asset, according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating another method of presentation of a multimedia asset, according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating another method of presentation of a multimedia asset, according to an exemplary embodiment;
FIG. 6 is a block diagram of a presentation device of a multimedia asset, shown according to an exemplary embodiment;
FIG. 7 is a block diagram of a presentation device of a multimedia asset, shown in accordance with an exemplary embodiment;
FIG. 8 is a block diagram of an electronic device, shown in accordance with an exemplary embodiment;
fig. 9 is a block diagram of another electronic device, shown in accordance with an exemplary embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, the user information and data related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 is a flowchart illustrating a method for exposing multimedia resources according to an exemplary embodiment, as shown in fig. 1, including the following steps.
Step S101, responding to a display instruction of a target multimedia resource, and acquiring corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one piece of display demand information, and the display demand information is input into the preset display demand library through a preset display template.
The embodiment of the disclosure can be applied to an application scene of multimedia resource delivery and a server side.
When the embodiment of the disclosure executes pushing of the multimedia resource, the display requirement information of the multimedia resource needs to be configured in advance, the display requirement information is flexibly configured according to the actual requirements of different multimedia resources, and the embodiment of the disclosure does not limit the specific content of the display requirement information.
However, although the specific content of the display requirement information varies according to the multimedia resource providers, the attribute fields contained in the display requirement information are uniform, and mainly comprise the following fields: a multimedia resource category field, a presentation success condition field, a validity period field and a multimedia resource validation object field.
In order to improve efficiency of entering display requirement information, the embodiment of the disclosure performs entry in an actual application process by means of a preset display template, wherein the preset display template is provided with fields (including a multimedia resource category field, a display success condition field, a validity period field and a multimedia resource effective object field) corresponding to the display requirement information.
Step S102, corresponding target multimedia resources are generated according to the display demand information.
Based on the display requirement information obtained in the step 101, the obtained display requirement information needs to be identified, keywords corresponding to each field in the display requirement information are obtained, and corresponding target multimedia resources are generated according to the keywords obtained by identification in the display requirement information.
Step S103, displaying the target multimedia resources containing the display requirement information.
In the embodiment of the disclosure, the display path and the display form of the target multimedia resource are not limited, for example, the display path and the display form of the target multimedia resource may be displayed in the e-commerce platform 1, the e-commerce platform 2, and/or the e-commerce platform 3, and the display path and the display form of the target multimedia resource are not limited, where the display path and the display form of the target multimedia resource are displayed in a video form (or material), a web page form, a picture form, a link form, a control form, and the like in the e-commerce platform 1, the e-commerce platform 2, and/or the e-commerce platform 3.
In the embodiment of the disclosure, in response to a display instruction of a target multimedia resource, corresponding display demand information is obtained from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one display demand information, and the display demand information is input into the preset display demand library through a preset display template; according to the display demand information, corresponding target multimedia resources are generated, the target multimedia resources containing the display demand information are displayed, and compared with the prior art that when the multimedia resources are displayed in a large quantity, the manual mode is used for configuring the workload of displaying the demand information, and the error rate is high, the automatic identification and input of the display demand information are realized through the preset display template, and the efficiency of displaying the multimedia resources is improved.
In some embodiments of the present disclosure, as shown in fig. 2, fig. 2 is a flowchart illustrating another method for displaying a multimedia resource according to an exemplary embodiment, the method further comprising:
Step S104, constructing the preset presentation template, where the preset presentation template includes attribute fields, and the attribute fields include: a multimedia resource category field, a presentation success condition field, a validity period field and a multimedia resource validation object field.
For a better understanding of the attribute fields, the following embodiments are described in terms of specific examples, but it should be noted that this description is not intended to limit the specific contents of the attribute fields.
Exemplary multimedia asset class fields include, but are not limited to, membership cards, gift package codes, trial dress, etc.; the showing success condition includes but is not limited to browsing, commenting and the like, the validity period includes but is not limited to 7 days, 10 days, 30 days and the like, and the multimedia resource validation object includes but is not limited to validating a certain commodity in a certain platform by the multimedia resource category and the like. The above is merely an exemplary example, and the embodiments of the present disclosure are not limited to the specific contents under each field.
Step S105, generating display requirement information corresponding to the identification information of the target multimedia resource based on the attribute fields in the preset display template.
It should be clear that two possible ways are provided in the preset display template, one possible way is that after the content to be input is obtained, the corresponding field is automatically identified through a text recognition technology, for example, the content to be input is obtained as a membership card, browsed, 7 days, type 1, and the multimedia resource category field can be confirmed through the text automatic recognition technology: a membership card; showing a success condition field: browsing; validity period field 7 days; multimedia asset validation object field: type 1).
Another possible way is: content manually entered into each field on a preset presentation template is received. And after attribute fields in a preset display template are sequentially filled in, display requirement information is generated.
According to the embodiment of the disclosure, the display template is preset, so that the input of the display demand information has formatted content, the input efficiency is improved, and the efficiency of executing multimedia resource display by subsequently calling the display demand information is also improved.
In practical application, when the server side executes multimedia resource display, the multimedia resource providers or multimedia resources facing the server side are various, and in order to facilitate the distinction, the server side matches corresponding identification information for each target multimedia resource so as to distinguish different target multimedia resources and provide pushing efficiency of the template multimedia resource.
And step S106, storing the generated display demand information in the preset display demand library.
And storing each piece of display requirement information generated in the step S105 in a preset display requirement library so as to acquire the corresponding display requirement information from the preset display requirement library when the display of the target multimedia resource is executed, thereby improving the efficiency of executing the display of the multimedia resource.
Step S101, responding to a display instruction of a target multimedia resource, and acquiring corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one piece of display demand information, and the display demand information is input into the preset display demand library through a preset display template.
Step S102, corresponding target multimedia resources are generated according to the display demand information.
Step S103, displaying the target multimedia resources containing the display requirement information.
For the descriptions of step S101 to step S103, refer to the above detailed description of fig. 1, and the embodiments of the disclosure will not be described herein again.
In some embodiments of the present disclosure, as shown in fig. 3, there is a flowchart of another method for presenting multimedia resources, according to an exemplary embodiment, the method further includes:
step S1031, determining target description information corresponding to the target multimedia resources based on a preset display model, where one multimedia resource category corresponds to at least one target description information.
When a user terminal browses a target multimedia resource, a server calls a preset display model to realize personalized recommendation aiming at the user so as to increase user experience and fit user requirements.
The preset display model can be a model which is trained in advance, or can be a model which is convenient to execute recognition and is used for iterative training while the recognition result is used, and the training time of the preset display model is not limited in the embodiment of the disclosure.
In practical applications, the target multimedia resource is often a cross product of a plurality of multimedia resource materials and a plurality of multimedia resource categories, for example, 3 materials are provided, namely, a material 1, a material 2 and a material 3, and each material corresponds to a plurality of multimedia resource categories.
Each multimedia resource category contains at least one target description information, the target description information is a specific numerical value of the multimedia resource category, for example, the multimedia resource category is a gift bag code, the target description information is a gift bag 1, a gift bag 2 or a gift bag 3, and the like, but it is not known which target description information of the gift bag 1, the gift bag 2 or the gift bag 3 is preferable for displaying the target multimedia resource, therefore, the embodiment of the disclosure uses a preset display model to confirm the target description information corresponding to the target multimedia resource, realizes preferable confirmation of the target multimedia resource, and realizes personalized delivery of users.
Step S1032, the target multimedia resource is displayed according to the target description information.
In some embodiments of the present disclosure, as shown in fig. 4, fig. 4 is a flowchart illustrating another method for displaying a multimedia resource, which is performed before confirming target description information corresponding to the target multimedia resource based on a preset display model, according to an exemplary embodiment, the method further includes:
Step S1033, obtaining a first training sample, wherein the first training sample is historical display data of a target multimedia resource.
Step S1034, obtaining a second training sample, where the second training sample is display data of different target multimedia resources respectively displayed to different viewing objects.
The second training sample is target multimedia resources of each multimedia resource category traversed for massive viewing objects, and the display data of different target multimedia resources in different viewing objects comprises, but is not limited to, viewing crowd, viewing time and the like of a certain target multimedia resource.
Step S1035, obtaining a third training sample, where the third training sample is historical display data of a similar multimedia resource similar to the target multimedia resource; the first training sample, the second training sample and the third training sample all comprise at least one target description information.
When determining the similar multimedia resources, the determining may be performed by a labeling manner or may be performed by a machine learning manner, and the method for determining the similar multimedia resources is not limited in the embodiments of the present disclosure.
Step S1036, inputting the first training sample, the second training sample, and the third training sample into a preset display model, respectively, to perform training, so as to obtain the trained preset display model.
The training of the preset display model is performed through the first training sample, the second training sample and the third training sample which are acquired through the S1033, the S1034 and the S1035 respectively, and the three types of data can realize the optimization of the target multimedia resource display and the better realization of the transformation efficiency under the condition that the multi-material describes the multi-target information.
For the process of training the preset display model, the related art implementation may be referred to, and the embodiments of the disclosure will not be described herein.
Step S1031, determining target description information corresponding to the target multimedia resources based on a preset display model, where one multimedia resource category corresponds to at least one target description information.
Step S1032, the target multimedia resource is displayed according to the target description information.
For the description of steps S1031 to S1032, reference may be made to the detailed description of the above embodiments, and the disclosure of the embodiments is not repeated here.
In some embodiments of the present disclosure, as shown in fig. 5, fig. 5 is a flowchart illustrating another method for displaying a multimedia resource according to an exemplary embodiment, the method further comprising:
step S10361, extracting features of the first training sample, the second training sample and the third training sample, and obtaining a corresponding first feature vector, a corresponding second feature vector and a corresponding third feature vector.
Regarding the extraction process of the first feature vector, the second feature vector and the third feature vector, reference may be made to a related implementation method, and the embodiments of the disclosure will not be described herein.
Step S10362, training the first feature vector, the second feature vector and the third feature vector based on a preset multimedia resource display index to obtain the preset display model.
The higher the preset multimedia resource display index is, the higher the corresponding display efficiency is, and the display is preferably performed in a single display request. Specifically, the embodiment of the disclosure does not limit the preset multimedia resource display index.
Corresponding to the method for displaying the multimedia resources, the disclosure also provides a device for displaying the multimedia resources. Fig. 6 is a schematic structural diagram of a multimedia resource display device 200 according to an embodiment of the disclosure. The device for detecting the installation position of the safety seat is applied to the side of the safety seat. As shown in fig. 6, includes:
The obtaining unit 21 is configured to execute a display instruction responding to a target multimedia resource, and obtain corresponding display requirement information from a preset display requirement library according to identification information of the target multimedia resource, wherein the preset display requirement library comprises at least one display requirement information, and the display requirement information is input into the preset display requirement library through a preset display template;
A first generation unit 22 configured to perform generation of a corresponding target multimedia resource according to the presentation demand information;
And a display unit 23 configured to perform display of the target multimedia resource containing the display requirement information.
In the embodiment of the disclosure, in response to a display instruction of a target multimedia resource, corresponding display demand information is obtained from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one display demand information, and the display demand information is input into the preset display demand library through a preset display template; according to the display demand information, corresponding target multimedia resources are generated, the target multimedia resources containing the display demand information are displayed, and compared with the prior art that when the multimedia resources are displayed in a large quantity, the manual mode is used for configuring the workload of displaying the demand information, and the error rate is high, the automatic identification and input of the display demand information are realized through the preset display template, and the efficiency of displaying the multimedia resources is improved.
In some embodiments of the present disclosure, as shown in fig. 7, the apparatus further comprises:
a construction unit 24, configured to construct the preset display template before obtaining the corresponding display requirement information from the preset display requirement library according to the identification information of the target multimedia resource, where the preset display template includes attribute fields, and the attribute fields include: a multimedia resource category field, a recommendation success condition field, a validity period field, and a multimedia resource validation object field;
A second generating unit 25 configured to generate display requirement information corresponding to the identification information of the target multimedia resource based on the attribute fields in the preset display template, respectively;
the storage unit 26 is configured to store the generated display requirement information in the preset display requirement library.
In some embodiments of the present disclosure, as shown in fig. 7, the display unit 23 includes:
A confirmation module 231 configured to execute confirmation of the target description information corresponding to the target multimedia resource based on a preset display model, wherein one multimedia resource category corresponds to at least one target description information;
And a presentation module 232 configured to perform presentation of the target multimedia resource according to the target description information.
In some embodiments of the present disclosure, as shown in fig. 7, the apparatus further comprises:
an obtaining unit 27, configured to obtain a first training sample before confirming target description information corresponding to the target multimedia resource based on a preset display model, where the first training sample is historical display data of the target multimedia resource;
The obtaining unit 27 is further configured to perform obtaining a second training sample, where the second training sample is display data that different target multimedia resources are respectively displayed to different viewing objects;
The obtaining unit 27 is further configured to perform obtaining a third training sample, where the third training sample is historical presentation data of a similar multimedia asset similar to the target multimedia asset; the first training sample, the second training sample and the third training sample all comprise at least one target description information;
the training unit 28 is configured to perform training by respectively inputting the first training sample, the second training sample and the third training sample into a preset display model, so as to obtain the trained preset display model.
In some embodiments of the present disclosure, as shown in fig. 7, the training unit 29 includes:
An obtaining module 281 configured to perform feature extraction on the first training sample, the second training sample, and the third training sample, to obtain a corresponding first feature vector, a second feature vector, and a third feature vector;
The training module 282 is configured to perform training on the first feature vector, the second feature vector, and the third feature vector based on a preset multimedia resource display index to obtain the preset display model.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 8 is a block diagram of an electronic device 300 shown in the present disclosure. For example, electronic device 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, the electronic device 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 303, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the electronic device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the information platform selection method of any of the embodiments. Further, the processing component 302 can include one or more modules that facilitate interactions between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
Memory 304 is configured to store various types of data to support operations at device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 306 provides power to the various components of the electronic device 300. The power supply components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 300.
The multimedia component 308 includes a screen between the electronic device 300 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 308 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 300 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 303 is configured to output and/or input audio signals. For example, the audio component 303 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, the audio component 303 further comprises a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 314 includes one or more sensors for providing status assessment of various aspects of the electronic device 300. For example, the sensor assembly 314 may detect an on/off state of the device 300, a relative positioning of components, such as a display and keypad of the electronic device 300, a change in position of the electronic device 300 or a component of the electronic device 300, the presence or absence of a user's contact with the electronic device 300, an orientation or acceleration/deceleration of the electronic device 300, and a change in temperature of the electronic device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate communication between the electronic device 300 and other devices, either wired or wireless. The electronic device 300 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the information platform selection method of any embodiment.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 304, comprising instructions executable by processor 320 of electronic device 300 to perform any of the information platform selection methods of the embodiments. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising readable program code executable by the processor 320 of the apparatus 300 to perform the information platform selection method of any of the embodiments. Alternatively, the program code may be stored in a readable storage medium of the apparatus 1000, which may be a non-transitory computer readable storage medium, such as ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 9 is a block diagram of an electronic device 400 shown in the present disclosure. For example, electronic device 400 may be provided as a server.
Referring to fig. 9, electronic device 400 includes a processing component 422 that further includes one or more processors, and memory resources represented by memory 432, for storing instructions, such as applications, executable by processing component 422. The application program stored in memory 432 may include one or more modules each corresponding to a set of instructions. In addition, processing component 422 is configured to execute instructions to perform the information platform selection method of any of the embodiments.
The electronic device 400 may also include a power component 426 configured to perform power management of the electronic device 400, a wired or wireless network interface 450 configured to connect the electronic device 400 to a network, and an input output (I/O) interface 458. The electronic device 400 may operate based on an operating system, such as WindowsServerTM, macOSXTM, unixTM, linuxTM, freeBSDTM or the like, stored in the memory 432.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (7)
1. A method for displaying a multimedia resource, comprising:
Responding to a display instruction of a target multimedia resource, and acquiring corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one piece of display demand information, and the display demand information is input into the preset display demand library through a preset display template;
generating corresponding target multimedia resources according to the display demand information;
displaying the target multimedia resource containing the display demand information;
wherein, the displaying the target multimedia resource containing the display requirement information comprises:
Confirming target description information corresponding to the target multimedia resources based on a preset display model, wherein one multimedia resource category corresponds to at least one target description information; training of the preset display model is obtained through training of a first training sample, a second training sample and a third training sample, wherein the first training sample is historical display data of a target multimedia resource; the second training samples are display data for respectively displaying different target multimedia resources to different watching objects; the third training sample is historical display data of similar multimedia resources similar to the target multimedia resources; the first training sample, the second training sample and the third training sample all comprise at least one target description information;
And displaying the target multimedia resource according to the target description information.
2. The method of claim 1, wherein before obtaining the corresponding display requirement information from the preset display requirement library according to the identification information of the target multimedia resource, the method further comprises:
Constructing the preset display template, wherein the preset display template comprises attribute fields, and the attribute fields comprise: a multimedia resource category field, a presentation success condition field, a validity period field, and a multimedia resource validation object field;
Generating display demand information corresponding to the identification information of the target multimedia resource based on attribute fields in the preset display template respectively;
and storing the generated display demand information in the preset display demand library.
3. The method as recited in claim 2, further comprising: respectively inputting the first training sample, the second training sample and the third training sample into a preset display model for training to obtain the trained preset display model; the method specifically comprises the following steps:
Respectively extracting features of the first training sample, the second training sample and the third training sample to obtain corresponding first feature vectors, second feature vectors and third feature vectors;
Training the first feature vector, the second feature vector and the third feature vector based on a preset multimedia resource display index to obtain the preset display model.
4. A multimedia asset display device, comprising:
The display demand information acquisition unit is configured to execute a display instruction responding to a target multimedia resource, and acquire corresponding display demand information from a preset display demand library according to identification information of the target multimedia resource, wherein the preset display demand library comprises at least one display demand information, and the display demand information is input into the preset display demand library through a preset display template;
a first generation unit configured to perform generation of a corresponding target multimedia resource according to the presentation demand information;
a display unit configured to perform display of the target multimedia resource containing the display requirement information;
wherein, the displaying the target multimedia resource containing the display requirement information comprises:
Confirming target description information corresponding to the target multimedia resources based on a preset display model, wherein one multimedia resource category corresponds to at least one target description information; training of the preset display model is obtained through training of a first training sample, a second training sample and a third training sample, wherein the first training sample is historical display data of a target multimedia resource; the second training samples are display data for respectively displaying different target multimedia resources to different watching objects; the third training sample is historical display data of similar multimedia resources similar to the target multimedia resources; the first training sample, the second training sample and the third training sample all comprise at least one target description information;
And displaying the target multimedia resource according to the target description information.
5. The apparatus of claim 4, wherein the apparatus further comprises:
the construction unit is configured to construct the preset display template before acquiring corresponding display requirement information from a preset display requirement library according to the identification information of the target multimedia resource, wherein the preset display template comprises attribute fields, and the attribute fields comprise: a multimedia resource category field, a presentation success condition field, a validity period field, and a multimedia resource validation object field;
The second generation unit is configured to execute the generation of display requirement information corresponding to the identification information of the target multimedia resource based on the attribute fields in the preset display template respectively;
And the storage unit is configured to store the generated display demand information in the preset display demand library.
6. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the method of presentation of a multimedia asset as claimed in any one of claims 1 to 3.
7. A storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform the method of presentation of a multimedia asset as claimed in any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310128770.3A CN116150413B (en) | 2023-02-07 | 2023-02-07 | Multimedia resource display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310128770.3A CN116150413B (en) | 2023-02-07 | 2023-02-07 | Multimedia resource display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116150413A CN116150413A (en) | 2023-05-23 |
CN116150413B true CN116150413B (en) | 2024-06-04 |
Family
ID=86359712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310128770.3A Active CN116150413B (en) | 2023-02-07 | 2023-02-07 | Multimedia resource display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116150413B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729765A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Management method, device, storage medium and the electronic equipment of multi-medium data |
CN110263161A (en) * | 2019-05-29 | 2019-09-20 | 阿里巴巴集团控股有限公司 | A kind of processing method of information, device and equipment |
CN111259257A (en) * | 2020-02-14 | 2020-06-09 | 北京达佳互联信息技术有限公司 | Information display method, system, device, electronic equipment and storage medium |
CN111291200A (en) * | 2020-01-22 | 2020-06-16 | 北京达佳互联信息技术有限公司 | Multimedia resource display method and device, computer equipment and storage medium |
CN111460183A (en) * | 2020-03-30 | 2020-07-28 | 北京金堤科技有限公司 | Multimedia file generation method and device, storage medium and electronic equipment |
CN111539795A (en) * | 2020-04-28 | 2020-08-14 | 北京三快在线科技有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
CN113365106A (en) * | 2021-08-10 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Multimedia resource generation method and device, electronic equipment and storage medium |
CN113760283A (en) * | 2021-03-26 | 2021-12-07 | 北京京东拓先科技有限公司 | Text rendering method and device |
CN114385676A (en) * | 2021-12-10 | 2022-04-22 | 连连(杭州)信息技术有限公司 | Data visualization method, device, equipment and storage medium |
CN114385940A (en) * | 2021-12-28 | 2022-04-22 | 航天信息股份有限公司 | Data visualization method, device, equipment and medium |
CN114727143A (en) * | 2020-12-21 | 2022-07-08 | 上海哔哩哔哩科技有限公司 | Multimedia resource display method and device |
-
2023
- 2023-02-07 CN CN202310128770.3A patent/CN116150413B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729765A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Management method, device, storage medium and the electronic equipment of multi-medium data |
CN110263161A (en) * | 2019-05-29 | 2019-09-20 | 阿里巴巴集团控股有限公司 | A kind of processing method of information, device and equipment |
CN111291200A (en) * | 2020-01-22 | 2020-06-16 | 北京达佳互联信息技术有限公司 | Multimedia resource display method and device, computer equipment and storage medium |
CN111259257A (en) * | 2020-02-14 | 2020-06-09 | 北京达佳互联信息技术有限公司 | Information display method, system, device, electronic equipment and storage medium |
CN111460183A (en) * | 2020-03-30 | 2020-07-28 | 北京金堤科技有限公司 | Multimedia file generation method and device, storage medium and electronic equipment |
CN111539795A (en) * | 2020-04-28 | 2020-08-14 | 北京三快在线科技有限公司 | Image processing method, image processing device, electronic equipment and computer readable storage medium |
CN114727143A (en) * | 2020-12-21 | 2022-07-08 | 上海哔哩哔哩科技有限公司 | Multimedia resource display method and device |
CN113760283A (en) * | 2021-03-26 | 2021-12-07 | 北京京东拓先科技有限公司 | Text rendering method and device |
CN113365106A (en) * | 2021-08-10 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Multimedia resource generation method and device, electronic equipment and storage medium |
CN114385676A (en) * | 2021-12-10 | 2022-04-22 | 连连(杭州)信息技术有限公司 | Data visualization method, device, equipment and storage medium |
CN114385940A (en) * | 2021-12-28 | 2022-04-22 | 航天信息股份有限公司 | Data visualization method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN116150413A (en) | 2023-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108932253B (en) | Multimedia search result display method and device | |
CN107203398B (en) | Application distribution method and device | |
CN107193606B (en) | Application distribution method and device | |
CN110941727B (en) | Resource recommendation method and device, electronic equipment and storage medium | |
CN110704053B (en) | Style information processing method and device | |
CN105376412A (en) | Information processing method and device | |
CN112948704B (en) | Model training method and device for information recommendation, electronic equipment and medium | |
CN107402767B (en) | Method and device for displaying push message | |
CN110413169B (en) | Information display method, device and medium | |
CN112131466A (en) | Group display method, device, system and storage medium | |
CN109521938B (en) | Method and device for determining data evaluation information, electronic device and storage medium | |
CN111061452A (en) | Voice control method and device of user interface | |
CN113920293A (en) | Information identification method and device, electronic equipment and storage medium | |
CN116150413B (en) | Multimedia resource display method and device | |
CN114025317B (en) | Method, device, server, terminal and storage medium for spreading multimedia resources | |
CN112667852B (en) | Video-based searching method and device, electronic equipment and storage medium | |
CN114090738A (en) | Method, device and equipment for determining scene data information and storage medium | |
CN112333233B (en) | Event information reporting method and device, electronic equipment and storage medium | |
CN111667827B (en) | Voice control method and device for application program and storage medium | |
CN111131000B (en) | Information transmission method, device, server and terminal | |
CN112036247A (en) | Expression package character generation method and device and storage medium | |
CN115484471B (en) | Method and device for recommending anchor | |
CN113778385B (en) | Component registration method, device, terminal and storage medium | |
CN112241486A (en) | Multimedia information acquisition method and device | |
CN115174944B (en) | Resource processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |