CN113992962B - Barrage release method and device, electronic equipment and storage medium - Google Patents
Barrage release method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113992962B CN113992962B CN202111256783.6A CN202111256783A CN113992962B CN 113992962 B CN113992962 B CN 113992962B CN 202111256783 A CN202111256783 A CN 202111256783A CN 113992962 B CN113992962 B CN 113992962B
- Authority
- CN
- China
- Prior art keywords
- comment information
- barrage
- target
- media resource
- server
- 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 58
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 238000006243 chemical reaction Methods 0.000 claims abstract description 17
- 238000009826 distribution Methods 0.000 claims description 25
- 238000004458 analytical method Methods 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 8
- 230000008451 emotion Effects 0.000 description 7
- 239000010408 film Substances 0.000 description 6
- 238000003062 neural network model Methods 0.000 description 6
- 238000010801 machine learning Methods 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000010030 laminating Methods 0.000 description 3
- 238000003058 natural language processing Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 150000003839 salts Chemical class 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 235000011194 food seasoning agent Nutrition 0.000 description 1
- 238000003304 gavage Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 235000013372 meat Nutrition 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003997 social interaction Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000003892 spreading Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
- H04N21/8133—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to a bullet screen release method, a bullet screen release device, electronic equipment and a storage medium, and relates to the technical field of Internet, so as to at least solve the problem of poor bullet screen flow quality in the related technology. The method comprises the following steps: determining content elements and resource types of the target media resources; acquiring first comment information and second comment information according to the content elements and the resource types of the target media resources; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element; performing semantic conversion on the first comment information to obtain third comment information, and replacing element objects in the second comment information according to content elements of the target media resource to obtain fourth comment information; and combining the third comment information and the fourth comment information into a target barrage and distributing the target barrage to the target media resource.
Description
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a barrage release method, a barrage release device, electronic equipment and a storage medium.
Background
A bullet screen is a subtitle that pops up and moves in a predetermined direction when a video is viewed through a network. Based on the barrage function, users can post comments of themselves in the process of watching the video, and the comments which are slid at the time point when all users watch the video are displayed immediately, so that interactivity among viewers is improved, and user viscosity is improved. In order to guide a user to release the barrage, the video platform can put a large amount of barrage flows in the video, so that interaction with the user is enhanced.
In the related art, the video platform can capture the barrage stream delivered to the corresponding video from the similar video based on the video content, and can encourage the user to release the barrage through the barrage operation activity. However, the quality of the bullet screen stream published in the video in this way is not controllable and may affect the viewing experience of other users.
Disclosure of Invention
The disclosure provides a bullet screen release method, a bullet screen release device, electronic equipment and a storage medium, so as to at least solve the problem of poor bullet screen flow quality in the related art. 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 barrage publishing method, including: determining content elements and resource types of the target media resources; acquiring first comment information and second comment information according to the content elements and the resource types of the target media resources; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element; performing semantic conversion on the first comment information to obtain third comment information, and replacing element objects in the second comment information according to content elements of the target media resource to obtain fourth comment information; and combining the third comment information and the fourth comment information into a target barrage and distributing the target barrage to the target media resource.
Optionally, before determining the content element and the resource type of the target media resource, the method further includes: acquiring first comment information and second comment information from a first server and a plurality of second servers; the first server is a server of the target media resource, and the second server is a server of the media resource outside the first server.
Optionally, the method further comprises: acquiring fifth comment information corresponding to the resource type of the target media resource from the first server under the condition that the target media resource is a unique media resource of the first server; and determining the fifth comment information as a target barrage and issuing the target comment information to the target media resource under the condition that the number of times of occurrence of the fifth comment information is larger than a first threshold value.
Optionally, the method further comprises: obtaining sixth comment information from the first server and the plurality of second servers; the sixth comment information is used for commenting the playing progress of the media resource; and determining the sixth comment information as a target barrage and distributing the target comment information to the target media resource.
Optionally, the method further comprises: according to the author of the target media resource, seventh comment information of the media resource corresponding to the author is obtained from the first server and the plurality of second servers; and determining the seventh comment information as a target barrage and issuing the target comment information to the target media resource under the condition that the occurrence number of the seventh comment information is larger than a second threshold value.
Optionally, after determining the target barrage, the method further includes: grading the target barrage according to the barrage grading index to obtain the quality grade of the target barrage; the barrage scoring indicator includes at least one of a creative indicator, a content fit indicator, and a positive energy indicator.
Optionally, publishing the target barrage to the target media asset includes: acquiring a target high-quality barrage from the target barrage according to the quality grade of the target barrage; and publishing the target high-quality barrage to the target media resource.
According to a second aspect of the embodiments of the present disclosure, there is provided a barrage release apparatus, including: a media analysis unit for determining content elements and resource types of the target media resources; the acquisition unit is used for acquiring first comment information and second comment information according to the content elements and the resource types of the target media resources determined by the media analysis unit; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element; the bullet screen generating unit is used for carrying out semantic conversion on the first comment information acquired by the acquiring unit to obtain third comment information, and replacing element objects in the second comment information acquired by the acquiring unit according to content elements of the target media resource to obtain fourth comment information; and the barrage issuing unit is used for merging the third comment information and the fourth comment information obtained by the barrage generating unit into a target barrage and issuing the target barrage to the target media resource.
Optionally, the obtaining unit is further configured to obtain the first comment information and the second comment information from the first server and the plurality of second servers before determining the content element and the resource type of the target media resource; the first server is a server of the target media resource, and the second server is a server of the media resource outside the first server.
Optionally, the obtaining unit is further configured to obtain fifth comment information corresponding to a resource type of the target media resource from the first server when the target media resource is a specific media resource of the first server; and the barrage issuing unit is further used for determining the fifth comment information as a target barrage and issuing the target barrage to the target media resource under the condition that the frequency of occurrence of the fifth comment information acquired by the acquisition unit is larger than a first threshold value.
Optionally, the obtaining unit is further configured to obtain sixth comment information from the first server and the plurality of second servers; the sixth comment information is used for commenting the playing progress of the media resource; and the barrage issuing unit is also used for determining the sixth comment information acquired by the acquisition unit as a target barrage and issuing the target barrage to the target media resource.
Optionally, the obtaining unit is further configured to obtain seventh comment information of the media resource corresponding to the author from the first server and the plurality of second servers according to the author of the target media resource; and the barrage issuing unit is further used for determining the seventh comment information as a target barrage and issuing the target barrage to the target media resource under the condition that the occurrence number of the seventh comment information acquired by the acquisition unit is larger than a second threshold value.
Optionally, the device further comprises a quality rating unit; the quality rating unit is used for rating the target barrage according to the barrage scoring index after the target barrage is determined, so as to obtain the quality grade of the target barrage; the barrage scoring indicator includes at least one of a creative indicator, a content fit indicator, and a positive energy indicator.
Optionally, the barrage issuing unit is specifically configured to: acquiring a target high-quality barrage from the target barrage according to the quality grade of the target barrage; and publishing the target high-quality barrage to the target media resource.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the barrage release method as provided in the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium comprising instructions; the instructions, when executed by a processor of an electronic device, cause the electronic device to perform the barrage distribution method as provided in the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising instructions which, when run on a processor of an electronic device, cause the electronic device to perform the barrage distribution method as provided in the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the method and the device combine content elements included in media resources played by users and resource types of the media resources, acquire comment information which can be used for target media resources from comment information of other media resources, and perform secondary creation (such as semantic conversion and element replacement) on the acquired comment information, so that the comment information after secondary creation is more matched with the target media resources. Therefore, when the comment information after the secondary creation is used as the target barrage to be published to the target media resource, the target barrage is more attached to the target media resource, the quality of the barrage is improved, and the barrage is prevented from affecting the watching experience of other users.
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 schematic diagram of an electronic device according to an exemplary embodiment.
Fig. 2 is one of the flowcharts of a barrage distribution method according to an exemplary embodiment.
FIG. 3 is a second flowchart illustrating a barrage distribution method according to an exemplary embodiment.
FIG. 4 is a third flowchart illustrating a barrage distribution method according to an exemplary embodiment.
FIG. 5 is a flow chart illustrating a method of barrage distribution according to an exemplary embodiment.
FIG. 6 is a flowchart illustrating a barrage distribution method according to an exemplary embodiment.
FIG. 7 is a flowchart illustrating a barrage distribution method according to an exemplary embodiment.
FIG. 8 is a flow chart of a barrage distribution method according to an exemplary embodiment.
Fig. 9 is a schematic structural view of a bullet screen publication apparatus according to an exemplary embodiment.
Fig. 10 is a schematic structural view of yet another electronic device, according to 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.
The user information (including but not limited to user equipment information, user personal information, etc.) related to the present disclosure is information authorized by the user or sufficiently authorized by each party.
Barrages, generally refer to a large amount of comment information that appears in a video asset. The bullet screen is arranged to meet the requirements of ACG (animation, cartoon, game together) culture and meet the requirements of user interaction, entertainment and social interaction. With the rise of video websites, the barrage is no longer exclusive to secondary culture, almost all video websites, software, live broadcasting platforms and the like introduce barrage functions, the video type of the barrage spitting slot is no longer mainly ACG (Animation Comic Game, animation, cartoon and game is the general name), and the "spitting slot is seen while the other users' is seen" has become "new fun" and "new normal state" when spectators watch videos, live broadcasting and television dramas.
The bullet screen is a form of sliding through subtitles at the time point when video is watched, and is accepted by more and more video websites, software and live platforms because of the increased interactivity among all video viewers. Meanwhile, a large number of video application programs (APP) are promoted due to popularization of intelligent mobile equipment and wireless networks, so that video production is changed from specialized to popular, and video content is greatly enriched. The bullet screen improves the interactivity among the watching users, and can reflect the viewing experience condition of the watching users on the video, so that the acceptance of the watching users on the video content and social attribution sense are improved, and the viscosity of the watching users on the video APP is improved. Based on the timely rolling characteristic of the barrage and the screen brushing phenomenon of the timely rolling characteristic, the barrage can be well attracted to watch users, and the effects of propaganda and popularization are achieved by matching with high-quality content.
In the period that the barrage content is not accepted by most watching users, through barrage operation, the watching users can be promoted to know the barrage, the watching users are encouraged to consume the barrage and simultaneously produce the barrage, social atmosphere is increased, consumption content is enriched, and consumption experience and user viscosity are improved.
In the related art, in order to guide the watching user to release the barrages when watching the video, the interaction between the users is increased, and some barrages are usually released by the service provider of the video resource, so that the interaction between the watching user and the barrages is increased, and the viscosity of the user is improved. Currently, a bullet screen put in a video resource by a service provider can be obtained from a local server or a server of other service providers, but because the bullet screen obtaining mode is random, the obtained bullet screen information may have lower quality and is not fit with the played video resource, so that the watching experience of a user may be affected. And may also pose a risk of infringement when bullet screen information is obtained from other service providers and published to local video sources.
Although, the service provider of the video asset may also encourage the user to issue the barrage by awarding rewards to the user through the barrage operation activity. However, this approach is not only costly, but may also result in a relatively unilateral release of bullet screen content due to the limitation of the crowd involved in the event (e.g., a relatively large number of possible students involved in the event), and may also affect the viewing experience of other users.
In view of the above problems, an embodiment of the present disclosure provides a barrage publishing method, which can acquire comment information that can be used for a target media resource from comment information of other media resources in combination with content elements included in a media resource and a resource type of the media resource that are played by a user, and perform secondary authoring (such as semantic conversion and element replacement) on the acquired comment information, so that the comment information after secondary authoring is more compatible with the target media resource. Therefore, when the comment information after the secondary creation is used as the target barrage to be published to the target media resource, the target barrage is more attached to the target media resource, the quality of the barrage is improved, and the barrage is prevented from affecting the watching experience of other users.
Fig. 1 is a schematic structural diagram of an electronic device applying a method provided by the present disclosure according to an embodiment of the present disclosure. The electronic device 01 includes a processor 011 and a memory 012.
Processor 011 may include, among other things, one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 011 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
Memory 012 may include one or more computer-readable storage media, which may be non-transitory. Memory 012 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 012 is used to store at least one instruction for execution by processor 011 to implement a barrage distribution method provided by an embodiment of the disclosed method.
In some embodiments, the electronic device 01 may further optionally include: a peripheral interface 013 and at least one peripheral. The processor 011, the memory 012, and the peripheral interface 013 may be connected by a bus or a signal line. The individual peripheral devices may be connected to the peripheral device interface 013 via buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 014, a display 015, a camera assembly 016, audio circuitry 017, a positioning assembly 018 and a power source 019.
A peripheral interface 013 may be used to connect at least one input/output (I/O) related peripheral device to the processor 011 and memory 012. In some embodiments, processor 011, memory 012, and peripheral interface 013 are integrated on the same chip or circuit board; in some other embodiments, any one or both of processor 011, memory 012, and peripheral interface 013 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The radio frequency circuit 014 is for receiving and transmitting Radio Frequency (RF) signals, also called electromagnetic signals. The radio frequency circuit 014 communicates with a communication network and other communication devices by electromagnetic signals. The radio frequency circuit 014 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 014 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 014 may communicate with other terminal devices via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or wireless fidelity (wireless fidelity, wi-Fi) networks. In some embodiments, the radio frequency circuitry 014 may also include circuitry related to near field wireless communication (near field communication, NFC), which is not limited by the present disclosure.
The display screen 015 is for displaying a User Interface (UI). The UI may include graphics, text, icons, video, and any combination thereof. When the display 015 is a touch display, the display 015 also has the ability to collect touch signals at or above the surface of the display 015. The touch signal may be input as a control signal to the processor 011 for processing. At this time, the display 015 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 015 may be one, providing a front panel of the electronic device 01; the display 015 may be made of a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), or the like.
The camera assembly 016 is used to capture images or video. Optionally, the camera assembly 016 includes a front camera and a rear camera. Typically, the front camera is disposed on a front panel of the terminal device, and the rear camera is disposed on a rear surface of the terminal device. The audio circuitry 017 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 011 for processing, or inputting the electric signals to the radio frequency circuit 014 for realizing voice communication. For stereo acquisition or noise reduction purposes, a plurality of microphones may be respectively disposed at different positions of the electronic device 01. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is then used to convert electrical signals from the processor 011 or the radio frequency circuit 014 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 017 may also include a headphone jack.
The positioning component 018 is used to position the current geographic location of the electronic device 01 for navigation or location-based services (location based service, LBS). The positioning component 018 may be a positioning component based on the united states global positioning system (global positioning system, GPS), the beidou system of china, the russian graver system or the galileo system of the european union.
The power supply 019 is used to power the various components in the electronic device 01. The power source 019 may be alternating current, direct current, disposable or rechargeable. When the power source 019 comprises a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 01 further includes one or more sensors 0110. The one or more sensors 0110 include, but are not limited to: acceleration sensor, gyroscope sensor, pressure sensor, fingerprint sensor, optical sensor, and proximity sensor.
The acceleration sensor may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the electronic device 01. The gyroscope sensor can detect the body direction and the rotation angle of the electronic equipment 01, and the gyroscope sensor can be cooperated with the acceleration sensor to collect the 3D action of the user on the electronic equipment 01. The pressure sensor may be disposed at a side frame of the electronic device 01 and/or at a lower layer of the display 015. When the pressure sensor is provided at a side frame of the electronic apparatus 01, a grip signal of the electronic apparatus 01 by a user can be detected. The fingerprint sensor is used for collecting fingerprints of a user. The optical sensor is used to collect the ambient light intensity. A proximity sensor, also called a distance sensor, is typically provided on the front panel of the electronic device 01. The proximity sensor is used to collect the distance between the user and the front of the electronic device 01.
Fig. 2 is a flowchart illustrating a bullet screen distribution method according to an exemplary embodiment, and as shown in fig. 2, the bullet screen distribution method is applied to an electronic device, and includes the following S11 to S14.
S11, the electronic equipment determines the content elements and the resource types of the target media resources.
As a possible implementation, the media resource may be a live video, a short video in a short video application, or the like, which is not limited by the disclosure. The target media asset may be any of the video assets described above.
For the resource types of the media resources, as shown in the following table 1, the resource types of the media resources can be finely divided according to needs, for example, the media resources are divided into a first class, a second class, a third class, a fourth class and the like, and the more the number of the media resources is, the more the resource types which can be divided for the media resources are likely to be.
TABLE 1
First class category | Second class | Three-level category | Class IV | ... |
Entertainment device | Film and television | Comedy piece | Film and television explanation | ... |
Entertainment device | Film and television | Recording sheet | Film and televisionBatting | ... |
Game machine | Role playing game | First game | Fighter | ... |
Game machine | Shooting game | Second game | ... | |
... | ... | ... | ... | ... |
For example, as shown in table 1 above, for video-type media assets, they can be divided into entertainment-type videos and game-type videos, where entertainment-type videos can include film-television videos, and film-television videos can include comedy-film videos and documentary videos, comedy-film videos can include film-television narrative videos, documentary videos can include film-television feature videos, and so on; the game-like videos may be a role-playing game video, which may include a first game video, which may in turn include a fighter video, etc., and a shooting game video, which may include a second game video, etc.
The element content of the media resource refers to elements such as characters, objects, and scenery included in the media resource. For example, for a game-like video, the element content included therein may be a game character, a game prop, and the like; for a recorded video, the content of the included element can be a person, an object, a landscape and the like; for video, the included element content can be characters, video props and the like.
After determining the target media asset to be played, the asset type and content elements of the target media asset may be identified by a machine learning model. For example, the machine learning model may be a pre-trained neural network model that may include a resource type identification module by which a resource type of the target media resource may be identified and a content element identification module by which a content element of the target media resource may be identified.
Preferably, the machine learning model of the present disclosure may be a neural network model trained in conjunction with multimedia content understanding (multimedia understanding, MMU) techniques, e.g., the neural network model may be a content recognition model, and the training process may refer to the prior art and will not be described herein.
S12, the electronic equipment acquires the first comment information and the second comment information according to the content elements and the resource types of the target media resources.
The first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element.
As one possible implementation, the comment information in the present disclosure may be information that the user posts in a comment box below the video resource, or may be barrage information that the user posts to the inside of the video resource.
The first comment information and the second comment information may be obtained from a comment information library established in advance, where the comment information library may be obtained by periodically obtaining, by the electronic device, from a first server of the target media resource and a second server of the other media resource, and storing the obtained comment information and the obtained comment information in a corresponding storage space. The first server refers to a server of a service provider operating the target media resource, and the second server refers to a server of other service providers. Of course, in some cases, the first comment information and the second comment information may be obtained from the first server and the second server in real time.
For example, when the resource type of the target media resource is game-game video-role playing game video-player video, and the content element in the target media resource includes "player angel," media resources corresponding to the resource type and content element of the target media resource may be acquired from the first server and the plurality of second servers based on the above-described content recognition model, and comment information issued to these media resources by all users may be acquired. The comment information obtained may include "XXX operation dotted show", "666" and "supersound", where the first comment information is preset comment information corresponding to the resource type in the obtained comment information, such as "666", and the second comment information is information associated with the content element in the obtained comment information, such as "XXX operation dotted show".
For another example, when the resource type of the target media resource is entertainment-video comment video-action video, and the content element of the target media resource includes character "Zhang san", the media resource corresponding to the resource type and the content element of the target media resource may be acquired from the first server and the plurality of second servers based on the content identification model described above, and comment information posted to the media resources by all users may be acquired. The comment information obtained may include "the movie has a dotted meaning", "what the title is" and "XXX good" etc., where the first comment information is preset comment information corresponding to the resource type, such as "what the title is" in the obtained comment information, and the second comment information is information associated with the content element, such as "XXX good" in the obtained comment information.
S13, the electronic equipment performs semantic conversion on the first comment information to obtain third comment information, and replaces element objects in the second comment information according to content elements of the target media resource to obtain fourth comment information.
As one possible implementation manner, the first comment information is preset comment information corresponding to the resource type, such as "what the title is" and "what the movie is dotted" and the like, the second comment information is information associated with the content element, such as "XXX good commander", "666" and "supersound", and the like, and the number of the first comment information and the second comment information may be less, and the degree of agreement with the resource type and the content element of the target media resource is lower, so that in order to increase the number of the shots posted to the target media resource and improve the quality of the shots, the disclosure can perform semantic conversion on the first comment information to obtain third comment information similar to the semantic of the first comment information and increase the number of the target shots; and replacing the element object in the second comment information to obtain fourth comment information, and improving the fit degree of the target barrage and the target media resource.
For example, if the first comment information is "the movie is interesting", performing semantic conversion on the first comment information may obtain third comment information "the movie is interesting", and so on; if the second comment information is "XXX good commander", then "XXX" may be replaced with a person name appearing in the content element of the target media asset, depending on the content element of the target media asset.
The above-mentioned object of elements refers to elements appearing in the content elements, such as characters, objects, and the like. The semantic conversion of the first comment information and the element replacement of the second comment information can be realized through a machine learning model, wherein the machine learning model can be a neural network model trained in combination with natural language processing (natural language processing, NLP), the neural network model can comprise a semantic conversion module and an element replacement module, the semantic conversion module can be used for carrying out semantic conversion on the first comment information, and the element replacement module can be used for replacing element objects in the second comment information. The training process of the neural network model may refer to the prior art, and will not be described herein.
S14, the electronic equipment combines the third comment information and the fourth comment information into a target barrage and sends the target barrage to the target media resource.
As a possible implementation manner, after the third comment information and the fourth comment information are determined in step S13, they may be combined into the target barrage and distributed to the target media resource, so as to guide the user to issue the barrage, and increase the interaction behavior between the users.
When the target barrage is released to the target media resource, the target barrage can be uniformly released to each time point of the target media resource. For example, the number of target barrages is N, the playing time of the target media resource is M minutes, and N/M target barrages can be issued to the target media resource every minute.
In one possible implementation manner, since the first comment information is general comment information, the first comment information may also be posted as a target bullet screen to the target media resource. However, it should be noted that, when the first comment information is comment information obtained from another service provider, in order to avoid infringement, semantic conversion needs to be performed on the first comment information.
The technical scheme provided by the embodiment at least has the following beneficial effects: the method and the device combine content elements included in media resources played by users and resource types of the media resources, acquire comment information which can be used for target media resources from comment information of other media resources, and perform secondary creation (such as semantic conversion and element replacement) on the acquired comment information, so that the comment information after secondary creation is more matched with the target media resources. Therefore, when the comment information after the secondary creation is used as the target barrage to be published to the target media resource, the target barrage is more attached to the target media resource, the quality of the barrage is improved, and the barrage is prevented from affecting the watching experience of other users. Meanwhile, when the target bullet screen is released to the target media resource, the target bullet screen is changed to a certain extent compared with the first comment information and the second comment information which are originally acquired, so that infringement behavior when the comment information is acquired from other service providers can be avoided.
In one embodiment, in conjunction with fig. 2, as shown in fig. 3, S10 is further included before step S11.
S10, the electronic device acquires first comment information and second comment information from the first server and the plurality of second servers.
The first server is a server of the target media resource, and the second server is a server of the media resource outside the first server.
As one possible implementation, the first comment information and the second comment information may be obtained from a server corresponding to the target media resource, may be obtained from a server of another service provider, or may be obtained from a network, or the like, which is not limited in this disclosure. For example, when the first server is a short video server, the first comment information and the second comment information may be acquired from other short video servers (second servers) on the basis of the first comment information and the second comment information acquired from the first server.
The technical scheme provided by the embodiment at least has the following beneficial effects: the first comment information and the second comment information are acquired from a plurality of servers or networks, so that the number base numbers of the first comment information and the second comment information are increased, the number of third comment information and fourth comment information can be increased, the number of barrages distributed to target media resources is increased, the user can be guided to distribute barrages more effectively, and the interaction behavior of the user is increased. Meanwhile, based on the quantity advantages of the first comment information and the second comment information, a bullet screen with higher quality can be obtained more effectively, and the viewing experience of a user is improved.
In one embodiment, in conjunction with FIG. 3, as shown in FIG. 4, the method further includes S15-S16.
And S15, under the condition that the target media resource is a special media resource of the first server, the electronic equipment acquires fifth comment information corresponding to the resource type of the target media resource from the first server.
And S16, under the condition that the occurrence number of the fifth comment information is larger than a first threshold value, the electronic equipment determines the fifth comment information as a target barrage and sends the target barrage to the target media resource.
As a possible implementation manner, some media resources may be resources unique to a certain operator, for example, when the media resources are video resources, the video resources may be provided by only the first service provider, and other service providers do not provide video resources similar to the video resources, so when determining a target barrage of the video resources, comment information of other video resources with the same resource type as the video resources can only be acquired from a server of the service provider operating the video resources, and then the comment information is determined as the target barrage and is published to the target media resources.
Thus, when the target media resource is provided by the first server only, that is, by the first server, fifth comment information of the same resource type as the target media resource may be acquired from the first server; and when the number of times of occurrence of the fifth comment information is larger than a first threshold value, determining that the fifth comment information is preset comment information of the same type of resources of the comment and the target media resource. Thus, these generic fifth comment information may be identified herein as target barrages to post to the target media assets.
The technical scheme provided by the embodiment at least has the following beneficial effects: by acquiring comment information of other media resources with the same resource type as the target media resources from the local server, the target barrage determined herein can be more matched with the target media resources, namely, the quality of the target barrage and the viewing experience of the user are improved.
In one embodiment, as shown in FIG. 5, the method further includes S17-S18.
S17, the electronic device acquires sixth comment information from the first server and the plurality of second servers.
The sixth comment information is used for commenting the playing progress of the media resource.
And S18, the electronic equipment determines the sixth comment information as a target barrage and sends the target barrage to the target media resource.
As one possible implementation manner, some bullet screen information is used for commenting the playing progress of the media resource, such as "welcome back" and "air drop command" and the like, and is used for commenting the moment when the media resource starts to play; of course, some comment information also includes information such as "sofa" and "stool" for the user to preempt the front-row position of the comment information.
In some cases, the comment information may also include information of other comment on the playing progress of the media resource, for example, when the playing progress of the media resource is about to end (for example, the playing time of the media resource still remains for 1 minute or 2 minutes), the comment information may include "complete flower spreading" and the like.
When the target barrage is determined, since the sixth comment information is different from the preset comment information of the first comment information, and the sixth comment information can also be used as the preset comment information of the media resource, the sixth comment information can also be determined as the target barrage and sent to the target media resource.
The technical scheme provided by the embodiment at least has the following beneficial effects: the method and the device determine comment information of playing progress of some comment media resources as the target barrage, enrich the content of the target barrage and increase the opportunity of guiding users to release the barrage.
In one embodiment, as shown in FIG. 6, the method further includes S19-S110.
And S19, the electronic equipment acquires seventh comment information of the media resource corresponding to the author from the first server and the plurality of second servers according to the author of the target media resource.
As a possible implementation manner, based on the development of the short video platforms, the release of media resources is turned from specialized to popular, and each user of the short video platform can release media resources on the short video platform; with the development of short video platforms, users (authors) who release media resources form a certain style to meet the viewing demands of users. Thus, when other users watch videos published by these authors, a fixed interactive bullet screen is formed based on the video styles of these authors, e.g., a fixed nickname is formed between the user and the video author, and fixed interactive information.
For example, where the target media asset is a food-like video asset, its author may have published a large amount of food video, the nickname between the user and the author may be "gavage" and "salt king", etc., based on the author's video style, while the user's comment information on the author-specific style video asset may include "i am at home to sell seasoning, have earned a tingle" and "eat salt to put so much meat", etc.
As an author may publish a media asset to a different video platform when publishing the media asset. Therefore, for the target media resource posted by the author, comment information of the media resource posted by the same author can be obtained from the first server and the second server corresponding to the video platforms, and a target barrage which can be posted to the target media resource is determined from the comment information.
And S110, when the number of times of occurrence of the seventh comment information is larger than a second threshold value, the electronic equipment determines the seventh comment information as a target barrage and sends the target barrage to the target media resource.
As one possible implementation, since the number of users viewing the media asset is large, the number of comment information posted by those users is also large, and the comment information may be different. While comment information posted by a user may form fixed comments based on the video style of the target media asset, these comments will appear multiple times within the media asset posted by the same author.
The present disclosure determines seventh comment information, of the comment information, that occurs more than a second threshold, as a target barrage and issues to a target media asset.
The technical scheme provided by the embodiment at least has the following beneficial effects: the method and the device form fixed interaction information between the author of the media resource and the viewer of the media resource, and because the media resource released by the same author has a fixed style, the interaction information is matched with each media resource released by the same author, so that the interaction information can be determined to be barrage information of the media resource released by the same author, barrage content is enriched, other users can quickly know about the author in an interesting mode, and the viewing experience of the users is improved.
In one embodiment, after determining the target barrage, the method further includes S20, as shown in fig. 7, in conjunction with fig. 4, 5, and 6.
And S20, the electronic equipment ranks the target barrages according to the barrage scoring indexes to obtain the quality grades of the target barrages.
The bullet screen scoring index comprises at least one of a creative index, a content laminating index and a positive energy index.
As one possible implementation, the quality levels of the target barrage may include a first level for indicating that the quality of the target barrage is poor, a second level for indicating that the quality of the target barrage is low, a third level for indicating that the quality of the target barrage is normal, a fourth level for indicating that the quality of the target barrage is good, and a fifth level for indicating that the quality of the target barrage is highest.
The barrage scoring index includes at least one of a creative index, a content fit index, and a positive energy index, e.g., the barrage scoring index may include a creative index, or may include a creative index and a content fit index, or a creative index, a content fit index, and a positive energy index. Of course, for media resources of different resource types, the corresponding bullet screen scoring indicators may also include emotion indicators, and the like.
The creative index is used for indicating the novelty of the target barrage, and the higher the novelty is, the higher the score of the creative index is; the content laminating index is used for the degree of coincidence of the target bullet screen and the target media resource, and the higher the degree of coincidence is, the higher the grading of the content laminating index is; the positive energy indicator is used for indicating whether the target barrage is a positive energy word, such as positive upward words of "fueling", "effort", and the like, wherein the score of the positive energy indicator is determined to be a fixed score when the target barrage is a positive energy word, and the score of the positive energy indicator is determined to be 0 when the target barrage is not a positive energy word. Similarly, the emotion index is used for indicating whether the target barrage is an emotion word, such as "heart hurt" and "happy", when the target barrage is the emotion word, the score of the emotion index is determined to be a fixed score, and when the target barrage is not the emotion word, the score of the emotion index is determined to be 0.
When the bullet screen score index includes P indices, the total score of the bullet screen score may be determined to be p×10, i.e., the full score of each bullet screen score index is 10 points.
The above scoring of each bullet screen scoring indicator is merely exemplary, and a person skilled in the art may set the scoring process of each bullet screen scoring indicator according to need, which is not limited in this disclosure.
For example, when the bullet screen scoring index includes a creative index, a content fitting index and a positive energy index, and the target bullet screen is a "a mr operation shows", if the resource type of the target media resource is a game video-role playing video-a second game-a mr video, the score of the content fitting index of the target bullet screen may be 10; the score of the creative index can be X/Y10, wherein X is the number of times that the target barrage 'a mr operation shows' appears, Y is the total number of the target barrages, and 10 is the full score of the creative index; the positive energy indicator scores 0. At this time, the target barrage "the teacher operated a little show" was scored as 10+x/Y10+0.
The rating of the target barrage may be referred to in table 2 below.
TABLE 2
Scoring of target barrage (fully divided into P10) | |
First level of | 0-P*2 |
Second level of | P*2-P*4 |
Third grade of | P*4-P*6 |
Fourth grade | P*6-P*8 |
Fifth grade | P*8-P*10 |
The quality rating of the target barrage can be determined based on the scoring of the target barrage in combination with table 2 above.
The technical scheme provided by the embodiment at least has the following beneficial effects: according to the method and the device, the bullet screen with higher quality can be obtained from the target bullet screen through the quality rating of the target bullet screen, so that the quality of the target bullet screen is improved, and the situation that the watching experience of a user is influenced due to the fact that the quality of the target bullet screen is too low is avoided.
In one embodiment, after determining the target barrage, the method further includes S21-S22, as shown in fig. 8, in conjunction with fig. 7.
S21, the electronic equipment acquires the target high-quality barrage from the target barrage according to the quality grade of the target barrage.
S22, the electronic equipment issues the target high-quality barrage to the target media resource.
As one possible implementation, where the quality levels of the target barrage include a first level, a second level, a third level, a fourth level, and a fifth level, the target high quality barrage may refer to the target barrage having a quality level higher than the third level (including the third level).
After determining the quality level of each target barrage at step S20, a target high quality barrage may be determined from among the target barrages and distributed to the target media assets.
The technical scheme provided by the embodiment at least has the following beneficial effects: after the target barrage corresponding to the resource type and the content element of the target media resource is determined, the quality of the target barrage is further scored, and the quality of the target barrage released to the target media resource is improved again, so that the watching experience of a user is improved.
Fig. 9 is a schematic diagram showing a structure of a bullet screen publishing apparatus according to an exemplary embodiment, and as shown in fig. 9, the bullet screen publishing apparatus 30 includes a media analyzing unit 301, an acquiring unit 302, a bullet screen generating unit 303, a bullet screen publishing unit 304, and a quality rating unit 305.
A media analysis unit 301 for determining content elements and resource types of the target media resource. For example, the media analysis unit 301 may perform step S11 described above.
An obtaining unit 302, configured to obtain first comment information and second comment information according to the content element and the resource type of the target media resource determined by the media analysis unit 301; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element. For example, the acquisition unit 302 may perform step S12 described above.
The barrage generating unit 303 is configured to perform semantic conversion on the first comment information acquired by the acquiring unit 302 to obtain third comment information, and replace an element object in the second comment information acquired by the acquiring unit according to a content element of the target media resource to obtain fourth comment information. For example, the bullet screen generating unit 303 may perform the above-described step S13.
And the barrage posting unit 304 is configured to combine the third comment information and the fourth comment information obtained by the barrage generating unit 303 into a target barrage, and send the target barrage to the target media resource. For example, the bullet screen publishing unit 304 may perform step S14 described above.
Optionally, the obtaining unit 302 is further configured to obtain the first comment information and the second comment information from the first server and the plurality of second servers before determining the content element and the resource type of the target media resource; the first server is a server of the target media resource, and the second server is a server of the media resource outside the first server. For example, the acquisition unit 302 may perform step S10 described above.
Optionally, the obtaining unit 302 is further configured to obtain, in a case where the target media resource is a unique media resource of the first server, fifth comment information corresponding to a resource type of the target media resource from the first server. For example, the acquisition unit 302 may perform step S15 described above.
The barrage posting unit 304 is further configured to determine the fifth comment information as a target barrage and issue the target comment information to the target media resource if the number of occurrences of the fifth comment information acquired by the acquiring unit 302 is greater than the first threshold. For example, the bullet screen publishing unit 304 may perform step S16 described above.
Optionally, the obtaining unit 302 is further configured to obtain sixth comment information from the first server and the plurality of second servers; the sixth comment information is used for commenting the playing progress of the media resource. For example, the acquisition unit 302 may perform step S17 described above.
The barrage posting unit 304 is further configured to determine the sixth comment information acquired by the acquiring unit 302 as a target barrage, and issue the determined target barrage to the target media resource. For example, the bullet screen publishing unit 304 may perform step S18 described above.
Optionally, the obtaining unit 302 is further configured to obtain, according to the author of the target media resource, seventh comment information of the media resource corresponding to the author from the first server and the plurality of second servers. For example, the acquisition unit 302 may perform step S19 described above.
The barrage posting unit 304 is further configured to determine the seventh comment information as a target barrage and issue the target comment information to the target media resource if the number of occurrences of the seventh comment information acquired by the acquiring unit 302 is greater than the second threshold. For example, the bullet screen publishing unit 304 may perform step S110 described above.
Optionally, the apparatus further comprises a quality rating unit 305.
The quality rating unit 305 is configured to rate the target barrage according to the barrage scoring index after determining the target barrage, so as to obtain a quality grade of the target barrage; the barrage scoring indicator includes at least one of a creative indicator, a content fit indicator, and a positive energy indicator. For example, the quality rating unit 305 may perform the above-described step S20.
Optionally, the barrage issuing unit 304 is specifically configured to: acquiring a target high-quality barrage from the target barrage according to the quality grade of the target barrage; and publishing the target high-quality barrage to the target media resource. For example, the bullet screen issue unit 304 may perform steps S21-S22 described above.
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. 10 is a schematic structural diagram of an electronic device 40 provided in the present disclosure. As shown in fig. 10, the electronic device 40 may include at least one processor 401 and a memory 403 for storing instructions executable by the processor 401. Wherein the processor 401 is configured to execute instructions in the memory 403 to implement the barrage distribution method in the above-described embodiments. As an example, in connection with fig. 9, the media analysis unit 301, the acquisition unit 302, the bullet screen generation unit 303, the bullet screen distribution unit 304, and the quality rating unit 305 in the bullet screen distribution apparatus realize the same functions as those of the processor 401 in fig. 10.
In addition, electronic device 40 may also include a communication bus 402 and at least one communication interface 404.
Processor 401 may be a GPU, a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of the programs of the present disclosure.
Communication bus 402 may include a path to transfer information between the aforementioned components.
The communication interface 404 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc.
The memory 403 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be stand alone and be connected to the processing unit by a bus. The memory may also be integrated with the processing unit as a volatile storage medium in the GPU.
Wherein the memory 403 is used for storing instructions for executing the disclosed aspects and is controlled by the processor 401 for execution. The processor 401 is configured to execute instructions stored in the memory 403 to implement the functions in the methods of the present disclosure.
In a particular implementation, as one embodiment, processor 401 may include one or more GPUs, such as GPU0 and GPU1 in fig. 10.
In a particular implementation, electronic device 40 may include multiple processors, such as processor 401 and processor 407 in FIG. 10, as one embodiment. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-GPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In a particular implementation, electronic device 40 may also include an output device 405 and an input device 406, as one embodiment. The output device 405 communicates with the processor 401 and may display information in a variety of ways. For example, the output device 405 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a Cathode Ray Tube (CRT) display device, or a projector (projector), or the like. The input device 406 is in communication with the processor 401 and may accept user input in a variety of ways. For example, the input device 406 may be a mouse, keyboard, touch screen device, or sensing device, among others.
Those skilled in the art will appreciate that the structure shown in fig. 10 is not limiting of the electronic device 40 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In addition, the present disclosure also provides a computer-readable storage medium including instructions that, when executed by a processor of an electronic device, cause the electronic device to perform the barrage distribution method as provided by the above-described embodiments.
In addition, the present disclosure also provides a computer program product comprising instructions that, when run on a processor of an electronic device, cause the electronic device to perform the barrage distribution method as provided by the above embodiments.
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 (16)
1. A barrage release method, comprising:
determining content elements and resource types of the target media resources;
acquiring first comment information and second comment information according to the content elements and the resource types of the target media resources; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element;
performing semantic conversion on the first comment information to obtain third comment information, and replacing element objects in the second comment information according to content elements of the target media resource to obtain fourth comment information;
and merging the third comment information and the fourth comment information into a target barrage and distributing the target barrage to the target media resource.
2. The barrage distribution method of claim 1, further comprising, prior to said determining the content elements and resource types of the target media resource:
Acquiring the first comment information and the second comment information from a first server, and/or acquiring the first comment information and the second comment information from a plurality of second servers; the first server is a server of the target media resource, and the second server is a server of the media resource outside the first server.
3. The barrage distribution method of claim 2, further comprising:
acquiring fifth comment information corresponding to a resource type of the target media resource from the first server under the condition that the target media resource is a unique media resource of the first server;
and under the condition that the number of times of occurrence of the fifth comment information is larger than a first threshold value, determining the fifth comment information as the target barrage and distributing the target comment information to the target media resource.
4. A barrage distribution method according to claim 3, further comprising:
obtaining sixth comment information from the first server and the plurality of second servers; the sixth comment information is used for commenting the playing progress of the media resource;
and determining the sixth comment information as the target barrage and issuing the sixth comment information to the target media resource.
5. The barrage distribution method of claim 4, further comprising:
according to the author of the target media resource, seventh comment information of the media resource corresponding to the author is obtained from the first server and the plurality of second servers;
and determining the seventh comment information as the target barrage and issuing the target comment information to the target media resource under the condition that the occurrence number of the seventh comment information is larger than a second threshold value.
6. The barrage distribution method of claim 5, further comprising, after determining the target barrage:
grading the target barrage according to the barrage grading index to obtain the quality grade of the target barrage; the barrage scoring index includes at least one of a creative index, a content fit index, and a positive energy index.
7. The bullet screen publication method of claim 6 wherein publishing said target bullet screen to said target media asset comprises:
acquiring a target high-quality barrage from the target barrage according to the quality grade of the target barrage;
and publishing the target high-quality barrage to the target media resource.
8. A barrage release apparatus comprising:
a media analysis unit for determining content elements and resource types of the target media resources;
the acquisition unit is used for acquiring first comment information and second comment information according to the content elements and the resource types of the target media resources determined by the media analysis unit; the first comment information is preset comment information corresponding to the resource type, and the second comment information is information associated with the content element;
the bullet screen generating unit is used for carrying out semantic conversion on the first comment information acquired by the acquiring unit to obtain third comment information, and replacing element objects in the second comment information acquired by the acquiring unit according to the content elements of the target media resource to obtain fourth comment information;
and the barrage issuing unit is used for merging the third comment information and the fourth comment information obtained by the barrage generating unit into a target barrage and issuing the target barrage to the target media resource.
9. The bullet screen posting apparatus of claim 8, wherein said obtaining unit is further configured to obtain said first comment information and said second comment information from a first server and/or obtain said first comment information and said second comment information from a plurality of second servers before said determining a content element and a resource type of a target media resource; the first server is a server of the target media resource, and the second server is a server of the media resource outside the first server.
10. The bullet screen publication apparatus of claim 9, wherein said obtaining unit is further configured to obtain fifth comment information corresponding to a resource type of the target media resource from the first server, in a case where the target media resource is a unique media resource of the first server;
the barrage issuing unit is further configured to determine the fifth comment information as the target barrage and issue the fifth comment information to the target media resource when the number of occurrences of the fifth comment information acquired by the acquiring unit is greater than a first threshold.
11. The bullet screen posting apparatus of claim 10, wherein said obtaining unit is further configured to obtain sixth comment information from said first server and said plurality of second servers; the sixth comment information is used for commenting the playing progress of the media resource;
the barrage issuing unit is further configured to determine the sixth comment information acquired by the acquiring unit as the target barrage, and issue the sixth comment information to the target media resource.
12. The bullet screen publishing apparatus of claim 11, wherein said obtaining unit is further configured to obtain seventh comment information of a media asset corresponding to an author from said first server and a plurality of said second servers according to the author of said target media asset;
The barrage issuing unit is further configured to determine the seventh comment information as the target barrage and issue the determined seventh comment information to the target media resource when the number of occurrences of the seventh comment information acquired by the acquiring unit is greater than a second threshold.
13. The barrage distribution device of claim 12, wherein the device further comprises a quality rating unit;
the quality rating unit is used for rating the target barrage according to barrage scoring indexes after the target barrage is determined, so as to obtain the quality grade of the target barrage; the barrage scoring index includes at least one of a creative index, a content fit index, and a positive energy index.
14. The barrage distribution device of claim 13, wherein the barrage distribution unit is specifically configured to:
acquiring a target high-quality barrage from the target barrage according to the quality grade of the target barrage;
and publishing the target high-quality barrage to the target media resource.
15. 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 barrage release method of any of claims 1 to 7.
16. A computer-readable storage medium, the computer-readable storage medium comprising instructions; the instructions, when executed by a processor of an electronic device, cause the electronic device to perform the barrage release method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111256783.6A CN113992962B (en) | 2021-10-27 | 2021-10-27 | Barrage release method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111256783.6A CN113992962B (en) | 2021-10-27 | 2021-10-27 | Barrage release method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113992962A CN113992962A (en) | 2022-01-28 |
CN113992962B true CN113992962B (en) | 2024-01-02 |
Family
ID=79742704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111256783.6A Active CN113992962B (en) | 2021-10-27 | 2021-10-27 | Barrage release method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113992962B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840301A (en) * | 2019-01-22 | 2019-06-04 | 珠海天燕科技有限公司 | A kind of method and device |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN111669657A (en) * | 2020-06-08 | 2020-09-15 | 咪咕文化科技有限公司 | Video comment method and device, electronic equipment and storage medium |
CN111783013A (en) * | 2020-06-28 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Comment information publishing method, device, equipment and computer-readable storage medium |
CN112328816A (en) * | 2020-11-03 | 2021-02-05 | 北京百度网讯科技有限公司 | Media information display method and device, electronic equipment and storage medium |
CN112672219A (en) * | 2020-12-17 | 2021-04-16 | 北京达佳互联信息技术有限公司 | Comment information interaction method and device and electronic equipment |
CN113015015A (en) * | 2021-02-02 | 2021-06-22 | 中国地质大学(武汉) | Bullet screen interaction method, device, equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10489473B2 (en) * | 2017-06-12 | 2019-11-26 | Flipboard, Inc. | Generating information describing interactions with a content item presented in multiple collections of content |
-
2021
- 2021-10-27 CN CN202111256783.6A patent/CN113992962B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840301A (en) * | 2019-01-22 | 2019-06-04 | 珠海天燕科技有限公司 | A kind of method and device |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN111669657A (en) * | 2020-06-08 | 2020-09-15 | 咪咕文化科技有限公司 | Video comment method and device, electronic equipment and storage medium |
CN111783013A (en) * | 2020-06-28 | 2020-10-16 | 百度在线网络技术(北京)有限公司 | Comment information publishing method, device, equipment and computer-readable storage medium |
CN112328816A (en) * | 2020-11-03 | 2021-02-05 | 北京百度网讯科技有限公司 | Media information display method and device, electronic equipment and storage medium |
CN112672219A (en) * | 2020-12-17 | 2021-04-16 | 北京达佳互联信息技术有限公司 | Comment information interaction method and device and electronic equipment |
CN113015015A (en) * | 2021-02-02 | 2021-06-22 | 中国地质大学(武汉) | Bullet screen interaction method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113992962A (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9723335B2 (en) | Serving objects to be inserted to videos and tracking usage statistics thereof | |
US10864447B1 (en) | Highlight presentation interface in a game spectating system | |
CN104216630B (en) | interface sharing method and device | |
US10617945B1 (en) | Game video analysis and information system | |
CN103718166A (en) | Information processing apparatus, information processing method, and computer program product | |
US10363488B1 (en) | Determining highlights in a game spectating system | |
CN105430471B (en) | The display methods and device of barrage in a kind of video | |
US10474749B2 (en) | Method and device for generating live text broadcasting content using historical broadcasting text | |
US20240223859A1 (en) | Management of non-linear content presentation and experience | |
US20140298379A1 (en) | 3D Mobile and Connected TV Ad Trafficking System | |
CN113497946B (en) | Video processing method, device, electronic equipment and storage medium | |
CN113490006A (en) | Live broadcast interaction method and equipment based on bullet screen | |
CN113392690A (en) | Video semantic annotation method, device, equipment and storage medium | |
CN106774852B (en) | Message processing method and device based on virtual reality | |
CN108421240A (en) | Court barrage system based on AR | |
CN114786030A (en) | Anchor picture display method and device, electronic equipment and storage medium | |
CN113992962B (en) | Barrage release method and device, electronic equipment and storage medium | |
CN110225365A (en) | A kind of method, server and the client of the interaction of masking-out barrage | |
EP3940551A1 (en) | Method and apparatus for generating weather forecast video, electronic device, and storage medium | |
US10245509B2 (en) | System and method of inferring user interest in different aspects of video game streams | |
CN117196723A (en) | Advertisement space matching method, system, medium and equipment | |
CN105597295A (en) | Method and device for displaying score in real time | |
CN109089151B (en) | Processing method and device for displaying bullet screen information | |
CN115721940A (en) | Interactive live broadcast method and device for offline game, storage medium and computer equipment | |
US20130267311A1 (en) | Identity game |
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 |