CN102164147A - Method and system for converting document into picture in on-line manner - Google Patents
Method and system for converting document into picture in on-line manner Download PDFInfo
- Publication number
- CN102164147A CN102164147A CN2011101069388A CN201110106938A CN102164147A CN 102164147 A CN102164147 A CN 102164147A CN 2011101069388 A CN2011101069388 A CN 2011101069388A CN 201110106938 A CN201110106938 A CN 201110106938A CN 102164147 A CN102164147 A CN 102164147A
- Authority
- CN
- China
- Prior art keywords
- document
- picture
- user
- communication server
- authority
- 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and system for converting a document into a picture in on-line manner, and the method and system provided by the invention are applied to the technical field of networks. The method comprises the following steps: using a communication server to authenticate the received authority for sending the document of a user; after the authentication is successful, authenticating the authority for receiving the picture converted from the document of a browser; and after the authentication is successful, sending the picture to the browser. By using the method and system provided by the invention, the operation of converting the document into picture and the information security are realized without downloading and installing software.
Description
Technical field
The invention belongs to networking technology area, relate in particular to a kind of online method and system that document are converted to picture that realize.
Background technology
In using the process of computer, we almost come into contacts with different documents every day, such as checking Word,, documents such as PPT, Excel, PDF, CHM and TXT.For computer user, the essential condition of checking different document is that the corresponding client software of the document must be installed on terminal computer at present.Therefore, this just requires the user to install large quantities of on the computer of oneself and the sizable relative program of capacity, has just reached 791MB as Office2010, has occupied a large amount of capacity of local computing.And, when calling the software reading documents of local computing desktop, to face network security problem inevitably, as local computing virus is arranged, so, can not ensure the safety of these documents.
Now, network hard disc and E-mail address are very in vogue.But the network user needs the file in network hard disc or the E-mail address is downloaded to local computing at every turn, could read after the use client software is opened, and is very not convenient and dangerous.For the user, a lot of processes is preview these documents once in fact.Yet these preview processes are very loaded down with trivial details.In addition, owing to reason such as going on business, the network user need reinstall software again in case of changing the situation of computer, very inconvenience.If can the online reading document, will greatly promote the user experience of network hard disc and E-mail address and strengthen internet security.In addition, the existing network teleconference, every of attending a meeting computer all must be installed corresponding client document ocr software, otherwise the document demo function of Web conference just can not be realized.The deficiency of this respect has seriously hindered the popularization on a large scale of the network teleconference.So people have just had and need not to download and install any software, once opening the tight demand that webpage can realize that document is read.
In addition, obtaining of existing information is passive often, does not authenticate control effectively, causes potential safety hazard easily.
Summary of the invention
In view of the defective that above-mentioned prior art exists, main purpose of the present invention is to propose a kind of the realization online document to be converted to the method and system of picture, has realized need not to download the authentication control that any control can realize document is converted to picture and information.
Main purpose of the present invention will be achieved by the following technical programs:
A kind of realization onlinely is converted to the method for picture with document, comprises the steps:
The authority that communication server sends document to the user who receives authenticates and after authentication is passed through, and the authority that browser is received the picture that described document changes into authenticates and after authentication is passed through, described picture is sent to described browser.
A kind of realization onlinely is converted to the system of picture with document, comprises user, communication server, and browser, wherein:
The authority that communication server sends document to the user who receives authenticates and after authentication is passed through, and the authority that browser is received the picture that described document changes into authenticates and after authentication is passed through, described picture is sent to described browser.
Main purpose of the present invention is to propose a kind of the realization online document to be converted to the method and system of picture, has realized need not to download the authentication control that any control can realize document is converted to picture and information.
Description of drawings
Fig. 1 a kind ofly among the embodiment one realizes the online flow chart that document is converted to the method for picture;
Embodiment
Embodiment one
As shown in Figure 1, specific embodiments of the invention are a kind of to be realized online document being converted to the method for picture, specifically comprises the steps:
Step 101:The user opens webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit is set up with communication server and forever is connected, and begins to monitor described communication server transfer of data.
Technique scheme specifically comprises following process:
The user opens webpage, and webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up by the XMLSocket class and is connected with the permanent of communication server, and begins to monitor the transfer of data of communication server.
Step 102:Call described Flash card i/f and import user's document waiting for transmission into, described then Flash plug-in unit calls API(Application Programming Interface, application programming interface) described document is sent to communication server.
Technique scheme specifically comprises following process:
(2a) described source user is selected the webpage of document waiting for transmission to login;
(2b) described webpage calls described Flash card i/f and imports user's document waiting for transmission into;
After (2c) described Flash plug-in unit received document, the method for call XML Socket class sent to communication server with document.
Step 103:After communication server receives document, authenticate, authentication includes but not limited to: authenticating user identification, data command purview certification (whether the user has the authority that sends document), the operated target purview certification of user instruction (the authority whether document that the user sends can access browser), communication server are to browser instructions purview certification (whether browser has the authority that receives the document that the user sends), after all authentications were passed through, described communication server sent to third party's program with document.
Technique scheme specifically comprises following process:
After (3a) described communication server receives document, user identity is authenticated, promptly whether the user is the validated user that communication server is discerned, if authentication is not passed through, then simultaneous operation is ended; If authentication is passed through, proceed next step authentication;
(3b) user's data instruction authority is authenticated, promptly whether the user has that the authority that sends document authenticates if authentication is not passed through, then simultaneous operation termination; If authentication is passed through, then proceed next step authentication;
(3c) the operated target of user instruction is carried out purview certification, promptly whether the user has the authority that document is sent to browser, if authentication is not passed through, then simultaneous operation is ended; If authentication is passed through, then proceed next step authentication;
(3d) communication server is to the browser instructions purview certification, promptly whether browser had the authority that receives the document that the user sends and authenticates, if authentication is not passed through, then simultaneous operation is ended; After authentication was passed through, described communication server was sent to third party's program with described document;
(3e) described communication server is saved in described document path in the variable;
(3f) described communication server is formed a character string with the path and the document path of described third party's program;
(3g) described communication server end call function exec(), and with described character string move described third party's program as the mode of parameter operation.
Step 104:Described third party's program changes into picture with described document, and described picture is named in proper order according to the page number in the described document according to information such as parameter of obtaining and documents, total number of the described picture that described third party's program output generates.
Technique scheme specifically comprises following process:
(4a) described third party's program is obtained the parameter in the order line;
(4b) from described parameter, obtain described document path;
(4c) open corresponding document, and described document is changed into picture according to the document path;
The described picture that (4d) will generate is installed the page number corresponding in the document and is named in proper order;
(4e) described third party's program is exported total number of described picture.
Step 105:Described server is caught the output string of described third party's program, and according to the numerical value of described character string, all pictures of circulation output are to browser.
Technique scheme specifically comprises following process:
(5a) described communication server is caught total number of the described picture of described third party's program output;
(5b) number of times of the described total number of circulation, and one by one described picture is outputed to described browser.
Embodiment two
Specific embodiments of the invention are a kind of to be realized online document being converted to the system of picture, comprises user, communication server, and browser, wherein:
The authority that communication server sends document to the user who receives authenticates and after authentication is passed through, and the authority that browser is received the picture that described document changes into authenticates and after authentication is passed through, described picture is sent to described browser.
Preferably, before the authority of the document that communication server sends the user who receives authenticates, comprise that also the identity to described user authenticates.
Preferably, the authority of the document that communication server sends the user who receives authenticates and after authentication is passed through, also to the operated target purview certification of described user instruction, promptly the picture that changes into of the described document that described user the is sent authority that whether can visit described browser authenticates.
Introduce the operation principle of present embodiment below with reference to the accompanying drawings in detail:
The user opens webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit is set up with communication server and forever is connected, and begins to monitor described communication server transfer of data.
Call described Flash card i/f and import user's document waiting for transmission into, described then Flash plug-in unit calls API(Application Programming Interface, application programming interface) described document is sent to communication server.
After communication server receives document, authenticate, authentication includes but not limited to: authenticating user identification, data command purview certification (whether the user has the authority that sends document), the operated target purview certification of user instruction (the authority whether document that the user sends can access browser), communication server are to browser instructions purview certification (whether browser has the authority that receives the document that the user sends), after all authentications were passed through, described communication server sent to third party's program with document.
Described third party's program changes into picture with described document, and described picture is named in proper order according to the page number in the described document according to information such as parameter of obtaining and documents, total number of the described picture that described third party's program output generates.
Described communication server obtains the output string of described third party's program, and according to the numerical value of described character string, all pictures of circulation output are to browser.
Compared with prior art, beneficial effect of the present invention is:
(1) online document is read, and has satisfied the user demand that huge software just can be checked document all the elements needn't be installed; (2) the online combination that document is converted to the technical method of picture and webpage version video conference (especially white boarding) is very easy to, and has greatly strengthened the user experience of the network teleconference, has promoted the commercial value of webpage version video conference; (3) online office document is read the network security that has guaranteed document to greatest extent; (4) server carries out the strictness authentication to authority, guarantees safety of data, and the user is not subjected to the interference of extraneous information.
The present invention still has multiple concrete execution mode, and all employings are equal to replacement or equivalent transformation and all technical schemes of forming, all drop within the scope of protection of present invention.
Claims (10)
1. realize online document being converted to the method for picture for one kind, it is characterized in that:
The authority that communication server sends document to the user who receives authenticates and after authentication is passed through, and the authority that browser is received the picture that described document changes into authenticates and after authentication is passed through, described picture is sent to described browser.
2. method according to claim 1 is characterized in that: before the authority of the document that communication server sends the user who receives authenticates, comprise that also the identity to described user authenticates.
3. method according to claim 1, it is characterized in that: the authority of the document that communication server sends the user who receives authenticates and after authentication is passed through, also to the operated target purview certification of described user instruction, promptly the picture that changes into of the described document that described user the is sent authority that whether can visit described browser authenticates.
4. method according to claim 1, it is characterized in that: communication server obtains before the document, also comprise: the user opens webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described communication server and forever is connected, and described Flash plug-in unit begins to monitor the transfer of data of described communication server.
5. method according to claim 4 is characterized in that: call the application programming interface API of described Flash plug-in unit, described document is sent to described communication server.
6. method according to claim 5 is characterized in that: described browser is received before the described picture, also comprised: the described document that described communication server will receive transfers to third party's program.
7. method according to claim 6 is characterized in that: described third party's program changes into picture with described document, and described picture is returned to described communication server; Described communication server transfers to browser with described picture.
8. realize online document being converted to the system of picture for one kind, it is characterized in that: comprise user, communication server,, and browser, wherein:
The authority that communication server sends document to the user who receives authenticates and after authentication is passed through, and the authority that browser is received the picture that described document changes into authenticates and after authentication is passed through, described picture is sent to described browser.
9. system according to claim 8 is characterized in that:
Before the authority of the document that communication server sends the user who receives authenticates, comprise that also the identity to described user authenticates.
10. system according to claim 9 is characterized in that:
The authority of the document that communication server sends the user who receives authenticates and after authentication is passed through, also to the operated target purview certification of described user instruction, promptly the picture that changes into of the described document that described user the is sent authority that whether can visit described browser authenticates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101069388A CN102164147A (en) | 2011-04-27 | 2011-04-27 | Method and system for converting document into picture in on-line manner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101069388A CN102164147A (en) | 2011-04-27 | 2011-04-27 | Method and system for converting document into picture in on-line manner |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102164147A true CN102164147A (en) | 2011-08-24 |
Family
ID=44465121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101069388A Pending CN102164147A (en) | 2011-04-27 | 2011-04-27 | Method and system for converting document into picture in on-line manner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102164147A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388659A (en) * | 2018-03-07 | 2018-08-10 | 京东方科技集团股份有限公司 | A kind of file browsing method and device |
CN110609814A (en) * | 2019-09-26 | 2019-12-24 | 珠海格力电器股份有限公司 | Document online browsing method, storage medium and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090251597A1 (en) * | 2008-03-25 | 2009-10-08 | Fujitsu Limited | Content conversion device |
CN101872364A (en) * | 2010-07-02 | 2010-10-27 | 苏州阔地网络科技有限公司 | Method for converting document into picture on line |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
-
2011
- 2011-04-27 CN CN2011101069388A patent/CN102164147A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090251597A1 (en) * | 2008-03-25 | 2009-10-08 | Fujitsu Limited | Content conversion device |
CN101872364A (en) * | 2010-07-02 | 2010-10-27 | 苏州阔地网络科技有限公司 | Method for converting document into picture on line |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388659A (en) * | 2018-03-07 | 2018-08-10 | 京东方科技集团股份有限公司 | A kind of file browsing method and device |
CN110609814A (en) * | 2019-09-26 | 2019-12-24 | 珠海格力电器股份有限公司 | Document online browsing method, storage medium and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106682028B (en) | Method, device and system for acquiring webpage application | |
CN111580820B (en) | Applet generation method and device | |
CN108804906B (en) | System and method for application login | |
CN111160845B (en) | Service processing method and device | |
US8847729B2 (en) | Just in time visitor authentication and visitor access media issuance for a physical site | |
US20190273732A1 (en) | Custom authenticator for enterprise web application | |
CN108712372B (en) | Method and system for accessing WEB third party login by client | |
CN112039826B (en) | Login method and device applied to applet end, electronic equipment and readable medium | |
CN107257372B (en) | Method for supporting communication between multiple browsers and local application program | |
EP2897339B1 (en) | Information processing system and authentication method | |
CN105162774B (en) | Virtual machine entry method, the virtual machine entry method and device for terminal | |
CN104683297A (en) | Resource access method and device, server and terminal | |
CN103888408A (en) | Method for uploading data to social networking platform and device thereof | |
CN115022047B (en) | Account login method and device based on multi-cloud gateway, computer equipment and medium | |
CN111191200B (en) | Three-party linkage authentication page display method and device and electronic equipment | |
CN114567600B (en) | Traffic management method and related equipment | |
CN102412969B (en) | Method for carrying out authentication by remotely using certificate and secret key, apparatus and system thereof | |
CN104639421A (en) | Instant communication information processing method and instant communication information processing system based on intelligent television | |
CN110650014B (en) | Signature authentication method, system, equipment and storage medium based on hessian protocol | |
CN102164147A (en) | Method and system for converting document into picture in on-line manner | |
CN102137044A (en) | Method and system for safely interacting group information based on community platform | |
CN113992446B (en) | Cross-domain browser user authentication method, system and computer storage medium | |
US11750586B2 (en) | Techniques to pre-authenticate a user identity for an electronic account | |
CN113765876B (en) | Report processing software access method and device | |
WO2019097258A1 (en) | Device authorization systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110824 |