Nothing Special   »   [go: up one dir, main page]

CN110618774A - Progress information generation method and device, electronic device and storage medium - Google Patents

Progress information generation method and device, electronic device and storage medium Download PDF

Info

Publication number
CN110618774A
CN110618774A CN201910875341.6A CN201910875341A CN110618774A CN 110618774 A CN110618774 A CN 110618774A CN 201910875341 A CN201910875341 A CN 201910875341A CN 110618774 A CN110618774 A CN 110618774A
Authority
CN
China
Prior art keywords
node
reading
chapter
original recording
interactive
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.)
Granted
Application number
CN201910875341.6A
Other languages
Chinese (zh)
Other versions
CN110618774B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910875341.6A priority Critical patent/CN110618774B/en
Publication of CN110618774A publication Critical patent/CN110618774A/en
Application granted granted Critical
Publication of CN110618774B publication Critical patent/CN110618774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a progress information generation method, a progress information generation device, an electronic device and a storage medium, wherein the method comprises the following steps: displaying the interactive electronic reading; responding to the reading operation of a target user aiming at the interactive electronic reading material, and generating at least one original recording node; responding to a trigger operation of a target user for an interactive text page, jumping to the interactive text page, and displaying the interactive option selected by the target user in the interactive text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type. By adopting the method and the device, the display mode of the interaction options in the interactive electronic reading materials can be enriched.

Description

Progress information generation method and device, electronic device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a progress information generating method and apparatus, an electronic device, and a storage medium.
Background
Interactive novels refer to literary works that are not read in a linear fashion. In the reading process, the user can have plot options except reading in sequence like a common novel, and the user can enter different plots through different choices. Different options may lead to different scenario developments, and different scenario results.
At present, each time a user opens an interactive novel, a terminal device jumps to a text page when the user leaves the interactive novel for the last time, but the interactive novel comprises a plurality of scenario options, and if the reading progress of the interactive novel is determined only according to the reading offset of the user, the presentation mode of the scenario options in the interactive novel is single.
Disclosure of Invention
The embodiment of the application provides a progress information generation method, a progress information generation device and related equipment, and the display mode of interaction options in an interactive electronic reading material can be enriched.
An aspect of the present application provides a progress information generating method, including:
displaying the interactive electronic reading;
responding to the reading operation of a target user for the interactive electronic reading material, and generating reading progress information of the target user for the interactive electronic reading material; the reading progress information comprises original recording nodes belonging to the interaction type;
responding to a trigger operation of a target user for an interactive text page, jumping to the interactive text page, and displaying the interactive option selected by the target user in the interactive text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
Wherein the generating of the reading progress information of the target user for the interactive electronic reading material in response to the reading operation of the target user for the interactive electronic reading material comprises:
responding to the reading operation of the target user aiming at the interactive electronic reading material, and generating at least one original recording node;
determining a node type of the at least one original recording node;
and combining the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type into the reading progress information.
Wherein, the combining the original recording node belonging to the interaction type and the original recording node belonging to the progress type into the reading progress information includes:
taking the original recording node belonging to the interaction type and the original recording node belonging to the progress type as path nodes;
determining chapters corresponding to the path nodes, and combining the path nodes belonging to the same chapters into chapter reading paths;
acquiring a path array corresponding to the interactive electronic reading material; the path array comprises path array units corresponding to at least one chapter contained in the interactive electronic reading material respectively;
and adding the chapter reading path to the path array unit in the path array according to the chapter corresponding to the chapter reading path and the chapter corresponding to the path array unit, and determining the path array added with the chapter reading path as the reading progress information.
Displaying the interaction option selected by the target user in the interaction text page in a first display mode according to the reading progress information, wherein the displaying comprises:
extracting an original recording node which belongs to the interaction type and corresponds to the interactive text page from the reading progress information to be used as a target interaction node;
determining interaction options selected and unselected by the target user in the interaction text page according to the target interaction node;
displaying the interaction options selected by the target user in a first display mode in the interaction text page;
and displaying the interaction options which are not selected by the target user in a second display mode in the interaction text page.
Wherein, still include:
responding to the reading awakening operation of the target user aiming at the interactive electronic reading material, and extracting at least one original recording node belonging to the progress type from the reading progress information to be used as a progress node;
selecting a target progress node from the progress nodes;
and jumping to a target text page corresponding to the target progress node.
Wherein the selecting a target progress node from the progress nodes comprises:
acquiring a recording timestamp of the progress node;
and taking the progress node with the maximum recording timestamp as the target progress node.
Wherein the selecting a target progress node from the progress nodes comprises:
determining the reading offset of the progress node in the interactive electronic reading;
and taking the progress node with the maximum reading offset as the target progress node.
Wherein, still include:
responding to chapter jump operation of the target user for the interactive electronic reading material, and determining a chapter mark to be jumped corresponding to the chapter jump operation;
extracting a path array unit corresponding to the chapter mark to be jumped from the path array to be used as a path array unit to be jumped;
and when the path array unit to be jumped is an empty set, acquiring the chapter title page of the chapter mark to be jumped, and jumping to the chapter title page of the chapter mark to be jumped.
Wherein, still include:
when the path array unit to be jumped is a non-empty set, detecting a reading state corresponding to the path array unit to be jumped;
and if the reading state corresponding to the path array unit to be jumped is a reading completion state, acquiring a chapter end page of the chapter mark to be jumped, and jumping to the chapter end page of the chapter mark to be jumped.
Wherein the determining the node type of the at least one raw record node comprises:
if the reading content corresponding to the original recording node belongs to the first content of the chapter plot, determining the node type of the original recording node as the progress type;
if the reading content corresponding to the original recording node does not belong to the first content of the chapter plot and the original recording node has the maximum recording timestamp in the at least one original recording node, determining the node type of the original recording node as the progress type;
and if the reading content corresponding to the original recording node does not belong to the chapter plot head content and the original recording node has the maximum reading offset in the at least one original recording node, determining the node type of the original recording node as the progress type.
Wherein, still include:
if the reading content corresponding to the original recording node belongs to the plot interactive content and the selection state of the original recording node is the selection completion state, determining the node type of the original recording node as the interactive type;
if the node type of the adjacent recording node adjacent to the original recording node belongs to the interaction type, determining the node type of the original recording node as the progress type; the node identification of the adjacent record node is smaller than the original record node.
Another aspect of the embodiments of the present application provides a progress information generating apparatus, including:
the display module is used for displaying the interactive electronic reading;
the acquisition module is used for responding to the reading operation of a target user for the interactive electronic reading material and generating the reading progress information of the target user for the interactive electronic reading material;
the display module is also used for responding to the triggering operation of a target user aiming at the interactive text page and jumping to the interactive text page;
the identification module is used for displaying the interaction options selected by the target user in the interaction text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
Wherein, the obtaining module includes:
the generating unit is used for responding to the reading operation of the target user aiming at the interactive electronic reading material and generating at least one original recording node;
a type determining unit, configured to determine a node type of the at least one original recording node;
and the combination unit is used for combining the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type into the reading progress information.
The combination unit is specifically configured to determine the sections corresponding to the path nodes by using the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type as path nodes, combine the path nodes belonging to the same sections into a section reading path, and acquire a path array corresponding to the interactive electronic reading; the path array comprises path array units corresponding to at least one chapter contained in the interactive electronic reading material, the chapter reading path is added to the path array units in the path array according to the chapter corresponding to the chapter reading path and the chapter corresponding to the path array unit, and the path array added with the chapter reading path is determined as the reading progress information.
Wherein the identification module comprises:
the extraction unit is used for extracting an original recording node which belongs to the interaction type and corresponds to the interactive text page from the reading progress information to serve as a target interaction node;
the parameter determining unit is used for determining the interaction options selected and unselected by the target user in the interaction text page according to the target interaction node;
and the identification unit is used for displaying the interaction options selected by the target user in a first display mode in the interaction text page, and displaying the interaction options not selected by the target user in a second display mode in the interaction text page.
Wherein, still include:
the first response module is used for responding to the reading awakening operation of the target user aiming at the interactive electronic reading material, and extracting at least one original recording node belonging to the progress type from the reading progress information to be used as a progress node;
the selection module is used for selecting a target progress node from the progress nodes;
and the skipping module is used for skipping to a target text page corresponding to the target progress node.
Wherein the selection module comprises:
the time stamp obtaining unit is used for obtaining the recording time stamp of the progress node;
a first determination unit configured to take the progress node having the largest recording timestamp as the target progress node.
Wherein the selection module comprises:
the offset acquisition unit is used for determining the reading offset of the progress node in the interactive electronic reading material;
and the second determining unit is used for taking the progress node with the maximum reading offset as the target progress node.
Wherein, still include:
the second response module is used for responding to chapter jump operation of the target user for the interactive electronic reading material and determining a chapter mark to be jumped corresponding to the chapter jump operation;
the extracting module is used for extracting a path array unit corresponding to the chapter mark to be jumped from the path array to be used as a path array unit to be jumped;
the extraction module is further configured to, when the path array unit to be skipped is an empty set, acquire the chapter title page of the chapter mark to be skipped and skip to the chapter title page of the chapter mark to be skipped.
Wherein, still include:
the detection module is used for detecting a reading state corresponding to the path array unit to be jumped when the path array unit to be jumped is a non-empty set;
the detection module is further configured to acquire a chapter end page of the to-be-skipped chapter mark and skip to the chapter end page of the to-be-skipped chapter mark if the reading state corresponding to the to-be-skipped path array unit is a reading completion state.
Wherein the type determining unit includes:
the first determining subunit is used for determining the node type of the original recording node as the progress type if the reading content corresponding to the original recording node belongs to the first content of the chapter plot;
the first determining subunit is further configured to determine, if the reading content corresponding to the original recording node does not belong to the chapter plot head content, and the original recording node has a maximum recording timestamp in the at least one original recording node, a node type of the original recording node as the progress type;
and the second determining subunit is configured to determine, if the reading content corresponding to the original recording node does not belong to the chapter plot head content, and the original recording node has the maximum reading offset in the at least one original recording node, the node type of the original recording node as the progress type.
The type determining unit further includes:
a third determining subunit, configured to determine, if the content of the reading corresponding to the original recording node belongs to the scenario interaction content, and the selection state of the original recording node is a selection completion state, the node type of the original recording node as the interaction type;
the third type determining subunit is further configured to determine, if the node type of the adjacent recording node adjacent to the original recording node belongs to the interaction type, the node type of the original recording node as the progress type; the node identification of the adjacent record node is smaller than the original record node.
Another aspect of the embodiments of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to execute the method according to one aspect of the embodiments of the present application.
Another aspect of the embodiments of the present application provides a computer storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, perform a method as in one aspect of the embodiments of the present application.
The method comprises the steps that reading progress information of the interactive electronic reading materials is generated by responding to reading operation of a user aiming at the interactive electronic reading materials; when the user jumps to the interactive text page containing the interactive options, the interactive options selected by the user can be displayed in the interactive text page in a first display mode according to the reading progress information. The reading progress information records the interaction options selected by the user, so that the interaction options selected by the user can be displayed in a first display mode based on the reading progress information, the condition that the display mode of the interaction options is single due to the fact that the reading progress information only comprises the reading offset is avoided, and the display mode of the interaction options in the interactive electronic reading material is enriched.
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 system architecture diagram of a schedule information generation provided by an embodiment of the present application;
2 a-2 n are schematic views of a scene of progress information generation provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of a progress information generating method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another progress information generating method according to an embodiment of the present application;
fig. 5 is a schematic diagram of determining a chapter reading path according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an array of deterministic paths according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a progress information generating apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a system architecture diagram for generating progress information according to an embodiment of the present application. The application relates to a background server 10d and a terminal device cluster, and the terminal device cluster may include: terminal device 10a, terminal device 10 b.
Taking the terminal device 10a as an example, a user reads the interactive electronic reading material in a book reading client in the terminal device 10a, and the terminal device 10a correspondingly generates a plurality of original recording nodes of the interactive electronic reading material. The terminal device 10a may send the original recording node to the background server 10d, and the background server 10d determines the node type of the original recording node, and combines the original recording node belonging to the interaction type and the original recording node belonging to the progress type into the reading progress information of the interactive electronic reading material. The background server 10d issues the reading progress information to the terminal device 10 a. Subsequently, when the user opens the interactive electronic reading material again, the terminal device 10a may jump to the corresponding text page according to the original recording node belonging to the progress type in the reading progress information, and subsequently, when jumping to the interactive text page corresponding to the original recording node belonging to the interaction type in the reading progress information, display the interaction option selected by the user in the interactive text page in the first display manner according to the reading progress information.
Wherein the determination of the node type of the original recording node and the generation of the reading progress information may also be performed by the terminal device 10 a.
The terminal device 10a, the terminal device 10b,. the terminal device 10c, etc. shown in fig. 1 may include a mobile phone, a tablet computer, a notebook computer, a palm computer, a Mobile Internet Device (MID), a wearable device (e.g., a smart watch, a smart band, etc.), etc.
Fig. 2a to 2n described below specifically illustrate how the terminal device determines to generate the reading progress information and how to perform page jump based on the reading progress information.
Please refer to fig. 2a to fig. 2n, which are schematic views of a scene of generating progress information according to an embodiment of the present application. As shown in fig. 2a, the user starts the book reading client, and selects the interactive novel "no way to escape" on the bookshelf of the book reading client as the current reading book. If the user reads the book for the first time, as shown in fig. 2b, the terminal device 10a first displays the flyleaf of the interactive novel "no way to escape" to the user, so that the terminal device 10a can generate the original recording node: [ x, x, x,1 ];
wherein, the first four sub-items in the original record node respectively represent: chapter marks, plot screen marks, plot content marks and page types; the chapter mark, the plot screen mark and the plot content mark are used for representing the chapter, the plot screen and the plot content of the content in the page; the page type is used to represent the page content type. A value of "x" indicates a meaningless value; the page type value is '1' to indicate that the current page is the flyleaf of the interactive electronic reading; the page type value of "2" indicates that the current page is a chapter title page; the page type value is '3' to indicate that the current page is a chapter ending page; the page type value is '4' to indicate that the current page is the electronic reading material ending page; the value of the page type is "0" to indicate that the current page is a scenario content page, and generally, if the value is "0", the non-writing can be omitted, that is, the original recording node "[ x, x, x,0 ]" is completely equivalent to the original recording node "[ x, x, x ]".
As shown in FIG. 2b, the user clicks the "begin reading" button in the flyleaf. As shown in fig. 2c, the terminal device 10a jumps from the flyleaf to the chapter header page of the chapter i of the interactive novel "no way to escape", whereupon the terminal device 10a can generate the original recording node: [1, x, x,2 ].
This is because the corresponding page in fig. 2c is the title page of the first chapter, so the first sub-item chapter identifier in the original recording node takes a value of 1, the plot screen identifier and the plot content identifier still take a value of x, and the fourth sub-item page type takes a value of 2, that is, the original recording node is: [1, x, x,2 ].
As shown in fig. 2d, the terminal device 10a jumps from the title page of the first chapter of the interactive novel "no way can escape" to the scenario content page of the first scenario content of the first scenario screen containing the first chapter, which is "which? ward?", and the terminal device 10a may generate an original recording node of [1,1,1,0], when the page type of the original recording node is 0, it indicates that the current page is the scenario content page, [1,1,1,0] may also be directly recorded as [1,1,1 ].
The user continues to slide the screen upwards and continues to read the interactive novel "no way to escape", as shown in fig. 2e, the terminal device 10a displays a scenario content page containing a second scenario content of the first scenario screen of the first chapter, "who my?", and the terminal device 10a may generate the original recording node: [1,1,2 ].
The user continues to slide the screen upwards and continues to read the interactive novel 'no way to escape'. As shown in fig. 2f, the terminal device 10a displays a scenario content page containing a third scenario content of the first scenario screen of the first chapter: "too good, you awake, i am the nurse's moonlet here", the terminal device 10a may generate the original recording node: [1,1,3].
The user continues to slide the screen upwards and continues to read the interactive novel 'no way to escape'. As shown in fig. 2g, the terminal device 10a displays a scenario content page including a fourth scenario content of the first scenario screen of the first chapter, and the fourth content includes two interactive options: 10: silence, no speech; 11: actively calling a nurse (since the plot content page corresponding to fig. 2g contains interactive options, the plot content page may also be referred to as an interactive text page). If the user selects the interaction option 10 "silent and do not speak", the terminal device may generate an original recording node: [1,1,4, option ═ 10 ].
Wherein, the first three sub-items in the original recording node still represent: chapter identification, plot screen identification and plot content identification (page type is omitted), the last sub-item optinid represents the selected parameter, and since the user selects the interactive option 10, optinid is 10; of course, if the user selects the interactive option 11, then optinid is 11.
It can be known that optinid is a parameter that is generated after a certain interactive option is selected by the user.
As shown in fig. 2h, after the user selects "silent and do not speak" interaction option 10, the sixth scenario content of the second scenario screen of the first chapter adjacent to interaction option 10 is found in the interaction novel "no-way escape", and terminal device 10a displays a scenario content page including the sixth scenario content of the second scenario screen of the first chapter: "the moon is slightly red and the Michler's Michler," the terminal device 10a may generate the original recording node: [1,2,6].
The user continues to slide the screen upwards and continues to read the interactive novel 'no way to escape'. As shown in fig. 2i, the terminal device 10a displays a scenario content page containing a seventh scenario content of the second scenario screen of the first chapter: "lie down quickly, you are weak", the terminal device 10a may generate the original recording node: [1,2,7].
If so, the user leaves the reading interface corresponding to fig. 2i, and closes the book reading client. As shown in fig. 2j, the terminal device may determine a plurality of original recording nodes of the interaction novel "no way to escape": [ x, x, x,1], [1, x, x,2], [1,1,1], [1,1,2], [1,1,3], [1,1,4, optinid ═ 10], [1,2,6], and [1,2,7 ].
The terminal device 10a may determine the node type of the original recording node corresponding to the first scenario content page of each chapter as a progress type, that is, the node type of the original recording node "[ 1,1,1 ]" belongs to the progress type;
the terminal device 10a may determine a node type of an original recording node corresponding to a scenario content page (i.e., an interactive text page) containing an interactive option as an interactive type, that is, a node type of the original recording node "[ 1,1,4, optinid ═ 10 ]" belongs to the interactive type;
the terminal device 10a may determine the node type of the next original recording node of the original recording nodes belonging to the interaction type as the progress type, that is, the node type of the original recording node "[ 1,2,6 ]" belongs to the progress type;
the terminal device 10a may determine the node type of the last generated original recording node as the progress type when the user leaves, that is, the node type of the original recording node "[ 1,2,7 ]" described above belongs to the progress type.
As shown in fig. 2j, the terminal device 10a uses the original recording node "[ 1,1,1 ]", the original recording node "[ 1,1,4, optinid ═ 10 ]", the original recording node "[ 1,2,6 ]", and the original recording node "[ 1,2,7 ]" as path nodes, and combines the path nodes into the reading progress information of the interactive novel "no way can escape".
As shown in fig. 2k, the user starts the book reading client again, and opens the interactive novel "no way can escape" again, and the terminal device 10a finds out, from the reading progress information, that the path node corresponding to the last time the user left is: [1,2,7], as shown in fig. 2l, the terminal device 10a jumps directly to the seventh scenario content of the second scenario screen containing the first chapter: "lie down quickly, you are very weak" corresponding scenario content page.
The user continues to slide the screen down, turning the page forward. As shown in fig. 2m, the terminal device 10a displays a sixth scenario content of the second scenario screen containing the first chapter: "the small month is slightly red corresponding to the plot content page.
The user continues to slide the screen down and continues to page forward. As shown in fig. 2n, the terminal device 10a displays a scenario content page including a fourth scenario content of the second scenario screen of the first chapter, the fourth scenario content including two interaction options: 10: silence, no speech; 11: actively and nurses call. Finding the path node corresponding to the plot content page from the reading progress information: path node "[ 1,1,4, optinid ═ 10 ]", the terminal device 10a may show the interaction option 10 in the interaction page of fig. 2n with black as a background color and white as a character color: "silent, not speaking" to show the user that of the two interactive options, the most recent one the user selected was interactive option 10.
Specific processes of obtaining and determining the node type of the original recording node, and determining the reading progress information including a plurality of path nodes (such as the path node "[ 1,1,1 ]", the path node "[ 1,1,4, optinid ═ 10 ]", the path node "[ 1,2,6 ]", and the path node "[ 1,2,7 ]", in the embodiments corresponding to fig. 2a to fig. 2n described above) may refer to the embodiments corresponding to fig. 3 to fig. 6 described below.
Please refer to fig. 3, which is a schematic flow chart of a method for generating progress information according to an embodiment of the present application, and as shown in fig. 3, the method may include:
step S101, displaying an interactive electronic reading material, responding to the reading operation of a target user aiming at the interactive electronic reading material, and generating reading progress information of the target user aiming at the interactive electronic reading material; the reading progress information comprises original recording nodes belonging to the interaction type.
Specifically, the terminal device (e.g., the terminal device 10a in the corresponding embodiment of fig. 2 a-2 n) displays the interactive electronic reading material (e.g., the interactive novel "no way escape" in the corresponding embodiment of fig. 2 a-2 n).
The target user can perform page turning operation on a text page of the interactive electronic reading material or perform selection operation on interactive options of the interactive electronic reading material; the page turning operation and the selection operation belong to reading operations.
Correspondingly, the terminal device generates one or more original recording nodes (such as the original recording node "[ x, x, x,1 ]", the original recording node "[ 1, x, x,2 ]", the original recording node "[ 1,1,1 ]", the original recording node "[ 1,1,2 ]", the original recording node "[ 1,1,3 ]", the original recording node "[ 1,1,4, optionid ═ 10 ]", the original recording node "[ 1,2,6 ]", the original recording node "[ 1,2,7 ]") in response to the page turning operation and the selection operation of the target user.
The reading content in the interactive node reading material can be divided into scenario content and auxiliary content, wherein the scenario content can be regarded as a text part; the auxiliary content is the part of the interactive electronic reading except the text, and the auxiliary content can be the title page content, the chapter end page content, the ending page content and the like.
The terminal equipment displays the plot content in the interactive electronic reading material in sequence by taking the bar as a unit, and each plot content is only corresponding to one plot content identification content.
Each terminal device displays a plot content and correspondingly generates a common node; and each time the terminal displays one piece of auxiliary content, a virtual node is correspondingly generated, and the generated virtual node and the common node are used as original recording nodes.
The virtual node may include: the system comprises a chapter mark chapterid, a plot screen mark sceneid, a plot content mark content and a page type nodetype, wherein the chapter mark chapterid, the plot screen mark sceneid and the plot content mark content are used for representing a chapter, a plot screen and a plot content to which auxiliary content displayed currently belongs; the page type nodetype is used to indicate the type of auxiliary content currently being presented.
A page type nodeb 1, which indicates that the auxiliary content is flyleaf content;
a page type nodeb _ type ═ 2, indicating that the auxiliary content is chapter title page content;
a page type nodeb _ type ═ 3, indicating that the auxiliary content is chapter end page content;
the page type nodetype is 4, which indicates that the auxiliary content is the finishing page content.
If the auxiliary content does not have the affiliated section, the affiliated drama screen and the affiliated drama content, and a virtual node is generated, the value of the chapter identifier chapterid, the drama screen identifier sceneid and the drama content identifier content can be set to be x, or special characters such as x and the like, and the value is meaningless.
The common nodes can be divided into interactive nodes and non-interactive nodes, as the name implies, the scenario content corresponding to the interactive nodes comprises a plurality of interactive options, the target user has selected one of the interactive options, and the scenario content corresponding to the non-interactive nodes does not comprise the interactive option or comprises a plurality of interactive options, but the target user does not select any interactive option.
The interactive node may include: chapter identification chapterid, scenario identification sceneid, scenario content identification content, page type nodetype, and selected parameter optinid.
Similarly, chapter identification chapterid, scenario screen identification sceneid and scenario content identification content are used for representing the chapter, scenario screen and scenario content to which the currently displayed scenario content belongs.
Because the interactive nodes all correspond to the plot content, the page type nodetype in the interactive nodes is 0; the selected parameter optinid is an interaction option for identifying that the target user has selected from a plurality of interaction options, for example, an existing interaction option 10, and an interaction option 11, and if the target user selects the interaction option 10 from the above 2 interaction options, the value of the selected parameter optinid may be equal to 10, and optinid is equal to 10. The page type nodetype of the interactive node 0 may be omitted.
The non-interactive nodes may include: chapter identification chapterid, scenario identification sceneid, scenario content identification content, page type nodetype, the page type nodetype in the non-interactive node is 0, so the page type nodetype in the non-interactive node can also be omitted.
The following examples illustrate: showing the flyleaf content of the interactive electronic reading, the corresponding original recording node (also a virtual node) can be represented as: [ x, x, x, nodetype ═ 1], may also be represented as [ x, x, x,1 ];
the title page content of the first chapter of the interactive electronic reading is shown, and the corresponding original recording node (also a virtual node) can be represented as: [1, x, x, nodetype ═ 2], may also be represented as [1, x, x,2 ];
the content of the chapter end page of the first chapter of the interactive electronic reading is shown, and the corresponding original recording node (also a virtual node) can be represented as: [1, x, x, nodetype ═ 3], may also be represented as [1, x, x,3 ];
the first scenario content of the first scenario screen displaying the first chapter of the interactive electronic reading material, the corresponding original recording node (also a non-interactive node in the common nodes) may be represented as: [1,1,1, nodetype ═ 0], may also be represented as [1,1,1 ];
the third scenario content of the first scenario screen of the first chapter of the interactive electronic reading material corresponds to 2 interaction options (interaction option 10 and interaction option 11, respectively), and the target user selects interaction option 10, and the corresponding original recording node (also an interaction node in the common nodes) may be represented as: [1,1,3, nodetype is 0, optinid is 10], and may also be represented as [1,1,3, optinid is 10 ].
The third scenario content of the first scenario screen of the first chapter of the interactive electronic reading material corresponds to 2 interaction options (interaction option 10 and interaction option 11, respectively), and the target user does not select, and the corresponding original recording node may be represented as: [1,1,3, nodetype ═ 0] can also be expressed as [1,1,3 ].
In brief, the terminal device generates a corresponding original recording node according to the reading content of the interactive electronic reading displayed to the target user.
The plurality of original recording nodes can be regarded as recording the reading process of a target user on the interactive electronic reading material, and in order to generate the reading progress information of the interactive electronic reading material, the terminal equipment can directly use the plurality of original recording nodes as the reading progress information of the interactive electronic reading material.
In order to save storage space, the terminal equipment can firstly identify the node type of each original recording node, and combines the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type into reading progress information of a target user on the interactive electronic reading material; or the terminal equipment can directly combine the original recording nodes belonging to the interaction type into the reading progress information.
The node type of the original recording node comprises: interaction type, progress type, and generic type.
Step S102, responding to the trigger operation of a target user for an interactive text page, jumping to the interactive text page, and displaying the interactive option selected by the target user in the interactive text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
Specifically, the terminal device refers to a text page containing interactive scenario content as an interactive text page, where the interactive scenario content is scenario content corresponding to an original recording node belonging to an interactive type, that is, the interactive text page is a text page corresponding to the original recording node belonging to the interactive type, and the interactive text page contains a plurality of interactive options.
The target user can execute a skip operation on the interactive text page, the terminal device responds to the skip operation, displays the corresponding interactive text page, and extracts an original recording node (the node type of the original recording node can be known as an interactive type) corresponding to the interactive scenario content in the interactive text page from the reading progress information as a target interactive node. And extracting the selected parameter optinide from the target interaction node, determining unselected parameters according to a plurality of interaction options and the selected parameters contained in the interaction text page, wherein the interaction options in the interaction text page can be divided into interaction options corresponding to the selected parameters and interaction options corresponding to the unselected parameters.
It can be known that the interaction options corresponding to the selected parameters are interaction options selected by the target user in the interaction text page, and the interaction options corresponding to the unselected parameters are interaction options not selected by the target user in the interaction text page.
Displaying the interaction options selected by the target user in a first display mode in an interaction text page corresponding to the target interaction node, wherein the first display mode can be highlight display, rectangular frame display, background color display (for example, black background display, red background display) and the like;
and displaying the interaction options which are not selected by the target user in a second display mode in the interaction text page corresponding to the target interaction node, wherein the first display mode and the second display mode are different, and the first display and the second display are adopted to prompt the interaction options which are selected by the target user once. For example, the second display mode may be a highlight display, a rectangular frame display, a background color display, or the like.
Please refer to fig. 4, which is a schematic flow chart of another method for generating progress information according to an embodiment of the present application, and as shown in fig. 4, the method may include:
step S201, displaying the interactive electronic reading materials, responding to the reading operation of the target user aiming at the interactive electronic reading materials, and generating at least one original recording node.
The specific implementation manner of step S201 may participate in step S101 in the embodiment corresponding to fig. 3.
Step S202, determining the node type of the at least one original recording node.
Specifically, the following describes how to determine the node type by taking an original record node as an example:
if the reading content corresponding to the original recording node is the first content of the chapter plot, the node type of the original recording node is the progress type; the first content of the chapter plot belongs to the plot content, and the plot content is the first plot content of the chapter. That is, when the original recording node is a common node and the scenario content corresponding to the original recording node is the first scenario content of the chapter, the node type of the original recording node is the progress type.
In colloquial, the node type of the original recording node corresponding to the first scenario content of each chapter is a progress type.
And if the reading content corresponding to the original recording node is not the first content of the chapter plot and the original recording node has the maximum recording timestamp in the plurality of original recording nodes, the node type of the original recording node is the progress type. The recording time stamp is a display time stamp of the material reading content (scenario content or auxiliary content) corresponding to the original recording node, and of course, if the material reading content is displayed for multiple times, the maximum display time stamp is used as the recording time stamp corresponding to the original recording node.
And if the reading content corresponding to the original recording node is not the chapter plot head content and the original recording node has the maximum reading offset in the plurality of original recording nodes, the node type of the original recording node is the progress type. The reading offset refers to the progress percentage of the reading content corresponding to the original recording node in the whole interactive electronic reading material, and the reading offset of the reading content at the back in the electronic reading material is larger than that of the reading content at the front. For example, the reading offset of the banner page content of chapter one is necessarily greater than that of chapter two.
If the target user is sequential reading, then the original recording node with the largest recording timestamp and the original recording node with the largest reading offset are the same original recording node in the plurality of original recording nodes.
If the target user has skip chapter reading, the original recording node with the maximum recording timestamp and the original recording node with the maximum reading offset are not the same original recording node. For example, after reading the original recording node 1 belonging to the first chapter, the target user directly jumps to the fifth chapter to generate the original recording node 2 belonging to the fifth chapter, and then jumps to the second chapter to generate the original recording node 3 belonging to the second chapter, so that the original recording node 2 belonging to the fifth chapter has the largest offset among the 3 original recording nodes, and the original recording node 3 belonging to the second chapter has the largest recording timestamp.
If the reading content corresponding to the original recording node is scenario interactive content (the interactive scenario content is scenario content including a plurality of interactive options), and the selection state of the original recording node is a selection completion state (the selection completion state actually indicates that the target user has selected any one interactive option from the plurality of interactive options), the node type of the original recording node is an interactive type.
It can also be understood that if the original record node includes the selected parameter optinid, it indicates that the original record node belongs to the interaction type, or if the original record node is the aforementioned interaction node, the node type of the original record node is the interaction type.
And taking the original recording node which is adjacent to the original recording node in the interactive electronic reading material in the forward direction as an adjacent recording node, wherein if the node type of the adjacent recording node is the interactive type, the node type of the original recording node is the progress type. It should be noted that as long as the target user selects the interaction option, the terminal device will automatically display the next scenario content. Colloquially, the node type of the next raw record node to the raw record node belonging to the interaction type is the progress type.
For example, the original recording node 3 "[ 1,1,3, optionid ═ 10 ]" belongs to the interactive type, and in the interactive electronic reading, next to the original recording node 3, is the original recording node 4: [1,1,4], so the node type of the original recording node 4 is a progress type.
If the original recording node does not satisfy any of the above conditions, the node type of the original recording node is a normal type.
The terminal device may adopt the above rule to respectively distinguish the plurality of original recording nodes to determine the node type of each original recording node.
Step S203, combining the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type into the reading progress information.
Specifically, the terminal device takes the original recording node belonging to the interaction type and the original recording node belonging to the progress type as path nodes (such as the path node "[ 1,1,1 ]", the path node "[ 1,1,4, optionid ═ 10 ]", the path node "[ 1,2,6 ]", and the path node "[ 1,2,7 ]", in the corresponding embodiments of fig. 2a to fig. 2n described above).
The terminal device determines the section corresponding to each path node, that is, reads the first sub-item section identifier chapterid in the path node, and then determines the section to which the path node belongs. If the first sub-item section mark in the path node takes the value of x and other special characters, determining that the path node belongs to a head page or a finish page according to the page type nodetype in the path node, and if the path node belongs to the head page, determining that the section to which the path node belongs is a head page section; if the path node belongs to the ending page, the section to which the path node belongs is the ending page section.
And combining the path nodes belonging to the same chapter into a chapter reading path, and combining a plurality of path nodes according to the combination sequence of the reading offset of the path nodes in the interactive electronic reading material when the path nodes are combined into the chapter reading path.
The method comprises the steps that the terminal equipment obtains a path array of the interactive electronic reading materials, the path array is used for storing path nodes, the path array comprises at least one path array unit, each path array unit corresponds to one chapter of the interactive electronic reading materials, the chapters of the interactive electronic reading materials are provided with a head page chapter and a finishing page chapter besides the chapters corresponding to texts, and the number of the path array units is equal to the number of the chapters contained in the interactive electronic reading materials.
The terminal equipment adds the chapter reading path into the path numerical value unit, wherein the chapter corresponding to the chapter reading path is the same as the chapter added to the path array unit, and the path array unit added with the chapter reading path is used as reading progress information.
For example, path node 1 and path node 2 belong to the first chapter, and path node 3 and path node 4 belong to the second chapter, so path node 1 and path node 2 can be combined into a chapter reading path of the first chapter; path node 3 and path node 4 may be combined as a chapter reading path of chapter two. If the interactive electronic reading material comprises 4 chapters, namely a head page chapter, a first chapter, a second chapter and a finishing page chapter, the path array comprises 4 path array units, and the path array unit 1 corresponds to the head page chapter; the path array unit 2 corresponds to a first chapter; the path array unit 3 corresponds to the second chapter; the path array unit 4 corresponds to the finalization page chapter. The terminal device may add a chapter reading path of the first chapter formed by combining the path node 1 and the path node 2 to the path array unit 2; the chapter read path of the second chapter, which is a combination of the path node 3 and the path node 4, is added to the path array unit 3. And taking the path array added with the reading path as the reading progress information of the interactive electronic reading material.
Please refer to fig. 5, which is a schematic diagram of determining a reading path of a chapter according to an embodiment of the present application, and fig. 5 shows all original recording nodes corresponding to the reading content in the interactive electronic reading. The following description will be given of how to generate corresponding reading path information, taking as an example that when a target user reads the first scenario content from the beginning and reads the ninth scenario content of the first scenario screen of the second chapter, the reading is stopped:
as shown in fig. 5, if the target user reads the interactive electronic reading for the first time, the flyleaf of the interactive electronic reading is displayed first, so that the original record node is generated: [ x, x, x,1 ];
the target user continues reading, a title page of a first chapter of the interactive electronic reading is displayed, and an original recording node is generated: [1, x, x,2 ];
the target user continues reading, the first plot content of the first plot screen of the first chapter of the interactive electronic reading material is displayed, and an original recording node is generated: [1,1,1 ];
the target user continues reading, a second plot content of a first plot screen of a first chapter of the interactive electronic reading material is displayed, and an original recording node is generated: [1,1,2 ];
the target user continues to read and displays a third scenario content of the first scenario screen of the first chapter of the interactive electronic reading material, wherein the third scenario content comprises 2 interactive options: an interactive option 10 and an interactive option 11, wherein if the target user selects the interactive option 10, an original recording node [1,1,3, optinid ═ 10] is generated;
after the target user selects the interaction option 10, displaying a fourth scenario content of a first scenario screen of a first chapter of the interactive electronic reading material, and generating an original recording node: [1,1,4 ];
subsequently, displaying the fifth plot content of the first plot screen of the first chapter of the interactive electronic reading material, the eighth plot content of the second plot screen of the first chapter of the interactive electronic reading material, the ninth plot content of the second plot screen of the first chapter of the interactive electronic reading material and the chapter ending page of the first chapter in sequence;
correspondingly generating an original record node: [1,1,5], [1,2,8], [1,2,9], [1, x, x,3 ].
The target user continues reading, a title page of a second chapter of the interactive electronic reading is displayed, and an original recording node is generated: [2, x, x,2 ];
the target user continues reading, the first plot content of the first plot screen of the second chapter of the interactive electronic reading material is displayed, and an original recording node is generated: [2,1,1 ];
the target user continues reading, a second plot content of a first plot screen of a second chapter of the interactive electronic reading material is displayed, and an original recording node is generated: [2,1,2 ];
the target user continues to read, and a third scenario content of the first scenario screen of the second chapter of the interactive electronic reading material is displayed, wherein the third scenario content comprises 2 interactive options: an interactive option 10 and an interactive option 11, wherein if the target user selects the interactive option 10, an original recording node [2,1,3, optinid ═ 10] is generated;
after the target user selects the interaction option 10, displaying the fourth scenario content of the first scenario screen of the second chapter of the interactive electronic reading material, and generating an original recording node: [2,1,4 ];
subsequently, stopping reading and closing a reading interface when the fifth plot content of the first plot screen of the second chapter of the interactive electronic reading material, the eighth plot content of the second plot screen of the second chapter of the interactive electronic reading material and the ninth plot content of the second plot screen of the first chapter of the interactive electronic reading material are sequentially displayed;
correspondingly generating an original record node: [2,1,5], [2,1,8], [2,1,9 ].
Sequentially judging the node types of the original recording nodes, wherein the node types of the original recording nodes [1,1,1] and the original recording nodes [2,1,1] corresponding to the first content of the chapter plot are progress types;
the node type of the original recording node [2,1,9] with the largest recording timestamp (also with the largest read offset) is the progress type;
the node types of original recording nodes [1,1,3, optinid ═ 10] and original recording nodes [2,1,3, optinid ═ 10] corresponding to the plot interactive content are interactive types;
the node types of the next original recording node [1,1,4] and the original recording node [2,1,4] belonging to the original recording node of the interaction type are the progress type.
The terminal equipment takes original recording nodes belonging to a progress type and an interaction type as path nodes, and the path nodes [1,1,1], the path nodes [1,1,3, option ═ 10], the path nodes [1,1,4] can be combined into a chapter reading path of a first chapter of a text; path nodes [2,1,1], path nodes [2,1,3, option ═ 10], path nodes [2,1,4], path nodes [2,1,9] can be combined into a chapter reading path of chapter ii of the text.
Please refer to fig. 6, which is a schematic diagram of determining a path array according to an embodiment of the present application, taking fig. 5 as an example, a terminal device obtains the path array of an interactive electronic reading material, and it can be seen that, since a target user reads the interactive electronic reading material for the first time, path array units in the path array are all empty. The path array unit 1 corresponds to a head page chapter of the interactive electronic reading material, the path array unit 2 corresponds to a first text chapter of the interactive electronic reading material, the path array unit 3 corresponds to a second text chapter of the interactive electronic reading material, and the path array unit 4 corresponds to a finishing page chapter of the interactive electronic reading material.
The terminal equipment reads the chapter reading path of the first chapter of the text determined in the previous step: [1,1,1], [1,1,3, option ═ 10], [1,1,4] are added to the path array unit 2. The terminal equipment reads the chapter reading path of the second chapter of the text determined in the previous step: [2,1,1], [2,1,3, option ═ 10], [2,1,4], [2,1,9] are added to the path array unit 3. Thus, a path array added with chapter reading paths can be obtained, and the array is used as the reading progress information of the interactive electronic reading material.
And S204, responding to the reading awakening operation of the target user aiming at the interactive electronic reading material, and extracting at least one original recording node belonging to the progress type from the reading progress information to be used as a progress node.
Specifically, when the target user closes the interactive electronic reading material and wakes up the interactive electronic reading material again, the terminal device responds to the reading wake-up operation of the target user on the interactive electronic reading material, and extracts at least one original recording node (the original recording node may also be called a path node) belonging to the progress type from the reading progress information of the interactive electronic reading material, and the original recording node and the path node are all used as progress nodes.
And S205, selecting a target progress node from the progress nodes, and jumping to a target text page corresponding to the target progress node.
Specifically, the terminal device may obtain a recording timestamp of each progress node, and use the progress node with the largest recording timestamp as the target node.
The terminal device may also obtain the reading offset of each progress node, and take the progress node with the largest reading offset as the target progress node.
It should be noted that, the terminal device may select the target progress node according to the recording timestamp or select the target progress node according to the reading offset from the plurality of progress nodes, and the target progress node may be determined according to the actual service scenario in the above two manners.
The terminal equipment acquires the auxiliary content corresponding to the target progress node, a page (called a target text page) is generated according to the auxiliary content, and the terminal equipment jumps to the target text page.
Optionally, the target user performs a chapter jump operation on the interactive electronic reading, and determines a chapter identifier (called a chapter identifier to be jumped) of a chapter to be jumped corresponding to the chapter jump operation.
For example, after jumping to a target text page (or an interactive text page), a target user clicks a chapter jump button in the target text page, the terminal device displays chapter marks of multiple chapters of the interactive electronic reading in the target text page, the target user selects any chapter mark, the operation performed by the target user by selecting any chapter mark from the multiple chapter marks is a chapter jump operation, and the selected chapter mark is a mark to be jumped.
And the terminal equipment extracts a path array unit corresponding to the chapter mark to be jumped from the path array (namely reading progress information) to be used as the path array unit to be jumped.
Detecting whether a path array unit to be jumped contains a path node, and if the path array unit to be jumped does not contain any path node, indicating that the path array unit to be jumped is an empty set; if the path array unit to be jumped contains the path node, the path array unit to be jumped is a non-empty set.
And if the path array unit to be jumped is an empty set, the terminal equipment acquires the chapter title page content of the chapter corresponding to the chapter identifier to be jumped in the interactive electronic reading, generates the chapter title page corresponding to the chapter identifier to be jumped according to the chapter title page content, and jumps to the chapter title page.
In colloquial, if a target user wants to jump to an unread chapter in an interactive electronic reading, the target user jumps to the title page of the chapter.
And if the path array unit to be jumped is a non-empty set, detecting whether the reading state of the path array unit to be jumped is a reading completion state or a reading incompletion state. The reading completion state indicates that all chapters corresponding to the path array unit to be jumped are read; the reading incomplete state indicates that all chapters corresponding to the path array unit to be jumped are not completely read; the terminal device determines whether all the corresponding chapters are completely read by whether the chapter ending page is displayed.
And if the reading state of the path array unit to be jumped is a reading completion state, which indicates that the target user finishes reading the chapter to be jumped, the terminal equipment acquires the chapter end page content of the chapter corresponding to the chapter mark to be jumped, generates a chapter end page corresponding to the chapter mark to be jumped according to the chapter end page content, and jumps to the chapter end page.
In general, if a target user wants to jump to a chapter that is completely read in an interactive electronic reading, the target user jumps to the end page of the chapter.
And if the reading state of the path array unit to be jumped is a reading incomplete state, indicating that the target user has not read the chapter. The terminal device may extract the path node having the largest recording timestamp from the path array unit to be jumped as a target path node. And acquiring the reading content corresponding to the target path node, generating a jump page according to the reading content, and jumping to the jump page.
The terminal equipment can determine a target path node according to the recording timestamp, and can extract the path node with the maximum reading offset from the path array unit to be jumped as the target path node. Similarly, reading content corresponding to the target path node is obtained, a jump page is generated according to the reading content, and the jump is carried out to the jump page.
In popular terms, if a target user wants to jump to a chapter which is not completely read in an interactive electronic reading, the target user jumps to a page which is displayed recently in the chapter or a page which is farthest in progress.
The process of determining the reading state of the array unit of the path to be jumped may be: extracting original recording nodes belonging to chapters corresponding to the path array unit to be jumped from at least one original recording node, detecting whether the original recording nodes with the value of page type nodetype being 3 (namely detecting whether the page type nodetype is chapter end page content) exist in the extracted original recording nodes, and if the original recording nodes exist, setting the reading state of the path array unit to be jumped to be a reading completion state; and if the path array unit does not exist, setting the reading state of the path array unit to be jumped to be a reading uncompleted state.
The method comprises the steps that reading progress information of the interactive electronic reading materials is generated by responding to reading operation of a user aiming at the interactive electronic reading materials; when the user jumps to the interactive text page containing the interactive options, the interactive options selected by the user can be displayed in the interactive text page in a first display mode according to the reading progress information. The reading progress information records the interaction options selected by the user, so that the interaction options selected by the user can be displayed in a first display mode based on the reading progress information, the condition that the display mode of the interaction options is single due to the fact that the reading progress information only comprises the reading offset is avoided, and the display mode of the interaction options in the interactive electronic reading material is enriched.
Further, please refer to fig. 7, which is a schematic structural diagram of a schedule information generating apparatus according to an embodiment of the present application. As shown in fig. 7, the progress information generating apparatus 1 may be applied to the terminal device in the corresponding embodiment of fig. 1 to 6, and the progress information generating apparatus 1 may include: a presentation module 11, an acquisition module 12 and an identification module 13.
The display module 11 is used for displaying the interactive electronic reading;
the acquisition module 12 is configured to respond to a reading operation of a target user for the interactive electronic reading, and generate reading progress information of the target user for the interactive electronic reading;
the display module 11 is further configured to respond to a trigger operation of a target user for an interactive text page, and jump to the interactive text page;
the identification module 13 is configured to display the interaction option selected by the target user in the interaction text page in a first display manner according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
For specific functional implementation manners of the presentation module 11, the obtaining module 12, and the identification module 13, reference may be made to steps S101 to S102 in the embodiment corresponding to fig. 3, which is not described herein again.
Referring to fig. 7, the obtaining module 12 may include: a generating unit 121, a type determining unit 122, and a combining unit 123.
The generating unit 121 is configured to generate at least one original recording node in response to a reading operation of the target user for the interactive electronic reading;
a type determining unit 122, configured to determine a node type of the at least one original recording node;
a combining unit 123, configured to combine the original recording node belonging to the interaction type and the original recording node belonging to the progress type into the reading progress information.
The combination unit 123 is specifically configured to determine the chapters corresponding to the path nodes by using the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type as path nodes, combine the path nodes belonging to the same chapter into a chapter reading path, and acquire a path array corresponding to the interactive electronic reading; the path array comprises path array units corresponding to at least one chapter contained in the interactive electronic reading material, the chapter reading path is added to the path array units in the path array according to the chapter corresponding to the chapter reading path and the chapter corresponding to the path array unit, and the path array added with the chapter reading path is determined as the reading progress information.
For specific functional implementation manners of the generating unit 121, the type determining unit 122, and the combining unit 123, reference may be made to steps S201 to S203 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the identification module 13 may include: an extraction unit 131, a parameter determination unit 132, and an identification unit 133.
An extracting unit 131, configured to extract, from the reading progress information, an original recording node belonging to the interaction type and corresponding to the interactive text page, as a target interaction node;
the parameter determining unit 132 is configured to determine, according to the target interaction node, an interaction option selected by the target user and an interaction option not selected by the target user in the interaction text page;
the identification unit 133 is configured to display the interaction options selected by the target user in a first display manner in the interaction text page, and display the interaction options not selected by the target user in a second display manner in the interaction text page.
For specific functional implementation manners of the extracting unit 131, the parameter determining unit 132, and the identifying unit 133, reference may be made to step S103 in the embodiment corresponding to fig. 3, which is not described herein again.
Referring to fig. 7, the schedule information generating apparatus 1 may include: the system comprises a display module 11, an acquisition module 12 and an identification module 13; the method can also comprise the following steps: a first response module 14, a selection module 15, and a jump module 16.
A first response module 14, configured to respond to a reading wakeup operation of the target user for the interactive electronic reading, extract at least one original recording node belonging to the progress type from the reading progress information, and all serve as a progress node;
a selecting module 15, configured to select a target progress node from the progress nodes;
and the skipping module 16 is used for skipping to a target text page corresponding to the target progress node.
The specific functional implementation manners of the first responding module 14, the selecting module 15, and the skipping module 16 may refer to steps S204 to S205 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the selection module 15 may include: a timestamp acquisition unit 151 and a first determination unit 152.
A timestamp obtaining unit 151 configured to obtain a recording timestamp of the progress node;
a first determining unit 152, configured to take the progress node with the largest recording timestamp as the target progress node.
For specific functional implementation manners of the timestamp obtaining unit 151 and the first determining unit 152, reference may be made to step S204 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the selection module 15 may include: offset amount acquisition section 153 and second determination section 154.
An offset obtaining unit 153, configured to determine a reading offset of the progress node in the interactive electronic reading;
a second determining unit 154, configured to use the progress node with the largest reading offset as the target progress node.
For specific functional implementation manners of the offset obtaining unit 153 and the second determining unit 154, refer to step S204 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the schedule information generating apparatus 1 may include: the system comprises a display module 11, an acquisition module 12 and an identification module 13; the method can also comprise the following steps: a second response module 17, an extraction module 18.
The second response module 17 is configured to respond to a chapter skipping operation of the target user for the interactive electronic reading, and determine a chapter identifier to be skipped, where the chapter identifier corresponds to the chapter skipping operation;
an extracting module 18, configured to extract a path array unit corresponding to the to-be-skipped chapter identifier from the path array, as a to-be-skipped path array unit;
the extracting module 18 is further configured to, when the path array unit to be skipped is an empty set, obtain the chapter title page of the chapter mark to be skipped, and skip to the chapter title page of the chapter mark to be skipped.
The specific functional implementation manners of the second response module 17 and the extraction module 18 may refer to step S205 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the schedule information generating apparatus 1 may include: the system comprises a display module 11, an acquisition module 12, an identification module 13, a second response module 17 and an extraction module 18; the method can also comprise the following steps: a detection module 19.
The detection module 19 is configured to detect, when the path array unit to be skipped is a non-empty set, a reading state corresponding to the path array unit to be skipped;
the detection module 19 is further configured to, if the reading state corresponding to the path array to be skipped is a reading completion state, acquire the chapter end page of the chapter mark to be skipped, and skip to the chapter end page of the chapter mark to be skipped.
The specific functional implementation manner of the detection module 19 may refer to step S205 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the type determining unit 122 may include: a first determination subunit 1221, a second determination subunit 1222.
A first determining subunit 1221, configured to determine, if the content of the reading corresponding to the original recording node belongs to the first content of the chapter scenario, the node type of the original recording node as the progress type;
the first determining subunit 1221 is further configured to determine, if the content of the reading corresponding to the original recording node does not belong to the chapter plot head content, and the original recording node has the maximum recording timestamp in the at least one original recording node, the node type of the original recording node is the progress type;
a second determining subunit 1222, configured to determine, if the material content corresponding to the original recording node does not belong to the chapter plot head content, and the original recording node has the maximum reading offset in the at least one original recording node, the node type of the original recording node as the progress type.
For specific functional implementation manners of the first determining subunit 1221 and the second determining subunit 1222, refer to step S202 in the embodiment corresponding to fig. 4, which is not described herein again.
Referring to fig. 7, the type determining unit 122 may include: a first determination subunit 1221, a second determination subunit 1222; the method can also comprise the following steps: a third determination subunit 1223.
A third determining subunit 1223, configured to determine, if the content of the reading corresponding to the original recording node belongs to the scenario interaction content, and the selection state of the original recording node is a selection completion state, the node type of the original recording node as the interaction type;
the third determining subunit 1223 is further configured to determine, if the node type of the adjacent recording node adjacent to the original recording node belongs to the interaction type, the node type of the original recording node as the progress type; the node identification of the adjacent record node is smaller than the original record node.
The specific functional implementation manner of the third determining subunit 1223 may refer to step S202 in the embodiment corresponding to fig. 4, which is not described herein again.
The method comprises the steps that reading progress information of the interactive electronic reading materials is generated by responding to reading operation of a user aiming at the interactive electronic reading materials; when the user jumps to the interactive text page containing the interactive options, the interactive options selected by the user can be displayed in the interactive text page in a first display mode according to the reading progress information. The reading progress information records the interaction options selected by the user, so that the interaction options selected by the user can be displayed in a first display mode based on the reading progress information, the condition that the display mode of the interaction options is single due to the fact that the reading progress information only comprises the reading offset is avoided, and the display mode of the interaction options in the interactive electronic reading material is enriched.
Further, please refer to fig. 8, which is a schematic structural diagram of a computer device according to an embodiment of the present application. The terminal device in the embodiments corresponding to fig. 1 to fig. 6 may be a computer device 1000, and as shown in fig. 8, the computer device 1000 may include: a user interface 1002, a processor 1004, an encoder 1006, and a memory 1008. Signal receiver 1016 is used to receive or transmit data via cellular interface 1010, WIFI interface 1012. The encoder 1006 encodes the received data into a computer-processed data format. The memory 1008 has stored therein a computer program by which the processor 1004 is arranged to perform the steps of any of the method embodiments described above. The memory 1008 may include volatile memory (e.g., dynamic random access memory DRAM) and may also include non-volatile memory (e.g., one time programmable read only memory OTPROM). In some instances, the memory 1008 can further include memory located remotely from the processor 1004, which can be connected to the computer device 1000 via a network. The user interface 1002 may include: a keyboard 1018, and a display 1020.
In the computer device 1000 shown in fig. 8, the processor 1004 may be configured to call the memory 1008 to store a computer program to implement:
displaying the interactive electronic reading;
responding to the reading operation of a target user for the interactive electronic reading material, and generating reading progress information of the target user for the interactive electronic reading material; the reading progress information comprises original recording nodes belonging to the interaction type;
responding to a trigger operation of a target user for an interactive text page, jumping to the interactive text page, and displaying the interactive option selected by the target user in the interactive text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
It should be understood that the computer device 1000 described in this embodiment of the application may perform the description of the progress information generating method in the embodiment corresponding to fig. 1 to fig. 6, and may also perform the description of the progress information generating apparatus 1 in the embodiment corresponding to fig. 7, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present application further provides a computer storage medium, and the computer storage medium stores the aforementioned computer program executed by the progress information generating apparatus 1, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the progress information generating method in the embodiment corresponding to fig. 1 to 6 can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (14)

1. A progress information generation method is characterized by comprising the following steps:
displaying the interactive electronic reading;
responding to the reading operation of a target user for the interactive electronic reading material, and generating reading progress information of the target user for the interactive electronic reading material; the reading progress information comprises original recording nodes belonging to the interaction type;
responding to a trigger operation of a target user for an interactive text page, jumping to the interactive text page, and displaying the interactive option selected by the target user in the interactive text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
2. The method of claim 1, wherein the generating reading progress information of the target user for the interactive electronic reading material in response to the reading operation of the target user for the interactive electronic reading material comprises:
responding to the reading operation of the target user aiming at the interactive electronic reading material, and generating at least one original recording node;
determining a node type of the at least one original recording node;
and combining the original recording nodes belonging to the interaction type and the original recording nodes belonging to the progress type into the reading progress information.
3. The method of claim 2, wherein the combining the original recording node belonging to the interaction type and the original recording node belonging to the progress type into the reading progress information comprises:
taking the original recording node belonging to the interaction type and the original recording node belonging to the progress type as path nodes;
determining chapters corresponding to the path nodes, and combining the path nodes belonging to the same chapters into chapter reading paths;
acquiring a path array corresponding to the interactive electronic reading material; the path array comprises path array units corresponding to at least one chapter contained in the interactive electronic reading material respectively;
and adding the chapter reading path to the path array unit in the path array according to the chapter corresponding to the chapter reading path and the chapter corresponding to the path array unit, and determining the path array added with the chapter reading path as the reading progress information.
4. The method according to claim 1, wherein the displaying the interaction option selected by the target user in the interaction text page in a first display mode according to the reading progress information comprises:
extracting an original recording node which belongs to the interaction type and corresponds to the interactive text page from the reading progress information to be used as a target interaction node;
determining interaction options selected and unselected by the target user in the interaction text page according to the target interaction node;
displaying the interaction options selected by the target user in a first display mode in the interaction text page;
and displaying the interaction options which are not selected by the target user in a second display mode in the interaction text page.
5. The method of claim 2, further comprising:
responding to the reading awakening operation of the target user aiming at the interactive electronic reading material, and extracting at least one original recording node belonging to the progress type from the reading progress information to be used as a progress node;
selecting a target progress node from the progress nodes;
and jumping to a target text page corresponding to the target progress node.
6. The method of claim 5, wherein selecting a target progress node from the progress nodes comprises:
acquiring a recording timestamp of the progress node;
and taking the progress node with the maximum recording timestamp as the target progress node.
7. The method of claim 5, wherein selecting a target progress node from the progress nodes comprises:
determining the reading offset of the progress node in the interactive electronic reading;
and taking the progress node with the maximum reading offset as the target progress node.
8. The method of claim 3, further comprising:
responding to chapter jump operation of the target user for the interactive electronic reading material, and determining a chapter mark to be jumped corresponding to the chapter jump operation;
extracting a path array unit corresponding to the chapter mark to be jumped from the path array to be used as a path array unit to be jumped;
and when the path array unit to be jumped is an empty set, acquiring the chapter title page of the chapter mark to be jumped, and jumping to the chapter title page of the chapter mark to be jumped.
9. The method of claim 8, further comprising:
when the path array unit to be jumped is a non-empty set, detecting a reading state corresponding to the path array unit to be jumped;
and if the reading state corresponding to the path array unit to be jumped is a reading completion state, acquiring a chapter end page of the chapter mark to be jumped, and jumping to the chapter end page of the chapter mark to be jumped.
10. The method of claim 2, wherein determining the node type of the at least one original recording node comprises:
if the reading content corresponding to the original recording node belongs to the first content of the chapter plot, determining the node type of the original recording node as the progress type;
if the reading content corresponding to the original recording node does not belong to the first content of the chapter plot and the original recording node has the maximum recording timestamp in the at least one original recording node, determining the node type of the original recording node as the progress type;
and if the reading content corresponding to the original recording node does not belong to the chapter plot head content and the original recording node has the maximum reading offset in the at least one original recording node, determining the node type of the original recording node as the progress type.
11. The method of claim 10, further comprising:
if the reading content corresponding to the original recording node belongs to the plot interactive content and the selection state of the original recording node is the selection completion state, determining the node type of the original recording node as the interactive type;
if the node type of the adjacent recording node adjacent to the original recording node belongs to the interaction type, determining the node type of the original recording node as the progress type; the node identification of the adjacent record node is smaller than the original record node.
12. A progress information generating apparatus characterized by comprising:
the display module is used for displaying the interactive electronic reading;
the acquisition module is used for responding to the reading operation of a target user for the interactive electronic reading material and generating the reading progress information of the target user for the interactive electronic reading material;
the display module is also used for responding to the triggering operation of a target user aiming at the interactive text page and jumping to the interactive text page;
the identification module is used for displaying the interaction options selected by the target user in the interaction text page in a first display mode according to the reading progress information; and the interactive text page is a text page corresponding to the original recording node belonging to the interactive type.
13. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1-11.
14. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-11.
CN201910875341.6A 2019-09-17 2019-09-17 Progress information generation method and device, electronic setting and storage medium Active CN110618774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910875341.6A CN110618774B (en) 2019-09-17 2019-09-17 Progress information generation method and device, electronic setting and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910875341.6A CN110618774B (en) 2019-09-17 2019-09-17 Progress information generation method and device, electronic setting and storage medium

Publications (2)

Publication Number Publication Date
CN110618774A true CN110618774A (en) 2019-12-27
CN110618774B CN110618774B (en) 2024-06-25

Family

ID=68923322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910875341.6A Active CN110618774B (en) 2019-09-17 2019-09-17 Progress information generation method and device, electronic setting and storage medium

Country Status (1)

Country Link
CN (1) CN110618774B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111368238A (en) * 2020-03-19 2020-07-03 Tcl移动通信科技(宁波)有限公司 Status bar adjusting method and device, mobile terminal and storage medium
CN111737054A (en) * 2020-06-22 2020-10-02 网易(杭州)网络有限公司 Plot recovery method, plot recovery device, plot recovery equipment and storage medium for interactive reading works
CN115203539A (en) * 2022-07-01 2022-10-18 深圳市人马互动科技有限公司 Media content recommendation method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617256A (en) * 2003-11-10 2005-05-18 皇家飞利浦电子股份有限公司 Optical disc player and its playing method
CN106250007A (en) * 2016-07-21 2016-12-21 北京乐动卓越科技有限公司 A kind of system and method realizing branching selection broadcasting
CN106294293A (en) * 2016-07-21 2017-01-04 北京乐动卓越科技有限公司 A kind of realize interactive electronic read system, method and apparatus
CN106570139A (en) * 2016-11-04 2017-04-19 惠州Tcl移动通信有限公司 Electronic book bookmark generating and positioning method and system based on mobile terminal
CN107948751A (en) * 2017-11-24 2018-04-20 互影科技(北京)有限公司 The playback method and device of branching storyline video
CN109794064A (en) * 2018-12-29 2019-05-24 腾讯科技(深圳)有限公司 Interact plot implementation method, device, terminal and storage medium
US10372807B1 (en) * 2015-11-11 2019-08-06 Addepar, Inc. Systems and user interfaces for dynamic and interactive table generation and editing based on automatic traversal of complex data structures in a distributed system architecture

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617256A (en) * 2003-11-10 2005-05-18 皇家飞利浦电子股份有限公司 Optical disc player and its playing method
US10372807B1 (en) * 2015-11-11 2019-08-06 Addepar, Inc. Systems and user interfaces for dynamic and interactive table generation and editing based on automatic traversal of complex data structures in a distributed system architecture
CN106250007A (en) * 2016-07-21 2016-12-21 北京乐动卓越科技有限公司 A kind of system and method realizing branching selection broadcasting
CN106294293A (en) * 2016-07-21 2017-01-04 北京乐动卓越科技有限公司 A kind of realize interactive electronic read system, method and apparatus
CN106570139A (en) * 2016-11-04 2017-04-19 惠州Tcl移动通信有限公司 Electronic book bookmark generating and positioning method and system based on mobile terminal
CN107948751A (en) * 2017-11-24 2018-04-20 互影科技(北京)有限公司 The playback method and device of branching storyline video
CN109794064A (en) * 2018-12-29 2019-05-24 腾讯科技(深圳)有限公司 Interact plot implementation method, device, terminal and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111225292B (en) * 2020-01-15 2022-05-06 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111368238A (en) * 2020-03-19 2020-07-03 Tcl移动通信科技(宁波)有限公司 Status bar adjusting method and device, mobile terminal and storage medium
CN111737054A (en) * 2020-06-22 2020-10-02 网易(杭州)网络有限公司 Plot recovery method, plot recovery device, plot recovery equipment and storage medium for interactive reading works
CN115203539A (en) * 2022-07-01 2022-10-18 深圳市人马互动科技有限公司 Media content recommendation method, device, equipment and storage medium
CN115203539B (en) * 2022-07-01 2023-03-03 深圳市人马互动科技有限公司 Media content recommendation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110618774B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
CN110618774B (en) Progress information generation method and device, electronic setting and storage medium
CN114938360B (en) Data processing method and device based on instant messaging application
CN110557678B (en) Video processing method, device and equipment
CN113115099B (en) Video recording method and device, electronic equipment and storage medium
JP6255646B2 (en) Message system
CN110414404A (en) Image processing method, device and storage medium based on instant messaging
CN106814879A (en) A kind of input method and device
CN113536172B (en) Encyclopedia information display method and device and computer storage medium
CN110475140A (en) Barrage data processing method, device, computer readable storage medium and computer equipment
US20120005564A1 (en) Content distribution system and method
CN112291614A (en) Video generation method and device
CN115237301B (en) Method and device for processing barrage in interactive novel
CN112101353A (en) Text information extraction method and device, electronic equipment and storage medium
CN112422592B (en) Information recommendation method and device, electronic equipment and storage medium
CN112015972B (en) Information recommendation method and device, electronic equipment and storage medium
CN106843889A (en) A kind of method and device of scene customization
CN113763919B (en) Video display method, device, computer equipment and storage medium
CN110891198A (en) Video playing prompt method, multimedia playing prompt method, bullet screen processing method and device
CN113886610A (en) Information display method, information processing method and device
CN1812530B (en) Display control apparatus and method
CN109190019B (en) User image generation method, electronic equipment and computer storage medium
CN111144141A (en) Translation method based on photographing function
CN113301394B (en) Voice control method combined with user grade
CN112015887A (en) Data recommendation method and device based on electronic reading materials and readable storage medium
CN108875670A (en) Information processing method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40019580

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant