CN107562802A - Text data display methods and device and storage medium and electronic installation - Google Patents

Text data display methods and device and storage medium and electronic installation Download PDF

Info

Publication number
CN107562802A
CN107562802A CN201710668583.9A CN201710668583A CN107562802A CN 107562802 A CN107562802 A CN 107562802A CN 201710668583 A CN201710668583 A CN 201710668583A CN 107562802 A CN107562802 A CN 107562802A
Authority
CN
China
Prior art keywords
page
target
target photo
tity
target pages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710668583.9A
Other languages
Chinese (zh)
Other versions
CN107562802B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710668583.9A priority Critical patent/CN107562802B/en
Publication of CN107562802A publication Critical patent/CN107562802A/en
Application granted granted Critical
Publication of CN107562802B publication Critical patent/CN107562802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of text data display methods and device and storage medium and electronic installation.Wherein, this method includes:Data display request is obtained, wherein, data display request is used to ask to be shown in the page text data included in the target pages of intended application;In the picture database matched with intended application, the Target Photo matched with target pages is navigated to according to the page iden-tity of target pages, wherein, the page text data included in target pages are included in Target Photo, picture database is used to store the pictures that the conversion of page in intended application obtains, and pictures include Target Photo;Show the Target Photo navigated to.The present invention is solved using the relatively low technical problem of the text data display efficiency caused by existing text data display methods.

Description

Text data display methods and device and storage medium and electronic installation
Technical field
The present invention relates to computer realm, is situated between in particular to a kind of text data display methods and device with storage Matter and electronic installation.
Background technology
Nowadays, increasing user begins to use electronic reading application to carry out read electronic sheet.Wherein, for the ease of user Interested word content is marked in e-text, bookmarked work(is often set in electronic reading application at present Can, notes mark function, highlight mark function, in order to which word content interested is marked user, make so as to realize With mark fast positioning to above-mentioned word content, and the purpose shown in electronic reading in.
However, because the word content in e-text is that independent and discrete character is formed, thus, using above-mentioned side When formula positioning electronic reads the word content in certain e-text in application, specific text is often first marked in e-text Word content, then by traveling through the entire text data in the e-text, lookup obtains labeled word content, and to looking into Find word content and carry out typesetting again, can show.That is, the text data display methods provided in correlation technique In, because positioning time is longer, the problem of so as to cause display efficiency relatively low.
For it is above-mentioned the problem of, not yet propose effective solution at present.
The content of the invention
The embodiments of the invention provide a kind of text data display methods and device and storage medium and electronic installation, so that It is few to solve using the relatively low technical problem of the text data display efficiency caused by existing text data display methods.
One side according to embodiments of the present invention, there is provided a kind of text data display methods, including:Data are obtained to show Show request, wherein, above-mentioned data display request is used to ask to be shown in the page text included in the target pages of intended application Notebook data;In the picture database matched with above-mentioned intended application, according to the page iden-tity of above-mentioned target pages navigate to The Target Photo of above-mentioned target pages matching, wherein, comprising above-mentioned included in above-mentioned target pages in above-mentioned Target Photo Page text data, above-mentioned picture database are used to store the pictures that the conversion of page in above-mentioned intended application obtains, Above-mentioned pictures include above-mentioned Target Photo;Show the above-mentioned Target Photo navigated to.
Another aspect according to embodiments of the present invention, a kind of text data display device is additionally provided, including:First obtains Unit, for obtaining data display request, wherein, above-mentioned data display request is used to ask the page object for being shown in intended application Page text data included in face;Positioning unit, in the picture database matched with above-mentioned intended application, according to The page iden-tity of above-mentioned target pages navigates to the Target Photo matched with above-mentioned target pages, wherein, in above-mentioned Target Photo Comprising the above-mentioned page text data included in above-mentioned target pages, above-mentioned picture database is used to store according to above-mentioned target The pictures that conversion of page in obtains, above-mentioned pictures include above-mentioned Target Photo;Display unit, it is fixed for showing The above-mentioned Target Photo that position is arrived.
Another aspect according to embodiments of the present invention, additionally provides a kind of storage medium, including:, above-mentioned storage medium bag The program of storage is included, wherein, said procedure performs above-mentioned method when running.
Another aspect according to embodiments of the present invention, additionally provides a kind of electronic installation, including memory, processor and deposits The computer program that can be run on above-mentioned memory and on above-mentioned processor is stored up, above-mentioned processor passes through above computer journey Sequence performs above-mentioned method.
In embodiments of the present invention, by the way that target pages to display are converted into Target Photo, storage is arrived and target Using in the picture database of matching, obtained in order to be positioned according to the page iden-tity of target pages from Target Photo database Target Photo to be shown, without traveling through the lteral data in each page in intended application again, to reduce location determination Number, shorten positioning duration, so as to realize the location efficiency for improving positioning Target Photo, and then improve display target picture Included in page data display efficiency effect.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
A kind of application environment schematic diagram of optional text data display methods according to embodiments of the present invention Fig. 1;
Fig. 2 is a kind of flow chart of optional text data display methods according to embodiments of the present invention;
Fig. 3 is the flow chart of the optional text data display methods of another kind according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of optional text data display methods according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the optional text data display methods of another kind according to embodiments of the present invention
Fig. 6 is the schematic diagram of another optional text data display methods according to embodiments of the present invention
Fig. 7 is the schematic diagram of another optional text data display methods according to embodiments of the present invention
Fig. 8 is the schematic diagram of another optional text data display methods according to embodiments of the present invention
Fig. 9 is a kind of schematic diagram of optional text data display device according to embodiments of the present invention;
Figure 10 is the schematic diagram of the optional text data display device of another kind according to embodiments of the present invention;
Figure 11 is a kind of schematic diagram of optional electronic installation according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
Embodiment 1
In embodiments of the present invention, there is provided a kind of embodiment of above-mentioned text data display methods.As a kind of optional Embodiment, text data display method can be, but not limited to be applied to application environment as shown in Figure 1 in, in terminal 102 obtain for ask to be shown in page text data included in the target pages of intended application data display request it Afterwards, can be, but not limited to as shown in Figure 1 by network 104 using being stored in matching with the intended application in server 106 Picture database, the Target Photo matched with above-mentioned target pages is navigated to according to the page iden-tity of above-mentioned target pages, wherein, It is used to store according in intended application comprising the page text data included in target pages, picture database in Target Photo The obtained pictures of conversion of page, pictures include Target Photo;Then, display target picture it should be noted that on State picture database can also but to be not limited to be stored in terminal 102, do not do any restriction in the present embodiment to this.
In the present embodiment, obtain after data display request, using the picture database matched with the intended application, The Target Photo matched with above-mentioned target pages is navigated to according to the page iden-tity of above-mentioned target pages, wherein, above-mentioned target figure It is used to store according to above-mentioned intended application comprising the page text data included in target pages, above-mentioned picture database in piece In the obtained pictures of conversion of page, the pictures include Target Photo;Then, show included by above-mentioned Target Photo Page data in above-mentioned target pages.That is, by the way that target pages to display are converted into Target Photo, storage Into the picture database matched with intended application, in order to according to the page iden-tity of target pages from Target Photo database Positioning obtains Target Photo to be shown, without traveling through the text data in each page in intended application again, to reduce Location determination number, shorten positioning duration, so as to realize the location efficiency for improving positioning Target Photo, and then improve display The effect of the display efficiency of page data included in Target Photo.
Alternatively, in the present embodiment, above-mentioned terminal can include but is not limited at least one of:Mobile phone, flat board electricity Brain, notebook computer, desktop PC, DTV and other by intended application show page data hardware device.It is above-mentioned Network can include but is not limited at least one of:Wide area network, Metropolitan Area Network (MAN), LAN.A kind of above-mentioned simply example, this implementation Example does not do any restriction to this.
According to embodiments of the present invention, there is provided a kind of text data display methods, as shown in Fig. 2 this method includes:
S202, data display request is obtained, wherein, data display request is used to ask the page object for being shown in intended application Page text data included in face;
S204, in the picture database matched with intended application, navigated to according to the page iden-tity of target pages and mesh The Target Photo of page matching is marked, wherein, the page text data included in target pages, picture number are included in Target Photo The pictures obtained according to storehouse for storing the conversion of page in intended application, pictures include Target Photo;
S206, show the Target Photo navigated to.
Alternatively, in the present embodiment, above-mentioned text data display methods can be, but not limited to be applied to continuous show In the target pages for showing the page data of long length, for example, electronic reading application, browser application, news application, copy editor Using etc..Above-mentioned is only a kind of example, and any restriction is not done to this in the present embodiment.
It should be noted that in the present embodiment, obtaining after data display request, matched using with the intended application Picture database, the Target Photo matched with above-mentioned target pages is navigated to according to the page iden-tity of above-mentioned target pages, its In, comprising the page text data included in target pages in above-mentioned Target Photo, above-mentioned picture database is used to store root The pictures obtained according to the conversion of page in above-mentioned intended application, the pictures include Target Photo;Then, above-mentioned mesh is shown Page data in the above-mentioned target pages marked on a map included by piece.That is, by the way that target pages to display are changed For Target Photo, store in the picture database matched with intended application, in order to according to the page iden-tity of target pages from Positioning obtains Target Photo to be shown in Target Photo database, without traveling through again in each page in intended application Text data, to reduce location determination number, shorten positioning duration, so as to realize the location efficiency for improving positioning Target Photo, And then improve the effect of the display efficiency of the page data included in display target picture.
The picture database established according to aforesaid operations historical data will be provided with more complete page data, and can be with Improve the reliability of data.
Alternatively, in the present embodiment, in the picture database matched with intended application, according to the page of target pages Mark location can include but is not limited to a kind of following situation to the Target Photo matched with target pages:
1) in the case where target pages is non-displays first, oriented in the pictures of picture database and page mark Target Photo corresponding to knowledge;
2) in the case where target pages is show first, the target pages after typesetting are converted into Target Photo;It will turn Picture database, and the Target Photo corresponding with page iden-tity obtained as positioning are arrived in the Target Photo storage got in return.
That is, in the present embodiment, whether what can be shown according to target pages in intended application is aobvious Show record to determine whether to orient corresponding Target Photo from picture database.Wherein, in the present embodiment, can be with But it is not limited to determine the picture number of pictures in picture database according to the display progress of target pages.
For example, so that electronic reading is applied as an example, text to display is e-book A, including page 100, Page 40 currently have been shown to, then storage picture corresponding with first page 40 of the page can be not limited in picture database.When again When opening e-book A, it can be determined that whether shown before current page S to display, can if having shown Picture S ' corresponding to current page S to display is oriented from above-mentioned picture corresponding with first page 40 of the page;If do not show Showed, then can first typesetting current page S to display, the picture S ' corresponding to generation, by picture S ' storages to picture number While according to storehouse, the above-mentioned picture S of display is rendered in the client of intended application.
Alternatively, in the present embodiment, above-mentioned page iden-tity can be, but not limited to obtain by following two scenes:
1) startup for starting intended application is obtained to ask, wherein, start in request and carry page iden-tity;
It should be noted that in the present embodiment, after intended application starts, intended application can be, but not limited to basis and open Whether page iden-tity is carried in dynamic request, it is corresponding with above-mentioned page iden-tity to determine the need for orienting from picture database Target Photo.In the case of being restarted after intended application is to exit, then it can orient corresponding to above-mentioned page iden-tity Target Photo, without carrying out typesetting again to exiting before the intended application page shown again, so as to reduce display Market is waited, reaches the effect for the display efficiency for improving page data.
2) tag location request is obtained, wherein, tag location request carries label information, and label information includes and label Page iden-tity of the mark with incidence relation, tag identifier is used to identify to be labeled in the Target Photo that page iden-tity is identified Page text data coordinate position.
It should be noted that in the present embodiment, can with but be not limited to pre-establish tag identifier and page iden-tity it Between incidence relation, the two is turned into association identification.For example, after tag location request is got, from tag location request The tag identifier carried in label information is obtained, the page mark for the target pages to be redirected display is obtained according to the tag identifier Know, the Target Photo that will be shown in intended application is oriented from picture database using the page iden-tity so as to realize.
Alternatively, in the present embodiment, above-mentioned picture database can be, but not limited to according to the account using intended application The operation history data of performed operation determines in intended application.Wherein, aforesaid operations historical data can be included but not It is limited at least one of:1) period of page text data is shown using intended application;2) established in intended application Label label information.
As an alternative embodiment, in occupation mode 1) determine picture database in the case of, above-mentioned picture number According to Target Photo to be shown can be included but is not limited in storehouse, and for obtaining the picture indices of the Target Photo, wherein, should Picture indices comprise at least the page iden-tity of target pages corresponding with Target Photo.
That is, determine picture database using the display record that page text data are shown in intended application Picture indices.For example, after the page text data during intended application asks shows target pages P1 first, intended application Backstage responds the request, will obtain above-mentioned page text data, and carries out typesetting conversion to it, obtains corresponding Target Photo Q1, and stored using Target Photo Q1 and as the target pages P1 of picture indices page iden-tity into picture database.It is false Be located at intended application client render and shown Target Photo Q1 after, exited intended application, then entered in restarting During intended application, can be positioned according to above-mentioned picture indices in picture database obtain it is corresponding with target pages P1 page iden-tity Target Photo Q1.
As another optional embodiment, in occupation mode 1) determine picture database in the case of, above-mentioned picture Target Photo to be shown can be included but is not limited in database, and for obtaining the picture indices of the Target Photo, wherein, The picture indices include:The page iden-tity of target pages corresponding with Target Photo and for identify in Target Photo be labeled Page text data coordinate position tag identifier.
That is, the picture indices of picture database are determined using the label established in intended application.For example, After intended application request establishes label to the page text data in target pages P1, the backstage response of intended application should ask Ask, label information corresponding to acquisition, wherein label information include:Tag identifier, and there is with tag identifier the page of incidence relation Face identifies, and by tag identifier, and described in tag identifier having the page iden-tity of incidence relation as picture indices storage and arriving In picture database.Assuming that the client in intended application obtains tag location request, after being analyzed and acquired by above-mentioned label information, It can then be positioned according to above-mentioned picture indices in picture database and obtain target figure corresponding with target pages P1 page iden-tity Piece Q1, and specifically position to obtain the page text data being labeled in Target Photo Q1 using the coordinate position of tag identifier.
Alternatively, in the present embodiment, a page iden-tity can be, but not limited to have with one or more tag identifiers The incidence relation.That is, a picture in picture database can be, but not limited to carry out using multiple tag identifiers Tag location.Wherein, above-mentioned different tag identifier can be, but not limited to for identifying the different coordinate positions in the picture. So as to realize after Target Photo corresponding with the page iden-tity associated by tag identifier is oriented, further according to the seat of tag identifier Cursor position orients the page text data being labeled in Target Photo.So as to realize one is oriented using different tag identifiers Page text data in individual picture on diverse location, without repeating to set multiple label informations, simplify positioning step to realize Rapid effect.
Alternatively, in the present embodiment, can be, but not limited to by thread corresponding with text where target pages Pond carries out thread poll.That is, in the case where file where target pages completes display, then corresponding thread can be closed Pond, to reach the quantity for reducing poll thread, shorten poll time, and then realize the effect for improving polling efficiency.Wherein, it is above-mentioned Thread in thread pool is used to monitor whether to need in real time immediately to perform file where the current goal page typesetting operation, with reality Now shorten the typesetting response time, improve the effect of display efficiency.
Specifically illustrated with reference to shown in Fig. 3, such as step S302-S310, intended application is obtaining the page of target pages After mark, judge whether the target pages are to show first, and in the case where judging to show first, the target pages are entered Row typesetting, and be converted to Target Photo.Wherein, the thread that the step is improved in thread pool is completed by monitoring.Then, will be above-mentioned Target Photo after conversion is stored into the picture database matched with intended application, and it is above-mentioned to render in intended application display Target Photo.In addition, judge for it is non-first in the case of, then corresponding page object can be oriented from picture database Face, and the above-mentioned Target Photo of display is being rendered in intended application.
The embodiment provided by the application, by the way that target pages to display are converted into Target Photo, storage is arrived In the picture database matched with intended application, in order to be determined according to the page iden-tity of target pages from Target Photo database Position obtains Target Photo to be shown, fixed to reduce without traveling through the text data in each page in intended application again Position judges number, shortens positioning duration, so as to realize the location efficiency for improving positioning Target Photo, and then improves and shows mesh The effect of the display efficiency for the page data marked on a map included in piece.
As a kind of optional scheme, in the picture database matched with intended application, according to the page of target pages Mark location includes to the Target Photo matched with target pages:
S1, in the case where the target pages that page iden-tity is identified is non-displays first, in the picture of picture database Positioning is concentrated to obtain Target Photo corresponding with page iden-tity;
S2, in the case where the target pages that page iden-tity is identified is show first, the target pages after typesetting are turned It is changed to Target Photo;Picture database arrive into the Target Photo being converted to storage, and as positioning obtain and page iden-tity Corresponding Target Photo.
Specifically illustrated so that intended application is electronic reading application as an example.For example, in the case of non-display first, such as Shown in Fig. 4, being run in terminal 402 has the electronic reading application, it is assumed that currently to display is the mesh that page iden-tity is 001 The page is marked, then the mesh that can be matched by the target pages identified to the acquisition request of picture database 404 and page iden-tity 001 Mark on a map piece.Wherein, multiple Target Photos shown are stored with picture database 404, such as picture 406-1, picture 406-2 Etc..
For example, when judge target pages that page iden-tity 001 is identified for it is non-show first in the case of, it is assumed that page The target pages that are identified of face mark 001 match for Target Photo 406-1, then can be as shown in figure 4, positioning obtain target figure Piece 406-1, and the display interface of the client in intended application is shown.
, then can be with another example when in the case where judging target pages that page iden-tity 001 is identified to show first As shown in figure 5, the page text data obtained in target pages carry out typesetting, and target pages are converted into corresponding target figure Piece 406-1, then, stored as the page iden-tity 001 of picture indices and Target Photo 406-1 to picture database 404.
The embodiment provided by the application, by using the picture database matched with intended application, according to page mark Know the Target Photo for navigating to and being matched with target pages, target pages different corresponding to different page iden-tities can be carried out fast The display of speed, to improve Consumer's Experience.
As a kind of optional scheme, before the target pages after by typesetting are converted to Target Photo, in addition to:
S1, thread poll is carried out using thread pool corresponding with text where target pages, wherein, in target pages In the case that place text completes display, thread pool corresponding with text where target pages is closed;In page object In the case that text does not complete display where face, target pages to display are carried out by the thread that thread pool provides Typesetting.Specifically illustrated so that intended application is electronic reading application as an example, it is assumed that be correspondingly arranged one with the electronic reading application Individual thread pool, wherein, the equipment type and electronics of the terminal that the thread pool can be, but not limited to be applied according to operational objective are read The file size for reading the e-book in application determines to establish.
During display, each thread in thread pool can constantly carry out thread poll.Assuming that display books A is corresponding File a in target pages when, need to judge the target pages whether be in file a be shown last page, i.e., by sentencing It is disconnected to determine whether this document a completes to show, after the completion of file a all display, then thread corresponding with this document a can be closed, So as to reduce the quantity of thread poll, to reach the processing load for reducing terminal, raising passes through Target Photo shows target pages In page data display efficiency.
In addition, in the case where file a does not complete display, thread corresponding with above-mentioned file a can monitor always, to judge Whether need to carry out typesetting to the page in file a immediately.For example, received detecting for indicating to carry out target pages After the operational order of typesetting, then it can be controlled by the thread and typesetting is carried out to target pages, for example, typesetting pattern is determined, and will Target pages after above-mentioned typesetting are converted to corresponding Target Photo, to store into picture database, while in electronic reading Rendered in and show the Target Photo.
It should be noted that file completes display where above-mentioned target pages, can be, but not limited to be not necessarily referring to target pages For the last page of file, and refer to whether all pages in this document are shown.
The embodiment provided by the application, thread poll is carried out by thread pool corresponding with intended application, to determine Whether file where target pages is completed to show, carries out quantity control to the thread run so as to realize, answered with mitigating target With the processing load of place terminal;Further, it is also possible to the real-time monitoring to target pages typesetting is realized, to ensure the real-time of typesetting Property and display efficiency.
As a kind of optional scheme, the target figure matched with target pages is navigated to according to the page iden-tity of target pages Before piece, in addition to:
S1, it will be stored for the picture indices and Target Photo that obtain Target Photo into picture database, wherein, picture The page iden-tity of target pages corresponding with Target Photo is comprised at least in index.
Specifically illustrated so that intended application is electronic reading application as an example.As shown in fig. 6, each target pages is corresponding One page iden-tity, where it is assumed that Current electronic reads the page that application is shown in the target pages that page iden-tity 001 is identified Face text data, then can be after complete typesetting conversion operation, using page iden-tity 001 as being matched with the target pages identified Target Photo 406-1 picture indices, then by the picture indices (such as page iden-tity 001) and target figure for obtaining Target Photo Piece 406-1 is stored into picture database 404 according to preset mapping relation;Assuming that Current electronic, which reads application, is shown to page mark Know the page text data in 002 target pages identified, then can be after typesetting conversion operation be completed, by page iden-tity 002 As the Target Photo 406-2 matched with the target pages identified picture indices, then by the figure for obtaining Target Photo Piece indexes (such as page iden-tity 002) and Target Photo 406-2 and stored according to preset mapping relation into picture database 404;With This analogizes.
The embodiment provided by the application, by will be stored for the picture indices and Target Photo that obtain Target Photo Into picture database, wherein, the page iden-tity of target pages corresponding with Target Photo is comprised at least in picture indices, is realized Any moment can quick display target picture, to improve Consumer's Experience.
As a kind of optional scheme, picture will be arrived for the picture indices and Target Photo storage that obtain Target Photo When in database, in addition to:
S1, in the case of establishing label in Target Photo, the tag identifier of established label is obtained, wherein, label For marking the page text data in Target Photo, tag identifier is used to identify the page text being labeled in Target Photo The coordinate position of data;
S2, the incidence relation established between tag identifier and page iden-tity corresponding with Target Photo, and by tag identifier Stored with page iden-tity as picture indices into picture database.
Specifically illustrated so that intended application is electronic reading application as an example, as shown in Figure 7, it is assumed that built vertical two marks Label, wherein label I label information include:Page iden-tity 001, and tag identifier (12,23), wherein tag identifier (12,23) For the coordinate position for the page text data being labeled in Target Photo.Label II label information includes:Page iden-tity 002, And tag identifier (22,23), wherein tag identifier (22,23) is the coordinate bit for the page text data being labeled in Target Photo Put.Above-mentioned label information and corresponding Target Photo are stored to picture database 404.Wherein it is possible to but it is not limited to label The page iden-tity with incidence relation is indexed with picture of the tag identifier as corresponding Target Photo in information.
Alternatively, in the present embodiment, a page iden-tity, which can be, but not limited to have with multiple tag identifiers, associates pass System.By the embodiment of the present application, in the case of establishing label in Target Photo, the tag identifier of established label is obtained, The incidence relation established between tag identifier and page iden-tity corresponding with Target Photo, and tag identifier and page iden-tity are made It is that picture indices are stored into picture database.Target Photo can be quickly located using tag identifier by realizing, and be shown The Target Photo, the process that typesetting again is carried out to word is eliminated, positioning time is saved, improves display efficiency.
As a kind of optional scheme, obtaining data display request includes:
S1, obtain the startup for starting intended application and ask;After data display request is obtained, in addition to:Parsing The entrained last time exits the page iden-tity of the page shown during intended application in startup request.
Specifically illustrated so that intended application is electronic reading application as an example, as shown in figure 8, optionally implementing as a kind of Mode, electronic reading application get startup request after, parsing start request, obtain start request included in upper one The target pages that the secondary shown page last when exiting intended application is identified by page iden-tity 001, then, pass through picture number Page iden-tity 001 is utilized according to storehouse 404, navigates to the Target Photo 406-1 to match, and show Target Photo 406-1.
The embodiment provided by the application, after data display request is obtained, parsing starts entrained by request Last time exits the page iden-tity of the page shown during intended application, after realizing that receiving startup asks, with what is be exceedingly fast Speed obtains Target Photo, eliminates the process for carrying out typesetting to word again, improves display efficiency.
As a kind of optional scheme, obtaining data display request includes:
S1, obtain page jump request;After data display request is obtained, in addition to:Parse page jump request institute The page iden-tity of carrying.
Continuation illustrates by taking Fig. 8 as an example:Configuration picture redirects catalogue in electronic reading application, for example, on display circle Right side of face insert pictures redirect catalogue, and wherein the picture, which redirects catalogue, includes picture indices list, i.e. page iden-tity list. Get after performing the jump request that clicking operation is generated to the page iden-tity 002 in page iden-tity list, parse the jump Turn request, obtain the page iden-tity 002 included in jump request, then, page iden-tity 002 is utilized by picture database 404, The Target Photo 406-2 to match is navigated to, and shows Target Photo 406-2.
The embodiment provided by the application, after data display request is obtained, entrained by parsing page jump request Page iden-tity, after realizing and receiving jump request, obtain Target Photo at a terrific speed, eliminate again to word The process of typesetting is carried out, improves display efficiency.
As a kind of optional scheme, obtaining data display request includes:
S1, obtain tag location request;After data display request is obtained, in addition to:Parse in tag location request Entrained label information, label information include the page iden-tity for having incidence relation with tag identifier, and tag identifier is used for Identify the coordinate position for the page text data being labeled in the Target Photo that page iden-tity is identified.
Continuation illustrates by taking Fig. 8 as an example:After electronic reading application gets tag location request, parsing label is determined Position, the label information included in tag location request is obtained, including page iden-tity 003 and tag identifier (12,23).So Afterwards, the Target Photo 406- to match is navigated to by the use of the above-mentioned label information as picture indices by picture database 404 3, and show Target Photo 406-3.
The embodiment provided by the application, after data display request is obtained, taken in parsing tag location request The label information of band, after realizing that receiving tag location asks, Target Photo is obtained at a terrific speed, is eliminated again The process of typesetting is carried out to word, improves display efficiency.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) method that performs each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of text data for being used to implement above-mentioned text data display methods is additionally provided to show Showing device, as shown in figure 9, the device includes:
1) first acquisition unit 902, for obtaining data display request, wherein, data display request is used to ask to show Page text data included in the target pages of intended application;
2) positioning unit 904, in the picture database matched with intended application, according to the page mark of target pages Know the Target Photo for navigating to and being matched with target pages, wherein, the page text included in target pages is included in Target Photo Notebook data, picture database are used to store the pictures that the conversion of page in intended application obtains, and pictures include mesh Mark on a map piece;
3) display unit 906, for showing the Target Photo navigated to.
Alternatively, in the present embodiment, above-mentioned data presentation device can be, but not limited to be applied to continuously display length In the target pages of the page data of length, for example, electronic reading application, browser application, copy editor's application etc..It is above-mentioned Only it is a kind of example, any restriction is not done to this in the present embodiment.
It should be noted that in the present embodiment, obtaining after data display request, matched using with the intended application Picture database, the Target Photo matched with above-mentioned target pages is navigated to according to the page iden-tity of above-mentioned target pages, its In, comprising the page text data included in target pages in above-mentioned Target Photo, above-mentioned picture database is used to store root The pictures obtained according to the conversion of page in above-mentioned intended application, the pictures include Target Photo;Then, above-mentioned mesh is shown Page data in the above-mentioned target pages marked on a map included by piece.That is, by the way that target pages to display are changed For Target Photo, store in the picture database matched with intended application, in order to according to the page iden-tity of target pages from Positioning obtains Target Photo to be shown in Target Photo database, without traveling through again in each page in intended application Text data, to reduce location determination number, shorten positioning duration, so as to realize the location efficiency for improving positioning Target Photo, And then improve the effect of the display efficiency of the page data included in display target picture.
The picture database established according to aforesaid operations historical data will be provided with more complete page data, and can be with Improve the reliability of data.
Alternatively, in the present embodiment, above-mentioned picture database can be, but not limited to according to the account using intended application The operation history data of operation is performed in intended application to determine to establish.Wherein, aforesaid operations historical data can include but It is not limited at least one of:Believed using the period of intended application reading page data, the label added in intended application Breath.The picture database established according to aforesaid operations historical data will be provided with more complete page data, and can improve The reliability of data.
Alternatively, in the present embodiment, in the picture database matched with intended application, according to the page of target pages Mark location can include but is not limited to a kind of following situation to the Target Photo matched with target pages:
1) in the case where target pages is non-displays first, oriented in the pictures of picture database and page mark Target Photo corresponding to knowledge;
2) in the case where target pages is show first, the target pages after typesetting are converted into Target Photo;It will turn Picture database, and the Target Photo corresponding with page iden-tity obtained as positioning are arrived in the Target Photo storage got in return.
That is, in the present embodiment, whether what can be shown according to target pages in intended application is aobvious Show record to determine whether to orient corresponding Target Photo from picture database.Wherein, in the present embodiment, can be with But it is not limited to determine the picture number of pictures in picture database according to the display progress of target pages.
For example, so that electronic reading is applied as an example, text to display is e-book A, including page 100, Page 40 currently have been shown to, then storage picture corresponding with first page 40 of the page can be not limited in picture database.When again When opening e-book A, it can be determined that whether shown before current page S to display, can if having shown Picture S ' corresponding to current page S to display is oriented from above-mentioned picture corresponding with first page 40 of the page;If do not show Showed, then can first typesetting current page S to display, the picture S ' corresponding to generation, by picture S ' storages to picture number While according to storehouse, the above-mentioned picture S ' of display is rendered in the client of intended application.
Alternatively, in the present embodiment, above-mentioned page iden-tity can be, but not limited to obtain by following two scenes:
1) startup for starting intended application is obtained to ask, wherein, start in request and carry page iden-tity;
It should be noted that in the present embodiment, after intended application starts, intended application can be, but not limited to basis and open Whether page iden-tity is carried in dynamic request, it is corresponding with above-mentioned page iden-tity to determine the need for orienting from picture database Target Photo.In the case of being restarted after intended application is to exit, then it can orient corresponding to above-mentioned page iden-tity Target Photo, without carrying out typesetting again to exiting before the intended application page shown again, so as to reduce display Market is waited, reaches the effect for the display efficiency for improving page data.
2) tag location request is obtained, wherein, tag location request carries label information, and label information includes and label Page iden-tity of the mark with incidence relation, tag identifier is used to identify to be labeled in the Target Photo that page iden-tity is identified Page text data coordinate position.
It should be noted that in the present embodiment, can with but be not limited to pre-establish tag identifier and page iden-tity it Between incidence relation, the two is turned into association identification.For example, after tag location request is got, from tag location request The tag identifier carried in label information is obtained, the page mark for the target pages to be redirected display is obtained according to the tag identifier Know, the Target Photo that will be shown in intended application is oriented from picture database using the page iden-tity so as to realize. Alternatively, in the present embodiment, above-mentioned picture database can be, but not limited to be answered in target according to the account using intended application The operation history data of performed operation determines in.Wherein, aforesaid operations historical data can include but is not limited to following At least one:1) period of page text data is shown using intended application;2) label established in intended application Label information.
As an alternative embodiment, in occupation mode 1) determine picture database in the case of, above-mentioned picture number According to Target Photo to be shown can be included but is not limited in storehouse, and for obtaining the picture indices of the Target Photo, wherein, should Picture indices comprise at least the page iden-tity of target pages corresponding with Target Photo.
That is, determine picture database using the display record that page text data are shown in intended application Picture indices.For example, after the page text data during intended application asks shows target pages P1 first, intended application Backstage responds the request, will obtain above-mentioned page text data, and carries out typesetting conversion to it, obtains corresponding Target Photo Q1, and stored using Target Photo Q1 and as the target pages P1 of picture indices page iden-tity into picture database.It is false Be located at intended application client render and shown Target Photo Q1 after, exited intended application, then entered in restarting During intended application, can be positioned according to above-mentioned picture indices in picture database obtain it is corresponding with target pages P1 page iden-tity Target Photo Q1.
As another optional embodiment, in occupation mode 1) determine picture database in the case of, above-mentioned picture Target Photo to be shown can be included but is not limited in database, and for obtaining the picture indices of the Target Photo, wherein, The picture indices include:The page iden-tity of target pages corresponding with Target Photo and for identify in Target Photo be labeled Page text data coordinate position tag identifier.
That is, the picture indices of picture database are determined using the label established in intended application.For example, After intended application request establishes label to the page text data in target pages P1, the backstage response of intended application should ask Ask, label information corresponding to acquisition, wherein label information include:Tag identifier, and there is with tag identifier the page of incidence relation Face identifies, and by tag identifier, and is stored with page iden-tity that tag identifier has incidence relation as picture indices and arrives picture In database.Assuming that the client in intended application obtains tag location request, after being analyzed and acquired by above-mentioned label information, then may be used Positioned according to above-mentioned picture indices in picture database and obtain Target Photo Q1 corresponding with target pages P1 page iden-tity, And specifically position to obtain the page text data being labeled in Target Photo Q1 using the coordinate position of tag identifier.
Alternatively, in the present embodiment, a page iden-tity can be, but not limited to have with one or more tag identifiers Incidence relation.That is, a picture in picture database can be, but not limited to enter row label using multiple tag identifiers Positioning.Wherein, above-mentioned different tag identifier can be, but not limited to for identifying the different coordinate positions in the picture.So as to Realize after Target Photo corresponding with the page iden-tity associated by tag identifier is oriented, further according to the coordinate bit of tag identifier Put the page text data oriented and be labeled in Target Photo.So as to realize a figure is oriented using different tag identifiers Page text data in piece on diverse location, without repeating to set multiple label informations, simplify positioning step to realize Effect.
Alternatively, in the present embodiment, can be, but not limited to by thread corresponding with text where target pages Pond carries out thread poll.That is, in the case where file where target pages completes display, then corresponding thread can be closed Pond, to reach the quantity for reducing poll thread, shorten poll time, and then realize the effect for improving polling efficiency.Wherein, it is above-mentioned Thread in thread pool is used to monitor whether to need in real time immediately to perform file where the current goal page typesetting operation, with reality Now shorten the typesetting response time, improve the effect of display efficiency.Specifically illustrated with reference to shown in Fig. 3, such as step S302- S310, intended application judge whether the target pages are to show first, are being judged after the page iden-tity of target pages is obtained In the case of showing first, typesetting is carried out to the target pages, and be converted to Target Photo.Wherein, the step improves thread Thread in pond is completed by monitoring.Then, by the Target Photo storage after above-mentioned conversion to the picture matched with intended application In database, and the above-mentioned Target Photo of display is rendered in intended application.In addition, judge for it is non-first in the case of, then Corresponding target pages can be oriented from picture database, and the above-mentioned Target Photo of display is being rendered in intended application.
The embodiment provided by the application, by the way that target pages to display are converted into Target Photo, storage is arrived In the picture database matched with intended application, in order to be determined according to the page iden-tity of target pages from Target Photo database Position obtains Target Photo to be shown, fixed to reduce without traveling through the text data in each page in intended application again Position judges number, shortens positioning duration, so as to realize the location efficiency for improving positioning Target Photo, and then improves and shows mesh The effect of the display efficiency for the page data marked on a map included in piece.As a kind of optional scheme, as shown in Figure 10, positioning is single Member 904 includes:
1) the first locating module 1002, the target pages for being identified in page iden-tity are non-situation about showing first Under, positioned in the pictures of picture database and obtain Target Photo corresponding with page iden-tity;
2) the second locating module 1004, in the case that the target pages for being identified in page iden-tity are display first, Target pages after typesetting are converted into Target Photo;Picture database, and conduct are arrived into the Target Photo being converted to storage Position obtained Target Photo corresponding with page iden-tity.
Specifically illustrated so that intended application is electronic reading application as an example.For example, in the case of non-display first, such as Shown in Fig. 4, being run in terminal 402 has the electronic reading application, it is assumed that currently to display is the mesh that page iden-tity is 001 The page is marked, then the mesh that can be matched by the target pages identified to the acquisition request of picture database 404 and page iden-tity 001 Mark on a map piece.Wherein, multiple Target Photos shown are stored with picture database 404, such as picture 406-1, picture 406-2 Etc..
For example, when judge target pages that page iden-tity 001 is identified for it is non-show first in the case of, it is assumed that page The target pages that are identified of face mark 001 match for Target Photo 406-1, then can be as shown in figure 4, positioning obtain target figure Piece 406-1, and the display interface of the client in intended application is shown.
, then can be with another example when in the case where judging target pages that page iden-tity 001 is identified to show first As shown in figure 5, the page text data obtained in target pages carry out typesetting, and target pages are converted into corresponding target figure Piece 406-1, then, stored as the page iden-tity 001 of picture indices and Target Photo 406-1 to picture database 404.
Alternatively, in the present embodiment, the second locating module also includes:Processing module, for the target after by typesetting Before conversion of page is Target Photo, thread poll is carried out using thread pool corresponding with text where target pages, its In, in the case where text where target pages completes display, close line corresponding with text where target pages Cheng Chi;In the case where text where target pages does not complete display, the thread provided by thread pool is to be shown Target pages carry out typesetting.
Specifically illustrated so that intended application is electronic reading application as an example, it is assumed that be correspondingly arranged with the electronic reading application One thread pool, wherein, the thread pool can be, but not limited to the equipment type and electronics for the terminal applied according to operational objective The file size for reading the e-book in application determines to establish.
During display, each thread in thread pool can constantly carry out thread poll.Assuming that display books A is corresponding File a in target pages when, need to judge the target pages whether be in file a be shown last page, i.e., by sentencing It is disconnected to determine whether this document a completes to show, after the completion of file a all display, then thread corresponding with this document a can be closed, So as to reduce the quantity of thread poll, to reach the processing load for reducing terminal, raising passes through Target Photo shows target pages In page data display efficiency.
In addition, in the case where file a does not complete display, thread corresponding with above-mentioned file a can monitor always, to judge Whether need to carry out typesetting to the page in file a immediately.For example, received detecting for indicating to carry out target pages After the operational order of typesetting, then it can be controlled by the thread and typesetting is carried out to target pages, for example, typesetting pattern is determined, and will Target pages after above-mentioned typesetting are converted to corresponding Target Photo, to store into picture database, while in electronic reading Rendered in and show the Target Photo.
It should be noted that file completes display where above-mentioned target pages, can be, but not limited to be not necessarily referring to target pages For the last page of file, and refer to whether all pages in this document are shown.
The embodiment provided by the application, thread poll is carried out by thread pool corresponding with intended application, to determine Whether file where target pages is completed to show, carries out quantity control to the thread run so as to realize, answered with mitigating target With the processing load of place terminal;Further, it is also possible to the real-time monitoring to target pages typesetting is realized, to ensure the real-time of typesetting Property and display efficiency.
In addition, the embodiment provided by the application, by using the picture database matched with intended application, according to page Face mark location can enter target pages different corresponding to different page iden-tities to the Target Photo matched with target pages Row quickly display, to improve Consumer's Experience.
As a kind of optional scheme, the device also includes:
1) the first memory cell, for navigating to the target matched with target pages according to the page iden-tity of target pages Before picture, it will be stored for the picture indices and Target Photo that obtain Target Photo into picture database, wherein, picture rope Draw the page iden-tity including at least target pages corresponding with Target Photo.
Specifically illustrated so that intended application is electronic reading application as an example.As shown in fig. 6, each target pages is corresponding One page iden-tity, where it is assumed that Current electronic reads the page that application is shown in the target pages that page iden-tity 001 is identified Face text data, then can be after complete typesetting conversion operation, using page iden-tity 001 as being matched with the target pages identified Target Photo 406-1 picture indices, then by the picture indices (such as page iden-tity 001) and target figure for obtaining Target Photo Piece 406-1 is stored into picture database 404 according to preset mapping relation;Assuming that Current electronic, which reads application, is shown to page mark Know the page text data in 002 target pages identified, then can be after typesetting conversion operation be completed, by page iden-tity 002 As the Target Photo 406-2 matched with the target pages identified picture indices, then by the figure for obtaining Target Photo Piece indexes (such as page iden-tity 002) and Target Photo 406-2 and stored according to preset mapping relation into picture database 404;With This analogizes.
The embodiment provided by the application, by will be stored for the picture indices and Target Photo that obtain Target Photo Into picture database, wherein, the page iden-tity of target pages corresponding with Target Photo is comprised at least in picture indices, is realized Any moment can quick display target picture, to improve Consumer's Experience.
As a kind of optional scheme, the device also includes:
1) second acquisition unit, for picture will to be arrived for the picture indices and Target Photo storage that obtain Target Photo When in database, in the case of establishing label in Target Photo, the tag identifier of established label is obtained, wherein, label For marking the page text data in Target Photo, tag identifier is used to identify the page text being labeled in Target Photo The coordinate position of data;
2) unit is established, for establishing the incidence relation between tag identifier and page iden-tity corresponding with Target Photo;
3) the second memory cell, for tag identifier and page iden-tity to be arrived into picture database as picture indices storage In.
Specifically illustrated so that intended application is electronic reading application as an example, as shown in Figure 7, it is assumed that built vertical two marks Label, wherein label I label information include:Page iden-tity 001, and tag identifier (12,23), wherein tag identifier (12,23) For the coordinate position for the page text data being labeled in Target Photo.Label II label information includes:Page iden-tity 002, And tag identifier (22,23), wherein tag identifier (22,23) is the coordinate bit for the page text data being labeled in Target Photo Put.Above-mentioned label information and corresponding Target Photo are stored to picture database 404.Wherein it is possible to but it is not limited to label The page iden-tity with incidence relation is indexed with picture of the tag identifier as corresponding Target Photo in information.
Alternatively, in the present embodiment, a page iden-tity, which can be, but not limited to have with multiple tag identifiers, associates pass System.
By the embodiment of the present application, in the case of establishing label in Target Photo, the label of established label is obtained Mark, the incidence relation established between tag identifier and page iden-tity corresponding with Target Photo, and by tag identifier and the page Mark is as picture indices storage into picture database.Target Photo can be quickly located using tag identifier by realizing, And the Target Photo is shown, the process that typesetting again is carried out to word is eliminated, saves positioning time, improves display effect Rate.
As a kind of optional scheme,
First acquisition unit includes:First acquisition module, for obtaining the startup request for being used to start intended application;Device Also include:First resolution unit, for after data display request is obtained, the last time that parsing starts entrained by request to move back Go out the page iden-tity of the page shown during intended application;Or
First acquisition unit includes:Second acquisition module, for obtaining page jump request;Device also includes:Second solution Unit is analysed, for after data display request is obtained, parsing page jump to ask entrained page iden-tity;Or
First acquisition unit includes:3rd acquisition module, for obtaining tag location request;Device also includes:3rd solution Unit is analysed, for after data display request is obtained, parsing label information entrained in tag location request, label information Include the page iden-tity that there is incidence relation with tag identifier, tag identifier is used to identify the target identified in page iden-tity The coordinate position for the page text data being labeled in picture.
Specifically illustrated so that intended application is electronic reading application as an example, as shown in figure 8, optionally implementing as a kind of Mode, electronic reading application get startup request after, parsing start request, obtain start request included in upper one The target pages that the secondary shown page last when exiting intended application is identified by page iden-tity 001, then, pass through picture number Page iden-tity 001 is utilized according to storehouse 404, navigates to the Target Photo 406-1 to match, and show Target Photo 406-1.
As another optional embodiment, configuration picture redirects catalogue in electronic reading application, for example, showing Insert pictures redirect catalogue on the right side of interface, and wherein the picture, which redirects catalogue, includes picture indices list, i.e. page iden-tity list. After the jump request generated to the execution of page iden-tity 002 clicking operation in page iden-tity list is got, parsing should Jump request, the page iden-tity 002 included in jump request is obtained, then, page iden-tity is utilized by picture database 404 002, the Target Photo 406-2 to match is navigated to, and show Target Photo 406-2.
As another optional embodiment, after electronic reading application gets tag location request, label is parsed Positioning, the label information included in tag location request is obtained, including page iden-tity 003 and tag identifier (12,23).So Afterwards, the Target Photo 406- to match is navigated to by the use of the above-mentioned label information as picture indices by picture database 404 3, and show Target Photo 406-3.
The embodiment provided by the application, after data display request is obtained, the information each got is parsed, from And after realizing that receiving startup asks either jump request or tag location request, Target Photo is obtained at a terrific speed, The process for carrying out typesetting to word again is eliminated, improves display efficiency.
Embodiment 3
According to embodiments of the present invention, a kind of electronic installation for being used to implement above-mentioned text data display methods is additionally provided, As shown in figure 11, the electronic installation includes:One or more (one is only shown in figure) processors 1101, memory 1103, show Show device 1105, user interface 1107, coupler 1109 and multiple interfaces 1111, such as IEEE802.11 network interfaces, IEEE802.16 network interfaces and 3GPP interfaces, or remove other interfaces beyond above-mentioned interface.
Wherein, memory 1103 can be used for storage software program and module, such as the text data in the embodiment of the present invention Programmed instruction/module corresponding to display methods and device, processor 1101 are stored in the software in memory 1103 by operation Program and module, so as to perform various function application and data processing, that is, realize above-mentioned text data display methods.Deposit Reservoir 1103 may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage Device, flash memory or other non-volatile solid state memories.In some instances, memory 1103 can further comprise relatively In the remotely located memory of processor 1101, these remote memories can pass through network connection to terminal.Above-mentioned network Example includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
It will appreciated by the skilled person that the structure shown in Figure 11 is only to illustrate, electronic installation can also be intelligence Can mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, applause computer and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Figure 11 it does not cause to limit to the structure of above-mentioned electronic installation.Example Such as, electronic installation 11 may also include than shown in Figure 11 more either less components or with different from shown in Figure 11 Configuration.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come command terminal device-dependent hardware, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can With at least one network equipment in multiple network equipments in network.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
S1, data display request is obtained, wherein, data display request is used to ask the target pages for being shown in intended application Included in page text data;
S2, in the picture database matched with intended application, navigated to according to the page iden-tity of target pages and target The Target Photo of page matching, wherein, the page text data included in target pages, image data are included in Target Photo Storehouse is used to store the pictures that the conversion of page in intended application obtains, and pictures include Target Photo;
S3, show the Target Photo navigated to.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Based on such understanding, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are causing one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment side of the present invention The all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, can be by others side Formula is realized.Wherein, device embodiment described above is only schematical, such as the division of unit, and only one kind is patrolled The division of volume function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can be with Another system is integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed mutual Coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of unit or module, can By be it is electrical or other in the form of.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
It the above is only the preferred embodiment of the present invention, it is noted that come for those skilled in the art Say, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (17)

  1. A kind of 1. text data display methods, it is characterised in that including:
    Data display request is obtained, wherein, the data display request is used to ask to be shown in the target pages of intended application Comprising page text data;
    In the picture database matched with the intended application, according to the page iden-tity of the target pages navigate to it is described The Target Photo of target pages matching, wherein, the page included in the target pages is included in the Target Photo Text data, the picture database is used to store the pictures that the conversion of page in the intended application obtains, described Pictures include the Target Photo;
    Show the Target Photo navigated to.
  2. 2. according to the method for claim 1, it is characterised in that described in the picture database matched with the intended application In, the Target Photo matched with the target pages is navigated to according to the page iden-tity of the target pages to be included:
    In the case where the target pages that the page iden-tity is identified is non-displays first, the institute of the picture database State positioning in pictures and obtain the Target Photo corresponding with the page iden-tity;
    In the case where the target pages that the page iden-tity is identified is show first, by the page object after typesetting Face is converted to the Target Photo;The picture database is arrived into the Target Photo being converted to storage, and as positioning The obtained Target Photo corresponding with the page iden-tity.
  3. 3. according to the method for claim 2, it is characterised in that the target pages after by typesetting are converted to the mesh Mark on a map before piece, in addition to:
    Thread poll is carried out using thread pool corresponding with text where the target pages, wherein, in the page object In the case that text completes display where face, thread pool corresponding with text where the target pages is closed; In the case that text does not complete display where the target pages, the thread provided by the thread pool is to be shown The target pages carry out typesetting.
  4. 4. according to the method for claim 1, it is characterised in that positioned described according to the page iden-tity of the target pages To before the Target Photo matched with the target pages, in addition to:
    It will be stored for the picture indices and the Target Photo that obtain the Target Photo into the picture database, its In, including at least the page iden-tity of the target pages corresponding with the Target Photo in the picture indices.
  5. 5. according to the method for claim 4, it is characterised in that in the picture rope by for obtaining the Target Photo Draw and the Target Photo storage into the picture database when, in addition to:
    In the case of establishing label in the Target Photo, the tag identifier for the label established is obtained, wherein, it is described Label is used to mark the page text data in the Target Photo, and the tag identifier is used to identify in the Target Photo The coordinate position of labeled page text data;
    The incidence relation established between the tag identifier and the page iden-tity corresponding with the Target Photo, and by described in Tag identifier is stored into the picture database with the page iden-tity as the picture indices.
  6. 6. according to the method for claim 1, it is characterised in that
    The acquisition data display request includes:The startup for starting the intended application is obtained to ask;In the acquisition number After being asked according to display, in addition to:Parse and described start the last time entrained in request and show when exiting the intended application The page iden-tity of the page shown.
  7. 7. according to the method for claim 1, it is characterised in that
    The acquisition data display request includes:Obtain page jump request;After the acquisition data display request, also wrap Include:Parse the entrained page iden-tity of the page jump request;Or the acquisition data display request includes:Obtain label Location Request.
  8. 8. according to the method for claim 1, it is characterised in that
    After the acquisition data display request, in addition to:Label information entrained in tag location request is parsed, it is described Label information includes the page iden-tity for having incidence relation with tag identifier, and the tag identifier is used to identify described The coordinate position for the page text data being labeled in the Target Photo that page iden-tity is identified.
  9. 9. according to the method any one of claim 5-8, it is characterised in that the page iden-tity is marked with one or more Label mark has the incidence relation.
  10. A kind of 10. text data display device, it is characterised in that including:
    First acquisition unit, for obtaining data display request, wherein, the data display request is shown in target for request Page text data included in the target pages of application;
    Positioning unit, in the picture database matched with the intended application, according to the page mark of the target pages Know the Target Photo for navigating to and being matched with the target pages, wherein, institute in the target pages is included in the Target Photo Comprising the page text data, the picture database, which is used to storing conversion of page in the intended application, to be obtained Pictures, the pictures include the Target Photo;
    Display unit, for showing the Target Photo navigated to.
  11. 11. device according to claim 10, it is characterised in that the positioning unit includes:
    First locating module, in the case that the target pages for being identified in the page iden-tity are non-display first, Positioning obtains the Target Photo corresponding with the page iden-tity in the pictures of the picture database;
    Second locating module, will in the case that the target pages for being identified in the page iden-tity are display first The target pages after typesetting are converted to the Target Photo;The picture is arrived into the Target Photo being converted to storage Database, and the Target Photo corresponding with the page iden-tity obtained as positioning.
  12. 12. device according to claim 11, it is characterised in that also include:
    Processing module, for before the target pages by after typesetting are converted to the Target Photo, using with institute Thread pool carries out thread poll corresponding to text where stating target pages, wherein, the text text where the target pages In the case that part completes display, thread pool corresponding with text where the target pages is closed;In the target pages In the case that place text does not complete display, by the thread that the thread pool provides to the page object to display Face carries out typesetting.
  13. 13. device according to claim 10, it is characterised in that also include:
    First memory cell, matched for being navigated in the page iden-tity according to the target pages with the target pages Target Photo before, will for obtain the Target Photo picture indices and the Target Photo storage arrive the picture number According in storehouse, wherein, the page iden-tities of the target pages corresponding with the Target Photo is comprised at least in the picture indices.
  14. 14. device according to claim 13, it is characterised in that also include:
    Second acquisition unit, for will be stored described for the picture indices and the Target Photo that obtain the Target Photo During into the picture database, in the case of establishing label in the Target Photo, the label established is obtained Tag identifier, wherein, the label is used to mark the page text data in the Target Photo, and the tag identifier is used to mark Know the coordinate position for the page text data being labeled in the Target Photo;
    Unit is established, for establishing the association between the tag identifier and the page iden-tity corresponding with the Target Photo Relation;
    Second memory cell, for the tag identifier and the page iden-tity to be arrived into the figure as picture indices storage In sheet data storehouse.
  15. 15. device according to claim 10, it is characterised in that
    The first acquisition unit includes:First acquisition module, for obtaining the startup request for being used to start the intended application; Described device also includes:First resolution unit, for after the acquisition data display request, parsing described start in request The entrained last time exits the page iden-tity of the page shown during the intended application;Or
    The first acquisition unit includes:Second acquisition module, for obtaining page jump request;Described device also includes:The Two resolution units, for after the acquisition data display request, parsing the entrained page mark of the page jump request Know;Or
    The first acquisition unit includes:3rd acquisition module, for obtaining tag location request;Described device also includes:The Three resolution units, for after the acquisition data display request, parsing label entrained in the tag location request Information, the label information include the page iden-tity for having incidence relation with tag identifier, and the tag identifier is used for Identify the coordinate position for the page text data being labeled in the Target Photo that the page iden-tity is identified.
  16. A kind of 16. storage medium, it is characterised in that the storage medium includes the program of storage, wherein, when described program is run Perform the method described in any one of claim 1 to 9.
  17. 17. a kind of electronic installation, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, it is characterised in that the processor performs the claim 1 to 9 times by the computer program Method described in one.
CN201710668583.9A 2017-08-07 2017-08-07 Text data display methods and device and storage medium and electronic device Active CN107562802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710668583.9A CN107562802B (en) 2017-08-07 2017-08-07 Text data display methods and device and storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710668583.9A CN107562802B (en) 2017-08-07 2017-08-07 Text data display methods and device and storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN107562802A true CN107562802A (en) 2018-01-09
CN107562802B CN107562802B (en) 2019-05-24

Family

ID=60975216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710668583.9A Active CN107562802B (en) 2017-08-07 2017-08-07 Text data display methods and device and storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN107562802B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1178354A (en) * 1996-08-13 1998-04-08 株式会社理光 Page editing method and document image processing system and data recording media
US20080033969A1 (en) * 2006-08-04 2008-02-07 Sing Chi Koo Electronic document management method and system
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
CN101751476A (en) * 2010-02-02 2010-06-23 汉王科技股份有限公司 Method and device for marking electronic bookmarks
CN101971171A (en) * 2008-02-19 2011-02-09 布克里克斯有限两合公司 Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
CN103678503A (en) * 2013-11-20 2014-03-26 武汉聚视欣联文化传媒技术有限公司 Method and device for providing target picture in video access
CN104573001A (en) * 2015-01-07 2015-04-29 北京联合大学 Mobile terminal-based webpage data acqusition and classification method
CN104636396A (en) * 2013-11-13 2015-05-20 阿里巴巴集团控股有限公司 Page positioning method and device
CN106294339A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 The method and device Loaded Image in application

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1178354A (en) * 1996-08-13 1998-04-08 株式会社理光 Page editing method and document image processing system and data recording media
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
US20080033969A1 (en) * 2006-08-04 2008-02-07 Sing Chi Koo Electronic document management method and system
CN101971171A (en) * 2008-02-19 2011-02-09 布克里克斯有限两合公司 Method and apparatus for the page-by-page provision of an electronic document as a computer graphic
CN101751476A (en) * 2010-02-02 2010-06-23 汉王科技股份有限公司 Method and device for marking electronic bookmarks
CN104636396A (en) * 2013-11-13 2015-05-20 阿里巴巴集团控股有限公司 Page positioning method and device
CN103678503A (en) * 2013-11-20 2014-03-26 武汉聚视欣联文化传媒技术有限公司 Method and device for providing target picture in video access
CN104573001A (en) * 2015-01-07 2015-04-29 北京联合大学 Mobile terminal-based webpage data acqusition and classification method
CN106294339A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 The method and device Loaded Image in application

Also Published As

Publication number Publication date
CN107562802B (en) 2019-05-24

Similar Documents

Publication Publication Date Title
CN108021320B (en) Electronic equipment and item searching method thereof
CN107027060A (en) The determination method and apparatus of video segment
CN107704167B (en) A kind of data sharing method, device and electronic equipment
CN104135520B (en) A kind of method and device for identifying android terminal
CN107633066A (en) Information display method and device, electronic equipment and storage medium
CN109218750B (en) Video content retrieval method, device, storage medium and terminal equipment
CN107071554B (en) Method for recognizing semantics and device
CN106657774A (en) Method and device for recording video
CN109194689B (en) Abnormal behavior recognition method, device, server and storage medium
CN109710863A (en) Information conversion method, device, computer equipment and storage medium
CN106250518A (en) Intelligence searches topic method and device
CN108846030A (en) Access method, system, electronic equipment and the storage medium of official website
CN110795180A (en) Two-dimensional code management method and system, electronic device and storage medium
CN107329791A (en) Method, device and the computer-readable recording medium of application are installed in scanning
CN108174270B (en) Data processing method, data processing device, storage medium and electronic equipment
CN104134033B (en) A kind of method and device for recognizing user equipment
CN105930487A (en) Topic search method and apparatus applied to mobile terminal
CN110895602B (en) Identity authentication method and device, electronic equipment and storage medium
CN108170785A (en) Bootstrap technique, device and the computer readable storage medium of terminal searching operation
CN109819002A (en) Data push method and device, storage medium and electronic device
CN104468635B (en) The user right step-up authentication method and system of the network platform
CN112905921B (en) Page content display method and device
CN110287460B (en) Electronic book display method, computing equipment and computer storage medium
CN107146098A (en) Advertisement operation configuration method and equipment
CN107562802A (en) Text data display methods and device and storage medium and electronic installation

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