CN105740657A - On-line browsing method and device of file - Google Patents

On-line browsing method and device of file Download PDF

Info

Publication number
CN105740657A
CN105740657A CN201610050910.XA CN201610050910A CN105740657A CN 105740657 A CN105740657 A CN 105740657A CN 201610050910 A CN201610050910 A CN 201610050910A CN 105740657 A CN105740657 A CN 105740657A
Authority
CN
China
Prior art keywords
sections
chapters
target
file
picture
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
Application number
CN201610050910.XA
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.)
Tangshan Xinzhidian Technology Co Ltd
Original Assignee
Tangshan Xinzhidian 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 Tangshan Xinzhidian Technology Co Ltd filed Critical Tangshan Xinzhidian Technology Co Ltd
Priority to CN201610050910.XA priority Critical patent/CN105740657A/en
Publication of CN105740657A publication Critical patent/CN105740657A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/101Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities
    • G06F21/1015Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities to users
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an embodiment of an on-line browsing method of a file. The embodiment is applied to a server. After the server receives a browsing request, which is sent from a client side, of a certain chapter of a certain file, a chapter identifier is extracted in the browsing request of the chapter, a picture corresponding to the chapter identifier is searched in a preset picture library, and the searched picture is returned to the client side for the client side to display, wherein the picture is converted from the file page of the chapter in the file. Obviously, the embodiment can realize a purpose that a user browses the file on line, the browsed file is converted into the file of a picture format, and the file of the picture format can effectively prevent character contents from being copied so as to avoid the spreading of the file. In addition, the invention also provides an on-line browsing method, which is applied to the client side, of the file, the on-line browsing device, which is applied to the server, of the file, and an on-line browsing device, which is applied to the client side, of the file.

Description

File online browse method and device
Technical field
The application relates to file processing technology field, more specifically, be file online browse method and device.
Background technology
At present, user can pass through the client online browse files such as mobile phone.Specifically, the user end to server such as mobile phone sends browse request, and the file of document format is returned to the clients such as mobile phone by server, shows for client.
But, the file that in this kind of browsing mode, client obtains is document format, and content is easily replicated thus causing the propagation on a large scale of file.
Summary of the invention
In view of this, this application provides a kind of file online browse method being applied in server, in order to realize.It addition, present invention also provides the file online browse method being applied in client.It addition, present invention also provides the file online browse device being applied in server and the file online browse device being applied in client, in order to ensure the application in practice of described method and realization respectively.
For realizing described purpose, the technical scheme that the application provides is as follows:
The application first aspect provides file online browse method, is applied to server, and the method includes
If receiving the chapters and sections browse request of the file destination that client sends, from described chapters and sections browse request, extract target chapters and sections mark;Wherein, described file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library;
In described default picture library, search the Target Photo that described target chapters and sections mark is corresponding;
Described Target Photo is returned described client, displays for described client.
The application second aspect provides file online browse method, is applied to client, and described client shows the bibliographic structure of file destination, and described bibliographic structure includes multiple chapters and sections, and the method includes:
In multiple chapters and sections of described bibliographic structure, the operation of target chapters and sections is selected, it is determined that the target chapters and sections mark that described target chapters and sections are corresponding in response to user;
Described target chapters and sections mark is included in chapters and sections browse request and sends to server;
If receiving the Target Photo that described server returns, show the first pictures in described Target Photo;Wherein, described Target Photo is the picture that server arrives according to described target chapters and sections identifier lookup.
The third aspect of the application provides file online browse device, is applied to server, and this device includes
Chapters and sections marker extraction module, if for the chapters and sections browse request receiving the file destination that client sends, extracts target chapters and sections mark from described chapters and sections browse request;Wherein, described file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library;
Target Photo searches module, for, in described default picture library, searching the Target Photo that described target chapters and sections mark is corresponding;
Target Photo returns module, for described Target Photo is returned described client, displays for described client.
The fourth aspect of the application provides file online browse device, is applied to client, and described client shows the bibliographic structure of file destination, and described bibliographic structure includes multiple chapters and sections, and this device includes:
Chapters and sections mark determines module, for selecting the operation of target chapters and sections in multiple chapters and sections of described bibliographic structure in response to user, it is determined that the target chapters and sections mark that described target chapters and sections are corresponding;
Chapters and sections mark sending module, sends to server for described target chapters and sections mark being included in chapters and sections browse request;
First pictures display module, if for receiving the Target Photo that described server returns, showing the first pictures in described Target Photo;Wherein, described Target Photo is the picture that server arrives according to described target chapters and sections identifier lookup.
From above technical scheme, this application provides a kind of file online browse embodiment of the method, the present embodiment is applied on the server, server receive that client sends to after the browse request of certain chapters and sections of certain file, the browse request of these chapters and sections is extracted chapters and sections mark, and in default picture library, search the picture that these chapters and sections mark is corresponding, picture is the picture that the file page of these chapters and sections in this document is converted into, and the picture that will find returns client, shows for client.Visible, the present embodiment can realize user's online browse file, and the file browsed is the file after being converted into picture format, and the file of picture format can effectively prevent word content to be replicated, thus avoiding the propagation of file.
Certainly, the arbitrary product implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments herein, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of the file online browse embodiment of the method 1 being applied in server that Fig. 1 provides for the application;
The flow chart of the file online browse embodiment of the method 2 being applied in server that Fig. 2 provides for the application;
The partial process view of the file online browse embodiment of the method 3 being applied in server that Fig. 3 provides for the application;
The flow chart of the file online browse embodiment of the method 1 being applied in client that Fig. 4 provides for the application;
The structural representation of the file online browse device embodiment 1 being applied in server that Fig. 5 provides for the application;
The structural representation of the file online browse device embodiment 1 being applied in client that Fig. 6 provides for the application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of the application protection.
Referring to Fig. 1, it illustrates the flow process of the file online browse embodiment of the method 1 that the application provides.The present embodiment is applied on the server, and server-side is previously provided with picture library, and this picture library is properly termed as default picture library.
Preset that what preserve in picture library is the picture after the file page of file converts.Specifically, file includes some chapters and sections, and each chapters and sections are made up of some file pages, before enforcement, each file page is converted into picture and is saved in the word content in default picture library, in the content of picture and file page.Such as, certain file comprises 3 chapters and sections, and each chapters and sections comprise 5 file pages, then 15 file pages are converted into 15 pictures and are saved in default picture library.
It should be noted that a default picture library can only preserve the picture of a file translations, or, a default picture library can preserve the picture of multiple file translations.
Such as Fig. 1, the present embodiment can specifically include step S101~step S103.
Step S101: if receiving the chapters and sections browse request of the file destination that client sends, extracts target chapters and sections mark from chapters and sections browse request;Wherein, file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library.
Wherein, client can send the chapters and sections browse request of certain file to server, comprises the chapters and sections mark of certain chapters and sections of this document in chapters and sections browse request.Chapters and sections browse request represents that client request browses the content of certain chapters and sections of certain file.For the ease of describing, this document is called file destination, these chapters and sections mark is called that target chapters and sections identify.Certainly, the file page of file destination has been converted into picture and is saved in default picture library.
After server receives the chapters and sections browse request that client sends, therefrom extract target chapters and sections mark, and perform step S102.
Step S102: in default picture library, searches the Target Photo that target chapters and sections mark is corresponding.
Wherein, if each default picture library only preserves the picture after a file translations, then the default picture library that whois lookup file destination is corresponding, in this default picture library, search the picture that the target chapters and sections mark of this file destination is corresponding.If including the picture after multiple file translations in default picture library, then server needs in default picture library, picture that is that search file destination conversion and that be target chapters and sections mark correspondence.For the ease of describe, by whois lookup to picture be called Target Photo.
The Target Photo corresponding in order to search target chapters and sections mark, it is necessary to pre-set the corresponding relation between chapters and sections mark and picture.
Wherein, this corresponding relation can be the corresponding relation between the first pictures of the chapters and sections of chapters and sections mark and the mark expression of these chapters and sections.Such as, certain chapters and sections is designated 1.1, and what these chapters and sections mark represented is chapter 1 first segment, chapter 1, first segment comprises 5 file pages, thus, these chapters and sections comprise 5 pictures in default picture library, and corresponding relation can be the corresponding relation of the first pictures in chapters and sections mark 1.1 and 5 pictures.
Or, this corresponding relation can also be the corresponding relation between whole pictures of the chapters and sections of chapters and sections mark and the mark expression of these chapters and sections.Still being designated example with above-mentioned chapters and sections, the corresponding relation of this kind of form is, the corresponding relation of chapters and sections mark 1.1 and 5 pictures.
In force, multi-form corresponding relation, then the Target Photo found is also different.In the first corresponding relation above-mentioned, the Target Photo found is the first pictures that the chapters and sections that these chapters and sections mark represents comprise, and in the second corresponding relation, the Target Photo of lookup is whole pictures that the chapters and sections that these chapters and sections mark represents comprise.The Target Photo quantity found is different, has different implementation results, describes in detail more below, does not repeat herein.
Step S103: Target Photo is returned client, displays for client.
Wherein, Target Photo previous step found returns to client, and client can be shown to user, it is achieved the online browse of user.
From above technical scheme, this application provides a kind of file online browse embodiment of the method, the present embodiment is applied on the server, server receive that client sends to after the browse request of certain chapters and sections of certain file, the browse request of these chapters and sections is extracted chapters and sections mark, and in default picture library, search the picture that these chapters and sections mark is corresponding, picture is the picture that the file page of these chapters and sections in this document is converted into, and the picture that will find returns client, shows for client.Visible, the present embodiment can realize user's online browse file, and the file browsed is the file after being converted into picture format, and the file of picture format can effectively prevent word content to be replicated, thus avoiding the propagation of file.
File destination in above file online browse embodiment of the method can be but not limited to normative document, normative document is usually to instruct or certain industry behavior of specification and the file formulated, such as, " marine wind electric field steel structure anti-corrosion technical specification " defines anticorrosive measure, anticorrosion requirement, inspection and acceptance criteria etc..And for example, " power engineering construction project safety in production standard convention and rating scale up to standard " defines the Safety Production Target of power engineering construction project, organization and responsibility, safety in production input, laws and regulations and safety management system, emergency management and rescue, accident report investigation and process etc..
By the explanation of above step S102 it can be seen that chapters and sections mark is different from the corresponding relation of picture, then the picture number returning to client also differs.If according to corresponding relation, for client return is that chapters and sections identify corresponding first pictures, owing to the picture number returned is less, the duration expended is shorter, then client can get first pictures quickly, and displays in time, the waiting time of user, better user experience can be reduced.If after user has browsed first pictures, it is desirable to continue to check follow-up picture, it is possible to by page turn over operation, to the picture that server request is follow-up.Further, generally, user needs only to check the content of certain chapters and sections previous section, without the content of the aft section browsing these chapters and sections, therefore, and the wasting of resources that this kind of mode can avoid the whole pictures returning these chapters and sections to cause.
If according to corresponding relation, what return for client is whole pictures of the chapters and sections that chapters and sections mark represents, then can reduce user end to server and send the number of times of follow-up browse request, follow-up browses thus user friendly.
Certainly, may also take in above two mode and later technical scheme, namely returning the first pictures of the chapters and sections that chapters and sections mark represents and return several pictures after this head pictures simultaneously, wherein, the particular number of several pictures can be arranged flexibly according to practical situation.Such as, chapters and sections are designated 1.1, comprise 5 pictures, then can return the 1st pictures and 2 follow-up pictures in the chapters and sections that these chapters and sections mark represents.
In order to realize above technique effect, this application provides online browse embodiment of the method 2.The present embodiment is equally applied on server, as in figure 2 it is shown, the present embodiment can specifically include step S201~step S203.
Step S201: if receiving the chapters and sections browse request of the file destination that client sends, target chapters and sections mark is extracted from chapters and sections browse request, wherein, target chapters and sections are designated Target Photo numbering, and Target Photo is numbered the picture number of the first pictures of the chapters and sections that target chapters and sections mark represents.
In the present embodiment, the numbering that concrete form is picture of the target chapters and sections mark that server extracts from chapters and sections browse request.For the ease of describing, it is possible to the numbering of the picture extracted is called that Target Photo is numbered.
It should be noted that this Target Photo is numbered the numbering of the first pictures of the chapters and sections that these target chapters and sections mark represents.Such as, client wants the content browsing chapter 2 first segment, chapter 2 first segment comprise 3 convert after picture, and 3 the picture number of pictures be followed successively by 15,16 and 17, the Target Photo comprised in the chapters and sections browse request that then client sends is numbered 15, thus server can extract Target Photo numbering 15 from chapters and sections browse request.
Step S202: in default picture library, searches the picture of picture corresponding to Target Photo numbering and picture number predetermined number after Target Photo is numbered, using the picture that finds as Target Photo.
In the present embodiment, the picture preset in picture library has picture number, and each picture number sorts successively, say, that the picture after the file page conversion of file destination has picture number, and sorts successively according to the sequence of file page.
After server extracts Target Photo numbering, in default picture library, search the picture that Target Photo numbering is corresponding.Be numbered the picture number of the first pictures of certain chapters and sections due to Target Photo, then the picture found is the first pictures of these chapters and sections.It addition, server is except the first pictures searching these chapters and sections, it is also possible to search the picture of sequence predetermined number after this head pictures.Wherein, predetermined number is the numerical value pre-set according to practical situation, and the application is also not specifically limited.
Step S203: Target Photo is returned client, displays for client.
Wherein, the Target Photo found is returned client to show.
From above technical scheme, the file online browse embodiment of the method that the application provides, the picture of predetermined number after the first pictures of certain chapters and sections and this head pictures can be searched, picture after first pictures and first pictures being returned client show, so, first client can show first pictures, browse for user, and the picture after this head pictures of buffer memory, when user's page turning, it is possible to the picture after loading the first pictures of local cache displays.The present embodiment both ensure that client displayed for a user the efficiency of first pictures, also ensure that user's display efficiency when follow-up browsing.
It should be noted that the picture of the predetermined number after first pictures can belong to different chapters and sections from first pictures.
In actual applications, the Target Photo that server returns can be the Target Photo after overcompression and encryption.It is to say, in each file online browse embodiment of the method above-mentioned, Target Photo is returned client, the specific implementation displayed for client may comprise steps of A1.
Step A1: obtain compressed package after compression goal picture, and return client after compressed package is encrypted, display for client.
Specifically, using any one file compression method existing, Target Photo being compressed, thus obtaining compressed package.It is possible to further compressed package is encrypted, the password of encryption can be the account of user login services device, or the device identification of the client with this account relating, or random number etc. has the password of uniqueness.
Above in each application file online browse embodiment of the method on the server, the chapters and sections browse request that the client received sends is all the chapters and sections browse request generated when client obtains bibliographic structure.Specifically, client shows this bibliographic structure after obtaining bibliographic structure, and user can select certain chapters and sections in bibliographic structure, is sent the chapters and sections browse request of these chapters and sections by user end to server.
Certainly, server is before receiving the chapters and sections browse request of certain file, it is possible to receive the browse request to this document, thus the bibliographic structure of this document is returned client.
Specifically, as it is shown on figure 3, this implementation is on the basis of above-mentioned file online browse embodiment of the method 1, it is also possible to include step S301~step S303.
Step S301: if receiving the browse request of the file destination that client sends, extracts the file destination mark of file destination from browse request.
Wherein, if user wants to browse certain file, it is possible to sent the browse request of this document by user end to server, return this document for request server.Server is after receiving this browse request, first from browse request, extract the mark of this document, for the ease of describing, this document is called file destination, this file destination can be the file destination in each file online browse embodiment of the method above-mentioned, it is also possible to be alternative document.It addition, the mark of file is properly termed as file destination mark.
Step S302: search the bibliographic structure that file destination mark is corresponding, and in default picture library, according to the corresponding relation between the file identification pre-set and browsing pictures, search the target browsing pictures that file destination mark is corresponding;Wherein, target browsing pictures comprises the picture of the predetermined number after the first pictures of file destination and first pictures.
In this implementation, picture that the first file page of what server returned is this document converts and the bibliographic structure of this document.Wherein, generally, first file page can be the strip of paper used for sealing page of file.
Therefore, before enforcement, the bibliographic structure of correspondence is set for file in advance.Bibliographic structure can include the title of catalogue, the title of catalogue can show in client, to facilitate user to understand, which chapters and sections file comprises, and user can click certain chapters and sections in bibliographic structure, to trigger the execution of each file online browse embodiment of the method above-mentioned, so that picture corresponding to these chapters and sections of user being asked of server returns to client and show.
After server extracts file destination mark, in the bibliographic structure pre-set, search the bibliographic structure that file destination mark is corresponding.
From described above, server is except Returning catalogue structure, in addition it is also necessary to return the picture (headed by can being called for short pictures) that the first file page of file destination converts, therefore, server also needs in default picture library, searches the first pictures of file destination.So, first client can show the first pictures of this document.
In actual applications, usually, the strip of paper used for sealing page that first pictures is file that user browses to, next user will trigger page turn over operation in client, to continue to check follow-up file page.Therefore, client also needs to send the browse request to follow-up file page to server, will increase the waiting time of user, and browse efficiency is slower.
Therefore, after server receives the browse request to file, the picture of return not only includes first pictures, it is also possible to include the picture of predetermined number after first pictures.In order to realize this kind of technique effect, it is necessary to before enforcement, pre-setting the corresponding relation between file identification and browsing pictures, namely this browsing pictures needs the picture returned according to the browse request to file of client.Such as, the picture that the file identification of certain file 1 is corresponding includes three pictures after first pictures and this head pictures.
So, server just can identify according to file destination, searches the browsing pictures that this file destination mark is corresponding, i.e. target browsing pictures.Target browsing pictures not only comprises first pictures, also includes the picture of predetermined number after first pictures.
Step S303: bibliographic structure and target browsing pictures are returned client.
Wherein, the bibliographic structure of file destination and the browsing pictures return client of correspondence are shown by server.Certainly, first client can show the first pictures of file destination, when user triggers page turn over operation, then is shown successively by the picture of the predetermined number after this head pictures.
It addition, bibliographic structure can be shown in the side of client display interface with various forms such as suspension window, hide windows.Such as, the bibliographic structure of " 330kV~750kV overhead transmission line exploration specification " is shown in the side of the clients such as mobile phone, and after user clicks hidden icons, it is possible to bibliographic structure is hidden.
It addition, corresponding with the above-mentioned file online browse embodiment of the method being applied in server, present invention also provides the file online browse embodiment of the method being applied in client, explanation specific as follows.
Referring to Fig. 4, this application provides the flow process of the file online browse embodiment of the method 1 being applied in client.Client can be but be not limited to desk computer, portable notebook, mobile phone, PAD etc., client shows the bibliographic structure of file destination, comprises multiple chapters and sections in bibliographic structure.As it is shown in figure 5, the present embodiment can specifically include step S401~step S403.
Step S401: select the operation of target chapters and sections in response to user in multiple chapters and sections of bibliographic structure, it is determined that the target chapters and sections mark that target chapters and sections are corresponding.
Wherein, user in multiple chapters and sections of bibliographic structure, can select certain chapters and sections.For the ease of describing, it is possible to the chapters and sections that user selects are called target chapters and sections.The selection operation of user can be click, the clicking operation such as double-click.
Client it needs to be determined that target chapters and sections corresponding chapters and sections mark, namely target chapters and sections mark.A kind of concrete form of target chapters and sections mark is, the page number of the first file page that target chapters and sections comprise.File page needs transformed picture to be saved in default picture library, picture has the picture number of self, therefore, the another kind of concrete form of target chapters and sections mark is, the picture number of the picture after the first file page conversion that target chapters and sections comprise, it is necessary to explanation, the picture number of the picture after the first file page conversion that target chapters and sections comprise, can also be called, the picture number of the first pictures of target chapters and sections.
Furthermore, another concrete form of target chapters and sections mark is, the title of chapters and sections, and certainly, the title going back chapters and sections needs have uniqueness in the bibliographic structure of file destination.The title of chapters and sections can be shown to the section name of user in bibliographic structure, it is also possible to is the backstage title arranged for chapters and sections in advance.
Step S402: target chapters and sections mark is included in chapters and sections browse request and sends to server.
Wherein, target chapters and sections mark is encapsulated in chapters and sections browse request by client, and sends chapters and sections browse request to server.Certainly, chapters and sections browse request also needs to comprise the mark of file destination, so that server is when preserving multiple file, accurately search the picture of certain file destination of client request.
Step S403: if receiving the Target Photo that server returns, the first pictures in display Target Photo;Wherein, Target Photo is the picture that server arrives according to target chapters and sections identifier lookup.
Wherein, picture, after the picture of the target chapters and sections mark correspondence of file destination, is returned client by whois lookup.For the ease of describing, the picture found is called Target Photo.It should be noted that, Target Photo can comprise the picture after target chapters and sections identify all files page conversion that the chapters and sections represented comprise, it can also be the picture after the first file page that the chapters and sections that target chapters and sections mark represents comprise converts, or, it is also possible to it is the picture after the first file page that the chapters and sections that target chapters and sections mark represents comprise turns and the picture of the predetermined number after this picture.
No matter Target Photo is which kind of form above-mentioned, after client receives, first show the first pictures in Target Photo, the picture after the first file page conversion that the chapters and sections that namely target chapters and sections mark represents comprise.
It can be seen that the specific implementation of this step may is that the operation selecting target chapters and sections in response to user in multiple chapters and sections of bibliographic structure from the explanation of above about step S401, the picture number of the first pictures of target chapters and sections is defined as target chapters and sections mark.
The process that implements of this implementation may comprise steps of B1.
Step B1: select the operation of target chapters and sections in response to user in multiple chapters and sections of bibliographic structure, obtain the page number of the first file page of target chapters and sections, the page number and target difference are added and after, it is thus achieved that Target Photo is numbered, and Target Photo numbering is defined as target chapters and sections identifies;Wherein, target difference is the difference between the page number of file page and the picture number of picture being converted into.
It is understandable that, the file page of file self has the page number, when file page is converted into picture, usually, strip of paper used for sealing etc. is arranged on the content before file page also can be converted into picture, so, the picture number of picture, just will not be identical between picture number and the page number of file page, but there is difference, difference is the numbering that strip of paper used for sealing etc. is arranged on occupied by the content before file page.
Such as, the page number of certain file page is 10, and strip of paper used for sealing and the summary of this document can be converted into 2 pictures, then the picture number of the picture after the conversion of this document page is 12.
Therefore, client is by after the summation of the page of the first file page of target chapters and sections and difference, it is thus achieved that this document page convert after the picture number of picture, and this picture number be encapsulated in chapters and sections browse request send to server.
In actual applications, the Target Photo that server returns can be the compressed package through overcompression and encryption, therefore, in the above-mentioned file online browse embodiment of the method being applied in client, the specific implementation of step S403 (if receiving the Target Photo that server returns, the first pictures in display Target Photo) comprises the following steps C1.
Step C1: if the Target Photo that the server received returns is included in the compressed package of encryption, in internal memory, compressed package is decrypted and decompresses, it is thus achieved that Target Photo, and showing the first pictures in Target Photo.
Wherein, client can be passed through to log in the account registered on the server in advance, it is thus achieved that the password of deciphering.It should be noted that Crypted password may be for the password of whole file, it is also possible to for the password of file file page.
It addition, the compressed package that server returns can be saved in non-volatile memory apparatus, such as USB flash disk, SD card etc..But, the process that compressed package is decrypted and decompresses by client performs in internal memory, and deciphering and the Target Photo after decompressing are made directly display, are not stored in non-volatile memory apparatus, such that it is able to prevent file destination to be replicated propagation.
The file online browse device being applied in server below the application provided and the file online browse device being applied in client are introduced, it should be noted that, hereafter the explanation about the file online browse device being applied in server and the file online browse device that is applied in client respectively referring to the file online browse method being applied in server provided above and the file online browse method being applied in client, can not repeat below.
Corresponding with the above-mentioned file online browse embodiment of the method 1 being applied in server, this application provides a kind of file online browse device embodiment 1 being applied in server.As it is shown in figure 5, the present embodiment can specifically include: chapters and sections marker extraction module 501, Target Photo search module 502 and Target Photo returns module 503.Wherein:
Chapters and sections marker extraction module 501, if for the chapters and sections browse request receiving the file destination that client sends, extracts target chapters and sections mark from chapters and sections browse request;Wherein, file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library;
Target Photo searches module 502, for, in default picture library, searching the Target Photo that target chapters and sections mark is corresponding;
Target Photo returns module 503, for Target Photo is returned client, displays for client.
From above technical scheme, this application provides a kind of file online browse device embodiment, the present embodiment is applied on the server, server receive that client sends to after the browse request of certain chapters and sections of certain file, the browse request of these chapters and sections is extracted chapters and sections mark, and in default picture library, search the picture that these chapters and sections mark is corresponding, picture is the picture that the file page of these chapters and sections in this document is converted into, and the picture that will find returns client, shows for client.Visible, the present embodiment can realize user's online browse file, and the file browsed is the file after being converted into picture format, and the file of picture format can effectively prevent word content to be replicated, thus avoiding the propagation of file.
In above-mentioned file online browse device, the target chapters and sections that chapters and sections marker extraction module is extracted are designated Target Photo numbering, and Target Photo is numbered the picture number of the first pictures of the chapters and sections that target chapters and sections mark represents;The picture preset in picture library has picture number, and each picture number sorts successively;
Correspondingly, Target Photo lookup module 502 can specifically include:
Target Photo searches submodule, in default picture library, searches the picture of picture corresponding to Target Photo numbering and picture number predetermined number after Target Photo is numbered, using the picture that finds as Target Photo.
Alternatively, in above-mentioned file online browse device, Target Photo returns module 503 and may include that
Target Photo compression and encryption return submodule, for obtaining compressed package after compression goal picture, and return client after compressed package is encrypted, display for client.
It addition, above-mentioned file online browse device can also include: file identification extraction module, catalogue and browsing pictures search module and catalogue and browsing pictures returns module.Wherein:
File identification extraction module, if for the browse request receiving the file destination that client sends, extracting the file destination mark of file destination from browse request;
Catalogue and browsing pictures search module, the bibliographic structure corresponding for searching file destination mark, and in default picture library, according to the corresponding relation between the file identification pre-set and browsing pictures, search the target browsing pictures that file destination mark is corresponding;Wherein, target browsing pictures comprises the picture of the predetermined number after the first pictures of file destination and first pictures;
Catalogue and browsing pictures return module, for bibliographic structure and target browsing pictures are returned client.
Corresponding with the above-mentioned file online browse embodiment of the method 1 being applied in client, this application provides the file online browse device embodiment 1 being applied in client.Wherein, client showing the bibliographic structure of file destination, bibliographic structure includes multiple chapters and sections.
As shown in Figure 6, this device may include that chapters and sections mark determines module 601, chapters and sections mark sending module 602 and first pictures display module 603.Wherein:
Chapters and sections mark determines module 601, for selecting the operation of target chapters and sections in multiple chapters and sections of bibliographic structure in response to user, it is determined that the target chapters and sections mark that target chapters and sections are corresponding;
Chapters and sections mark sending module 602, sends to server for target chapters and sections mark being included in chapters and sections browse request;
First pictures display module 603, if for receiving the Target Photo that server returns, the first pictures in display Target Photo;Wherein, Target Photo is the picture that server arrives according to target chapters and sections identifier lookup.
Alternatively, in above-mentioned file online browse device, chapters and sections mark determines that module 601 may include that
Picture number determines submodule, for selecting the operation of target chapters and sections in multiple chapters and sections of bibliographic structure in response to user, the picture number of the first pictures of target chapters and sections is defined as target chapters and sections mark.
Specifically, picture number determines that submodule includes:
Picture number determines unit, for selecting the operation of target chapters and sections in multiple chapters and sections of bibliographic structure in response to user, obtain the page number of first file page of target chapters and sections, the page number and target difference are added and after, acquisition Target Photo is numbered, and Target Photo numbering is defined as target chapters and sections mark;Wherein, target difference is the difference between the page number of file page and the picture number of picture being converted into.
Alternatively, first pictures display module includes:
Decompression deciphering submodule, if the Target Photo that the server for receiving returns is included in the compressed package of encryption, is decrypted compressed package in internal memory and decompresses, it is thus achieved that Target Photo, and showing the first pictures in Target Photo.
It should be noted that each embodiment in this specification all adopts the mode gone forward one by one to describe, what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
It can further be stated that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of above-mentioned key element, method, article or equipment.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the application.The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein when without departing from spirit herein or scope, can realize in other embodiments.Therefore, the application is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (16)

1. a file online browse method, it is characterised in that being applied to server, the method includes
If receiving the chapters and sections browse request of the file destination that client sends, from described chapters and sections browse request, extract target chapters and sections mark;Wherein, described file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library;
In described default picture library, search the Target Photo that described target chapters and sections mark is corresponding;
Described Target Photo is returned described client, displays for described client.
2. file online browse method according to claim 1, it is characterised in that described target chapters and sections are designated Target Photo numbering, described Target Photo is numbered the picture number of the first pictures of the chapters and sections that described target chapters and sections mark represents;Picture in described default picture library has picture number, and each described picture number sorts successively;
Correspondingly, described in described default picture library, search the Target Photo that described target chapters and sections mark is corresponding, including:
In described default picture library, search the picture of picture corresponding to described Target Photo numbering and picture number predetermined number after described Target Photo is numbered, using the picture that finds as Target Photo.
3. file online browse method according to claim 1, it is characterised in that described by described Target Photo return described client, display for described client, including:
Compress and obtain compressed package after described Target Photo, and return described client after described compressed package is encrypted, display for described client.
4. file online browse method according to claim 1, it is characterised in that also include:
If receiving the browse request of the described file destination that described client sends, from described browse request, extract the file destination mark of described file destination;
Search the bibliographic structure that described file destination mark is corresponding, and in described default picture library, according to the corresponding relation between the file identification pre-set and browsing pictures, search the target browsing pictures that described file destination mark is corresponding;Wherein, described target browsing pictures comprises the picture of the predetermined number after the first pictures of described file destination and described first pictures;
Described bibliographic structure and described target browsing pictures are returned described client.
5. a file online browse method, it is characterised in that be applied to client, described client shows the bibliographic structure of file destination, and described bibliographic structure includes multiple chapters and sections, and the method includes:
In multiple chapters and sections of described bibliographic structure, the operation of target chapters and sections is selected, it is determined that the target chapters and sections mark that described target chapters and sections are corresponding in response to user;
Described target chapters and sections mark is included in chapters and sections browse request and sends to server;
If receiving the Target Photo that described server returns, show the first pictures in described Target Photo;Wherein, described Target Photo is the picture that server arrives according to described target chapters and sections identifier lookup.
6. file online browse method according to claim 5, it is characterised in that the described operation selecting target chapters and sections in response to user in multiple chapters and sections of described bibliographic structure, it is determined that the target chapters and sections mark that described target chapters and sections are corresponding, including:
In multiple chapters and sections of described bibliographic structure, select the operation of target chapters and sections in response to user, the picture number of the first pictures of described target chapters and sections is defined as target chapters and sections mark.
7. file online browse method according to claim 6, it is characterized in that, in multiple chapters and sections of described bibliographic structure, select the operation of target chapters and sections in response to user, the picture number of the first pictures of described target chapters and sections is defined as target chapters and sections mark, including:
In multiple chapters and sections of described bibliographic structure, the operation of target chapters and sections is selected in response to user, obtain the page number of the first file page of described target chapters and sections, the described page number and target difference are added and after, it is thus achieved that Target Photo is numbered, and described Target Photo numbering is defined as target chapters and sections identifies;Wherein, described target difference is the difference between the page number of file page and the picture number of picture being converted into.
8. file online browse method according to claim 5, it is characterised in that receive, if described, the Target Photo that described server returns, show the first pictures in described Target Photo, including:
If the Target Photo that the described server received returns is included in the compressed package of encryption, in internal memory, described compressed package is decrypted and decompresses, it is thus achieved that Target Photo, and show the first pictures in described Target Photo.
9. a file online browse device, it is characterised in that being applied to server, this device includes
Chapters and sections marker extraction module, if for the chapters and sections browse request receiving the file destination that client sends, extracts target chapters and sections mark from described chapters and sections browse request;Wherein, described file destination can be divided into some chapters and sections, and each chapters and sections comprise some file pages, and each file page is converted into picture and is saved in default picture library;
Target Photo searches module, for, in described default picture library, searching the Target Photo that described target chapters and sections mark is corresponding;
Target Photo returns module, for described Target Photo is returned described client, displays for described client.
10. file online browse device according to claim 9, it is characterized in that, the target chapters and sections that described chapters and sections marker extraction module is extracted are designated Target Photo numbering, and described Target Photo is numbered the picture number of the first pictures of the chapters and sections that described target chapters and sections mark represents;Picture in described default picture library has picture number, and each described picture number sorts successively;
Correspondingly, described Target Photo lookup module includes:
Target Photo searches submodule, in described default picture library, searches the picture of picture corresponding to described Target Photo numbering and picture number predetermined number after described Target Photo is numbered, using the picture that finds as Target Photo.
11. file online browse device according to claim 9, it is characterised in that described Target Photo returns module and includes:
Target Photo compression and encryption return submodule, obtain compressed package after being used for compressing described Target Photo, and return described client after described compressed package is encrypted, and display for described client.
12. file online browse device according to claim 9, it is characterised in that also include:
File identification extraction module, if for the browse request receiving the described file destination that described client sends, extracting the file destination mark of described file destination from described browse request;
Catalogue and browsing pictures search module, the bibliographic structure corresponding for searching described file destination mark, and in described default picture library, according to the corresponding relation between the file identification pre-set and browsing pictures, search the target browsing pictures that described file destination mark is corresponding;Wherein, described target browsing pictures comprises the picture of the predetermined number after the first pictures of described file destination and described first pictures;
Catalogue and browsing pictures return module, for described bibliographic structure and described target browsing pictures are returned described client.
13. a file online browse device, it is characterised in that be applied to client, described client showing the bibliographic structure of file destination, described bibliographic structure includes multiple chapters and sections, and this device includes:
Chapters and sections mark determines module, for selecting the operation of target chapters and sections in multiple chapters and sections of described bibliographic structure in response to user, it is determined that the target chapters and sections mark that described target chapters and sections are corresponding;
Chapters and sections mark sending module, sends to server for described target chapters and sections mark being included in chapters and sections browse request;
First pictures display module, if for receiving the Target Photo that described server returns, showing the first pictures in described Target Photo;Wherein, described Target Photo is the picture that server arrives according to described target chapters and sections identifier lookup.
14. file online browse device according to claim 13, it is characterised in that described chapters and sections mark determines that module includes:
Picture number determines submodule, for selecting the operation of target chapters and sections in multiple chapters and sections of described bibliographic structure in response to user, the picture number of the first pictures of described target chapters and sections is defined as target chapters and sections mark.
15. file online browse device according to claim 14, it is characterised in that described picture number determines that submodule includes:
Picture number determines unit, for selecting the operation of target chapters and sections in multiple chapters and sections of described bibliographic structure in response to user, obtain the page number of the first file page of described target chapters and sections, the described page number and target difference are added and after, acquisition Target Photo is numbered, and described Target Photo numbering is defined as target chapters and sections mark;Wherein, described target difference is the difference between the page number of file page and the picture number of picture being converted into.
16. file online browse device according to claim 13, it is characterised in that described first pictures display module includes:
Decompression deciphering submodule, if the Target Photo that the described server for receiving returns is included in the compressed package of encryption, is decrypted described compressed package and decompresses in internal memory, it is thus achieved that Target Photo, and show the first pictures in described Target Photo.
CN201610050910.XA 2016-01-26 2016-01-26 On-line browsing method and device of file Pending CN105740657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610050910.XA CN105740657A (en) 2016-01-26 2016-01-26 On-line browsing method and device of file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610050910.XA CN105740657A (en) 2016-01-26 2016-01-26 On-line browsing method and device of file

Publications (1)

Publication Number Publication Date
CN105740657A true CN105740657A (en) 2016-07-06

Family

ID=56247593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610050910.XA Pending CN105740657A (en) 2016-01-26 2016-01-26 On-line browsing method and device of file

Country Status (1)

Country Link
CN (1) CN105740657A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092622A (en) * 2016-12-14 2017-08-25 口碑控股有限公司 The methods of exhibiting and device of a kind of comment information
CN109344274A (en) * 2018-08-21 2019-02-15 深圳市致远优学教育科技有限公司 Educational resource positioning system and method based on picture recognition
CN111191418A (en) * 2019-12-06 2020-05-22 腾讯科技(深圳)有限公司 Online document processing method and device, electronic equipment and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536807A (en) * 2003-04-07 2004-10-13 西科姆株式会社 Document safety transfer system and method
CN102682072A (en) * 2012-03-08 2012-09-19 上海摩软通讯技术有限公司 Data processing method and system for multimedia documents
CN102968403A (en) * 2012-10-29 2013-03-13 陆昀 Non-plug-in on-line reading method
CN103095553A (en) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 Message communication method and system
CN103731554A (en) * 2013-12-31 2014-04-16 重庆先迈通信技术有限公司 Dynamic screen saver service system and processing method based on mobile terminal
CN103870583A (en) * 2014-03-25 2014-06-18 东方电气集团东方汽轮机有限公司 Relational-database-based online and controllable browsing method for PDF document
CN104079532A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Online reading method and system, client and server
CN104517045A (en) * 2013-09-26 2015-04-15 上海中移通信技术工程有限公司 Method for creating protected digital file

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536807A (en) * 2003-04-07 2004-10-13 西科姆株式会社 Document safety transfer system and method
CN103095553A (en) * 2011-11-03 2013-05-08 北京神州泰岳软件股份有限公司 Message communication method and system
CN102682072A (en) * 2012-03-08 2012-09-19 上海摩软通讯技术有限公司 Data processing method and system for multimedia documents
CN102968403A (en) * 2012-10-29 2013-03-13 陆昀 Non-plug-in on-line reading method
CN104079532A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Online reading method and system, client and server
CN104517045A (en) * 2013-09-26 2015-04-15 上海中移通信技术工程有限公司 Method for creating protected digital file
CN103731554A (en) * 2013-12-31 2014-04-16 重庆先迈通信技术有限公司 Dynamic screen saver service system and processing method based on mobile terminal
CN103870583A (en) * 2014-03-25 2014-06-18 东方电气集团东方汽轮机有限公司 Relational-database-based online and controllable browsing method for PDF document

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092622A (en) * 2016-12-14 2017-08-25 口碑控股有限公司 The methods of exhibiting and device of a kind of comment information
CN109344274A (en) * 2018-08-21 2019-02-15 深圳市致远优学教育科技有限公司 Educational resource positioning system and method based on picture recognition
CN109344274B (en) * 2018-08-21 2021-09-28 深圳市致远优学教育科技有限公司 Image recognition-based educational resource positioning system and method
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

Similar Documents

Publication Publication Date Title
US20090313100A1 (en) System and method for previewing search results
CN105608227A (en) Document data retrieval method and device
US8250466B2 (en) Computer and method for converting a web page
CN110362372A (en) Page translation method, device, medium and electronic equipment
CN107679214B (en) Link positioning method, device, terminal and computer readable storage medium
CN105095441A (en) Information acquisition method and device
CN104346075A (en) Method for processing screenshots and client
US11080322B2 (en) Search methods, servers, and systems
CN105740657A (en) On-line browsing method and device of file
CN111488556A (en) Nested document extraction method and device, electronic equipment and storage medium
Sanders Procedures for laboratory testing of environmental sensing capability sensor devices
US10257300B2 (en) Precision push method for internet information
CN105550179A (en) Webpage collection method and browser plug-in
CN103678706A (en) Picture recognition method, system, equipment and device based on screenshot information
CN113656737A (en) Webpage content display method and device, electronic equipment and storage medium
CN104980464A (en) Network request processing method, network server and network system
US10372764B2 (en) Extending document editors to assimilate documents returned by a search engine
CN103559195A (en) Searching method and terminal
CN104537123A (en) Method and device for quickly browsing document
US8381089B2 (en) System for processing mixed-format files
CN111190964B (en) Data docking method, device, equipment and storage medium
CN105488054A (en) Method and device for browsing image
CN106211269A (en) A kind of smart machine means of communication and device
CN107220306B (en) Searching method and device
CN114065068A (en) Page access control method and device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706