CN106227716A - A kind of system and method realizing branching selection structure electrical documents editing - Google Patents
A kind of system and method realizing branching selection structure electrical documents editing Download PDFInfo
- Publication number
- CN106227716A CN106227716A CN201610578831.6A CN201610578831A CN106227716A CN 106227716 A CN106227716 A CN 106227716A CN 201610578831 A CN201610578831 A CN 201610578831A CN 106227716 A CN106227716 A CN 106227716A
- Authority
- CN
- China
- Prior art keywords
- node
- branching selection
- editing
- action
- structure electrical
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Abstract
The present invention provides a kind of system and method realizing branching selection structure electrical documents editing, first creates the data structure of branching selection structure electrical document in editing equipment internal memory;And then by, editor branching selection structured documents newly-built at the visualization interface of editing equipment with update branching selection structure electrical document data structure accordingly;And edit the content of text of branching selection structured documents interior joint and update the content of text of described branching selection structure electrical document data structure interior joint list simultaneously accordingly;Finally the node in mark branching selection structured documents is to search and follow-up editor.By the above-mentioned system and method realizing branching selection structure electrical documents editing, solve editor's problem of branching selection structure electrical document, and then the editor realizing novel class subject matter interactive mode reading electronic book generates.This interactive mode reading electronic book achieves the mutual of reader and e-book, improves the enjoyment and property of participation read.
Description
Technical field
The present invention relates to computer software technical field, particularly relate to one and realize branching selection structure electrical documents editing
System and method.
Background technology
Technology development therewith, electronic reading (E-book Reading) has been not limited solely to personal computer (Personal
Computer), increasing electronic digital equipment and mobile communication equipment have had the function of e-book reading, and occur
It is specifically designed to the terminal unit of e-book reading.Really, e-book (E-book) relatively papery books have portable, easy-to-use,
The advantage such as Large Copacity, energy-conserving and environment-protective, it is also possible to Appropriate application chip time, realize more attractive design and increase multimedia function;
But the electronic reading of present stage still reads that reading method passively receiving the design of author's story of a play or opera without departing from tradition.
In recent years, fast-developing and universal, because it is good along with electronic digital equipment and the mobile communication terminal of touch screen type
Man-machine interaction experience effect deeply praised highly by consumer, the interactive concept read produces therewith.At present, interactive read electronic
Book application mainly stresses preschool education, this kind of non-fiction less subject matter of word amount of children stories.Above-mentioned subject matter mutual
The application of formula reading electronic book arranges contact generally by such interactive reading electronic book, and by the click etc. of reader
Operation realizes the interaction with regard to this contact content.But, as a example by novel, the literary works of this kind of subject matter are abundant in content, have even
Continuous plot and complex environment are described.Obviously, above-mentioned interactive reading electronic book application cannot be applicable to novel, prose
Reading etc. this kind of literary works.
A kind of system and method realizing interactive electronic reading and equipment are capable of above-mentioned novel class subject matter literature and make
The interactive electronic of product is read.This system and method realizing interactive electronic reading and equipment are mainly play by branching selection
Realize the mutual of reader and e-book, make reader can even be determined the developing direction of the works story of a play or opera by Mutual Impacts, improve
The enjoyment read and property of participation.
But, E-book edition device in the market, such as EXE E-book edition device, CHM E-book edition device, UMD electricity
Philosophical works editing machine etc., it is clear that such interactive reading electronic book of generation can not be edited.One realizes branching selection interactive mode and reads
The system and method for e-book and client are capable of the editor of above-mentioned interactive reading electronic book and generate;It is mainly by compiling
Collect branching selection structure electrical document, and then the editor realizing above-mentioned interactive reading electronic book generates.
Summary of the invention
The present invention provides a kind of system and method realizing branching selection structure electrical documents editing, in order to solve branch's choosing
Select editor's problem of structure electrical document, and then the editor realizing novel class subject matter interactive mode reading electronic book generates.
The embodiment of the present invention provides a kind of system realizing branching selection structure electrical documents editing, including Data Serialization
Module, interface editing module, text editing module, node label module;Wherein,
Data Serialization module described in A, for the establishment of the data structure of described branching selection structure electrical document;Specifically
For creating node listing, node action list, chapters and sections node listing, extension information list in the internal memory of editing equipment;Wherein,
Described node listing, for the set for writing nodal information;Described node is described branching selection structure electrical
Document and the interactive reading electronic book thus generated realize the minimum carrier of branching selection playing function, are the choosings of described branch
Select the least unit of structure electrical document;Described branching selection structure electrical document by N number of (N >=2, N is integer) node group
Become;
Further, described nodal information comprises node index, affiliated chapters and sections information, node type information, content of text;Its
In,
Described node index refers to access the identification code of described nodal information;Only by accessing and reading nodal information,
This node could be play accordingly;
Described affiliated chapters and sections information, is specially this node chapters and sections of chapters and sections belonging in described interactive reading electronic book
Index;
Described node type information, for the type of flag node;Described node is divided into plain edition node by node type
With button-type node;Described plain edition node, can only describe word content, not have interactive function;Described button-type node, both remembered
State word content, have again interactive function;
Described content of text, refers to the some words for describing described interactive reading electronic book works content;
Further, described nodal information also comprises point spread information, for realizing the extension when playing of this node
Function, such as audio broadcasting, picture loading etc.;
Described node action list, for the set for writing node action information;Described node action refers to described joint
The action that node in point list can call after broadcasting, described node action is used for describing this node and points to the follow-up joint of connection
The situation of point;One node action energy and the subsequent node connection of a node can only be described;This node is present node;
One described present node have M subsequent node (M >=0, M is integer);
Further, described node action information comprises node action index, node action type, subsequent node information;Its
In,
Described node action index refers to access the identification code of this node action information;Only by accessing and reading node
Action message, just can call this node action, and then play its subsequent node pointing to connection;Described node index and described joint
Point action index all passes through numeric representation;The node index of described present node calls the node action index of node action with it
Numerical value is identical;
Described node action type includes Next type, Select type, Break type, Continue type, Jump type;Wherein,
Next type, is used for describing direct between present node and its subsequent node and unique annexation;Described currently
Node is father node, and described subsequent node is child node;One described father node has and can only have a child node (i.e. M=1);
Select type, the one being used for describing between present node and its subsequent node may select annexation;Described work as
Front nodal point is branch's father node, and described subsequent node is option child node;One described branch father node has P option joint
Point (P >=1, P is integer);
Break type, is used for describing present node and does not reconnect subsequent node (i.e. M=0);Described present node also referred to as interrupts
Node;
Continue type, is used for describing direct between present node and its subsequent node and unique annexation, and institute
Before and after stating, two nodes belong to different chapters and sections;Described present node is front chapters and sections father node, and described subsequent node is follow-up chapter
Knot node;Described front chapters and sections father node has and can only have a following sections child node (i.e. M=1);
Jump type, is used for describing present node with its subsequent node for redirecting relation;Described subsequent node is the non-of other
Any one in present node;
Further, described option child node is button-type node, and other nodes are plain edition node;
Described subsequent node information, is specially this node action and points to the node index of the subsequent node connected;
Described chapters and sections information list, for the set for writing chapters and sections information;Described chapters and sections information comprise chapters and sections index and
Section name;
Described extension information list, for for writing described branching selection structure electrical document and the interactive mode being generated by
The set of the extension information of reading electronic book;Described extension information includes its front cover, works brief introduction, author, works type etc.
Information;
Interface editing module described in B, for realizing the visual edit of described branching selection structure electrical document;Specifically
For, open the visualization interface of described editing equipment, newly-built at described visualization interface, edit described branching selection structured documents
Update the branching selection structure electrical document data structure of described Data Serialization module creation accordingly;Wherein,
B1 on described editing equipment a newly-built blank interactive reading electronic book or open one existing alternately
While formula reading electronic book, open the visual edit interface of described editing equipment;
When a newly-built described interactive reading electronic book, after opening described visual edit interface, generate in text
Hold the start node information for sky, be inserted into the branching selection structure electrical document data knot of described Data Serialization module creation
In the node listing of structure, render blank start node at described visual edit interface simultaneously;
Described blank start node, refers to describe the node of the initial content of text of described interactive reading electronic book, its
Content of text is empty;
When opening an existing described interactive reading electronic book, resolve described existing interactive mode by unserializing
During reading electronic book obtains the data structure of its branching selection structure electrical document and is loaded into the internal memory of described editing equipment, root
This branching selection structured documents is rendered at described visual edit interface according to its data structure;
Then B2 conceives according to author, by calling and load node action functional unit and blank node assembly, in institute
Stating newly-built in visual edit interface, editor's branching selection structured documents, correspondence updates described Data Serialization module simultaneously
The branching selection structure electrical document data structure created;
Further, when described node action functional unit is called, corresponding renewal described branching selection structure electrical literary composition
The node action list of file data structure, renders this node action at described visual edit interface simultaneously;
Joint in the corresponding described branching selection structure electrical document data structure of the type of described node action functional unit
Point type of action;
When described blank node assembly is called, the described branching selection structure electrical document data structure of corresponding renewal
Node listing, renders this blank node at described visual edit interface simultaneously;
Described blank node be content of text be empty node;The choosing of the type of described blank node assembly corresponding described branch
Select the node type in structure electrical document data structure;
Described editor's branching selection structured documents, specially adds, revises, deletes in described branching selection structured documents
Node or relationships between nodes (the most described nodal function assembly);While described editor's branching selection structured documents, accordingly
Update described branching selection structure electrical document data structure, be specially inserted correspondingly into, revise, delete described branching selection knot
List information corresponding in structure data for electronic documents structure;
Text editing module described in C, specifically, at branching selection structured documents described in described visual edit interface editing
The content of text of interior joint, updates the literary composition of described branching selection structure electrical document data structure interior joint list simultaneously accordingly
This content;Described editor is the most newly-built, change or delete described content of text and text formatting editor;
Node label module described in D, for marking the node in described branching selection structured documents, in order to more efficiently
Search the node in described branching selection structured documents and edit described branching selection structured documents;
Further, described node label module, specifically, full traversal mode marks in described branching selection structured documents
All nodes;Described mark, refers to the type according to described branching selection structured documents interior joint and the node action called thereof
The difference of type, uses different colors and/or shape to render this node.
The embodiment of the present invention provides a kind of method realizing branching selection structure electrical documents editing, including:
S1 creates the data structure of described branching selection structure electrical document;Specifically, create in the internal memory of editing equipment
Build node listing, node action list, chapters and sections node listing, extension information list;Wherein,
Described node listing, node action list, chapters and sections information list, information list is the most above-mentioned realizes branching selection in extension
In the branching selection structure electrical document data structure of Data Serialization module construction described in structure electrical document editing system
Node listing, node action list, chapters and sections information list, extension information list described in;
S2 opens the visualization interface of described editing equipment, newly-built at described visualization interface, edit described branching selection
Structured documents and update described branching selection structure electrical document data structure accordingly;Specifically,
A newly-built blank interactive reading electronic book or open an existing interactive mode on described editing equipment
While reading electronic book, open the visual edit interface of described editing equipment;When a newly-built described interactive reading electricity
During the philosophical works, after opening described visual edit interface, generating content of text is empty start node information, is inserted into described point
Prop up in the node listing of choice structure data for electronic documents structure, render blank initial joint simultaneously at described visual edit interface
Point;When opening an existing described interactive reading electronic book, resolve described existing interactive reading by unserializing
During e-book obtains the data structure of its branching selection structure electrical document and is loaded into the internal memory of described editing equipment, according to it
Data structure renders this branching selection structured documents at described visual edit interface;
Described blank start node, refers to describe the node of the initial content of text of described interactive reading electronic book, its
Content of text is empty;
Then conceive according to author, by calling and load node action functional unit and blank node assembly, described
In visual edit interface, newly-built, editor's branching selection structured documents, updates described branching selection structure electrical simultaneously accordingly
Document data structure;
Further, when described node action functional unit is called, corresponding renewal described branching selection structure electrical literary composition
The node action list of file data structure, renders this node action at described visual edit interface simultaneously;Described blank joint
When point assembly is called, the corresponding node listing updating described branching selection structure electrical document data structure, simultaneously described
Visual edit interface renders this blank node;Described editor's branching selection structured documents, specially adds, revises, deletes institute
State the node in branching selection structured documents or relationships between nodes (the most described nodal function assembly);At described editor's branching selection
While structured documents, update described branching selection structure electrical document data structure accordingly, be specially inserted correspondingly into, repair
Change, delete list information corresponding in described branching selection structure electrical document data structure;
Joint in the corresponding described branching selection structure electrical document data structure of the type of described node action functional unit
Point type of action;Described blank node be content of text be empty node;Divide described in the type correspondence of described blank node assembly
Prop up the node type in choice structure data for electronic documents structure;
S3 is at the content of text of branching selection structured documents interior joint described in described visual edit interface editing, simultaneously
Update the content of text of described branching selection structure electrical document data structure interior joint list accordingly;
Described editor is the most newly-built, change or delete described content of text and text formatting editor;
S4 marks the node in described branching selection structured documents, in order to search described branching selection structure more efficiently
Node in document and the described branching selection structured documents of editor;
Further, specifically, use the whole nodes in branching selection structured documents described in full traversal mode labelling;Described
Labelling, refers to the type according to described branching selection structured documents interior joint and the difference of node action type called thereof, adopts
With node described in different colors and/or shape tag.
The present invention provides a kind of system and method realizing branching selection structure electrical documents editing, first at editing equipment
Internal memory creates the data structure of branching selection structure electrical document;And then newly-built by the visualization interface at editing equipment,
Editor's branching selection structured documents and accordingly renewal branching selection structure electrical document data structure;And editor's branching selection
The content of text of structured documents interior joint saves with updating accordingly in described branching selection structure electrical document data structure simultaneously
The content of text of point list;Finally the node in mark branching selection structured documents is to search and follow-up editor.By above-mentioned
Realize the system and method for branching selection structure electrical documents editing, solve editor's problem of branching selection structure electrical document,
And then the editor realizing novel class subject matter interactive mode reading electronic book generates.This interactive mode reading electronic book achieves reader and electricity
The philosophical works mutual, makes reader can even be determined the developing direction of the works story of a play or opera by Mutual Impacts, improve the enjoyment read and
Property of participation.
Accompanying drawing explanation
The composition of a kind of system realizing branching selection structure electrical documents editing that Fig. 1 provides for the embodiment of the present invention 1
Structural representation;
The flow process of a kind of method realizing branching selection structure electrical documents editing that Fig. 2 provides for the embodiment of the present invention 2
Figure.
Detailed description of the invention
Beneficial effect for making the purpose of the embodiment of the present invention, technical scheme and acquirement is clearer, below in conjunction with the accompanying drawings,
Technical scheme in the embodiment of the present invention is clearly and completely stated.It is understood that embodiment described herein is only
For instruction and explanation of the present invention, it is not intended to limit the present invention.Based on the embodiment in the present invention, those skilled in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The composition of a kind of system realizing branching selection structure electrical documents editing that Fig. 1 provides for the embodiment of the present invention 1
Structural representation, as it is shown in figure 1, this system includes Data Serialization module 101, interface editing module 102, text editing module
103, node label module 104;Wherein,
Data Serialization module 101, for the establishment of the data structure of described branching selection structure electrical document;It is specially
Node listing, node action list, chapters and sections node listing, extension information list is created in the internal memory of editing equipment;Wherein,
Described node listing, for the set for writing nodal information;Described node is described branching selection structure electrical
Document and the interactive reading electronic book thus generated realize the minimum carrier of branching selection playing function, are the choosings of described branch
Select the least unit of structure electrical document;Described branching selection structure electrical document by N number of (N >=2, N is integer) node group
Become;
Described nodal information comprises node index, affiliated chapters and sections information, node type information, content of text, nodal information;
Wherein,
Described node index refers to access the identification code of described nodal information;Only by accessing and reading nodal information,
This node could be play accordingly;
Described affiliated chapters and sections information, is specially this node chapters and sections of chapters and sections belonging in described interactive reading electronic book
Index;
Described node type information, for the type of flag node;Described node is divided into plain edition node by node type
With button-type node;Described plain edition node, can only describe word content, not have interactive function;Described button-type node, both remembered
State word content, have again interactive function;
Described content of text, refers to the some words for describing described interactive reading electronic book works content;
Described point spread information, for realizing this node expanded function when playing;
Described node action list, for the set for writing node action information;Described node action refers to described joint
The action that node in point list can call after broadcasting, described node action is used for describing this node and points to the follow-up joint of connection
The situation of point;One node action energy and the subsequent node connection of a node can only be described;This node is present node;
One described present node have M subsequent node (M >=0, M is integer);
Described node action information comprises node action index, node action type, subsequent node information;Wherein,
Described node action index refers to access the identification code of this node action information;Only by accessing and reading node
Action message, just can call this node action, and then play its subsequent node pointing to connection;Described node index and described joint
Point action index all passes through numeric representation;The node index of described present node calls the node action index of node action with it
Numerical value is identical;
Described node action type includes Next type, Select type, Break type, Continue type, Jump type;Wherein,
Next type, is used for describing direct between present node and its subsequent node and unique annexation;Described currently
Node is father node, and described subsequent node is child node;One described father node has and can only have a child node (i.e. M=1);
Select type, the one being used for describing between present node and its subsequent node may select annexation;Described work as
Front nodal point is branch's father node, and described subsequent node is option child node;One described branch father node has P option joint
Point (P >=1, P is integer);
Break type, is used for describing present node and does not reconnect subsequent node (i.e. M=0);Described present node also referred to as interrupts
Node;
Continue type, is used for describing direct between present node and its subsequent node and unique annexation, and institute
Before and after stating, two nodes belong to different chapters and sections;Described present node is front chapters and sections father node, and described subsequent node is follow-up chapter
Knot node;Described front chapters and sections father node has and can only have a following sections child node (i.e. M=1);
Jump type, is used for describing present node with its subsequent node for redirecting relation;Described subsequent node is the non-of other
Any one in present node;
Further, described option child node is button-type node, and other nodes are plain edition node;
Described subsequent node information, is specially this node action and points to the node index of the subsequent node connected;
Described chapters and sections information list, for the set for writing chapters and sections information;Described chapters and sections information comprise chapters and sections index and
Section name;
Described extension information list, for for writing described branching selection structure electrical document and the interactive mode being generated by
The set of the extension information of reading electronic book;Described extension information includes its front cover, works brief introduction, author, works type etc.
Information;
Interface editing module 102, for realizing the visual edit of described branching selection structure electrical document;Specifically,
Open the visualization interface of described editing equipment, newly-built at described visualization interface, edit described branching selection structured documents and
Update the branching selection structure electrical document data structure of described Data Serialization module creation accordingly;Wherein,
A newly-built blank interactive reading electronic book or open an existing interactive mode on described editing equipment
While reading electronic book, open the visual edit interface of described editing equipment;
When a newly-built described interactive reading electronic book, after opening described visual edit interface, generate in text
Hold the start node information for sky, be inserted into the branching selection structure electrical document data knot of described Data Serialization module creation
In the node listing of structure, render blank start node at described visual edit interface simultaneously;
Described blank start node, refers to describe the node of the initial content of text of described interactive reading electronic book, its
Content of text is empty;
When opening an existing described interactive reading electronic book, resolve described existing interactive mode by unserializing
During reading electronic book obtains the data structure of its branching selection structure electrical document and is loaded into the internal memory of described editing equipment, root
This branching selection structured documents is rendered at described visual edit interface according to its data structure;
Then conceive according to author, by calling and load node action functional unit 1021 and blank node assembly
1022, newly-built in described visual edit interface, editor's branching selection structured documents 1023, correspondence updates described number simultaneously
The branching selection structure electrical document data structure created according to serialization module;
Further, when described node action functional unit is called, corresponding renewal described branching selection structure electrical literary composition
The node action list of file data structure, renders this node action at described visual edit interface simultaneously;
Joint in the corresponding described branching selection structure electrical document data structure of the type of described node action functional unit
Point type of action;
When described blank node assembly is called, the described branching selection structure electrical document data structure of corresponding renewal
Node listing, renders this blank node at described visual edit interface simultaneously;
Described blank node be content of text be empty node;The choosing of the type of described blank node assembly corresponding described branch
Select the node type in structure electrical document data structure;
Described editor's branching selection structured documents, specially adds, revises, deletes in described branching selection structured documents
Node or relationships between nodes (the most described nodal function assembly);While described editor's branching selection structured documents, accordingly
Update described branching selection structure electrical document data structure, be specially inserted correspondingly into, revise, delete described branching selection knot
List information corresponding in structure data for electronic documents structure;
Text editing module 103, specifically, in branching selection structured documents described in described visual edit interface editing
The content of text of node, updates the text of described branching selection structure electrical document data structure interior joint list simultaneously accordingly
Content;Described editor is the most newly-built, change or delete described content of text and text formatting editor;
Node label module 104, for marking the node in described branching selection structured documents, in order to look into more efficiently
Look for the node in described branching selection structured documents and edit described branching selection structured documents;
Further, described node label module, specifically, full traversal mode marks in described branching selection structured documents
All nodes;Described mark, refers to the type according to described branching selection structured documents interior joint and the node action called thereof
The difference of type, uses different colors and/or shape to render this node.
The embodiment of the present invention 2 provides a kind of method realizing branching selection structure electrical documents editing, as in figure 2 it is shown, should
Method includes:
Step 201, creates the data structure of described branching selection structure electrical document;Specifically, in editing equipment
Deposit middle establishment node listing, node action list, chapters and sections node listing, extension information list;Wherein, described node listing, joint
Point action lists, chapters and sections information list, extension information list realize in branching selection structure electrical document editing system as above-mentioned
Node listing in the branching selection structure electrical document data structure of described Data Serialization module construction, node action row
Described in table, chapters and sections information list, extension information list;
Step 202, opens the visualization interface of described editing equipment, described point of, editor newly-built at described visualization interface
Prop up choice structure document and update described branching selection structure electrical document data structure accordingly;Specifically,
A newly-built blank interactive reading electronic book or open an existing interactive mode on described editing equipment
While reading electronic book, open the visual edit interface of described editing equipment;When a newly-built described interactive reading electricity
During the philosophical works, after opening described visual edit interface, generating content of text is empty start node information, is inserted into described point
Prop up in the node listing of choice structure data for electronic documents structure, render blank initial joint simultaneously at described visual edit interface
Point;When opening an existing described interactive reading electronic book, resolve described existing interactive reading by unserializing
During e-book obtains the data structure of its branching selection structure electrical document and is loaded into the internal memory of described editing equipment, according to it
Data structure renders this branching selection structured documents at described visual edit interface;Described blank start node, refers to describe
The node of the content of text that described interactive reading electronic book is initial, its content of text is empty;
Then conceive according to author, by calling and load node action functional unit and blank node assembly, described
In visual edit interface, newly-built, editor's branching selection structured documents, updates described branching selection structure electrical simultaneously accordingly
Document data structure;During specifically, described node action functional unit is called, corresponding renewal described branching selection structure electricity
The node action list of subdocument data structure, renders this node action at described visual edit interface simultaneously;Described sky
When white node component is called, the corresponding node listing updating described branching selection structure electrical document data structure, exist simultaneously
Described visual edit interface renders this blank node;Described editor's branching selection structured documents, specially adds, revises, deletes
Except the node in described branching selection structured documents or relationships between nodes (the most described nodal function assembly);In described editor branch
While choice structure document, update described branching selection structure electrical document data structure accordingly, be specially and insert accordingly
Enter, revise, delete list information corresponding in described branching selection structure electrical document data structure;
Joint in the corresponding described branching selection structure electrical document data structure of the type of described node action functional unit
Point type of action;Described blank node be content of text be empty node;Divide described in the type correspondence of described blank node assembly
Prop up the node type in choice structure data for electronic documents structure;
Step 203, in the text of branching selection structured documents interior joint described in described visual edit interface editing
Hold, update the content of text of described branching selection structure electrical document data structure interior joint list simultaneously accordingly;Described volume
Volume the most newly-built, change or delete described content of text and text formatting editor;
Step 204, marks the node in described branching selection structured documents, in order to search the choosing of described branch more efficiently
Select the node in structured documents and edit described branching selection structured documents;Divide described in full traversal mode labelling specifically, use
Prop up the whole nodes in choice structure document;Described labelling, refers to the type according to described branching selection structured documents interior joint
And the difference of the node action type called, use node described in different colors and/or shape tag.
A kind of system and method realizing branching selection structure electrical documents editing provided in above-described embodiment, solves to divide
Prop up editor's problem of choice structure electronic document, and then the editor realizing novel class subject matter interactive mode reading electronic book generates.Should
Interactive reading electronic book achieves the mutual of reader and e-book, makes reader can even determine works play by Mutual Impacts
The developing direction of feelings, improves the enjoyment and property of participation read.
Last it is noted that above example is merely to illustrate technical scheme, it is not intended to limit;Although
Being described in detail the present invention with reference to previous embodiment, those skilled in the art is it is understood that it still can be right
Technical scheme described in foregoing embodiments is modified, or wherein portion of techniques feature is carried out equivalent;And this
A little amendments or replacement, do not make the essence of appropriate technical solution depart from spirit and the model of various embodiments of the present invention technical scheme
Enclose.
Claims (10)
1. the system realizing branching selection structure electrical documents editing, it is characterised in that include Data Serialization module, boundary
Face editor module, text editing module, node label module;Wherein,
Data Serialization module described in A, for the establishment of the data structure of described branching selection structure electrical document;It is specially
The internal memory of editing equipment creates node listing, node action list, chapters and sections node listing, extension information list;Wherein,
Described node listing, for the set for writing nodal information;Described node is described branching selection structure electrical document
And the interactive reading electronic book thus generated realizes the minimum carrier of branching selection playing function, it it is described branching selection knot
The least unit of structure electronic document;Described branching selection structure electrical document is made up of N number of node, and wherein N is whole not less than 2
Number;
Described node action list, for the set for writing node action information;Described node action refers to that described node arranges
The action that node in table can call after broadcasting, described node action points to connection subsequent node for describing this node
Situation;
Described chapters and sections information list, for the set for writing chapters and sections information;
Described extension information list, for for writing described branching selection structure electrical document and the interactive reading being generated by
The set of the extension information of e-book;
Interface editing module described in B, for realizing the visual edit of described branching selection structure electrical document;Specifically, beat
Open the visualization interface of described editing equipment, newly-built at described visualization interface, edit described branching selection structured documents and right
Ground is answered to update the branching selection structure electrical document data structure of described Data Serialization module creation;
Text editing module described in C, specifically, save in branching selection structured documents described in described visual edit interface editing
The content of text of point, updates in the text of described branching selection structure electrical document data structure interior joint list simultaneously accordingly
Hold;
Node label module described in D, for marking the node in described branching selection structured documents.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 1, it is characterised in that
Described nodal information comprises node index, affiliated chapters and sections information, node type information, content of text;Wherein,
Described node index refers to access the identification code of described nodal information;
Chapters and sections information belonging to described, is specially this node chapters and sections index of chapters and sections belonging in described interactive reading electronic book;
Described node type information, for the type of flag node;Described node by node type be divided into plain edition node and by
Button type node;Described plain edition node, can only describe word content, not have interactive function;Described button-type node, had both described literary composition
Word content, has again interactive function;
Described content of text, refers to the some words for describing described interactive reading electronic book works content.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 2, it is characterised in that
Described nodal information also comprises point spread information, for realizing this node expanded function when playing.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 2, it is characterised in that one
Individual described node action energy and the subsequent node connection of a described node can only be described;This node is present node;One
Individual described present node has M subsequent node, and wherein M is nonnegative integer;
Described node action information comprises node action index, node action type, subsequent node information;Wherein,
Described node action index refers to access the identification code of this node action information;
Described node action type includes Next type, Select type, Break type, Continue type, Jump type;Wherein,
Described Next type, is used for describing direct between described present node and its subsequent node and unique annexation;Described
Present node is father node, and described subsequent node is child node;One described father node has and can only have a described child node;
Described Select type, the one being used for describing between described present node and its subsequent node may select annexation;Institute
Stating present node is branch's father node, and described subsequent node is option child node;One described branch father node has P option
Child node, wherein P is positive integer;
Described Break type, is used for describing described present node and does not reconnect subsequent node;Described present node also referred to as interrupts joint
Point;
Described Continue type, is used for describing direct between described present node and its subsequent node and unique annexation,
And two nodes belong to different chapters and sections before and after described;Described present node is front chapters and sections father node, after described subsequent node is
Continuous chapters and sections child node;Described front chapters and sections father node has and can only have a following sections child node;
Described Jump type, is used for describing described present node with its subsequent node for redirecting relation;Described subsequent node is other
Non-present node in any one;
Described option child node is described button-type node, and other described nodes are described plain edition node;
Described subsequent node information, is specially this node action and points to the node index of the subsequent node connected.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 1, it is characterised in that institute
The process that realizes stating interface editing module includes,
B1 newly-built blank interactive reading electronic book or open an existing interactive mode and read on described editing equipment
While reading e-book, open the visual edit interface of described editing equipment;
When a newly-built described interactive reading electronic book, after opening described visual edit interface, generating content of text is
Empty start node information, is inserted into the branching selection structure electrical document data structure of described Data Serialization module creation
In node listing, render blank start node at described visual edit interface simultaneously;
When opening an existing described interactive reading electronic book, resolve described existing interactive reading by unserializing
During e-book obtains the data structure of its branching selection structure electrical document and is loaded into the internal memory of described editing equipment, according to it
Data structure renders this branching selection structured documents at described visual edit interface;
B2 then according to author conceive, by calling and load node action functional unit and blank node assembly, described can
Depending on changing newly-built, editor's branching selection structured documents in editing interface, correspondence updates described Data Serialization module creation simultaneously
Branching selection structure electrical document data structure.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 5, it is characterised in that institute
When the node action functional unit stated is called, the corresponding node updating described branching selection structure electrical document data structure moves
Make list, render this node action at described visual edit interface simultaneously;
When described blank node assembly is called, the corresponding node updating described branching selection structure electrical document data structure
List, renders this blank node at described visual edit interface simultaneously;
Described editor's branching selection structured documents, the node specially adding, revising, delete in described branching selection structured documents
Or relationships between nodes (the most described nodal function assembly);While described editor's branching selection structured documents, update accordingly
Described branching selection structure electrical document data structure, is specially inserted correspondingly into, revises, deletes described branching selection structure
List information corresponding in data for electronic documents structure.
A kind of system realizing branching selection structure electrical documents editing the most according to claim 1, it is characterised in that institute
State labeling module, specifically, full traversal mode marks the whole nodes in described branching selection structured documents;Described mark, be
Refer to, according to the type of described branching selection structured documents interior joint and the difference of node action type called thereof, use different
Color and/or shape render this node.
8. the method realizing branching selection structure electrical documents editing, it is characterised in that including:
S1 creates the data structure of described branching selection structure electrical document;Specifically, create joint in the internal memory of editing equipment
Point list, node action list, chapters and sections node listing, extension information list;
Described node listing, for the set for writing nodal information;Described node is described branching selection structure electrical document
And the interactive reading electronic book thus generated realizes the minimum carrier of branching selection playing function, it it is described branching selection knot
The least unit of structure electronic document;Described branching selection structure electrical document is made up of N number of node, and wherein N is whole not less than 2
Number;
Described node action list, for the set for writing node action information;Described node action refers to that described node arranges
The action that node in table can call after broadcasting, described node action points to connection subsequent node for describing this node
Situation;
Described chapters and sections information list, for the set for writing chapters and sections information;
Described extension information list, for for writing described branching selection structure electrical document and the interactive reading being generated by
The set of the extension information of e-book;
S2 opens the visualization interface of described editing equipment, newly-built at described visualization interface, edit described branching selection structure
Document and accordingly renewal branching selection structure electrical document data structure;
S3 is at the content of text of branching selection structured documents interior joint described in described visual edit interface editing, the most corresponding
Ground updates the content of text of described branching selection structure electrical document data structure interior joint list;
S4 marks the node in described branching selection structured documents.
A kind of method realizing branching selection structure electrical documents editing the most according to claim 8, it is characterised in that
Described node listing, node action list, chapters and sections information list, extension information list are arbitrary described with claim 1-7
A kind of system realizing branching selection structure electrical documents editing in node listing, node action list, chapters and sections information row
Table, extension information list.
A kind of method realizing branching selection structure electrical documents editing the most according to claim 8, it is characterised in that
Described newly-built at visualization interface, edit described branching selection structured documents and update branching selection structure electrical literary composition accordingly
File data structure, specifically,
A newly-built blank interactive reading electronic book or open one and existing interactive read on described editing equipment
While e-book, open the visual edit interface of described editing equipment;When a newly-built described interactive reading electronic book
Time, after opening described visual edit interface, generating content of text is empty start node information, is inserted into described data sequence
In the node listing of the branching selection structure electrical document data structure changing module creation, simultaneously at described visual edit interface
Render blank start node;When opening the most described existing interactive reading electronic book, by unserializing resolve described in
The interactive reading electronic book having obtains the data structure of its branching selection structure electrical document and is loaded into described editing equipment
Internal memory in, render this branching selection structured documents according to its data structure at described visual edit interface;
Then according to author conceive, by calling and load node action functional unit and blank node assembly, described visually
Changing newly-built in editing interface, editor's branching selection structured documents, correspondence updates described Data Serialization module creation simultaneously
Branching selection structure electrical document data structure;When described node action functional unit is called, the described branch of corresponding renewal
The node action list of choice structure data for electronic documents structure, renders this node simultaneously and moves at described visual edit interface
Make;When described blank node assembly is called, the corresponding node updating described branching selection structure electrical document data structure
List, renders this blank node at described visual edit interface simultaneously;Described editor's branching selection structured documents, specially adds
The node add, revise, deleted in described branching selection structured documents or relationships between nodes (the most described nodal function assembly);Institute
While stating editor's branching selection structured documents, update described branching selection structure electrical document data structure accordingly, specifically
For being inserted correspondingly into, revise, delete in described branching selection structure electrical document data structure the list information of correspondence;
Node in described mark branching selection structured documents, specifically, use branching selection knot described in full traversal mode labelling
Whole nodes in structure document;Described labelling, refers to the type according to described branching selection structured documents interior joint and calls
The difference of node action type, use node described in different colors and/or shape tag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610578831.6A CN106227716B (en) | 2016-07-21 | 2016-07-21 | A kind of system and method for realizing branching selection structure electrical documents editing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610578831.6A CN106227716B (en) | 2016-07-21 | 2016-07-21 | A kind of system and method for realizing branching selection structure electrical documents editing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106227716A true CN106227716A (en) | 2016-12-14 |
CN106227716B CN106227716B (en) | 2019-01-18 |
Family
ID=57531173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610578831.6A Active CN106227716B (en) | 2016-07-21 | 2016-07-21 | A kind of system and method for realizing branching selection structure electrical documents editing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227716B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092586A (en) * | 2017-04-15 | 2017-08-25 | 上海地阳实业有限公司 | A kind of interactive network fiction editor platform and edit methods |
CN107451265A (en) * | 2017-07-31 | 2017-12-08 | 广州网嘉玩具科技开发有限公司 | A kind of story platform based on Internet of Things and artificial intelligence technology |
CN107644005A (en) * | 2017-08-17 | 2018-01-30 | 珠海云游道科技有限责任公司 | Visible document file editing device and method |
CN108829654A (en) * | 2018-05-30 | 2018-11-16 | 互影科技(北京)有限公司 | A kind of interaction script editor's method and apparatus |
CN111832263A (en) * | 2019-04-15 | 2020-10-27 | 北京智启蓝墨信息技术有限公司 | Editing method and device of intelligent teaching material |
CN115357704A (en) * | 2022-10-19 | 2022-11-18 | 深圳市人马互动科技有限公司 | Processing method and related device for heterogeneous plot nodes in voice interaction novel |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501282A (en) * | 2002-11-12 | 2004-06-02 | 英业达股份有限公司 | E-book making implements platform system and method thereof |
CN101616224A (en) * | 2008-06-23 | 2009-12-30 | 富士施乐株式会社 | Document file management system, document management apparatus and document management method |
CN102136199A (en) * | 2011-03-10 | 2011-07-27 | 刘超 | On-line electronic book reader and on-line electronic book editor |
CN102317933A (en) * | 2009-01-02 | 2012-01-11 | 苹果公司 | Content Profiling to Dynamically Configure Content Processing |
CN105335421A (en) * | 2014-08-06 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for making and displaying e-book expansion content |
US9268754B1 (en) * | 2012-08-02 | 2016-02-23 | Amazon Technologies, Inc. | Adaptive editing in user interface applications |
-
2016
- 2016-07-21 CN CN201610578831.6A patent/CN106227716B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501282A (en) * | 2002-11-12 | 2004-06-02 | 英业达股份有限公司 | E-book making implements platform system and method thereof |
CN101616224A (en) * | 2008-06-23 | 2009-12-30 | 富士施乐株式会社 | Document file management system, document management apparatus and document management method |
CN102317933A (en) * | 2009-01-02 | 2012-01-11 | 苹果公司 | Content Profiling to Dynamically Configure Content Processing |
CN102136199A (en) * | 2011-03-10 | 2011-07-27 | 刘超 | On-line electronic book reader and on-line electronic book editor |
US9268754B1 (en) * | 2012-08-02 | 2016-02-23 | Amazon Technologies, Inc. | Adaptive editing in user interface applications |
CN105335421A (en) * | 2014-08-06 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for making and displaying e-book expansion content |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092586A (en) * | 2017-04-15 | 2017-08-25 | 上海地阳实业有限公司 | A kind of interactive network fiction editor platform and edit methods |
CN107451265A (en) * | 2017-07-31 | 2017-12-08 | 广州网嘉玩具科技开发有限公司 | A kind of story platform based on Internet of Things and artificial intelligence technology |
CN107644005A (en) * | 2017-08-17 | 2018-01-30 | 珠海云游道科技有限责任公司 | Visible document file editing device and method |
CN107644005B (en) * | 2017-08-17 | 2023-12-01 | 珠海云游道科技有限责任公司 | Visual document editing device and method |
CN108829654A (en) * | 2018-05-30 | 2018-11-16 | 互影科技(北京)有限公司 | A kind of interaction script editor's method and apparatus |
CN111832263A (en) * | 2019-04-15 | 2020-10-27 | 北京智启蓝墨信息技术有限公司 | Editing method and device of intelligent teaching material |
CN111832263B (en) * | 2019-04-15 | 2024-04-02 | 北京智启蓝墨信息技术有限公司 | Editing method and device for intelligent teaching materials |
CN115357704A (en) * | 2022-10-19 | 2022-11-18 | 深圳市人马互动科技有限公司 | Processing method and related device for heterogeneous plot nodes in voice interaction novel |
CN115357704B (en) * | 2022-10-19 | 2023-02-10 | 深圳市人马互动科技有限公司 | Processing method and related device for heterogeneous plot nodes in voice interaction novel |
Also Published As
Publication number | Publication date |
---|---|
CN106227716B (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227716B (en) | A kind of system and method for realizing branching selection structure electrical documents editing | |
Garrett et al. | Intermedia: Issues, strategies, and tactics in the design of a hypermedia document system | |
CN103197929B (en) | A kind of graphic programming system and method for children-oriented | |
De Seta | Biaoqing: The circulation of emoticons, emoji, stickers, and custom images on Chinese digital media platforms | |
CN102136199A (en) | On-line electronic book reader and on-line electronic book editor | |
CN107315580A (en) | Component processing method, device and the equipment of user interface, computer-readable recording medium | |
CN101375314A (en) | Character clothing deciding device, character clothing deciding method, and character clothing deciding program | |
CN104407863A (en) | Abstract control model programming device and method | |
Gillam | Unicode demystified: a practical programmer's guide to the encoding standard | |
CN107786432A (en) | Information displaying method, device, computer installation and calculating readable storage medium storing program for executing | |
CN106202024A (en) | A kind of system, method and client realizing branching selection structure electrical book editor | |
CN109725902A (en) | A kind of H5 page animation method and system of complex interaction logic | |
CN100356371C (en) | Method of inserting and playing slide in file | |
CN101436307A (en) | Interactive typesetting method and system for formula | |
CN106250007A (en) | A kind of system and method realizing branching selection broadcasting | |
CN108958731A (en) | A kind of Application Program Interface generation method, device, equipment and storage medium | |
CN103544978A (en) | Multimedia file manufacturing and playing method and intelligent terminal | |
CN112685103B (en) | Method, device, equipment and storage medium for making configuration file and playing special effect | |
CN105164739A (en) | Display apparatus for studying mask and method for displaying studying mask | |
CN106294293A (en) | A kind of realize interactive electronic read system, method and apparatus | |
Novak et al. | Visual Studio 2010 and. NET 4 Six-in-One: Visual Studio,. NET, ASP. NET, VB. NET, C#, and F | |
CN106484413A (en) | Document editor and document edit method | |
CN110532233A (en) | A kind of epub document generating method and system | |
CN106033404A (en) | Chapter skipping method and device | |
CN109740125A (en) | Update lookup method, device, storage medium and equipment for Documents Comparison |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |