CN108628528B - Method, system and device for optimizing reading application cross-page text mark - Google Patents

Method, system and device for optimizing reading application cross-page text mark Download PDF

Info

Publication number
CN108628528B
CN108628528B CN201710156221.1A CN201710156221A CN108628528B CN 108628528 B CN108628528 B CN 108628528B CN 201710156221 A CN201710156221 A CN 201710156221A CN 108628528 B CN108628528 B CN 108628528B
Authority
CN
China
Prior art keywords
touch
event
content
current
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710156221.1A
Other languages
Chinese (zh)
Other versions
CN108628528A (en
Inventor
莫文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710156221.1A priority Critical patent/CN108628528B/en
Publication of CN108628528A publication Critical patent/CN108628528A/en
Application granted granted Critical
Publication of CN108628528B publication Critical patent/CN108628528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method, a system and a device for optimizing reading application cross-page text marks, which comprises the following steps: monitoring a touch start event in a paging control; rendering document content using non-paginated controls; monitoring a touch movement event and a touch ending event in the non-paging control; and saving characters between the position of the touch start event and the position of the touch end event as mark characters. By adopting the method, the system and the device, the problem of cross-page continuous text marking of the paging content of the reading application is solved, so that the user experience of the reading application is optimized.

Description

Method, system and device for optimizing reading application cross-page text mark
Technical Field
The invention relates to the technical field of computers and software, in particular to a method, a system and a device for optimizing reading of application spread-page text marks.
Background
In the field of electronic commerce at present, with the development of mobile internet, reading applications (apps) are more and more extensive, more and more people use the reading apps to read, and the habit of taking notes is reserved at a mobile terminal. However, due to the diversity of screen resolutions of mobile devices and paging of mobile apps, when marking a page-crossing text, because contents of two continuous pages are continuous, it is very difficult to note the last sentence, so that the user experience is poor.
Therefore, in the prior art, two schemes, namely a two-note merging scheme and an automatic page turning scheme, are generally adopted for processing the page-crossing note. In the prior art, content is segmented by paging, but scribing needs to be continuous, and the prior art scheme only solves the problem of continuous scribing in a simulation mode, but cannot be compared with real continuous scribing in the interactive experience, so that the interactive experience of the two schemes is not good.
Disclosure of Invention
In view of this, the present invention provides a method, a system, and a device for optimizing reading application page-crossing text labels, which are helpful for solving the problem of page-crossing continuous text labels for reading application page content, so as to optimize the user experience of reading applications.
To achieve the above object, according to one aspect of the present invention, there is provided a method for optimizing reading of application spread text labels, which may include the steps of: monitoring a touch start event in a paging control; rendering document content using non-paginated controls; monitoring a touch movement event and a touch ending event in the non-paging control; and saving characters between the position of the touch start event and the position of the touch end event as mark characters.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: and determining that the position of the current touch event reaches the bottom of the non-paging control area, and scrolling the non-paging control downwards to continue to present the document content.
Optionally, the step of rendering the document content using non-paginated controls may comprise: in the paging control, acquiring the content of a first preset number of pages after the touch start page where the touch start event is located; merging the acquired content of the first preset number of pages and the content of the touch start page into first pre-loaded content; rendering the first preloaded content using the non-paginated control.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: determining that the position of the current touch event reaches the bottom of the non-paged control area, determining that the position of the current touch event does not reach the bottom of the first preloaded content, and scrolling down the non-paged control to continue to present content.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: determining that the position of the current touch event reaches the bottom of the non-paging control area, determining that the position of the current touch event reaches the bottom of the first pre-loading content, and continuing to load the content of a second preset number of pages as second pre-loading content after the first preset number of pages after the touch start page; and presenting the second preloaded content after the first preloaded content using the non-paging control.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: and marking characters between the position of the current touch event and the position of the touch start event.
Optionally, the marking of the character between the position where the current touch event occurs and the position of the touch start event may include: calculating the position of the touch start event as a start position, and calculating the position of the current touch event as a current position; and traversing the document, comparing the position of each character in the document to the calculated starting position and current position.
Optionally, the position of the touch start event may include: the paragraph index number of the paragraph where the touch start event is located in the current document, and the character index number of the touch start event in the paragraph where the touch start event is located.
Optionally, the paragraph index number may be obtained each time the paging control pages.
Alternatively, the character index number may be calculated by comparing the position of the character in the screen with the width and height occupied by each character in the screen.
Optionally, the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text may include: and after the touch ending event in the non-paging control is monitored, saving the marked words as marked words.
Optionally, after the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text, the method may further include: and using a paging control to present the marked text and the context thereof.
Optionally, after the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text, the method may further include: and popping up an input box to acquire note content from the user, and associating the acquired note content with the mark text.
Alternatively, the marking of the character may be a scribing of the character.
According to one aspect of the present invention, a system for optimizing reading of application spread-page text labels is provided, which may include a processing unit; a page monitoring unit; a display unit. When the display unit presents the document content with the paging control, the following steps are executed: the page monitoring unit monitors a touch start event in a paging control; the display unit presents document content using a non-paged control; the page monitoring unit monitors a touch moving event and a touch ending event in the non-paged control; the processing unit saves characters between the position of the touch start event and the position of the touch end event as markup characters.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: and determining that the position of the current touch event reaches the bottom of the non-paging control area, and scrolling the non-paging control downwards by the display unit to continue to present the document content.
Optionally, the step of rendering the document content using non-paginated controls may comprise: the processing unit acquires the content of a first preset number of pages after the touch start page where the touch start event is located; the processing unit merges the acquired content of the first preset number of pages and the content of the touch start page into first pre-loaded content; the display unit renders the first preloaded content using the non-paginated control.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: determining that the position of the current touch event reaches the bottom of the non-paginated control area and determining that the position of the current touch event does not reach the bottom of the first pre-loaded content, the display unit scrolls the non-paginated control downwards to continue to present content.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: determining that the position of the current touch event reaches the bottom of the non-paging control area and the position of the current touch event reaches the bottom of the first pre-loading content, and continuing to load the content of a second preset number of pages as second pre-loading content after the first preset number of pages after the touch start page by the processing unit; and the display unit presents the second preloaded content after the first preloaded content using the non-paging control.
Optionally, the step of listening for touch movement events in the non-paged control may further comprise: the display unit marks a character between a position where a current touch event occurs and the position of the touch start event.
Optionally, the marking of the character between the position where the current touch event occurs and the position of the touch start event may include: the processing unit calculates the position of the touch start event as a start position and calculates the position of the current touch event as a current position; and the processing unit traverses the document, and compares the position of each character in the document with the calculated starting position and the current position.
Optionally, the position of the touch start event may include: the paragraph index number of the paragraph where the touch start event is located in the current document, and the character index number of the touch start event in the paragraph where the touch start event is located.
Optionally, the paragraph index number may be obtained by the processing unit each time the paging control pages.
Alternatively, the character index number may be calculated by the processing unit by comparing the position of the character in the screen with the width and height occupied by each character in the screen.
Optionally, the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text may include: and after the page monitoring unit monitors a touch ending event in the non-paging control, the processing unit stores the marked and processed words as marked words.
Optionally, after the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text, the method may further include: and the display unit presents the marked text and the context thereof by using a paging control.
Optionally, after the step of saving the character between the position of the touch start event and the position of the touch end event as a markup text, the method may further include: the display unit pops up an input box to acquire note content from a user, and the acquired note content is associated with the marker text by the processing unit.
Alternatively, the marking of the character by the display unit may be a line drawing of the character by the display unit.
According to one aspect of the invention, an apparatus for optimizing reading of application spread-page text labels is provided, which may include: a processor; a memory having instructions and data stored thereon; a user interface providing interaction with a user; and a bus, the processor, the memory, and the interface communicatively coupled to the bus and communicating with each other via the bus, characterized in that: the instructions, when executed by the processor, may cause the processor to perform the method according to aspects of the invention described above.
According to an aspect of the present invention, there is provided a computer storage medium encoded with a computer program, the program comprising instructions that, when executed by data processing apparatus, may cause the data processing apparatus to perform the method according to the aforementioned aspect of the present invention. .
According to the technical scheme of the invention, the following advantages can be realized:
the problem of discontinuous page-crossing characters when page-crossing marks are carried out on the paging content of the reading application is solved, and therefore the user experience of the reading application is optimized.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a flowchart illustrating steps of reading application spread text labels according to prior art solution 1.
Fig. 2 is a flowchart illustrating steps of an automatic page turning scheme for reading application spread text labels according to prior art scheme 2.
FIG. 3 is a flow diagram of a method of reading application spread text labels, according to an embodiment of the invention.
FIG. 4 is a flow diagram of a method of reading application spread text labels, according to another embodiment of the invention.
FIG. 5 is a flow diagram of a method of reading application spread text labels, according to another embodiment of the invention.
FIG. 6 is a schematic block diagram illustrating an example apparatus capable of implementing methods and systems in accordance with embodiments of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As described above, in the prior art, two schemes, i.e., a two-note merging scheme and an automatic page-turning scheme, are generally adopted for the problem of applying a cross-page text mark (e.g., a line drawing) for reading. The flow of these two schemes is described with reference to fig. 1 and 2, respectively.
First, a current prior art scheme 1, a two-note merging scheme, is described with reference to fig. 1. The idea of the scheme is to line the last part of the previous page and the initial part of the next page respectively, then App automatically combines the two lines into one line, and then the user is waited to input the note content to complete the note processing. Fig. 1 is a flowchart illustrating steps of reading application spread text labels according to prior art solution 1.
In technical solution 1, first, in S11, the App obtains the scribed content by monitoring the touch event of the mobile device, that is, obtains the position where the user starts to touch and the position where the user ends to touch, and records the two positions. In step S11, after obtaining the scribe content, the following calculations of the start touch position and the end touch position are also included:
s11-a: and if the starting touch position and the ending touch position are determined to be in the same row, marking the content of the drawn line as a horizontal character between the starting touch position and the ending touch position and recording the horizontal character as A.
S11-b: if the start touch location and the end touch location are not in the same row (i.e., cross-row). The touch start position to the end of the current line is marked as a part of the content of the scribed line, and is marked as B.
S11-c: it is checked whether the end touch position is the second row from the start touch position. If yes, the characters of the row from the starting position to the ending touch position are recorded as a part of the scribing content (recorded as C), and the scribing content of the previous step is added together to obtain the final scribing content, namely B + C.
S11-d: if the line where the touch start position is located is not the second line from which the touch start position starts, all characters from the line next to the line where the touch start position is located to the line previous to the line where the touch end position is located are marked as the content of the dash line and are marked as D.
S11-e: and recording the characters between the beginning character of the line where the touch position is located and the character where the touch position is located as the content of the drawn line and as E. Then, B + D + E is recorded as the contents of the scribe line.
S11-f: the scribe line contents are saved to a local storage database (mainly the start and end locations) and marked as not yet written notes for the scribe line.
Subsequently, in step S12, a query is made for the ruled content of the unwritten note in the database, followed by processing to merge the ruled lines. The step S12 further includes the following sub-steps:
s12-a: the cross-hatch is checked. And checking whether a starting position or an ending position exists in the local database within the range of the current scribing content position, and if so, combining the two scribes, wherein the minimum position is used as the starting position, and the maximum position is used as the last position.
S12-b: and continuously scribing after checking. And checking whether the starting position of the scribing is just the current scribing content ending position in the local database, and if the two scribing are combined, taking the minimum position as the starting position and the maximum position as the last position.
S12-c: and continuously scribing before checking. And checking whether the end position of the scribing is just the current starting position of the scribing content in the local database, if so, merging the two scribing, and taking the minimum position as the starting position and the maximum position as the final position.
In step S13, the note content is recorded and saved. Step S13 includes the following substeps: the App pops up an input box for a user to input note content; after receiving note content input by a user, associating the note content with the line drawing content; and mark the scribe line as a written note.
As can be seen from the above description in conjunction with fig. 1, in the prior art scheme 1, there is a disadvantage in that: the lines need to be drawn twice respectively, the number of steps is large in operation interaction, and the lines are not convenient for users to understand.
The current prior art scheme 2, the automatic page turning scheme, is described with reference to fig. 2. According to the scheme, when a user takes notes, an App monitors a user line drawing event, if the last characters of a current page are drawn, the user automatically turns to the next page to continue drawing, and after the drawing is finished, the user waits for inputting the note content to finish the note processing. Fig. 2 is a flowchart illustrating steps of an automatic page turning scheme for reading application spread text labels according to prior art scheme 2.
At step S21, the App listens for touch events. Step S21 includes listening for touch events by App and recording the location where the touch was initiated.
In step S22, the scribe line is processed. Similar to step S12 in prior art solution 1, step S22 includes recording the position during the touch movement and the position of the last end touch, and recording the contents of the scribe line between the current touch position and the start position. Therefore, the specific steps are also referred to as step S12 above, and are not described herein.
In step S23, page turning processing is performed. Step S23 includes checking whether the current touch position is located at the last position of the last line of the current page. If the last character is a punctuation mark, checking whether the last character is positioned in the penultimate character, and so on. And if the checking result shows that the current touch position is located at the last position of the last line of the current page, turning the page.
In step S24, the touch event and the scribe line are processed. Step S24 includes the following sub-steps: the user slides from the beginning of the page and then touches, and the content between the beginning of the current page and the position at which the user touched is scribed (the calculation method refers to the calculation method of step 1 of the previous prior art scheme).
In step S25, the drawn note content is recorded and saved. The sub-step of recording the contents of the line-drawing note includes: detecting the end of line drawing (i.e. the end of touch movement) of the user; recording the content from the touch position of the previous page to the tail of the previous page as a scribing content A; recording the content between the starting position and the ending touch position of the next page as scribing content B; and finally obtaining the final scribing content from the A + B. The sub-step of saving note content comprises: the App pops up an input box for a user to input note content; after the user inputs the note content, associating the note content with the line drawing content; and finally, storing the drawn lines and the note content.
In prior art scheme 2, the disadvantages are: although App can automatically turn pages, the finger is at the bottom of the page after the page is turned due to the fact that the touch lines are drawn to the end, but the line drawing needs to start from the head, and therefore the line drawing needs to be started again from the head of the page before the new page is finished.
Due to the defects existing in the two technical schemes, when the content is marked by the page-crossing text of the paging page, the user experience is poor. Accordingly, the present inventors propose a method for optimizing reading of application spread text labels. The core principle of the method is that the content which is already paged is used when the content is displayed, and the content is switched to non-paged content display when the content is scribed, so that the possibility of continuous scribing is formed.
A method of reading text labels that should be spread is described with reference to fig. 3, in accordance with an embodiment of the present invention. FIG. 3 is a flow diagram of a method of reading application spread text labels, according to an embodiment of the invention.
As shown in fig. 3, in step S31, the reading application has displayed the document content using the paging control and listened to the page event.
In step S32, the reading application listens to a "touch start event" on the page, such as a user touching the page. At this point, the reading application records the location of the "touch start event".
Specifically, calculating the location of the "touch start" event may include calculating the location of the "touch start" event in the current paragraph and the text location in the current paragraph. The calculation process comprises the following steps: recording the coordinate position of the touch start event after the touch start event is monitored; comparing the coordinate position of the touch start event with the coordinate position of each paragraph (the content in the page is composed of paragraphs, and each paragraph is composed of characters or pictures) in the page content to obtain the serial number of the paragraph on which the coordinate of the touch start event falls; then calculate the position of the character where the "touch start" position falls in the current paragraph, which can be obtained from the width and height occupied by each character. Therefore, the paragraph index and the character index where the touch starts are finally calculated, namely: the current paragraph belongs to the next paragraph in the current document, and the current character is the next character in the current paragraph.
Thereafter, in step S33, the reading application displays the document content using the non-paged scroll control and starts listening for touch move events and touch end events in the page. When a touch movement event in the page is monitored, the screen is scrolled with the user's finger. For example, listening for touch movement events may further include: when the touch position is monitored to move downwards (for example, the user's finger is pulled down), whether the position where the current touch event occurs reaches the bottom of the scroll control is judged. If the bottom of the control has been reached currently, the screen is scrolled down.
In step S34, when a "touch end event" on the page is monitored (e.g., the user releases the touch on the page), the position of the touch end event is recorded. And (5) ending the touch process, namely marking by the user, and taking the text between the touch starting position and the touch ending position as the final marked content.
At step S35, the current mark control is hidden, the text between the touch start position and the touch end position is marked (e.g., scribed) as the selected text, and the document content continues to be displayed using the pagination control. And turning the paging control to the current mark page. And may undergo further processing such as popping up a text entry box for a user to enter notes, etc.
On the basis of the above embodiment, in addition, in order to further improve the user experience, when the paging control is converted into the non-paging control, the document content may be preloaded. A flow chart for preloading document content using pages is shown in fig. 4. FIG. 4 is a flow diagram of a method of reading application spread text labels, according to another embodiment of the invention.
In fig. 4, steps S41-S42 are similar to steps S31-S32 described with reference to fig. 3, and thus, a repetitive description thereof will be omitted herein.
In step S43, after the touch start event is monitored, page number information of the current page is obtained according to the content of the current page and the page number of the page turning recorded at the time of page turning; thereafter, the current page and the following first preset number of page contents are obtained as the pre-loading contents. The first predetermined number may be, for example, 3 or 5, etc., and is described below with 3 pages as an example.
At step S44, the preloaded content (i.e., the content of the current page and several pages thereafter) is presented in the non-paged scroll control and continues.
With preloading, listening for "touch move" events may further include: when a touch position down shift is monitored (e.g., a user's finger pull down) and it is determined that the position where the current touch event occurs has reached the bottom of the control display area, it is checked whether the bottom of the current preloaded content has been reached (i.e., whether the 3 pages of content loaded vertically since the "touch on" event have been shown).
If it is determined that the bottom of the control is currently reached and the bottom of the currently preloaded content is not reached, the page content starts to scroll downward, i.e., the vertical coordinate is increased. During scrolling, the characters between the location of the "touch start" event and the location of the current event may be marked.
If it is determined that the bottom of the control is currently reached and the bottom of the preloaded content has been reached, then a second predetermined number of pages are loaded backwards to facilitate line drawing by the user. The second predetermined number here need not be the same as the first predetermined number of first preloads. The second predetermined number may be, for example, 3, 5, etc., which may be any number.
And if the last page of the document content is determined to be loaded currently, the loading is not continued.
Steps S45-S46 are substantially the same as steps S34-S35 described with reference to fig. 3, and thus a detailed description thereof is omitted.
Still further, in accordance with another embodiment, a method for optimizing reading of application spread text labels is described with reference to FIG. 5. FIG. 5 is a flow diagram of a method of reading application spread text labels, according to another embodiment of the invention.
At step S51, the reading application has displayed the document content using the pagination control and monitored the page event;
in step S52, a "touch start event" on the page, such as a finger touch of the user, is monitored. Thereafter, the page number of the current page is acquired, and the position of the "touch start event" is recorded. The positions are, for example, the paragraph index number where the touch start event is located and the character index number in the paragraph.
In step S53, the current page and a first predetermined number (hereinafter, 3 pages as an example) of following page contents are acquired as first preloaded contents according to the page number information of the current page (for example, acquired in step S51).
At step S54, the first preloaded content is rendered using the new non-paged scroll control and touch move (e.g., user finger move) and touch stop (e.g., user finger release) events in the page are monitored in the non-paged scroll control.
In step S55, after detecting the touch movement event, especially if the touch position is detected to move down (e.g. touch down by the finger of the user), it is determined whether the position where the current touch event occurs reaches the bottom of the current scroll control. If the current touch position is determined not to reach the bottom of the current scroll control, the text between the current touch position and the touch start position is marked (e.g., selected, highlighted, scribed, etc.).
At step S56, after detecting the touch move event, especially if detecting the touch position moving downwards (e.g. touch pull-down of the user' S finger), if it is determined that the position where the current touch event occurs reaches the bottom of the control, it is checked whether the current touch event reaches the bottom of the first preloaded content (i.e. whether the 3 pages of content loaded after the page where the "touch start" event is located have been shown or not).
If it is determined that the bottom of the control is currently reached and the bottom of the currently preloaded content is not reached, scrolling of the page content is started, i.e., the vertical coordinate is increased. During the scrolling process, the characters between the position of the touch start event and the position of the current event are marked (the distance of page scrolling needs to be considered dynamically). The marking process may be scribing the text.
If it is determined that the bottom of the control is currently reached and the bottom of the preloaded content has been reached, then a second predetermined number of pages are loaded backwards to facilitate continued marking by the user. The second predetermined number here need not be the same as the first predetermined number of first preloads. The second predetermined number may be, for example, 3, 5, etc., and may be any number.
Thereafter, if it is monitored that a "touch stop event" occurs on the page in step S57, the user marks the end at this time, and all the marked characters are the final marked content. And then, storing the marked content, hiding the current marking control, turning the paging control to the current marking page, and then displaying.
Finally, in step S58, an input box for the user to input the note content is popped up, the note content input by the user is received, and the note content and the tag content are saved in association. At this point, the process of cross-page text marking for the reading application is completed.
The embodiments described herein may be implemented in hardware, software, firmware, or a combination thereof. By way of example, FIG. 6 is a schematic block diagram illustrating an example apparatus 600 capable of implementing methods and systems in accordance with embodiments of the present invention.
As shown in fig. 6, system 600 may include a processor 610, a memory 620, a user interface 630, and a bus 640. The processor 610 may be configured to implement the proposed functions, processes, and/or methods described in this specification. The memory 620 is operatively coupled to the processor 610 and stores, among other things, instructions and data necessary to implement an embodiment of the present invention. The instructions, when executed by the processor 610, may cause the processor 610 to be configured to implement the proposed functions, processes, and/or methods described in this specification. The user interface 630 may enable interaction of the system 600 with a user, such as receiving touch from a user, or displaying document content to a user, etc. The processor 610, memory 620, and user interface 630 are all communicatively coupled to the bus 640 and communicate with each other via the bus 640.
The processor 610 may include an Application Specific Integrated Circuit (ASIC), other chipset, logic circuit, and/or data processing device. Memory 620 may include Read Only Memory (ROM), Random Access Memory (RAM), flash memory, memory cards, storage media and/or other storage devices, etc.
When an embodiment is implemented in software, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The modules may be stored in the memory 620 and executed by the processor 610.
Moreover, embodiments can be implemented as a computer-readable storage medium having encoded thereon a computer program comprising instructions which, when executed by data processing apparatus, program a computer (e.g., comprising a processor) to perform a method as described and claimed herein. Examples of such computer-readable storage media include, but are not limited to, hard disks, CD-ROMs, optical storage devices, magnetic storage devices, ROMs (read-only memories), PROMs (programmable read-only memories), EPROMs (erasable programmable read-only memories), EEPROMs (electrically erasable programmable read-only memories), flash memories, and the like.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (28)

1. A method for optimizing reading of application spread-page text labels, comprising the steps of:
monitoring a touch start event in a paging control;
rendering document content using non-paginated controls;
monitoring a touch movement event and a touch ending event in the non-paging control;
saving characters between the position of the touch start event and the position of the touch end event as mark characters;
wherein the step of presenting the document content using the non-paginated control comprises:
in the paging control, acquiring the content of a first preset number of pages after the touch start page where the touch start event is located;
merging the acquired content of the first preset number of pages and the content of the touch start page into first pre-loaded content;
rendering the first preloaded content using the non-paginated control.
2. The method of claim 1, the step of listening for touch movement events in the non-paged control further comprising:
and determining that the position of the current touch event reaches the bottom of the non-paging control area, and scrolling the non-paging control downwards to continue to present the document content.
3. The method of claim 1, the step of listening for touch movement events in the non-paged control further comprising: determining that the position of the current touch event reaches the bottom of the non-paged control area, determining that the position of the current touch event does not reach the bottom of the first preloaded content, and scrolling down the non-paged control to continue to present content.
4. The method of claim 1, the step of listening for touch movement events in the non-paged control further comprising:
determining that the position of the current touch event reaches the bottom of the non-paging control area, determining that the position of the current touch event reaches the bottom of the first pre-loading content, and continuing to load the content of a second preset number of pages as second pre-loading content after the first preset number of pages after the touch start page; and
presenting, using the non-paged control, the second pre-loaded content after the first pre-loaded content.
5. The method of claim 1, the step of listening for touch movement events in the non-paged control further comprising:
and marking characters between the position of the current touch event and the position of the touch start event.
6. The method of claim 5, wherein marking characters between a location at which a current touch event occurs and the location of the touch start event comprises:
calculating the position of the touch start event as a start position, and calculating the position of the current touch event as a current position; and
the document is traversed and the position of each character in the document is compared to the calculated starting position and the current position.
7. The method of claim 1, the location of the touch start event comprising: the paragraph index number of the paragraph where the touch start event is located in the current document, and the character index number of the touch start event in the paragraph where the touch start event is located.
8. The method of claim 7, wherein the paragraph index number is obtained each time the paging control pages.
9. The method of claim 7, wherein the character index number is calculated by comparing the position of the character on the screen to the width and height of each character on the screen.
10. The method of claim 5, wherein saving the characters between the location of the touch start event and the location of the touch end event as markup text comprises: and after the touch ending event in the non-paging control is monitored, saving the marked words as marked words.
11. The method of claim 1-further comprising, after the step of saving the character between the location of the touch start event and the location of the touch end event as a markup text: and using a paging control to present the marked text and the context thereof.
12. The method of claim 1, further comprising, after the step of saving the character between the location of the touch start event and the location of the touch end event as a markup text: and popping up an input box to acquire note content from the user, and associating the acquired note content with the mark text.
13. A method according to any of claims 5-12, wherein the marking of the character is a scribing of the character.
14. A system for optimizing reading of application spread-page text labels, comprising:
a processing unit;
a page monitoring unit;
a display unit;
when the display unit presents the document content with the paging control, the following steps are executed:
the page monitoring unit monitors a touch start event in a paging control;
the display unit presents document content using a non-paged control;
the page monitoring unit monitors a touch moving event and a touch ending event in the non-paged control;
the processing unit saves characters between the position of the touch start event and the position of the touch end event as mark characters;
wherein the step of presenting the document content using the non-paginated control comprises:
the processing unit acquires the content of a first preset number of pages after the touch start page where the touch start event is located;
the processing unit merges the acquired content of the first preset number of pages and the content of the touch start page into first pre-loaded content;
the display unit renders the first preloaded content using the non-paginated control.
15. The system of claim 14, the step of listening for touch movement events in the non-paging control further comprising:
and determining that the position of the current touch event reaches the bottom of the non-paging control area, and scrolling the non-paging control downwards by the display unit to continue to present the document content.
16. The system of claim 14, the step of listening for touch movement events in the non-paging control further comprising: determining that the position of the current touch event reaches the bottom of the non-paginated control area and determining that the position of the current touch event does not reach the bottom of the first pre-loaded content, the display unit scrolls the non-paginated control downwards to continue to present content.
17. The system of claim 14, the step of listening for touch movement events in the non-paging control further comprising:
determining that the position of the current touch event reaches the bottom of the non-paging control area and the position of the current touch event reaches the bottom of the first pre-loading content, and continuing to load the content of a second preset number of pages as second pre-loading content after the first preset number of pages after the touch start page by the processing unit; and
the display unit presents the second preloaded content after the first preloaded content using the non-paged control.
18. The system of claim 14, the step of listening for touch movement events in the non-paging control further comprising:
the display unit marks a character between a position where a current touch event occurs and the position of the touch start event.
19. The system of claim 18, wherein marking characters between a location at which a current touch event occurs and the location of the touch start event comprises:
the processing unit calculates the position of the touch start event as a start position and calculates the position of the current touch event as a current position; and
the processing unit traverses the document, comparing the position of each character in the document to the calculated starting position and current position.
20. The system of any of claims 15-19, the location of the touch start event comprising: the paragraph index number of the paragraph where the touch start event is located in the current document, and the character index number of the touch start event in the paragraph where the touch start event is located.
21. The system of claim 20, the paragraph index number being obtained by the processing unit each time the paging control pages.
22. The system of claim 20, wherein the character index number is calculated by the processing unit by comparing the position of the character on the screen to the width and height occupied by each character on the screen.
23. The system of claim 18, the step of saving characters between the location of the touch start event and the location of the touch end event as markup text comprising: and after the page monitoring unit monitors a touch ending event in the non-paging control, the processing unit stores the marked and processed words as marked words.
24. The system of claim 14, further comprising, after the step of saving the characters between the location of the touch start event and the location of the touch end event as markup text: and the display unit presents the marked text and the context thereof by using a paging control.
25. The system of claim 14, further comprising, after the step of saving the characters between the location of the touch start event and the location of the touch end event as markup text: the display unit pops up an input box to acquire note content from a user, and the acquired note content is associated with the marker text by the processing unit.
26. The system of claim 18, wherein the marking of the character by the display unit is a line marking of the character by the display unit.
27. An apparatus for optimizing reading of application spread-page text labels, comprising:
a processor;
a memory having instructions and data stored thereon;
a user interface providing interaction with a user; and
a bus to which the processor, the memory, and the interface are communicatively coupled and communicate with each other via the bus, characterized in that
The instructions, when executed by the processor, cause the processor to perform the method of any of claims 1-13.
28. A computer storage medium encoded with a computer program, the program comprising instructions that, when executed by data processing apparatus, cause the data processing apparatus to perform the method of any of claims 1-13.
CN201710156221.1A 2017-03-16 2017-03-16 Method, system and device for optimizing reading application cross-page text mark Active CN108628528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710156221.1A CN108628528B (en) 2017-03-16 2017-03-16 Method, system and device for optimizing reading application cross-page text mark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710156221.1A CN108628528B (en) 2017-03-16 2017-03-16 Method, system and device for optimizing reading application cross-page text mark

Publications (2)

Publication Number Publication Date
CN108628528A CN108628528A (en) 2018-10-09
CN108628528B true CN108628528B (en) 2020-07-31

Family

ID=63687392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710156221.1A Active CN108628528B (en) 2017-03-16 2017-03-16 Method, system and device for optimizing reading application cross-page text mark

Country Status (1)

Country Link
CN (1) CN108628528B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491952A (en) * 2018-11-27 2019-03-19 掌阅科技股份有限公司 Cross-page selection text method, electronic equipment and computer storage medium
CN111026315B (en) * 2019-11-20 2021-04-23 维沃移动通信有限公司 Text selection method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
CN103440105A (en) * 2013-08-26 2013-12-11 珠海金山办公软件有限公司 Cross-page text selection method and system for touch screen
CN105308550A (en) * 2013-06-17 2016-02-03 日立麦克赛尔株式会社 Information display terminal
CN105302464A (en) * 2015-10-28 2016-02-03 北京京东尚科信息技术有限公司 Flow document scribing system and method
CN105550000A (en) * 2015-12-22 2016-05-04 金蝶软件(中国)有限公司 Generation method and system of mobile terminal sliding plugin

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9477382B2 (en) * 2012-12-14 2016-10-25 Barnes & Noble College Booksellers, Inc. Multi-page content selection technique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
CN105308550A (en) * 2013-06-17 2016-02-03 日立麦克赛尔株式会社 Information display terminal
CN103440105A (en) * 2013-08-26 2013-12-11 珠海金山办公软件有限公司 Cross-page text selection method and system for touch screen
CN105302464A (en) * 2015-10-28 2016-02-03 北京京东尚科信息技术有限公司 Flow document scribing system and method
CN105550000A (en) * 2015-12-22 2016-05-04 金蝶软件(中国)有限公司 Generation method and system of mobile terminal sliding plugin

Also Published As

Publication number Publication date
CN108628528A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
KR102005878B1 (en) Managing real-time handwriting recognition
US8656296B1 (en) Selection of characters in a string of characters
CN102929846B (en) A kind of method processing long text and device
US20110179350A1 (en) Automatically placing an anchor for an object in a document
US20130268851A1 (en) Bookmark setting method of e-book, and apparatus thereof
US20150324340A1 (en) Method for generating reflow-content electronic book and website system thereof
CN110109590B (en) Automatic reading method and device
KR102075433B1 (en) Handwriting input apparatus and control method thereof
CN110692060B (en) Electronic text pen system and method
US20130063357A1 (en) Method for presenting different keypad configurations for data input and a portable device utilizing same
CN108628528B (en) Method, system and device for optimizing reading application cross-page text mark
US10139982B2 (en) Window expansion method and associated electronic device
CN105808514A (en) Information processing method and electronic device
KR101142270B1 (en) Handwriting input device having the document editting function and method thereof
TWI547863B (en) Handwriting recognition method, system and electronic device
CN111522610A (en) Information display method, device and equipment
US10444984B2 (en) Device processing method and electronic device
US20150130724A1 (en) Multi-touch inputs for input interface control
JP5444187B2 (en) Portable display device, operation control method thereof, and program thereof
CN113849106A (en) Page-turning handwriting processing method and device, electronic device and storage medium
KR101368610B1 (en) Method and system for selecting paragraph on electronic book environments
JP2013008201A (en) Sentence display device, sentence display method, program and recording medium
KR20110088235A (en) Text display method and apparatus
JP5676199B2 (en) Document image display control device, operation control method thereof, and operation control program thereof
CN106095734B (en) Text display method and device

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