CN106776506A - Methods of exhibiting, device and system on document line based on browser - Google Patents

Methods of exhibiting, device and system on document line based on browser Download PDF

Info

Publication number
CN106776506A
CN106776506A CN201710108963.7A CN201710108963A CN106776506A CN 106776506 A CN106776506 A CN 106776506A CN 201710108963 A CN201710108963 A CN 201710108963A CN 106776506 A CN106776506 A CN 106776506A
Authority
CN
China
Prior art keywords
document
browser
switching software
swf
exhibiting
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.)
Withdrawn
Application number
CN201710108963.7A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710108963.7A priority Critical patent/CN106776506A/en
Publication of CN106776506A publication Critical patent/CN106776506A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses methods of exhibiting, device and system on a kind of document line based on browser, wherein, methods of exhibiting comprises the following steps on the document line based on browser:When having monitored that document is uploaded onto the server, call the first document switching software that the document is converted into SWF format files;When reading the read request of the document by browser of client transmission is being received, the SWF format files are being sent to client.The present invention has the efficiency for improving online reading document and the effect for being easy to download.

Description

Methods of exhibiting, device and system on document line based on browser
Technical field
The present invention relates to online reading document technology field, methods of exhibiting on the document line more particularly to based on browser, Device and system.
Background technology
Current online reading generally in advance to using replicating or sectional drawing mode is shown, such as word, excel, The document content of the forms such as ppt, txt, pdf.
But, when file is more, online reading server is replicated or the workload of sectional drawing is big very big and inconvenient Download and preserve.
The content of the invention
The main object of the present invention is to provide methods of exhibiting, device and system on the document line based on browser, it is intended to carry The efficiency of online reading document high and be easy to download.
To achieve the above object, methods of exhibiting on a kind of document line based on browser proposed by the present invention, described to be based on Methods of exhibiting comprises the following steps on the document line of browser:
When having monitored that document is uploaded onto the server, call the first document switching software that the document is converted into SWF Format file;
When reading the read request of the document by browser of client transmission is being received, by the SWF forms Document is sent to client.
Preferably, it is described specific the step of call the first document switching software that the document is converted into SWF format files Including:
Judge whether the document is portable document format PDF document;
If so, then calling the first document switching software that the document is converted into SWF format files;
If it is not, then calling the second document switching software that the document is converted into PDF document, the conversion of the first document is recalled The PDF document is converted to SWF format files by software.
Preferably, it is described to specifically include the step of call the first document switching software to convert document to SWF format files:
Call the first document switching software that every one page of the document is respectively converted into a SWF format file.
Preferably, it is described to include the step of the SWF format files are sent to client:
Obtain the SWF format files corresponding to the specified page number in the read request;
The corresponding SWF format files are sent to client.
Preferably, the first document switching software uses SWFTools softwares;The second document switching software is used OpenOffice softwares;
Methods of exhibiting runs on the server of Linux system on the document line based on browser;By order line Mode calls the first document switching software and the second document switching software.
Exhibiting device on a kind of document line based on browser that the present invention is provided, on the document line based on browser Exhibiting device includes:
Monitoring module, for having monitored whether that document is uploaded onto the server;
Modular converter, for when the monitoring module has monitored that document is uploaded onto the server, calling the first document to turn Change software and the document is converted into SWF format files;
Display module, for receive client transmission when reading the read request of the document by browser, The SWF format files are sent to client.
Preferably, the modular converter is specifically included:
Judging unit, for judging whether the document is portable document format PDF document;
First converting unit, if being judged to it is to call the first document switching software described for the judging unit Document is converted to SWF format files;
Second converting unit, if being judged to for the judging unit no, calls the second document switching software described Document is converted to PDF document, then calls the first document switching software to change the PDF document by first converting unit It is SWF format files.
Preferably, first converting unit calls the first document switching software to convert document to SWF format files Step is specifically included:
Call the first document switching software that every one page of the document is respectively converted into a SWF format file;
The display module includes:
Page number unit, for obtaining the SWF format files corresponding to the specified page number in the read request;
Transmitting element, for the corresponding SWF format files to be sent to client.
Preferably, the first document switching software uses SWFTools softwares;The second document switching software is used OpenOffice softwares;
Methods of exhibiting runs on the server of Linux system on the document line based on browser;By order line Mode calls the first document switching software and the second document switching software.
Display systems on a kind of document line based on browser that the present invention is provided, including server and client side, it is special Levy and be, the server is provided with exhibiting device on the document line based on browser described above;
The client includes the browser with FlexPaper, is used to so that browser is shown by FlexPaper SWF format files.
Methods of exhibiting, device and system on document line based on browser provided by the present invention, are uploaded to by monitoring The document of server, and be converted to SWF documents, then when client request online reading, SWF documents can be fed back;If needing Download, then can be downloaded by the source file of request server.Therefore, after this programme has upload document, Suo Yougong Work is automatically performed by server, is reduced manpower and is participated in;It is less resource to be taken when online reading SWF documents are needed;Can keep While the original pattern of document shows online, it is also convenient for user and downloads the preservation of document source file.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Structure according to these accompanying drawings obtains other accompanying drawings.
Fig. 1 is the flow chart of methods of exhibiting first embodiment on document line of the present invention based on browser;
Fig. 2 is the flow chart of methods of exhibiting second embodiment on document line of the present invention based on browser;
Fig. 3 is the flow chart of methods of exhibiting 3rd embodiment on document line of the present invention based on browser;
Fig. 4 is the module diagram of the embodiment of exhibiting device one on document line of the present invention based on browser;
Fig. 5 is the module diagram of modular converter in Fig. 4;
Fig. 6 is the module diagram of display module in Fig. 4;
Fig. 7 is the module diagram of the embodiment of display systems one on document line of the present invention based on browser.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is refer to, methods of exhibiting first embodiment on document line of the present invention based on browser is described based on browser Document line on methods of exhibiting comprise the following steps:
Step S100, when having monitored that document is uploaded onto the server, calls the first document switching software by the document Be converted to SWF format files.Wherein it is possible to be detected by when server preserves the document, it is also possible to by checking server Storage content detect.SWF format files are also generally referred to as Flash file, are a kind of support vector and dot pattern Animation File Format.With scale it is undistorted, file size is small the features such as.SWF format files can be broadcast by Multimedia Program Put device Adobe Flash Player softwares opening, it is also possible to open by FlexPaper softwares.
Step S101, is receiving when reading the read request of the document by browser of client transmission, by institute SWF format files are stated to send to client.
The present embodiment, the document uploaded onto the server by monitoring, and be converted to SWF documents, then work as client request During online reading, SWF documents can be fed back;If desired download, then can be downloaded by the source file of request server.Cause This, after this programme has upload document, all working is automatically performed by server, is reduced manpower and is participated in;Needing online reading Resource is taken during SWF documents less;While the original pattern of document can be kept to show online, it is also convenient for user and downloads document source File is preserved.
Fig. 2 is refer to, the present invention is based on methods of exhibiting second embodiment on the document line of browser, and the present embodiment is with first Based on embodiment, to wherein the step of S100 illustrated.It is specific as follows:
Step S200, has monitored that document is uploaded onto the server;
Step S201, judges whether the document is portable document format PDF document.If so, then performing step S202; If it is not, then performing step S203.
Step S202, calls the first document switching software that the document is converted into SWF format files;Then step is performed S205;
Step S203, calls the second document switching software that the document is converted into PDF document;Then step is performed S204;
Step S204, calls the first document switching software that the PDF document is converted into SWF format files.
Step S205, S101 is identical the step of with first embodiment, will not be repeated here.
The present embodiment, by converting document to PDF document, is then then converted to SWF documents, then can have guarantor higher Original form of document is held, and is easy to the light-weight design of document switching software.
For example, it is preferable to:
The first document switching software uses SWFTools softwares;The second document switching software is used OpenOffice softwares.The two softwares have stability and efficiency very high in conversion.Further, it is described based on clear Methods of exhibiting on the document line of device of looking at runs on the server of Linux system;The first document is called to turn by way of order line Change software and the second document switching software;Due to calling by the way of using linux and by order line, therefore this programme has Occupancy resource is less, it is more stable and efficient to run.
Fig. 3 is refer to, the present invention is based on methods of exhibiting 3rd embodiment on the document line of browser, and the present embodiment is with first Based on embodiment, to wherein the step of S100 and step S101 illustrated.It is specific as follows:
Step S300, calls the first document switching software that every one page of the document is respectively converted into a SWF form Document.
Step S301, receives the read request that the document is read by browser that client sends;
Step S302, obtains the SWF format files corresponding to the specified page number in the read request;
Step S303, the corresponding SWF format files are sent to client.
The present embodiment, a SWF format file is all converted to by by every one page of document, then can online please in user When asking reading, the target page number of the transferring documents of flow is quickly searched and saved.User can be turned over by operating client Page, and the content of one page under document is obtained, the content can come from server and send as requested and newly, it is also possible to from before The client for sending and being cached in user outside request in advance is local.
Refer to Fig. 4, the embodiment of exhibiting device one on a kind of document line based on browser of the present invention is described based on browsing Exhibiting device includes on the document line of device:
Monitoring module 100, for having monitored whether that document is uploaded onto the server;Wherein it is possible to be preserved by server Detected during the document, it is also possible to detected by checking the storage content of server.
Modular converter 200, for when the monitoring module 100 has monitored that document is uploaded onto the server, calling first The document is converted to SWF format files by document switching software;Wherein, SWF format files are also generally referred to as Flash texts Part, is the Animation File Format of a kind of support vector and dot pattern.With scale it is undistorted, file size is small the features such as.SWF Format file can be opened by Multimedia Program player Adobe Flash Player softwares, it is also possible to be passed through FlexPaper softwares are opened.
Display module 300, for receiving the read request that the document is read by browser of client transmission When, the SWF format files are sent to client.
The present embodiment, the document uploaded onto the server by monitoring, and be converted to SWF documents, then work as client request During online reading, SWF documents can be fed back;If desired download, then can be downloaded by the source file of request server.Cause This, after this programme has upload document, all working is automatically performed by server, is reduced manpower and is participated in;Needing online reading Resource is taken during SWF documents less;While the original pattern of document can be kept to show online, it is also convenient for user and downloads document source File is preserved.
Refer to Fig. 5, it is preferred that the modular converter 200 is specifically included:
Judging unit 201, for judging whether the document is portable document format PDF document.
First converting unit 202, if being judged to it is to call the first document switching software for the judging unit 201 The document is converted into SWF format files.
Second converting unit 203, if being judged to for the judging unit 201 no, calls the second document switching software The document is converted into PDF document, then calls the first document switching software described by first converting unit 202 PDF document is converted to SWF format files.
The present embodiment, by converting document to PDF document, is then then converted to SWF documents, then can have guarantor higher Original form of document is held, and is easy to the light-weight design of document switching software.
For example, it is preferable to:
The first document switching software uses SWFTools softwares;The second document switching software is used OpenOffice softwares.The two softwares have stability and efficiency very high in conversion.Further, it is described based on clear Methods of exhibiting on the document line of device of looking at runs on the server of Linux system;The first document is called to turn by way of order line Change software and the second document switching software;Due to calling by the way of using linux and by order line, therefore this programme has Occupancy resource is less, it is more stable and efficient to run.
Preferably, first converting unit 202 calls the first document switching software to convert document to SWF format files The step of specifically include:
Call the first document switching software that every one page of the document is respectively converted into a SWF format file.
Fig. 6 is refer to, the display module 300 includes:
Page number unit 301, for obtaining the SWF format files corresponding to the specified page number in the read request.
Transmitting element 302, for the corresponding SWF format files to be sent to client.
The present embodiment, a SWF format file is all converted to by by every one page of document, then can online please in user When asking reading, the target page number of the transferring documents of flow is quickly searched and saved.User can be turned over by operating client Page, and the content of one page under document is obtained, the content can come from server and send as requested and newly, it is also possible to from before The client for sending and being cached in user outside request in advance is local.
Refer to Fig. 7, the embodiment of display systems one on a kind of document line based on browser of the present invention is described based on browsing Display systems 1000 on the document line of device, including server 1100 and client 1200, the server 1100 are provided with above-mentioned Exhibiting device on document line based on browser.
The client 1200 includes the browser with FlexPaper, is used to so that browser is aobvious by FlexPaper Show SWF format files.
The present embodiment, can allow the documents such as word, excel, ppt, txt, pdf, in the case where original pattern is kept, lead to Cross server to edit automatically, client is automatic in browser end displaying when SWF format files are received, and is greatly saved work Measure, and improve Consumer's Experience.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile terminal, calculate Machine, server 1100, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. methods of exhibiting on a kind of document line based on browser, it is characterised in that opened up on the document line based on browser Show that method comprises the following steps:
When having monitored that document is uploaded onto the server, call the first document switching software that the document is converted into SWF forms Document;
When reading the read request of the document by browser of client transmission is being received, by the SWF format files Send to client.
2. methods of exhibiting on the document line based on browser as claimed in claim 1, described to call the first document switching software The step of document is converted into SWF format files specifically includes:
Judge whether the document is portable document format PDF document;
If so, then calling the first document switching software that the document is converted into SWF format files;
If it is not, then calling the second document switching software that the document is converted into PDF document, the first document switching software is recalled The PDF document is converted into SWF format files.
3. methods of exhibiting on the document line based on browser as claimed in claim 1 or 2, it is characterised in that described to call the The step of one document switching software converts document to SWF format files specifically includes:
Call the first document switching software that every one page of the document is respectively converted into a SWF format file.
4. it is as claimed in claim 3 to be based on methods of exhibiting on the document line of browser, it is characterised in that described by the SWF The step of format file is sent to client includes:
Obtain the SWF format files corresponding to the specified page number in the read request;
The corresponding SWF format files are sent to client.
5. it is as claimed in claim 2 to be based on methods of exhibiting on the document line of browser, it is characterised in that first document turns Software is changed using SWFTools softwares;The second document switching software uses OpenOffice softwares;
Methods of exhibiting runs on the server of Linux system on the document line based on browser;By way of order line Call the first document switching software and the second document switching software.
6. exhibiting device on a kind of document line based on browser, it is characterised in that opened up on the document line based on browser Showing device includes:
Monitoring module, for having monitored whether that document is uploaded onto the server;
Modular converter is soft for when the monitoring module has monitored that document is uploaded onto the server, calling the first document to change The document is converted to SWF format files by part;
Display module, for receiving when reading the read request of the document by browser of client transmission, by institute SWF format files are stated to send to client.
7. as claimed in claim 6 to be based on exhibiting device on the document line of browser, the modular converter is specifically included:
Judging unit, for judging whether the document is portable document format PDF document;
First converting unit, if being judged to it is to call the first document switching software by the document for the judging unit Be converted to SWF format files;
Second converting unit, if being judged to for the judging unit no, calls the second document switching software by the document PDF document is converted to, then calls the first document switching software to be converted to the PDF document by first converting unit SWF format files.
8. exhibiting device on the document line based on browser as claimed in claims 6 or 7, it is characterised in that described first turn Change the step of cell call the first document switching software converts document to SWF format files and specifically include:
Call the first document switching software that every one page of the document is respectively converted into a SWF format file;
The display module includes:
Page number unit, for obtaining the SWF format files corresponding to the specified page number in the read request;
Transmitting element, for the corresponding SWF format files to be sent to client.
9. it is as claimed in claim 7 to be based on exhibiting device on the document line of browser, it is characterised in that first document turns Software is changed using SWFTools softwares;The second document switching software uses OpenOffice softwares;
Methods of exhibiting runs on the server of Linux system on the document line based on browser;By way of order line Call the first document switching software and the second document switching software.
10. a kind of display systems on document line based on browser, including server and client side, it is characterised in that the clothes Business device is provided with exhibiting device on the document line based on browser as described in any one of claim 6 to 9;
The client includes the browser with FlexPaper, is used to so that browser shows SWF lattice by FlexPaper Formula document.
CN201710108963.7A 2017-02-27 2017-02-27 Methods of exhibiting, device and system on document line based on browser Withdrawn CN106776506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710108963.7A CN106776506A (en) 2017-02-27 2017-02-27 Methods of exhibiting, device and system on document line based on browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710108963.7A CN106776506A (en) 2017-02-27 2017-02-27 Methods of exhibiting, device and system on document line based on browser

Publications (1)

Publication Number Publication Date
CN106776506A true CN106776506A (en) 2017-05-31

Family

ID=58959304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710108963.7A Withdrawn CN106776506A (en) 2017-02-27 2017-02-27 Methods of exhibiting, device and system on document line based on browser

Country Status (1)

Country Link
CN (1) CN106776506A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191418A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and computer storage medium
CN113204639A (en) * 2021-05-21 2021-08-03 珠海金山网络游戏科技有限公司 Document online playing method and device, computing device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254005A (en) * 2011-07-15 2011-11-23 苏州阔地网络科技有限公司 Method for transforming and displaying document on webpage
CN104035937A (en) * 2013-03-07 2014-09-10 方正国际软件(北京)有限公司 Extensible system and method for electronic document online browsing
CN104156341A (en) * 2014-07-31 2014-11-19 武钢集团昆明钢铁股份有限公司 Online reading system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254005A (en) * 2011-07-15 2011-11-23 苏州阔地网络科技有限公司 Method for transforming and displaying document on webpage
CN104035937A (en) * 2013-03-07 2014-09-10 方正国际软件(北京)有限公司 Extensible system and method for electronic document online browsing
CN104156341A (en) * 2014-07-31 2014-11-19 武钢集团昆明钢铁股份有限公司 Online reading system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191418A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and computer storage medium
CN111191418B (en) * 2019-12-06 2024-01-12 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and computer storage medium
CN113204639A (en) * 2021-05-21 2021-08-03 珠海金山网络游戏科技有限公司 Document online playing method and device, computing device and readable storage medium
CN113204639B (en) * 2021-05-21 2023-07-18 珠海金山数字网络科技有限公司 Document online playing method and device, computing equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US8027293B2 (en) Communication channel selection and use
CN110688595B (en) File online preview method, device, equipment and storage medium
US20090163189A1 (en) Web content distribution to personal cellular telecommunications devices
CN105205174B (en) Document handling method and device for distributed system
CN102158819B (en) For mobile device display E-mail processing method, server and mobile device
US9681332B2 (en) Compression configuration identification
US8140108B2 (en) Website theme changing using a mobile device
US9253182B1 (en) Web document transfers
CN101930439B (en) The Website processing device of the various model mobile phone of a kind of adaptation and application thereof
CN103605534A (en) Method and device for loading pictures
US20180293987A1 (en) Speech recognition method, device and system based on artificial intelligence
CN104935666A (en) Method and system for watching PDF file with mobile terminal
CN103095801B (en) A kind ofly apply the method and apparatus that browser processes resource automatically
US8554792B1 (en) Method and system for providing contents available on the internet to mobile handset
CN106776506A (en) Methods of exhibiting, device and system on document line based on browser
EP1940097A1 (en) Messaging method and server
CN107454136B (en) Calculation unloading method and device based on end-to-end P2P and control equipment
CN105530290A (en) Device and method for downloading application installation package
CN103825912A (en) Data transmission method, electronic device and server
CN102129394A (en) Distributed computation method and system thereof
CN103188327A (en) Method and system of file transfer
CN102110144B (en) Document access method and terminal equipment
CN111400630A (en) Resource preloading method and related equipment
US8942182B2 (en) Adjustable download rate for a portable electronic device
CN110995577A (en) Multi-channel adaptation method and device for message and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170531

WW01 Invention patent application withdrawn after publication