Patent ID: 9256352
Filing Date: 2016-02-09
CPC Classification: G06F

Claim Text:
1. A method for locating an electronic document of a touch screen terminal, comprising: generating a directory listing for an electronic document and storing it; detecting a screen input in a reading mode of a current chapter or section of the electronic document; when it is detected that a user enables a chapter or section switching function, enabling a chapter or section switching mode to wait for the user to input a number of a chapter or section to switch to; when it is detected that the user inputs the number of the chapter or section to switch to, matching a directory entry in real time from the stored directory listing and displaying it; generating a preview for a corresponding chapter or section according to the number of the chapter or section to switch to input by the user and displaying it to the user; and when it is detected that the user inputs a confirmation of the chapter or section switching operation, switching to the previewed chapter or section, wherein the generating a preview for a corresponding chapter or section according to the number of the chapter or section to switch to input by the user and displaying it to the user comprises: judging a number of the matched directory entry according to the number of the chapter or section to switch to; when there is one matched directory entry, generating the preview of the chapter or section corresponding to the directory entry and displaying it to the user; and when there is more than one matched directory entry, waiting for the user to select the chapter or section to switch to, and after it is detected that the user selects a chapter or section, generating the preview of the selected chapter or section and displaying it to the user; wherein in the matching a directory entry in real time from the stored directory listing and displaying it, displaying the matched directory entry together with all the directory entries containing the matched directory entry to the user in a form of a list, wherein matching a directory entry in real time from the stored directory listing and displaying the matched directory entry together with all the directory entries containing the matched directory entry to the user in a form of a list, comprises: matching the directory entry both from a large unit to a small unit and from a small unit to a large unit in the directory listing; and displaying a matched directory entry matched from the large unit to the small unit and all the directory entries matched from the small unit to the large unit.