CN110889076B - Comment information publishing method, device, client, server, system and medium - Google Patents

Comment information publishing method, device, client, server, system and medium Download PDF

Info

Publication number
CN110889076B
CN110889076B CN201911205358.7A CN201911205358A CN110889076B CN 110889076 B CN110889076 B CN 110889076B CN 201911205358 A CN201911205358 A CN 201911205358A CN 110889076 B CN110889076 B CN 110889076B
Authority
CN
China
Prior art keywords
comment
information
user account
database
comment information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911205358.7A
Other languages
Chinese (zh)
Other versions
CN110889076A (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 CN201911205358.7A priority Critical patent/CN110889076B/en
Publication of CN110889076A publication Critical patent/CN110889076A/en
Application granted granted Critical
Publication of CN110889076B publication Critical patent/CN110889076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a comment information publishing method, a comment information publishing device, a client, a server, a comment information publishing system and a comment publishing medium, wherein the comment publishing command of a user account is received, the comment publishing command is responded, target comment information corresponding to the comment publishing command is obtained from a comment database, and then the obtained target comment information is published in a comment interface of the user account, so that a user can publish the comment information without manually inputting a comment file, and the comment information publishing efficiency is improved.

Description

Comment information publishing method, device, client, server, system and medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a comment information publishing method, a comment information publishing device, a client, a server, a comment information publishing system, and a computer-readable storage medium.
Background
With the rapid development of information technology, information resources can be shared among users through the internet, content publishers can publish information resource contents such as short videos and audios through the internet, and content consumers can consume the information resource contents through the internet, such as watching the short videos and playing the audios.
The comment is an important interaction mode among users, provides a more efficient comment function for the users, and is beneficial to promoting the information resource sharing efficiency among the users. In the conventional technology, when a user needs to comment on contents such as short videos and audios, comment information needs to be input again every time, so that the efficiency of posting the comment information is low.
Disclosure of Invention
In view of the above, it is necessary to provide a comment information publishing method, a comment information publishing apparatus, a client, a server, a comment information publishing system, and a computer-readable storage medium, in order to solve the technical problem of low efficiency in publishing comment information in the conventional art.
A comment information publishing method comprises the following steps:
receiving a comment issuing instruction of a user account;
responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database;
and issuing the target comment information in a comment interface of the user account.
In one embodiment, the obtaining, in response to the comment posting instruction, target comment information corresponding to the comment posting instruction from a comment database includes: responding to the comment publishing instruction, and acquiring a comment information base aiming at the user account from the comment database; and obtaining the target comment information from the comment information base aiming at the user account.
In one embodiment, each comment case in the comment database is preset with a comment case tag; the obtaining of the comment information base for the user account from the comment database includes: acquiring a user portrait label of the user account; and obtaining the comment information base aiming at the user account based on the comment case matched with the user portrait label in the comment database.
In an embodiment, the method for publishing the comment information may further include: obtaining the type information of each comment case in the comment database; the type information at least comprises one of a content type and a style type; and determining the comment case label of each comment case according to the type information.
In one embodiment, the obtaining a user representation label of the user account includes: acquiring basic information and preference information of the user account; the basic information at least comprises one of age, gender and region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In one embodiment, the review database includes a plurality of historical review articles for the user account; the obtaining of the comment information base for the user account from the comment database includes: acquiring the use times of the plurality of historical comment copy cases by the user account; and obtaining the comment information base aiming at the user account based on the historical comment file with the use times larger than the set use time threshold.
In one embodiment, the obtaining the comment information base for the user account based on the historical comment copy with the usage number greater than a set usage number threshold includes: obtaining the historical comment documents with the use times larger than a set use time threshold from the plurality of historical comment documents to obtain a first candidate comment document; obtaining a comment case not containing preset sensitive words from the comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain the comment information base aiming at the user account.
In one embodiment, the obtaining, in response to the comment posting instruction, target comment information corresponding to the comment posting instruction from a comment database includes: responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as the target comment information.
In one embodiment, the randomly acquiring, in response to the comment posting instruction, corresponding comment information from the comment database as the target comment information includes: responding to the comment publishing instruction, and randomly selecting a first group of comment information from the comment database as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of review information is different review information than the first set of review information.
In one embodiment, the receiving a comment issuing instruction of the user account includes: acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In one embodiment, the obtaining, in response to the comment posting instruction, target comment information corresponding to the comment posting instruction from a comment database includes: and responding to the comment publishing instruction, sending a comment information acquisition request to a server, and triggering the server to select from the comment database and return target comment information corresponding to the comment publishing instruction.
A comment information publishing method comprises the following steps:
receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account;
responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database;
and sending the target comment information to the client so that the client can publish the target comment information in a comment interface of the user account.
In one embodiment, the obtaining, in response to the comment information obtaining request, target comment information corresponding to the comment posting instruction from a comment database includes: in response to the comment information acquisition request, acquiring a comment information base for the user account from the comment database; and obtaining the target comment information from the comment information base aiming at the user account.
In one embodiment, each comment case in the comment database is preset with a comment case tag; the obtaining of the comment information base for the user account from the comment database includes: acquiring a user portrait label of the user account; and obtaining the comment information base aiming at the user account based on the comment case matched with the user portrait label in the comment database.
An apparatus for posting comment information, comprising:
the instruction receiving module is used for receiving a comment issuing instruction of the user account;
the information acquisition module is used for responding to the comment publishing instruction and acquiring target comment information corresponding to the comment publishing instruction from a comment database;
and the information publishing module is used for publishing the target comment information in a comment interface of the user account.
In one embodiment, the information obtaining module is further configured to: responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the information obtaining module is further configured to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
In an embodiment, the apparatus for publishing comment information may further include: the file label determining module is used for acquiring the type information of each comment file in the comment database; the type information includes at least one of a content type and a genre type; and determining the comment case label of each comment case according to the type information.
In an embodiment, the apparatus for publishing comment information may further include: the portrait label acquisition module is used for acquiring basic information and preference information of a user account; the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In one embodiment, the review database may include a plurality of historical review articles for the user account; an information acquisition module, further configured to: and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
In one embodiment, the information obtaining module is further configured to: obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
In one embodiment, the information obtaining module is further configured to: and responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as target comment information.
In one embodiment, the information obtaining module is further configured to: responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
In one embodiment, the instruction receiving module is further configured to: acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In one embodiment, the information obtaining module is further configured to: and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
An apparatus for posting comment information, comprising:
the request acquisition module is used for receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account;
the request response module is used for responding to the comment information acquisition request and acquiring target comment information corresponding to the comment publishing instruction from a comment database;
and the information sending module is used for sending the target comment information to the client so that the client can publish the target comment information in a comment interface of the user account.
In one embodiment, the request response module is further configured to: responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, each comment case in the comment database is preset with a comment case tag; a request response module further to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
A client comprising a processor and a memory, the memory storing a computer program which when executed by the processor performs the steps of:
receiving a comment issuing instruction of a user account; responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and issuing the target comment information in a comment interface of the user account.
A server comprising a processor and a memory, the memory storing a computer program which when executed by the processor implements the steps of the method:
receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account; responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and sending the target comment information to the client so that the client can publish the target comment information in a comment interface of the user account.
A comment information publishing system comprises the client and the server.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a comment issuing instruction of a user account; responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and issuing the target comment information in a comment interface of the user account.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account; responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and sending the target comment information to the client so that the client can publish the target comment information in a comment interface of the user account.
The comment information publishing method, the comment information publishing device, the client, the server, the comment information publishing system and the comment information publishing medium receive the comment publishing instruction of the user account, respond to the comment publishing instruction, obtain the target comment information corresponding to the comment publishing instruction from the comment database, and then publish the obtained target comment information in the comment interface of the user account, so that the user can publish the comment information without manually inputting a comment file, and the comment information publishing efficiency is improved.
Drawings
FIG. 1 is a diagram of an application scenario of a method for posting comment information in one embodiment;
FIG. 2 is a diagram of a review interface for a client in one embodiment;
FIG. 3 is a flowchart illustrating a method of posting comment information in one embodiment;
FIG. 4(a) a review interface diagram for a client in one embodiment;
FIG. 4(b) a diagram showing an interface for displaying comment information in one embodiment;
FIG. 5(a) a diagram showing an interface for displaying comment information in one embodiment;
FIG. 5(b) a diagram showing an interface for displaying comment information in one embodiment;
FIG. 6 is a schematic diagram of an interface for obtaining comment posting instructions in one embodiment;
FIG. 7 is a flowchart illustrating a method of posting comment information in another embodiment;
FIG. 8 is a signaling diagram of a method of posting comment information in one embodiment;
FIG. 9 is a block diagram showing the configuration of a comment information distribution apparatus in one embodiment;
fig. 10 is a block diagram showing the configuration of a comment information distribution apparatus in another embodiment;
FIG. 11 is a schematic structural diagram of a system for posting comment information in one embodiment;
FIG. 12 is a diagram of the internal structure of a client in one embodiment;
fig. 13 is an internal configuration diagram of a server in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the terms "first \ second" referred to in the embodiments of the present application only distinguish similar objects, and do not represent a specific ordering for the objects, and it should be understood that "first \ second" may exchange a specific order or sequence when allowed. It should be understood that "first," "second" noted objects may be interchanged under appropriate circumstances such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or described herein.
The method for publishing comment information provided by the present application may be applied to an application scenario shown in fig. 1, where fig. 1 is an application scenario diagram of a method for publishing comment information in an embodiment, and the application scenario may include a first client 110, a server 120, and a second client 130, where the server 120 may be in communication connection with the first client 110 and the second client 130 through a network, respectively. The second client 130 may serve as a content publishing terminal, and publish related content through the server 120 to share the related content to other clients, and the first client 110 may obtain content published by the second client 130 from the server 120 after establishing a network communication connection with the server 120, and the first client 110 may also comment on the content, such as publish comment information of "true highlights" and the like.
Taking a short video as an example of content, the first client 110 may comment on the short video posted by the second client 130 through the server 120, as shown in fig. 2, fig. 2 is a comment interface diagram of the client in an embodiment, the first client 110 may play the short video in the short video playing area 210 shown in fig. 2 as a client playing the short video, the first client 110 may further display a comment frame 220, and a user may input related comment information through a "what was said" comment frame in the comment frame 220 to comment on the short video played on the first client 110, and this way needs to manually input comment information again in the comment frame each time, and efficiency of posting comment information is low.
The method for publishing the comment information provided by the embodiment of the application can be applied to solving the technical problem, specifically, the first client 110 can receive a comment publishing instruction of a user account, respond to the comment publishing instruction, obtain target comment information corresponding to the comment publishing instruction from the comment database, and publish the target comment information in a comment interface of the user account, so that a user can publish the comment information without manually inputting a comment document, and the efficiency of publishing the comment information is improved.
In the above application scenario, the first client 110 and the second client 130 may include, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 120 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, a method for publishing comment information is provided, and referring to fig. 3, fig. 3 is a flowchart illustrating a method for publishing comment information in an embodiment, where the method for publishing comment information may be applied to a first client 110 shown in fig. 1, and the method may include the following steps:
step S301, receiving a comment issuing instruction of the user account.
In this step, the first client 110 may receive a comment issuing instruction of a user account, where the user account is an account that is logged in the first client 110 and used for commenting related content displayed on the first client 110. As shown in fig. 1, when the first client 110 plays the short video sent by the server 120, the user may log on to the first client 110 by using a user account, and comment on the short video played and displayed by the first client 110. The related content displayed on the first client 110 may include, but is not limited to, short video, question and answer content, long video, and news content.
Step S302, responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from the comment database.
In this step, after the first client 110 receives the comment posting instruction of the user account, the target comment information corresponding to the comment posting instruction is further acquired. The comment publishing instruction may be triggered by the user account on the first client 110, and after receiving the comment publishing instruction of the user, the first client 110 may obtain target comment information associated with the user account from the comment database according to the comment publishing instruction. The comment database may include a plurality of comment documents, the comment documents may include comment documents frequently issued by the user account, comment documents frequently browsed and approved by the user account, comment documents related to short video content currently watched by the user account, and the comment documents with strong association with the user account may be used as comment documents included in the comment database. In this way, after receiving the comment issuing instruction from the user account, the first client 110 may select one or more comment documents from the comment database as corresponding target comment information, where the comment documents have a certain association relationship with the user account, and the effect of issuing a comment document with a higher association with the user account can be achieved.
It can be understood that, in an actual scene, the target comment information selected from the comment database by the first client 110 generally includes a plurality of comment documents, and the specific number of the comment documents may be set according to the actual scene needs, for example, ten comment documents may be set and selected as the target comment information, or five comment documents may be set and selected as the target comment information.
Step S303, target comment information is issued in a comment interface of the user account.
The first client 110 may display a comment interface of the user account, and a comment bar may be displayed on the comment interface, so that the user may comment on the related content by using the comment bar. In this step, after obtaining the target comment information of the user account, the first client 110 may issue the target comment information on the comment interface of the user account. Therefore, a user can check the displayed target comment information on the comment interface displayed by the first client 110, the currently displayed related content of the first client 110 can be commented on the basis of the target comment information, a comment filing is not required to be manually input, the comment filing is strongly related to the current user account, the required target comment information can be conveniently selected from the comment filing, and the effect of quick and convenient comment is achieved.
Taking a short video as an example of content to be commented, and describing a scheme of the embodiment of the present application with reference to fig. 4(a) and 4(b), as shown in fig. 4(a), a comment interface diagram of a client in an embodiment of fig. 4(a), a first client 110 may play a short video in a short video playing area 410, and may further display a comment frame 420, where the comment frame 420 may include a convenient comment button, a user may trigger a comment issuing instruction by clicking the convenient comment button, the first client 110 may receive the comment issuing instruction from a user account and respond to the comment issuing instruction, select corresponding target comment information from a comment database, as shown in fig. 4(b), and as shown in a display interface diagram of comment information in an embodiment of fig. 4(b), after detecting that the convenient comment button is clicked by the user, the target comment information 4200 is displayed on the comment interface, the number of the target comment information can be multiple, each target comment information can correspond to different comment documents, and therefore the required comment information can be selected from the comment information quickly and conveniently to comment on the short video, and comment efficiency is improved.
According to the comment information publishing method, the comment publishing instruction of the user account is received, the comment publishing instruction is responded, the target comment information corresponding to the comment publishing instruction is obtained from the comment database, and then the obtained target comment information is published in the comment interface of the user account, so that the user can publish the comment information without manually inputting a comment file, and the comment information publishing efficiency is improved.
In one embodiment, in response to the comment posting instruction in step S302, acquiring the target comment information corresponding to the comment posting instruction from the comment database may include:
responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In this step, the first client 110 may, after receiving the comment issuing instruction from the user account, respond to the comment issuing instruction, obtain a comment information base for the user account from the comment database, and then further obtain the target comment information from the comment information base. The comment database may be pre-constructed and stored in the server 120, or may be sent to the first client 110 by the server 120, and stored locally by the first client 110.
The manner of obtaining the comment information base for the user account from the comment database may include multiple manners. For example, the comment database may include a plurality of comment information bases, each comment information base corresponds to a different user account, and by establishing a correspondence relationship between each comment information base and a corresponding user account in advance, after receiving a comment issuing instruction of a user account, the first client 110 may quickly acquire, from the comment database, the comment information base for the user account by using the correspondence relationship. For another example, the comment database may include a plurality of comment documents, and the first client 110 may select, according to the user portrait of the user account, a plurality of comment documents partially conforming to the user portrait label from among the comment documents in the comment database after receiving a comment publishing instruction of the user account, and then may integrate the comment documents into a comment information base for the user account.
After obtaining the comment information base for the user account, the first client 110 may select corresponding target comment information from the comment information base. The comment information base of the user account may include a plurality of comment documents, the comment documents may be comment documents frequently issued by the user account, comment documents frequently browsed and praised by the user account, comment documents related to short video content currently watched by the user account, and the comment documents with strong association with the user account may be used as comment documents included in the comment information base to form a comment information base for the user account. In this way, after receiving the comment issuing instruction from the user account, the first client 110 may select one or more comment documents from the comment information base as corresponding target comment information, and since the comment documents are selected from the comment information base for the user account, the target comment information is also strongly associated with the user account, so as to achieve the effect of issuing personalized comment documents for different user accounts.
In an embodiment, further, each review document in the review database may be preset with a review document tag, and the step of obtaining the review information base for the user account from the review database in the embodiment may specifically include:
and acquiring a user portrait label of the user account, and obtaining a comment information base aiming at the user account based on the comment case in the comment database, wherein the comment case label is matched with the user portrait label.
In this embodiment, the first client 110 may select a comment document matching the comment document tag from the comment database according to the user portrait tag of the user account, so as to obtain a comment information base for the user account.
Specifically, the comment database may include a plurality of comment documents, each comment document may be preset with a corresponding comment document tag, and the comment document tag of each comment document may be set according to factors such as the specific content of the comment document, the type of content and style of the comment document. For example, the comment case label of the comment case containing the "hit" two words may be "hit", and for example, the comment case label of the comment case belonging to the second-degree style may be "second-degree", and for the comment case belonging to the parent-degree category, the comment case label of the comment case may be "parent-child".
After the first client 110 obtains the user portrait tag of the user account, the user portrait tag may be matched with the comment document tag of each comment document in the comment database, and the comment document corresponding to the comment document tag and the user portrait tag may be obtained from the comment database. For example, for a user account with a user portrait label of "young male" and "urban strong," a review case with a review case label of "face value class" or "tidal wind" may be obtained from the review database. Finally, the first client 110 may integrate the comment document tags in the comment database with the plurality of comment documents matching the user portrait tags of the user account to obtain a comment information base for the user account.
In some embodiments, the obtaining of the user portrait label of the user account may include:
acquiring basic information and preference information of a user account; wherein, the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In this embodiment, the first client 110 may obtain basic information and preference information of the user account. The basic information at least comprises one of the age, the gender and the region of the user, wherein the region of the user can comprise the current login location, the native location or the permanent address of the user account and the like. The basic information may be obtained by the first client 110 when registering the user account and filling out the personal information of the user. And the preference information includes at least one of comment preference information and content consumption preference information.
The comment preference information may include information about what comment contents are frequently browsed by the user account, what type of comment contents are frequently browsed, and the like, for example, the comment contents belonging to a type of fun are frequently praised and forwarded by the user account, and the comment preference information of the user account may be a comment of the type of fun preferred by the user account. The content consumption preference information may include information about what content the user account frequently browses, what type of content the user account belongs to, and the like, for example, the user account frequently watches video content of the secondary category, and the content consumption preference information of the user account may be that the user account prefers video content of the secondary category.
The first client 110 may set a user portrait label for the user account according to the basic information and the preference information of the user account. The user portrait label is mainly used for identifying the user account so as to distinguish different user accounts. Specifically, the first client 110 may generate a corresponding user portrait label for the user account according to information such as the age, sex, current login location, comment preference information, and content consumption preference information of the user account, for example, for a 25-year-old male, a user who logs in a first-line city, prefers a laugh-like comment, and prefers a-second-order video content, a combination of one or more labels such as "young male", "city mood", "laugh", or "second-order" may be used as the user portrait label of the user account. According to the embodiment, the user portrait label of the user account can be obtained more accurately according to the basic information and the preference information of the user account, and the method is favorable for sending personalized comment documents to the corresponding user account more accurately based on the user portrait label.
In some embodiments, the determining the comment case label of each comment case in the comment database may include:
obtaining type information of each comment case in a comment database; the type information at least comprises one of a content type and a style type; and determining the comment case label of each comment case according to the type information.
In this embodiment, the comment database may include a plurality of comment documents, and the first client 110 may obtain type information of each comment document in the comment database, and determine a comment document tag of each comment document based on the type information. For example, if the specific comment content of the comment document is a comment document content related to gourmet, the comment document tag of the comment document may be set to "gourmet", and if the comment document of the fun style is a comment document, the comment document tag of the comment document may be set to "fun". According to the embodiment, the comment case label of each comment case in the comment database can be obtained more accurately according to the type information of the comment case, so that the comment case label can be matched with the user portrait label of the corresponding user account accurately based on the comment case label, and the effect of sending the personalized comment case more accurately is achieved.
In some embodiments, the comment database may include a plurality of historical comment documents of the user account, and thus the comment information base for the user account may be further obtained through the following steps, specifically including:
and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
The embodiment is mainly based on the use times of a plurality of historical comment documents in the comment database by the user account, so that the comment information base aiming at the user account is obtained. The plurality of historical comment documents issued by the user account may be obtained first, where the historical comment documents may include comment records of comment messages sent by the user account to various contents such as video works and the like, which are collected by the server 120 within a preset historical statistic time period, and a specific historical statistic time period may be set according to actual scene requirements. For example, the historical statistical period may be within a half year or three months, so that the comment documents of the user account for various contents within a half year or three months may be acquired from the server 120, resulting in a plurality of historical comment documents.
Then, a review information base for the user account may be obtained further based on the historical review documents. Specifically, a plurality of historical review documents can be statistically analyzed to obtain the number of times of use of each review document in the historical review documents, for example, if a certain review document (for example, this operation is 666) is issued and used by the user account in the historical review documents, the number of times of use of the review document issued and used by the user account can be counted, so that a plurality of review documents with a large number of times of use can be counted, the number of times of use can be measured by setting a use number threshold, and the review document larger than the set use number threshold (for example, 50 times) can be used as the review document with a large number of times of use, so that the review document with a large number of times of use can be screened out by counting the number of times of use, and is integrated to obtain a review information base for the user account.
In an embodiment, the obtaining of the comment information base for the user account based on the historical comment documents with the usage times greater than the set usage time threshold may further include:
obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
In this embodiment, on one hand, the first client 110 may obtain a historical review pattern with a use frequency greater than a set use frequency threshold from the multiple historical review patterns, to obtain a first candidate review pattern; on the other hand, the first client 110 may obtain, according to the preset sensitive word, a comment case that does not include the preset sensitive word from the comment database, so as to obtain a second candidate comment case. The preset sensitive words may be words that need to be shielded, such as words with a certain negative meaning, e.g., insults, 35881, abuse, and the like, and these sensitive words may be pre-selected on the first client 110 or the server 120, and the comment documents in the comment database are screened by using the preset sensitive words, and the comment documents in the comment database that do not include the preset sensitive words are used as second candidate comment documents.
After the first candidate comment case and the second candidate comment case are obtained, the first candidate comment case and the second candidate comment case can be integrated according to a certain preset proportion (such as 9: 1), so that a comment information base for the user account is obtained. Therefore, the comment copy contained in the comment information base for the user account is the comment copy which does not contain the preset sensitive words and has a large number of use times of the user account. Therefore, each subsequent comment case selected from the comment information base specific to the user account can be guaranteed to be a forward comment case with more use times, and comment case information more meeting the comment requirements can be issued to the user account.
In one embodiment, in response to the comment posting instruction in step S302, acquiring the target comment information corresponding to the comment posting instruction from the comment database may include:
and responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as target comment information.
In this embodiment, after receiving the comment issuing instruction from the user account, the first client 110 may randomly select a plurality of comment information from the comment database as the target comment information, and this way of randomly selecting the comment document from the comment database enables selection of the target comment information to be more flexible and personalized.
In some embodiments, the selection of the target comment information may be further optimized by using a combination of random selection and deduplication. Specifically, the randomly acquiring the corresponding comment information from the comment database in response to the comment issuing instruction may include, as the target comment information:
responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
The embodiment mainly provides different target comment information for the user when the currently displayed target comment information does not meet the requirements of the user. With reference to fig. 5(a) and fig. 5(b), in an embodiment of the display interface diagram of the comment information in fig. 5(a), fig. 5(a) shows a state that after the user clicks the convenient comment button to trigger a comment publishing instruction, the first client 110 randomly selects a first group of comment information 5100 from the comment database, and displays the first group of comment information on the comment interface of the user account, where the first group of comment information 5100 may include a plurality of first comment information. At this time, if the user is not satisfied with the first group of comment information 5100, the user may click the convenient comment button again, as shown in fig. 5(b), the first client 110 receives the comment issuing instruction of the user account again, and may randomly select a second group of comment information 5200 from the comment database, where the second group of comment information 5200 is comment information different from the first group of comment information 5100, and the second group of comment information 5200 may include a plurality of second comment information, and each second comment information is different from the first comment information.
According to the scheme provided by the embodiment, if a user is not satisfied with a currently displayed comment case, new comment cases can be continuously generated by continuously clicking the convenient comment button, so that the user can more conveniently select an individualized comment case, in an actual scene, different case identifications can be set for different comment cases, a random selection and deduplication mode is used, the comment case appearing at each time is guaranteed to be different from the last time, for example, the case identification of the comment case displayed last time can be recorded, and when the case identification of the randomly selected comment case is the same as the last time, the randomly selected identification is re-selected until the selected identification is different.
In some embodiments, the receiving of the comment issuing instruction of the user account in step S301 may include:
acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In this embodiment, the first client 110 may play and display the content to be reviewed on the interface, and the first client 110 may determine whether to display the comment frame 420 shown in fig. 4(a) according to whether the viewing time of the user on the content to be reviewed is greater than a preset display time threshold, so that a comment issuing instruction may be automatically triggered and generated according to the viewing time.
Taking playing a short video as an example, setting the total playing time of the short video to be 20 seconds, the first client 110 may obtain the current playing time of the short video, setting the current playing time to be 8 seconds, and if the preset playing time threshold is 12 seconds, the current playing time does not meet the playing time threshold, the first client 110 may not display the comment frame 420, and if the preset playing time threshold is 8 seconds, the comment frame 420 may be displayed, and a comment issuing instruction is automatically triggered and generated, so that it is not necessary for a user to actively trigger on the first client 110 to indicate that there is a related comment requirement for the short video, the first client 110 may determine whether to display the comment frame 420 or not in combination with the current displaying time of the short video, and automatically trigger to generate a comment issuing instruction, so that the comment information is issued more flexibly and conveniently.
Further, in an embodiment, the setting of the display duration threshold may include the following steps:
and acquiring a display duration reference value, determining the weight corresponding to the content to be evaluated, and setting a display duration threshold according to the weight and the display duration reference value.
In this embodiment, the display duration reference value may be a historical experience value, and the same display duration reference value may be used for each content to be evaluated. Taking short videos as an example, the display duration reference value may be the same for different short videos, and may be set to 10 seconds, for example. In order to enable each content to be reviewed to have a display duration threshold value different from other contents, corresponding weights can be combined on the basis of the display duration reference value, so that different display duration threshold values are set for different contents, and the publishing modes of the review information corresponding to the different contents are more flexible and diversified. In some embodiments, different weights may be assigned to different contents to be reviewed, and the first client 110 may obtain a weight corresponding to the contents to be reviewed, and then weight the weight and the display duration reference value to obtain the display duration threshold.
Further, the weight corresponding to the content to be evaluated can be determined by the following steps:
and obtaining the user account attribute of the user account, obtaining the content attribute of the content to be commented, and determining the weight of the content to be commented according to the user account attribute and the content attribute.
The method and the device mainly determine the weight of the content to be commented by combining the user account attribute and the content attribute so that the display duration threshold setting mode of the content to be commented is richer and more diversified and closer to the comment requirement of the user. The user account attribute of the user account, for example, whether the user is an old user with a long video viewing time or a new user who has just registered, and the like. The content attribute is an attribute of the target content itself, taking a video as the content to be evaluated as an example, the content attribute may be the popularity of the video, so as to identify whether the video belongs to a popular video with a higher popularity or a common video with a lower popularity. Next, the weight of the content to be commented on may be determined jointly according to the user account attribute and the content attribute. For example, in the case where the user is an old user whose video viewing time is long and the video belongs to a popular video, a smaller weight may be set, and in the case where the user is a new user and the video is not popular, a larger weight may be set.
In some other embodiments, the receiving of the comment issuing instruction of the user account in step S301 may include:
and if the preset operation data is detected on the display interface of the content to be commented, generating a comment issuing instruction.
In this embodiment, the first client 110 displays the content to be reviewed on the interface, and the user can view the content to be reviewed, such as short video, through the interface, and in the viewing process, the user can perform some specific interactive operations on the first client 110, so that the first client 110 can determine whether the user has a review requirement for the content to be reviewed according to the interactive operations. The first client 110 may preset some operations, which are referred to as preset operations, and then determine whether the preset operations are triggered when displaying the content to be commented, if so, it indicates that the current interaction condition meets the preset interaction condition, so that the comment box 420 shown in fig. 4(a) may be displayed, and a comment issuing instruction is automatically triggered and generated; otherwise, the comment box 420 may continue to be hidden.
To describe the preset operation in detail with reference to fig. 6, fig. 6 is a schematic diagram of an interface for obtaining a comment posting instruction in an embodiment, and fig. 6 shows two preset operations, where one operation is to draw a track "√" as indicated by a mark 611 on the display interface of the first customer order 110 by the user, and the other operation is to slide a certain distance upwards from the bottom of the display interface by the user as indicated by a mark 612. When the short video is played in the short video playing area 610, the first client sheet 110 may detect whether the user draws a track "√" on the display interface or slides upward for a certain distance from the bottom of the display interface, so as to determine whether the current interaction condition satisfies the preset interaction condition, and if the user draws the track "√" on the display interface or slides upward for a certain distance from the bottom of the display interface, both of the two conditions may enable the first client 110 to determine that the current interaction condition satisfies the preset interaction condition, so as to switch the comment frame 620 from the hidden state to the display state, and display the comment frame 620 on the display interface, thereby realizing that the user actively triggers a demand for using the comment frame 620 on the display interface of the first client 110, displaying the comment frame 620 for the user more conveniently, and automatically triggering generation of a comment issuing instruction.
In one embodiment, in response to the comment posting instruction in step S302, acquiring the target comment information corresponding to the comment posting instruction from the comment database may include:
and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
In this embodiment, the first client 110 may send a comment information acquisition request to the server 120 after receiving a comment publishing instruction of the user account, so that the server 120 selects and returns corresponding target comment information from a comment database stored in the server 120 to the first client 110 after receiving the comment information acquisition request, thereby reducing processing resource consumption of the client.
In an embodiment, the method for publishing the comment information may further include the following steps:
and acquiring a comment information editing instruction of the user account, editing target comment information according to the comment information editing instruction to obtain edited target comment information, and storing the edited target comment information in a comment database.
According to the embodiment, the editing requirement of the target comment information can be provided for the user, so that the target comment information edited by the user can be stored in the exclusive comment database, and the edited and processed target comment information can be preferentially displayed on the comment interface when the related content is commented next time, so that the user can select the target comment information as the related content. Specifically, the first client may pop up a keyboard when the user clicks the convenient comment button, and retain a function of the user to modify or delete a certain comment information, the user may trigger a comment information editing instruction for the target comment information on the first client, the first client responds to the comment information editing instruction, and performs editing processing on the target comment information, such as modifying specific comment document content in the target comment information, adding partial text content, expressions, and the like, so as to obtain edited target comment information, and then the first client may utilize the edited target comment information to comment the content to be commented, and may also store the edited target comment information in a comment database dedicated to the user account for preferential display when reviewing related content next time.
In an embodiment, a method for publishing comment information is provided, as shown in fig. 7, where fig. 7 is a schematic flowchart of a method for publishing comment information in another embodiment, and the method is applied to the server 120 shown in fig. 1 for explanation, the method may include the following steps:
step S701, receiving a comment information acquisition request; the comment information acquisition request is generated by the client according to a comment issuing instruction of the user account;
step S702, responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database;
and step S703, sending the target comment information to the client so that the client can issue the target comment information in a comment interface of the user account.
In this embodiment, the server 120 may receive a comment information obtaining request sent by the first client 110, where the comment information obtaining request may be generated and sent to the server 120 by the first client 110 after receiving a comment issuing instruction from a user account. The server 120 may respond to the comment information obtaining request, obtain target comment information corresponding to the comment information obtaining request from a pre-stored comment database, and feed the target comment information back to the first client 110, so that the first client 110 issues the target comment information on a comment interface of a user account after receiving the target comment information.
According to the method for publishing the comment information, the server receives the comment information acquisition request sent by the client, and further selects the corresponding target comment information from the comment database and feeds the target comment information back to the client, so that the client can publish the acquired target comment information in the comment interface of the user account, a user can publish the comment information without manually inputting a comment file, and the comment information publishing efficiency is improved.
In one embodiment, the step S702 of acquiring, in response to the comment information acquisition request, the target comment information corresponding to the comment posting instruction from the comment database may include:
responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
The embodiment is mainly that the server 120 may respond to the comment information obtaining request of the first client 110, obtain the comment information base for the user account from the comment database pre-stored in the server 120, and obtain the target comment information from the comment information base for the user account.
Furthermore, each comment case in the comment database can be preset with a comment case label; the obtaining of the comment information base for the user account from the comment database in the above embodiment may include:
the server 120 obtains the user portrait label of the user account, and obtains a comment information base for the user account based on the comment case in the comment database, where the comment case label is matched with the user portrait label.
In one embodiment, a method for publishing comment information is provided, where the method may be implemented by a client 810 and a server 820, as shown in fig. 8, where fig. 8 is a signaling diagram of a method for publishing comment information in an embodiment, and the method may include:
step S8001, the client 810 sends a comment information acquisition request to the server 820;
step S8002, in response to the comment information acquisition request, server 820 acquires target comment information corresponding to the comment information acquisition request from the comment database;
step S8003, server 820 sends the target comment information to client 810;
in step S8004, the client 810 issues the target comment information in the comment interface of the user account.
According to the method for publishing the comment information, the client 810 sends the comment information acquisition request to the server 820, the server 820 further selects the corresponding target comment information from the comment database and feeds the target comment information back to the client 810, so that the client 810 can publish the acquired target comment information in the comment interface of the user account, a user can publish the comment information without manually inputting a comment file, and the efficiency of publishing the comment information is improved.
In an embodiment, there is provided a comment information publishing device, and referring to fig. 9, fig. 9 is a block diagram illustrating a structure of the comment information publishing device in an embodiment, where the comment information publishing device may include:
the instruction receiving module 901 is configured to receive a comment issuing instruction of a user account;
the information acquisition module 902 is configured to, in response to the comment publishing instruction, acquire target comment information corresponding to the comment publishing instruction from the comment database;
and the information publishing module 903 is used for publishing the target comment information in a comment interface of the user account.
In one embodiment, the information obtaining module 902 is further configured to: responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the information obtaining module 902 is further configured to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
In one embodiment, the method may further include: the file label determining module is used for acquiring the type information of each comment file in the comment database; the type information includes at least one of a content type and a genre type; and determining the comment case label of each comment case according to the type information.
In one embodiment, the method may further include: the portrait label acquisition module is used for acquiring basic information and preference information of a user account; the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In one embodiment, the review database may include a plurality of historical review articles for the user account; an information obtaining module 902, further configured to: and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
In one embodiment, the information obtaining module 902 is further configured to: obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
In one embodiment, the information obtaining module 902 is further configured to: and responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as target comment information.
In one embodiment, the information obtaining module 902 is further configured to: responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
In one embodiment, the instruction receiving module 901 is further configured to: acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In one embodiment, the information obtaining module 902 is further configured to: and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
In one embodiment, there is provided a comment information publishing apparatus, and referring to fig. 10, fig. 10 is a block diagram illustrating a structure of a comment information publishing apparatus in another embodiment, where the comment information publishing apparatus may include:
a request acquisition module 1001 configured to receive a comment information acquisition request; the comment information acquisition request is generated by the client according to a comment issuing instruction of the user account;
the request response module 1002 is configured to, in response to the comment information acquisition request, acquire target comment information corresponding to the comment issuing instruction from the comment database;
the information sending module 1003 is configured to send the target comment information to the client, so that the client issues the target comment information in a comment interface of the user account.
In one embodiment, the request response module 1002 is further configured to: responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, each comment case in the comment database is preset with a comment case tag; the request response module 1002 is further configured to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
The comment information publishing device and the comment information publishing method correspond to each other one by one, the specific limitation on the comment information publishing device can be referred to as the limitation on the comment information publishing method in the above, and the technical features and the beneficial effects explained in the embodiment of the comment information publishing method are all applicable to the embodiment of the comment information publishing device, and are not described in detail herein.
In an embodiment, a system for publishing comment information is provided, as shown in fig. 11, where fig. 11 is a schematic structural diagram of the system for publishing comment information in an embodiment, and the system for publishing comment information may include: a client 1101 and a server 1102.
The client 1101 and the server 1102 will be described below with reference to fig. 12 and 13.
As shown in fig. 12, fig. 12 is an internal structure diagram of a client including a processor, a memory, a network interface, a display screen, and an input device connected through a system bus in one embodiment. Wherein the processor of the client is configured to provide computing and control capabilities. The memory of the client comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the client is used for communicating with an external device through a network connection. The computer program is executed by a processor to implement a method of posting comment information. The display screen of the client can be a liquid crystal display screen or an electronic ink display screen, and the input device of the client can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the client, an external keyboard, a touch pad or a mouse and the like.
As shown in fig. 13, fig. 13 is an internal structure diagram of a server in one embodiment. The server may include a processor, memory, a network interface, and a database connected by a system bus. Wherein the processor of the server is configured to provide computing and control capabilities. The memory of the server comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the server is used for communicating with external devices through network connection. The computer program is executed by a processor to implement a method of posting comment information.
Those skilled in the art will appreciate that the configurations shown in fig. 12 and 13 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the clients and servers to which the present disclosure may be applied, and that a particular client and server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a client comprising a processor and a memory, the memory storing a computer program which when executed by the processor performs the steps of: receiving a comment issuing instruction of a user account; responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and issuing target comment information in a comment interface of the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining type information of each comment case in a comment database; the type information includes at least one of a content type and a genre type; and determining the comment case label of each comment case according to the type information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring basic information and preference information of a user account; the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as target comment information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
In one embodiment, there is provided a server comprising a processor and a memory, the memory storing a computer program which when executed by the processor performs the steps of: receiving a comment information acquisition request; the comment information acquisition request is generated by the client according to a comment issuing instruction of the user account; responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and sending the target comment information to the client so that the client can issue the target comment information in a comment interface of the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
It will be understood by those skilled in the art that all or part of the processes in the method for publishing comment information described in any of the above embodiments may be implemented by a computer program, which may be stored in a non-volatile computer-readable storage medium, to instruct related hardware, and when executed, the computer program may include the processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, wherein the program when executed by a processor implements the steps of: receiving a comment issuing instruction of a user account; responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and issuing target comment information in a comment interface of the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining type information of each comment case in a comment database; the type information includes at least one of a content type and a genre type; and determining the comment case label of each comment case according to the type information.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring basic information and preference information of a user account; the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: and responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as target comment information.
In one embodiment, the computer program when executed by the processor further performs the steps of: responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current display duration of the content to be commented; and if the current display duration is greater than the set display duration threshold, generating a comment issuing instruction of the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, wherein the program when executed by a processor implements the steps of: receiving a comment information acquisition request; the comment information acquisition request is generated by the client according to a comment issuing instruction of the user account; responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; and sending the target comment information to the client so that the client can issue the target comment information in a comment interface of the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (31)

1. A comment information publishing method is characterized by comprising the following steps:
receiving a comment issuing instruction of a user account; the method comprises the following steps: if the current display duration of the content to be commented is greater than the set display duration threshold, automatically triggering and generating a comment issuing instruction of the user account; the display duration threshold is determined according to the weight of the content to be evaluated and a display duration reference value; the weight of the content to be commented is determined according to the user account attribute of the user account and the content attribute of the content to be commented;
responding to the comment publishing instruction, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; the step of responding to the comment publishing instruction, acquiring target comment information corresponding to the comment publishing instruction from a comment database, comprising: responding to the comment publishing instruction, and randomly acquiring corresponding comment information from the comment database to serve as the target comment information; the target comment information is obtained from a comment information base aiming at the user account in the comment database;
and after the target comment information is acquired, releasing the target comment information in a comment interface of the user account.
2. The method of claim 1, wherein the obtaining, in response to the comment posting instruction, target comment information corresponding to the comment posting instruction from a comment database comprises:
responding to the comment publishing instruction, and acquiring a comment information base aiming at the user account from the comment database;
and obtaining the target comment information from the comment information base aiming at the user account.
3. The method of claim 2, wherein each review case in the review database is preset with a review case tag; the obtaining of the comment information base for the user account from the comment database includes:
acquiring a user portrait label of the user account;
and obtaining the comment information base aiming at the user account based on the comment case matched with the user portrait label in the comment database.
4. The method of claim 3, further comprising:
obtaining the type information of each comment case in the comment database; the type information at least comprises one of a content type and a style type;
and determining the comment case label of each comment case according to the type information.
5. The method of claim 3, wherein obtaining the user representation label for the user account comprises:
acquiring basic information and preference information of the user account; the basic information at least comprises one of age, gender and region of the user; the preference information at least comprises one of comment preference information and content preference information;
and determining a user portrait label of the user account according to the basic information and the preference information.
6. The method of claim 2, wherein the review database includes a plurality of historical review articles for the user account; the obtaining of the comment information base for the user account from the comment database includes:
acquiring the use times of the plurality of historical comment copy cases by the user account;
and obtaining the comment information base aiming at the user account based on the historical comment file with the use times larger than the set use time threshold.
7. The method of claim 6, wherein the obtaining the review information base for the user account based on the historical review document with the usage number greater than a set usage number threshold comprises:
obtaining the historical comment documents with the use times larger than a set use time threshold from the plurality of historical comment documents to obtain a first candidate comment document;
obtaining a comment case not containing preset sensitive words from the comment database to obtain a second candidate comment case;
and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain the comment information base aiming at the user account.
8. The method according to claim 1, wherein the randomly acquiring, in response to the comment posting instruction, corresponding comment information from the comment database as the target comment information includes:
responding to the comment publishing instruction, and randomly selecting a first group of comment information from the comment database as target comment information;
if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of review information is different review information than the first set of review information.
9. The method of claim 1, wherein receiving a comment posting instruction for a user account comprises:
and acquiring the current display duration of the content to be commented.
10. The method of claim 1, wherein the obtaining, in response to the comment posting instruction, target comment information corresponding to the comment posting instruction from a comment database comprises:
and responding to the comment publishing instruction, sending a comment information acquisition request to a server, and triggering the server to select from the comment database and return target comment information corresponding to the comment publishing instruction.
11. A comment information publishing method is characterized by comprising the following steps:
receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account; the comment publishing instruction is generated by the client through automatic triggering when the current display time length of the content to be commented is greater than a set display time length threshold; the display duration threshold is determined according to the weight of the content to be evaluated and a display duration reference value; the weight of the content to be commented is determined according to the user account attribute of the user account and the content attribute of the content to be commented;
responding to the comment information acquisition request, and acquiring target comment information corresponding to the comment publishing instruction from a comment database; the method comprises the following steps: responding to the comment information acquisition request, and randomly acquiring target comment information corresponding to the comment publishing instruction from the comment database; the target comment information is obtained from a comment information base aiming at the user account in the comment database;
and sending the target comment information to the client so that the client can issue the target comment information in a comment interface of the user account after acquiring the target comment information.
12. The method according to claim 11, wherein the obtaining, in response to the comment information obtaining request, target comment information corresponding to the comment posting instruction from a comment database includes:
in response to the comment information acquisition request, acquiring a comment information base for the user account from the comment database;
and obtaining the target comment information from the comment information base aiming at the user account.
13. The method of claim 12, wherein each review case in the review database is pre-populated with a review case tag; the obtaining of the comment information base for the user account from the comment database includes:
acquiring a user portrait label of the user account;
and obtaining the comment information base aiming at the user account based on the comment case matched with the user portrait label in the comment database.
14. An apparatus for posting comment information, characterized by comprising:
the instruction receiving module is used for receiving a comment issuing instruction of the user account; the receiving of the comment issuing instruction of the user account includes: if the current display duration of the content to be commented is greater than the set display duration threshold, automatically triggering and generating a comment issuing instruction of the user account; the display duration threshold is determined according to the weight of the content to be evaluated and a display duration reference value; the weight of the content to be commented is determined according to the user account attribute of the user account and the content attribute of the content to be commented;
the information acquisition module is used for responding to the comment publishing instruction and acquiring target comment information corresponding to the comment publishing instruction from a comment database; the information acquisition module is further used for responding to the comment publishing instruction and randomly acquiring corresponding comment information from the comment database to serve as the target comment information; the target comment information is obtained from a comment information base aiming at the user account in the comment database;
and the information publishing module is used for publishing the target comment information in a comment interface of the user account after the target comment information is acquired.
15. The apparatus of claim 14, wherein the information obtaining module is further configured to: responding to a comment issuing instruction, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
16. The apparatus of claim 15, wherein the information obtaining module is further configured to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
17. The apparatus of claim 16, further comprising:
the file label determining module is used for acquiring the type information of each comment file in the comment database; the type information includes at least one of a content type and a genre type; and determining the comment case label of each comment case according to the type information.
18. The apparatus of claim 16, further comprising:
the portrait label acquisition module is used for acquiring basic information and preference information of a user account; the basic information at least comprises one of the age, the gender and the region of the user; the preference information at least comprises one of comment preference information and content preference information; and determining a user portrait label of the user account according to the basic information and the preference information.
19. The apparatus of claim 15, wherein the review database may include a plurality of historical review articles for a user account;
the information obtaining module is further configured to: and acquiring the use times of the user account on a plurality of historical comment documents, and obtaining a comment information base aiming at the user account based on the historical comment documents of which the use times are greater than a set use time threshold.
20. The apparatus of claim 19, wherein the information obtaining module is further configured to: obtaining historical comment documents of which the use times are greater than a set use time threshold from the plurality of historical comment documents to obtain first candidate comment documents; obtaining a comment case not containing preset sensitive words from a comment database to obtain a second candidate comment case; and integrating the first candidate comment file and the second candidate comment file according to a preset proportion to obtain a comment information base aiming at the user account.
21. The apparatus of claim 14, wherein the information obtaining module is further configured to: responding to a comment publishing instruction, and randomly selecting a first group of comment information from a comment database to serve as target comment information; if a comment issuing instruction of the user account is received again, randomly selecting a second group of comment information from the comment database as target comment information; wherein the second set of comment information is comment information different from the first set of comment information.
22. The apparatus of claim 14, wherein the instruction receiving module is further configured to: and acquiring the current display duration of the content to be commented.
23. The apparatus of claim 14, wherein the information obtaining module is further configured to: and responding to the comment publishing instruction, sending a comment information acquisition request to the server, and triggering the server to select and return target comment information corresponding to the comment publishing instruction from the comment database.
24. An apparatus for posting comment information, characterized by comprising:
the request acquisition module is used for receiving a comment information acquisition request; the comment information acquisition request is generated by a client according to a comment issuing instruction of a user account; the comment publishing instruction is generated by the client through automatic triggering when the current display time length of the content to be commented is greater than a set display time length threshold; the display duration threshold is determined according to the weight of the content to be evaluated and a display duration reference value; the weight of the content to be commented is determined according to the user account attribute of the user account and the content attribute of the content to be commented;
the request response module is used for responding to the comment information acquisition request and acquiring target comment information corresponding to the comment publishing instruction from a comment database; the request response module is further used for responding to the comment information acquisition request and randomly acquiring target comment information corresponding to the comment publishing instruction from the comment database; the target comment information is obtained from a comment information base aiming at the user account in the comment database;
and the information sending module is used for sending the target comment information to the client so that the client can issue the target comment information in a comment interface of the user account after obtaining the target comment information.
25. The apparatus of claim 24, wherein the request response module is further configured to: responding to the comment information acquisition request, and acquiring a comment information base aiming at the user account from a comment database; and obtaining target comment information from a comment information base aiming at the user account.
26. The apparatus of claim 25, wherein each review document in the review database is pre-populated with a review document tag;
the request response module is further configured to: acquiring a user portrait label of a user account; and obtaining a comment information base aiming at the user account based on the comment case matched with the user picture label in the comment database.
27. A client comprising a processor and a memory, said memory storing a computer program, wherein the steps of the method of any one of claims 1 to 10 are performed when said computer program is executed by said processor.
28. A server comprising a processor and a memory, said memory storing a computer program, wherein the steps of the method of any of claims 11 to 13 are performed when said processor executes said computer program.
29. A posting system of comment information, comprising a client according to claim 27, and a server according to claim 28.
30. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
31. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 11 to 13.
CN201911205358.7A 2019-11-29 2019-11-29 Comment information publishing method, device, client, server, system and medium Active CN110889076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911205358.7A CN110889076B (en) 2019-11-29 2019-11-29 Comment information publishing method, device, client, server, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911205358.7A CN110889076B (en) 2019-11-29 2019-11-29 Comment information publishing method, device, client, server, system and medium

Publications (2)

Publication Number Publication Date
CN110889076A CN110889076A (en) 2020-03-17
CN110889076B true CN110889076B (en) 2021-04-13

Family

ID=69749566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911205358.7A Active CN110889076B (en) 2019-11-29 2019-11-29 Comment information publishing method, device, client, server, system and medium

Country Status (1)

Country Link
CN (1) CN110889076B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580720B (en) * 2020-05-07 2021-08-24 腾讯科技(深圳)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN111669657A (en) * 2020-06-08 2020-09-15 咪咕文化科技有限公司 Video comment method and device, electronic equipment and storage medium
CN111930927B (en) * 2020-08-21 2024-03-12 腾讯科技(深圳)有限公司 Evaluation information display method and device, electronic equipment and readable storage medium
CN112883725A (en) * 2020-12-29 2021-06-01 上海讯飞瑞元信息技术有限公司 File generation method and device, electronic equipment and storage medium
CN113536080B (en) * 2021-07-20 2023-06-20 湖南快乐阳光互动娱乐传媒有限公司 Data uploading method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657545A (en) * 2015-11-17 2016-06-08 乐视云计算有限公司 Video play method and apparatus
CN106210808A (en) * 2016-08-08 2016-12-07 腾讯科技(深圳)有限公司 Media information put-on method, terminal, server and system
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium
CN109885770A (en) * 2019-02-20 2019-06-14 杭州威佩网络科技有限公司 A kind of information recommendation method, device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843599B (en) * 2012-09-27 2015-05-13 北京导视互动网络技术有限公司 Interaction method and system of television program
CN104168491B (en) * 2013-05-17 2018-11-23 腾讯科技(北京)有限公司 Information processing method and device in a kind of video playing
CN103617028A (en) * 2013-11-20 2014-03-05 珠海金山办公软件有限公司 Collaborative document comment method and collaborative document comment device
CN104731554B (en) * 2015-03-30 2018-08-07 北京奇艺世纪科技有限公司 A kind of comment information dissemination method and device
CN107436869B (en) * 2016-05-25 2021-06-29 北京奇虎科技有限公司 Impression comment generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657545A (en) * 2015-11-17 2016-06-08 乐视云计算有限公司 Video play method and apparatus
CN106210808A (en) * 2016-08-08 2016-12-07 腾讯科技(深圳)有限公司 Media information put-on method, terminal, server and system
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium
CN109885770A (en) * 2019-02-20 2019-06-14 杭州威佩网络科技有限公司 A kind of information recommendation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110889076A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
CN110889076B (en) Comment information publishing method, device, client, server, system and medium
CN110378732B (en) Information display method, information association method, device, equipment and storage medium
US10735494B2 (en) Media information presentation method, client, and server
CN110913266B (en) Comment information display method, device, client, server, system and medium
CN111105819B (en) Clipping template recommendation method and device, electronic equipment and storage medium
US20160378719A1 (en) Systems and methods for optimizing content layout using behavior metrics
US11062251B2 (en) Multi-dimensional command center
EP3873065B1 (en) Content recommendation method, mobile terminal, and server
CN112350923B (en) Session message display method and device, computer equipment and storage medium
CN110990700A (en) Comment information display method, device, client, server and system
CN110019800B (en) Distributed content processing method, distributed content processing device, computer equipment and storage medium
US20140173031A1 (en) Information providing apparatus, information providing method, and network system
CN111177499A (en) Label adding method and device and computer readable storage medium
CN111767396A (en) Data processing method, device, equipment and computer readable storage medium
CN106095816B (en) Information delivery method and device
US20140129634A1 (en) Social media-based content recommendation apparatus
CN113076731A (en) Report file generation method and device, computer equipment and storage medium
CN114417157B (en) Data pushing method and device, computer equipment and computer medium
JP2019057245A (en) Information processing apparatus and program
US20150286658A1 (en) Image Processing
US8903817B1 (en) Determining search relevance from user feedback
CN107733777B (en) Third party information notification method, system and computer readable storage medium
CN114938458B (en) Object information display method and device, electronic equipment and storage medium
CN110968682A (en) Comment information publishing method, device, client, server and system
CN111209488B (en) Information sharing method and device

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