CN109710569A - A kind of file online browse method - Google Patents
A kind of file online browse method Download PDFInfo
- Publication number
- CN109710569A CN109710569A CN201811603515.5A CN201811603515A CN109710569A CN 109710569 A CN109710569 A CN 109710569A CN 201811603515 A CN201811603515 A CN 201811603515A CN 109710569 A CN109710569 A CN 109710569A
- Authority
- CN
- China
- Prior art keywords
- file
- user terminal
- sent
- format
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
A kind of file online browse method and system, synchronization process interface module will select information to be sent to file manager, file manager reads selected original from file server, and real-time perfoming file process and format are converted, in order to which browser carries out online reading, then, the destination file after processing and conversion is sent to user terminal, and stored in file server simultaneously;Meanwhile asynchronous process interface module sends instructions to file manager, other originals in listed files are successively read by file manager in file server, and carry out processing and format conversion, and destination file is stored into file server.Synchronization process interface module is while processing first item original in real time, by alternative document by asynchronous information processing module in server otherwise processed, after the completion of to be processed, it is then forwarded to user terminal, solves the problems, such as that it is low will to carry out browse efficiency caused by handling in real time for each original in the prior art.
Description
Technical field
The present invention relates to a kind of method of online browse file more particularly to a kind of methods of quick online browse file.
Background technique
With the popularity of the internet, many websites are provided which data, periodical, file online browse function at present, due to upper
Transmitting file type is different, and subscriber computer might not support the file of all formats, and therefore, online browse service provider can be as far as possible
It avoids calling the ocr software of subscriber computer, but processing and format conversion is carried out to file in browsing, in order to common
Online reading function can be realized in browser.
In this case, when online browse, file conversion usually require certain waiting time, especially search result compared with
When more, each file requires to wait, and therefore, traditional online browse method efficiency is extremely low.In addition, in conversion process,
If there is network failure or server, convert requests are cycled through always, can also occupy a large amount of Internet resources.
Summary of the invention
Current online browse technology there are aiming at the problem that, this application provides a kind of file online browse methods.
First aspect of the present invention is to provide a kind of file online browse method, comprising:
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves matching search instruction according to search instruction in the file server for being stored with original
Original obtains the file information list;
The file information list is sent to user terminal by communication module, and the lists of documents retrieved are shown in user terminal, for
Family end is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file management
Device reads selected original, and real-time perfoming file process and format conversion from file server, in order to browser
It carries out online reading and the destination file after processing and conversion is then sent to user terminal, and file server is arrived in storage simultaneously
In;Meanwhile asynchronous process interface module sends instructions to file manager, file manager arranges file in file server
Other originals in table are successively read, and carry out processing and format conversion, and destination file is stored into file server;
When alternative document in user terminal select file inventory, file manager has read storage from file server
The destination file of processing and format conversion, is sent to user terminal.
The second aspect of the present invention provides a kind of file online browse system, comprising: user terminal, file server, file
Manager, processing and format converting module, synchronization process interface module, asynchronous process interface module, retrieval module, communication mould
Block, wherein
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves matching search instruction according to search instruction in the file server for being stored with original
Original obtains the file information list;
The file information list is sent to user terminal by communication module, and the lists of documents retrieved are shown in user terminal, for
Family end is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file management
Device reads selected original, and real-time perfoming file process and format conversion from file server, in order to browser
It carries out online reading and the destination file after processing and conversion is then sent to user terminal, and file server is arrived in storage simultaneously
In;Meanwhile asynchronous process interface module sends instructions to file manager, file manager arranges file in file server
Other originals in table are successively read, and carry out processing and format conversion, and destination file is stored into file server;
When alternative document in user terminal select file inventory, file manager has read storage from file server
The destination file of processing and format conversion, is sent to user terminal.
In an advantageous embodiment, when synchronization process interface module works, file manager reads institute from database
After the original of selection, processing and format conversion were judged whether to, if it is determined that the conversion of processed and format, then file
Destination file is sent to user terminal by manager;If it is determined that the conversion of untreated and format, file manager is from file service
The device Parallel download original, and real-time perfoming file process and format conversion, in order to which browser carries out online reading, so
Afterwards, the file information after processing and conversion is sent to user terminal, and simultaneously uploads to result in file server.
In an advantageous embodiment, when asynchronous process interface module works, file manager is in the database by file
After other originals in list are successively read, judged whether to processing and format conversion, if it is determined that it is processed and
Format conversion, then destination file is sent to user terminal by file manager;If it is determined that the conversion of untreated and format, file pipe
It manages device and successively downloads original from file server, and carry out file process and format conversion, in order to which browser carries out online
It reads, then, the file information after processing and conversion is sent to user terminal, and result is uploaded into file server simultaneously
In.
In an advantageous embodiment, it has handled and has been stored in processing information storage module with the information of format conversion,
And it can be read from persistence service.For this purpose, in a kind of more preferred embodiment, the file online browse system further includes
Handle information storage module.
In an advantageous embodiment, after file process and format convert, file manager is generated about text
The message queue of part processing and format transition status, is sent to message queue module.For this purpose, in a kind of more preferred embodiment,
The file online browse system further includes message queue module.
In an advantageous embodiment, user terminal reads the completion file process from message queue module and format turns
The status information changed after user terminal reads the status information, reads to have handled from file manager and convert with format
File.
In an advantageous embodiment, user terminal does not receive the status information in the first preset time, then to disappearing
It ceases Queue module and issues the instruction for sending the status information.
In an advantageous embodiment, the message queue module is read from persistence service in the second preset time
The information with format conversion is handled.
Present specification online browse method passes through alternative document different while processing first item original in real time
Message processing module is walked in server otherwise processed, after the completion of to be processed, is then forwarded to user terminal, is solved every in the prior art
Item original will carry out the low problem of browse efficiency caused by handling in real time.
Detailed description of the invention
Fig. 1 is the application online browse method flow schematic diagram.
Specific embodiment
Embodiment 1
In the present embodiment, a kind of online browse system include: user terminal, file server, file manager, processing and
Format converting module, synchronization process interface module, asynchronous process interface module, retrieval module, communication module.
Referring to Fig.1, the file online browse method of the present embodiment includes:
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves matching search instruction according to search instruction in the file server for being stored with original
Original obtains the file information list;
The file information list is sent to user terminal by communication module, and the lists of documents retrieved are shown in user terminal, for
Family end is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file management
Device reads selected original from database, processing and format conversion is judged whether to, if it is determined that processed
It is converted with format, then destination file is sent to user terminal by file manager;If it is determined that the conversion of untreated and format, file
Manager is from the file server Parallel download original, and real-time perfoming file process and format are converted, in order to browser
It carries out online reading and then the file information after processing and conversion is sent to user terminal, and result is uploaded into file simultaneously
In server;Similar, asynchronous process interface module can also carry out asynchronous place in file manager by a similar method
Reason;
When alternative document in user terminal select file inventory, file manager has read storage from file server
The destination file of processing and format conversion, is sent to user terminal.
Embodiment 2
Referring to Fig.1, the file online browse method of the present embodiment includes:
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves matching search instruction according to search instruction in the file server for being stored with original
Original obtains the file information list;
The file information list is sent to user terminal by communication module, and the lists of documents retrieved are shown in user terminal, for
Family end is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file management
Device reads selected original from database, processing and format conversion is judged whether to, if it is determined that processed
It is converted with format, then destination file is sent to user terminal by file manager;If it is determined that the conversion of untreated and format, file
Manager is from the file server Parallel download original, and real-time perfoming file process and format are converted, in order to browser
It carries out online reading and then the file information after processing and conversion is sent to user terminal, and result is uploaded into file simultaneously
In server;Similar, asynchronous process interface module can also carry out asynchronous place in file manager by a similar method
Reason;
When alternative document in user terminal select file inventory, file manager has read storage from file server
The destination file of processing and format conversion, is sent to user terminal.
File online browse system further includes processing information storage module in the present embodiment, has been handled and format conversion
Information is stored in processing information storage module.
After user terminal is selected, synchronization process interface module is read first to be stored in processing information storage module
Handled the information with format conversion, if reading associated documents has handled information with format conversion, it is synchronous at
Reason interface module directly transmits instruction to file manager, and file manager directly downloads destination file from file server
After be sent to user terminal or user terminal directly downloads destination file from file server.
Embodiment 3
It is carried out when due to online browse by network instruction, it, can if network breaks down or hardware breaks down
Instruction can occur can not normally send, or even in special circumstances, after timely fault restoration, instruction is still in cycling through
Process causes work that can not carry out, and occupies a large amount of Internet resources.
For this purpose, referring to Fig.1, the file online browse method of the present embodiment includes:
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves matching search instruction according to search instruction in the file server for being stored with original
Original obtains the file information list;
The file information list is sent to user terminal by communication module, and the lists of documents retrieved are shown in user terminal, for
Family end is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file management
Device reads selected original from database, processing and format conversion is judged whether to, if it is determined that processed
It is converted with format, then destination file is sent to user terminal by file manager;If it is determined that the conversion of untreated and format, file
Manager is from the file server Parallel download original, and real-time perfoming file process and format are converted, in order to browser
It carries out online reading and then the file information after processing and conversion is sent to user terminal, and result is uploaded into file simultaneously
In server;Similar, asynchronous process interface module can also carry out asynchronous place in file manager by a similar method
Reason;
When alternative document in user terminal select file inventory, file manager has read storage from file server
The destination file of processing and format conversion, is sent to user terminal.
In the present embodiment, handles and be stored in processing information storage module with the information of format conversion, and can be from
It is read in persistence service.After file process and format convert, file manager is generated about file process and lattice
The message queue of formula transition status, is sent to message queue module;User terminal reads the completion text from message queue module
The status information of part processing and format conversion is read from file manager after user terminal reads the status information
The file of processing and format conversion;User terminal does not receive the status information in the first preset time, then to message queue
Module issues the instruction for sending the status information.
The message queue module is also possible in the second preset time, reads and has handled and lattice from persistence service
The information of formula conversion.When communicating failure, message queue module can be with read status information, thus the state letter that timely updates
Breath, send relevant information to user terminal, if user terminal cannot receive information in time, also can active transmission status information, from
And solving the problems, such as information can not send in time.
Specific embodiments of the present invention are described in detail above, but it is merely an example, the present invention is simultaneously unlimited
It is formed on particular embodiments described above.To those skilled in the art, any couple of present invention carries out equivalent modifications and
Substitution is also all among scope of the invention.Therefore, without departing from the spirit and scope of the invention made by equal transformation and
Modification, all should be contained within the scope of the invention.
Claims (10)
1. a kind of file online browse method characterized by comprising
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves the original text of matching search instruction according to search instruction in the file server for being stored with original
Part obtains the file information list;
The file information list is sent to user terminal by communication module, the lists of documents retrieved is shown in user terminal, for user terminal
It is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file manager from
Selected original, and real-time perfoming file process and format conversion are read in file server, in order to browser progress
Then destination file after processing and conversion is sent to user terminal, and store in file server simultaneously by online reading;
Meanwhile asynchronous process interface module sends instructions to file manager, file manager is in file server by listed files
In other originals be successively read, and carry out processing and format conversion, destination file store into file server;
When alternative document in user terminal select file inventory, file manager reads the processing of storage from file server
With the destination file of format conversion, it is sent to user terminal.
2. file online browse method according to claim 1, which is characterized in that when synchronization process interface module works,
File manager judged whether to processing and format conversion, if sentenced after reading selected original in database
Break and converted for processed and format, then destination file is sent to user terminal by file manager;If it is determined that untreated and lattice
Formula conversion, file manager is from the file server Parallel download original, and real-time perfoming file process and format are converted, with
Online reading, which is carried out, convenient for browser then the file information after processing and conversion is sent to user terminal, and simultaneously by result
It uploads in file server.
3. file online browse method according to claim 1, which is characterized in that when asynchronous process interface module works,
After other originals in listed files are successively read by file manager in the database, processing and lattice were judged whether to
Formula conversion, if it is determined that the conversion of processed and format, then destination file is sent to user terminal by file manager;If it is determined that
For the conversion of untreated and format, file manager successively downloads original from file server, and carries out file process and format
Then the file information after processing and conversion, is sent to user terminal, and same in order to which browser carries out online reading by conversion
When result is uploaded in file server.
4. file online browse method according to claim 1, which is characterized in that handled the information with format conversion
It is stored in processing information storage module, and can be read from persistence service.
5. file online browse method according to claim 4, which is characterized in that converted in file process and format
Later, file manager generates the message queue about file process and format transition status, is sent to message queue module.
6. file online browse method according to claim 5, which is characterized in that user terminal is read from message queue module
The status information for taking the completion file process and format conversion, after user terminal reads the status information, from file management
The file handled with format conversion is read in device.
7. file online browse method according to claim 6, which is characterized in that user terminal in the first preset time not
The status information is received, then issues the instruction for sending the status information to message queue module.
8. a kind of file online browse system characterized by comprising user terminal, file server, file manager, processing
With format converting module, synchronization process interface module, asynchronous process interface module, retrieval module, communication module, wherein
The search instruction of user terminal is sent to retrieval module by communication module,
Retrieval module retrieves the original text of matching search instruction according to search instruction in the file server for being stored with original
Part obtains the file information list;
The file information list is sent to user terminal by communication module, the lists of documents retrieved is shown in user terminal, for user terminal
It is selected;
After user terminal is selected, synchronization process interface module will select information to be sent to file manager, file manager from
Selected original, and real-time perfoming file process and format conversion are read in file server, in order to browser progress
Then destination file after processing and conversion is sent to user terminal, and store in file server simultaneously by online reading;
Meanwhile asynchronous process interface module sends instructions to file manager, file manager is in file server by listed files
In other originals be successively read, and carry out processing and format conversion, destination file store into file server;
When alternative document in user terminal select file inventory, file manager reads the processing of storage from file server
With the destination file of format conversion, it is sent to user terminal.
9. file online browse system according to claim 8, which is characterized in that the file online browse system is also wrapped
Processing information storage module is included, has handled and has been stored in processing information storage module with the information of format conversion, and can be from
It is read in persistence service.
10. file online browse system according to claim 9, which is characterized in that the file online browse system is also
Including message queue module, after file process and format convert, file manager is generated about file process and lattice
The message queue of formula transition status, is sent to message queue module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603515.5A CN109710569B (en) | 2018-12-26 | 2018-12-26 | File online browsing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603515.5A CN109710569B (en) | 2018-12-26 | 2018-12-26 | File online browsing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710569A true CN109710569A (en) | 2019-05-03 |
CN109710569B CN109710569B (en) | 2021-05-25 |
Family
ID=66257741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811603515.5A Active CN109710569B (en) | 2018-12-26 | 2018-12-26 | File online browsing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710569B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113688098A (en) * | 2021-08-20 | 2021-11-23 | 北京数码大方科技股份有限公司 | File conversion system, method and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101414298A (en) * | 2007-10-17 | 2009-04-22 | 建准电机工业股份有限公司 | Method for inspecting patent search result |
CN101425089A (en) * | 2008-11-13 | 2009-05-06 | 北京中文在线教育科技发展有限公司 | On-line electronic book loading method and searching method |
CN102542018A (en) * | 2011-12-16 | 2012-07-04 | 深圳中兴网信科技有限公司 | Web online file viewing system and file conversion device |
CN102929924A (en) * | 2012-09-20 | 2013-02-13 | 百度在线网络技术(北京)有限公司 | Method and device for generating word selecting searching result based on browsing content |
CN103106205A (en) * | 2011-11-10 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method and device for browsing files on mobile terminal |
CN105094861A (en) * | 2014-05-06 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Webpage application program loading method, device and system |
CN105320768A (en) * | 2015-10-28 | 2016-02-10 | 小米科技有限责任公司 | Search method and apparatus |
CN107025265A (en) * | 2017-02-17 | 2017-08-08 | 阿里巴巴集团控股有限公司 | Searching method, device, the generation method of system and command converter |
US20170371941A1 (en) * | 2016-06-24 | 2017-12-28 | International Business Machines Corporation | System, method, and recording medium for dynamically changing search result delivery format |
US20180075020A1 (en) * | 2013-08-21 | 2018-03-15 | Intelligent Language, LLC | Date and Time Processing |
US20180181657A1 (en) * | 2016-12-28 | 2018-06-28 | Palantir Technologies Inc. | Organization of database search results |
-
2018
- 2018-12-26 CN CN201811603515.5A patent/CN109710569B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101414298A (en) * | 2007-10-17 | 2009-04-22 | 建准电机工业股份有限公司 | Method for inspecting patent search result |
CN101425089A (en) * | 2008-11-13 | 2009-05-06 | 北京中文在线教育科技发展有限公司 | On-line electronic book loading method and searching method |
CN103106205A (en) * | 2011-11-10 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method and device for browsing files on mobile terminal |
CN102542018A (en) * | 2011-12-16 | 2012-07-04 | 深圳中兴网信科技有限公司 | Web online file viewing system and file conversion device |
CN102929924A (en) * | 2012-09-20 | 2013-02-13 | 百度在线网络技术(北京)有限公司 | Method and device for generating word selecting searching result based on browsing content |
US20180075020A1 (en) * | 2013-08-21 | 2018-03-15 | Intelligent Language, LLC | Date and Time Processing |
CN105094861A (en) * | 2014-05-06 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Webpage application program loading method, device and system |
CN105320768A (en) * | 2015-10-28 | 2016-02-10 | 小米科技有限责任公司 | Search method and apparatus |
US20170371941A1 (en) * | 2016-06-24 | 2017-12-28 | International Business Machines Corporation | System, method, and recording medium for dynamically changing search result delivery format |
US20180181657A1 (en) * | 2016-12-28 | 2018-06-28 | Palantir Technologies Inc. | Organization of database search results |
CN107025265A (en) * | 2017-02-17 | 2017-08-08 | 阿里巴巴集团控股有限公司 | Searching method, device, the generation method of system and command converter |
Non-Patent Citations (2)
Title |
---|
S.K. SUMANTH ET AL: "Multi-format Index Data Structure (MIDS) for multimedia container format demultiplexers", 《IEEE》 * |
方跃胜 等: "基于电力公司的多格式文档智能信息检索系统的设计与实现", 《计算机技术》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113688098A (en) * | 2021-08-20 | 2021-11-23 | 北京数码大方科技股份有限公司 | File conversion system, method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109710569B (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8364757B2 (en) | System and method for electronically managing and routing news content | |
US9219808B2 (en) | Contact information synchronization system and method | |
CN102355426A (en) | Method for transmitting off-line file and system | |
US20020194286A1 (en) | E-mail service apparatus, system, and method | |
US20160132520A1 (en) | Method and apparatus for finding file in storage device and router | |
JP2009532785A (en) | System and method for searching different data stores via a remote device | |
CN103401933B (en) | The method and system that a kind of resource information and corresponding resource file batch are uploaded | |
CN103117915A (en) | Method and equipment of sending messages | |
CN101408877A (en) | System and method for loading tree node | |
CN102487375B (en) | Method, device and system for downloading videos online | |
CN102571971A (en) | Method and system for shafting commodity information on mobile terminal | |
US20240020305A1 (en) | Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content | |
CN103501241A (en) | Method, device and system for cleaning useless files | |
CN100414869C (en) | Method and system for implementing message subscription through Internet | |
US7133142B2 (en) | Information providing system and apparatus and methods therefor | |
CN100377522C (en) | OMA download realizing method in content distributing network | |
CN105163171A (en) | File transmission method between set top box and mobile terminal and system | |
EP3308506B1 (en) | Multimedia messaging service gateway (mmsgw) system, method of operating a multimedia messaging service gateway (mmsgw)system and a software product | |
CN103248654A (en) | Negotiation method, device and system for virtual desktop service parameters | |
CN109710569A (en) | A kind of file online browse method | |
US9679262B2 (en) | Image index routing | |
JP2000020370A (en) | Data synchronous processor | |
CN106209936B (en) | Third party system data capture method and device | |
JP4630468B2 (en) | E-mail access system compatible with WWW browser and computer program used therefor | |
CN112084245B (en) | Data management method, device, equipment and storage medium based on micro-service architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |