CN108897870A - Generate method, medium, device and the calculating equipment of digest - Google Patents

Generate method, medium, device and the calculating equipment of digest Download PDF

Info

Publication number
CN108897870A
CN108897870A CN201810714337.7A CN201810714337A CN108897870A CN 108897870 A CN108897870 A CN 108897870A CN 201810714337 A CN201810714337 A CN 201810714337A CN 108897870 A CN108897870 A CN 108897870A
Authority
CN
China
Prior art keywords
user
object content
digest
response
mentioned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810714337.7A
Other languages
Chinese (zh)
Other versions
CN108897870B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810714337.7A priority Critical patent/CN108897870B/en
Publication of CN108897870A publication Critical patent/CN108897870A/en
Application granted granted Critical
Publication of CN108897870B publication Critical patent/CN108897870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiments of the present invention provide method, medium, device and the calculating equipment of a kind of generation digest.This method includes:The first control operation in response to user obtains the starting position of object content;The second control operation in response to user obtains the end position of the object content;Digest is obtained according to the object content that the starting position and the end position define.Family can be used in this method need to only mark starting position and end position in the body of a book reading process, starting position and the end position to select digest are accurately dragged without user, operating cost can be substantially reduced, the operation precision of user is also reduced simultaneously, the operating time for making digest is saved, brings better experience for user.In addition, embodiments of the present invention provide the device, medium and calculating equipment of a kind of generation digest.

Description

Generate method, medium, device and the calculating equipment of digest
Technical field
Embodiments of the present invention are related to communication and field of computer technology, more specifically, embodiments of the present invention relate to And generate method, medium, device and the calculating equipment of digest.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
In recent years, it as the fast development of development of Mobile Internet technology, reading are gradually transferred to e-book from paper book, uses Family can pass through the e-book readings system such as dedicated electronic reader or the e-book being installed on the mobile terminals such as mobile phone software System read books content.
User is when reading certain this e-book, if the body matter to this books is very interested, often on its basis It is upper to make digest as reading physical book, so that the later period looks back in time.But the reading class application at present on mobile terminal (App) realize that the method for making digest needs user to drag sliding block manually and the range for wanting to make digest is selected and adjusted, it is right The operation precision of user is more demanding, accurately makees the range of digest in order to find and generally requires multi-pass operation and could complete, grasps Make relatively complicated.
Summary of the invention
But the mode of prior art artificial screening is more demanding to the operation precision of user.
Thus, it is also very desirable to a kind of improved plan, it is easy to operate, it can reduce the operation precision requirement to user.
In the present context, embodiments of the present invention are intended to provide a kind of method, medium, device and meter for generating digest Calculate equipment.
In the first aspect of embodiment of the present invention, a kind of method for generating digest is provided, applied to electricity can be presented The terminal of philosophical works interactive interface, including:The first control operation in response to user obtains the starting position of object content;In response to The second control operation of user obtains the end position of the object content;According to the starting position and end position circle Fixed object content obtains digest.
In some embodiments of the invention, aforementioned schemes are based on, the first control operation in response to user obtains target Before the starting position of content, further include:Operation is controlled in response to the third of user, the interactive interface is cut from reading model It is changed to digest mode, wherein under the digest mode, can control the first control operation of user and described second and grasp It is responded.
In some embodiments of the invention, aforementioned schemes are based on, operation are controlled in response to the third of user, by the friendship Mutual interface is switched to digest mode from reading model, including:A predeterminable area on the interactive interface detects triggering behaviour When making, the interactive interface is switched to digest mode from reading model, wherein the predeterminable area is in the interactive interface It immobilizes or is moved in the interactive interface after receiving move.
In some embodiments of the invention, aforementioned schemes, the first control operation and the second control behaviour are based on As slide, the first control operation in response to user obtains the starting position of object content and includes:Exist in response to user The end position of the first slide obtains the starting position of the object content on the interactive interface;In response to the of user Two control operations obtain the end position of the object content and include:In response to user, the second sliding is grasped on the interactive interface The end position of work obtains the end position of the object content;Wherein first slide and second slide Time interval be 0.5s~3s.
In some embodiments of the invention, aforementioned schemes, the first control operation and the second control behaviour are based on As clicking operation, the first control operation in response to user obtains the starting position of object content and includes:Exist in response to user The position of the first clicking operation obtains the starting position of the object content on the interactive interface;In response to the second control of user System operation obtains the end position of the object content and includes:In response to user on the interactive interface the second clicking operation Position obtains the end position of the object content;Wherein between first clicking operation and the time of second clicking operation It is divided into 0.5s~3s.
In some embodiments of the invention, aforementioned schemes are based on, further include:Behaviour is slided in response to the n times first of user Work or the first clicking operation of n times, obtain N number of starting position of N number of object content;In response to the second slide of n times of user Or the second clicking operation of n times, obtain N number of end position corresponding with the N number of starting position, wherein N be positive integer and N≥2;For define come N number of object content, respectively according to the starting position of each object content and the knot Beam position obtains corresponding digest.
In some embodiments of the invention, aforementioned schemes are based on, after the end position for obtaining the object content, Further include:It is text by the Content Transformation in the picture when detecting in the object content comprising picture;After converting Text and the object content in the splicing of original text, the object content after forming conversion.
In some embodiments of the invention, aforementioned schemes are based on, the picture, which is converted to text, includes:By the figure Piece is sent to server-side to carry out text conversion to the content in the picture;Text after receiving the server-side conversion.
In some embodiments of the invention, aforementioned schemes are based on, after obtaining the end position of the object content, also Including:The object content is highlighted from the starting position to the end position.
In some embodiments of the invention, aforementioned schemes are based on, according to the starting position and end position circle Fixed object content obtains digest:It is obtained according to the page number corresponding to the object content and pre-stored directory information Chapters and sections mark;The object content is stored and obtained described according to chapters and sections mark and pre-stored books mark Digest.
In the second aspect of embodiment of the present invention, a kind of medium is provided, program is stored thereon with, which is located Manage the method realized as described in first aspect in above embodiment when device executes.
In the third aspect of embodiment of the present invention, a kind of device for generating digest is provided, applied to electricity can be presented The terminal of philosophical works interactive interface, including:Starting position acquiring unit is configured to obtain mesh in response to the first control operation of user Mark the starting position of content;End position acquiring unit is configured to obtain the target in response to the second control operation of user The end position of content;Processing unit is configured to be obtained according to the object content that the starting position and the end position define To digest.
In some embodiments of the invention, aforementioned schemes are based on, further include:Mode startup unit, be configured in response to The third of user controls operation, the interactive interface is switched to digest mode from reading model, wherein in the digest mode Under, the starting position acquiring unit can respond the first control operation of user, and the end position obtains single Member can respond the second control operation of user.
In some embodiments of the invention, aforementioned schemes are based on, the mode startup unit includes:Detection sub-unit, When detecting trigger action for the predeterminable area on the interactive interface, the interactive interface is switched from reading model For digest mode, wherein the predeterminable area immobilizes in the interactive interface or after receiving move in institute It states in interactive interface and moves.
In some embodiments of the invention, aforementioned schemes, the first control operation and the second control behaviour are based on As slide, the starting position acquiring unit is configured in response to user the first slide on the interactive interface End position obtain the starting position of the object content;The end position acquiring unit is configured in response to user in institute The end position for stating the second slide on interactive interface obtains the end position of the object content;Wherein first sliding The time interval of operation and second slide is 0.5s~3s.
In some embodiments of the invention, aforementioned schemes, the first control operation and the second control behaviour are based on As clicking operation, the starting position acquiring unit is configured in response to user the first clicking operation on the interactive interface Position obtain the starting position of the object content;The end position acquiring unit is configured in response to user in the friendship The position of the second clicking operation obtains the end position of the object content on mutual interface;Wherein first clicking operation and institute The time interval for stating the second clicking operation is 0.5s~3s.
In some embodiments of the invention, aforementioned schemes are based on, the starting position acquiring unit is additionally configured to respond In the first clicking operation of the first slide of n times or n times of user, N number of starting position of N number of object content is obtained;The knot Beam position acquiring unit is additionally configured to the second clicking operation of the second slide of n times or n times in response to user, obtain with it is described The corresponding N number of end position in N number of starting position, wherein N is positive integer and N >=2;For define come N number of target in Hold, corresponding digest is obtained according to the starting position of each object content and the end position respectively.
In some embodiments of the invention, aforementioned schemes are based on, the processing unit includes:Picture conversion subunit, It is configured to when detecting in the object content comprising picture, is text by the Content Transformation in the picture;Text splicing Subelement is configured to original text splicing in text and the object content after converting, is formed in the target after converting Hold.
In some embodiments of the invention, aforementioned schemes are based on, the picture conversion subunit is additionally configured to:It will be described Picture is sent to server-side to carry out text conversion to the content in the picture;And receive the text after the server-side conversion This.
In some embodiments of the invention, aforementioned schemes are based on, further include:Display unit is configured to the target Content is highlighted from the starting position to the end position.
In some embodiments of the invention, aforementioned schemes are based on, the processing unit is configured to according in the target Hold the corresponding page number and pre-stored directory information obtains chapters and sections mark;The object content is identified according to the chapters and sections It is stored with pre-stored books mark and obtains the digest.
In the fourth aspect of embodiment of the present invention, a kind of calculating equipment is provided, including:Processor and memory, The memory is stored with executable instruction, and the processor is used to that the executable instruction of the memory storage to be called to execute such as Method described in first aspect in above embodiment.
The method of the generation digest of embodiment, medium, device and calculating equipment according to the present invention, can be used family in book Starting position and end position only need to be marked during nationality text reading, the start bit to select digest is accurately dragged without user It sets and end position, operating cost can be substantially reduced, while also reducing the operation precision of user, when the operation of digest is made in saving Between, better experience is brought for user.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention Dry embodiment, wherein:
Fig. 1 schematically shows the current reading class App realization provided in related embodiment according to the present invention and makees digest Process schematic;
Fig. 2 schematically shows the flow charts of the method for the generation digest according to one embodiment of present invention;
Fig. 3 schematically show according to one embodiment of present invention the end position for obtaining the object content it Flow chart afterwards;
Fig. 4 schematically shows step S310 in Fig. 3 according to one embodiment of present invention to be converted to the picture The flow chart of text;
Fig. 5 schematically shows the storage field list of digest according to one embodiment of present invention;
Fig. 6 schematically shows the flow chart of the method for according to embodiments of the present invention 1 generation digest;
Fig. 7 schematically shows the interface schematic diagram of method shown in corresponding diagram 6;
Fig. 8 schematically shows the schematic diagram of the position mark of digest segment;
Fig. 9 schematically shows the flow chart of the method for according to embodiments of the present invention 2 generation digest;
Figure 10 schematically shows according to an embodiment of the present invention 2 and carries out the effect after batch does digest to a certain chapters and sections Fruit schematic diagram;
Figure 11 schematically shows the flow chart of the method for according to embodiments of the present invention 3 generation digest;
Figure 12 schematically shows the signal that the 3 pairs according to embodiments of the present invention object contents comprising picture make digest Figure;
Figure 13 schematically shows the block diagram of the device of the generation digest in another embodiment of the invention;
Figure 14 schematically shows the block diagram of the electronic equipment in one more embodiment of the present invention;And
Figure 15 schematically shows the program product in one more embodiment of the present invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the present disclosure may be embodied in the following forms, i.e.,:Complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes method, medium, device and the calculating equipment of a kind of generation digest.
Herein, it is to be understood that related term " App intelligent terminal " indicates to be based on mobile phone operation system The application of system, such as iPhone editions XX readings or Android editions XX reading.User opens certain in App intelligent terminal A interface, intelligent terminal transmit a request to product servers, server returned data, and is presented to the user end interface. User carries out input operation on the interface of App intelligent terminal, and intelligent terminal sends data to product servers, produces Product server storing data.
Term " e-book " is also known as e-book, refers to and must be transmitted through special ocr software, in the form of electronic document, It is downloaded to general common platform through network connections, such as:Personal computer, notebook computer can be a large amount of or any The books read on the reader of digital reading data are stored, are a kind of optional substitutes of traditionally on paper books.
Term " the body of a book " is the maximum component part of book accounting, contains this this book most crucial information and sight The text of point, a usual book can be divided into several chapters and sections.
Term " digest " refers to the extracts to excellent paragraph, penetrating sentence in the body of a book.
In addition, any number of elements in attached drawing is used to example rather than limitation and any name are only used for distinguishing, Without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
Fig. 1 shows the current reading class App provided in related embodiment of the present invention and realizes the process schematic for making digest, tool Body is:Firstly, user's (being as shown in fig. 1 on the left-hand side the interface under read state) during read books text, if encountered Interested content, needs long-pressing the body of a book, and ejection operation menu includes " multiple in actions menu as shown in the right side Fig. 1 System ", " scribing line ", " notes ", " dictionary " " sharing " etc.;User needs to choose text manually, then passes through dragging sliding block fining The range of text is chosen in adjustment;After range of text determines, further can take notes or cross to it etc. is operated.
But if user will choose multiple discontinuous digest contents, need to be repeated several times the above process, thus meeting Cause repeatedly to interrupt it is current read, operating cost is higher, and during choosing text, due to need manually dragging sliding block into Row fining adjustment requires the operation precision of user also very high.In addition, if the object that user will make digest is the body of a book In be present in the text on picture, then user can only save picture, or take passages manually, cannot be by the content in picture with above-mentioned The form of digest is stored.
The inventors discovered that it is more demanding to the operation precision of user in the prior art, accurately make digest to find Range generally require multi-pass operation and could complete, operate it is relatively complicated, when especially choosing multiple discontinuous digest contents, It needs to repeat the operation several times, will cause user and repeatedly interrupt current reading, and for the content of text shown in picture format It can not be stored in the form of plain text digest, there are many drawbacks.
Therefore, embodiments of the present invention provide method, medium, device and the calculating equipment of a kind of generation digest.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
It should be noted which is shown only for the purpose of facilitating an understanding of the spirit and principles of the present invention for following application scenarios, this The embodiment of invention is unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to it is applicable any Scene.
Application scenarios one:As an article for showing e-book on intelligent terminal by an interactive interface, Yong Hu When reading this article, digest mode can be started on interactive interface after a predeterminable area by clicking, which can be Changeless region (one piece of white space in the upper right corner of interactive interface) in interactive interface, can also be can be on interaction circle It is moved in face, such as " plucking " the word button that suspends on interactive interface, and is receiving move (such as actuating button) It afterwards can be with the position of movable button.Under digest mode, user can be according to preset operation (as slided or clicking) mark mesh Starting position and the end position of content are marked, wherein object content is exactly that user wants to make the content of digest.Selected target content Starting position and end position after, can directly by object content be labeled as digest.As it can be seen that the skill of embodiment of the present invention The selection target by way of dragging again is needed after user's long-pressing the body of a book ejection operation menu in art scheme and traditional approach The digest mode of making of content is compared, and family can be used need to only mark starting position and stop bits in the body of a book reading process It sets, starting position and the end position to select digest is accurately dragged without user, operating cost can be substantially reduced, while The operation precision of user is reduced, the operating time for making digest is saved, brings better experience for user.
Application scenarios two:As an article for showing e-book on intelligent terminal by an interactive interface, Yong Hu When reading this article, digest mode can be started on interactive interface after a predeterminable area by clicking.It is different from application scenarios one Place is, user equally can according to the starting position of preset operation (as slided or clicking) multiple object contents of mark and Object content after the starting position of each selected target content and end position, directly can be labeled as book by end position It plucks.Multiple digests can be generated in this way, that is, complete the extraction of batch digest.Under the scene, shirtsleeve operation side can be used Formula completes the extraction of batch digest, and the operating time can be greatly decreased compared with making digest in batches in traditional scheme, and it is convenient to be promoted Property.
Application scenarios three:As an article for showing e-book on intelligent terminal by an interactive interface, Yong Hu When reading this article, digest mode can be started on interactive interface after a predeterminable area by clicking.It is different from application scenarios one Place is, is first text by the Content Transformation in picture, then will be after conversion in selected object content when including picture Original text splices in text and object content, the object content after forming conversion.It, can not only be in text under the scene Appearance makees digest, can also equally make digest to image content, and will convert into after text and carry out as the content of text formatting Storage, keeps the application range of digest more extensive, meets more property demands of user.
Illustrative methods
Below with reference to above-mentioned application scenarios, it is described with reference to Figure 2 the generation digest of illustrative embodiments according to the present invention Method.
It should be noted which is shown only for the purpose of facilitating an understanding of the spirit and principles of the present invention for above-mentioned application scenarios, this The embodiment of invention is unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to it is applicable any Scene.
Fig. 2 diagrammatically illustrates the flow chart of the method according to an embodiment of the invention for generating digest.
Referring to shown in Fig. 2, the method according to an embodiment of the invention for generating digest includes the following steps:
Step S210, the first control operation in response to user obtain the starting position of object content.
Step S220, the second control operation in response to user obtain the end position of above-mentioned object content.
In some embodiments of the invention, before step S210, further include:Behaviour is controlled in response to the third of user Make, above-mentioned interactive interface is switched to digest mode from reading model, it can be achieved that being controlled to the first of user under the digest mode System operation and the second control operation are responded.
In some embodiments of the invention, above-mentioned third control operation is the preset areas on the above-mentioned interactive interface of triggering Domain, wherein above-mentioned predeterminable area immobilizes in above-mentioned interactive interface or after receiving move on above-mentioned interactive boundary It is moved in face.Wherein the position of predeterminable area can be fixed, such as can be the upper right corner of interactive interface (lower right corner etc. is equal Can) one piece of white space, still can be moveable, for example, can be suspended on interactive interface one operation by Button can mark word (" plucking ") or two words (" digest ") etc. on button for giving user's prompt.In addition, operation button removes Except being suspended on interactive interface, it can also be other sides being formed on or below the show layers of the body of a book content Formula is shown, is not construed as limiting herein.
In some embodiments of the invention, the operation button due to be it is transportable, preset movement can be passed through Instruction comes the position of moving operation button, for example, move can be dragging, that is, passes through the side dragged after choosing operation button Operation button is moved to another position from a position by formula.In this way, if operation button is located at the body of a book content On show layers, then when operation button causes to block on body matter influences user's reading, so that it may by dragging Operation button is moved to other not by dynamic mode influences the position of user's reading.In addition, in other embodiments of the invention, Movement can also be entered using other moves other than dragging come the position of moving operation button, such as long press operation button Operation mode directly can determine that the target position of operation button carries out according to the position that user clicks under moving operation mode It is mobile, the movement of operation button also may be implemented.
It should be noted that in other embodiments of the invention, being operated in addition to third controls, its other party can also be used Formula realizes that reading model is switched to digest mode, for example, can using other with it is existing to entity button on intelligent terminal The mode that does not conflict of operational order realize that reading model is switched to digest mode etc., will not enumerate herein.
In some embodiments of the present invention, under above-mentioned digest mode, above-mentioned first control operation and above-mentioned second control Operation is slide, and the first control operation in response to user obtains the starting position of object content and includes:In response to user The end position of the first slide obtains the starting position of above-mentioned object content on above-mentioned interactive interface;In response to user's Second control operation obtains the end position of above-mentioned object content and includes:The second sliding on above-mentioned interactive interface in response to user The end position of operation obtains the end position of above-mentioned object content.Wherein on the triggered time, above-mentioned second control operation Triggered time was adjacent to after the triggered time of above-mentioned first control operation, such as above-mentioned first slide and above-mentioned second sliding The time interval of operation is 0.5s~3s.
In some embodiments of the invention, under above-mentioned digest mode, above-mentioned first control operation and above-mentioned second control System operation is clicking operation, and the first control operation in response to user obtains the starting position of object content and includes:In response to Family position of the first clicking operation on above-mentioned interactive interface obtains the starting position of above-mentioned object content;In response to the of user Two control operations obtain the end position of above-mentioned object content and include:In response to user, the second click is grasped on above-mentioned interactive interface The position of work obtains the end position of above-mentioned object content;Wherein above-mentioned first clicking operation and above-mentioned second clicking operation when Between between be divided into 0.5s~3s.
It should be noted that for the first slide (or first clicking operation) and the second slide in the present embodiment The time interval of (or second clicking operation) is merely illustrative, can according to need the suitable time interval of selection in practical applications The judgment basis of the operation of neighbour as two slides (or two clicking operations), for example, can be divided into 2s between default time, That is the slide occurred again after the first slide (or first clicking operation) in 2s is the second slide (or second Clicking operation).In addition, in other embodiments, for the time interval of two control operations can also be user 0.1s~ The sometime value of customized setting, principle are same as above within the scope of 5s, and details are not described herein again.
It should also be noted that, in other embodiments of the invention, to one section of object content selection mark under digest mode The mode for forming digest can also be by (such as drawing to hook gesture operation, S except the controls such as the above-mentioned sliding enumerated, click operation Type gesture operation etc.) operation realize that these operations need to meet above-mentioned first control operation and the second control operation certainly Feature simple to operation, low to user's operation required precision, and should not refer to operation existing on intelligent terminal It enables and generates conflict.In this way, user is when reading any books, it is only necessary to the beginning and end position of user annotation object content Set, so that it may by this object content active flag be digest, accurately dragged without user, to reduce user's operation cost.
In some embodiments of the invention, under above-mentioned digest mode, the operation of batch digest can also be carried out, therefore Further include in this method:
In response to the first clicking operation of the first slide of n times or n times of user, N number of beginning of N number of object content is obtained Position;In response to the second clicking operation of the second slide of n times or n times of user, it is right respectively with above-mentioned N number of starting position to obtain The N number of end position answered, wherein N is positive integer and N >=2.
Further, for define come N number of object content, respectively according to the above-mentioned beginning of each above-mentioned object content Position and above-mentioned end position obtain corresponding digest.In this way, user only needs to mark more in the body of a book reading process The starting position of a object content and end position can complete the operation that batch makees digest, can also reduce the operation of user Cost.
It should be noted that in the operating process that user carries out that batch makees digest, by the clicking operation for detecting user After the end position for obtaining one of object content, the detection of time interval is no longer carried out.If user is very in short-term at this time It is interior to carry out clicking operation again, then using the clicking operation as the detection target of another object content starting position, so not It will affect the object content for having defined and.
It in some embodiments of the invention, might not all be the content of text formatting in selected object content, also It may completely or partially include the content of picture format.
Fig. 3 shows the flow chart in the embodiment of the present invention after the end position for obtaining above-mentioned object content, specifically Include the following steps:
Whether step S310 detects comprising picture in object content, includes when detecting in above-mentioned object content It is text, specific conversion process step with reference to shown in following Fig. 4 by the Content Transformation in above-mentioned picture when picture.
Step S320 splices text original in the text and above-mentioned object content after conversion, the mesh after forming conversion Mark content.It should be noted that the step for, refer to for subpackage when containing picture in the middle part of object content, then needs to turn in picture Spliced again with original text after changing corresponding text into, the object content after finally being converted.For object content When all comprising picture (not including text), then without this splicing step, the text after directly obtaining conversion is exactly final Object content after conversion.
In some embodiments of the invention, Fig. 4 further shows in Fig. 3 step S310 and above-mentioned picture is converted to text Flow chart, following steps can be specifically included:
Above-mentioned picture is sent to server-side to carry out text conversion to the content in above-mentioned picture by step S410.
Step S420, the text after receiving above-mentioned server-side conversion.
Based on above-mentioned steps S410 and step S420, intelligent terminal is after detecting picture in object content, i.e., The picture is sent to server-side, after server-side receives picture, text conversion is carried out to it, such as OCR can be used (Optical Character Recognition, optical character identification) is converted to corresponding text.Then, server will Text after conversion is sent to intelligent terminal.
In some embodiments of the invention, after the end position for obtaining above-mentioned object content, further include:To above-mentioned mesh Mark content is highlighted from above-mentioned starting position to above-mentioned end position, such as selected object content can be carried out high Bright display, to be different from other body matters from display.
Step S230 extracts to obtain digest according to the object content that above-mentioned starting position and above-mentioned end position define.
In some embodiments of the invention, it is obtained according to the object content that above-mentioned starting position and above-mentioned end position define Include to digest:Chapters and sections mark is obtained according to the page number corresponding to above-mentioned object content and pre-stored directory information;It will be upper Object content is stated to be stored according to above-mentioned chapters and sections mark and pre-stored books mark and obtain above-mentioned digest.Wherein books It is identified as and is automatically stored in advance, when above-mentioned interactive interface shows certain this books, just acquire the books mark automatically Know.And record has the page number range of chapters and sections and each chapters and sections in pre-stored backlist information, therefore can be according to mesh The directory information of the page number and books of marking content obtains chapters and sections mark.
Fig. 5 shows the storage field list of digest, as shown in figure 5, including books mark (i.e. books including storage field ID), chapters and sections identify (i.e. chapters and sections ID), starting position (i.e. note-startindex) and end position (i.e. note- Endindex), wherein the field type of books ID and chapters and sections ID are character string, note-startindex and note- The field type of endindex is character, and note-startindex is used to record the place that certain mark starts, such as subsequent figure The position A1 shown in 8, note-endindex are used to record the place that certain mark terminates, the position A2 as shown in subsequent figure 8.
Based on shown in above-mentioned some embodiments, the method for the generation digest, on the one hand, family can be used and read in the body of a book Starting position and end position only need to be marked in read procedure, starting position and end to select digest are accurately dragged without user Position can substantially reduce operating cost, while also reduce the operation precision of user, save and make operating time of digest, for Family brings better experience.On the other hand, user can be completed batch and make by marking multiple starting positions and end position The operation of digest can further decrease the operating cost of user it is not necessary that the complex operations such as long press dragging are repeated several times, also larger Improve the portability of operation.In another aspect, the picture in object content can be reduced be converted into text after store, Digest is made in completion, solves the problems, such as that the prior art can only save picture or take passages manually and brings.
It is explained in detail below with reference to realization details of the different embodiments to the method shown in Fig. 2 for generating digest It states:
Embodiment 1
Fig. 6 shows a kind of schematic diagram of the method for the generation digest provided in the embodiment of the present invention 1, and this method is used for pure Content of text makees digest, as shown in fig. 6, including the following steps:
Step S610 controls operation in response to the third of user, above-mentioned interactive interface is switched to digest from reading model Mode.
Wherein third control operation is clicks " plucking " word button, wherein " plucking " word button is suspended in the figure of the body of a book content On layer.Fig. 7 shows the interface schematic diagram of method shown in corresponding diagram 6, shows reading model on the left of Fig. 7, right side shows digest Mode after opening the body of a book, enters digest mode after clicking " plucking " word button.
Step S620, in response to user, the end position of the first slide obtains above-mentioned target on above-mentioned interactive interface The starting position of content.
Step S630, in response to user, the end position of the second slide obtains above-mentioned target on above-mentioned interactive interface The end position of content.
In step S620 and step S630, under digest mode, the first slide of user and the second sliding can be grasped It is responded.Wherein above-mentioned first slide and above-mentioned second slide are triggering of the user on above-mentioned interactive interface Two temporally adjacent operations, and the first slide and the second slide can also use the first clicking operation and second point Operation is hit to be replaced.It should be noted that the end position of slide here can be and be identified with straight line, it is also possible to It is identified with oblique line, is shown by taking oblique line as an example in the present embodiment.
Shown on the right side of Fig. 7, under digest mode, by the end position in the first slide, that is, " such as The starting position of position acquisition object content before " such as " word of fruit ... " equally passes through the end in the first slide Position, that is, " ... clearly." "." after position acquisition object content end position.
Step S640 extracts to obtain digest according to the object content that starting position and end position define.
Firstly, the object content defined according to starting position and end position can identify the object content of segment mark note Any this books belonged to, i.e. acquisition books mark (i.e. books ID);Object content can be obtained according to starting position and end position The page number, further the page number according to corresponding to object content combine pre-stored books directory information can identify this Which chapters and sections the object content of segment mark note, which belongs to, identifies (i.e. chapters and sections ID) to get to chapters and sections;Then, by object content according to chapters and sections Mark and pre-stored books mark are stored and obtain digest;Finally, by books ID, chapters and sections ID, starting position and knot Beam position is stored into field list as figure 5 illustrates.
Then, according to field list, the digest segment of user is extracted, Fig. 8 shows the signal of the position mark of digest segment Figure, as shown in figure 8, starting position startindex is diagram A1, end position endindex is diagram A2.If marked more A digest segment marks the corresponding prestige that starts in the page and regards and end position then toward front and back page turning.
It should be noted that the object content can be extracted as book automatically after the end position for obtaining object content It plucks, it can also be after receiving the additional operational order of user (such as " making digest " button in click Fig. 7) again by the target Contents extraction is digest.
It should also be noted that, on the side of " making digest " button, there are one " synchronous comments " shown on the right side of Fig. 7 Item is chosen, if user chooses " synchronous comment " option simultaneously, clicking " making digest " button later can be by this content synchronization Into the comment of the books, and show the chapters and sections position of comment.
The method of the generation digest provided through this embodiment, extracts digest to content of text, family can be used and exist Starting position and end position only need to be marked in the body of a book reading process, the beginning to select digest is accurately dragged without user Position and end position can substantially reduce operating cost, while also reduce the operation precision of user, save the operation for making digest Time brings better experience for user.
Embodiment 2
Fig. 9 shows a kind of schematic diagram of the method for the generation digest provided in the embodiment of the present invention 2, and this method is also used for pair Plain text content makees digest, as shown in figure 9, including the following steps:
Step S910 controls operation in response to the third of user, above-mentioned interactive interface is switched to digest from reading model Mode.
Wherein third control operation is clicks " plucking " word button, wherein " plucking " word button is suspended in the figure of the body of a book content On layer.Fig. 7 shows the interface schematic diagram of method shown in corresponding diagram 9, shows reading model on the left of Fig. 7, right side shows digest Mode after opening the body of a book, enters digest mode after clicking " plucking " word button.
Step S920 obtains N number of object content in response to the first clicking operation of the first slide of n times or n times of user N number of starting position.
Step S930 obtains N number of opening with above-mentioned in response to the second clicking operation of the second slide of n times or n times of user The corresponding N number of end position in beginning position, wherein N is positive integer and N >=2.
In step S920 and step S930, under digest mode, can to user the first slide (or first click behaviour Make) and the second slide (or second clicking operation) responded.Wherein (or first click behaviour for above-mentioned first slide Make) and above-mentioned second slide (or second clicking operation) for triggered time of the user on above-mentioned interactive interface it is adjacent two A operation, specially:1 the first slide and 1 the second slide form an operative combination, can determine one section of mesh Starting position and the end position of content are marked, it is corresponding to obtain first slide of digest ... n times and the sliding of n times second Operation forms N number of operative combination, obtains N number of digest, realizes that batch makees digest by shirtsleeve operation to realize.It needs to illustrate , the end position of slide here can be to be identified with straight line, be also possible to identify with oblique line, in the present embodiment with It is shown for oblique line.
The introduction of acquisition reference above-described embodiment 1 of starting position and end position for each object content, this Place repeats no more.
Step S940 obtains corresponding digest according to the object content that each group of starting position and end position are defined.
I.e. in the embodiment, multiple digest segments can be respectively obtained according to multiple groups starting position and end position, for The step of making digest according to the object content that each group of starting position and end position are defined and process are referring to above-described embodiment 1 It introduces, details are not described herein again.
If user annotation many starting positions and end positions, had in books multiple shown in Fig. 8 Segment is exemplified below:
Digest A:Initial position A1, end position A2;
Digest B:Initial position B1, end position B2;
Digest C:Initial position C1, end position C2;
And so on ...
On the right side of Fig. 7 after the starting position of shown determining object content and end position, " making digest " button is clicked, then is existed The object content chosen just now (in the present embodiment only have text) is highlighted in interactive interface, and by the field of storage It is saved, it is synchronous in the notes of user, so as to complete the operation of batch extracting digest.
Equally, if user chooses " synchronous comment " option simultaneously, clicking after " making digest " button can will be in this Appearance is synchronized in the comment of the books, and shows the chapters and sections position of comment.
Figure 10 shows in the present embodiment and carries out the effect diagram after batch does digest to a certain chapters and sections, as shown in Figure 10, It can check that user to whole digests of certain this books, can check the chapter of each digest after clicking to enter in user's notes Multiple digests under section and same chapters and sections.
The method of the generation digest provided through this embodiment, on the basis of embodiment 1, user can be in digest mode The lower mode of operation answered using letter carries out the operation that batch makees digest, can substantially subtract compared with making digest in batches in traditional scheme Few operating time, promote convenience.
Embodiment 3
Figure 11 shows a kind of schematic diagram of the method for the generation digest provided in the embodiment of the present invention 3, this method for pair Object content comprising picture makees digest, as shown in figure 11, includes the following steps:
Step S1110 controls operation in response to the third of user, above-mentioned interactive interface is switched to digest from reading model Mode.
Step S1120, in response to user, the end position of the first slide obtains above-mentioned mesh on above-mentioned interactive interface Mark the starting position of content.
Step S1130, in response to user, the end position of the second slide obtains above-mentioned mesh on above-mentioned interactive interface Mark the end position of content.
In step S1120 and step S1130, under digest mode, the first slide of user and second can be slided Operation is responded.The introduction of acquisition reference above-described embodiment 1 of starting position and end position for object content, herein It repeats no more.Step S1120 and step S1130 is by taking slide as an example in the present embodiment, and those skilled in the art should hold It is readily conceivable that if changing slide into clicking operation equally may be implemented.
Whether step S1140 detects object content comprising picture in object content, when detecting above-mentioned target It is text by the Content Transformation in above-mentioned picture in content when including picture.
It wherein include that the picture is sent to server-side after picture in intelligent terminal detection object content in the step To carry out text conversion to the content in above-mentioned picture, picture is converted to corresponding text using OCR by server-side, and after conversion Text return to intelligent terminal.
Step S1150 splices text original in the text and above-mentioned object content after conversion, the mesh after forming conversion Mark content.
Step S1160 extracts to obtain digest according to the object content after conversion.The detailed process of the step is referring to above-mentioned reality The introduction of example 1 is applied, details are not described herein again.
Figure 12 shows the schematic diagram for making digest to the object content comprising picture, shows reading model, right side on the left of Figure 12 Digest mode is shown, after opening the body of a book, enters digest mode after clicking " plucking " word button.Include figure in the body of a book Piece equally can determine mesh by slide using mode shown in Fig. 7 if doing digest to the object content comprising picture Mark starting position and the end position of content.
If intelligent terminal judges in the object content to include picture at this time, this figure is sent to server-side by this, clothes Business is identified after terminating OCR, then identification content is returned to intelligent terminal with written form.Intelligent terminal will Just now the part chosen is highlighted, and the field that server-side returns is saved, synchronous in the notes of user, from And complete to extract the operation of digest.If user has chosen " synchronous comment " option simultaneously, which is synchronized to this In the comment of books, and show the chapters and sections position of comment.
The method of the generation digest provided through this embodiment, on the basis of embodiment 1, user can be in digest mode If including picture in the object content of lower selection, picture is converted into corresponding text, digest can not only be made to content of text, Digest can also equally be made to image content, and stored as the content of text formatting after will convert into text, thus The content for taking passages picture manually without user carries out digest extraction, keeps the application range of digest more extensive, meets the more of user Property demand.
Exemplary media
After describing the method for exemplary embodiment of the invention, next, to exemplary embodiment of the invention Medium be illustrated.
In some possible embodiments, various aspects of the invention are also implemented as a kind of medium, store thereon There is program code, it is above-mentioned " illustrative methods " for realizing this specification when above procedure code is executed by the processor of equipment Step in the information processing method of various illustrative embodiments according to the present invention described in part.
Specifically, for realizing following steps when the processor of above equipment executes above procedure code:In response to user First control operation obtain the starting position of object content;The second control operation in response to user obtains above-mentioned object content End position;Digest is obtained according to the object content that above-mentioned starting position and above-mentioned end position define.
In some embodiments of the invention, aforementioned schemes are based on, the first control operation in response to user obtains target Before the starting position of content, further include:Operation is controlled in response to the third of user, above-mentioned interactive interface is cut from reading model It is changed to digest mode, wherein under above-mentioned digest mode, can control the above-mentioned first control operation of user and above-mentioned second and grasp It is responded.
In some embodiments of the invention, aforementioned schemes are based on, operation are controlled in response to the third of user, by above-mentioned friendship Mutual interface is switched to digest mode from reading model, including:A predeterminable area on above-mentioned interactive interface detects triggering behaviour When making, above-mentioned interactive interface is switched to digest mode from reading model, wherein above-mentioned predeterminable area is in above-mentioned interactive interface It immobilizes or is moved in above-mentioned interactive interface after receiving move.
In some embodiments of the invention, aforementioned schemes, above-mentioned first control operation and above-mentioned second control behaviour are based on As slide, the first control operation in response to user obtains the starting position of object content and includes:Exist in response to user The end position of the first slide obtains the starting position of above-mentioned object content on above-mentioned interactive interface;In response to the of user Two control operations obtain the end position of above-mentioned object content and include:In response to user, the second sliding is grasped on above-mentioned interactive interface The end position of work obtains the end position of above-mentioned object content;Wherein above-mentioned first slide and above-mentioned second slide Time interval be 0.5s~3s.
In some embodiments of the invention, aforementioned schemes, above-mentioned first control operation and above-mentioned second control behaviour are based on As clicking operation, the first control operation in response to user obtains the starting position of object content and includes:Exist in response to user The position of the first clicking operation obtains the starting position of above-mentioned object content on above-mentioned interactive interface;In response to the second control of user System operation obtains the end position of above-mentioned object content and includes:In response to user on above-mentioned interactive interface the second clicking operation Position obtains the end position of above-mentioned object content;Wherein between above-mentioned first clicking operation and the time of above-mentioned second clicking operation It is divided into 0.5s~3s.
In some embodiments of the invention, aforementioned schemes are based on, further include:Behaviour is slided in response to the n times first of user Work or the first clicking operation of n times, obtain N number of starting position of N number of object content;In response to the second slide of n times of user Or the second clicking operation of n times, obtain N number of end position corresponding with above-mentioned N number of starting position, wherein N be positive integer and N≥2。
In some embodiments of the invention, aforementioned schemes are based on, after the end position for obtaining above-mentioned object content, Further include:It is text by the Content Transformation in above-mentioned picture when detecting in above-mentioned object content comprising picture;After converting Text and above-mentioned object content in the splicing of original text, the object content after forming conversion.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned picture, which is converted to text, includes:By above-mentioned figure Piece is sent to server-side to carry out text conversion to the content in above-mentioned picture;Text after receiving above-mentioned server-side conversion.
In some embodiments of the invention, aforementioned schemes are based on, after obtaining the end position of above-mentioned object content, also Including:Above-mentioned object content is highlighted from above-mentioned starting position to above-mentioned end position.
In some embodiments of the invention, aforementioned schemes are based on, according to above-mentioned starting position and above-mentioned end position circle Fixed object content obtains digest:It is obtained according to the page number corresponding to above-mentioned object content and pre-stored directory information Chapters and sections mark;Above-mentioned object content is stored and obtained above-mentioned according to above-mentioned chapters and sections mark and pre-stored books mark Digest.
It should be noted that:Above-mentioned medium can be readable signal medium or readable storage medium storing program for executing.Readable storage medium Matter can be for example but not limited to:Electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or it is any Above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes:With one or more conducting wires Electrical connection, portable disc, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying Readable program code.The data-signal of this propagation can take various forms, including but not limited to:Electromagnetic signal, light letter Number or above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, The readable medium can be sent, propagated or be transmitted for being used by instruction execution system, device or device or being tied with it Close the program used.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to:Wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, above procedure design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and is executed in equipment, partially partially executes or remotely counted completely on a remote computing on the user computing device It calculates and is executed on equipment or server.In the situation for being related to remote computing device, remote computing device can pass through any kind Network --- be connected to user calculating equipment including local area network (LAN) or wide area network (WAN)-, or, it may be connected to it is outer Portion calculates equipment (such as connecting using ISP by internet).
Exemplary means
After describing the medium of exemplary embodiment of the invention, next, exemplary to the present invention with reference to Figure 13 The device of the generation digest of embodiment is illustrated.
Figure 13 diagrammatically illustrates the block diagram of the device of the generation digest of embodiment according to the present invention.
Referring to Fig.1 shown in 3, the device 1300 of the generation digest of embodiment according to the present invention can be applied to that electricity can be presented The terminal of philosophical works interactive interface, the device include:Starting position acquiring unit 1302, end position acquiring unit 1303 and processing Unit 1304.
Wherein starting position acquiring unit 1302 is configured to obtain object content in response to the first control operation of user Starting position;End position acquiring unit 1303 is configured to obtain above-mentioned object content in response to the second control operation of user End position;Processing unit 1304 is configured to obtain book according to the object content that above-mentioned starting position and above-mentioned end position define It plucks.
In some embodiments of the invention, aforementioned schemes are based on, further include in the device:Mode startup unit 1301, It is configured to the third control operation in response to user, above-mentioned interactive interface is switched to digest mode from reading model, wherein Under above-mentioned digest mode, above-mentioned starting position acquiring unit can respond the above-mentioned first control operation of user, above-mentioned knot Beam position acquiring unit can respond the above-mentioned second control operation of user.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned mode startup unit 1301 includes:Detection is single Member 13011, when detecting trigger action for the predeterminable area on above-mentioned interactive interface, by above-mentioned interactive interface from reading Pattern switching is digest mode, and above-mentioned third control operation is triggers the predeterminable area on above-mentioned interactive interface, wherein above-mentioned Predeterminable area immobilizes in above-mentioned interactive interface or moves in above-mentioned interactive interface after receiving move.
In some embodiments of the invention, aforementioned schemes, above-mentioned first control operation and above-mentioned second control behaviour are based on As slide, above-mentioned starting position acquiring unit 1302 is configured to the first sliding on above-mentioned interactive interface in response to user The end position of operation obtains the starting position of above-mentioned object content;End position acquiring unit 1303 is configured in response to user The end position of the second slide obtains the end position of above-mentioned object content on above-mentioned interactive interface;Wherein above-mentioned first The time interval of slide and above-mentioned second slide is 0.5s~3s.
In some embodiments of the invention, aforementioned schemes, above-mentioned first control operation and above-mentioned second control behaviour are based on As clicking operation, above-mentioned starting position acquiring unit 1302 is additionally configured in response to user first point on above-mentioned interactive interface The position for hitting operation obtains the starting position of above-mentioned object content;End position acquiring unit 1303 is configured to exist in response to user The position of the second clicking operation obtains the end position of above-mentioned object content on above-mentioned interactive interface;Wherein above-mentioned first click behaviour Make and the time interval of above-mentioned second clicking operation is 0.5s~3s.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned starting position acquiring unit 1302 is additionally configured to In response to the first clicking operation of the first slide of n times or n times of user, N number of starting position of N number of object content is obtained;On End position acquiring unit 1303 is stated to be additionally configured to obtain in response to the second slide of n times or the second clicking operation of n times of user To N number of end position corresponding with above-mentioned N number of starting position, wherein N is positive integer and N >=2;Above-mentioned processing unit 1304 be additionally configured to for define come N number of object content, respectively according to the above-mentioned starting position of each above-mentioned object content Corresponding digest is obtained with above-mentioned end position.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned processing unit 1304 includes:Picture conversion is single Member 13041 is configured to when detecting in above-mentioned object content comprising picture, is text by the Content Transformation in above-mentioned picture; Text splices subelement 13042, is configured to original text splicing in text and above-mentioned object content after converting, is formed and turned Object content after changing.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned picture conversion subunit 13041 is additionally configured to: Above-mentioned picture is sent to server-side to carry out text conversion to the content in above-mentioned picture;And receive above-mentioned server-side conversion Text afterwards.
In some embodiments of the invention, aforementioned schemes are based on, further include:Display unit 1305, is configured to above-mentioned Object content is highlighted from above-mentioned starting position to above-mentioned end position.
In some embodiments of the invention, aforementioned schemes are based on, above-mentioned processing unit 1304 is configured to according to above-mentioned mesh The page number corresponding to mark content and pre-stored directory information obtain chapters and sections mark;By above-mentioned object content according to above-mentioned chapters and sections Mark and pre-stored books mark are stored and obtain above-mentioned digest.
Exemplary computer device
After method, medium and the device for describing exemplary embodiment of the invention, next, introducing according to this hair The calculating equipment of bright another exemplary embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 500 of this embodiment according to the present invention is described referring to Figure 14.The electricity that Figure 12 is shown Sub- equipment 500 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 14, electronic equipment 500 is showed in the form of universal computing device.The component of electronic equipment 500 can be with Including but not limited to:At least one above-mentioned processing unit 510, at least one above-mentioned storage unit 520, the different system components of connection The bus 530 of (including storage unit 520 and processing unit 510).
Wherein, said memory cells are stored with program code, and above procedure code can be held by above-mentioned processing unit 510 Row, so that various according to the present invention described in the execution of above-mentioned processing unit 510 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, above-mentioned processing unit 510 can execute step as shown in Figure 2:Step S210, The first control operation in response to user obtains the starting position of object content;Step S220, in response to the second control of user Operation obtains the end position of above-mentioned object content;Step S230 is defined according to above-mentioned starting position and above-mentioned end position Object content obtains digest.
For another example, each step as shown in Fig. 6, Fig. 9, Figure 11 can also be performed in above-mentioned processing unit 510.
Storage unit 520 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 5201 and/or cache memory unit 5202, it can further include read-only memory unit (ROM) 5203.
Storage unit 520 can also include program/utility with one group of (at least one) program module 5205 5204, such program module 5205 includes but is not limited to:Operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 530 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 500 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 500 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 500 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 550.Also, electronic equipment 500 can be with By network adapter 560 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 560 is communicated by bus 530 with other modules of electronic equipment 500. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 500, including but not It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
It should be noted that although being referred to several units/modules or son list of Content Selection device in the above detailed description Member/module, but it is this division be only exemplary it is not enforceable.In fact, embodiment according to the present invention, on The feature and function of two or more units/modules of text description can embody in a units/modules.Conversely, above The feature and function of one units/modules of description can be to be embodied by multiple units/modules with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when above procedure product is run on the terminal device, on Program code is stated for executing above-mentioned terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
With reference to shown in Figure 15, the program product for realizing the above method of embodiment according to the present invention is described 600, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Above procedure product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more conducting wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, above procedure design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (10)

1. a kind of method for generating digest, applied to the terminal that e-book interactive interface can be presented, the method includes:
The first control operation in response to user obtains the starting position of object content;
The second control operation in response to user obtains the end position of the object content;
Digest is obtained according to the object content that the starting position and the end position define.
2. according to the method described in claim 1, wherein, the first control operation in response to user obtains the beginning of object content Before position, further include:
Operation is controlled in response to the third of user, the interactive interface is switched to digest mode from reading model, wherein in institute It states under digest mode, operation can be controlled to the first control operation of user and described second and responded.
3. control operation in response to the third of user according to the method described in claim 2, wherein, by the interactive interface from Reading model is switched to digest mode, including:
When the predeterminable area on the interactive interface detects trigger action, the interactive interface is switched from reading model For digest mode, wherein the predeterminable area immobilize in the interactive interface or after receiving move It is moved in the interactive interface.
4. according to the method described in claim 1, wherein, the first control operation and the second control operation are sliding behaviour Make, the first control operation in response to user obtains the starting position of object content and includes:
In response to user, the end position of the first slide obtains the start bit of the object content on the interactive interface It sets;
The second control operation in response to user obtains the end position of the object content and includes:
In response to user, the end position of the second slide obtains the stop bits of the object content on the interactive interface It sets;
Wherein the time interval of first slide and second slide is 0.5s~3s.
5. according to the method described in claim 1, wherein, the first control operation and second control operate to click behaviour Make, the first control operation in response to user obtains the starting position of object content and includes:
In response to user, the position of the first clicking operation obtains the starting position of the object content on the interactive interface;
The second control operation in response to user obtains the end position of the object content and includes:
In response to user, the position of the second clicking operation obtains the end position of the object content on the interactive interface;
Wherein the time interval of first clicking operation and second clicking operation is 0.5s~3s.
6. method according to claim 4 or 5, wherein further include:
In response to the first clicking operation of the first slide of n times or n times of user, N number of start bit of N number of object content is obtained It sets;
In response to the second clicking operation of the second slide of n times or n times of user, it is right respectively with N number of starting position to obtain The N number of end position answered, wherein N is positive integer and N >=2;
For define come N number of object content, respectively according to the starting position of each object content and the knot Beam position obtains corresponding digest.
7. according to the method described in claim 1, wherein, after the end position for obtaining the object content, further including:
It is text by the Content Transformation in the picture when detecting in the object content comprising picture;
Text original in text and the object content after conversion is spliced, the object content after forming conversion.
8. a kind of medium, is stored thereon with program, such as any one of claims 1 to 7 is realized when which is executed by processor The method.
9. a kind of device for generating digest, applied to the terminal that e-book interactive interface can be presented, described device includes:
Starting position acquiring unit is configured to obtain the starting position of object content in response to the first control operation of user;
End position acquiring unit is configured to obtain the stop bits of the object content in response to the second control operation of user It sets;
Processing unit is configured to obtain digest according to the object content that the starting position and the end position define.
10. a kind of calculating equipment, including:Processor and memory, the memory are stored with executable instruction, the processor Executable instruction for calling the memory storage executes the method as described in any one of claims 1 to 7.
CN201810714337.7A 2018-06-29 2018-06-29 Method, medium, device and computing equipment for generating book excerpts Active CN108897870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810714337.7A CN108897870B (en) 2018-06-29 2018-06-29 Method, medium, device and computing equipment for generating book excerpts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810714337.7A CN108897870B (en) 2018-06-29 2018-06-29 Method, medium, device and computing equipment for generating book excerpts

Publications (2)

Publication Number Publication Date
CN108897870A true CN108897870A (en) 2018-11-27
CN108897870B CN108897870B (en) 2021-03-16

Family

ID=64347371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810714337.7A Active CN108897870B (en) 2018-06-29 2018-06-29 Method, medium, device and computing equipment for generating book excerpts

Country Status (1)

Country Link
CN (1) CN108897870B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114690990A (en) * 2022-04-15 2022-07-01 北京百度网讯科技有限公司 Note generation method and device, equipment, medium and product
CN115328347A (en) * 2022-08-09 2022-11-11 青岛海信移动通信技术股份有限公司 Interface display method and device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013444A (en) * 2007-02-13 2007-08-08 华为技术有限公司 Method and apparatus for adaptively generating abstract of football video
CN101882384A (en) * 2010-06-29 2010-11-10 汉王科技股份有限公司 Method for note management on electronic book and electronic book equipment
US20130024767A1 (en) * 2011-07-22 2013-01-24 Samsung Electronics Co., Ltd. E-book terminal and method for switching a screen
CN105183298A (en) * 2015-09-25 2015-12-23 广东欧珀移动通信有限公司 Content selection method and device
CN106383630A (en) * 2016-09-07 2017-02-08 网易(杭州)网络有限公司 Book reading method and apparatus
CN106776488A (en) * 2016-09-19 2017-05-31 深圳市天朗时代科技有限公司 E-book digest is included and the method and system for presenting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013444A (en) * 2007-02-13 2007-08-08 华为技术有限公司 Method and apparatus for adaptively generating abstract of football video
CN101882384A (en) * 2010-06-29 2010-11-10 汉王科技股份有限公司 Method for note management on electronic book and electronic book equipment
US20130024767A1 (en) * 2011-07-22 2013-01-24 Samsung Electronics Co., Ltd. E-book terminal and method for switching a screen
CN105183298A (en) * 2015-09-25 2015-12-23 广东欧珀移动通信有限公司 Content selection method and device
CN106383630A (en) * 2016-09-07 2017-02-08 网易(杭州)网络有限公司 Book reading method and apparatus
CN106776488A (en) * 2016-09-19 2017-05-31 深圳市天朗时代科技有限公司 E-book digest is included and the method and system for presenting

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ITDRAGONS: "JS获取文本框焦点光标位置、选中起始位置、终止位置、选择内容", 《HTTPS://BLOG.CSDN.NET/ITDRAGONS/ARTICLE/DETAILS/52186058》 *
XUDEMING208: "javascript获取textarea中所选文本的开始位置、结束位置和选择的文本", 《HTTPS://WWW.CNBLOGS.COMXUDEMING208P4043657.HTML》 *
韩超: "基于E-ink的电子阅读器的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114690990A (en) * 2022-04-15 2022-07-01 北京百度网讯科技有限公司 Note generation method and device, equipment, medium and product
CN114690990B (en) * 2022-04-15 2024-03-29 北京百度网讯科技有限公司 Note generation method and device, equipment, medium and product
CN115328347A (en) * 2022-08-09 2022-11-11 青岛海信移动通信技术股份有限公司 Interface display method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN108897870B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
EP3821330B1 (en) Electronic device and method for generating short cut of quick command
EP2990930B1 (en) Scraped information providing method and apparatus
CN107924483B (en) Generation and application of generic hypothesis ranking model
RU2683174C2 (en) Ink to text representation conversion
EP2579251B1 (en) Interactive text editing
TW201610815A (en) Enhanced interpretation of character arrangements
US20170351371A1 (en) Touch interaction based search method and apparatus
US10402474B2 (en) Keyboard input corresponding to multiple languages
US10699712B2 (en) Processing method and electronic device for determining logic boundaries between speech information using information input in a different collection manner
CN108959257A (en) A kind of natural language analytic method, device, server and storage medium
US20160253318A1 (en) Apparatus and method for processing text
CN108829686A (en) Translation information display methods, device, equipment and storage medium
CN112966824A (en) Deployment method and device of inference library and electronic equipment
CN108897870A (en) Generate method, medium, device and the calculating equipment of digest
CN104978045A (en) Chinese character input method and device
CN106873798A (en) For the method and apparatus of output information
CN106506805A (en) Head portrait of contact person generation method and device
CN110516125A (en) Identify method, apparatus, equipment and the readable storage medium storing program for executing of unusual character string
US11599383B2 (en) Concurrent execution of task instances relating to a plurality of applications
CN106156314B (en) A kind of data manipulation method and device, data search method and device
US9613263B2 (en) Ink stroke grouping based on stroke attributes
JP6282252B2 (en) Method and system for providing additional information with list type user interface, and recording medium
CN113655933A (en) Text labeling method and device, storage medium and electronic equipment
KR20160053426A (en) Method for autocomplete candidate word and apparatus thereof
CN111738024B (en) Entity noun labeling method and device, computing device and readable storage medium

Legal Events

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