CN105095243B - Page presentation device and page display method - Google Patents

Page presentation device and page display method Download PDF

Info

Publication number
CN105095243B
CN105095243B CN201410184103.8A CN201410184103A CN105095243B CN 105095243 B CN105095243 B CN 105095243B CN 201410184103 A CN201410184103 A CN 201410184103A CN 105095243 B CN105095243 B CN 105095243B
Authority
CN
China
Prior art keywords
page
unit
intermediate treatment
information
presentation
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.)
Expired - Fee Related
Application number
CN201410184103.8A
Other languages
Chinese (zh)
Other versions
CN105095243A (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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201410184103.8A priority Critical patent/CN105095243B/en
Publication of CN105095243A publication Critical patent/CN105095243A/en
Application granted granted Critical
Publication of CN105095243B publication Critical patent/CN105095243B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present invention provides a kind of page presentation devices, including:Typesetting unit for when receiving the request to specified file progress page presentation, generating basic structure information corresponding with the specified file, and generates the page essential information needed for page presentation and sends page by page;Intermediate treatment unit is connected to the typesetting unit, for being handled page by page the page essential information received, and generates additional information and transmission needed for page presentation page by page according to handling result and the basic structure information;Display unit is connected to the intermediate treatment unit, and the page essential information and additional information for receiving additional information and the page essential information needed for the page presentation page by page, and needed for the page presentation show the specified file page by page.Correspondingly, a kind of page display method is additionally provided.By the technical solution, the preview efficiency in previews can be improved, to promote the usage experience of user.

Description

Page presentation device and page display method
Technical field
The present invention relates to digital publishing technical fields, in particular to a kind of page presentation device and a kind of page exhibition Show method.
Background technology
With the fast development of electronic equipment, electronic reader enters into people’s lives more and more, and people are passing through It, can also be by electronic equipments such as computer, mobile phone, tablet computers come the read electronic phase while traditionally on paper medium is read Periodical.
For electronic journal, it usually needs then the slot man for first carrying out early period with software for composing outputs it into spy The data file for the formula that fixes, then the reader by being installed on electronic equipment parse data file, finally show user.
The reading experience that electronic journal may be implemented is far superior to paper media, can not only show static content, moreover it is possible to increase Add many animations and interaction effect, and these dynamic effects are not What You See Is What You Get during typesetting, are only needed in typesetting It is discharged into static resource, then by the way that the configuration attribute of resource is arranged, data file is generated according to specific protocol, can read Abundant dynamic effect is shown on device.And during typesetting, it is often desired to which energy preview current page is in the final of reader Bandwagon effect, so, start reader program in software for composing and carry out preview and can yet be regarded as a kind of good method.
And sometimes, software for composing can not independently generate complete journal data file, but first generate basic resources text Part, then utilize existing basic resources file generated appended document, basic resources file and additional text by Mr. Yu's interlude Part is grouped together as complete journal data file.
From this, most intuitive preview flow is:The periodical of current typesetting is first generated into basic resources with software for composing Then file starts interlude and generates appended document, restart reader program and open the complete data file and be shown. But a journal data file usually has tens or up to a hundred a pages, the successively serial execution of three steps certainly will need longer Stand-by period, user experience is not fast enough.
Therefore, it is necessary to a kind of new technical solution, the preview efficiency in previews can be improved, to promote user's Usage experience.
Invention content
The present invention is based on the above problem, it is proposed that a kind of new technical solution can improve pre- in previews Efficiency is look at, to promote the usage experience of user.
In view of this, the present invention proposes a kind of page presentation device, including:Typesetting unit, for receiving to referring to When determining the request of file progress page presentation, basic structure information corresponding with the specified file is generated, and generate page by page Page essential information needed for page presentation is simultaneously sent;Intermediate treatment unit is connected to the typesetting unit, for receiving The page essential information handled page by page, and the page is generated according to handling result and the basic structure information page by page Additional information needed for displaying and transmission;Display unit is connected to the intermediate treatment unit, for receiving the page page by page Additional information needed for displaying, and the specified text is shown according to essential information needed for the page presentation and additional information page by page Part.
In the technical scheme, typesetting unit page by page generate page presentation needed for the page basic resources during, It is sent to intermediate treatment unit page by page, display unit is sent to by intermediate treatment element sides processing side, is opened up by display unit Show, in this way, the generation of page presentation information, intermediate treatment and the parallel execution of displaying, can shorten the stand-by period of user, improve The efficiency of preview, to promote the usage experience of user.
In the above-mentioned technical solutions, it is preferable that the typesetting unit is additionally operable to:Generate the basic structure information it Afterwards, it is sent to the intermediate treatment unit and the display unit and starts order, and judge whether to receive the middle The startup receipt that is sent when starting successfully of reason unit, when receiving the startup receipt, to the intermediate treatment unit by Page sends the page essential information;The intermediate treatment unit is additionally operable to:Started when receiving the startup order, And after starting successfully, the startup receipt is sent to the typesetting unit;The display unit is additionally operable to:It is described receiving Started when starting order, and after starting successfully, is sent to the intermediate treatment unit and start receipt;The intermediate treatment Unit is additionally operable to:When receiving the startup receipt that the display unit is sent, the page is sent page by page to display unit Face shows information.
In the technical scheme, start intermediate treatment unit and display unit after typesetting unit is ready to, and in Between processing unit and display unit there is the rear of feedback to send information to intermediate treatment unit and display unit, in this way, not only can be with Ensure that information can be reached fast and accurately, while typesetting unit, intermediate treatment unit and display unit can be made to be carried out at the same time, carries The high speed and efficiency of page presentation.
In the above-mentioned technical solutions, it is preferable that the display unit is additionally operable to:Stop carrying out page presentation receiving When order, cease and desist order to intermediate treatment unit transmission;The intermediate treatment unit is additionally operable to:Receiving the stopping When order, stop sending the page presentation information to the display unit, and the stopping life being sent to the typesetting unit It enables;The typesetting unit is additionally operable to:When receiving described cease and desist order, stop sending the page to the intermediate treatment unit Face essential information.
In the technical scheme, when display unit is received and ceased and desisted order (such as user closes preview interface), displaying is single Member notice intermediate treatment unit and the stopping of typesetting unit are handled, so that previews terminate.
In the above-mentioned technical solutions, it is preferable that the typesetting unit is additionally operable to:In the request for receiving the page presentation When, the basic structure information of the specified file is generated, and generate the page essential information needed for page presentation, wherein institute Stating page essential information includes:The description text of module information, component that page layout background picture, page description file, the page include Part, component picture file, video file and/or audio file.
In the above-mentioned technical solutions, it is preferable that the basic structure information includes:The page total page number of specified file, Page layout, article information, internal file folder and file designation rule.
According to another aspect of the present invention, a kind of page display method is additionally provided, including:Typesetting unit is receiving pair When specified file carries out the request of page presentation, basic structure information corresponding with the specified file is generated, and give birth to page by page At the page essential information needed for displaying and send;Intermediate treatment unit carries out page by page the page essential information received Processing, and additional information and transmission needed for page presentation are generated according to handling result and the basic structure information page by page; Display unit receives the additional information needed for the page presentation page by page, and according to essential information needed for the page presentation and attached Information is added to show the specified file page by page.
In the technical scheme, typesetting unit page by page generate page presentation needed for the page basic resources during, It is sent to intermediate treatment unit page by page, display unit is sent to by intermediate treatment element sides processing side, is opened up by display unit Show, in this way, the generation of page presentation information, intermediate treatment and the parallel execution of displaying, can shorten the stand-by period of user, improve The efficiency of preview, to promote the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include:Typesetting unit after generating the basic structure information, It is sent to the intermediate treatment unit and the display unit and starts order, and judge whether to receive the intermediate treatment list The startup receipt that member is sent when starting successfully is sent out when receiving the startup receipt to the intermediate treatment unit page by page Send the page essential information;Intermediate treatment unit is started when receiving the startup order, and after starting successfully, The startup receipt is sent to the typesetting unit;Display unit is started when receiving the startup order, and is being opened After moving successfully, is sent to the intermediate treatment unit and start receipt;Intermediate treatment unit is receiving the display unit transmission The startup receipt when, send the page presentation information page by page.
In the technical scheme, start intermediate treatment unit and display unit after typesetting unit is ready to, and in Between processing unit and display unit there is the rear of feedback to send information to intermediate treatment unit and display unit, in this way, not only can be with Ensure that information can be reached fast and accurately, while typesetting unit, intermediate treatment unit and display unit can be made to be carried out at the same time, carries The high speed and efficiency of page presentation.
In the above-mentioned technical solutions, it is preferable that the display unit is additionally operable to:Stop carrying out page presentation receiving When order, cease and desist order to intermediate treatment unit transmission;The intermediate treatment unit is additionally operable to:Receiving the stopping When order, stop sending the page presentation information to the display unit, and the stopping life being sent to the typesetting unit It enables;The typesetting unit is additionally operable to:When receiving described cease and desist order, stop sending the page to the intermediate treatment unit Face essential information.
In the technical scheme, when display unit is received and ceased and desisted order (such as user closes preview interface), displaying is single Member notice intermediate treatment unit and the stopping of typesetting unit are handled, so that previews terminate.
In the above-mentioned technical solutions, it is preferable that the typesetting unit includes:For receiving asking for the page presentation When asking, the basic structure information of the specified file is generated, and generates the page essential information needed for page presentation, wherein The page essential information includes:The description of module information, component that page layout background picture, page description file, the page include File, component picture file, video file and/or audio file.
In the above-mentioned technical solutions, it is preferable that the basic structure information includes:The page total page number of specified file, Page layout, article information, internal file folder and file designation rule etc..
By above technical scheme, the preview efficiency in previews can be improved, to promote the usage experience of user.
Description of the drawings
Fig. 1 shows the block diagram of page presentation device according to an embodiment of the invention;
Fig. 2 shows the flow charts of page display method according to an embodiment of the invention;
Fig. 3 A and Fig. 3 B show the particular flow sheet of page display method according to an embodiment of the invention;
Fig. 4 shows the particular flow sheet of the course of work of typesetting unit according to an embodiment of the invention;
Fig. 5 shows the particular flow sheet of the course of work of intermediate treatment unit according to an embodiment of the invention;
Fig. 6 shows the particular flow sheet of the course of work of display unit according to an embodiment of the invention.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the block diagram of page presentation device according to an embodiment of the invention.
As shown in Figure 1, page presentation device 100 according to an embodiment of the invention, including:Typesetting unit 102 is used for When receiving the request to specified file progress page presentation, basic structure information corresponding with the specified file is generated, And the page essential information needed for page presentation is generated page by page and is sent;Intermediate treatment unit 104 is connected to the typesetting unit 102, for being handled page by page the page essential information received, and according to handling result and the basic structure Information generates the additional information needed for page presentation and transmission page by page;Display unit 106 is connected to the intermediate treatment unit 104, for receiving the additional information needed for the page presentation page by page, and according to essential information needed for the page presentation and attached Information is added to show the specified file page by page.
In the technical scheme, typesetting unit page by page generate page presentation needed for the page basic resources during, It is sent to intermediate treatment unit page by page, display unit is sent to by intermediate treatment element sides processing side, is opened up by display unit Show, in this way, the generation of page presentation information, intermediate treatment and the parallel execution of displaying, can shorten the stand-by period of user, improve The efficiency of preview, to promote the usage experience of user.
In the above-mentioned technical solutions, it is preferable that the typesetting unit 102 is additionally operable to:Generating the basic structureization letter After breath, is sent to the intermediate treatment unit 104 and the display unit 106 and start order, and judge whether to receive The startup receipt that the intermediate treatment unit 104 is sent when starting successfully, when receiving the startup receipt, in described Between processing unit send the page essential information page by page;The intermediate treatment unit 104 is additionally operable to:Receiving the startup Started when order, and after starting successfully, sends the startup receipt to the typesetting unit;The display unit 106 It is additionally operable to:Started when receiving the startup order, and after starting successfully, is opened to intermediate treatment unit transmission Dynamic receipt;The intermediate treatment unit 104 is additionally operable to:When receiving the startup receipt that the display unit is sent, to Display unit 106 sends the page presentation information page by page.
In the technical scheme, start intermediate treatment unit and display unit after typesetting unit is ready to, and in Between processing unit and display unit there is the rear of feedback to send information to intermediate treatment unit and display unit, in this way, not only can be with Ensure that information can be reached fast and accurately, while typesetting unit, intermediate treatment unit and display unit can be made to be carried out at the same time, carries The high speed and efficiency of page presentation.
In the above-mentioned technical solutions, it is preferable that the display unit 106 is additionally operable to:Stop carrying out page exhibition receiving When the order shown, cease and desist order to intermediate treatment unit transmission;The intermediate treatment unit 104 is additionally operable to:It is receiving It is described when ceasing and desisting order, stop sending the page presentation information to the display unit, and institute is sent to the typesetting unit It states and ceases and desist order;The typesetting unit 102 is additionally operable to:When receiving described cease and desist order, stop to the intermediate treatment list Member sends the page essential information.
In the technical scheme, when display unit is received and ceased and desisted order (such as user closes preview interface), displaying is single Member notice intermediate treatment unit and the stopping of typesetting unit are handled, so that previews terminate.
In the above-mentioned technical solutions, it is preferable that the typesetting unit 102 includes:For receiving the page presentation Request when, generate the basic structure information of the specified file, and generate the page essential information needed for page presentation, In, the page essential information includes:Module information that page layout background picture, page description file, the page include, component are retouched State file, component picture file, video file and/or audio file.
In the above-mentioned technical solutions, it is preferable that the basic structure information includes:The page total page number of specified file, Page layout, article information, internal file folder and file designation rule.
Fig. 2 shows the flow charts of page display method according to an embodiment of the invention.
As shown in Fig. 2, page display method according to an embodiment of the invention, including:Step 202, typesetting unit is connecing When receiving the request to specified file progress page presentation, basic structure information corresponding with the specified file is generated, and The page essential information needed for displaying is generated page by page and is sent;Step 204, intermediate treatment unit is to the page base that receives This information is handled page by page, and is generated page by page according to handling result and the basic structure information attached needed for page presentation Add information and sends;Step 206, display unit receives the additional information needed for the page presentation page by page, and according to the page Essential information and additional information needed for the displaying of face show the specified file page by page.
In the technical scheme, it during generating the page basic resources needed for page presentation page by page, sends page by page To intermediate treatment unit, display unit is sent to by intermediate treatment element sides processing side, is shown by display unit, in this way, Generation, intermediate treatment and the parallel execution of displaying of page presentation information, can shorten the stand-by period of user, improve preview Efficiency, to promote the usage experience of user.
In the above-mentioned technical solutions, it is preferable that further include:Typesetting unit after generating the basic structure information, It is sent to the described and described display unit and starts order, and judge whether that receiving the intermediate treatment unit is starting successfully When the startup receipt that sends send the page base page by page to the intermediate treatment unit when receiving the startup receipt This information;Intermediate treatment unit is started when receiving the startup order, and after starting successfully, sends the startup Receipt is to the typesetting unit;Display unit is started when receiving the startup order, and after starting successfully, to institute It states intermediate treatment unit and sends and start receipt;Intermediate treatment unit is in the startup receipt for receiving the display unit transmission When, page by page the page presentation information is sent to display unit.
In the technical scheme, start intermediate treatment unit and display unit after typesetting unit is ready to, and in Between processing unit and display unit there is the rear of feedback to send information to intermediate treatment unit and display unit, in this way, not only can be with Ensure that information can be reached fast and accurately, while typesetting unit, intermediate treatment unit and display unit can be made to be carried out at the same time, carries The high speed and efficiency of page presentation.
In the above-mentioned technical solutions, it is preferable that the display unit is additionally operable to:Stop carrying out page presentation receiving When order, cease and desist order to intermediate treatment unit transmission;The intermediate treatment unit is additionally operable to:Receiving the stopping When order, stop sending the page presentation information to the display unit, and the stopping life being sent to the typesetting unit It enables;The typesetting unit is additionally operable to:When receiving described cease and desist order, stop sending the page to the intermediate treatment unit Face essential information.
In the technical scheme, when display unit is received and ceased and desisted order (such as user closes preview interface), displaying is single Member notice intermediate treatment unit and the stopping of typesetting unit are handled, so that previews terminate.
In the above-mentioned technical solutions, it is preferable that the typesetting unit is additionally operable to:In the request for receiving the page presentation When, the basic structure information of the specified file is generated, and generate the page essential information needed for page presentation, wherein institute Stating page essential information includes:The description text of module information, component that page layout background picture, page description file, the page include Part, component picture file, video file and/or audio file.
In the above-mentioned technical solutions, it is preferable that the basic structure information includes:The page total page number of specified file, Page layout, article information, internal file folder and file designation rule.
Fig. 3 A and Fig. 3 B show the particular flow sheet of page display method according to an embodiment of the invention.
As shown in Figure 3A and Figure 3B, the detailed process of page display method according to an embodiment of the invention is as follows:
Step 302, typesetting unit 102 generates the basic structure information of data packet, while starting intermediate treatment unit 104 With display unit 106.
Step 304, after intermediate treatment unit 104 starts, Started message declarations oneself have been sent out to typesetting unit 102 Start, can prepare to receive message.The basic structure information of data packet is parsed simultaneously.
Step 306, after display unit 106 starts, Started message declarations oneself have been sent out to intermediate treatment unit 104 Start, can prepare to receive message.The basic structure information of data packet is parsed simultaneously.
Step 308, typesetting unit 102 starts to generate the basic resources needed for page presentation page by page, and generation is finished Page info is stored in queue a.
Step 310, typesetting unit 102 judges whether to have been received by the Started message from intermediate treatment unit 104, such as Fruit does not have, then continues waiting for;If had been received by, page info in queue a is issued into intermediate treatment unit 104 one by one.
Step 312, intermediate treatment unit 104 waits for the page info in the queue a that typesetting unit 102 is sent, after receiving It is stored in pending queue b one by one.After the basic structure information of pending data packet is parsed, the page is taken out one by one from queue b, Page info is parsed, the appended document of the page is generated.
Step 314, intermediate treatment unit 104 has often generated the appended document of a page, then is stored in the page info Display unit 106 is issued in queue c, waiting.
Step 316, intermediate treatment unit 104 judges whether to have been received by the Started message from display unit 106, such as Fruit does not have, then continues waiting for;If had been received by, page info in queue c is issued into display unit 106 one by one.
Step 318, display unit 106 waits for the page info in the queue c that intermediate treatment unit 104 is sent, and then will The page marker is Ready, that is, indicates to show that whole resources (including basic resources and appended document) needed for the page have all been given birth to At finishing, can be shown.
Step 320, when typesetting unit 102 all page infos are all sent to intermediate treatment unit 104 in queue a after, End message is sent to intermediate treatment unit 104.
Step 322, intermediate treatment unit 104 waits for the End message that typesetting unit 102 is sent.After receiving End message, inspection Look into whether the appended document of all pages has all been generated and finished in queue b, and all page infos all have been issued to exhibition in queue c Show unit 106.If it is not, then waiting for;If it is, closing itself program.
Step 324, display unit 106 can show some page according to the interactive operation of user, if the page is not yet Ready then shows the waiting page of acquiescence;If the page Ready, parses the page information and shows in the real page Hold.
Step 326, if display unit 106 performs shutoff operation by user, intermediate treatment is searched before closing The process of unit 104 whether there is, if it is present hair Close message states display unit 106 to intermediate treatment unit 104 It will close.Then display unit 106 is closed.At this time if intermediate treatment unit 104 still has the appended document not generated, no Regeneration, while message is sent out to typesetting unit 102.Then intermediate treatment unit 104 is closed.If typesetting unit 102 has still at this time Unripe page resource, also no longer prepares.
Wherein, data packet includes in structured message file, page description file, basic resources file, appended document etc. Hold.
Further, the resource needed for page presentation include page description file, page layout background picture, the page insertion figure The contents such as piece, audio and video.
Further, the page info of deposit queue a includes page id number, page layout (such as horizontal version/portrait) mark Know the unique combinations information needed for the page.
Further, the page appended document generated by intermediate treatment unit 104, is a part for data packet, is displaying Unit 106 shows one of resource necessary to the page.Appended document needs the data packet generated by parsing typesetting unit 102 The basic resources file of structured message and the page generates, but typesetting unit 102 not responsible generation appended document, but the row of grade After version unit 102 gets out the basic resources file of the page, appended document is generated by intermediate treatment unit 104.
With reference to fig. 4 to fig. 6, each section is described in detail has workflow.
Fig. 4 shows the particular flow sheet of the course of work of typesetting unit according to an embodiment of the invention.
As shown in figure 4, the detailed process of the course of work of typesetting unit according to an embodiment of the invention is as follows:
Step 402, the basic structure information basic structure information that typesetting unit 102 generates data packet includes mainly number According to packet total page number, cross/portrait formula, article information, internal file folder and file designation rule etc.;Intermediate treatment unit 104 is main For generating the page thumbnails in data packet.
Step 404, start intermediate treatment unit 104 and display unit 106.
Step 406, beginning (started) message to be received from intermediate treatment unit 104 is waited.
Step 408, typesetting unit 102 starts to generate the basic resources needed for the 1st page presentation of portrait, including the page back of the body Scape picture, page description file, module information, component describe file and picture concerned or audio-video document contained by the page;And it will Generate the page info deposit queue a finished, i.e. page ID=1, format=portrait;Then the base of the 2nd page of portrait is generated This resource, after generation, then by page ID=2, the page info of format=portrait is stored in queue a, and so on.
Step 410, judge whether to receive beginning (started) message from intermediate treatment unit 104.
It step 412, then will be in queue a after typesetting unit 102 receives the Started message from intermediate treatment unit 104 Page info issues intermediate treatment unit 104 one by one.
Step 414, judge whether the page info in queue A has all been sent, when the determination result is yes, into step Rapid 416, when the judgment result is No, return to step 412.
Step 416, terminate (end) message to the transmission of intermediate treatment unit 104, all Page messages in surface have all been sent Finish.
Step 418, it after starting intermediate treatment unit and display unit, while also waiting for receiving and coming from intermediate treatment unit 104 closing (close) message.
Step 420, judge whether to receive close message, when the determination result is yes, 420 are entered step, in judging result When being no, return to step 416.
Step 422, stop preparing page resource, stop sending message to intermediate treatment unit.
Fig. 5 shows the particular flow sheet of the course of work of intermediate treatment unit according to an embodiment of the invention.
As shown in figure 5, the detailed process of the course of work of intermediate treatment unit according to an embodiment of the invention is as follows:
Step 502, Started message is sent to typesetting unit 102, shows that intermediate treatment unit 104 has been turned on, Ke Yijie Receive message.
Step 504, the basic structure information of data packet is parsed.
Step 506, at the same etc. the queue a to be received in typesetting unit 102 Page messages, and be stored in middle page by page Manage the queue b of unit.
Step 508, at the same etc. the started message to be received from display unit 106.
Step 510, judge whether queue b has the untreated page, when the determination result is yes, enter step 512, sentencing When disconnected result is no, return to step 510.
Step 512, the untreated page of one page is taken out from queue b, generates this page of thumbnail;It is to have located by the page marker Reason;And the page info is stored in the queue c of display unit.
Step 514, judge whether to have been received by the End message from typesetting unit 102, when the determination result is yes, enter Step 516, otherwise, return to step 506.
Step 516, whether queue b is judged without the untreated page, and the page in queue c all has been issued to display unit 106, when the determination result is yes, 518 are entered step, when the judgment result is No, return to step 516.
Step 518, temporary file is deleted, all processes is closed, exits this program.
Step 520, judge whether to receive the Started message from display unit 106, when the determination result is yes, 522 are entered step, when the judgment result is No, return to step 520.
Step 522, judge whether there is page info to be not yet sent to display unit 106 in queue c, be yes in judging result When, 524 are entered step, when the judgment result is No, return to step 522.
Step 524, one page will be taken out in queue c and do not send the page, page info is sent to display unit 106, and mark It is denoted as and has sent.Show that the page whole resource is ready for finishing, can be shown.
Step 526, the Close message to be received from display unit 106 is waited.
Step 528, whether interpretation receives Close message, when the determination result is yes, enters step 530, is judging to tie When fruit is no, 526 are entered step.
Step 530, stop generating thumbnail pictures, delete temporary file, and Close message is sent to typesetting unit 102.
Step 532, itself program is closed.
Fig. 6 shows the particular flow sheet of the course of work of display unit according to an embodiment of the invention.
As shown in fig. 6, the detailed process of the course of work of display unit according to an embodiment of the invention is as follows:
Step 602, Started message is sent to intermediate treatment unit 104, shows that display unit 106 has been turned on, Ke Yijie Receive message.
Step 604, the basic structure information of data packet is parsed.
Step 606, these page marks are by the Page messages for waiting the queue c to be received in intermediate manipulation program 104 Ready, you can be shown.
Step 608, at the same etc. pending user's bolt down procedure operation.
Step 610, judge whether current page to be presented has been labeled as Ready, when the determination result is yes, into step Rapid 612, when the judgment result is No, enter step 614.
Step 612, it parses and shows the page.
Step 614, content of pages first shows the waiting picture of acquiescence.Intermediate treatment unit 104 is not yet received at this time to send Page info wait this page for receiving that intermediate treatment unit 104 is sent so current page first shows the waiting page of acquiescence It is Ready by the page marker after information, that is, indicates to show whole resources (including basic resources and thumbnail) needed for the page It has all generated and has finished, the page information can be parsed at this time, and be actual content of pages by default waiting page furbishing.
Step 616, judge whether that the order for receiving shutoff operation enters step 618 when the determination result is yes, sentencing When disconnected result is no, return to step 608.
Step 618, judge that the process of intermediate treatment unit 104 whether there is, when the determination result is yes, enter step 620, when the judgment result is No, enter step 622.
Step 620, close message is sent to intermediate treatment unit 104.
Step 622, itself program is closed.Such as typesetting unit 102 receive page presentation is carried out to specified file Request is displaying portrait page 1~5 and horizontal version page 1~5, if when typesetting unit 102 incorporates portrait page 1~5 in queue a And when the horizontal version page info of page 1~3, user performs the operation for closing display unit 106, then display unit 106 is in closing The preceding process for first searching intermediate treatment unit 104 whether there is, if it is present hair Close message is to intermediate treatment unit 104 Statement display unit 106 will close.Then display unit 106 is closed.Intermediate treatment unit 104 still has the contracting not generated at this time Sketch map does not regenerate then, while sending out message to typesetting unit 102.Then intermediate treatment unit 104 is closed.Typesetting unit at this time 102 have unprepared page resource, i.e., horizontal version page 4~5 also no longer to prepare.So far, entire previews terminate.
Technical scheme of the present invention is described in detail above in association with attached drawing, technical solution through the invention is more to be based on The typesetting page previews of process cooperation provide more efficiently preview flow, quickly see in page presentation convenient for user Hold.The present invention considers the closing process that the leading previews of typesetting unit 102 and display unit 106 are dominated simultaneously, passes through Message transmission makes two processes all as far as possible quickly, succinctly.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of page presentation device, which is characterized in that including:
Typesetting unit, for when receiving the request to specified file progress page presentation, generating and the specified file pair The basic structure information answered, and generate the page essential information needed for page presentation page by page and send;
Intermediate treatment unit is connected to the typesetting unit, for receiving the page essential information, to the page received Face essential information is handled page by page, and is generated page by page needed for page presentation according to handling result and the basic structure information Additional information and transmission;
Display unit is connected to the intermediate treatment unit, for receiving the page base needed for the page presentation page by page This information and the additional information, and the page essential information needed for the page presentation and the additional information by Page shows the specified file, wherein the page essential information and the additional information needed for the page presentation are page Face shows information.
2. page presentation device according to claim 1, which is characterized in that
The typesetting unit is additionally operable to:
After generating the basic structure information, is sent to the intermediate treatment unit and the display unit and start life It enables, and judges whether to receive the startup receipt that the intermediate treatment unit is sent when starting successfully, it is described receiving When starting receipt, the page essential information is sent page by page to the intermediate treatment unit;
The intermediate treatment unit is additionally operable to:
Started when receiving the startup order, and after starting successfully, sends the startup receipt to the typesetting Unit;
The display unit is additionally operable to:
Started when receiving the startup order, and after starting successfully, sends and start to the intermediate treatment unit Receipt;
The intermediate treatment unit is additionally operable to:
When receiving the startup receipt that the display unit is sent, the page presentation information is sent page by page.
3. page presentation device according to claim 1, which is characterized in that the display unit is additionally operable to:
When receiving the order for stopping carrying out page presentation, cease and desist order to intermediate treatment unit transmission;
The intermediate treatment unit is additionally operable to:
When receiving described cease and desist order, stop sending the page presentation information to the display unit, and to the row Version unit is ceased and desisted order described in sending;
The typesetting unit is additionally operable to:
When receiving described cease and desist order, stop sending the page essential information to the intermediate treatment unit.
4. page presentation device according to claim 1, which is characterized in that the typesetting unit includes:
Basic structure information for when receiving the request of the page presentation, generating the specified file, and generate Page essential information needed for page presentation, wherein the page essential information includes:Page layout background picture, page-describing text Description file, component picture file, video file and/or the audio file of module information, component that part, the page include.
5. page presentation device according to any one of claim 1 to 4, which is characterized in that the basic structureization letter Breath includes:
Page total page number, page layout, article information, internal file folder and the file designation rule of specified file.
6. a kind of page display method, which is characterized in that including:
Typesetting unit generates base corresponding with the specified file when receiving the request to specified file progress page presentation This structured message, and generate the page essential information needed for page presentation page by page and send;
Intermediate treatment unit handles the page essential information received page by page, and according to handling result and the base This structured message generates the additional information needed for page presentation and transmission page by page;
Display unit receives the additional information needed for the page presentation, and the page needed for the page presentation page by page Face essential information and the additional information show the specified file page by page, wherein the page needed for the page presentation Essential information and the additional information are page presentation information.
7. page display method according to claim 6, which is characterized in that further include:
The typesetting unit is after generating the basic structure information, to the intermediate treatment unit and the display unit It sends and starts order, and judge whether to receive the startup receipt that the intermediate treatment unit is sent when starting successfully, When receiving the startup receipt, the page essential information is sent page by page to the intermediate treatment unit;
The intermediate treatment unit is started when receiving the startup order, and after starting successfully, is opened described in transmission Receipt is moved to the typesetting unit;
The display unit is started when receiving the startup order, and after starting successfully, to the intermediate treatment Unit, which is sent, starts receipt;
The intermediate treatment unit sends the page page by page when receiving the startup receipt that the display unit is sent Show information.
8. page display method according to claim 6, which is characterized in that further include:
The display unit sends to the intermediate treatment unit when receiving the order for stopping carrying out page presentation and stops life It enables;
The intermediate treatment unit stops sending the page presentation to the display unit when receiving described cease and desist order Information, and cease and desist order described in transmission;And
The typesetting unit stops basic to the intermediate treatment unit transmission page when receiving described cease and desist order Information.
9. page display method according to claim 6, which is characterized in that further include:
The typesetting unit generates the basic structureization letter of the specified file when receiving the request of the page presentation Breath, and generates the page essential information needed for page presentation, wherein the page essential information includes:Page layout background picture, page Face describes file, the module information that the page includes, the description file of component, component picture file, video file and/or audio text Part.
10. the page display method according to any one of claim 6 to 9, which is characterized in that the basic structureization letter Breath includes:
Page total page number, page layout, article information, internal file folder and the file designation rule of specified file.
CN201410184103.8A 2014-05-04 2014-05-04 Page presentation device and page display method Expired - Fee Related CN105095243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410184103.8A CN105095243B (en) 2014-05-04 2014-05-04 Page presentation device and page display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410184103.8A CN105095243B (en) 2014-05-04 2014-05-04 Page presentation device and page display method

Publications (2)

Publication Number Publication Date
CN105095243A CN105095243A (en) 2015-11-25
CN105095243B true CN105095243B (en) 2018-09-18

Family

ID=54575701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410184103.8A Expired - Fee Related CN105095243B (en) 2014-05-04 2014-05-04 Page presentation device and page display method

Country Status (1)

Country Link
CN (1) CN105095243B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021310A (en) * 2016-10-28 2018-05-11 中国电信股份有限公司 Mobile phone page makeup method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017479A (en) * 2007-02-09 2007-08-15 北京大学 Method for automatically identifying digital document type page
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4661475B2 (en) * 2005-09-14 2011-03-30 富士ゼロックス株式会社 Device and history display limit method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017479A (en) * 2007-02-09 2007-08-15 北京大学 Method for automatically identifying digital document type page
CN101989256A (en) * 2009-07-31 2011-03-23 北京大学 Typesetting method of document file and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PDF文件格式及其向PS文件转换的研究;王婉;《计算机科学》;20010915;全文 *
基于结构和视觉特征的网页信息抽取技术的研究与实现;朱凯;《中国优秀硕士学位论文全文数据库 信息科技辑》;20080715;第2008年卷(第7期);全文 *

Also Published As

Publication number Publication date
CN105095243A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN109803180B (en) Video preview generation method and device, computer equipment and storage medium
RU2714609C1 (en) Automation of document generation
US9563607B2 (en) System and method for creating slideshows
CN110023927B (en) System and method for applying layout to document
JP5353148B2 (en) Image information retrieving apparatus, image information retrieving method and computer program therefor
US20160071065A1 (en) Information processing device, non-transitory computer readable medium, and information processing method
CN107832469B (en) A kind of generation method and device of enterprise logo image
JP5658986B2 (en) Electronic book display device, method and program
US20130259377A1 (en) Conversion of a document of captured images into a format for optimized display on a mobile device
JP2010073114A6 (en) Image information retrieving apparatus, image information retrieving method and computer program therefor
JP6775510B2 (en) Terminals, terminal control methods, and programs
CN101207672B (en) Image processing apparatus, and image processing method
CN105989158A (en) Screenshot distinguishing method and equipment
US10380233B2 (en) Launching workflow processes based on annotations in a document
CN103399737B (en) Multi-media processing method based on speech data and device
CN105095243B (en) Page presentation device and page display method
WO2018208412A1 (en) Detection of caption elements in documents
JP2007058621A (en) Document management device and document management method
US11328236B2 (en) Information processing apparatus and non-transitory computer readable medium storing information processing program
CN104424170A (en) Electronic content data packet postprocessing system and method
CN102981897B (en) Information processing apparatus and control method thereof
CN106656861B (en) A kind of e-book method for pushing and device
JP2004110378A (en) Object-oriented development supporting method and device
CN108334390A (en) Commodity information management method, device and mobile terminal
JP2008046799A (en) Scenario creation device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180918

Termination date: 20190504

CF01 Termination of patent right due to non-payment of annual fee