CN114650455B - Barrage information processing method and device, electronic equipment and storage medium - Google Patents

Barrage information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114650455B
CN114650455B CN202210147409.0A CN202210147409A CN114650455B CN 114650455 B CN114650455 B CN 114650455B CN 202210147409 A CN202210147409 A CN 202210147409A CN 114650455 B CN114650455 B CN 114650455B
Authority
CN
China
Prior art keywords
target
barrage
bullet screen
information
category
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210147409.0A
Other languages
Chinese (zh)
Other versions
CN114650455A (en
Inventor
杨宜坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210147409.0A priority Critical patent/CN114650455B/en
Publication of CN114650455A publication Critical patent/CN114650455A/en
Application granted granted Critical
Publication of CN114650455B publication Critical patent/CN114650455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure relates to a bullet screen information processing method, a bullet screen information processing device, electronic equipment and a storage medium, and relates to the technical field of data processing. The specific scheme comprises the following steps: acquiring target barrage information of a target live broadcasting room; classifying the target barrage information by adopting a target barrage classification model corresponding to the target live broadcasting room, and determining target categories corresponding to the target barrage information, wherein the target barrage classification model is obtained by training barrage information of the target live broadcasting room on the basis of a general barrage classification model; and deleting the target barrage information from the target live broadcasting room when the target category is the first category, wherein the target barrage information in the first category is barrage information meeting the negative feedback behavior triggering condition of the user. By aiming at bullet screen classification models of different live broadcasting rooms, automatic shielding of bullet screen information of different live broadcasting rooms is realized, and flexibility of bullet screen shielding is improved.

Description

Barrage information processing method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of data processing, and in particular relates to a bullet screen information processing method, device, electronic equipment and storage medium.
Background
The barrage refers to comment information popped up along with video content when the video is played, and not only can the user express the experience of watching the program, but also the user can watch comment content of other users on the program, so that interactivity when the user watches the video is realized.
Many video-type applications today provide barrage functionality. To prevent some inappropriate bullet screen information from affecting other users and anchors viewing the video, the electronic device needs to identify and mask the inappropriate bullet screen information.
In the related art, a mask keyword may be preset. When the bullet screen information contains the shielding keywords, the electronic device can shield the bullet screen information. However, this approach is less flexible and cannot be shielded by the electronic device when the user changes chinese to pinyin or harmonic words.
Disclosure of Invention
The invention provides a barrage information processing method, device, electronic equipment and storage medium, which realize automatic screening of barrage information of different live broadcasting rooms by aiming at barrage classification models of different live broadcasting rooms, and improve the flexibility of barrage screening.
The technical scheme of the present disclosure is as follows:
according to a first aspect of the present disclosure, there is provided a method for processing bullet screen information, the method comprising:
acquiring target barrage information of a target live broadcasting room;
classifying the target barrage information by adopting a target barrage classification model corresponding to the target live broadcasting room, and determining target categories corresponding to the target barrage information, wherein the target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of a general barrage classification model;
and deleting the target barrage information from the target live broadcasting room when the target category is the first category, wherein the target barrage information in the first category is barrage information meeting the negative feedback behavior triggering condition of the user.
Optionally, the bullet screen information processing method further includes:
and when the target barrage information is determined to be the barrage information deleted by mistake, adding the target barrage information into the target barrage sample set as a forward sample.
Optionally, the target category is a second category, the target barrage information of the second category is normal barrage information, and the barrage information processing method further includes:
and in response to the operation of the account marking the target barrage information as the first category, adding the target barrage information as a negative going sample to the target barrage sample set.
Optionally, the bullet screen information processing method further includes:
and when the ratio of the newly added sample number in the target barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the target barrage sample set after adding the sample to obtain a new target barrage classification model.
Optionally, the bullet screen information processing method further includes:
acquiring bullet screen samples of a first category from a plurality of live broadcasting rooms, and acquiring bullet screen samples of a second category from the plurality of live broadcasting rooms to obtain bullet screen sample sets;
training the neural network by adopting a barrage sample set to obtain a general barrage classification model;
and when the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification model.
According to a second aspect of the present disclosure, there is provided a processing apparatus of bullet screen information, including:
the acquisition module is configured to acquire target bullet screen information of a target live broadcasting room;
the determining module is configured to execute classifying the target barrage information acquired by the acquiring module by adopting a target barrage classifying model corresponding to the target live broadcasting room, and determine a target category corresponding to the target barrage information, wherein the target barrage classifying model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of a general barrage classifying model;
and the deleting module is configured to delete the target barrage information from the target live broadcasting room when the target category determined by the determining module is the first category, wherein the target barrage information in the first category is barrage information meeting the negative feedback behavior triggering condition of the user.
Optionally, the bullet screen information processing device further includes: an add module configured to perform:
and when the target barrage information is determined to be the barrage information deleted by mistake, adding the target barrage information into the target barrage sample set as a forward sample.
Optionally, the target category is a second category, the target barrage information of the second category is normal barrage information, and the barrage information processing device further includes: an add module configured to perform:
and in response to the operation of the account marking the target barrage information as a category, adding the target barrage information as a negative sample to the target barrage sample set.
Optionally, the bullet screen information processing device further includes: a training module;
and the training module is configured to execute retraining of the neural network by using the target barrage sample set after the samples are added when the ratio of the newly added sample number in the target barrage sample set to the total sample number before the addition is greater than or equal to a preset percentage, so as to obtain a new target barrage classification model.
Optionally, the bullet screen information processing device further includes: a training module;
the acquisition module is further configured to acquire bullet screen samples of a first category from the plurality of live broadcasting rooms and acquire bullet screen samples of a second category from the plurality of live broadcasting rooms to obtain bullet screen sample sets;
the training module is configured to execute training on the neural network by adopting the bullet screen sample set acquired by the acquisition module to acquire a general bullet screen classification model; and when the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification model.
According to a third aspect 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 method of processing bullet screen information of any of the above-described first aspects optionally.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium having instructions stored thereon, which when executed by a processor of an electronic device, enable the electronic device to perform the method of processing the bullet screen information of any one of the above-mentioned first aspects.
According to a fifth aspect of the present disclosure there is provided a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform the method of processing optionally bullet screen information as in any of the first aspects.
The technical scheme provided by the disclosure at least brings the following beneficial effects: the bullet screen information processing device acquires target bullet screen information of the target live broadcasting room, classifies the target bullet screen information by adopting a target bullet screen classification model corresponding to the target live broadcasting room, determines a target category corresponding to the target bullet screen information, and deletes the target bullet screen information from the target live broadcasting room when the target category is a first category, wherein the target bullet screen information of the first category is bullet screen information meeting the negative feedback behavior triggering condition of a user. The target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of the general barrage classification model, and barrage information of different live broadcasting rooms is different, so that the target barrage classification model corresponding to different live broadcasting rooms is different. By classifying the barrage information by utilizing the barrage classification model aiming at each live broadcasting room, if the barrage information is of the first category, deleting the barrage information, intelligent shielding of barrage information of each live broadcasting room is realized, and the flexibility of barrage shielding 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 one of flowcharts illustrating a method of processing bullet screen information according to an exemplary embodiment.
FIG. 2 is a second flowchart illustrating a method of processing bullet screen information according to an exemplary embodiment.
Fig. 3 is one of logical block diagrams of a bullet screen information processing apparatus according to an exemplary embodiment.
Fig. 4 is a second logical block diagram of a bullet screen information processing apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram of an electronic device, according to an example 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 embodiments described in the following exemplary examples do not represent all embodiments 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 (including, but not limited to, user equipment information, user personal information, etc.) according to the embodiments of the present disclosure is information authorized by the user or sufficiently authorized by each party.
At present, the barrage becomes an important element for watching videos and living broadcast for many audiences, and not only can enable users to express the experience of watching programs, but also can enable the users to watch comment contents of other users on the programs, so that interactivity of the users watching the videos is realized.
The barrage information processing method provided by the embodiment of the disclosure can be applied to a scene of shielding barrage information by electronic equipment. In the related art, bullet screen information containing shielding keywords is shielded by setting the shielding keywords. Alternatively, a general bullet screen classification model is utilized to implement shielding of bullet screen information. However, the flexibility of the manner in which the shielding keywords are set is low, and the generic barrage classification model does not fit all live rooms.
In order to achieve automatic shielding of barrage information of different live broadcasting rooms and improve the flexibility of barrage shielding, the embodiment of the disclosure provides a barrage information processing method. By classifying the barrage information by utilizing the barrage classification model aiming at each live broadcasting room, if the barrage information is of the first category, deleting the barrage information, intelligent shielding of barrage information of each live broadcasting room is realized, and the flexibility of barrage shielding is improved.
It should be noted that, the execution body of the bullet screen information processing method provided in the embodiment of the present disclosure is a bullet screen information processing device. The bullet screen information processing device can be electronic equipment, and the electronic equipment can be electronic equipment used by a host user or electronic equipment used by a house management user. Specifically, a host user or a homeowner can log in to a live webcast platform to conduct live webcast by using electronic equipment. The audience users can log in the network live broadcast platform to watch the network live broadcast by using the electronic equipment of the audience users and issue barrage information to the live broadcast room. The bullet screen information may be normal bullet screen information or illegal bullet screen information.
Fig. 1 is a flowchart illustrating a method of processing bullet screen information according to an exemplary embodiment, and as shown in fig. 1, the method may include the following steps 101-103.
101. And the electronic equipment acquires the target barrage information of the target live broadcasting room.
When a host user or a house manager logs in the network live broadcast platform by using the electronic equipment to conduct network live broadcast, the electronic equipment can acquire the published target barrage information in the target live broadcast room in the live broadcast process.
Generally, the barrage is displayed in text form. In some cases, the barrage may also be presented in the form of barrage rich media (such as simple emoticons, character icons, flash animation effects).
102. The electronic equipment classifies the target barrage information by adopting a target barrage classification model corresponding to the target live broadcasting room, and determines the target category corresponding to the target barrage information.
After the electronic equipment acquires the target barrage information, the electronic equipment can acquire a target barrage classification model corresponding to the target live broadcasting room, classify the target barrage information by adopting the target barrage classification model, and determine a target category corresponding to the target barrage information. The target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of the general barrage classification model. The bullet screen information in different live broadcasting rooms is different, so that the target bullet screen classification models of different live broadcasting rooms are also different.
It is understood that the target category may be a preset category. For example, the target category may be a first category or a second category. The first category refers to the category of the offensive barrage and the second category refers to the category of the normal barrage.
In addition, the general barrage classification model is obtained by training barrage information from a plurality of live broadcasting rooms, and is applicable to barrage classification models of all live broadcasting rooms. The bullet screen information meeting the preset conditions in the target live broadcasting room can be normal bullet screen information deleted by mistake, and can also be information marked as a illegal bullet screen by a host user or a house manager.
Optionally, in an embodiment of the present disclosure, after the electronic device classifies the target barrage information by using a target barrage classification model, a probability that the target barrage information belongs to different categories is obtained. The electronic equipment can be used for judging the probability of the target barrage information belonging to different categories
And determining the probabilities of different categories, and determining the target category corresponding to the target barrage information.
For example, it is assumed that after the electronic device classifies the target barrage information using the target barrage classification model, a first probability that the target barrage information belongs to a first category and a second probability that the target barrage information belongs to a second category are obtained. Then, the electronic device may determine, according to the first probability and the second probability, and the preset probability value, whether the target class corresponding to the target barrage information is the first class or the second class. For example, the electronic device may determine that the target class is the first class when it is determined that the first probability is greater than a first preset probability value and the second probability is less than a second preset probability value.
103. And when the target category is the first category, the electronic equipment deletes the target barrage information from the target live broadcasting room.
The target barrage information of the first category is barrage information meeting the trigger condition of negative feedback behavior of the user, namely the target barrage information of the first category is illegal barrage information.
Optionally, in an embodiment of the present disclosure, when the target category is the first category, the electronic device may prohibit the user who publishes the target barrage information from speaking in the target live broadcast room, in addition to deleting the target barrage information from the target live broadcast room.
Optionally, when the target category is a second category, the electronic device does not perform an operation when the target category is a normal barrage category of the second category.
The technical scheme provided by the embodiment at least brings the following beneficial effects: the bullet screen information processing device acquires target bullet screen information of the target live broadcasting room, classifies the target bullet screen information by adopting a target bullet screen classification model corresponding to the target live broadcasting room, determines a target category corresponding to the target bullet screen information, and deletes the target bullet screen information from the target live broadcasting room when the target category is a first category, wherein the target bullet screen information of the first category is bullet screen information meeting the negative feedback behavior triggering condition of a user. The target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of the general barrage classification model, and barrage information of different live broadcasting rooms is different, so that the target barrage classification model corresponding to different live broadcasting rooms is different. By classifying the barrage information by utilizing the barrage classification model aiming at each live broadcasting room, if the barrage information is of the first category, deleting the barrage information, intelligent shielding of barrage information of each live broadcasting room is realized, and the flexibility of barrage shielding is improved.
Optionally, in the embodiment of the present disclosure, after the electronic device deletes the target barrage information from the target live broadcasting room and prohibits the user who issues the target barrage information from speaking, if feedback information from the user is received, where the feedback information is used to indicate that a normal barrage is falsely shielded, the electronic device may determine that the target barrage information is barrage information deleted by mistake in response to a confirmation operation of the feedback information by a host user or a homeowner user, and add the target barrage information as a forward sample to the target barrage sample set.
The bullet screen information which is deleted by mistake indicates that the accuracy of the classification result of the target bullet screen classification model needs to be improved, and the bullet screen information which is deleted by mistake is added into the target bullet screen sample set as a forward sample, so that the bullet screen classification model is retrained after the target bullet screen sample set meets a certain condition, thereby realizing the real-time updating of the bullet screen classification model and ensuring the effectiveness of the bullet screen classification model.
Optionally, in an embodiment of the present disclosure, when the target category is a second category and the target barrage information of the second category is normal barrage information, the electronic device may add the target barrage information as a negative sample to the target barrage sample set in response to an operation of marking the target barrage information as the first category by the anchor account or the homeowner account.
When the target barrage information is a violation barrage but is not identified by the model, the target barrage information can be added into the target barrage sample set in a manual marking mode to retrain the barrage classification model after the target barrage sample set meets a certain condition, so that the barrage classification model is updated in real time, and the effectiveness of the barrage classification model is ensured.
It may be understood that the operation of marking the target barrage information as the first category may specifically be an operation of pulling an account corresponding to the target barrage information into a blacklist, or may be an operation of deleting the target barrage information.
Optionally, in an embodiment of the present disclosure, when a ratio of a number of samples newly added in the target barrage sample set to a total number of samples before addition is greater than or equal to a preset percentage, the electronic device may retrain the neural network with the target barrage sample set after adding the samples, to obtain a new target barrage classification model. Thus, the electronic device can use the new target barrage classification model to classify barrage information so as to determine whether to mask the barrage information.
By retraining the target barrage classification model under the condition that the target barrage sample set meets a certain condition, continuous iteration of the target barrage classification model is realized, and instantaneity and accuracy of the target barrage classification model are ensured.
Optionally, in an embodiment of the present disclosure, in conjunction with fig. 1, as shown in fig. 2, the method for processing barrage information may further include the following steps 104-106.
104. The electronic equipment acquires bullet screen samples of a first category from a plurality of live broadcasting rooms, acquires bullet screen samples of a second category from the plurality of live broadcasting rooms, and obtains bullet screen sample sets.
The total number of the samples in the barrage sample set meets the preset number, and the numbers of barrage samples in two categories in the barrage sample set are the same.
105. The electronic equipment trains the neural network by adopting a barrage sample set to obtain a general barrage classification model.
Optionally, in the embodiment of the present disclosure, the electronic device may first perform preprocessing on each barrage sample in the barrage sample set, and specifically may filter special characters or messy codes in the barrage text. Then, the electronic device may predict the core character based on the contextual character, obtain a word vector corresponding to each barrage sample, and represent the barrage sample as a sentence matrix according to the word vector. Then, the electronic device can conduct feature extraction on the sentence matrix through the one-dimensional convolution layer, change sentences with different lengths into fixed-length representations through the pooling layer, and output probabilities that bullet screen samples belong to various categories through the softmax function of the full-connection layer.
It should be noted that, in the embodiment of the present disclosure, the general barrage classification model may be obtained by training the electronic device itself, or may be obtained by training a server, and sent to the electronic device.
106. When the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is larger than or equal to a preset percentage, the electronic equipment retrains the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification model.
The newly added sample refers to bullet screen information meeting preset conditions in the target live broadcasting room, namely, positive bullet screen information deleted by mistake or negative bullet screen information not recognized by the model.
It should be noted that, step 104-step 106 are the first process of obtaining the target barrage classification model based on the general barrage classification model. Then, in the live broadcast process, continuous iteration can be performed based on the target barrage classification model.
The technical scheme provided by the embodiment at least brings the following beneficial effects: through training general barrage classification model first, then add the barrage information that satisfies preset condition of living broadcast room characteristic constantly, carry out the training of model, realized the shielding to barrage information of different living broadcast rooms.
Fig. 3 is a logical block diagram of a bullet screen information processing apparatus according to an exemplary embodiment. Referring to fig. 3, the bullet screen information processing apparatus is applied to an electronic device, and includes: an acquisition module 31, a determination module 32 and a deletion module 33.
An acquisition module 31 configured to perform acquisition of target bullet screen information of a target live broadcasting room;
the determining module 32 is configured to perform classifying the target barrage information acquired by the acquiring module 31 by using a target barrage classification model corresponding to the target live broadcasting room, and determine a target category corresponding to the target barrage information, wherein the target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room by adding the target barrage classification model;
and a deleting module 33 configured to delete the target barrage information from the target live broadcasting room when the target category determined by the determining module 32 is a first category, the target barrage information of the first category being barrage information satisfying a negative feedback behavior trigger condition of the user.
Optionally, as shown in fig. 4, the bullet screen information processing apparatus further includes: the module 34 is added.
An augmentation module 34 configured to perform: and when the target barrage information is determined to be the barrage information deleted by mistake, adding the target barrage information into the target barrage sample set as a forward sample.
Optionally, the target category is a second category, and the target barrage information of the second category is normal barrage information.
An augmentation module 34 configured to perform: and in response to the operation of the account marking the target barrage information as the first category, adding the target barrage information as a negative going sample to the target barrage sample set.
Optionally, as shown in fig. 4, the bullet screen information processing apparatus further includes: training module 35.
The training module 35 is configured to perform retraining of the neural network with the target barrage sample set after the adding of the samples when the ratio of the newly added sample number in the target barrage sample set to the total sample number before the adding is greater than or equal to a preset percentage, to obtain a new target barrage classification model.
Optionally, the obtaining module 31 is further configured to perform obtaining bullet screen samples of a first category from the plurality of living rooms, and obtain bullet screen samples of a second category from the plurality of living rooms, so as to obtain a bullet screen sample set;
the training module 35 is configured to perform training on the neural network by using the barrage sample set acquired by the acquisition module 31 to obtain a general barrage classification model; and when the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification 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. 5 is a block diagram illustrating a structure of an electronic device according to an exemplary embodiment, which may be a processing apparatus of bullet screen information, which may be: smart phones, tablet computers, notebook computers or desktop computers.
The bullet screen information processing means may comprise at least one processor 51, a communication bus 52, a memory 53 and at least one communication interface 54.
The processor 51 may be a processor (central processing units, CPU), a microprocessor unit, or one or more integrated circuits for controlling the execution of programs in accordance with aspects of the present disclosure.
Communication bus 52 may include a path to transfer information between the aforementioned components.
The communication interface 54 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 53 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.
Wherein the memory 53 is used for storing application program codes for executing the disclosed aspects and is controlled for execution by the processor 51. The processor 51 is operative to execute application code stored in the memory 53 to thereby implement the functions in the methods of the present disclosure.
In a particular implementation, as one embodiment, processor 51 may include one or more CPUs, such as CPU0 and CPU1 of FIG. 5.
In a specific implementation, as an embodiment, the bullet screen information processing apparatus may include a plurality of processors, such as the processor 51 and the processor 55 in fig. 5. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor.
In a specific implementation, as an embodiment, the apparatus for processing bullet screen information may further include an input device 56 and an output device 57. The input device 56 communicates with the processor 51 and may accept user input in a variety of ways. For example, the input device 56 may be a mouse, keyboard, touch screen device, or sensing device, among others. The output device 57 communicates with the processor 51 and may display information in a variety of ways. For example, the output device 57 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, or the like.
Those skilled in the art will appreciate that the structure shown in fig. 5 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which when executed by a processor of a computer, enable the computer to perform the method of processing barrage information provided by the above-described illustrated embodiments. For example, the computer readable storage medium may be a memory 53 comprising instructions executable by the processor 51 of the electronic device to perform the above-described method. Alternatively, the computer readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The present disclosure also provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the method of processing barrage information provided by the above-described illustrated 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 disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general 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 (10)

1. A method for processing bullet screen information, comprising:
acquiring target barrage information of a target live broadcasting room;
classifying the target barrage information by adopting a target barrage classification model corresponding to the target live broadcasting room, and determining a target category corresponding to the target barrage information, wherein the target barrage classification model is obtained by training barrage information meeting preset conditions in the target live broadcasting room on the basis of a general barrage classification model;
deleting the target barrage information from the target live broadcasting room when the target category is a first category, wherein the target barrage information of the first category is barrage information meeting the negative feedback behavior triggering condition of a user;
the bullet screen information processing method further comprises the following steps:
acquiring bullet screen samples of the first category from a plurality of live broadcasting rooms, and acquiring bullet screen samples of the second category from the plurality of live broadcasting rooms to obtain bullet screen sample sets;
training a neural network by adopting the bullet screen sample set to obtain the general bullet screen classification model;
and when the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification model.
2. The method for processing bullet screen information of claim 1 wherein said method for processing bullet screen information further comprises:
and when the target barrage information is determined to be the barrage information deleted by mistake, adding the target barrage information into a target barrage sample set as a forward sample.
3. The method for processing bullet screen information according to claim 1, wherein the target category is a second category, the target bullet screen information of the second category is normal bullet screen information, and the method for processing bullet screen information further comprises:
and in response to the operation of the account marking the target barrage information as the first category, adding the target barrage information as a negative sample to a target barrage sample set.
4. A method of processing bullet screen information according to claim 2 or 3, wherein the method of processing bullet screen information further comprises:
and when the ratio of the newly added sample number in the target barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by using the target barrage sample set after adding the sample to obtain a new target barrage classification model.
5. A bullet screen information processing apparatus, comprising:
the acquisition module is configured to acquire target bullet screen information of a target live broadcasting room;
the determining module is configured to execute classifying the target barrage information acquired by the acquiring module by adopting a target barrage classifying model corresponding to the target live broadcasting room, and determine a target category corresponding to the target barrage information, wherein the target barrage classifying model is obtained by training barrage information meeting preset conditions in the target live broadcasting room by adding the general barrage classifying model;
a deleting module configured to delete the target barrage information from the target live broadcasting room when the target category determined by the determining module is a first category, the target barrage information of the first category being barrage information satisfying a negative feedback behavior triggering condition of a user;
the bullet screen information processing device further comprises: a training module;
the acquisition module is further configured to perform acquisition of bullet screen samples of the first category from a plurality of live rooms, and acquire bullet screen samples of a second category from the plurality of live rooms, so as to obtain bullet screen sample sets;
the training module is configured to perform training on the neural network by adopting the bullet screen sample set acquired by the acquisition module to acquire the general bullet screen classification model; and when the ratio of the newly added sample number in the barrage sample set to the total sample number before adding is greater than or equal to a preset percentage, retraining the neural network by adopting the barrage sample set after adding the sample to obtain the target barrage classification model.
6. The apparatus for processing bullet screen information of claim 5 wherein said apparatus for processing bullet screen information further comprises: an add module configured to perform:
and when the target barrage information is determined to be the barrage information deleted by mistake, adding the target barrage information into a target barrage sample set as a forward sample.
7. The apparatus for processing bullet screen information of claim 5 wherein said target category is a second category, said target bullet screen information of said second category is normal bullet screen information, said apparatus for processing bullet screen information further comprising: an add module configured to perform:
and in response to the operation of the account marking the target barrage information as the first category, adding the target barrage information as a negative sample to a target barrage sample set.
8. The apparatus for processing bullet screen information of claim 6 or 7 wherein said apparatus for processing bullet screen information further comprises: a training module;
the training module is configured to perform retraining of the neural network by using the target barrage sample set after the samples are added when the ratio of the newly added sample number in the target barrage sample set to the total sample number before the addition is greater than or equal to a preset percentage, so as to obtain a new target barrage classification model.
9. 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 processing barrage information as claimed in any one of claims 1-4.
10. A computer readable storage medium having instructions stored thereon, which when executed by a processor of an electronic device, enable the electronic device to perform the method of processing bullet screen information of any one of claims 1-4.
CN202210147409.0A 2022-02-17 2022-02-17 Barrage information processing method and device, electronic equipment and storage medium Active CN114650455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210147409.0A CN114650455B (en) 2022-02-17 2022-02-17 Barrage information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210147409.0A CN114650455B (en) 2022-02-17 2022-02-17 Barrage information processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114650455A CN114650455A (en) 2022-06-21
CN114650455B true CN114650455B (en) 2024-03-26

Family

ID=81994114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210147409.0A Active CN114650455B (en) 2022-02-17 2022-02-17 Barrage information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114650455B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982377A (en) * 2017-03-29 2017-07-25 武汉斗鱼网络科技有限公司 barrage management method and device
CN108537176A (en) * 2018-04-11 2018-09-14 武汉斗鱼网络科技有限公司 Recognition methods, device, terminal and the storage medium of target barrage
CN111127079A (en) * 2019-12-04 2020-05-08 北京奇艺世纪科技有限公司 Method, device, computer equipment and storage medium for issuing commodity resources
CN111225227A (en) * 2020-01-03 2020-06-02 网易(杭州)网络有限公司 Bullet screen publishing method, bullet screen model generating method and bullet screen publishing device
CN112235629A (en) * 2020-10-15 2021-01-15 广州博冠信息科技有限公司 Bullet screen shielding method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982377A (en) * 2017-03-29 2017-07-25 武汉斗鱼网络科技有限公司 barrage management method and device
CN108537176A (en) * 2018-04-11 2018-09-14 武汉斗鱼网络科技有限公司 Recognition methods, device, terminal and the storage medium of target barrage
CN111127079A (en) * 2019-12-04 2020-05-08 北京奇艺世纪科技有限公司 Method, device, computer equipment and storage medium for issuing commodity resources
CN111225227A (en) * 2020-01-03 2020-06-02 网易(杭州)网络有限公司 Bullet screen publishing method, bullet screen model generating method and bullet screen publishing device
CN112235629A (en) * 2020-10-15 2021-01-15 广州博冠信息科技有限公司 Bullet screen shielding method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114650455A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN107832433B (en) Information recommendation method, device, server and storage medium based on conversation interaction
US20220188521A1 (en) Artificial intelligence-based named entity recognition method and apparatus, and electronic device
US9923860B2 (en) Annotating content with contextually relevant comments
CN108288229B (en) User portrait construction method
US20170187670A1 (en) Methods and apparatus for inserting content into conversations in on-line and digital environments
CN107992585B (en) Universal label mining method, device, server and medium
CN110888990B (en) Text recommendation method, device, equipment and medium
US20190102374A1 (en) Predicting future trending topics
CN106874253A (en) Recognize the method and device of sensitive information
CN107924398B (en) System and method for providing a review-centric news reader
CN112507167A (en) Method and device for identifying video collection, electronic equipment and storage medium
CN112446210A (en) User gender prediction method and device and electronic equipment
CN111241496B (en) Method and device for determining small program feature vector and electronic equipment
CN107861948B (en) Label extraction method, device, equipment and medium
CN112149404A (en) Method, device and system for identifying risk content of user privacy data
CN106663123B (en) Comment-centric news reader
CN114706973A (en) Extraction type text abstract generation method and device, computer equipment and storage medium
CN113407775B (en) Video searching method and device and electronic equipment
CN114650455B (en) Barrage information processing method and device, electronic equipment and storage medium
CN116561298A (en) Title generation method, device, equipment and storage medium based on artificial intelligence
CN109145261B (en) Method and device for generating label
CN114880498B (en) Event information display method and device, equipment and medium
CN115292008A (en) Transaction processing method, device, equipment and medium for distributed system
CN111026913B (en) Video distribution method and device, electronic equipment and storage medium
CN111970191B (en) Group interaction method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant