CN113608945A - Data processing method, device, equipment and computer readable storage medium - Google Patents

Data processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113608945A
CN113608945A CN202110869533.3A CN202110869533A CN113608945A CN 113608945 A CN113608945 A CN 113608945A CN 202110869533 A CN202110869533 A CN 202110869533A CN 113608945 A CN113608945 A CN 113608945A
Authority
CN
China
Prior art keywords
comment
target
configuration
page
user
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.)
Pending
Application number
CN202110869533.3A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110869533.3A priority Critical patent/CN113608945A/en
Publication of CN113608945A publication Critical patent/CN113608945A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Abstract

The embodiment of the application discloses a data processing method, a data processing device, data processing equipment and a computer readable storage medium. The method comprises the following steps: obtaining comment configuration parameters, wherein the comment configuration parameters comprise address identifications, selecting at least one comment field from a candidate comment data set, generating a target comment according to the at least one comment field, determining a target user identification associated with the target comment from a candidate user set according to a screening condition, publishing the target comment in a target page through the target user identification, and determining the target page according to the address identifications. Therefore, at least one comment field is selected from the candidate data set, and the target comment generated according to the selected comment field is issued in the target page through the target user identification, so that the comment generation cost can be reduced, and the test efficiency can be improved.

Description

Data processing method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, apparatus, device, and computer-readable storage medium.
Background
With the continuous development of computer technology, more and more people start to use multimedia playing platforms (such as live broadcasting platforms, online interactive platforms, etc.). When the viewer uses the multimedia playing platform, the viewer can interact with the user (such as a main broadcast) in the multimedia playing platform by sending a comment (such as a barrage) and giving away a virtual article. Due to the fact that the number of the watchers is different in different time periods, when the number of the watchers is large, the multimedia playing platform has the risk of server breakdown. Therefore, the multimedia playing platform needs to be subjected to stability test before being put into use. Practice shows that the efficiency of testing the multimedia playing platform by manually inputting comments is low, and the cost is high.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, data processing equipment and a computer readable storage medium, which can reduce the comment generation cost and improve the test efficiency.
In one aspect, an embodiment of the present application provides a data processing method, including:
obtaining comment configuration parameters, wherein the comment configuration parameters comprise address identifiers;
selecting at least one comment field from the candidate comment data set, and generating a target comment according to the selected at least one comment field;
determining a target user identifier associated with the target comment from the candidate user set according to the screening condition;
and issuing the target comment in a target page through the target user identifier, wherein the target page is a page determined according to the address identifier.
In one aspect, an embodiment of the present application provides a data processing apparatus, including:
the comment configuration device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring comment configuration parameters which comprise address identifiers;
the processing unit is used for selecting at least one comment field from the candidate comment data set and generating a target comment according to the selected at least one comment field; the target user identification associated with the target comment is determined from the candidate user set according to the screening condition; and the target comment is issued in a target page through the target user identifier, and the target page is a page determined according to the address identifier.
In one embodiment, the comment configuration parameters further include a comment mode identifier and a level threshold, and the comment mode identifier indicates that the current comment mode is the first comment mode;
the processing unit is configured to determine, from the candidate user set according to the screening condition, a target user identifier associated with the target comment, and specifically configured to:
determining a target user subset from the candidate user set according to the level threshold, wherein the level corresponding to the user identification in the target user subset is higher than the level threshold;
selecting a user identifier from the target user subset according to the first user screening rule, and determining the user identifier as a target user identifier associated with the target comment; alternatively, the first and second electrodes may be,
and selecting a user identifier from the candidate user set according to a second user screening rule, and if the level corresponding to the user identifier is higher than a level threshold, determining the user identifier as a target user identifier associated with the target comment.
In one embodiment, the comment mode identification indicates that the current comment mode is the second comment mode; the processing unit is further configured to:
if the comment configuration parameters further comprise virtual article indication information, determining a target virtual article associated with the target comment according to the virtual article indication information; alternatively, the first and second electrodes may be,
selecting at least one virtual article from the virtual article set according to the article screening rule, and determining the at least one virtual article as a target virtual article associated with the target comment;
the target virtual item is transferred to a virtual item recipient associated with the target page.
In one embodiment, the processing unit is further configured to:
sending an acquisition request to each network address in a network address set, wherein the network address set comprises address identification;
acquiring response information of the acquisition request, wherein the response information carries at least one participating user identifier of a network address;
and generating a candidate user set according to the participation user identification of at least one network address.
In one embodiment, the candidate comment dataset includes an identification dataset and a text dataset; the processing unit is used for selecting at least one comment field from the candidate comment data set, generating a target comment according to the at least one comment field, and specifically used for:
selecting at least one identifier from the identifier data set, and determining the at least one identifier as a first comment subfield;
selecting at least one text fragment from the text data set, and determining the at least one text fragment as a second comment subfield, wherein each text fragment comprises at least one word;
and splicing the first comment subfield and the second comment subfield to obtain the target comment.
In one embodiment, the configuration parameters further include comment parameters and comment types corresponding to the comment parameters, the comment parameters include N fields and field values corresponding to each field, and N is a positive integer; the processing unit is further configured to:
adding the comment parameters into a comment data set in a key value pair mode, and establishing an incidence relation between the comment parameters and the comment types;
wherein, N fields are storage keys, and the field value corresponding to each field is a storage value.
In one embodiment, the configuration parameters further include duration information and frequency information, the target comment is the ith generated comment, and i is a positive integer greater than 1; the processing unit is further configured to:
and if the current time is in the time range indicated by the duration information and the time difference between the current time and the (i-1) th comment is greater than or equal to the time threshold indicated by the frequency information, continuing to execute the step of selecting at least one comment field from the candidate comment data set and generating the target comment according to the at least one comment field.
In one embodiment, the processing unit is further configured to:
displaying a parameter configuration page, the parameter configuration page including at least one of the following regions: a configuration mode selection area, an address identifier configuration area, a duration information configuration area, a frequency information configuration area, an operation environment configuration area, a comment mode configuration area and a comment type configuration area;
and responding to the triggering of comment configuration parameters in the parameter configuration page, and displaying a target comment on a target page, wherein the target page is a page determined according to the address identifier in the address identifier configuration area, and the target comment is generated according to the comment configuration parameters.
In one embodiment, the processing unit is further configured to:
responding to the triggering of a task viewing event, displaying a task list, wherein comment configuration parameters, state information of a target task corresponding to the comment configuration parameters and operation buttons of the target task are displayed in the task list, and the operation buttons comprise a first button and a second button;
if the first button is triggered, updating the display state information, and switching the running state of the target task according to the updated state information;
and if the second button is triggered, deleting the related information of the target task in the task list.
Accordingly, the present application provides a smart device comprising:
a processor for loading and executing a computer program;
a computer-readable storage medium, in which a computer program is stored which, when executed by a processor, implements the data processing method described above.
Accordingly, the present application provides a computer readable storage medium having stored thereon a computer program adapted to be loaded by a processor and to execute the above-mentioned data processing method.
Accordingly, the present application provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method.
In the embodiment of the application, comment configuration parameters are obtained, the comment configuration parameters comprise address identifications, at least one comment field is selected from a candidate comment data set, a target comment is generated according to the at least one comment field, a target user identification associated with the target comment is determined from a candidate user set according to screening conditions, the target comment is published in a target page through the target user identification, and the target page is a page determined according to the address identifications. Therefore, at least one comment field is selected from the candidate data set, and the target comment generated according to the selected comment field is issued in the target page through the target user identification, so that the comment generation cost can be reduced, and the test efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of a data processing scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another data processing method according to an embodiment of the present application;
fig. 4a is a schematic diagram of a parameter configuration page provided in an embodiment of the present application;
fig. 4b is a schematic diagram of a configuration of a transmitting frequency according to an embodiment of the present application;
fig. 4c is a schematic diagram of another parameter configuration page provided in the embodiment of the present application;
FIG. 4d is a schematic diagram illustrating a target comment displayed on a target page according to an embodiment of the present application;
fig. 4e is a schematic diagram of a task list provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a setting process of a user filtering condition according to an embodiment of the present application;
FIG. 7 is an architecture diagram of a data processing system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an intelligent device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The following describes various terms related to the embodiments of the present application:
the bullet screen is a special function provided by some video sharing websites (such as a live broadcast platform, a multimedia resource platform and the like), and by utilizing the function, a multimedia resource viewer can make comments of the multimedia resource viewer through the bullet screen in the process of viewing the multimedia resource and immediately display the comments which are slipped when all viewers of the multimedia resource view the multimedia resource at the time point, so that all viewers can notice the comments, the interaction among the viewers is realized, and even the praise or criticism of the multimedia resource work can be expressed together, and the viewing pleasure is increased. Barrage can be considered an instant commenting mechanism for multimedia resources that typically causes a comment to show an effect that drifts away from the screen, appearing as a flying bullet, so people call this comment of showing the effect a barrage. Taking the multimedia resource platform as a live broadcast platform as an example, a user of the live broadcast platform can send characters to interact, the theme can include asking a main broadcast question and interacting with other audiences in a live broadcast room, and the character interaction is collectively called as a bullet screen.
Further, the bullet screen can include a hovering bullet screen and a robot bullet screen, wherein the hovering bullet screen is one of the bullet screens, and can stay for X seconds (for example, stay for 5 seconds) in the rolling process of the bullet screen, so that the exposure rate is increased, and the bullet screen is seen by the main broadcast and the user; the robot barrage is not the barrage sent by the real user, and the robot barrage simulates the barrage sent by the viewer through intelligent equipment. In practical application, the robot barrage can be used for activating the atmosphere of the multimedia resource platform, and can also be used for performing stability test on the multimedia resource platform and the like. Generally, a robot bullet screen is not actually different from a bullet screen sent by a real user.
In addition, embodiments of the present application also relate to Artificial Intelligence (AI): AI is a theory, method, technique and application system that uses a digital computer or a machine controlled by a digital computer to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use the knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technique of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence.
The AI technology is a comprehensive subject, and relates to the field of extensive technology, both hardware level technology and software level technology. The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, processing technologies for large applications, operating/interactive systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
Natural Language Processing (NLP). NLP is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that enable efficient communication between humans and computers using natural language. Natural language processing is a science integrating linguistics, computer science and mathematics. Therefore, the research in this field will involve natural language, i.e. the language that people use everyday, so it is closely related to the research of linguistics. Natural language processing techniques typically include text processing, semantic understanding, machine translation, robotic question and answer, knowledge mapping, and the like. The embodiment of the application mainly relates to the comment generation (such as a robot barrage) through NLP.
Machine learning is a multi-field cross discipline, and relates to a plurality of disciplines such as probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and the like. The special research on how a computer simulates or realizes the learning behavior of human beings so as to acquire new knowledge or skills and reorganize the existing knowledge structure to continuously improve the performance of the computer. Machine learning is the core of AI, is the fundamental approach to making computers intelligent, and is applied across various areas of artificial intelligence. Machine learning/deep learning generally includes techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and formal education learning.
Based on the NLP technology and the machine learning technology in the AI technology, the embodiment of the application provides a data processing scheme to obtain target comments (robot barrage) more efficiently. Fig. 1 is a schematic view of a data processing scenario provided in an embodiment of the present application. As shown in fig. 1, the data processing scheme provided by the present application may be executed by a smart device 101, where the smart device 101 may be a terminal or a server with data processing capability. Among others, the terminal may include but is not limited to: smart phones (such as Android phones, IOS phones, and the like), tablet computers, portable personal computers, mobile internet devices (MID for short), and the like, which are not limited in the embodiments of the present application. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and an artificial intelligence platform, which is not limited in the embodiment of the present application.
As shown in fig. 1, the smart device 101 obtains a comment configuration parameter, and generates a target comment according to the comment parameter, where the target comment is displayed on a page 103; comment configuration parameters can be set through the parameter configuration page 102, and parameter configuration personnel (such as a host, background staff, and the like) can select a configuration mode (such as comment parameter configuration according to a default mode supported by the intelligent device 101, or custom comment parameter configuration, and the like) through the configuration mode selection area 1021; an address identifier (such as a live room number, a network address, and the like) for displaying the target comment can be input through the address identifier configuration area 1022; the duration (e.g., 100 seconds, 360 seconds, etc.) of the generated comment (robot barrage) can be input through the duration information configuration area 1023; the region 1024 may be configured with frequency information, selecting a frequency (e.g., 10 bars/second) at which comments are generated; an operating environment (e.g., a test environment) may be selected via an operating environment configuration area 1025; a comment mode (e.g., a random mode, a honored guest mode, etc.) can be selected through the comment mode configuration area 1026; a comment type (general type, house tube type, gift type, etc.) can be selected through the comment type configuration area 1027; various parameters in page 102 may also be packaged into comment configuration parameters via a "confirm" button 1028; the various parameters in page 102 are reset to initial values by a "cancel" button 1029.
In a specific implementation, the flow of the data processing scheme mainly includes: (1) obtaining comment configuration parameters, wherein the comment configuration parameters comprise address identifications, and each address identification corresponds to one page; for example, the address identifier may be a web address, a room number of the multimedia asset platform, and the like.
(2) Selecting at least one comment field from the candidate comment data set, and generating a target comment according to the at least one comment field; the candidate comment data set can be stored in a database by a developer in advance, or can be collected by the intelligent device from one or more pages in a target period (such as 10-11 pm every day); for example, the intelligent device collects comment data from a page indicated by at least one candidate website in the candidate collection website set every day, and then obtains a candidate comment data set. The comment field may be a word, a phrase composed of a plurality of words, or a sentence.
(3) Determining a target user identifier associated with the target comment from the candidate user set according to the screening condition; the screening condition may be determined according to the comment configuration parameter (for example, the level corresponding to the target user identifier needs to be higher than a level threshold, the target user identifier is a VIP (VIP) identifier, and the like), or may be preset by a developer (for example, the default screening condition is random selection).
(4) And issuing the target comment in a target page through the target user identifier, wherein the target page is a page determined according to the address identifier. As shown in fig. 1, the page 103 is a target page, that is, the page 103 is a page determined according to an address identifier, for example, the address identifier is a live room number 400 of the multimedia resource platform, and then the page 103 is a live page of the live room 400. The page 103 includes a target user identifier 1031 and a target comment 1032, the target user identifier 1031 is determined from the candidate user set according to the filtering condition, and the target comment 1032 is generated according to the comment data set.
In the embodiment of the application, comment configuration parameters are obtained, the comment configuration parameters comprise address identifications, at least one comment field is selected from a candidate comment data set, a target comment is generated according to the at least one comment field, a target user identification associated with the target comment is determined from a candidate user set according to screening conditions, the target comment is published in a target page through the target user identification, and the target page is a page determined according to the address identifications. Therefore, at least one comment field is selected from the candidate data set, and the target comment generated according to the selected comment field is issued in the target page through the target user identification, so that the comment generation cost can be reduced, and the test efficiency can be improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a data processing method according to an embodiment of the present disclosure. The method of the embodiment of the application is applied to the intelligent device, and the intelligent device can be terminal equipment used by some users or some servers with special functions. The method comprises the following steps:
s201, obtaining comment configuration parameters.
The comment configuration parameters comprise address identifications, and each address identification corresponds to one page; for example, the address identifier may be a web address, a room number of the multimedia asset platform, and the like.
S202, selecting at least one comment field from the candidate comment data set, and generating the target comment according to the at least one comment field.
The candidate comment data set can be stored in a database by a developer in advance, or can be collected by the intelligent device from one or more pages in a target period (such as 10-11 pm every day); for example, the intelligent device collects comment data from a page indicated by at least one candidate website in the candidate collection website set every day, and then obtains a candidate comment data set. The comment field may be a word, a phrase composed of a plurality of words, or a sentence.
In one embodiment, the comment data set includes a plurality of comments (e.g., comments collected from a live room), from which the smart device selects (e.g., randomly selects, selects according to an indication of comment configuration parameters) one as a target comment; for example, comment data set a includes comment 1: "anchor 666", comment 2: "broadcast to several points today? ", comment 3: "1111"; the smart device randomly selects one of comments 1-3 as the target comment.
In another embodiment, the comment data set comprises a plurality of comment fields, the intelligent device selects one field from the comment data set, and the field is used as a subject of the target comment to generate the target comment; for example, if the field selected by the smart device is "XX anchor", the target comment generated according to "XX anchor" may be "XX anchor 666", "XX anchor really makes a fun", "i like XX anchor" or the like. Specifically, the intelligent device may input the selected field into the comment generation model, obtain the comment output by the comment generation model, and determine the comment as the target comment.
In yet another embodiment, the comment data set includes a plurality of field subsets (e.g., symbol subsets, expression subsets, text subsets, etc.), and the smart device 101 selects at least two fields from the at least two field subsets and combines the selected at least two fields into the target comment; specifically, the intelligent device may input the selected at least two fields into a comment combination model based on the NLP, obtain a comment output by the comment combination model, and determine the comment as a target comment. For example, assume that the smart device selects the symbol "!from a subset of symbols! ", the text" true-stick "is selected from the text subset, the selected symbol and text are combined to get the target comment" true-stick! ".
S203, determining a target user identifier associated with the target comment from the candidate user set according to the screening condition.
The screening condition may be determined according to the comment configuration parameter (for example, the level corresponding to the target user identifier needs to be higher than a level threshold, the target user identifier is a VIP (VIP) identifier, and the like), or may be preset by a developer (for example, the default screening condition is random selection). In one implementation, the intelligent device selects a target user identifier meeting the screening condition from the candidate user set, and packages the target user identifier and the target comment into a comment data packet.
And S204, publishing the target comment in the target page through the target user identification.
The target page is a page determined according to the address identification. In one implementation mode, the intelligent device sends a comment data packet to a server to which a target page belongs, so that the server displays a target comment in the target page according to the comment data packet, and the target comment is issued through a target user identifier; for example, if the page indicated by the address identifier is a page of a live broadcast room B in the live broadcast platform a, the intelligent device sends the comment data packet to a server to which the live broadcast platform a belongs, so that the server can issue the target comment carried in the comment data packet in the page of the live broadcast room B.
In the embodiment of the application, comment configuration parameters are obtained, the comment configuration parameters comprise address identifications, at least one comment field is selected from a candidate comment data set, a target comment is generated according to the at least one comment field, a target user identification associated with the target comment is determined from a candidate user set according to screening conditions, the target comment is published in a target page through the target user identification, and the target page is a page determined according to the address identifications. Therefore, at least one comment field is selected from the candidate data set, and the target comment generated according to the selected comment field is issued in the target page through the target user identification, so that the comment generation cost can be reduced, and the test efficiency can be improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another data processing method according to an embodiment of the present disclosure. The method of the embodiment of the application is applied to terminal equipment used by some users. The method comprises the following steps:
and S301, displaying a parameter configuration page.
The parameter configuration page is used for setting comment configuration parameters, and comprises at least one of the following areas: the system comprises a configuration mode selection area, an address identifier configuration area, a duration information configuration area, a frequency information configuration area, an operation environment configuration area, a comment mode configuration area and a comment type configuration area.
The configuration mode selection area is used for selecting a configuration mode of comment configuration parameters; for example, a parameter configuration person (such as a host, a background worker, etc.) may select to perform comment parameter configuration according to a mode provided by a developer, or may select to perform custom comment parameter configuration (i.e., custom comment configuration parameters); the address identifier configuration area is used for acquiring address identifiers (such as websites, live broadcast room IDs and the like) input by parameter configuration personnel; the duration information configuration area is used for acquiring the duration of the comment generation input by the parameter configuration personnel (namely, the comment is generated within the duration according to the frequency indicated by the frequency information); the frequency information configuration area is used for acquiring the frequency (such as 10 bars/second) set by a parameter configuration person; the operation environment configuration area is used for acquiring an operation environment (such as a test environment) set by a parameter configuration personnel; the comment mode configuration area is used for acquiring a comment mode selected by the parameter configuration personnel, and the comment mode can include but is not limited to: all random modes (i.e., text comments can be generated, comments carrying virtual articles can be generated, comments sent by users with the grade higher than a grade threshold value can be generated, and the like), a specific gift mode (i.e., comments carrying specified virtual articles are generated), a custom mode (i.e., comments set by parameter configuration personnel themselves are generated), a noble identity mode (i.e., a user identifier for issuing a target comment is a VIP identifier), and the like; the comment type configuration area is used for obtaining comment types selected by the parameter configuration personnel, and the comment types can include but are not limited to: a general barrage type, a first virtual item (e.g., a diamond gift) type, a second virtual item (e.g., a gold gift) type, a system message type, and so forth. Options in the comment modes and comment types can be expanded according to actual requirements, and the comment modes and the comment types are not limited by the application; for example, the sex, age group, network age, etc. of the user can also be set in the comment mode; the comment type can also be set with house management barrage type, super management barrage type, welcome information type, etc.
Fig. 4a is a schematic diagram of a parameter configuration page provided in an embodiment of the present application. As shown in fig. 4a, a parameter configuration person may configure the relevant parameters through each area in the parameter configuration page, and the specific configuration manner may refer to the configuration manner of the page 102 in fig. 1, which is not described herein again. The detailed configuration description is performed by taking the configuration of the transmission frequency as an example:
fig. 4b is a schematic configuration diagram of a transmitting frequency according to an embodiment of the present disclosure. As shown in fig. 4b, when the parameter configurator selects the frequency configuration area 4011, an area 4013 is displayed, and the area 4013 includes one or more selectable frequencies. In another embodiment, the parameter configuration person may also directly input the frequency to be configured in the frequency configuration area 4011, for example, the parameter configuration person inputs "3 bars/second" in the frequency configuration area.
Fig. 4c is a schematic diagram of another parameter configuration page provided in the embodiment of the present application. As shown in fig. 4c, the parameter configuration page in fig. 4c differs from the parameter configuration page in fig. 4a in that: the parameter configuration page in fig. 4c does not include the comment mode and comment type configuration area 4012, and includes the comment parameter configuration area 402. That is, the parameter configuration person can customize the comment mode and comment type of the comment in the comment parameter configuration area. In one embodiment, a parameter configurator may configure the comment parameters in the form of key-value pairs; for example: 977 for the uid; 977 for nick; "content": Anchor XXXXX "; "type":0, and the like, wherein "uid":977 means that the field value corresponding to the uid field (storage key) is 977 (storage value). Optionally, the parameter configurator may name the configured comment parameter set and add the name of the comment parameter set in the comment mode or the comment type (for example, the comment parameter set configured by the parameter configurator may be named "type M + 1" and add "type M + 1" to the area 4012), so as to facilitate subsequent use.
S302, responding to the fact that the comment configuration parameters in the parameter configuration page are triggered, and displaying the target comment on the target page.
The target page is a page determined according to the address identifier in the address identifier configuration area (for example, a live broadcast room page with a room number of 400 determined according to the live broadcast room ID: 400), and the target page may specifically be a live broadcast room page, a short video page, a forum page, a multimedia resource (for example, a movie, a variety program, and the like) playing page, a social page, and the like that can be commented on, which is not limited in this application. The target comment is generated according to the comment configuration parameters; for example, the target comment is a combination of 3 comment fields selected from the candidate comment data set as indicated by the comment configuration parameter.
Fig. 4d is a schematic diagram illustrating that a target comment is displayed on a target page according to an embodiment of the present application. As shown in fig. 4d, the page 403 is a live page, in which a target comment 4033 generated according to the comment configuration parameter is displayed, where the target comment 4033 is issued by a target user identifier 4032, and in an embodiment, the target comment 4033 may also be displayed in a live area 4031 in a bullet screen manner in real time.
And S303, responding to the triggering of the task viewing event, and displaying the task list.
The task viewing event may specifically be that the parameter configuration personnel triggers a "view task" button, or that the parameter personnel triggers a "confirm" button in the parameter configuration page (i.e., automatically jumps to a task list after the comment parameter configuration is completed). The task list is displayed with comment configuration parameters, state information of a target task corresponding to the comment configuration parameters and operation buttons of the target task, wherein the operation buttons comprise a first button and a second button, the first button is used for switching the state (such as running, pausing and stopping) of the target task, and the second button is used for deleting the target task.
Fig. 4e is a schematic diagram of a task list according to an embodiment of the present application. As shown in FIG. 4e, the parameter configuration personnel can create a new task by triggering a "create task" button 4041, and in one embodiment, when the "create task" button is triggered, the parameter configuration personnel will jump to a parameter configuration page; tasks that need to be viewed (e.g., enter task number, address identification, etc.) can also be searched through the search box 4042. In the task list, "sequence number" is used to indicate the generation order of the tasks, and "sequence number" has an index function; for example, the address associated with the serial number "1" is identified as "400", the comment type is "type 1", the comment detail is "selected", the comment frequency is "mode 1(10-40 pieces/second)", the time limit is "2 minutes", the execution environment is "test environment", and the status is "stopped". In another embodiment, the "address identification" also has an index power; for example, a user may look up one or more tasks associated with a target address identification by the target address identification. The "address identification", "comment type", "comment detail", "comment frequency", "time limit", "execution environment" are determined according to the comment configuration parameters. "status" is used to indicate the current running status of a task (e.g., running, paused, stopped, etc.). Button 4043 is the first button of the task with sequence number "3", and button 4044 is the second button of the task with sequence number "3", and in response to the first button being triggered, step S304 is continuously executed; in response to the second button being triggered, the process proceeds to step S305.
And S304, updating the display state information, and switching the running state of the target task according to the updated state information.
In one embodiment, if the current state is the "running" state, in response to the first button being triggered, the "running" state is updated and displayed as the "stop"/"pause" state, and the target task is paused/stopped (i.e., the running state of the target task is switched according to the updated state information). And if the current state is a stop/pause state, updating and displaying the stop/pause state as a running state in response to the triggering of the first button, and starting to execute the target task (namely switching the running state of the target task according to the updated state information).
S305, deleting the relevant information of the target task in the task list.
In one embodiment, if the status of the target task is "stop", the relevant information (such as the serial number, address identifier, etc. of the target task) of the target task is deleted from the task list; and if the state of the target task is the running state, stopping executing the target task and deleting the target task from the task list.
Optionally, in response to the second button being triggered, a confirmation prompt message for confirming whether the target task is deleted from the task list is displayed.
In the embodiment of the application, a parameter configuration person can configure comment configuration parameters in a parameter configuration page, view target comments generated according to the comment configuration parameters in a target page, and manage one or more tasks related to the comments in a task list. Therefore, through the page, parameter configuration personnel can select the supported comment types at will, and can flexibly expand the comment types to generate the required comments, so that the comment generation cost can be reduced, and the test efficiency is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating another data processing method according to an embodiment of the present disclosure. The method of the embodiment of the application is applied to the intelligent device, and the intelligent device can be terminal equipment used by some users or some servers with special functions. The method comprises the following steps:
s501, obtaining comment configuration parameters.
The comment configuration parameter includes an address identification. In one embodiment, the comment configuration parameters further include duration information and frequency information, the duration information is used for indicating the duration of the comment generation, and the frequency information is used for indicating the generation frequency of the comment within the duration; for example, if the duration information is 2 minutes and the frequency is 10 pieces/second, the smart device generates 120 × 10 — 1200 comments in 2 minutes.
S502, detecting whether the current time meets the comment generation condition.
The intelligent equipment judges whether the current time meets the comment generation condition or not according to the duration information and the frequency information, and if the current time meets the comment generation condition, the comment is generated; if the duration information meets the generation condition and the frequency information does not meet the generation condition (namely within the duration of the comment generation, but the generation frequency does not meet the requirement), judging whether the current time meets the comment generation condition again according to the duration information and the frequency information after the set time interval; if the duration information does not meet the generation condition (that is, the current time exceeds the time range indicated by the duration information), the operation is ended.
In one implementation mode, it is assumed that i-1 comments are generated at present, i is a positive integer greater than 1, the intelligent device determines whether the current time is within a time range indicated by the duration information, and if the current time is within the time range indicated by the duration information and a time difference between the current time and the i-1 th comment is greater than or equal to a time threshold indicated by the frequency information, the ith comment is generated. The specific mode of generating the target comment by the intelligent equipment for comment configuration parameters comprises the following steps:
1) if the comment configuration parameters further include a comment mode identifier and a level threshold, and the comment mode identifier indicates that the current comment mode is the first comment mode (e.g., text comment mode), the process continues to execute step S503.
2) If the comment configuration parameter further includes a comment mode identifier, and the comment mode identifier indicates that the current comment mode is the second comment mode (for example, the comment mode with the virtual article), the step S504 is continuously executed.
3) If the comment configuration parameters further include a comment parameter and a comment type corresponding to the comment parameter, the comment parameter includes N fields and a field value corresponding to each field, where N is a positive integer, then step S505 is continuously executed.
S503, determining a target user identifier associated with the target comment from the candidate user set according to the grade threshold.
In one embodiment, the smart device determines a target user subset from a candidate user set according to a level threshold (specifically, an experience level, a VIP (VIP) level, and the like), wherein a level corresponding to a user identifier in the target user subset is higher than the level threshold; and then selecting a user identifier from the target user subset according to a first user screening rule (such as randomly screening the user identifiers, screening the user identifiers with the highest grade in the target user subset, screening the user identifiers which are currently online/offline, screening the user identifiers with the highest activity in the target user subset, screening according to conditions set by parameter configuration personnel, and the like), and determining the user identifier as the target user identifier associated with the target comment.
In another embodiment, the intelligent device selects a user identifier from the candidate user set according to the second user screening rule, and determines the user identifier as a target user identifier associated with the target comment if the level corresponding to the user identifier is higher than the level threshold; if the level corresponding to the user identifier is not higher than the level threshold, the user identifier is discarded, and a user identifier is continuously selected from the candidate user set according to the second user screening rule until a target user identifier is obtained (namely, the level corresponding to the screened user identifier is higher than the level threshold). The first filtering rule and the second filtering rule may be the same or different, and the application is not limited thereto.
Similarly, the selected target user identifier may also be a user with a special identity (such as an administrator, a honored guest, etc.); for example, the target user identification is a user identification used by an administrator of the multimedia resource platform. Fig. 6 is a schematic diagram of a setting process of a user filtering condition according to an embodiment of the present application. As shown in fig. 6, in response to the parameter configurator triggering the identity configuration area 601, displaying an identity screening condition selection area 602, and after the parameter configurator confirms the identity screening condition, the intelligent device may determine a target user identifier meeting the condition according to the identity screening condition; for example, if the parameter configurator selects "level 3," it indicates that the identity of the target user identification needs to be level 3 or above level 3.
It should be noted that the candidate user set may be collected and set in advance by a developer, or may be collected by the intelligent device from one or more multimedia resource platforms; specifically, the intelligent device sends an acquisition request to each network address in a network address set, where the network address set includes an address identifier (i.e., candidate users are to be acquired to the multimedia platform indicated by the address identifier); acquiring response information of the acquisition requests, wherein the response information carries at least one participating user identifier of a network address; and generating a candidate user set according to the participation user identification of at least one network address (namely the candidate user set is obtained by the intelligent equipment through periodic collection).
S504, determining a target virtual item associated with the target comment, and transferring the target virtual item to a virtual item receiving party associated with the target page.
In one embodiment, the comment configuration parameters further include virtual item indication information, and the smart device determines a target virtual item associated with the target comment according to the virtual item indication information (e.g., determines the type, number, etc. of the virtual item according to the virtual item execution information), and transfers the target virtual item to a virtual item recipient (e.g., an anchor in a live page indicated by the address identifier) associated with the target page.
In another embodiment, the smart device selects at least one virtual item from the set of virtual items according to item screening rules (e.g., random screening, preferential selection of virtual items that are about to expire, selection of virtual items having a value within a value range, etc.), determines the at least one virtual item as a target virtual item associated with the target review, and transfers the target virtual item to a virtual item recipient associated with the target page.
And S505, adding the comment parameters to the comment data set in a key value pair mode, and establishing an incidence relation between the comment parameters and the comment types.
In one embodiment, a parameter configuration user may generate custom comment types by setting comment parameters. After obtaining the comment parameters set by the parameter configuration user, the intelligent device establishes the incidence relation between the comment parameters and the comment types specified by the parameter configuration user (if the parameter configuration user specifies the output comment parameters as the (M + 1) th comment type, M is a positive integer), and adds the comment parameters to the comment data set in a key value pair mode; the comment parameters comprise N fields which are storage keys, and the value of a field corresponding to each field is a storage value. In use, a parameter configuration user may specify a field to be selected, and the smart device determines one or more field values from the specified field and generates a target comment from the determined one or more field values. For a specific implementation of generating the target comment according to the determined one or more field values, reference may be made to the implementation in step S202 in fig. 2, which is not described herein again.
S506, selecting at least one identifier from the identifier data set, and determining the at least one identifier as a first comment subfield.
The identification data set may comprise at least one subset of: a subset of numbers (sequence numbers), a subset of symbols, and a subset of emoticons. The first comment subfield may specifically be one or more fields; for example, the first comment subfield may include 1 emoticon, may also include 2 emoticons and a symbol, and may also include 1 emoticon, a symbol, and a number. In one embodiment, the smart device selects at least one logo from at least one subset included in the logo data set and determines the selected at least one logo as the first comment subfield. The selection rule of the identifier can be random or specified by a parameter configuration person; for example, the parameter configurator may specify that 2 expressions are included in each comment (i.e., two expressions need to be selected from the identification dataset each time a comment is generated).
And S507, selecting at least one text fragment from the text data set, and determining the at least one text fragment as a second comment subfield.
The text data set may include, but is not limited to, chinese text, english text; each text segment comprises at least one word (one Chinese character for Chinese and one letter for English); the second comment subfield can be specifically one or more text passages. In one embodiment, the smart device selects at least one text passage from the text data set and determines the at least one text passage as the second comment subfield. The selection rule of the text segment can be random or designated by a parameter configuration person; for example, the parameter configurator may specify that each comment includes at least 15 words (i.e., each selected text segment is combined to have a number of words equal to or greater than 15).
And S508, splicing the first comment subfield and the second comment subfield to obtain the target comment.
The splicing processing means that the first comment subfield and the second comment subfield are merged to obtain a target comment; for example, let the first comment subfield be "! | A | A And if the second comment subfield is ' true rod ', splicing the first comment subfield and the second comment subfield to obtain a target comment which is ' true rod! | A | A ".
In one implementation mode, the target comment is obtained by randomly splicing a first comment subfield and a second comment subfield of the intelligent device; for example, let the first comment subfield be "! | A | A ", the second comment subfield is" true wand ", the resulting target comment may be" true wand! | A | A ", may also be"! | A | A True rods ".
In another embodiment, the intelligent device obtains the comment output by the comment combination model by inputting the first comment subfield and the second comment subfield into the comment combination model based on the NLP, and determines the comment as the target comment. For example, assume that the smart device selects the symbol "!from a subset of symbols! ", the text" true-stick "is selected from the text subset, the selected symbol and text are combined to get the target comment" true-stick! ". The comment combination model based on the NLP is obtained by training the initialization model through a training data set, and the first comment subfield and the second comment subfield are spliced through the comment combination model based on the NLP, so that comments which accord with grammatical rules better can be obtained, and the quality of the comments is improved.
And S509, publishing the target comment in the target page through the target user identifier.
The specific implementation of step S509 may refer to the implementation of step S204 in fig. 2, and is not described herein again.
Fig. 7 is an architecture diagram of a data processing system according to an embodiment of the present application. As shown in fig. 7, the data processing method provided by the present application may be mounted on a web application server (e.g., tomcat), or may be stored in a database. For the front end, a parameter configuration person accesses a web platform for automatically generating comments, sets and stores comment configuration parameters (mainly comprising address identification (such as live broadcast room id), running time, comment generation frequency, comment modes and comment types), and further generates a new task; in response to the task being triggered (e.g., a parameter configurator clicks a "run" button), the front end issues a task command (carrying comment configuration parameters) to the back end server. For a back-end server, after receiving a task command, determining the number of threads needing to be started according to comment configuration parameters; each thread performs the following step1 and step1 operations:
step 1: the back-end server stores a user information configuration file (or user information collected from one or more websites periodically by the back-end server) in advance, mainly comprises a user identifier, and has the following functions: and selecting one user from the user information configuration file as a comment publisher every time the comment is published. In addition, the back-end server comprises a comment content generator, and the main logic of the comment content generator is to select at least one field from the candidate comment data set and generate a target comment according to the field (for example, randomly intercepting content with any length from Chinese paragraphs, English paragraphs and numbers, and splicing to obtain the target comment).
step2, after determining the comment publisher and the target comment, assembling a comment data packet (such as a data packet of an http request) by combining the configuration in the comment configuration parameters (such as whether a virtual article is carried or not), and then calling an interface to send the comment data packet to the target page indicated by the address identifier at the frequency specified by the comment configuration parameters, so that the server to which the target page belongs displays the target comment according to the comment data packet.
During the execution of step1 and step2, the back-end server circularly judges whether the task time length has overtime, and if not, step1 and step2 are repeated; if a timeout has occurred, the task is ended and multithreading is halted. In addition, if the parameter configurator triggers a task stop event at the front end (e.g., clicks the "stop running" button) during the running of the task, the back-end server ends the current task.
In the embodiment of the application, the comment is generated without depending on the local computer environment of a parameter configuration person, installation and operation environment construction of various tools is avoided, and the use threshold is low; in the related services needing to use the comments (such as development of a multimedia resource platform, test of the multimedia resource platform, the multimedia resource platform and the like), comment configuration parameters can be set on the comment platform according to requirements, and the generated comments are obtained; in addition, parameter configuration personnel can also customize comment types through comment parameters according to actual requirements, expansibility is good, and configured tasks can be reused without repeated configuration. Therefore, the data processing method provided by the application can reduce the comment generation cost and improve the test efficiency.
While the method of the embodiments of the present application has been described in detail above, to facilitate better implementation of the above-described aspects of the embodiments of the present application, the apparatus of the embodiments of the present application is provided below accordingly.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure, where the apparatus may be mounted on the smart device 101 shown in fig. 1. The data processing apparatus shown in fig. 8 may be used to perform some or all of the functions in the method embodiments described above with respect to fig. 2, 3 and 5. Wherein, the detailed description of each unit is as follows:
an obtaining unit 801, configured to obtain a comment configuration parameter, where the comment configuration parameter includes an address identifier;
the processing unit 802 is configured to select at least one comment field from the candidate comment data set, and generate a target comment according to the selected at least one comment field;
the target user identification associated with the target comment is determined from the candidate user set according to the screening condition;
and the target comment is issued in a target page through the target user identifier, and the target page is a page determined according to the address identifier.
In one embodiment, the comment configuration parameters further include a comment mode identifier and a level threshold, and the comment mode identifier indicates that the current comment mode is the first comment mode;
the processing unit 802 is configured to determine, according to the filtering condition, a target user identifier associated with the target comment from the candidate user set, and specifically configured to:
determining a target user subset from the candidate user set according to the level threshold, wherein the level corresponding to the user identification in the target user subset is higher than the level threshold;
selecting a user identifier from the target user subset according to the first user screening rule, and determining the user identifier as a target user identifier associated with the target comment; alternatively, the first and second electrodes may be,
and selecting a user identifier from the candidate user set according to a second user screening rule, and if the level corresponding to the user identifier is higher than a level threshold, determining the user identifier as a target user identifier associated with the target comment.
In one embodiment, the comment mode identification indicates that the current comment mode is the second comment mode; the processing unit 802 is further configured to:
if the comment configuration parameters further comprise virtual article indication information, determining a target virtual article associated with the target comment according to the virtual article indication information; alternatively, the first and second electrodes may be,
selecting at least one virtual article from the virtual article set according to the article screening rule, and determining the at least one virtual article as a target virtual article associated with the target comment;
the target virtual item is transferred to a virtual item recipient associated with the target page.
In one embodiment, the processing unit 802 is further configured to:
sending an acquisition request to each network address in a network address set, wherein the network address set comprises address identification;
acquiring response information of the acquisition request, wherein the response information carries at least one participating user identifier of a network address;
and generating a candidate user set according to the participation user identification of at least one network address.
In one embodiment, the candidate comment dataset includes an identification dataset and a text dataset; the processing unit 802 is configured to select at least one comment field from the candidate comment data set, and generate a target comment according to the at least one comment field, and specifically configured to:
selecting at least one identifier from the identifier data set, and determining the at least one identifier as a first comment subfield;
selecting at least one text fragment from the text data set, and determining the at least one text fragment as a second comment subfield, wherein each text fragment comprises at least one word;
and splicing the first comment subfield and the second comment subfield to obtain the target comment.
In one embodiment, the configuration parameters further include comment parameters and comment types corresponding to the comment parameters, the comment parameters include N fields and field values corresponding to each field, and N is a positive integer; the processing unit 802 is further configured to:
adding the comment parameters into a comment data set in a key value pair mode, and establishing an incidence relation between the comment parameters and the comment types;
wherein, N fields are storage keys, and the field value corresponding to each field is a storage value.
In one embodiment, the configuration parameters further include duration information and frequency information, the target comment is the ith generated comment, and i is a positive integer greater than 1; the processing unit 802 is further configured to:
and if the current time is in the time range indicated by the duration information and the time difference between the current time and the (i-1) th comment is greater than or equal to the time threshold indicated by the frequency information, continuing to execute the step of selecting at least one comment field from the candidate comment data set and generating the target comment according to the at least one comment field.
In one embodiment, the processing unit 802 is further configured to:
displaying a parameter configuration page, the parameter configuration page including at least one of the following regions: a configuration mode selection area, an address identifier configuration area, a duration information configuration area, a frequency information configuration area, an operation environment configuration area, a comment mode configuration area and a comment type configuration area;
and responding to the triggering of comment configuration parameters in the parameter configuration page, and displaying a target comment on a target page, wherein the target page is a page determined according to the address identifier in the address identifier configuration area, and the target comment is generated according to the comment configuration parameters.
In one embodiment, the processing unit 802 is further configured to:
responding to the triggering of a task viewing event, displaying a task list, wherein comment configuration parameters, state information of a target task corresponding to the comment configuration parameters and operation buttons of the target task are displayed in the task list, and the operation buttons comprise a first button and a second button;
if the first button is triggered, updating the display state information, and switching the running state of the target task according to the updated state information;
and if the second button is triggered, deleting the related information of the target task in the task list.
According to an embodiment of the present application, some steps involved in the data processing methods shown in fig. 2, 3 and 5 may be performed by various units in the data processing apparatus shown in fig. 8. For example, step S201 shown in fig. 2 may be performed by the acquisition unit 801 shown in fig. 8, and steps S202 to S204 may be performed by the processing unit 802 shown in fig. 8. Steps S301 to S305 shown in fig. 3 can be executed by the processing unit 802 shown in fig. 8. Step S501 shown in fig. 5 may be executed by the acquisition unit 801 shown in fig. 8, and steps S502 to S509 may be executed by the processing unit 802 shown in fig. 8. The units in the data processing apparatus shown in fig. 8 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the data processing apparatus may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present application, the data processing apparatus as shown in fig. 8 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 2, 3 and 5 on a general-purpose computing apparatus such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM) and a storage element, and implementing the data processing method of the embodiment of the present application. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the same concept, the principle and the advantageous effect of the data processing apparatus to solve the problem provided in the embodiment of the present application are similar to the principle and the advantageous effect of the data processing apparatus to solve the problem in the embodiment of the method of the present application, and for brevity, the principle and the advantageous effect of the implementation of the method may be referred to, and are not described herein again.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an intelligent device according to an embodiment of the present disclosure, where the intelligent device 900 at least includes a processor 901, a communication interface 902, and a memory 903. The processor 901, the communication interface 902, and the memory 903 may be connected by a bus or other means. The processor 901 (or Central Processing Unit, CPU) is a computing core and a control core of the terminal, and can analyze various instructions in the terminal and process various data of the terminal, for example: the CPU can be used for analyzing a power-on and power-off instruction sent to the terminal by a user and controlling the terminal to carry out power-on and power-off operation; the following steps are repeated: the CPU may transmit various types of interactive data between the internal structures of the terminal, and so on. The communication interface 902 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.), and may be controlled by the processor 901 to transmit and receive data; the communication interface 902 may also be used for transmission and interaction of data inside the terminal. A Memory 903(Memory) is a Memory device in the terminal for storing programs and data. It is understood that the memory 903 herein can include both the built-in memory of the terminal and, of course, the expansion memory supported by the terminal. The memory 903 provides storage space that stores the operating system of the terminal, which may include, but is not limited to: android system, iOS system, Windows Phone system, etc., which are not limited in this application.
In the embodiment of the present application, the processor 901 is configured to execute the following operations by executing the executable program code in the memory 903:
obtaining comment configuration parameters through a communication interface 902, wherein the comment configuration parameters comprise address identifiers;
selecting at least one comment field from the candidate comment data set, and generating a target comment according to the selected at least one comment field;
determining a target user identifier associated with the target comment from the candidate user set according to the screening condition;
and issuing the target comment in a target page through the target user identifier, wherein the target page is a page determined according to the address identifier.
As an optional embodiment, the comment configuration parameter further includes a comment mode identifier and a level threshold, where the comment mode identifier indicates that the current comment mode is the first comment mode;
the specific embodiment of determining, by the processor 901, a target user identifier associated with the target comment from the candidate user set according to the screening condition is as follows:
determining a target user subset from the candidate user set according to the level threshold, wherein the level corresponding to the user identification in the target user subset is higher than the level threshold;
selecting a user identifier from the target user subset according to the first user screening rule, and determining the user identifier as a target user identifier associated with the target comment; alternatively, the first and second electrodes may be,
and selecting a user identifier from the candidate user set according to a second user screening rule, and if the level corresponding to the user identifier is higher than a level threshold, determining the user identifier as a target user identifier associated with the target comment.
As an alternative embodiment, the comment mode identifier indicates that the current comment mode is the second comment mode; the processor 901, by executing the executable program code in the memory 903, also performs the following operations:
if the comment configuration parameters further comprise virtual article indication information, determining a target virtual article associated with the target comment according to the virtual article indication information; alternatively, the first and second electrodes may be,
selecting at least one virtual article from the virtual article set according to the article screening rule, and determining the at least one virtual article as a target virtual article associated with the target comment;
the target virtual item is transferred to a virtual item recipient associated with the target page.
As an alternative embodiment, the processor 901, by executing the executable program code in the memory 903, further performs the following operations:
sending an acquisition request to each network address in a network address set, wherein the network address set comprises address identification;
acquiring response information of the acquisition request, wherein the response information carries at least one participating user identifier of a network address;
and generating a candidate user set according to the participation user identification of at least one network address.
As an alternative embodiment, the candidate comment data set includes an identification data set and a text data set; the specific embodiment that the processor 901 selects at least one comment field from the candidate comment data set, and generates the target comment according to the at least one comment field is as follows:
selecting at least one identifier from the identifier data set, and determining the at least one identifier as a first comment subfield;
selecting at least one text fragment from the text data set, and determining the at least one text fragment as a second comment subfield, wherein each text fragment comprises at least one word;
and splicing the first comment subfield and the second comment subfield to obtain the target comment.
As an optional embodiment, the configuration parameters further include comment parameters and comment types corresponding to the comment parameters, the comment parameters include N fields and field values corresponding to each field, and N is a positive integer; the processor 901, by executing the executable program code in the memory 903, also performs the following operations:
adding the comment parameters into a comment data set in a key value pair mode, and establishing an incidence relation between the comment parameters and the comment types;
wherein, N fields are storage keys, and the field value corresponding to each field is a storage value.
As an optional embodiment, the configuration parameters further include duration information and frequency information, the target comment is the ith comment generated, and i is a positive integer greater than 1; the processor 901, by executing the executable program code in the memory 903, also performs the following operations:
and if the current time is in the time range indicated by the duration information and the time difference between the current time and the (i-1) th comment is greater than or equal to the time threshold indicated by the frequency information, continuing to execute the step of selecting at least one comment field from the candidate comment data set and generating the target comment according to the at least one comment field.
As an alternative embodiment, the processor 901, by executing the executable program code in the memory 903, further performs the following operations:
displaying a parameter configuration page, the parameter configuration page including at least one of the following regions: a configuration mode selection area, an address identifier configuration area, a duration information configuration area, a frequency information configuration area, an operation environment configuration area, a comment mode configuration area and a comment type configuration area;
and responding to the triggering of comment configuration parameters in the parameter configuration page, and displaying a target comment on a target page, wherein the target page is a page determined according to the address identifier in the address identifier configuration area, and the target comment is generated according to the comment configuration parameters.
As an alternative embodiment, the processor 901, by executing the executable program code in the memory 903, further performs the following operations:
responding to the triggering of a task viewing event, displaying a task list, wherein comment configuration parameters, state information of a target task corresponding to the comment configuration parameters and operation buttons of the target task are displayed in the task list, and the operation buttons comprise a first button and a second button;
if the first button is triggered, updating the display state information, and switching the running state of the target task according to the updated state information;
and if the second button is triggered, deleting the related information of the target task in the task list.
Based on the same concept, the principle and the beneficial effect of solving the problem of the intelligent device provided in the embodiment of the present application are similar to the principle and the beneficial effect of solving the problem of the data processing method in the embodiment of the present application, and for brevity, the principle and the beneficial effect of the implementation of the method can be referred to, and are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, in which one or more instructions are stored, and the one or more instructions are adapted to be loaded by a processor and execute the data processing method of the foregoing method embodiment.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the data processing method of the above method embodiments.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the above-mentioned data processing method.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (12)

1. A method of data processing, the method comprising:
obtaining comment configuration parameters, wherein the comment configuration parameters comprise address identifiers;
selecting at least one comment field from the candidate comment data set, and generating a target comment according to the at least one comment field;
determining a target user identifier associated with the target comment from a candidate user set according to a screening condition;
and issuing the target comment in a target page through the target user identifier, wherein the target page is a page determined according to the address identifier.
2. The method of claim 1, wherein the review configuration parameters further include a review mode identification and a rating threshold, the review mode identification indicating that a current review mode is a first review mode; the step of determining the target user identifier associated with the target comment from the candidate user set according to the screening condition comprises the following steps:
determining a target user subset from the candidate user set according to the level threshold, wherein the level corresponding to the user identifier in the target user subset is higher than the level threshold;
selecting a user identifier from the target user subset according to a first user screening rule, and determining the user identifier as a target user identifier associated with the target comment; alternatively, the first and second electrodes may be,
and selecting a user identifier from the candidate user set according to a second user screening rule, and if the level corresponding to the user identifier is higher than the level threshold, determining the user identifier as a target user identifier associated with the target comment.
3. The method of claim 2, wherein the comment mode identification indicates that a current comment mode is a second comment mode; the method further comprises the following steps:
if the comment configuration parameters further comprise virtual article indication information, determining a target virtual article associated with the target comment according to the virtual article indication information; alternatively, the first and second electrodes may be,
selecting at least one virtual article from the virtual article set according to article screening rules, and determining the at least one virtual article as a target virtual article associated with the target comment;
transferring the target virtual item to a virtual item recipient associated with the target page.
4. The method of claim 2 or 3, wherein the method further comprises:
sending an acquisition request to each network address in a network address set, wherein the network address set comprises the address identifier;
acquiring response information of the acquisition request, wherein the response information carries a participating user identifier of at least one network address;
and generating a candidate user set according to the participating user identification of the at least one network address.
5. The method of claim 1, wherein the candidate comment data set includes an identification data set and a text data set; the selecting at least one comment field from the candidate comment data set and generating the target comment according to the at least one comment field includes:
selecting at least one identifier from the identifier data set, and determining the at least one identifier as a first comment subfield;
selecting at least one text segment from the text data set, and determining the at least one text segment as a second comment subfield, wherein each text segment comprises at least one word;
and splicing the first comment subfield and the second comment subfield to obtain the target comment.
6. The method of claim 1, wherein the configuration parameters further include a comment parameter and a comment type corresponding to the comment parameter, the comment parameter includes N fields, and a field value corresponding to each field, N being a positive integer; the method further comprises the following steps:
adding the comment parameters to a comment data set in a key value pair mode, and establishing an incidence relation between the comment parameters and the comment types;
the N fields are storage keys, and the field value corresponding to each field is a storage value.
7. The method of claim 1, wherein the configuration parameters further include duration information and frequency information, the target comment is the ith generated comment, i is a positive integer greater than 1; the method further comprises the following steps:
and if the current time is in the time range indicated by the duration information and the time difference between the current time and the i-1 th comment is greater than or equal to the time threshold indicated by the frequency information, continuing to execute the step of selecting at least one comment field from the candidate comment data set and generating a target comment according to the at least one comment field.
8. The method of claim 1, wherein the method further comprises:
displaying a parameter configuration page, the parameter configuration page including at least one of the following regions: a configuration mode selection area, an address identifier configuration area, a duration information configuration area, a frequency information configuration area, an operation environment configuration area, a comment mode configuration area and a comment type configuration area;
and in response to the fact that comment configuration parameters in the parameter configuration page are triggered, displaying target comments on a target page, wherein the target page is a page determined according to address identifiers in the address identifier configuration area, and the target comments are generated according to the comment configuration parameters.
9. The method of claim 8, wherein the method further comprises:
responding to a task viewing event to be triggered, displaying a task list, wherein the comment configuration parameters, the state information of a target task corresponding to the comment configuration parameters and operation buttons of the target task are displayed in the task list, and the operation buttons comprise a first button and a second button;
if the first button is triggered, updating and displaying the state information, and switching the running state of the target task according to the updated state information;
and if the second button is triggered, deleting the related information of the target task in the task list.
10. A data processing apparatus, comprising:
the comment configuration device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring comment configuration parameters which comprise address identifiers;
the processing unit is used for selecting at least one comment field from the candidate comment data set and generating a target comment according to the at least one comment field; the target user identification associated with the target comment is determined from the candidate user set according to the screening condition; and the target comment is issued in a target page through the target user identifier, wherein the target page is a page determined according to the address identifier.
11. A smart device, comprising: a storage device and a processor;
the storage device stores a computer program therein;
processor executing a computer program implementing a data processing method as claimed in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the data processing method of any one of claims 1-9.
CN202110869533.3A 2021-07-30 2021-07-30 Data processing method, device, equipment and computer readable storage medium Pending CN113608945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110869533.3A CN113608945A (en) 2021-07-30 2021-07-30 Data processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110869533.3A CN113608945A (en) 2021-07-30 2021-07-30 Data processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113608945A true CN113608945A (en) 2021-11-05

Family

ID=78306187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110869533.3A Pending CN113608945A (en) 2021-07-30 2021-07-30 Data processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113608945A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647827A (en) * 2019-09-09 2020-01-03 北京达佳互联信息技术有限公司 Comment information processing method and device, electronic equipment and storage medium
CN110781066A (en) * 2019-10-29 2020-02-11 北京字节跳动网络技术有限公司 User behavior analysis method, device, equipment and storage medium
CN112528185A (en) * 2020-12-17 2021-03-19 北京达佳互联信息技术有限公司 Comment information display method and device, server and terminal
US20210200958A1 (en) * 2019-12-27 2021-07-01 Beijing Baidu Netcom Science And Technology Co., Ltd. Comment information processing method and apparatus, and medium
CN113094492A (en) * 2019-12-23 2021-07-09 腾讯科技(深圳)有限公司 Comment information display method, comment information processing system, comment information processing device, comment information equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647827A (en) * 2019-09-09 2020-01-03 北京达佳互联信息技术有限公司 Comment information processing method and device, electronic equipment and storage medium
CN110781066A (en) * 2019-10-29 2020-02-11 北京字节跳动网络技术有限公司 User behavior analysis method, device, equipment and storage medium
CN113094492A (en) * 2019-12-23 2021-07-09 腾讯科技(深圳)有限公司 Comment information display method, comment information processing system, comment information processing device, comment information equipment and storage medium
US20210200958A1 (en) * 2019-12-27 2021-07-01 Beijing Baidu Netcom Science And Technology Co., Ltd. Comment information processing method and apparatus, and medium
CN112528185A (en) * 2020-12-17 2021-03-19 北京达佳互联信息技术有限公司 Comment information display method and device, server and terminal

Similar Documents

Publication Publication Date Title
US9871758B2 (en) User recommendations in a social media network
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN110598441B (en) User privacy protection method and device
CN109495427B (en) Multimedia data display method and device, storage medium and computer equipment
CN106487655B (en) Message interaction method and device and processing server
CN105337841A (en) Information processing method and system, client, and server
CN110609970A (en) User identity identification method and device, storage medium and electronic equipment
KR20230144582A (en) Live streaming video-based interaction method and apparatus, device and storage medium
CN113626624B (en) Resource identification method and related device
CN113824983A (en) Data matching method, device, equipment and computer readable storage medium
CN112035206B (en) Message processing method and device
US10328336B1 (en) Concurrent game functionality and video content
CN113608945A (en) Data processing method, device, equipment and computer readable storage medium
CN110636362A (en) Image processing method, device and system and electronic equipment
CN112115703B (en) Article evaluation method and device
CN111131354B (en) Method and apparatus for generating information
CN112395490B (en) Method and device for generating information
CN112399240A (en) Data processing method
CN114302207A (en) Bullet screen display method, device, system, equipment and storage medium
CN104991973A (en) Method and apparatus for determining area of interest of users
CN112331201A (en) Voice interaction method and device, storage medium and electronic device
CN111225266A (en) User interface interaction method and system
CN110231965A (en) A kind of cloud device, applied program processing method and electronic equipment
CN113391783B (en) Display information adjustment method and device, storage medium and electronic equipment
CN113515707B (en) Data processing method, intelligent device, intelligent equipment and storage medium

Legal Events

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