CN102929890B - A kind of bookmark marking method based on catalogue and device - Google Patents

A kind of bookmark marking method based on catalogue and device Download PDF

Info

Publication number
CN102929890B
CN102929890B CN201110230249.8A CN201110230249A CN102929890B CN 102929890 B CN102929890 B CN 102929890B CN 201110230249 A CN201110230249 A CN 201110230249A CN 102929890 B CN102929890 B CN 102929890B
Authority
CN
China
Prior art keywords
bookmark
catalogue
checked
text
added
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
CN201110230249.8A
Other languages
Chinese (zh)
Other versions
CN102929890A (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.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang 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 Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN201110230249.8A priority Critical patent/CN102929890B/en
Publication of CN102929890A publication Critical patent/CN102929890A/en
Application granted granted Critical
Publication of CN102929890B publication Critical patent/CN102929890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of bookmark marking method based on catalogue and device, relate to field of information display, the quick position of many document electronics bookmark can be realized.The scheme that the embodiment of the present invention provides, according to the interpolation bookmark request that the user received triggers, obtain each attribute information of bookmark to be added, and obtain the catalogue corresponding to file of the current reading of described user, then each attribute information of described bookmark to be added is added in bookmark storehouse corresponding to described catalogue.The employing when scheme that the embodiment of the present invention provides is adapted at carrying out information displaying.

Description

A kind of bookmark marking method based on catalogue and device
Technical field
The present invention relates to field of information display, particularly relate to a kind of bookmark marking method based on catalogue and device.
Background technology
Now, much like that the people of read books adopts electronic reading device to read.Constantly promote along with electronic reading device and popularize, most of electronic reading device has c bookmart function, and current c bookmart is in units of a book, marks some positions in this book.When in browsing among books with the content of electronic tag record time, need the file opened under the catalogue depositing books, the position of the label in this book can be navigated to by the electronic tag recorded, realize the object of quick position.
But, when adopting prior art read books, the content of the bookmarked that this file is corresponding just can be checked after must opening each file under catalogue one by one, check inconvenience, and when deposit in catalogue be some picture files time, the electronic tag in units of file cannot realize the function of quick position.
Summary of the invention
Embodiments of the invention provide a kind of bookmark marking method based on catalogue and device, can realize the quick position of many document electronics bookmark.
For achieving the above object, embodiments of the invention adopt following technical scheme:
Based on a bookmark marking method for catalogue, comprising:
According to the interpolation bookmark request that the user received triggers, obtain each attribute information of bookmark to be added;
Obtain the catalogue corresponding to file of the current reading of described user;
Each attribute information of described bookmark to be added is added in bookmark storehouse corresponding to described catalogue.
Based on a bookmarked device for catalogue, comprising:
Obtain Attribute information element, for the interpolation bookmark request triggered according to the user received, obtain each attribute information of bookmark to be added;
Obtain catalog unit, for obtain the current reading of described user file corresponding to catalogue;
Adding device, for adding to each attribute information of the bookmark described to be added obtained in bookmark storehouse corresponding to described catalogue.
A kind of bookmark marking method based on catalogue that the embodiment of the present invention provides and device, by the interpolation bookmark request triggered according to the user received, obtain the attribute information of bookmark to be added, then obtain the catalogue corresponding to file of the current reading of described user, each attribute information of the bookmark described to be added obtained is added in bookmark storehouse corresponding to described catalogue.The scheme that the embodiment of the present invention provides, when reading the label added, can realize the quick position of many document electronics bookmark.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of bookmark marking method based on catalogue that Fig. 1 provides for the embodiment of the present invention 1;
The another kind that Fig. 2 provides for the embodiment of the present invention 1 is based on the process flow diagram of the bookmark marking method of catalogue;
The schematic diagram of the interpolation books label that Fig. 3 provides for the embodiment of the present invention 1;
The schematic diagram of the interpolation picture tag that Fig. 4 provides for the embodiment of the present invention 1;
The process flow diagram of the method for the content of the reading label that Fig. 5 provides for the embodiment of the present invention 1;
Fig. 6 is for opening of providing of the embodiment of the present invention 1 and show the process flow diagram of bookmark place to be checked documentation page;
The block diagram of a kind of bookmarked device based on catalogue that Fig. 7 provides for the embodiment of the present invention 2;
The another kind that Fig. 8 provides for the embodiment of the present invention 2 is based on the block diagram of the bookmarked device of catalogue;
The block diagram of the performance element that Fig. 9 provides for the embodiment of the present invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
The embodiment of the present invention provides a kind of bookmark marking method based on catalogue, and as shown in Figure 1, the method comprises:
Step 101, according to the interpolation bookmark request that the user received triggers, obtains each attribute information of bookmark to be added;
The attribute information of described bookmark to be added comprises the title of the index of bookmark to be added, the text corresponding to bookmark to be added; When described default file is text, the attribute information of described bookmark to be added also comprises, the page number of the documentation page of the text corresponding to bookmark to be added, read the font size of the documentation page corresponding to bookmark to be added, or the deviation post of reference position in text of documentation page corresponding to bookmark to be added; Wherein, the index of bookmark to be added represents the numbering of bookmark to be added at the record of preservation tables of data in a database.
Step 102, obtains the catalogue corresponding to file of the current reading of described user;
Bookmark to be added is a certain documentation page in the file of the current reading of user, and file associates with catalogue, wherein, can comprise multiple file in catalogue.
Step 103, adds in bookmark storehouse corresponding to described catalogue by each attribute information of described bookmark to be added;
Further, each bookmark in the bookmark storehouse that described catalogue is corresponding associates with the default file in described catalogue, described default file comprises text and/or picture file, particularly, when described default file is text, described bookmark to be added associates with the page number of described text; Like this, user marks the bookmark location in the file of bookmark under can directly jumping to catalogue according to the bookmark added, carry out reading documents.
When described default file is picture file, described bookmark to be added associates with described picture file, and like this, user marks the picture of bookmark under can directly jumping to catalogue according to the bookmark added, check picture.
Further, as shown in Figure 2, based on catalogue bookmark marking method before step 101, also comprise:
Step 100, sets up corresponding bookmark storehouse according to catalogue.
Particularly, multiple bookmark attribute informations of multiple file in this catalogue are comprised in the bookmark storehouse in this catalogue.After establishing bookmark storehouse according to catalogue, the file under this catalogue can being read, when reading interested document, can carry out adding new label.
Here, bookmark storehouse can be preserved in usage data storehouse, and all default files can be organized into the form of a catalogue, the corresponding tables of data of each bookmark in the bookmark storehouse in a catalogue;
The bookmark of all book text files or picture is preserved in described tables of data, and preserve in a database, the title of tables of data is identical with the title of catalogue, arranged by user, described tables of data comprises: bookmark numbering ID, the title FILENAME of the text that bookmark is corresponding, the page number PAGE of the documentation page of the text that bookmark is corresponding, the time TIME of interpolation or Last modification bookmark, the first trip word CONTENT of the documentation page corresponding to bookmark, the font size FONT of documentation page corresponding to described bookmark is read when adding bookmark, the deviation post OFFSET of reference position in text of the documentation page corresponding to bookmark.
Further, each attribute information of the bookmark described to be added obtained is added in bookmark storehouse, and stores in a database, wherein, in tables of data, each attribute information of bookmark to be added is added, namely after step 103, as shown in Figure 2, performed by following steps:
Step 104, according to the attribute information of the bookmark to be added in described bookmark storehouse, judges that described bookmark to be added is text label or picture tag;
Because interpolation content when text label adds in tables of data with picture tag is different, therefore need to judge that the label that current needs add is text label or picture tag, particularly, can by the suffix of the title of the bookmark place to be added text in the attribute of bookmark to be added, judge whether bookmark to be added is text label, such as: the suffix of text label is .TXT, the suffix of picture tag can be .jpg .gif .jpeg etc.
Whole attribute informations of described bookmark to be added, when described bookmark to be added is text label, are added in tables of data by step 105;
Particularly, the index of described bookmark to be added is added under described ID in tables of data, the title of the text corresponding to described bookmark to be added is added under described FILENAME in tables of data, the page number of the documentation page of the text corresponding to described bookmark to be added is added under described PAGE in tables of data, the update time of described bookmark to be added is added under described TIME in tables of data, the first trip word of the documentation page corresponding to described bookmark to be added is added under described CONTENT in tables of data, the font size of the documentation page read corresponding to described bookmark to be added is added under described FONT in tables of data, the deviation post of reference position in text of the documentation page corresponding to described bookmark to be added is added under described OFFSET in tables of data,
The update time of bookmark to be added is not comprised, when increasing record in tables of data, under the TIME that can be recorded in tables of data according to the interpolation obtained or time of Last modification bookmark in the attribute information of bookmark.
As shown in Figure 3, a bookmark in " green slave " file added in tables of data, the ID in tables of data is 1; FILENAME is " " green slave " .txt "; PAGE is " 3 ", and the bookmark namely added is the 3rd page of " green slave " this file; TIME is " 2011071410 ", when the time of namely adding bookmark is 14 days 10 July in 2011; CONTENT is " real problem can be solved efficiently ", and the bookmark namely added is at the first trip word of " green slave " this file in the 3rd page; FONT is 4, and the bookmark namely added is at the font size of " green slave " this file in the 3rd page; OFFSET is 153614, and the initial deviation post at presents of the 3rd page of bookmark place " green slave " this file namely added is 153614 bytes.
It should be noted that, when bookmark to be added is text label, each attribute of bookmark to be added can add in tables of data.
Step 106, when described bookmark to be added is picture tag, is added in tables of data by the part attribute information of described bookmark to be added;
Particularly, the index of described bookmark to be added is added under described ID in tables of data, the title of the text corresponding to described bookmark to be added is added under described FILENAME in tables of data, add the page number of the documentation page of text corresponding to described bookmark to be added under described PAGE in tables of data, under the described TIME in tables of data, add the update time of described bookmark to be added.
As shown in Figure 4, the bookmark of 04 picture added in tables of data, the ID in tables of data is 4; FILENAME in tables of data is 04.jpg; PAGE is 4, and the bookmark namely added is the 4th pictures in picture file; TIME is 2011070610, when the time of namely adding bookmark is 6 days 10 July in 2011.
It should be noted that, for picture, under normal circumstances, a pictures only has one page, at this moment, all pictures in terminal is interpreted as a file comprising multiple picture.When therefore adding bookmark, the position page number in the file comprising multiple picture by picture name and picture is only needed to add.
It should be noted that, the scheme that the embodiment of the present invention provides, tables of data is set up according to the catalogue in terminal, a tables of data in a catalogue correspondence database, only can comprise text in catalogue, or only comprise picture file, also can comprise text and picture file simultaneously.
It should be noted that, user opens a terminal the bookmark storehouse of preserving under middle catalogue, the all bookmark attribute informations added in each file in bookmark storehouse under this catalogue in store, wherein, the corresponding tables of data of all bookmarks in a catalogue, tables of data preserves the attribute information of each bookmark, tables of data in a database, user selects a bookmark record in bookmark storehouse, click the title of bookmark, the relevant position of the file at this bookmark place can be jumped to, further, as shown in Figure 5, the method also comprises:
Step 501, receive the read request that user triggers, obtain the attribute information of bookmark to be checked, the attribute information of described bookmark to be checked comprises the title of the text corresponding to bookmark to be checked;
Particularly, user clicks a bookmark information in bookmark storehouse, terminal system receives the read request that user triggers, described read request can the title of text corresponding to bookmark to be checked, the all records about this bookmark are inquired about in the tables of data of then preserving in a database, obtain the recorded information of this bookmark, i.e. attribute information.Preserve the bookmark of all texts or picture in tables of data, the attribute information of the bookmark preserved in tables of data comprises the title of the index of bookmark to be added, text corresponding to bookmark to be added; When described default file is text, the attribute information of described bookmark to be added also comprises, the page number of the documentation page of the text corresponding to bookmark to be added, read the font size of the documentation page corresponding to bookmark to be added, or the deviation post of reference position in text of documentation page corresponding to bookmark to be added.
It should be noted that, bookmark to be checked can be text label here, also can be picture tag.
Step 502, the title of the text corresponding to bookmark to be checked described in the attribute information of the bookmark to be checked of described acquisition, obtains the routing information of the text opened corresponding to bookmark to be checked;
The routing information of the text opened corresponding to bookmark to be checked is obtained according to the stored record of bookmark to be checked in bookmark storehouse.Such as, the index opening " green slave " these books of interpolation is the label of 1, and routing information of opening that terminal system obtains this record is: my collection e-book situation of selling well works " green slave ".
Step 503, according to the routing information opening the text corresponding to described bookmark to be checked obtained, opens and shows documentation page or the picture file of the text corresponding to described bookmark to be checked;
Here, routing information is the routing information that each bookmark in bookmark storehouse corresponding to catalogue and the default file in catalogue carry out associating, and can open documentation page or the picture file of the file corresponding to bookmark to be checked according to related information.Particularly, when step 503 is opened and shows the documentation page of the file corresponding to described bookmark to be checked, as shown in Figure 6, comprise the following steps:
Step 601, according to the routing information opening the text corresponding to described bookmark to be checked obtained, and judges that whether the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition;
It should be noted that, the existing way of file has layout files and stream-oriented file, and for layout files, font size etc. are that display parameter are determined, therefore just can position needing the file of inquiry according to PAGE in recorded information in tables of data, PAGE represents the page number of bookmark at documentation page; For stream-oriented file, the display parameter such as font size are different, the number of pages of definitive document is not identical, and the page number therefore during recording mark bookmark can not effectively be located, and therefore also needs the deviation post of reference position in text of the documentation page that recording mark bookmark is corresponding.
Step 602, if the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition, the page number of the documentation page of the text then corresponding to described bookmark to be checked positions, and the document content that the documentation page showing the text corresponding to described bookmark to be checked is corresponding;
If when the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition, then now the document of bookmarked to be checked may be layout files, also may be stream-oriented file, but now font size determines, then can position according to PAGE in bookmark recorded information in tables of data.
Step 603, if the font size that the font size of current display is corresponding with the bookmark described to be checked of acquisition is inconsistent, the deviation post of reference position in text of the documentation page then according to described bookmark to be checked corresponding to bookmark to be checked positions, and calculate the page number when the font size of current display corresponding to described bookmark to be checked according to described deviation post, and show document content corresponding to the described page number.
If when the font size that the font size of current display is corresponding with the bookmark described to be checked of acquisition is inconsistent, then now the document of bookmarked to be checked is stream-oriented file, only can not locate according to font size information, need to calculate according to OFFSET in bookmark recorded information in tables of data, the page number of the documentation page of the text under the font size of current display corresponding to described bookmark to be checked, the deviation post of reference position in text of the documentation page of OFFSET corresponding to bookmark.
A kind of bookmark marking method based on catalogue provided by the invention, by receiving the interpolation bookmark request that user triggers, obtain each attribute information of bookmark to be added, then obtain the catalogue corresponding to file of the current reading of described user, and each attribute information of the bookmark to be added obtained is added in bookmark storehouse corresponding to described catalogue.The scheme that the embodiment of the present invention provides can hit at bookmark list mid point the bookmark needing inquiry, can read the position of bookmarked, can realize the quick position of many document electronics bookmark.
Embodiment 2
In order to realize the bookmark marking method based on catalogue that embodiment 1 provides, the embodiment of the present invention provides a kind of bookmarked device based on catalogue, and as shown in Figure 7, this device comprises: obtain Attribute information element 701, obtains catalog unit 702, adding device 703.
Obtain Attribute information element 701, for the interpolation bookmark request triggered according to the user received, obtain each attribute information of bookmark to be added;
The attribute information of described bookmark to be added comprises the title of the index of bookmark to be added, the text corresponding to bookmark to be added; When described default file is text, the attribute information of described bookmark to be added also comprises, the page number of the documentation page of the text corresponding to bookmark to be added, read the font size of the documentation page corresponding to bookmark to be added, or the deviation post of reference position in text of documentation page corresponding to bookmark to be added; Wherein, the index of bookmark to be added represents the numbering of the record of bookmark to be added tables of data in a database.
Obtain catalog unit 702, for obtain the current reading of described user file corresponding to catalogue;
Bookmark to be added is a certain documentation page in the file of the current reading of user, and file associates with catalogue, wherein, can comprise multiple file in catalogue.
Adding device 703, for adding in bookmark storehouse corresponding to described catalogue by each attribute information of described bookmark to be added;
Each bookmark in the bookmark storehouse that described catalogue is corresponding associates with all default files in described catalogue, and described default file comprises text and/or picture file.In addition, in store all bookmarks in bookmark storehouse, usage data storehouse, bookmark storehouse is preserved, the corresponding tables of data in bookmark storehouse,
The title of tables of data can be arranged by user, and described tables of data comprises: the first trip word CONTENT of the page number PAGE of the documentation page of the text that the title FILENAME of the text that bookmark numbering ID, bookmark are corresponding, bookmark are corresponding, interpolation or the time TIME of Last modification bookmark, the documentation page corresponding to bookmark, read the deviation post OFFSET of reference position in text of the font size FONT of documentation page corresponding to described bookmark, the documentation page corresponding to bookmark when adding bookmark.
The update time of bookmark to be added is not comprised, when increasing record in tables of data, under the TIME that can be recorded in tables of data according to the interpolation obtained or time of Last modification bookmark in the attribute information of bookmark.
Further, as shown in Figure 8, this device also comprises sets up unit 700, associative cell 704,
Set up unit 700, for setting up corresponding bookmark storehouse according to catalogue;
Particularly, multiple bookmark attribute informations of multiple file in this catalogue are comprised in the bookmark storehouse in this catalogue.After establishing bookmark storehouse according to catalogue, the file under this catalogue can being read, when reading interested document, can carry out adding new label.
Here, bookmark storehouse can be preserved in usage data storehouse, and all default files can be organized into the form of a catalogue, the corresponding tables of data of each bookmark in the bookmark storehouse in a catalogue; Each attribute information of bookmark to be added is kept in the tables of data of database, first according to the attribute information of the bookmark to be added in described bookmark storehouse, judges that described bookmark to be added is text label or picture tag;
Because interpolation content when text label adds in tables of data with picture tag is different, therefore need to judge that the label that current needs add is text label or picture tag, particularly, can by the suffix of the title of the text corresponding to the bookmark to be added in the attribute of bookmark to be added, judge whether bookmark to be added is text label, such as: the suffix of text label is .TXT, the suffix of picture tag can be .jpg .gif .jpeg etc.
When described bookmark to be added is books label, for adding the index of described bookmark to be added under the described ID in tables of data, the title of the text corresponding to described bookmark to be added is added under described FILENAME in tables of data, the page number of the documentation page of text corresponding to described bookmark to be added is added under described PAGE in tables of data, the update time of described bookmark to be added is added under described TIME in tables of data, the first trip word of the documentation page corresponding to described bookmark to be added is added under described CONTENT in tables of data, the font size of the documentation page read corresponding to described bookmark to be added is added under described FONT in tables of data, the deviation post of reference position in text of the documentation page corresponding to described bookmark to be added is added under described OFFSET in tables of data,
When described bookmark to be added is picture tag, for adding the index of described bookmark to be added under the described ID in tables of data, the title of the text corresponding to described bookmark to be added is added under described FILENAME in tables of data, add the page number of the documentation page of text corresponding to described bookmark to be added under described PAGE in tables of data, under the described TIME in tables of data, add the update time of described bookmark to be added.
After each attribute information of the bookmark described to be added obtained is added in the bookmark storehouse set up according to described catalogue, associative cell 704, associate with the default file in described catalogue for each bookmark in the bookmark storehouse that described catalogue is corresponding, described default file comprises text and/or picture file;
Particularly, the first relating module 705 in described associative cell 704, for when described default file is text, the default bookmark in described catalogue associates with the page number of described text; Like this, user marks the bookmark location in the file of bookmark under can directly jumping to catalogue according to the bookmark added, carry out reading documents.
Second relating module 706, for when described default file is picture file, the default bookmark in described catalogue and described picture file direct correlation; Like this, user marks the picture of bookmark under can directly jumping to catalogue according to the bookmark added, check picture.
When user needs to read interested file, the corresponding label under this bookmark storehouse can be clicked, thus the quick position of many document electronics bookmark can be realized.Particularly, as shown in Figure 8, this device also comprises: acquiring unit 707, acquisition approach message unit 708, performance element 709.
Acquiring unit 707, for receiving the read request that user triggers, obtain the attribute information of bookmark to be checked, the attribute information of described bookmark to be checked comprises the title of the text corresponding to bookmark to be checked;
Particularly, when user clicks the some labels under bookmark storehouse, terminal system receives the read request that user triggers, described read request can the title of text corresponding to bookmark to be checked, the all records about this bookmark are inquired about in the tables of data of preserving in a database, obtain the recorded information of this bookmark, i.e. attribute information.Preserve the bookmark of all texts or picture in tables of data, the attribute information of the bookmark preserved in tables of data comprises the title of the index of bookmark to be added, text corresponding to bookmark to be added; When described default file is text, the attribute information of described bookmark to be added also comprises, the page number of the documentation page of the text corresponding to bookmark to be added, read the font size of the documentation page corresponding to bookmark to be added, or the deviation post of reference position in text of documentation page corresponding to bookmark to be added.
Acquisition approach message unit 708, for the bookmark to be checked according to described acquisition attribute information described in the title of text corresponding to bookmark to be checked, obtain the routing information of the text opened corresponding to bookmark to be checked;
According to the routing information opening the text corresponding to described bookmark to be checked obtained, performance element 709, for opening and showing documentation page or the picture file of the text corresponding to described bookmark to be checked;
Particularly, as shown in Figure 9, performance element 709 comprises: judge module 901, query display module 902, execution module 903.
Judge module 901, for the routing information opening the text corresponding to described bookmark to be checked according to acquisition, and judges that whether the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition;
It should be noted that, the existing way of file has board-like file and stream-oriented file, for layout files, font sizes etc. are that display parameter are determined, therefore just can position needing the file of inquiry according to PAGE in recorded information in tables of data, PAGE represents the page number of the documentation page that bookmark is corresponding; For stream-oriented file, the display parameter such as font size are different, the number of pages of definitive document is not identical, and the page number therefore during recording mark bookmark can not effectively be located, and therefore also needs the deviation post of reference position in text of the documentation page that recording mark bookmark is corresponding.
If when the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition, query display module 902, the page number for the documentation page of the text then corresponding to described bookmark to be checked positions, and the document content that the documentation page showing the text corresponding to described bookmark to be checked is corresponding;
If when the font size that the font size of current display is corresponding with the bookmark described to be checked of acquisition is inconsistent, execution module 903, the deviation post of reference position in text for the documentation page then according to described bookmark to be checked corresponding to bookmark to be checked positions, and calculate the page number when the font size of current display corresponding to described bookmark to be checked according to described deviation post, and show document content corresponding to the described page number.
If when the font size that the font size of current display is corresponding with the bookmark described to be checked of acquisition is inconsistent, then now the document of bookmarked to be checked is stream-oriented file, only can not locate according to font size information, need to calculate according to OFFSET in bookmark recorded information in tables of data, the page number of the documentation page of the text under the font size of current display corresponding to described bookmark to be checked, the deviation post of reference position in text of the documentation page of OFFSET corresponding to bookmark.
The device of a kind of bookmarked based on catalogue that the invention process provides, by the interpolation bookmark request triggered according to the user received, first acquiring unit obtains each attribute information of bookmark to be added, obtain the catalogue corresponding to file that catalog unit obtains the current reading of described user, then adding device, adds to each attribute information of the bookmark described to be added obtained in bookmark storehouse corresponding to described catalogue.With in prior art during read books, the content of the bookmarked that this file is corresponding just can be checked after must opening each file under catalogue one by one, check inconvenience, and when deposit in catalogue be some picture files time, the function that electronic tag in units of file cannot realize quick position is compared, the scheme that the embodiment of the present invention provides can hit at bookmark list mid point the bookmark needing inquiry, can read the position of bookmarked, can realize the quick position of many document electronics bookmark.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (13)

1. based on a bookmark marking method for catalogue, it is characterized in that, comprising:
According to the interpolation bookmark request that the user received triggers, obtain each attribute information of bookmark to be added;
Obtain the catalogue corresponding to file of the current reading of described user;
Each attribute information of described bookmark to be added is added in bookmark storehouse corresponding to described catalogue; Wherein, multiple bookmark attribute informations of multiple file in described catalogue are comprised in the bookmark storehouse that described catalogue is corresponding.
2. the bookmark marking method based on catalogue according to claim 1, is characterized in that, in the interpolation bookmark request of user's triggering that described basis receives, before obtaining each attribute information of bookmark to be added, also comprises:
Corresponding bookmark storehouse is set up according to catalogue.
3. the bookmark marking method based on catalogue according to claim 1, it is characterized in that, each bookmark in the bookmark storehouse that described catalogue is corresponding associates with the default file in described catalogue respectively, and described default file comprises text and/or picture file.
4. the bookmark marking method based on catalogue according to claim 3, is characterized in that, the attribute information of described bookmark to be added comprises the title of the index of bookmark to be added, text corresponding to bookmark to be added; When described default file is text, the attribute information of described bookmark to be added also comprises, the page number of the documentation page of the text corresponding to bookmark to be added, read the font size of the documentation page corresponding to bookmark to be added, or the deviation post of reference position in text of documentation page corresponding to bookmark to be added.
5. the bookmark marking method based on catalogue according to claim 3, is characterized in that, each bookmark in the bookmark storehouse that described catalogue is corresponding carries out associating comprising with the default file in described catalogue respectively:
When described default file is text, described bookmark to be added is associated with the page number of described text;
When described default file is picture file, described bookmark to be added is associated with described picture file.
6. the bookmark marking method based on catalogue according to claim 5, is characterized in that, adds to after in bookmark storehouse corresponding to described catalogue, also comprise at described each attribute information by the bookmark described to be added obtained:
Receive the read request that user triggers, obtain the attribute information of bookmark to be checked, the attribute information of described bookmark to be checked comprises the title of the text corresponding to bookmark to be checked;
The title of the text corresponding to bookmark to be checked described in the attribute information of the bookmark to be checked of described acquisition, obtains the routing information of the text opened corresponding to bookmark to be checked;
According to the routing information opening the text corresponding to described bookmark to be checked obtained, open and show documentation page or the picture file of the text corresponding to described bookmark to be checked.
7. the bookmark marking method based on catalogue according to claim 6, it is characterized in that, the described routing information opening the text corresponding to described bookmark to be checked according to obtaining, when opening and show the documentation page of the text corresponding to described bookmark to be checked, comprising:
According to the routing information opening the text corresponding to described bookmark to be checked obtained, judge that whether the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition;
If the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition, the page number of the documentation page of the text then corresponding to described bookmark to be checked positions, and the document content that the documentation page showing the text corresponding to described bookmark to be checked is corresponding;
If the font size that the font size of current display is corresponding with the bookmark described to be checked of acquisition is inconsistent, the deviation post of reference position in text of the documentation page then corresponding to described bookmark to be checked positions, and calculate the page number when the font size of current display corresponding to described bookmark to be checked according to described deviation post, and show document content corresponding to the described page number.
8., based on a bookmarked device for catalogue, it is characterized in that, comprising:
Obtain Attribute information element, for the interpolation bookmark request triggered according to the user received, obtain each attribute information of bookmark to be added;
Obtain catalog unit, for obtain the current reading of described user file corresponding to catalogue;
Adding device, for adding in bookmark storehouse corresponding to described catalogue by each attribute information of the bookmark described to be added obtained; Wherein, multiple bookmark attribute informations of multiple file in described catalogue are comprised in the bookmark storehouse that described catalogue is corresponding.
9. the bookmarked device based on catalogue according to claim 8, it is characterized in that, described device also comprises:
Set up unit, for setting up corresponding bookmark storehouse according to catalogue.
10. the bookmarked device based on catalogue according to claim 8, it is characterized in that, described device also comprises:
Associative cell, associate with the default file in described catalogue respectively for each bookmark in the bookmark storehouse that described catalogue is corresponding, described default file comprises text and/or picture file.
The 11. bookmarked devices based on catalogue according to claim 10, it is characterized in that, described associative cell comprises:
First relating module, for when described default file is text, described bookmark to be added associates with the page number of described text;
Second relating module, for when described default file is picture file, described bookmark to be added associates with described picture file.
The 12. bookmarked devices based on catalogue according to claim 11, it is characterized in that, this device also comprises:
Acquiring unit, for receiving the read request that user triggers, obtain the attribute information of bookmark to be checked, the attribute information of described bookmark to be checked comprises the title of the file corresponding to bookmark to be checked;
Acquisition approach message unit, for the bookmark to be checked according to described acquisition attribute information described in the title of text corresponding to bookmark to be checked, obtain the routing information of the text opened corresponding to bookmark to be checked;
Performance element, for according to the routing information opening the text corresponding to described bookmark to be checked obtained, opens and shows documentation page or the picture file of the text corresponding to described bookmark to be checked.
The 13. bookmarked devices based on catalogue according to claim 12, it is characterized in that, described performance element comprises:
Judge module, for the routing information opening the text corresponding to described bookmark to be checked according to acquisition, and judges that whether the font size of current display is consistent with font size corresponding in the bookmark described to be checked of acquisition;
Query display module, if time consistent for font size corresponding in the font size of current display and the bookmark described to be checked of acquisition, the page number of the documentation page of the text then corresponding to described bookmark to be checked positions, and the document content that the documentation page showing the text corresponding to described bookmark to be checked is corresponding;
Execution module, if inconsistent for font size corresponding in the font size of current display and the bookmark described to be checked of acquisition, the deviation post of reference position in text of the documentation page then corresponding to described bookmark to be checked positions, and calculate the page number when the font size of current display corresponding to described bookmark to be checked according to described deviation post, and show document content corresponding to the described page number.
CN201110230249.8A 2011-08-11 2011-08-11 A kind of bookmark marking method based on catalogue and device Active CN102929890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110230249.8A CN102929890B (en) 2011-08-11 2011-08-11 A kind of bookmark marking method based on catalogue and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110230249.8A CN102929890B (en) 2011-08-11 2011-08-11 A kind of bookmark marking method based on catalogue and device

Publications (2)

Publication Number Publication Date
CN102929890A CN102929890A (en) 2013-02-13
CN102929890B true CN102929890B (en) 2015-12-02

Family

ID=47644689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110230249.8A Active CN102929890B (en) 2011-08-11 2011-08-11 A kind of bookmark marking method based on catalogue and device

Country Status (1)

Country Link
CN (1) CN102929890B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123294B (en) * 2013-04-25 2019-02-01 腾讯科技(深圳)有限公司 Add the method and device of bookmark
CN104424214B (en) * 2013-08-22 2017-10-27 北大方正集团有限公司 A kind of self-defined method and apparatus for extracting directory content
CN103593118A (en) * 2013-11-29 2014-02-19 重庆市科学技术研究院 Irregular figure bookmark adding method and system based on Android platform reader
CN106528620A (en) * 2016-09-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 File management method, file management apparatus and terminal
CN107748738A (en) * 2017-10-27 2018-03-02 上海京颐科技股份有限公司 The generation method and device of e-book catalogue, storage medium, computing device
CN108256108A (en) * 2018-02-06 2018-07-06 维沃移动通信有限公司 A kind of processing method and terminal for showing content
CN110929048A (en) * 2018-08-30 2020-03-27 广州金山移动科技有限公司 Bookmark generation method and device, electronic equipment and storage medium
CN109670149A (en) * 2018-12-04 2019-04-23 江苏中威科技软件系统有限公司 Electronic spreadsheet synthesizes and generates method, the terminal of label with attachment files
CN110321439B (en) * 2019-07-10 2022-02-25 北京市律典通科技有限公司 Electronic annotation management method and system
CN111914521A (en) * 2020-06-20 2020-11-10 北京海金格医药科技股份有限公司 Document bookmark creating method and device, electronic equipment and readable storage medium
CN113741763A (en) * 2021-07-22 2021-12-03 咪咕数字传媒有限公司 Electronic book display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059800A (en) * 2006-04-21 2007-10-24 上海晨兴电子科技有限公司 Method and apparatus for displaying electronic book on mobile phone
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101751476A (en) * 2010-02-02 2010-06-23 汉王科技股份有限公司 Method and device for marking electronic bookmarks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059800A (en) * 2006-04-21 2007-10-24 上海晨兴电子科技有限公司 Method and apparatus for displaying electronic book on mobile phone
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101751476A (en) * 2010-02-02 2010-06-23 汉王科技股份有限公司 Method and device for marking electronic bookmarks

Also Published As

Publication number Publication date
CN102929890A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102929890B (en) A kind of bookmark marking method based on catalogue and device
US7225407B2 (en) Resource browser sessions search
CN102033887B (en) A kind of realize the method for c bookmart, user terminal and bookmark server
US8027561B2 (en) Methods, devices and computer program products for event-based media file tagging
CN103020270B (en) For information retrieval system and the method for e-book
CN103207874B (en) Updated webpage content prompting method and system
WO2008045229A3 (en) Method and system for sharing bookmarks
US20060277455A1 (en) Recommendatory information provision system
CN101676907A (en) Method and system of directionally acquiring Internet resources
US6694302B2 (en) System, method and article of manufacture for personal catalog and knowledge management
US20150089378A1 (en) Graphical bookmark realization method and device for embedded browser, and Terminal
US10795960B2 (en) Managing bookmarks within a collaborative application
JP2008234304A (en) Technique for managing data in association with tag information
CN104462590B (en) Information search method and device
CN104794177A (en) Data storing method and device
CN104090869B (en) A kind of method and translation system for translating the network information
CN103377246B (en) Bookmark processing method and terminal browser
CN101393551B (en) Index establishing system and method for patent full text search
CN101593187B (en) Method and system for managing book marks
CN100407204C (en) Method for labeling computer resource and system therefor
CN106547821A (en) A kind of method in browser according to keyword search related web page
US20110016411A1 (en) Methods and apparatus for bookmarking
CN102999596A (en) Method, system and terminal for searching text label
CN103425766A (en) Browsing synchronization method and device
CN105324747A (en) Image display method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant