CN115237301B - Method and device for processing barrage in interactive novel - Google Patents

Method and device for processing barrage in interactive novel Download PDF

Info

Publication number
CN115237301B
CN115237301B CN202211140727.0A CN202211140727A CN115237301B CN 115237301 B CN115237301 B CN 115237301B CN 202211140727 A CN202211140727 A CN 202211140727A CN 115237301 B CN115237301 B CN 115237301B
Authority
CN
China
Prior art keywords
target
novel
man
interactive
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211140727.0A
Other languages
Chinese (zh)
Other versions
CN115237301A (en
Inventor
王一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Renma Interactive Technology Co Ltd
Original Assignee
Shenzhen Renma Interactive Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Renma Interactive Technology Co Ltd filed Critical Shenzhen Renma Interactive Technology Co Ltd
Priority to CN202211140727.0A priority Critical patent/CN115237301B/en
Publication of CN115237301A publication Critical patent/CN115237301A/en
Application granted granted Critical
Publication of CN115237301B publication Critical patent/CN115237301B/en
Priority to PCT/CN2023/083909 priority patent/WO2024060559A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The embodiment of the application provides a method and a device for processing a barrage in an interactive novel, wherein the method comprises the following steps: calling a special man-machine conversation engine to perform man-machine interaction with a user of the terminal equipment according to the man-machine conversation script; and in the process of man-machine interaction, sending an indication message to the terminal equipment, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment. By adopting the method, the bullet screen can be sent and acquired in the process that the user carries out the man-machine interaction of the interactive novel, the interestingness and intelligence of the use of the interactive novel are improved, and the reading experience is effectively improved.

Description

Method and device for processing bullet screen in interactive novel
Technical Field
The application belongs to the technical field of internet, and particularly relates to a method and a device for processing a barrage in an interactive novel.
Background
With the development of the internet, paper novels also start to be gradually popularized as electronic novels, and users can directly read novels through mobile devices or other terminal devices. With the development of the electronic novel, readers can communicate among the readers by sending the electronic novel through the bulletin screen of the novel, and a novel writer can explain a complex plot in the novel through the bulletin screen of the novel. But when the user need send the barrage and acquire the barrage of other readers, still need manual page or leaf to the assigned position, carry out the manual sending of barrage again or the manual acquisition of other readers barrage, make like this that the user novel reads the process and carries out the interactive intelligent not enough of barrage, consume a large amount of unnecessary time, read experience and can't obtain the promotion.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing a bullet screen in an interactive novel.
In a first aspect, an embodiment of the present application provides a method for processing a barrage in an interactive novel, which is applied to a server of a novel interactive system, where the novel interactive system includes the server and a terminal device for a user to perform novel interactive reading, where the server includes a dedicated man-machine conversation engine, a man-machine conversation logic of the dedicated man-machine conversation engine is given by a man-machine conversation scenario of a target interactive novel, the man-machine conversation scenario includes multiple man-machine conversation scenarios, a single man-machine conversation scenario includes a machine output content and a user expected input content, and the machine output content includes an output machine statement and an output novel text content; the method comprises the following steps: calling a special man-machine conversation engine to perform man-machine interaction with a user of the terminal equipment according to the man-machine conversation script; and in the process of man-machine interaction, sending an indication message to the terminal equipment, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment.
It can be seen that, in the embodiment of the application, a special human-computer conversation engine is called to perform human-computer interaction with a user of the terminal device according to a human-computer conversation scenario; and in the process of man-machine interaction, sending an indication message to the terminal equipment, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment. By adopting the method, the bullet screen can be sent and acquired in the human-computer interaction process of the interactive novel by the user, the interestingness and intelligence of the use of the interactive novel are improved, and the reading experience is effectively improved.
In one possible embodiment, the content information of the target barrage includes any one of the following: the method comprises the following steps of (1) obtaining a name of a character appearing in a target interactive novel, profile information of a story line associated with a current man-machine conversation plot, text contents of the novel associated with the current man-machine conversation plot and all bullet screen contents associated with a plot node which is currently processed by a user comment; the triggering condition of the target bullet screen comprises any one of the following conditions: clicking a character name appearing in a target interactive novel, jumping to a first plot node of a plot associated with a current man-machine conversation plot, executing an instruction of outputting a bullet screen operation additionally contained in machine output content of the man-machine conversation plot currently processed in a man-machine conversation scenario, and displaying the text content of the novel in a bullet screen mode, then displaying the text content at a default position, detecting bullet screen comment content of a user, and clicking a bullet screen link displayed in an interactive novel interface; the characterization form of the target bullet screen comprises at least one of the following: pictures, text, video, and voice.
In the embodiment of the application, a user can display a picture barrage corresponding to a character name by clicking the character name, can also display the text content of the novel corresponding to the first plot node of the plot associated with the current dialog plot in the man-machine conversation process, and can also acquire and send the barrage in the interactive novel. The diversity of the man-machine interaction content enables users to have better reading experience in novel reading.
In one possible embodiment, the content information of the target barrage includes names of people appearing in the target interactive novel; the triggering condition of the target bullet screen comprises the name of a person appearing in the clicked target interactive novel; the representation form of the target bullet screen comprises a single picture, and the image information of the single picture is a preset head portrait of the person name; sending an indication message to the terminal device, including: sending an indication message carrying a single picture to the terminal equipment; or sending an indication message carrying a target identifier to the terminal device, wherein the target identifier is used for indicating a single picture prestored in the target interaction novel of the terminal device.
In the embodiment of the application, the server triggers sending of an indication message carrying a single picture or a target identifier for indicating the single picture prestored in the target interactive novel to the terminal device according to clicking of the user on the name of the figure on the interactive novel interface. By adopting the method, the user can understand the image of the novel character in the novel reading, so that more imagination of the associated plot of the character is realized, and the reading experience of the user is improved.
In a possible embodiment, before sending the indication message to the terminal device, the method further includes: receiving a user click event from terminal equipment, wherein the user click event is used for indicating click operation aiming at a character name appearing in a target interactive novel; responding to the user click event, inquiring an event set, and acquiring a target response strategy corresponding to the user click event, wherein the target response strategy is a sending indication message, and the event set comprises a corresponding relation between the event and the response strategy.
In the embodiment of the application, when a user clicks a character name, a server queries an event set according to a user click event to obtain a target response strategy corresponding to the click event, wherein the target response strategy is a sending indication message. By adopting the method, the server responds to the strategy corresponding to the operation when the user performs different operations, and the intelligence of man-machine interaction is improved.
In a possible embodiment, the single picture is displayed in the interactive novel interface of the terminal device in a bullet screen mode, and the display process is that the position of the character name appearing in the target interactive novel is displayed in a floating mode for a preset time length.
In the embodiment of the application, after the user clicks the name of the person, the single picture is displayed in a floating manner in a bullet screen mode for a preset time length on the name of the person in the interactive novel interface of the terminal device. By adopting the method, the display of the figure picture is simple, the page jump is not generated, and the reading experience of the user is improved.
In a possible embodiment, the time end point of the preset duration is a time node at which a statement or operation of the user is detected, or a time node at which updating of the text content of the currently displayed novel is started.
In the embodiment of the application, whether the character picture is continuously displayed or not is judged by detecting the sentence or the operation of the user, so that the defect that the character picture is displayed for a fixed time can be avoided, the reading habits of different users can be adapted, and the reading experience is improved.
In one possible embodiment, the content information of the target barrage includes user comments; the triggering condition of the target barrage comprises an instruction for executing the output barrage operation additionally contained in the machine output content of the currently processed man-machine dialogue scenario in the man-machine dialogue scenario; sending an indication message to the terminal device, including: and sending an indication message carrying the user comment to the terminal equipment.
In the embodiment of the application, for a scenario node with a barrage, the barrage of the scenario node can be displayed. By adopting the method, the communication between the novel reading of different users can be realized.
In one feasible embodiment, the user comment is a target comment screened from a plurality of candidate comments, and the plurality of candidate comments are personalized comments uploaded by a plurality of users for the currently processed human-computer conversation plot; the screening operation comprises the following steps: obtaining the voted quantity of each candidate comment in the plurality of candidate comments, wherein the voted quantity represents the number of times that the current candidate comment is voted and approved by other users; and taking the candidate comment with the largest voted number in the candidate comments as a target comment; sending an indication message to the terminal device, including: and sending an indication message carrying the target comment to the terminal equipment.
In the embodiment of the application, under the condition that a plurality of comments exist, the target comment is screened out from the plurality of comments through the user vote number and is displayed as a bullet screen. Therefore, the user can directly see the comments which the user wants to see after opening the comments, and the interference of a plurality of comments irrelevant to the novel plot on the user in the novel reading process is avoided.
In a second aspect, an embodiment of the present application provides a processing apparatus for barrage in interactive novels, which is applied to a server of a novels interactive system, where the novels interactive system includes the server and a terminal device for reading novels interactively by a user, where the server includes a dedicated man-machine conversation engine, a man-machine conversation logic of the dedicated man-machine conversation engine is given by a man-machine conversation scenario of a target interactive novels, the man-machine conversation scenario includes multiple man-machine conversation scenarios, a single man-machine conversation scenario includes a machine output content and a user expected input content, and the machine output content includes an output machine statement and an output fiction content; the device comprises:
the calling unit is used for calling the special man-machine conversation engine to perform man-machine interaction with a user of the terminal equipment according to the man-machine conversation script;
and the sending unit is used for sending an indication message to the terminal equipment in the man-machine interaction process, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other and perform communication between them, the memory stores executable program codes, the communication interface is used for performing wireless communication, and the processor is used to retrieve the executable program codes stored in the memory and perform, for example, some or all of the steps described in any of the methods in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program data is stored, and when the program data is executed by a processor, the program data is used to execute the program data to implement part or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
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 structural diagram of a novel interactive system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for processing a bullet screen in an interactive novel according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a character picture display provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an interactive novel interface display provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a bullet screen display according to an embodiment of the present application;
fig. 6a is a block diagram illustrating functional units of a processing apparatus for a barrage in an interactive novel according to an embodiment of the present disclosure;
fig. 6b is a block diagram illustrating functional units of a processing apparatus for a bullet screen in another interactive novel according to an embodiment of the present disclosure;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps is not limited to only those steps recited, but may alternatively include other steps not recited, or may alternatively include other steps inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
First, a system architecture according to an embodiment of the present application will be described.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a novel interactive system according to an embodiment of the present disclosure, and as shown in fig. 1, the transaction system includes a novel interactive server and a user terminal device. The novel interactive server comprises a knowledge base and a special man-machine conversation engine, wherein the knowledge base is used for storing a man-machine conversation script, the special man-machine conversation engine is used for performing man-machine interaction with user terminal equipment according to the man-machine conversation script, and the user terminal equipment is used for displaying an interactive novel interface.
The operation engineering of the live broadcast system is specifically as follows: the user carries out a series of triggering operations of the target barrage on the user terminal equipment, and the novel interactive server sends an indication message for indicating the target barrage to the user terminal equipment according to the triggering operations of the user on the target barrage.
Based on this, the embodiment of the present application provides a method for processing a barrage in an interactive novel, and the following describes the embodiment of the present application in detail with reference to the accompanying drawings.
Please refer to fig. 2, fig. 2 is a schematic flowchart of a processing method of a barrage in an interactive novel according to an embodiment of the present application, where the processing method of the barrage in the interactive novel is applied to a server of a novel interactive system, the novel interactive system includes the server and a terminal device for a user to perform novel interactive reading, where the server includes a dedicated man-machine conversation engine, and man-machine conversation logic of the dedicated man-machine conversation engine is given by a man-machine conversation script of a target interactive novel. As shown in fig. 2, the method comprises the steps of:
step 201, calling a special human-computer conversation engine to perform human-computer interaction with a user of the terminal equipment according to the human-computer conversation script.
The human-computer dialogue script comprises a plurality of human-computer dialogue episodes, a single human-computer dialogue episode comprises machine output contents and user expected input contents, and the machine output contents comprise output machine sentences and output novel text contents.
Specifically, the single human-computer dialogue scenario comprises a machine response strategy, a skip condition and a scenario skip identifier, the machine response strategy comprises an output machine statement and an output novel text content, the skip condition comprises a triple representing the semantics of an expected user input statement, the triple comprises a first entity, a second entity and an incidence relation between the first entity and the second entity, the incidence relation comprises a semantic relation or a grammatical relation, and the scenario skip identifier is used for indicating the human-computer dialogue scenario to which skipping is required under the condition that the skip condition of the current scenario is met.
The triples are constructed by one or more semantic/grammatical relations, one triples are formed by one or more semantic/grammatical relations in sentences and knowledge nodes connected to two ends of the semantic/grammatical relations, and the knowledge nodes comprise words, phrases or entities and the like. The representation of the triplet may be in the form of { r (x, y) }, where x represents a knowledge node at one end of the triplet, y represents a knowledge node at the other end of the triplet, and r represents a semantic/syntactic relationship between knowledge node x and knowledge node y. There may be more than two knowledge nodes in a sentence, and multiple semantic/syntactic relationships, and thus, there may be multiple triples in a sentence.
After the novel is changed from a paper novel to an electronic novel, the reading medium of the user is changed from a paper book to various electronic terminal devices, such as a mobile phone, a tablet and the like. The user can directly switch the novel scenario on the interactive novel interface in reading the novel, but the difference between the user and the reading of the paper novel is not large, so that the electronic novel is inevitably boring in reading. In the application, the novel interactive server can perform man-machine interaction with the user according to the man-machine interactive script through the special man-machine conversation engine, and the user can perform man-machine conversation with the terminal device in the reading process, so that other functions except novel reading are realized, such as bullet screen sending, introduction of brief description of a plot and the like, and the user can not appear single and boring in the reading process.
Step 202, in the process of man-machine interaction, sending an indication message to the terminal device, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal device.
In specific implementation, after receiving the indication message, the terminal device displays a target barrage on its own interactive novel interface.
After the electronic novel is integrated into the barrage, the communication between the user and other users becomes convenient, and the barrage can realize a plurality of other functions such as annotation of keywords and the like besides the user communication.
In one possible embodiment, the content information of the target bullet screen includes any one of the following: the method comprises the following steps that character names appearing in a target interactive novel, brief introduction information of a story line associated with a current man-machine conversation plot, text contents of the novel associated with the current man-machine conversation plot, user comments and all barrage contents associated with a currently processed plot node;
the triggering condition of the target bullet screen comprises any one of the following conditions: clicking a character name appearing in a target interactive novel, jumping to a first plot node of a plot associated with a current man-machine conversation plot, executing an instruction of outputting a bullet screen operation additionally contained in machine output content of the man-machine conversation plot currently processed in a man-machine conversation scenario, and displaying a display strategy of the text content of the novel in a bullet screen mode firstly and then displaying at a default position, detecting bullet screen comment content of a user, and clicking a bullet screen link displayed in an interactive novel interface; the characteristic form of the target bullet screen comprises at least one of the following: pictures, text, video, and voice.
When the user performs the man-machine interaction of the interactive novel, multiple man-machine interaction forms exist, for example, the name of a person appearing in the interactive novel is clicked, at this time, a target bullet screen with bullet screen content being a picture of the name of the person appearing in the target interactive novel is displayed, or bullet screen content corresponding to a link is displayed by clicking a bullet screen link displayed in an interactive novel interface, such as a picture bullet screen or a video bullet screen. And more man-machine interaction plots can be realized by adding man-machine interactive drama originals.
The content information of the target bullet screen and the trigger condition have a certain corresponding relationship, which may specifically be:
if the content information of the target barrage comprises the names of the people appearing in the target interactive novel, the triggering condition of the target barrage comprises clicking the names of the people appearing in the target interactive novel.
If the content information of the target barrage comprises the profile information of the story line associated with the current man-machine conversation story, the triggering condition of the target barrage comprises jumping to the first story node of the story line associated with the current man-machine conversation story, or executing an instruction of an output barrage operation additionally contained in the machine output content of the man-machine conversation story currently processed in the man-machine conversation story line.
And if the content information of the target bullet screen comprises the text content of the novel associated with the current man-machine conversation plot, the triggering condition of the target bullet screen comprises that the display strategy of the text content of the novel is firstly displayed in a bullet screen mode and then displayed at a default position.
If the content information of the target barrage comprises user comments, the trigger condition of the target barrage comprises detecting the barrage comment content of the user, or executing an instruction of barrage output operation additionally contained in the machine output content of the currently processed man-machine conversation scenario in the man-machine conversation scenario.
If the content information of the target barrage comprises all barrage contents associated with the currently processed plot node, the triggering condition of the target barrage comprises clicking a barrage link displayed in the interactive novel interface.
In the embodiment of the application, a user can display a picture barrage corresponding to a character name by clicking the character name, can also display the text content of the novel corresponding to the first plot node of the plot associated with the current conversation plot in the man-machine conversation process, and can also acquire and send the barrage in the interactive novel. The diversity of the man-machine interaction content enables users to have better reading experience in novel reading.
They are explained below:
in one possible embodiment, the content information of the target barrage includes names of people appearing in the target interactive novel; the triggering condition of the target bullet screen comprises the name of a person appearing in the clicked target interactive novel; the representation form of the target bullet screen comprises a single picture, and the image information of the single picture is a preset head portrait of the name of a person; sending an indication message to the terminal device, including: sending an indication message carrying a single picture to the terminal equipment; or sending an indication message carrying a target identifier to the terminal device, wherein the target identifier is used for indicating a single picture prestored in the target interaction novel of the terminal device.
The novel story writer can figure characters in the story in the process of publishing the story, so that a user can perform a series of imagination according to the characters in reading. The user can also shape the character image according to the understanding of the character in the novel reading process. The image of the character is mainly embodied according to the form of the character picture, when a user clicks the name of the character, the server sends an indication message carrying the character picture to the terminal device, or sends a target identifier corresponding to the character picture uploaded by a novel author or the user and stored in a target interactive novel, so that the character picture can be displayed on the terminal device.
In the embodiment of the application, the server triggers sending of an indication message carrying a single picture or a target identifier for indicating the single picture prestored in the target interactive novel to the terminal device according to clicking of a user on a character name on the interactive novel interface. By adopting the method, the user can understand the image of the fiction character in the fiction reading, so that more imagination of the associated plot of the character is realized, and the reading experience of the user is improved.
In a possible embodiment, before sending the indication message to the terminal device, the method further includes: receiving a user click event from terminal equipment, wherein the user click event is used for indicating click operation aiming at a character name appearing in a target interactive novel; responding to the user click event, inquiring an event set, and acquiring a target response strategy corresponding to the user click event, wherein the target response strategy is a sending indication message, and the event set comprises a corresponding relation between the event and the response strategy.
In the novel, a plurality of characters generally exist, but the characters of each character are different, so that corresponding response strategies exist when different character names are clicked, and the character pictures popped up when a user clicks different character names are the character pictures of the characters corresponding to the characters. Besides, many operations different from the name of the click person exist in the human-computer interaction process, and the operations can also be recorded in the event set, and when the user performs the operation different from the name of the click person, the user also responds to the operation, queries the event set and acquires a target response strategy corresponding to the operation.
In the embodiment of the application, when a user clicks a name of a person, a server queries an event set according to a user click event to obtain a target response strategy corresponding to the click event, wherein the target response strategy is a sending indication message. By adopting the method, the server can obtain the strategy corresponding to the operation when the user performs different operations, and the intelligence of man-machine interaction is improved.
In a possible embodiment, the single picture is displayed in the interactive novel interface of the terminal device in a bullet screen mode, and the display process is that the position of the character name appearing in the target interactive novel is displayed in a floating mode for a preset time length.
The user clicks the character name in the target interactive novel, and after the server responds, the character picture corresponding to the character name with preset duration is displayed in a floating mode at the position of the character name. Referring to fig. 3, fig. 3 is a schematic structural diagram of a character picture display according to an embodiment of the present disclosure, as shown in fig. 3, fig. 3 includes a first interactive novel interface 30, where the first interactive novel interface 30 includes a character name 301, and when a user clicks on the character name 301, a character picture 302 is displayed at the position of the character name 301.
In the embodiment of the application, after the user clicks the name of the person, the single picture is displayed in a floating manner in a bullet screen mode for a preset time length on the name of the person in the interactive novel interface of the terminal device. By adopting the method, the display of the figure picture is simple, the page jump is not generated, and the reading experience of the user is improved.
In a possible embodiment, the time end point of the preset duration is a time node at which a statement or operation of the user is detected, or a time node at which updating of the text content of the currently displayed novel is started.
If the display time of the character picture is a fixed time, the short display time affects the user's appreciation of the character picture, and the long display time affects the user's reading of the novel and other operations.
In the embodiment of the application, whether the character pictures are continuously displayed or not is judged by detecting the sentences or the operations of the users, so that the defect that the character pictures are displayed for a fixed time can be avoided, the reading habits of different users can be adapted, and the reading experience is improved.
In one possible embodiment, the content information of the target barrage includes user comments; the triggering condition of the target barrage comprises an instruction for executing output barrage operation additionally contained in the machine output content of the currently processed man-machine conversation scenario in the man-machine conversation scenario; sending an indication message to the terminal device, including: and sending an indication message carrying the user comment to the terminal equipment.
And if the bullet screen exists in the current scenario, the bullet screen existing in the current scenario can be displayed.
In the embodiment of the application, for a scenario node with a barrage, the barrage of the scenario node can be displayed. By adopting the method, the communication between the novel reading of different users can be realized.
In one feasible embodiment, the user comment is a target comment screened from a plurality of candidate comments, and the plurality of candidate comments are personalized comments uploaded by a plurality of users for the currently processed human-computer conversation plot; the screening operation comprises the following steps: obtaining the voted quantity of each candidate comment in the candidate comments, wherein the voted quantity represents the number of times that the current candidate comment is voted and approved by other users; and taking the candidate comment with the largest voted number in the candidate comments as a target comment; sending an indication message to the terminal device, including: and sending an indication message carrying the target comment to the terminal equipment.
When a plurality of comments exist, because a plurality of comments irrelevant to the novel plot may exist in the plurality of comments, if the plurality of comments are directly displayed, the comments irrelevant to the novel plot will be prevented from being displayed in the front row to read the novel for the user. Therefore, in the embodiment, before the multiple comments are displayed, the most valuable comments are screened out from the multiple comments, when the user publishes the comments, other users vote for the comments, and then the screening operation is to screen out the comment with the largest voting number of comments as the target comment and display the target comment in a pop-up screen.
In addition, the vote may be a vote casting or a vote negation, and the number of votes is then the number of votes casting off the number of votes negating. And for the target user, if the target user throws an objection vote to the displayed target comment, the target comment is not allowed to be displayed for the target user, and the comment with the largest voting number is screened out from other candidate comments except the target comment to be used as a new target comment for bullet screen display.
In the embodiment of the application, under the condition that a plurality of comments exist, the target comment is screened out from the plurality of comments through the user vote number and is displayed as a bullet screen. Therefore, the user can directly see the comments which the user wants to see after opening the comments, and the interference of a plurality of comments irrelevant to the novel plot on the user in the novel reading process is avoided.
In a possible embodiment, the content information of the target barrage includes all barrage contents associated with the currently processed plot node, and the trigger condition of the target barrage includes clicking a barrage link displayed in the interactive novel interface; sending an indication message to the terminal device, including: and sending an indication message carrying all the bullet screen contents associated with the currently processed plot node to the terminal equipment.
All the bullet screen contents in the novel scenario node during man-machine conversation can be displayed in a bullet screen link mode, and when a user clicks the bullet screen link, the corresponding bullet screen contents can be skipped. And the user does not influence the user to continue the man-machine conversation when the user looks at the barrage.
Exemplarily, if all associated barrage contents in a currently-performed scenario node include two pictures and two text comments, and the currently-performed scenario node includes four human-computer conversation scenario nodes, a dedicated human-computer conversation engine in the server synchronously outputs the two pictures and the two text comments in a process of performing the four human-computer conversation scenario nodes with a user of the terminal device. Therefore, the user can smoothly use the man-machine conversation function, and meanwhile, the related barrage content of the current plot node can be continuously checked, so that the comprehensiveness and flexibility of the interactive novel use are improved.
For example, please refer to fig. 4, fig. 4 is a schematic structural diagram of an interactive novel interface display provided in an embodiment of the present application, as shown in fig. 4, fig. 4 includes a second interactive novel interface 40 and a third interactive novel interface 41, where the second interactive novel interface 40 includes a barrage link 401, and when a user clicks the barrage link 401, all the barrages of the scenario node are displayed, as shown by the barrage content 411 in the third interactive novel interface 41. And the display of the bullet screen does not influence the proceeding of man-machine conversation.
In the embodiment of the application, in the process of performing the man-machine conversation, if the currently processed scenario node includes a plurality of man-machine conversation scenario nodes and the current scenario node has a plurality of barrages, the user can still synchronously output the plurality of barrages existing in the current scenario node in the process of performing the plurality of man-machine conversation scenario nodes. The user can smoothly use the man-machine conversation function, and meanwhile, the related barrage content of the current plot node can be continuously checked, so that the comprehensiveness and flexibility of the interactive novel use are improved.
In a possible embodiment, the content information of the target barrage includes user comments, and the trigger condition of the target barrage includes detecting barrage comment content of the user; sending an indication message to the terminal device, including: and sending an indication message carrying the user comment to the terminal equipment.
When the man-machine conversation process is carried out, detecting that the statement input by the user of the terminal equipment carries the statement of the barrage comment content, and taking the statement as the user comment to carry out barrage display. This embodiment does not require the user to perform deliberate bullet screen delivery, but rather can be accomplished during the man-machine interaction.
Illustratively, if the current scenario node dialog content is: "white discharge: battle teaching: if a skill is used, please say the name of the skill; you have learned skills 'water to canal' and 'gold and jade filling the hall', "user: the skill feels very strong when the 'water arrival canal becomes' bar ', it can be seen that, in the human-computer conversation sentence of the user of the terminal device, besides the corresponding nearby reply' water arrival canal becomes ', the skill feels very strong', the 'skill feels very strong' can belong to the user barrage comment content, and the server can display the content in the form of a barrage after detecting the content. Therefore, the bullet screen can be conveniently sent by the user.
In one possible embodiment, the user comment is a target comment masked according to a malicious word, and the malicious word masking includes: the method comprises the following steps of matching keywords of user comments with malicious words in a malicious word bank, replacing target keywords which are successfully matched in the user comments with other preset characters, taking the user comments of the target keywords which are replaced with the other preset characters as target comments, and sending indication messages to terminal equipment, wherein the indication messages comprise: and sending an indication message carrying the target comment to the terminal equipment.
The malicious word bank can be formed by malicious words collected in various word banks, the target comments shielded by the malicious words can be more suitable for users to watch, and the novel reading experience of the users is improved.
In a possible embodiment, before sending the indication message to the terminal device, the method further includes: acquiring first voice information sent by terminal equipment in a human-computer interaction process, determining first text characters corresponding to the first voice information, analyzing the first text characters to obtain first semantic triples, determining whether the first semantic triples are matched with preset user comment semantic triples, and if the first semantic triples are matched with the preset user comment semantic triples; sending an indication message to the terminal device, including: and sending an indication message carrying the user comment to the terminal equipment.
Whether the first semantic triple is matched with the preset user comment semantic triple or not means that the semantic/syntactic relation between the first semantic triple and the preset user comment semantic triple is the same, and the knowledge nodes at the two ends of the first semantic triple belong to the range of the knowledge nodes at the two ends of the preset user comment semantic triple. Illustratively, if the first semantic triple is { shangqi (zhang san, beijing university) }, the preset user comment semantic triple is { shangqi (zhang san + li, beijing university + zhejiang university) }, first, the semantic/syntactic relationship between "shangqi" in the first semantic triple and "shangqi" in the preset user comment semantic triple matches, second, the "zhang san" in the first semantic triple matches the "zhang san" in the preset user comment semantic triple, and the "beijing university" in the first semantic triple matches the "beijing university" in the preset user comment semantic triple, that is, the first semantic triple matches the preset user comment semantic triple. The foregoing examples are provided for the purpose of illustrating embodiments of the present application and are not to be construed as limiting the scope of the present application.
In a possible embodiment, the content information of the target barrage includes profile information of a story line associated with the current man-machine conversation story, and the trigger condition of the target barrage includes a command for jumping to a first story node of the story line associated with the current man-machine conversation story line, or executing an output barrage operation additionally included in machine output content of the man-machine conversation story line currently processed in the man-machine conversation scenario; sending an indication message to the terminal device, including: and sending an indication message carrying the profile information of the story line associated with the current man-machine conversation story to the terminal equipment.
When jumping to the first plot node of the plot associated with the current man-machine conversation plot, the server explains the profile information of the current plot to the user of the terminal equipment, wherein the profile information can comprise the type of the plot, such as illusion, love, and the like, and also comprises the word number of the plot content, the role positioning of the pivot in the plot, and the like. In addition to this, it is also possible to preliminarily display the background of the novel story line or the content of the first plot node of the novel story line. The reason is to enable the user to preliminarily know the storyline, so that the user can judge whether the storyline belongs to the favorite storyline type according to the profile information of the storyline before the interactive novel is read, and the user can conveniently and quickly select the favorite interactive novel.
In a feasible embodiment, the content information of the target bullet screen comprises the text content of the novel associated with the current man-machine conversation plot, and the triggering condition of the target bullet screen comprises that the display strategy of the text content of the novel is firstly displayed in a bullet screen mode and then displayed at a default position; sending an indication message to the terminal device, including: and sending an indication message carrying the novel text content associated with the current man-machine conversation plot to the terminal equipment.
After a user of the terminal equipment selects a current man-machine conversation scenario, the server displays the text content of the novel associated with the scenario corresponding to the selection made by the user in a bullet screen mode and then displays the text content at a default position. This is so that the content display is not obtrusive, and the interactivity of the novel is also presented to the user of the terminal device.
In a possible embodiment, before sending the indication message to the terminal device, the method further includes: determining whether the representation form of the target bullet screen is characters or voice; if the representation form of the target barrage is characters, determining a first proportion of the target barrage in the interactive fiction interface and at least one blank position in the fiction interactive page to at least one second proportion of the interactive fiction interface, if at least one third proportion higher than the first proportion exists in the at least one second proportion, determining a blank position, closest to the machine output content in the single man-machine dialogue plot, in the at least one blank position corresponding to the at least one third proportion in the interactive fiction interface as a target position, and if at least one third proportion higher than the first proportion does not exist in the at least one second proportion, determining a blank position corresponding to the highest proportion in the at least one second proportion as the target position.
If the representation form of the target barrage is voice, determining a blank position closest to machine output content in a single man-machine conversation plot in the interactive novel interface as a target position; the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment, and comprises the following steps: the indication message is used for indicating the target position of the interactive novel interface of the terminal equipment to output a target barrage; wherein the blank locations are used to characterize locations in the interactive novel interface where machine output content may be displayed but not displayed.
Wherein, if the barrage directly shows on the machine output content in interactive novel interface and probably influences the reading of user to the novel, therefore this application embodiment is through detecting the blank position in the current interactive novel interface, through utilizing the blank position to carry out the demonstration of barrage. And to characters bullet screen and pronunciation bullet screen, the shared page proportion size of characters bullet screen is according to what of bullet screen characters and change, but the shared page proportion of pronunciation bullet screen can be unchangeable always, because pronunciation bullet screen can be a very little pronunciation broadcast button, consequently this application embodiment can carry out the differentiation of characters bullet screen and pronunciation bullet screen when carrying out the bullet screen and showing. Moreover, the picture barrage and the video barrage can be displayed in a storage link mode, namely the picture barrage can be displayed by clicking the storage link of the corresponding picture barrage, so that the picture barrage and the video barrage displayed in the storage link mode can be displayed through the display method of the text barrage in the interactive novel interface in the embodiment.
For example, please refer to fig. 5, fig. 5 is a schematic structural diagram of a bullet screen display provided in an embodiment of the present application, as shown in fig. 5, fig. 5 includes a fourth interactive novel interface 50, where the fourth interactive novel interface 50 includes a first blank position 501, a second blank position 502, a third blank position 503, and a fourth blank position 504, and when a target bullet screen needs to be displayed on the fourth interactive novel interface 50, after the corresponding fourth blank position 504 is selected according to the method shown in the above embodiment, the target bullet screen is displayed on the fourth blank position 504.
In the embodiment of the application, for the bullet screen with the target bullet screen as characters, at least one blank position which is larger than the proportion of the target bullet screen to the page of the interactive new phrase is searched in the interactive new phrase interface, the blank position which is closest to the output content of the machine in the at least one blank position is used as the display position of the target bullet screen, and if the at least one blank position does not exist, the blank position which is the largest proportion of the page in the interactive new phrase interface is used as the display position of the target bullet screen; and for the bullet screen with the voice bullet screen, taking the blank position closest to the output content of the machine in the interactive novel page as the position of the target bullet screen display. By adopting the method, the reading of the user on the novel can not be influenced in the bullet screen display process, and the reading experience of the user is improved.
It can be seen that, in the embodiment of the application, a special human-computer conversation engine is called to perform human-computer interaction with a user of the terminal device according to a human-computer conversation scenario; and in the process of man-machine interaction, sending an indication message to the terminal equipment, wherein the indication message is used for indicating a target barrage in an interactive novel interface of the terminal equipment. By adopting the method, the bullet screen can be sent and obtained in the man-machine interaction process of the user, the interaction intelligence of the bullet screen is improved, and the reading experience is effectively improved.
In accordance with the illustrated embodiment, please refer to fig. 6a, where fig. 6a is a block diagram of functional units of a processing apparatus for barrage in interactive novel provided by an embodiment of the present application, and is applied to a server of a novel interactive system, where the novel interactive system includes the server and a terminal device for users to read novel interactively, where the server includes a dedicated man-machine dialog engine, a man-machine dialog logic of the dedicated man-machine dialog engine is assigned by a man-machine dialog script of a target interactive novel, the man-machine dialog script includes a plurality of man-machine dialog scenarios, a single man-machine dialog scenario includes machine output contents and user-expected input contents, and the machine output contents include output machine statements and output novel text contents. As shown in fig. 6a, the apparatus 60 for processing barrage in interactive novel comprises: the calling unit 601 is used for calling a special man-machine conversation engine to perform man-machine interaction with a user of the terminal equipment according to the man-machine conversation scenario; a sending unit 602, configured to send an indication message to the terminal device in a human-computer interaction process, where the indication message is used to indicate a target barrage in an interactive novel interface of the terminal device.
In one possible embodiment, the content information of the target bullet screen includes any one of the following: the method comprises the following steps of (1) obtaining a name of a character appearing in a target interactive novel, profile information of a story line associated with a current man-machine conversation plot, text contents of the novel associated with the current man-machine conversation plot and all bullet screen contents associated with a plot node which is currently processed by a user comment; the trigger condition of the target bullet screen comprises any one of the following conditions: clicking a character name appearing in a target interactive novel, jumping to a first plot node of a plot associated with a current man-machine conversation plot, executing an instruction of outputting a bullet screen operation additionally contained in machine output content of the man-machine conversation plot currently processed in a man-machine conversation scenario, and displaying the text content of the novel in a bullet screen mode, then displaying the text content at a default position, detecting bullet screen comment content of a user, and clicking a bullet screen link displayed in an interactive novel interface; the characterization form of the target bullet screen comprises at least one of the following: pictures, text, video, and voice.
In one possible embodiment, the content information of the target barrage includes names of people appearing in the target interactive novel; the triggering condition of the target bullet screen comprises the name of a person appearing in the clicked target interactive novel; the representation form of the target bullet screen comprises a single picture, and the image information of the single picture is a preset head portrait of the person name; sending an indication message to the terminal device, including: sending an indication message carrying a single picture to the terminal equipment; or sending an indication message carrying a target identifier to the terminal device, wherein the target identifier is used for indicating a single picture prestored in the target interaction novel of the terminal device.
In a possible embodiment, before sending the indication message to the terminal device, the method further includes: receiving a user click event from terminal equipment, wherein the user click event is used for indicating click operation aiming at a character name appearing in a target interactive novel; responding to the user click event, inquiring an event set, and acquiring a target response strategy corresponding to the user click event, wherein the target response strategy is a sending indication message, and the event set comprises a corresponding relation between the event and the response strategy.
In a possible embodiment, the single picture is displayed in a bullet screen mode in the interactive novel interface of the terminal device, and the display process is to display the position of the name of the person appearing in the target interactive novel in a floating mode for a preset time.
In a possible embodiment, the time end point of the preset duration is a time node at which a statement or operation of the user is detected, or a time node at which updating of the text content of the currently displayed novel is started.
In one possible embodiment, the content information of the target barrage comprises user comments; the triggering condition of the target barrage comprises an instruction for executing output barrage operation additionally contained in the machine output content of the currently processed man-machine conversation scenario in the man-machine conversation scenario; sending an indication message to the terminal device, including: and sending an indication message carrying the user comment to the terminal equipment.
In one feasible embodiment, the user comment is a target comment screened from a plurality of candidate comments, and the plurality of candidate comments are personalized comments uploaded by a plurality of users for the currently processed human-computer conversation plot; the screening operation comprises the following steps: obtaining the voted quantity of each candidate comment in the plurality of candidate comments, wherein the voted quantity represents the number of times that the current candidate comment is voted and approved by other users; and taking the candidate comment with the largest voted number in the candidate comments as a target comment; sending an indication message to the terminal device, including: and sending an indication message carrying the target comment to the terminal equipment.
It can be understood that, since the method embodiment and the apparatus embodiment are different presentation forms of the same technical concept, the content of the method embodiment portion in the present application should be synchronously adapted to the apparatus embodiment portion, and is not described herein again.
In the case of using an integrated unit, as shown in fig. 6b, fig. 6b is a block diagram of functional units of a processing apparatus for bullet screens in another interactive novel provided in this application. In fig. 6b, the apparatus 61 for processing barrage in interactive novel comprises: a processing module 612 and a communication module 611. The processing module 612 is used for controlling and managing actions of a processing device of the barrage in the interactive novel, for example, steps of the calling unit 601 and the sending unit 602, and/or other processes for executing the technology described herein. The communication module 611 is used for supporting the interaction between the processing device of the barrage in the interactive novel and other devices. As shown in fig. 6b, the processing device 61 for bullet screens in the interactive novel may further comprise a storage module 613, and the storage module 613 is used for storing the program codes and data of the processing device for bullet screens in the interactive novel.
The Processing module 612 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 611 may be a transceiver, an RF circuit or a communication interface, etc. The storage module 613 may be a memory.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again. The processing device 61 for the interactive novel can execute the method for processing the interactive novel shown in fig. 2.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are generated in whole or in part when a computer instruction or a computer program is loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire or wirelessly. Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that contains one or more collections of available media. The available media may be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., DVD), or semiconductor media. The semiconductor medium may be a solid state disk.
Fig. 7 is a block diagram of an electronic device according to an embodiment of the present application. As shown in fig. 7, electronic device 700 may include one or more of the following components: a processor 701, a memory 702 coupled to the processor 701, wherein the memory 702 may store one or more computer programs that may be configured to implement the methods described in the embodiments above when executed by the one or more processors 701. The electronic device 700 may be the novel interactive server.
Processor 701 may include one or more processing cores. The processor 701 interfaces with various components throughout the electronic device 700 using various interfaces and circuitry to perform various functions of the electronic device 700 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 702 and invoking data stored in the memory 702. Alternatively, the processor 701 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 701 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a passenger interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the above modem may not be integrated into the processor 701, and may be implemented by a communication chip.
The Memory 702 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). The memory 702 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created during use by the electronic device 700, and the like.
It is understood that the electronic device 700 may include more or less structural elements than those shown in the above structural block diagrams, for example, a power module, a physical button, a WiFi (Wireless Fidelity) module, a speaker, a bluetooth module, a sensor, etc., which are not limited herein.
The embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores program data, and when the program data is executed by a processor, the program data is configured to perform part or all of the steps of the method for processing a barrage in any one of the interactive novels described in the above method embodiments.
Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to execute some or all of the steps of a method for processing a bullet screen in any one of the interactive novels described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a receiving end and/or a sending end.
It should be noted that, for the sake of simplicity, any method embodiment of the method for processing a bullet screen in an interactive novel is described as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the described action sequence, as some steps may be performed in other sequences or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Those skilled in the art will appreciate that all or part of the steps in the various methods of the method embodiments of the method for processing a bullet screen in any one of the interactive novels described above may be implemented by a program instructing associated hardware, where the program may be stored in a computer-readable memory, and the memory may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments of the present application are described in detail, and the principles and implementations of the method and apparatus for processing a bullet screen in an interactive novel are explained herein by using specific examples, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the method and the apparatus for processing a bullet screen in an interactive novel, the specific implementation and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, hardware products and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be appreciated that any products of the processes of the flowcharts described in the method embodiments for controlling or configured to perform the methods of processing a bullet screen in an interactive novel of the present application, such as the terminals and computer program products of the flowcharts described above, are within the scope of the related products described herein.
It is apparent that those skilled in the art can make various changes and modifications to the method and apparatus for processing bullet screens in interactive novels provided in the present application without departing from the spirit and scope of the present application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (7)

1. The method for processing the barrage in the interactive novel is characterized by being applied to a server of a novel interactive system, wherein the novel interactive system comprises the server and terminal equipment for reading the novel interactive system by a user, the server comprises a special man-machine conversation engine, man-machine conversation logic of the special man-machine conversation engine is endowed by a man-machine conversation script of a target interactive novel, the man-machine conversation script comprises a plurality of man-machine conversation plots, and a single man-machine conversation plot comprises machine output content and user expected input content; the method comprises the following steps:
calling the special human-computer dialogue engine to perform human-computer interaction with the user of the terminal equipment according to the human-computer dialogue script;
obtaining a target barrage related to the man-machine conversation scenario, wherein the content information of the target barrage comprises profile information of a story line associated with a current man-machine conversation scenario, and the profile information comprises at least one of the following: the type of the story line, the number of words of the story line, and the role orientation of the pivot in the story line;
determining a representation form of the target bullet screen;
if the representation form of the target bullet screen is at least one of characters, pictures or videos, determining a first proportion of the target bullet screen in an interactive novel interface and at least one second proportion of at least one blank position in the interactive novel interface, wherein the pictures and the videos are displayed in a storage link mode, and the pictures or the videos can be displayed by clicking the storage link corresponding to the pictures or the videos;
if at least one third proportion higher than the first proportion exists in the at least one second proportion and the at least one third proportion comprises a plurality of third proportions, determining a blank position closest to a target content display area in a plurality of blank positions respectively corresponding to the plurality of third proportions as the target position, wherein the target content display area is a display area of target machine output content, the target machine output content is machine output content corresponding to a trigger condition of the target barrage, and the machine output content corresponding to the trigger condition comprises fiction text content of a first plot node of a plot associated with a current man-machine interaction plot;
if a plurality of third proportions higher than the first proportion do not exist in the at least one second proportion, determining a blank position corresponding to a proportion with the highest value in the at least one second proportion as the target position;
if the representation form of the target bullet screen is voice, determining at least one blank position in the interactive novel interface;
if the at least one blank position comprises a plurality of blank positions, determining a blank position which is closest to the target content display area in the plurality of blank positions as the target position;
if the at least one blank position comprises a single blank position, determining the single blank position as the target position;
and in the process of the man-machine interaction, sending an indication message to the terminal equipment, wherein the indication message is used for indicating the target position in the interactive novel interface of the terminal equipment to output the target bullet screen.
2. The method according to claim 1, wherein the representation form of the target bullet screen comprises a single picture, and the image information of the single picture is a preset avatar of a person name;
the sending the indication message to the terminal device includes:
sending an indication message carrying the single picture to the terminal equipment; alternatively, the first and second electrodes may be,
and sending an indication message carrying a target identifier to the terminal equipment, wherein the target identifier is used for indicating the single picture prestored in the target interaction novel of the terminal equipment.
3. The method according to claim 2, wherein the single picture is displayed in a pop-up screen in an interactive novel interface of the terminal device, and the display process is to float and display the position of the character name appearing in the target interactive novel for a preset time.
4. The method according to claim 3, wherein the time end point of the preset duration is a time node at which the statement or operation of the user is detected, or a time node at which updating of the currently displayed novel text content is started.
5. The method of claim 1, wherein the single human-machine dialog scenario further comprises a jump condition and a scenario jump identifier, wherein the jump condition comprises a triple of semantics of an expected user input statement, wherein the triple comprises a first entity, a second entity and an association relationship between the first entity and the second entity, wherein the association relationship comprises a semantic relationship or a grammatical relationship, and wherein the scenario jump identifier is used for indicating the human-machine dialog scenario to which a jump is required under the condition that the jump condition of the current scenario is satisfied.
6. The processing device of the barrage in the interactive novel is characterized by being applied to a server of a novel interactive system, wherein the novel interactive system comprises the server and terminal equipment for users to read the novel interactive system, the server comprises a special man-machine conversation engine, man-machine conversation logic of the special man-machine conversation engine is endowed by a man-machine conversation script of a target interactive novel, the man-machine conversation script comprises a plurality of man-machine conversation plots, and a single man-machine conversation plot comprises machine output content and user expected input content; the device comprises:
the calling unit is used for calling the special human-computer dialogue engine to perform human-computer interaction with a user of the terminal equipment according to the human-computer dialogue script;
an obtaining unit, configured to obtain a target barrage related to the human-computer dialog script, where content information of the target barrage includes profile information of a story line associated with a current human-computer dialog line, and the profile information includes at least one of: the type of the storyline, the number of words of the storyline, and the role positioning of the hero in the storyline;
the determining unit is used for determining the representation form of the target bullet screen;
if the representation form of the target bullet screen is at least one of characters, pictures or videos, determining a first proportion of the target bullet screen in an interactive novel interface and at least one second proportion of at least one blank position in the interactive novel interface, wherein the pictures and the videos are displayed in a storage link mode, and the pictures or the videos can be displayed by clicking the storage link corresponding to the pictures or the videos;
if at least one third proportion higher than the first proportion exists in the at least one second proportion and the at least one third proportion comprises a plurality of third proportions, determining a blank position which is closest to a target content display area in a plurality of blank positions respectively corresponding to the third proportions as the target position, wherein the target content display area is a display area of target machine output content, the target machine output content is machine output content corresponding to a trigger condition of the target barrage, and the machine output content corresponding to the trigger condition comprises novel text content of a first plot node of a plot associated with a current man-machine conversation plot;
if a plurality of third proportions higher than the first proportion do not exist in the at least one second proportion, determining a blank position corresponding to a proportion with the highest value in the at least one second proportion as the target position;
if the representation form of the target bullet screen is voice, determining at least one blank position in the interactive novel interface;
if the at least one blank position comprises a plurality of blank positions, determining a blank position which is closest to the target content display area in the plurality of blank positions as the target position;
if the at least one blank position comprises a single blank position, determining the single blank position as the target position;
and the sending unit is used for sending an indication message to the terminal equipment in the process of the man-machine interaction, wherein the indication message is used for indicating the target position in the interactive novel interface of the terminal equipment to output the target bullet screen.
7. An electronic device, the device comprising:
the system comprises a processor, a memory and a communication interface, wherein the processor, the memory and the communication interface are connected with each other and complete the communication work among the processors;
the memory having stored thereon executable program code, the communication interface for wireless communication;
the processor is configured to retrieve the executable program code stored on the memory and execute the method of any of claims 1-5.
CN202211140727.0A 2022-09-20 2022-09-20 Method and device for processing barrage in interactive novel Active CN115237301B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211140727.0A CN115237301B (en) 2022-09-20 2022-09-20 Method and device for processing barrage in interactive novel
PCT/CN2023/083909 WO2024060559A1 (en) 2022-09-20 2023-03-25 Method and apparatus for processing bullet chats in interactive fiction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211140727.0A CN115237301B (en) 2022-09-20 2022-09-20 Method and device for processing barrage in interactive novel

Publications (2)

Publication Number Publication Date
CN115237301A CN115237301A (en) 2022-10-25
CN115237301B true CN115237301B (en) 2022-12-20

Family

ID=83680709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211140727.0A Active CN115237301B (en) 2022-09-20 2022-09-20 Method and device for processing barrage in interactive novel

Country Status (2)

Country Link
CN (1) CN115237301B (en)
WO (1) WO2024060559A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237301B (en) * 2022-09-20 2022-12-20 深圳市人马互动科技有限公司 Method and device for processing barrage in interactive novel
CN116089728B (en) * 2023-03-23 2023-06-20 深圳市人马互动科技有限公司 Method and related device for generating voice interaction novel for children

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322788A (en) * 2018-02-09 2018-07-24 武汉斗鱼网络科技有限公司 Advertisement demonstration method and device in a kind of net cast
CN110113636A (en) * 2019-04-28 2019-08-09 维沃移动通信有限公司 Barrage display methods, barrage method for pushing, terminal device and server
CN113766336A (en) * 2020-06-04 2021-12-07 腾讯科技(深圳)有限公司 Video playing control method and device
CN114385049A (en) * 2021-12-09 2022-04-22 维沃移动通信有限公司 Message processing method, device, equipment and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10424293B1 (en) * 2015-07-21 2019-09-24 Amazon Technologies, Inc. Using audio input and output to interact with text-based interactive content
US10481904B1 (en) * 2016-06-14 2019-11-19 Open Invention Network Llc Comment data interaction and updating among input data received for a shared application
CN106294293B (en) * 2016-07-21 2019-10-18 北京乐动卓越科技有限公司 It is a kind of realize interactive electronic read system, method and apparatus
CN107168934B (en) * 2017-05-15 2019-01-25 掌阅科技股份有限公司 E-book plot reminding method, electronic equipment and computer storage medium
CN107181978A (en) * 2017-06-19 2017-09-19 武汉斗鱼网络科技有限公司 A kind of barrage processing method and processing device
CN108924659A (en) * 2018-06-13 2018-11-30 河南趣读信息科技有限公司 A kind of barrage system read in application software for novel
CN109062979A (en) * 2018-07-01 2018-12-21 王晓星 A method of label language realizes interactive multimedia novel
CN109992342A (en) * 2019-03-25 2019-07-09 上海连尚网络科技有限公司 A kind of information display method and equipment based on novel
CN110765395B (en) * 2019-09-23 2023-08-22 上海掌门科技有限公司 Method and equipment for providing novel information
CN111488097A (en) * 2020-04-13 2020-08-04 上海连尚网络科技有限公司 Method and equipment for providing reading presentation information
CN112791393B (en) * 2021-01-26 2023-03-14 腾讯科技(深圳)有限公司 Information processing method, device, equipment and medium
CN113157172A (en) * 2021-03-12 2021-07-23 游艺星际(北京)科技有限公司 Barrage information display method, transmission method, device, terminal and storage medium
CN113986421A (en) * 2021-10-14 2022-01-28 上海呵呵呵文化传播有限公司 Bullet screen display method and device for electronic books
CN115237301B (en) * 2022-09-20 2022-12-20 深圳市人马互动科技有限公司 Method and device for processing barrage in interactive novel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322788A (en) * 2018-02-09 2018-07-24 武汉斗鱼网络科技有限公司 Advertisement demonstration method and device in a kind of net cast
CN110113636A (en) * 2019-04-28 2019-08-09 维沃移动通信有限公司 Barrage display methods, barrage method for pushing, terminal device and server
CN113766336A (en) * 2020-06-04 2021-12-07 腾讯科技(深圳)有限公司 Video playing control method and device
CN114385049A (en) * 2021-12-09 2022-04-22 维沃移动通信有限公司 Message processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2024060559A1 (en) 2024-03-28
CN115237301A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN115237301B (en) Method and device for processing barrage in interactive novel
CN108432190B (en) Response message recommendation method and equipment thereof
CN111970577A (en) Subtitle editing method and device and electronic equipment
CN113421143A (en) Processing method and device for assisting live broadcast and electronic equipment
CN111274777B (en) Thinking guide display method and electronic equipment
US20170330238A1 (en) Multimedia information processing method, apparatus and system, and computer storage medium
CN109558513A (en) A kind of content recommendation method, device, terminal and storage medium
CN107885483B (en) Audio information verification method and device, storage medium and electronic equipment
CN109582882A (en) Search result shows method, apparatus and electronic equipment
CN110475140A (en) Barrage data processing method, device, computer readable storage medium and computer equipment
CN108958503A (en) input method and device
CN112291614A (en) Video generation method and device
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN111401323A (en) Character translation method, device, storage medium and electronic equipment
EP4124025A1 (en) Interaction information processing method and apparatus, electronic device and storage medium
CN106776990B (en) Information processing method and device and electronic equipment
CN113220179A (en) Sidebar display method and device, terminal and storage medium
CN106776634A (en) A kind of method for network access, device and terminal device
US20220207029A1 (en) Systems and methods for pushing content
CN113382109B (en) Short message display method and device, electronic equipment and storage medium
CN113450762A (en) Character reading method, device, terminal and storage medium
KR20230031107A (en) Device and method of generating emotion combiend content
CN107194004B (en) Data processing method and electronic equipment
CN112764553B (en) Chat expression collection method and device and electronic equipment

Legal Events

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