CN104572620B - A kind of method and apparatus for showing chapters and sections content - Google Patents

A kind of method and apparatus for showing chapters and sections content Download PDF

Info

Publication number
CN104572620B
CN104572620B CN201410854007.XA CN201410854007A CN104572620B CN 104572620 B CN104572620 B CN 104572620B CN 201410854007 A CN201410854007 A CN 201410854007A CN 104572620 B CN104572620 B CN 104572620B
Authority
CN
China
Prior art keywords
chapters
sections
information
text
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410854007.XA
Other languages
Chinese (zh)
Other versions
CN104572620A (en
Inventor
何行舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410854007.XA priority Critical patent/CN104572620B/en
Publication of CN104572620A publication Critical patent/CN104572620A/en
Application granted granted Critical
Publication of CN104572620B publication Critical patent/CN104572620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of methods for generating readable block and chapters and sections index information in the network device, wherein this approach includes the following steps:Obtain text information to be processed, wherein the text information includes the natural language text of a Reading subject;According to the text information, the chapters and sections in the natural language text are identified;The chapters and sections content generation of each chapters and sections is independent readable block, and establishes the chapters and sections index information of the Reading subject, wherein the chapters and sections index information indicates the corresponding informance between readable block corresponding to the chapters and sections and chapters and sections of the Reading subject.According to the solution of the present invention, the speed of text information load can be improved, and enhance the flexibility of the operation to text information.

Description

A kind of method and apparatus for showing chapters and sections content
Technical field
The present invention relates to field of computer technology more particularly to a kind of method and apparatus for showing chapters and sections content.
Background technique
In the prior art, the network equipment is typically directly handled the text information of a literary works as a whole, Therefore, once the partial content in text information updates, the network equipment needs to carry out entire updated text information Again it handles.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus for showing chapters and sections content.
According to an aspect of the present invention, it provides a kind of for generating readable block and chapters and sections rope in the network device The method of fuse breath, wherein this approach includes the following steps:
Obtain text information to be processed, wherein the text information includes the natural language text of a Reading subject;
According to the text information, the chapters and sections in the natural language text are identified;
The chapters and sections content generation of each chapters and sections is independent readable block, and establishes the chapters and sections rope of the Reading subject Fuse breath, wherein the chapters and sections index information indicate readable block corresponding to the chapters and sections and chapters and sections of the Reading subject it Between corresponding informance.
According to another aspect of the present invention, it additionally provides a kind of for showing the side of chapters and sections content in a user device Method, wherein this approach includes the following steps:
Read request is sent to the network equipment, wherein the read request includes the chapters and sections for requesting the Reading subject read Identification information and/or request read chapters and sections identification information;
Receive the chapters and sections content of the Reading subject of network equipment feedback;
The amount of text information that processing information and the chapters and sections for needing to present are shown according to the text of the user equipment, by institute It states and needs the chapters and sections division of teaching contents of the chapters and sections presented at least one piecemeal;
The chapters and sections content an of piecemeal is presented.
According to another aspect of the present invention, it additionally provides a kind of for generating readable block and chapter in the network device Save the device of index information, wherein the device includes:
For obtaining the device of text information to be processed, wherein the text information includes oneself of a Reading subject Right language text;
For identifying the device of the chapters and sections in the natural language text according to the text information;
For the chapters and sections content generation of each chapters and sections to be independent readable block, and establish the chapter of the Reading subject Save the device of index information, wherein the chapters and sections index information indicates can corresponding to the chapters and sections and chapters and sections of the Reading subject Read the corresponding informance between piecemeal.
According to another aspect of the present invention, additionally provide it is a kind of for showing the device of chapters and sections content in a user device, Wherein, which includes:
For sending the device of read request to the network equipment, wherein the read request includes the reading for requesting to read The identification information of the chapters and sections of main body and/or the identification information for requesting the chapters and sections read;
For receiving the device of the chapters and sections content of the Reading subject of network equipment feedback;
For showing the amount of text information of processing information and the chapters and sections for needing to present according to the text of the user equipment, Chapters and sections division of teaching contents by the chapters and sections for needing to present is the device of at least one piecemeal;
The device of the chapters and sections content of a piecemeal for rendering.
Compared with prior art, the present invention has the following advantages that:1) by the way that the chapters and sections content generation of chapters and sections to be independent Readable block, so as to carry out independent operation to readable block, such as updates, adds so as to not couple between readable block Add, delete, and does not interfere with the chapters and sections content of other readable blocks to the operation of a readable block, so that It is more flexible between the chapters and sections content of Reading subject;2) can by the natural language text of the different editions of a Reading subject into Row merges, so that user no longer needs to select back and forth in multiple versions;3) chapters and sections index information can be established based on readable block, from And the independence of readable block is further enhanced, chapters and sections content more quickly can be provided for user equipment, and convenient for using Operation of the family equipment to chapters and sections content;4) user equipment can be to whole chapters and sections contents of network device requests Reading subject, network Equipment establishes chapters and sections index information by the way that chapters and sections generation is independent readable block, can be rapidly to user equipment Requested chapters and sections content is provided, the time waited so as to shorten user;5) user equipment by further to chapters and sections content into Row piecemeal, and guarantee the independence between piecemeal, make it possible to more quickly show piecemeal content, and can rapidly carry out Switching between piecemeal, so that the presentation to text information is more flexible;Also, the chapters and sections that user equipment is fed back based on the network equipment Index information and piecemeal to chapters and sections content, can rapidly and accurately position the piecemeal in chapters and sections and chapters and sections;5) User equipment can be to the chapters and sections content of the particular chapter of network device requests Reading subject, and chapters and sections by being generated as by the network equipment Independent readable block, and chapters and sections index information is established, requested chapters and sections content rapidly can be provided to user equipment, The time waited so as to shorten user.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the side for generating readable block and chapters and sections index information in the network device of one embodiment of the invention Method flow diagram;
Fig. 2 is the method flow schematic diagram of the display chapters and sections content of one embodiment of the invention;
Fig. 3 is the method flow schematic diagram of the display chapters and sections content of another embodiment of the present invention;
Fig. 4 is the dress for generating readable block and chapters and sections index information in the network device of one embodiment of the invention The schematic diagram set;
Fig. 5 is the schematic diagram of the system of the display chapters and sections content of one embodiment of the invention;
Fig. 6 is the schematic diagram of the system of the display chapters and sections content of another embodiment of the present invention.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
Present invention is further described in detail with reference to the accompanying drawing.
Fig. 1 is the side for generating readable block and chapters and sections index information in the network device of one embodiment of the invention The flow diagram of method.
Wherein, the method for the present embodiment is mainly realized by the network equipment;The network equipment includes but is not limited to single A network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing) by big Measure the cloud that computer or network server are constituted, wherein cloud computing is one kind of distributed computing, by the meter of a group loose couplings One super virtual computer of calculation machine collection composition;Network locating for the network equipment includes but is not limited to internet, wide area Net, Metropolitan Area Network (MAN), local area network, VPN network etc..
It should be noted that the network equipment is only for example, other network equipments that are existing or being likely to occur from now on It is such as applicable to the present invention, should also be included within the scope of protection of the present invention, and is incorporated herein by reference.
Method according to the present embodiment includes step S101, step S102 and step S103.
In step s101, the network equipment obtains text information to be processed.
Wherein, the text information includes any text information that can be used in reading;Preferably, the text information can Using a variety of text formattings, such as TXT format, JAR (Java ARchive, Java archive) format, UMD (Universal Mobile Document, General Mobile document) format etc..
Preferably, the text information includes the natural language text of a Reading subject.Wherein, the Reading subject packet Include any main body that can be used in be read with text mode by natural person;Preferably, the Reading subject includes but unlimited In literary works such as novel, prose, albums.Wherein, the natural language text includes the text in text information for reading Content, such as novel content.
Specifically, the network equipment can be used various ways and obtain text information to be processed.
For example, the network equipment can directly acquire the text information to be processed of user's upload.
In another example the network equipment obtains text information to be processed from website.For example, the net that the network equipment is serviced from it The text information for the novel that author is updated is obtained on standing.
Preferably, the step S101 further comprises step S101-1 and step S101-2.
In step S101-1, the network equipment obtains the natural language text of multiple and different versions of the Reading subject.
Preferably, the natural language text of the different editions from from different websites.
For example, the network equipment obtains the natural language text TXT1 from the first website of novel A, from the second website Natural language text TXT2 and natural language text TXT3 from third website.
In step S101-2, the network equipment passes through the natural language text for comparing and merging the multiple different editions, Obtain the text information to be processed.
For example, the network equipment obtains the natural language text from the first website of novel A in step S101-1 TXT1, the natural language text TXT2 from the second website and the natural language text TXT3 from third website;In step In S101-2, the network equipment is compared and merges to TXT1, TXT2, TXT3, and using the TXT4 after merging as to be processed Text information.
Wherein, it is literary by the natural language for comparing and merging the multiple different editions that various ways can be used in the network equipment This, obtains the text information to be processed.
For example, the network equipment compares the content similarity of multiple different editions, and root based on natural language processing technique Merge to obtain text information to be processed according to comparison result.Such as, the network equipment be based on natural language processing technique compare TXT1, TXT2, TXT3 are learnt:The full content of TXT1 is identical as preceding the 60% of TXT2 content, rear 50% content and TXT3 of TXT2 Preceding 30% content it is identical;Then the network equipment extracts after 50% content before TXT2 and TXT3 70% content, and by two Person merges, and the TXT4 after being merged is as text information to be processed.
In another example when the chapters and sections in the natural language text that the network equipment can identify each version of multiple and different versions When, for each chapters and sections, multiple versions corresponding to the chapters and sections are compared in the network equipment, and merging obtains the chapters and sections and corresponds to Text information to be processed.Such as, TXT5, TXT6, TXT7 are the natural language processing text of three different editions of novel B, Three different editions can recognize that 3 chapters and sections of novel B:Chapters and sections one, chapters and sections two, chapters and sections three;The network equipment passes through to every A chapters and sections content corresponding in TXT5, TXT6, TXT7 is compared, and learns:The content corresponding in TXT5 of chapters and sections one Data volume it is maximum, the data volume of the content corresponding in TXT7 of chapters and sections two is maximum, in chapters and sections three are corresponding in TXT6 The data volume of appearance is maximum;Then the network equipment is corresponding in TXT7 by the content corresponding in TXT5 of chapters and sections one, chapters and sections two Content, chapters and sections three content corresponding in TXT6 merge, and will merge obtained TXT8 as text envelope to be processed Breath.Wherein, the implementation of the chapters and sections in network equipment identification natural language text will be described in detail subsequent.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any obtain text information to be processed, wherein the text information includes one The implementation of the natural language text of Reading subject, should be included in the scope of the present invention.
In step s 102, the network equipment identifies the chapters and sections in the natural language text according to the text information.
Wherein, identify that the operation of the chapters and sections in the natural language text is performed based at least one of following:
1) text feature information including in natural language text, meeting predetermined format.
Wherein, the predetermined format includes any format that is scheduled, can indicating chapters and sections.Preferably, described pre- to fix Formula includes text formatting, number format, text and the format that is combined of number etc..For example, predetermined format " X chapter " is used to indicate certainly " X " a chapters and sections of right language text, wherein " X " is Arabic numerals;" the 1st chapter " for then including in natural language text be Meet the text feature information of the predetermined format.In another example predetermined format is the Arabic numerals or Chinese-character digital of independent a line, " 1 " or " one " of a line that then include in natural language text, independent is the text feature information for meeting the predetermined format.
For example, in step s 102, the network equipment be directly based upon it is including in natural language text, meet " X chapter " The text feature information of predetermined format identifies the chapters and sections in natural language text.
2) include in the text information, chapter marker information.
Wherein, the chapter marker information includes any for marking the information of chapters and sections;Preferably, the chapter marker letter Breath includes but is not limited to the label for marking chapters and sections, such as Tag;It is highly preferred that the chapter marker information is not included in certainly In right language text.
It is highly preferred that the chapter marker information in text information is usually by mentioning if text information comes from other websites It is generated for other websites of text information;Alternatively, the chapter marker information can be held by the network equipment in execution step S101 It generates and is added in text information in capable process.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the text information, identify the chapters and sections in the natural language text Implementation should be included in the scope of the present invention.
In step s 103, the chapters and sections content generation of each chapters and sections is independent readable block by the network equipment, and is built Found the chapters and sections index information of the Reading subject.Wherein, without directly coupled relation between each independent readable block.
Wherein, the chapters and sections index information indicate readable block corresponding to the chapters and sections and chapters and sections of the Reading subject it Between corresponding informance.
Preferably, the chapters and sections index information includes the identification information of chapters and sections;The chapters and sections index information is based on chapters and sections Identification information indicates the corresponding relationship between readable block corresponding to the chapters and sections and chapters and sections of Reading subject.
For example, chapters and sections index information includes the identification information of each chapters and sections;Wherein, identification information Chapter1 is for identifying First chapters and sections of Reading subject, and readable block corresponding to first chapters and sections is identified simultaneously.
It is highly preferred that the chapters and sections index information further includes the identification information of the corresponding readable block of chapters and sections;The chapter Section index information indicate the identification information of chapters and sections and between the identification information of readable block corresponding to chapters and sections one One corresponding relationship.
For example, chapters and sections index information includes the mark of readable block corresponding to the identification information and each chapters and sections of chapters and sections Know information, and indicates the one-to-one relationship between the identification information of chapters and sections and the identification information of readable block;Wherein, chapter The identification information Chapter1 of section is used for first chapters and sections of tag reader main body, has corresponding relationship with Chapter1 Block1 is for identifying readable block corresponding to first chapters and sections.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System it should be appreciated by those skilled in the art that any be independent readable block for the chapters and sections content generation of each chapters and sections, and is built The implementation for founding the chapters and sections index information of the Reading subject, should be included in the scope of the present invention.
As a preferred embodiment, the further comprising the steps of S104 of the scheme of the present embodiment and step S105.
In step S104, the network equipment obtains the replacement content of the identification information and the chapters and sections that need the chapters and sections replaced Information.
Wherein, the identification information of the chapters and sections includes any for identifying the information of chapters and sections.Preferably, the identification information Chapter marker information including the chapters and sections for needing to replace.
Specifically, the network equipment obtains the replacement content information of the identification information and the chapters and sections that need the chapters and sections replaced Implementation includes but is not limited to:
1) identification information for the chapters and sections that the needs that the network equipment obtains that user specifies are replaced, and obtain the chapter from the user The replacement content information of section.
Wherein, the identification information that various ways obtain the chapters and sections that the needs that user specifies are replaced can be used in the network equipment, and Obtain the replacement content information of the chapters and sections from the user.
For example, the numbering of section that the network equipment is inputted according to user determines the identification information for needing the chapters and sections replaced, and connect It receives user and is directly uploaded to the network equipment, chapters and sections replacement content information.
In another example the network equipment receives the identification information for the chapters and sections that needs from user equipment, user specifies are replaced, And user is uploaded to the replacement content information of the user equipment.
2) the replacement content of the identification information for the chapters and sections that the needs that the network equipment obtains that user specifies are replaced and the chapters and sections The source-information of information, and obtain from the source replacement content information of chapters and sections.
Wherein, the source-information is used to indicate the source of replacement content information.Preferably, the source-information include but It is not limited to use in address information, the address information of webpage that the replacement content information is presented etc. for downloading the source-information.
Wherein, the network equipment can be used various ways obtain the chapters and sections that the needs specified of user are replaced identification information and The source-information of the replacement content information of the chapters and sections.
For example, the numbering of section that the network equipment is inputted according to user determines the identification information for needing the chapters and sections replaced, and obtain The download address for taking the replacement content information that family inputs in a user device, as source-information.
3) network equipment obtains the identification information and the updated replacement content information of the chapters and sections of the chapters and sections updated.
Wherein, the identification information and the chapters and sections that the network equipment can obtain the chapters and sections updated in several ways are more Replacement content information after new.
For example, the source web of network equipment regular visit Reading subject, is determined by the historical operation record of author The identification information of the chapters and sections updated, and obtain the updated chapters and sections content of the corresponding chapters and sections of the identification information, as replacing Change content information.
In another example the network equipment receive it is from the user, be used to indicate the instruction information that chapters and sections update, the instruction Information includes the identification information of the chapters and sections updated;Then the network equipment can be obtained by accessing the source web of the chapters and sections The replacement content information of the chapters and sections.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any obtain in the replacement for needing the identification information and the chapters and sections of the chapters and sections replaced The implementation for holding information, should be included in the scope of the present invention.
In step s105, the identification information for the chapters and sections that the network equipment is replaced as needed is indexed by the chapters and sections and is believed Breath determines readable block corresponding with the chapters and sections, and is not influencing can be read for other chapters and sections of the affiliated Reading subject of the chapters and sections In the case where piecemeal, according to the replacement content information, the chapters and sections content in the corresponding readable block is changed.
For example, the identification information for the chapters and sections that the network equipment is replaced as needed, passes through the determination of chapters and sections index information and the chapter Saving corresponding readable block is block2, then the network equipment can not influence other chapters and sections of the affiliated Reading subject of the chapters and sections In the case where reading piecemeal, the chapters and sections content in block2 is replaced with into chapters and sections content corresponding to replacement content information.
In the prior art, the network equipment is typically directly handled the text information of a literary works as a whole, Therefore, once the partial content in text information updates, the network equipment needs to carry out entire updated text information Again it handles;Also, for the different editions of same Reading subject, the network equipment would generally be equal by the chapters and sections of multiple and different versions It is supplied to user, has user to select the version for wishing to read from row.
In addition, in the prior art, when the chapters and sections content in Reading subject updates, it usually needs manually modify Or replacement, this prevents user from reading updated chapters and sections content in time, to affect the reading experience of user equipment.
According to the scheme of the present embodiment, the network equipment can be read point by the way that the generation of the chapters and sections contents of chapters and sections to be independent Block, so as to carry out independent operation to readable block, such as updates, adds so as to which coupled relation is not present between readable block Add, delete, and does not interfere with the chapters and sections content of other readable blocks to the operation of a readable block, so that It is more flexible between the chapters and sections content of Reading subject;Also, it can be by the different editions of a Reading subject in the present embodiment Natural language text merges, so that user no longer needs to select back and forth in multiple versions;In addition, the network equipment can be based on it is readable It takes piecemeal to establish chapters and sections index information, can more quickly be user to further enhance the independence of readable block Equipment provides chapters and sections content, and is convenient for operation of the user equipment to chapters and sections content.
Fig. 2 is the flow diagram of the method for showing chapters and sections content of one embodiment of the invention.According to this implementation The method of example is mainly realized by the network equipment and user equipment, wherein any theory done in referring to Fig.1 to the network equipment Bright, the mode quoted is incorporated herein.Wherein, the user equipment includes but is not limited to PC machine, tablet computer, intelligent hand Machine, PDA, IPTV etc..
It should be noted that the user equipment is only for example, other user equipmenies that are existing or being likely to occur from now on It is such as applicable to the present invention, should also be included within the scope of protection of the present invention, and is incorporated herein by reference.
Method according to the present embodiment includes step S201, step S202, step S203, step S204, step S205, step Rapid S206, step S207, step S208 and step S209.
In step s 201, user equipment sends read request to the network equipment.
Wherein, the read request includes the identification information for requesting the Reading subject read.Preferably, the read request It can be used for the full text information for requesting to download main body, alternatively, the reading text etc. is read in request offline.
For example, user equipment sends read request to the network equipment, which includes the identification information of novel A.
In step S202, the network equipment receives the read request from user equipment.
In step S203, the network equipment determines the chapters and sections index of the Reading subject according to the identification information of Reading subject Information.
For example, the network equipment determines reading corresponding to subject1 according to the identification information subject1 of Reading subject The chapters and sections index information of main body.
In step S204, the network equipment determines all of the Reading subject according to the chapters and sections index information of Reading subject The corresponding readable block of chapters and sections.
It specifically, can corresponding to the chapters and sections and chapters and sections of network equipment Reading subject according to indicated by chapters and sections index information The corresponding informance between piecemeal is read, determines readable block corresponding to all chapters and sections of the Reading subject.
For example, the network equipment, which is directly indexed according to chapters and sections, to be believed if chapters and sections index information only includes the identification information of chapters and sections The identification information of all chapters and sections in breath, determines readable block corresponding to all chapters and sections of the Reading subject.
In another example if chapters and sections index information includes the mark of readable block corresponding to the identification information and chapters and sections of chapters and sections Information, then the network equipment determines the Reading subject according to the identification information of all readable blocks in the chapters and sections index information Readable block corresponding to all chapters and sections.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any chapters and sections index information according to Reading subject, determines all of the Reading subject The implementation of the corresponding readable block of chapters and sections, should be included in the scope of the present invention.
In step S205, the network equipment is from the corresponding readable block of all chapters and sections from reading chapters and sections content.
In step S206, the network equipment provides read chapters and sections content and chapters and sections index information to user equipment.
In step S207, user equipment receives the chapters and sections content and chapters and sections index of the Reading subject of network equipment feedback Information.
In step S208, user equipment shows what processing information and needs were presented according to the text of the user equipment The amount of text information of chapters and sections, the chapters and sections division of teaching contents by the chapters and sections for needing to present are at least one piecemeal.
Wherein, the ability that the text display processing information includes any and user equipment shows text and handles Relevant information.Preferably, the text display processing information includes but is not limited to:
1) screen size information.
Wherein, the screen size information includes any information relevant to the size of display screen.Preferably, described aobvious Display screen dimension information includes but is not limited to size (such as 5.7 inches), the resolution ratio of display screen.
2) text-processing velocity information.
Wherein, the text-processing velocity information includes the letter of any speed for being used to indicate user equipment processing text Breath.Preferably, the ability of the processing text includes but is not limited to that user equipment reads the speed of content of text, rendering text The speed etc. of speed, load and display text.Preferably, tool of the text-processing velocity information also with load and display text Body is using related.
Wherein, the amount of text information includes any for quantifying the information of the size of text, such as the text number in text Measure (such as word quantity, number of characters), text data amount (the text data amount such as calculated as unit of k or M) etc..
Preferably, user equipment shows the text of processing information and the chapters and sections for needing to present according to the text of the user equipment This amount information determines the upper limit for the amount of text information that a piecemeal can include, thus by the chapters and sections for the chapters and sections for needing to present Appearance is divided at least one piecemeal.
For example, user equipment is determined according to the text-processing velocity information of the user equipment, the user equipment is not being influenced Other performances in the case where, the text data amount size that can disposably handle is 1k, then user equipment determines the text of piecemeal The upper limit of notebook data amount is 1k;User equipment is 9.8k in conjunction with the text data amount size for the chapters and sections for needing to present, by the chapters and sections Chapters and sections division of teaching contents be 10 piecemeals.
In another example user equipment determines that the upper limit of text quantity of piecemeal is according to the screen size information of the user equipment 1000, the chapters and sections division of teaching contents of the chapters and sections is 12 by the text quantity 115479 for the chapters and sections that user equipment is presented as needed Piecemeal.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any show processing information according to the text of the user equipment and need to present Chapters and sections amount of text information, be the realization side of at least one piecemeal by the chapters and sections division of teaching contents of chapters and sections for needing to present Formula should be included in the scope of the present invention.
In step S209, the chapters and sections content of a piecemeal is presented in user equipment.
Preferably, the chapters and sections index information that user equipment can be fed back according to the network equipment, is presented first of Reading subject The content of first piecemeal of chapters and sections.
It is highly preferred that user equipment can be recorded based on the online reading of user, and combine the chapters and sections rope of network equipment feedback Fuse breath, first piecemeal of the corresponding chapters and sections that direct presentation user is currently read.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that the implementation of any chapters and sections content that a piecemeal is presented, should be included in this hair In bright range.
It should be noted that those skilled in the art will be understood that step S208 and step S209 it is practical be one preferably Scheme.User equipment can not also carry out piecemeal to chapters and sections, and all the elements of a chapters and sections are directly presented.
As a preferred embodiment, the scheme of the present embodiment is further comprising the steps of:User equipment exists according to displaying information Insertion position between the chapters and sections of the Reading subject updates the chapters and sections index information of the Reading subject.
Wherein, the displaying information include it is any can be in the information shown in the chapters and sections of Reading subject or between chapters and sections;It is excellent Selection of land, the displaying information includes but is not limited to chapters and sections content, advertising information, the news information etc. lacked in Reading subject.
Wherein, user equipment can be used various ways and obtain displaying information;For example, user equipment directly acquires user's upload Displaying information;In another example user equipment directly acquires the displaying information from the network equipment.
For example, using Arabic numerals as chapter marker information in chapters and sections index information, such as the i-th chapter of Reading subject Chapter marker information is i, wherein i is natural number.User equipment receives the displaying information that user uploads, and user specifies the displaying The insertion position of information is between the 2nd chapter of Reading subject and the 3rd chapter;Then user equipment according in Reading subject the 2nd chapter and It is inserted into the displaying information, and the chapter marker information by " 3 " as the displaying information between 3rd chapter, and by the chapter of following sections Arabic numerals corresponding to shackle mark information increase by 1.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to insertion position of the information between the chapters and sections of the Reading subject is shown, more The implementation of the chapters and sections index information of the new Reading subject, should be included in the scope of the present invention.
As another preferred embodiment, the scheme of this implementation is further comprising the steps of:When user executes the chapter currently presented When the piecemeal handover operation of section, in the corresponding chapters and sections of piecemeal that the needs that user equipment obtains the chapters and sections currently presented switch to Hold and presents.
For example, the chapters and sections currently presented are second piecemeal of the 10th chapter of Reading subject, next chapter comes when the user clicks When triggering piecemeal handover operation, user equipment obtains the corresponding chapters and sections content of first piecemeal for the Chapter 11 that needs switch to simultaneously It presents.
In another example the chapters and sections currently presented are second piecemeal of the 10th chapter of Reading subject, when user is by touching Slide downward operation is executed on screen come when triggering piecemeal handover operation, user equipment obtains the third piecemeal of the 10th chapter and is in It is existing.
According to the scheme of the present embodiment, user equipment can be to whole chapters and sections contents of network device requests Reading subject, net Network equipment establishes chapters and sections index information by the way that chapters and sections generation is independent readable block, can rapidly set to user Time that is standby that requested chapters and sections content is provided, being waited so as to shorten user;In addition, user equipment passes through further in chapters and sections Hold and carry out piecemeal, and guarantee the independence between piecemeal, makes it possible to more quickly show piecemeal content, and can be rapidly The switching between piecemeal is carried out, so that the presentation to text information is more flexible;Also, user equipment is fed back based on the network equipment Chapters and sections index information and piecemeal to chapters and sections content, can rapidly and accurately determine the piecemeal in chapters and sections and chapters and sections Position.
Fig. 3 is the flow diagram of the method for showing chapters and sections content of one embodiment of the invention.According to this implementation The method of example is mainly realized by the network equipment and user equipment, wherein any theory done in referring to Fig.1 to the network equipment Bright, the mode quoted is incorporated herein.Wherein, the user equipment includes but is not limited to PC machine, tablet computer, intelligent hand Machine, PDA, IPTV etc..
Method according to the present embodiment includes step S301, step S302, step S303, step S304, step S305, step Rapid S306, step S307 and step S308.
In step S301, user equipment sends read request to the network equipment.
Wherein, which includes the identification information for requesting the chapters and sections read;Preferably, the read request is for asking Seek the chapters and sections content of at least one chapters and sections;For example, the identification information of the chapters and sections 1 to 10 in read request comprising Reading subject, it should Read request is for requesting chapters and sections content corresponding to chapters and sections 1 to 10.
In step 302, the network equipment receives the read request from user equipment.
In step S303, the network equipment combines according to the identification information for requesting the chapters and sections read and requests to read The affiliated Reading subject of chapters and sections chapters and sections index information, determine the chapters and sections for being provided to user and its corresponding can be read point Block.
For example, the identification information of the chapters and sections 10 in read request comprising Reading subject.The network equipment is in chapters and sections index information The middle identification information for searching chapters and sections 10 determines that the chapters and sections for being provided to user are chapters and sections 10, and determines corresponding to the chapters and sections 10 Readable block.
It should be noted that the network equipment can by with the neighbouring chapters and sections of chapters and sections read are requested in read request, also make For the chapters and sections for being provided to user.
For example, the identification information of the chapters and sections 10 in read request comprising Reading subject.The network equipment is in chapters and sections index information The middle identification information for searching chapters and sections 10 determines that the chapters and sections for being provided to user are chapters and sections 10 and the neighbouring chapters and sections of the chapters and sections 10 11 and 12, and determine readable block corresponding to chapters and sections 10-12.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the identification information for requesting the chapters and sections read, and combine and request to read The affiliated Reading subject of chapters and sections chapters and sections index information, determine be provided to user chapters and sections and its corresponding readable block Implementation, should be included in the scope of the present invention.
In step s 304, the network equipment reads chapters and sections content from identified readable block.
In step S305, the network equipment sends the chapters and sections content read to the user equipment.
In step S306, user equipment receives the chapters and sections content of the Reading subject of network equipment feedback.
In step S307, user equipment shows what processing information and needs were presented according to the text of the user equipment The amount of text information of chapters and sections, the chapters and sections division of teaching contents by the chapters and sections for needing to present are at least one piecemeal.
Wherein, the implementation of the step S307 it is identical as the implementation of the step S208 referring to described in Fig. 2 or Similar, details are not described herein.
In step S308, the chapters and sections content of a piecemeal is presented in user equipment.
Wherein, the implementation of the step S308 it is identical as the implementation of the step S209 referring to described in Fig. 2 or Similar, details are not described herein.
It should be noted that in the present embodiment, when user executes page turn over operation in a user device, alternatively, in chapters and sections rope When drawing middle execution chapters and sections selection operation, the chapters and sections content of the chapters and sections if desired presented prestores in local, then user equipment is straight Connect the chapters and sections content that display prestores;If desired the chapters and sections content of the chapters and sections presented does not prestore in local, then user equipment is to net Network equipment sends the read request of the identification information comprising the chapters and sections, to execute the scheme of the present embodiment again.
According to the scheme of the present embodiment, user equipment can be into the chapters and sections of the particular chapter of network device requests Reading subject Hold, the network equipment and establishes chapters and sections index information by the way that chapters and sections generation is independent readable block, can rapidly to Family equipment provides requested chapters and sections content, the time waited so as to shorten user.
Fig. 4 is one embodiment of the invention for generating readable block and chapters and sections index information in the network device Device (hereinafter referred to as " first device ") schematic diagram
First device according to the present embodiment includes for obtaining the device of text information to be processed (hereinafter referred to as " One acquisition device 1 "), device (the following letter for according to the text information, identifying the chapters and sections in the natural language text Claim " identification device 2 "), for the generation of the chapters and sections contents of each chapters and sections to be independent readable block, and establish the reading The device (hereinafter referred to as " generating means 3 ") of the chapters and sections index information of main body.
First acquisition device 1 obtains text information to be processed.
Wherein, the text information includes any text information that can be used in reading;Preferably, the text information can Using a variety of text formattings, such as TXT format, JAR (Java ARchive, Java archive) format, UMD (Universal Mobile Document, General Mobile document) format etc..
Preferably, the text information includes the natural language text of a Reading subject.Wherein, the Reading subject packet Include any main body that can be used in be read with text mode by natural person;Preferably, the Reading subject includes but unlimited In literary works such as novel, prose, albums.Wherein, the natural language text includes the text in text information for reading Content, such as novel content.
Specifically, the first acquisition device 1 can be used various ways and obtain text information to be processed.
For example, the first acquisition device of net 1 can directly acquire the text information to be processed of user's upload.
In another example the first acquisition device 1 obtains text information to be processed from website.For example, the first acquisition device 1 from The text information for the novel that author is updated is obtained on its website serviced.
Preferably, the first acquisition device 1 further comprise for obtain multiple and different versions of the Reading subject from The device (hereinafter referred to as " the first sub- acquisition device ", not shown) of right language text and for by comparing and merging the multiple The natural language text of different editions, obtain the text information to be processed device (hereinafter referred to as " compare and merge device ", It is not shown).
First sub- acquisition device obtains the natural language text of multiple and different versions of the Reading subject.
Preferably, the natural language text of the different editions from from different websites.
For example, the first sub- acquisition device obtains the natural language text TXT1 from the first website of novel A, comes from second The natural language text TXT2 of website and natural language text TXT3 from third website.
The natural language text for merging device by comparing and merging the multiple different editions is compared, is obtained described wait locate The text information of reason.
For example, the first sub- acquisition device obtains the natural language text TXT1 from the first website of novel A, comes from second The natural language text TXT2 of website and natural language text TXT3 from third website;Compare merge device to TXT1, TXT2, TXT3 are compared and merge, and using the TXT4 after merging as text information to be processed.
Wherein, comparing merging device can be used various ways by comparison and merges the natural language of the multiple different editions It says text, obtains the text information to be processed.
Merge the content similarity that device compares multiple different editions based on natural language processing technique for example, comparing, And merged to obtain text information to be processed according to comparison result.Such as, it compares and merges device based on natural language processing technique ratio TXT1, TXT2, TXT3 are learnt:The full content of TXT1 is identical as preceding the 60% of TXT2 content, TXT2 rear 50% it is interior Hold identical as preceding the 30% of TXT3 content;It then compares and to merge device and extract before TXT2 70% after 50% content and TXT3 Content, and the two is merged, the TXT4 after being merged is as text information to be processed.
In another example merging in the natural language text of each version that device can identify multiple and different versions when comparing When chapters and sections, for each chapters and sections, compares merging device and multiple versions corresponding to the chapters and sections are compared, and merge and be somebody's turn to do The corresponding text information to be processed of chapters and sections.Such as, TXT5, TXT6, TXT7 are at the natural language of three different editions of novel B Text is managed, which can recognize that 3 chapters and sections of novel B:Chapters and sections one, chapters and sections two, chapters and sections three;It compares and merges dress It sets and is compared by the content corresponding in TXT5, TXT6, TXT7 to each chapters and sections, learnt:The institute in TXT5 of chapters and sections one The data volume of corresponding content is maximum, and the data volume of the content corresponding in TXT7 of chapters and sections two is maximum, and chapters and sections three are in TXT6 The data volume of corresponding content is maximum;It then compares merging device the content corresponding in TXT5 of chapters and sections one, chapters and sections two exist Corresponding content, chapters and sections three content corresponding in TXT6 merge in TXT7, and will merge obtained TXT8 as Text information to be processed.Wherein, identify that the implementation of the chapters and sections in natural language text will be described in detail subsequent.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any obtain text information to be processed, wherein the text information includes one The implementation of the natural language text of Reading subject, should be included in the scope of the present invention.
Identification device 2 identifies the chapters and sections in the natural language text according to the text information.
Wherein, identify that the operation of the chapters and sections in the natural language text is performed based at least one of following:
1) text feature information including in natural language text, meeting predetermined format.
Wherein, the predetermined format includes any format that is scheduled, can indicating chapters and sections.Preferably, described pre- to fix Formula includes text formatting, number format, text and the format that is combined of number etc..For example, predetermined format " X chapter " is used to indicate certainly " X " a chapters and sections of right language text, wherein " X " is Arabic numerals;" the 1st chapter " for then including in natural language text be Meet the text feature information of the predetermined format.In another example predetermined format is the Arabic numerals or Chinese-character digital of independent a line, " 1 " or " one " of a line that then include in natural language text, independent is the text feature information for meeting the predetermined format.
For example, identification device 2 is directly based upon the text of predetermined format including in natural language text, meeting " X chapter " Eigen information identifies the chapters and sections in natural language text.
2) include in the text information, chapter marker information.
Wherein, the chapter marker information includes any for marking the information of chapters and sections;Preferably, the chapter marker letter Breath includes but is not limited to the label for marking chapters and sections, such as Tag;It is highly preferred that the chapter marker information is not included in certainly In right language text.
It is highly preferred that the chapter marker information in text information is usually by mentioning if text information comes from other websites It is generated for other websites of text information;Alternatively, the chapter marker information can execute operation by the first acquisition device 1 It generates and is added in text information in the process.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the text information, identify the chapters and sections in the natural language text Implementation should be included in the scope of the present invention.
The chapters and sections content generation of each chapters and sections is independent readable block by generating means 3, and establishes the reading master The chapters and sections index information of body.Wherein, without directly coupled relation between each independent readable block.
Wherein, the chapters and sections index information indicate readable block corresponding to the chapters and sections and chapters and sections of the Reading subject it Between corresponding informance.
Preferably, the chapters and sections index information includes the identification information of chapters and sections;The chapters and sections index information is based on chapters and sections Identification information indicates the corresponding relationship between readable block corresponding to the chapters and sections and chapters and sections of Reading subject.
For example, chapters and sections index information includes the identification information of each chapters and sections;Wherein, identification information Chapter1 is for identifying First chapters and sections of Reading subject, and readable block corresponding to first chapters and sections is identified simultaneously.
It is highly preferred that the chapters and sections index information further includes the identification information of the corresponding readable block of chapters and sections;The chapter Section index information indicate the identification information of chapters and sections and between the identification information of readable block corresponding to chapters and sections one One corresponding relationship.
For example, chapters and sections index information includes the mark of readable block corresponding to the identification information and each chapters and sections of chapters and sections Know information, and indicates the one-to-one relationship between the identification information of chapters and sections and the identification information of readable block;Wherein, chapter The identification information Chapter1 of section is used for first chapters and sections of tag reader main body, has corresponding relationship with Chapter1 Block1 is for identifying readable block corresponding to first chapters and sections.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System it should be appreciated by those skilled in the art that any be independent readable block for the chapters and sections content generation of each chapters and sections, and is built The implementation for founding the chapters and sections index information of the Reading subject, should be included in the scope of the present invention.
As a preferred embodiment, the first device of the present embodiment further includes for obtaining the mark for needing the chapters and sections replaced The device (hereinafter referred to as " the second sub- acquisition device ", not shown) of the replacement content information of information and the chapters and sections is used for basis The identification information determines readable block corresponding with the chapters and sections by the chapters and sections index information, and is not influencing the chapter In the case where the readable block of other chapters and sections of Reading subject belonging to saving, according to the replacement content information, the correspondence is changed Readable block in chapters and sections content device (hereinafter referred to as " change device ", not shown).
Second sub- acquisition device obtains the replacement content information of the identification information and the chapters and sections that need the chapters and sections replaced.
Wherein, the identification information of the chapters and sections includes any for identifying the information of chapters and sections.Preferably, the identification information Chapter marker information including the chapters and sections for needing to replace.
Specifically, the second sub- acquisition device obtains the replacement content of the identification information and the chapters and sections that need the chapters and sections replaced The implementation of information includes but is not limited to:
1) the second sub- acquisition device obtains the identification information for the chapters and sections that the needs that user specifies are replaced, and obtains and come from user The chapters and sections replacement content information.
Wherein, the mark letter that various ways obtain the chapters and sections that the needs that user specifies are replaced can be used in the second sub- acquisition device Breath, and obtain the replacement content information of the chapters and sections from the user.
For example, the numbering of section that the second sub- acquisition device is inputted according to user determines the mark letter for needing the chapters and sections replaced Breath, and receive user and be directly uploaded to the network equipment, chapters and sections replacement content information.
In another example the second sub- acquisition device receives the mark for the chapters and sections that needs from user equipment, user specifies are replaced Know information, and, user is uploaded to the replacement content information of the user equipment.
2) the second sub- acquisition device obtains the identification information of chapters and sections and replacing for the chapters and sections that the needs that user specifies are replaced The source-information of content information is changed, and obtains the replacement content information of chapters and sections from the source.
Wherein, the source-information is used to indicate the source of replacement content information.Preferably, the source-information include but It is not limited to use in address information, the address information of webpage that the replacement content information is presented etc. for downloading the source-information.
Wherein, the mark letter that various ways obtain the chapters and sections that the needs that user specifies are replaced can be used in the second sub- acquisition device The source-information of the replacement content information of breath and the chapters and sections.
For example, the numbering of section that the second sub- acquisition device is inputted according to user determines the mark letter for needing the chapters and sections replaced Breath, and the download address for the replacement content information that user inputs in a user device is obtained, as source-information.
3) the second sub- acquisition device obtains in identification information and the updated replacement of the chapters and sections of the chapters and sections updated Hold information.
Wherein, the second sub- acquisition device can obtain the identification information of the chapters and sections updated in several ways and be somebody's turn to do The updated replacement content information of chapters and sections.
For example, the source web of the second sub- acquisition device regular visit Reading subject, passes through the historical operation record of author It determines the identification information of the chapters and sections updated, and obtains the updated chapters and sections content of the corresponding chapters and sections of the identification information, As replacement content information.
In another example the second sub- acquisition device receive it is from the user, be used to indicate the instruction information that chapters and sections update, The instruction information includes the identification information of the chapters and sections updated;Then the second sub- acquisition device can by access the chapters and sections come Source website obtains the replacement content informations of the chapters and sections.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any obtain in the replacement for needing the identification information and the chapters and sections of the chapters and sections replaced The implementation for holding information, should be included in the scope of the present invention.
The identification information for the chapters and sections that change device is replaced as needed passes through chapters and sections index information determination and the chapters and sections Corresponding readable block, and in the case where not influencing the readable block of other chapters and sections of the affiliated Reading subject of the chapters and sections, According to the replacement content information, the chapters and sections content in the corresponding readable block is changed.
For example, the identification information for the chapters and sections that change device is replaced as needed, passes through the determination of chapters and sections index information and the chapter Saving corresponding readable block is block2, then changing device can not influence other chapters and sections of the affiliated Reading subject of the chapters and sections In the case where reading piecemeal, the chapters and sections content in block2 is replaced with into chapters and sections content corresponding to replacement content information.
In the prior art, the network equipment is typically directly handled the text information of a literary works as a whole, Therefore, once the partial content in text information updates, the network equipment needs to carry out entire updated text information Again it handles;Also, for the different editions of same Reading subject, the network equipment would generally be equal by the chapters and sections of multiple and different versions It is supplied to user, has user to select the version for wishing to read from row.
In addition, in the prior art, when the chapters and sections content in Reading subject updates, it usually needs manually modify Or replacement, this prevents user from reading updated chapters and sections content in time, to affect the reading experience of user equipment.
According to the scheme of the present embodiment, the network equipment can be read point by the way that the generation of the chapters and sections contents of chapters and sections to be independent Block, so as to carry out independent operation to readable block, such as updates, adds so as to which coupled relation is not present between readable block Add, delete, and does not interfere with the chapters and sections content of other readable blocks to the operation of a readable block, so that It is more flexible between the chapters and sections content of Reading subject;Also, it can be by the different editions of a Reading subject in the present embodiment Natural language text merges, so that user no longer needs to select back and forth in multiple versions;In addition, the network equipment can be based on it is readable It takes piecemeal to establish chapters and sections index information, can more quickly be user to further enhance the independence of readable block Equipment provides chapters and sections content, and is convenient for operation of the user equipment to chapters and sections content.
Fig. 5 is the schematic diagram of the system of the display chapters and sections content of one embodiment of the invention.According to the method for the present embodiment Mainly realized by the network equipment and user equipment.In the present embodiment, the network equipment includes first device, which includes For receiving the device (hereinafter referred to as " the second reception device 202 ") of the read request from user equipment, for according to The identification information of Reading subject determines device (hereinafter referred to as " the first determining device of the chapters and sections index information of the Reading subject 203 "), for determining the device of the corresponding readable block of all chapters and sections of the Reading subject according to the chapters and sections index information (hereinafter referred to as " the second determining device 204 "), for from the corresponding readable block of all chapters and sections from reading chapters and sections content Device (hereinafter referred to as " the first reading device 205 "), for the user equipment provide read chapters and sections content and The device (hereinafter referred to as " the second sending device 206 ") of the chapters and sections index information;User equipment includes second device, this second Device includes for sending the device (hereinafter referred to as " the first sending device 201 ") of read request to the network equipment, for receiving The device (hereinafter referred to as " first receiving device 207 ") of the chapters and sections content of the Reading subject of network equipment feedback is used for basis The text display processing information of the user equipment and the amount of text information for the chapters and sections for needing to present, the needs are presented The chapters and sections division of teaching contents of chapters and sections is the device (hereinafter referred to as " dividing device 208 ") of at least one piecemeal, one point for rendering The device (hereinafter referred to as " presentation device 209 ") of the chapters and sections content of block.
First sending device 201 sends read request to the network equipment.
Wherein, the read request includes the identification information for requesting the Reading subject read.Preferably, the read request It can be used for the full text information for requesting to download main body, alternatively, the reading text etc. is read in request offline.
For example, the first sending device 201 sends read request to the network equipment, which includes the mark of novel A Information.
Second reception device 202 receives the read request from user equipment.
First determining device 203 determines the chapters and sections index information of the Reading subject according to the identification information of Reading subject.
For example, the network equipment determines reading corresponding to subject1 according to the identification information subject1 of Reading subject The chapters and sections index information of main body.
Second determining device 204 determines all chapters and sections pair of the Reading subject according to the chapters and sections index information of Reading subject The readable block answered.
Specifically, the chapters and sections of the second Reading subject according to indicated by chapters and sections index information of determining device 204 and chapters and sections institute Corresponding informance between corresponding readable block determines readable block corresponding to all chapters and sections of the Reading subject.
For example, the second determining device 204 is directly according to chapters and sections if chapters and sections index information only includes the identification information of chapters and sections The identification information of all chapters and sections in index information, determines readable block corresponding to all chapters and sections of the Reading subject.
In another example if chapters and sections index information includes the mark of readable block corresponding to the identification information and chapters and sections of chapters and sections Information, then the second determining device 204 determines the reading according to the identification information of all readable blocks in the chapters and sections index information Readable block corresponding to all chapters and sections of main body.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any chapters and sections index information according to Reading subject, determines all of the Reading subject The implementation of the corresponding readable block of chapters and sections, should be included in the scope of the present invention.
First reading device 205 is from the corresponding readable block of all chapters and sections from reading chapters and sections content.
Second sending device 206 provides read chapters and sections content and chapters and sections index information to user equipment.
First receiving device 207 receives the chapters and sections content and chapters and sections index information of the Reading subject of network equipment feedback.
Dividing device 208 shows the text of processing information and the chapters and sections for needing to present according to the text of the user equipment Information is measured, the chapters and sections division of teaching contents by the chapters and sections for needing to present is at least one piecemeal.
Wherein, the ability that the text display processing information includes any and user equipment shows text and handles Relevant information.Preferably, the text display processing information includes but is not limited to:
1) screen size information.
Wherein, the screen size information includes any information relevant to the size of display screen.Preferably, described aobvious Display screen dimension information includes but is not limited to size (such as 5.7 inches), the resolution ratio of display screen.
2) text-processing velocity information.
Wherein, the text-processing velocity information includes the letter of any speed for being used to indicate user equipment processing text Breath.Preferably, the ability of the processing text includes but is not limited to that user equipment reads the speed of content of text, rendering text The speed etc. of speed, load and display text.Preferably, tool of the text-processing velocity information also with load and display text Body is using related.
Wherein, the amount of text information includes any for quantifying the information of the size of text, such as the text number in text Measure (such as word quantity, number of characters), text data amount (the text data amount such as calculated as unit of k or M) etc..
Preferably, the chapters and sections that dividing device 208 shows processing information according to the text of the user equipment and needs to present Amount of text information, the upper limit for the amount of text information that a piecemeal can include is determined, thus the chapter of chapters and sections that will need to present Section division of teaching contents is at least one piecemeal.
For example, dividing device 208 is determined according to the text-processing velocity information of the user equipment, set not influencing the user In the case where other standby performances, the text data amount size that can disposably handle is 1k, then dividing device 208 determines piecemeal Text data amount the upper limit be 1k;Dividing device 208 is 9.8k in conjunction with the text data amount size for the chapters and sections for needing to present, will The chapters and sections division of teaching contents of the chapters and sections is 10 piecemeals.
In another example dividing device 208 according to the screen size information of the user equipment determine piecemeal text quantity it is upper 1000 are limited to, the text quantity 115479 for the chapters and sections that dividing device 208 is presented as needed, by the chapters and sections division of teaching contents of the chapters and sections For 12 piecemeals.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that any show processing information according to the text of the user equipment and need to present Chapters and sections amount of text information, be the realization side of at least one piecemeal by the chapters and sections division of teaching contents of chapters and sections for needing to present Formula should be included in the scope of the present invention.
The chapters and sections content of a piecemeal is presented in presentation device 209.
Preferably, the chapters and sections index information that presentation device 209 can be fed back according to the network equipment, is presented the first of Reading subject The content of first piecemeal of a chapters and sections.
It is highly preferred that presentation device 209 can be recorded based on the online reading of user, and combine the chapters and sections of network equipment feedback Index information, first piecemeal of the corresponding chapters and sections that direct presentation user is currently read.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that the implementation of any chapters and sections content that a piecemeal is presented, should be included in this hair In bright range.
It should be noted that those skilled in the art will be understood that dividing device 208 and 209 reality of presentation device are one A preferred embodiment.User equipment can not also carry out piecemeal to chapters and sections, and all the elements of a chapters and sections are directly presented.
As a preferred embodiment, the first device of the present embodiment further includes:For according to show information in reading master Insertion position between the chapters and sections of body, update the chapters and sections index information of the Reading subject device (hereinafter referred to as " updating device ", It is not shown).
Wherein, the displaying information include it is any can be in the information shown in the chapters and sections of Reading subject or between chapters and sections;It is excellent Selection of land, the displaying information includes but is not limited to chapters and sections content, advertising information, the news information etc. lacked in Reading subject.
Wherein, user equipment can be used various ways and obtain displaying information;For example, user equipment directly acquires user's upload Displaying information;In another example user equipment directly acquires the displaying information from the network equipment.
For example, using Arabic numerals as chapter marker information in chapters and sections index information, such as the i-th chapter of Reading subject Chapter marker information is i, wherein i is natural number.User equipment receives the displaying information that user uploads, and user specifies the displaying The insertion position of information is between the 2nd chapter of Reading subject and the 3rd chapter;Then updating device according in Reading subject the 2nd chapter and It is inserted into the displaying information, and the chapter marker information by " 3 " as the displaying information between 3rd chapter, and by the chapter of following sections Arabic numerals corresponding to shackle mark information increase by 1.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to insertion position of the information between the chapters and sections of the Reading subject is shown, more The implementation of the chapters and sections index information of the new Reading subject, should be included in the scope of the present invention.
As another preferred embodiment, the first device of this implementation further includes:For executing the chapter currently presented as user When the piecemeal handover operation of section, obtains the corresponding chapters and sections content of piecemeal that the needs of the chapters and sections currently presented switch to and present Device (hereinafter referred to as " switching presentation device ", not shown).
For example, the chapters and sections currently presented are second piecemeal of the 10th chapter of Reading subject, next chapter comes when the user clicks When triggering piecemeal handover operation, switching presentation device is obtained in the corresponding chapters and sections of first piecemeal for needing the Chapter 11 switched to Hold and presents.
In another example the chapters and sections currently presented are second piecemeal of the 10th chapter of Reading subject, when user is by touching Slide downward operation is executed on screen come when triggering piecemeal handover operation, switching presentation device obtains the third piecemeal of the 10th chapter simultaneously It presents.
According to the scheme of the present embodiment, user equipment can be to whole chapters and sections contents of network device requests Reading subject, net Network equipment establishes chapters and sections index information by the way that chapters and sections generation is independent readable block, can rapidly set to user Time that is standby that requested chapters and sections content is provided, being waited so as to shorten user;In addition, user equipment passes through further in chapters and sections Hold and carry out piecemeal, and guarantee the independence between piecemeal, makes it possible to more quickly show piecemeal content, and can be rapidly The switching between piecemeal is carried out, so that the presentation to text information is more flexible;Also, user equipment is fed back based on the network equipment Chapters and sections index information and piecemeal to chapters and sections content, can rapidly and accurately determine the piecemeal in chapters and sections and chapters and sections Position.
Fig. 6 is the schematic diagram of the system of the display chapters and sections content of another embodiment of the present invention.According to the side of the present embodiment Method is mainly realized by the network equipment and user equipment.In the present embodiment, the network equipment includes first device, the first device packet It includes the device (hereinafter referred to as " third reception device 302 ") for receiving the read request from user equipment, be used for according to institute The identification information for the chapters and sections read is requested, and combines the chapters and sections index information for requesting the affiliated Reading subject of chapters and sections read, really Surely be provided to the chapters and sections of user and its device (hereinafter referred to as " third determining device 303 ") of corresponding readable block, For reading the device (hereinafter referred to as " the second reading device 304 ") of chapters and sections content from identified readable block, being used for The device (hereinafter referred to as " third sending device 305 ") of the chapters and sections content read is sent to the user equipment;User equipment packet Second device is included, which includes that (hereinafter referred to as " first sends dress for sending the device of read request to the network equipment Set 301 "), for receive the network equipment feedback the Reading subject chapters and sections content device (hereinafter referred to as " and first receive dress Set 306 "), the amount of text information of chapters and sections for showing processing information according to the text of the user equipment and needing to present, Chapters and sections division of teaching contents by the chapters and sections for needing to present is the device (hereinafter referred to as " dividing device of at least one piecemeal 307 "), the device (hereinafter referred to as " presentation device 308 ") of the chapters and sections content of a piecemeal for rendering.
First sending device 301 sends read request to the network equipment.
Wherein, which includes the identification information for requesting the chapters and sections read;Preferably, the read request is for asking Seek the chapters and sections content of at least one chapters and sections;For example, the identification information of the chapters and sections 1 to 10 in read request comprising Reading subject, it should Read request is for requesting chapters and sections content corresponding to chapters and sections 1 to 10.
Third reception device 302 receives the read request from user equipment.
Third determining device 303 combines the chapters and sections for requesting to read according to the identification information for requesting the chapters and sections read The chapters and sections index information of affiliated Reading subject determines the chapters and sections for being provided to user and its corresponding readable block.
For example, the identification information of the chapters and sections 10 in read request comprising Reading subject.Third determining device 303 is in chapters and sections rope The identification information that chapters and sections 10 are searched in fuse breath determines that the chapters and sections for being provided to user are chapters and sections 10, and determines the chapters and sections 10 Corresponding readable block.
It should be noted that third determining device 303 can by with the neighbouring chapter of chapters and sections read is requested in read request Section, also as the chapters and sections for being provided to user.
For example, the identification information of the chapters and sections 10 in read request comprising Reading subject.Third determining device 303 is in chapters and sections rope The identification information that chapters and sections 10 are searched in fuse breath determines that the chapters and sections for being provided to user are chapters and sections 10 and the neighbour of the chapters and sections 10 Nearly chapters and sections 11 and 12, and determine readable block corresponding to chapters and sections 10-12.
It should be noted that the above-mentioned examples are merely illustrative of the technical solutions of the present invention, rather than to limit of the invention System, it should be appreciated by those skilled in the art that it is any according to the identification information for requesting the chapters and sections read, and combine and request to read The affiliated Reading subject of chapters and sections chapters and sections index information, determine be provided to user chapters and sections and its corresponding readable block Implementation, should be included in the scope of the present invention.
Second reading device 304 reads chapters and sections content from identified readable block.
Third sending device 305 sends the chapters and sections content read to the user equipment.
First receiving device 306 receives the chapters and sections content of the Reading subject of network equipment feedback.
Dividing device 307 shows the text of processing information and the chapters and sections for needing to present according to the text of the user equipment Information is measured, the chapters and sections division of teaching contents by the chapters and sections for needing to present is at least one piecemeal.
Wherein, the implementation of dividing device 307 is identical as the implementation referring to dividing device 208 in Fig. 5 or phase Seemingly, details are not described herein.
The chapters and sections content of a piecemeal is presented in presentation device 308.
Wherein the implementation of presentation device 308 is identical as the implementation referring to presentation device 209 in Fig. 5 or phase Seemingly, details are not described herein.
It should be noted that in the present embodiment, when user executes page turn over operation in a user device, alternatively, in chapters and sections rope When drawing middle execution chapters and sections selection operation, the chapters and sections content of the chapters and sections if desired presented prestores in local, then user equipment is straight Connect the chapters and sections content that display prestores;If desired the chapters and sections content of the chapters and sections presented does not prestore in local, then user equipment is to net Network equipment sends the read request of the identification information comprising the chapters and sections, to execute the scheme of the present embodiment again.
According to the scheme of the present embodiment, user equipment can be into the chapters and sections of the particular chapter of network device requests Reading subject Hold, the network equipment and establishes chapters and sections index information by the way that chapters and sections generation is independent readable block, can rapidly to Family equipment provides requested chapters and sections content, the time waited so as to shorten user.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, this hair Specific integrated circuit (ASIC) can be used in bright each device or any other is realized similar to hardware device.In one embodiment In, software program of the invention can be executed to implement the above steps or functions by processor.Similarly, of the invention Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, Magnetic or optical driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, example Such as, as the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table Show title, and does not indicate any particular order.

Claims (16)

1. a kind of method for generating readable block and chapters and sections index information in the network device, wherein this method packet Include following steps:
Obtain text information to be processed, wherein the text information includes the natural language text of a Reading subject;
According to the text information, the chapters and sections in the natural language text are identified;
The chapters and sections content generation of each chapters and sections is independent readable block, and establishes the chapters and sections index letter of the Reading subject Breath, wherein the chapters and sections index information indicate the chapters and sections of the Reading subject identification information and with can corresponding to chapters and sections Read the one-to-one correspondence information between the identification information of piecemeal;
Wherein, this method is further comprising the steps of:
Receive the read request from user equipment, wherein the read request includes the mark for requesting the Reading subject read Information;
According to the identification information of the Reading subject, the chapters and sections index information of the Reading subject is determined;
According to the chapters and sections index information, the corresponding readable block of all chapters and sections of the Reading subject is determined;
Chapters and sections content is read from the corresponding readable block of all chapters and sections;
Read chapters and sections content and the chapters and sections index information are provided to the user equipment.
2. according to the method described in claim 1, wherein, described the step of obtaining text information to be processed, includes:
Obtain the natural language text of multiple and different versions of the Reading subject;
By comparing and merging the natural language text of the multiple different editions, the text information to be processed is obtained.
3. according to the method described in claim 1, wherein, it is following to identify that the operation of the chapters and sections in the natural language text is based on At least one of be performed:
Text feature information including in the natural language text, meeting predetermined format;
Include in the text information, chapter marker information.
4. according to the method described in claim 1, wherein, this method is further comprising the steps of:
Obtain the replacement content information of the identification information and the chapters and sections that need the chapters and sections replaced;
According to the identification information, readable block corresponding with the chapters and sections is determined by the chapters and sections index information, and not In the case where the readable block for influencing other chapters and sections of the affiliated Reading subject of the chapters and sections, according to the replacement content information, more Change the chapters and sections content in the corresponding readable block.
5. method according to claim 1 to 4, wherein this method is further comprising the steps of:
Receive the read request from user equipment, wherein the read request includes the identification information for requesting the chapters and sections read;
According to the identification information for requesting the chapters and sections read, and combine the chapters and sections rope for requesting the affiliated Reading subject of chapters and sections read Fuse breath, determines the chapters and sections for being provided to user and its corresponding readable block;
Chapters and sections content is read from identified readable block;
The chapters and sections content read is sent to the user equipment.
6. a kind of method for showing chapters and sections content in a user device, wherein this approach includes the following steps:
Read request is sent to the network equipment, wherein the read request includes the identification information for requesting the Reading subject read And/or request the identification information for the chapters and sections read;
Receive network equipment feedback from the corresponding one or more readable blocks of the Reading subject in read chapters and sections Hold, wherein the chapters and sections content of each chapters and sections is generated as independent readable block in the Reading subject;
The amount of text information that processing information and the chapters and sections for needing to present are shown according to the text of the user equipment, by the need The chapters and sections division of teaching contents for the chapters and sections to be presented is multiple piecemeals;
The chapters and sections content of one of piecemeal in the multiple piecemeal is presented;
When user executes the piecemeal handover operation of the chapters and sections currently presented, the needs for obtaining the chapters and sections currently presented are switched to The corresponding chapters and sections content of piecemeal and present.
7. according to the method described in claim 6, wherein, this method is further comprising the steps of:
Receive the chapters and sections index information of the Reading subject of network equipment feedback;
According to insertion position of the information between the chapters and sections of the Reading subject is shown, the chapters and sections index letter of the Reading subject is updated Breath.
8. according to the method described in claim 6, wherein, the text display processing information includes at least one of following:
Screen size information;
Text-processing velocity information.
9. a kind of for generating the device of readable block and chapters and sections index information in the network device, wherein the device packet It includes:
For obtaining the device of text information to be processed, wherein the text information includes the natural language an of Reading subject Say text;
For identifying the device of the chapters and sections in the natural language text according to the text information;
For the chapters and sections content generation of each chapters and sections to be independent readable block, and establish the chapters and sections rope of the Reading subject The device of fuse breath, wherein the chapters and sections index information indicates the identification information and and chapters and sections of the chapters and sections of the Reading subject One-to-one correspondence information between the identification information of corresponding readable block;
Wherein, which further includes:
For receiving the device of the read request from user equipment, wherein the read request includes the reading for requesting to read The identification information of main body;
For the identification information according to the Reading subject, the device of the chapters and sections index information of the Reading subject is determined;
For determining the device of the corresponding readable block of all chapters and sections of the Reading subject according to the chapters and sections index information;
For reading the device of chapters and sections content from the corresponding readable block of all chapters and sections;
For providing the device of read chapters and sections content and the chapters and sections index information to the user equipment.
10. device according to claim 9, wherein the device for obtaining text information to be processed includes:
For obtaining the device of the natural language text of multiple and different versions of the Reading subject;
For the natural language text by comparing and merging the multiple different editions, the text information to be processed is obtained Device.
11. device according to claim 9, wherein identify the chapters and sections in the natural language text operation be based on At least one is descended to be performed:
Text feature information including in the natural language text, meeting predetermined format;
Include in the text information, chapter marker information.
12. device according to claim 9, wherein the device further includes:
For obtaining the device for replacing content information of the identification information and the chapters and sections that need the chapters and sections replaced;
For determining readable block corresponding with the chapters and sections by the chapters and sections index information according to the identification information, and In the case where not influencing the readable block of other chapters and sections of the affiliated Reading subject of the chapters and sections, believed according to the replacement content Breath, changes the device of the chapters and sections content in the corresponding readable block.
13. the device according to any one of claim 9 to 12, wherein the device further includes:
For receiving the device of the read request from user equipment, wherein the read request includes the chapters and sections for requesting to read Identification information;
For the identification information according to the chapters and sections for requesting reading, and combine the chapter for requesting the affiliated Reading subject of chapters and sections read Index information is saved, determines the device of the chapters and sections and its corresponding readable block that are provided to user;
For reading the device of chapters and sections content from identified readable block;
For sending the device of the chapters and sections content read to the user equipment.
14. a kind of for showing the device of chapters and sections content in a user device, wherein the device includes:
For sending the device of read request to the network equipment, wherein the read request includes the Reading subject for requesting to read Identification information and/or request read chapters and sections identification information;
For receiving the read chapter from the corresponding one or more readable blocks of the Reading subject of network equipment feedback Save the device of content, wherein the chapters and sections content of each chapters and sections is generated as independent readable block in the Reading subject;
For showing the amount of text information of processing information and the chapters and sections for needing to present according to the text of the user equipment, by institute It states and needs the chapters and sections division of teaching contents of the chapters and sections presented for the device of multiple piecemeals;
The device of the chapters and sections content of one of piecemeal in the multiple piecemeal for rendering;
When for executing the piecemeal handover operation of the chapters and sections currently presented as user, the needs for obtaining the chapters and sections currently presented are cut The corresponding chapters and sections content of the piecemeal shifted to and the device presented.
15. device according to claim 14, wherein the device further includes:
For receiving the device of the chapters and sections index information of the Reading subject of network equipment feedback;
For updating the chapters and sections index of the Reading subject according to insertion position of the information between the chapters and sections of the Reading subject is shown The device of information.
16. device according to claim 14, wherein the text display processing information includes at least one of following:
Screen size information;
Text-processing velocity information.
CN201410854007.XA 2014-12-31 2014-12-31 A kind of method and apparatus for showing chapters and sections content Active CN104572620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854007.XA CN104572620B (en) 2014-12-31 2014-12-31 A kind of method and apparatus for showing chapters and sections content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854007.XA CN104572620B (en) 2014-12-31 2014-12-31 A kind of method and apparatus for showing chapters and sections content

Publications (2)

Publication Number Publication Date
CN104572620A CN104572620A (en) 2015-04-29
CN104572620B true CN104572620B (en) 2018-11-23

Family

ID=53088724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854007.XA Active CN104572620B (en) 2014-12-31 2014-12-31 A kind of method and apparatus for showing chapters and sections content

Country Status (1)

Country Link
CN (1) CN104572620B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874490A (en) * 2017-02-21 2017-06-20 广东小天才科技有限公司 A kind of electronic teaching material fast method for preparing and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111000B2 (en) * 2003-01-06 2006-09-19 Microsoft Corporation Retrieval of structured documents
JP2006050275A (en) * 2004-08-04 2006-02-16 Toshiba Corp Structure of metadata and its reproduction method
US8346540B2 (en) * 2008-06-03 2013-01-01 International Business Machines Corporation Deep tag cloud associated with streaming media
NZ596369A (en) * 2009-05-07 2014-02-28 Cpa Software Ltd Method, system, and apparatus for searching an electronic document collection
CN102346730A (en) * 2010-07-30 2012-02-08 汉王科技股份有限公司 Method and device for displaying catalog in electronic reader
US9087043B2 (en) * 2010-09-29 2015-07-21 Rhonda Enterprises, Llc Method, system, and computer readable medium for creating clusters of text in an electronic document
CN102567285A (en) * 2010-12-13 2012-07-11 汉王科技股份有限公司 Document loading method and device
CN102646008B (en) * 2011-02-16 2014-08-27 汉王科技股份有限公司 Method and device for displaying multi-display page of document by electronic reader
CN102314492A (en) * 2011-08-22 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for acquiring candidate document sections matched with target document section

Also Published As

Publication number Publication date
CN104572620A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US8645453B2 (en) Method and system of processing cookies across domains
WO2016032080A1 (en) Chart conversion system using metadata and method therefor
WO2016062099A1 (en) Searching method and searching apparatus
CN107870915B (en) Indication of search results
US20170300574A1 (en) Data acquisition method, data acquisition apparatus, and recording medium
CN110750958A (en) Text display method and device, electronic equipment and medium
JP5232054B2 (en) Information provision device
CN104572620B (en) A kind of method and apparatus for showing chapters and sections content
JP6020196B2 (en) Information providing apparatus and program
CN111641690A (en) Session message processing method and device and electronic equipment
JP2020123321A (en) Method and apparatus for search processing based on clipboard data
WO2019136920A1 (en) Presentation method for visualization of topic evolution, application server, and computer readable storage medium
CN106021307B (en) A kind of system positioned for electronic document, unit and method
JP4981723B2 (en) Display processing apparatus, display processing method, display processing program, and recording medium
JP5228529B2 (en) Data search program, data search device, and data search method
US20120239662A1 (en) Document management apparatus and document management method
JP4407391B2 (en) Time-controlled content presentation method, apparatus, and program
JP2009199164A (en) Document management device, document management method and recording medium
JP5616473B2 (en) Information processing apparatus and information processing method
JP2015069235A (en) Information processing device and information processing method
JP2016181290A (en) Information processing apparatus
JP2010515174A5 (en)
CN111259621B (en) Cloud font display method and device
US11275803B2 (en) Contextually related sharing of commentary for different portions of an information base
JP2014146324A (en) System capable of switching between web pages displayed multilingually, and switching method therefor

Legal Events

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