CN103533073A - File management system and method for mobile equipment - Google Patents
File management system and method for mobile equipment Download PDFInfo
- Publication number
- CN103533073A CN103533073A CN201310503686.1A CN201310503686A CN103533073A CN 103533073 A CN103533073 A CN 103533073A CN 201310503686 A CN201310503686 A CN 201310503686A CN 103533073 A CN103533073 A CN 103533073A
- Authority
- CN
- China
- Prior art keywords
- file
- server
- conversion
- upload
- document
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a file management system for mobile equipment. The file management system comprises a front-end management unit, a file conversion server, a file management server, wherein the front-end management unit is configured to upload a file to a file server and record information relative to the uploaded file into a database; the file conversion server is configured to acquire the uploaded file from the file server, perform format conversion on the acquired file, and upload the converted file to the file server; and the file management server is configured to change the information which is relative to the uploaded file and stored in the database, and send a message for file uploading to the mobile equipment. The invention further provides a file management method for the mobile equipment. With the adoption of the file management system and method, unified management of the mobile equipment files and conversion of various file formats can be achieved, and the file conversion efficiency is improved.
Description
Technical field
The present invention relates to field of information processing.More specifically, the present invention relates to a kind of file management system for mobile device file and method.
Background technology
Mobile terminal (such as mobile phone, panel computer etc.) can be downloaded from server the file of various forms, for example text (for example doc, xls, ppt, txt, pdf), web page files (for example html) or image file (for example jpeg, gif).In order to facilitate user to read, server unification converts the file of various different-formats to pdf document and downloads for user, and converts the homepage of file to jpeg thumbnail for user's preview.
Yet the management of mobile device file is current only to be carried out on terminal equipment, cannot use background server to carry out unified management and Batch conversion to file.
Summary of the invention
In order to address the above problem, the invention provides the system and method that mobile device file is managed and changed.
Particularly, according to the first scheme of the present invention, a kind of file management system for mobile device file is provided, comprising: front end management unit, be configured to: to file server upload file, and by the relevant information recording of the file with uploading in database; File change server, is configured to: from file server, obtain the file of uploading, the file obtaining is carried out to format conversion, and upload the file after conversion to file server; And document management server, be configured to: change the information relevant with file that upload that store in database, and to mobile device, send the notice of upload file.
In one embodiment, the information relevant with the file of uploading comprises document number, file address and file status.
In one embodiment, front end management unit is also configured to: to file change server, send the message that indication file has been uploaded, described message comprises document number and file address.
In one embodiment, file change server is also configured to: from front end administrative unit, receive described message, and utilize the file address that described message comprises from file server, to obtain the file of uploading.
In one embodiment, file change server is also configured to: after the file after uploading conversion, to document management server, send message, described message comprises document number, file address and file transition status.
In one embodiment, document management server is also configured to: from file change server, receive described message, the file address comprising according to described message creates the file address of the file after conversion, and the file address of the file after conversion is recorded in database.
In one embodiment, document management server is also configured to: if the file transition status that described message comprises indication file convert failed sends message to file change server, with circular document change server, re-start conversion.
In one embodiment, described message encapsulates with Json protocol format, and encodes with UTF-8 form.
In one embodiment, document management server is also configured to: by message push service, to mobile device, send the notice of upload file.
In one embodiment, the file of uploading comprises at least one in text, image file, web page files, and the file after conversion comprises pdf document and jpeg file.
According to alternative plan of the present invention, a kind of file management method for mobile device file is provided, comprising: to file server upload file, and by the relevant information recording of the file with uploading in database; From file server, obtain the file of uploading, the file obtaining is carried out to format conversion, and upload the file after conversion to file server; And the information relevant with file that upload that store in change database, and to mobile device, send the notice of upload file.
In one embodiment, the information relevant with the file of uploading comprises document number, file address and file status.
In one embodiment, if file convert failed re-starts conversion.
In one embodiment, by message push service, to mobile device, send the notice of upload file.
In one embodiment, the file of uploading comprises at least one in text, image file, web page files, and the file after conversion comprises pdf document and jpeg file.
Adopt the present invention, can realize unified management and the conversion to multiple file format for mobile device file, these conversions can be in the concurrent execution of background server, thereby has improved the efficiency of file conversion.
Accompanying drawing explanation
By below in conjunction with accompanying drawing explanation the preferred embodiments of the present invention, will make of the present invention above-mentioned and other objects, features and advantages are clearer, wherein:
Fig. 1 shows according to one embodiment of present invention the block diagram for the file management system of mobile device file.
Fig. 2 shows according to one embodiment of present invention the flow chart for the file management method of mobile device file.
Fig. 3 shows the schematic diagram of the file management system for mobile device file according to an embodiment of the invention.
In institute of the present invention drawings attached, same or analogous structure is all with same or analogous designated.
Embodiment
To a preferred embodiment of the present invention will be described in detail, in description process, having omitted is unnecessary details and function for the present invention with reference to the accompanying drawings, to prevent that the understanding of the present invention from causing, obscures.
Fig. 1 shows according to one embodiment of present invention the block diagram for the file management system 10 of mobile device file.As shown in Figure 1, file management system 10 comprises front end management unit 110, file change server 120 and document management server 130.Below, each assembly of the file management system 10 shown in Fig. 1 is described in detail.
Front end management unit 110 is to file server upload file, and by the relevant information recording of the file with uploading in database.In one example, the information relevant with the file of uploading can comprise document number, file address and file status.In addition, front end management unit 110 can also send to file change server 120 message that indication file has been uploaded after upload file, and described message can comprise document number and file address.
In addition, if the file transition status that described message comprises indication file convert failed, document management server 130 can also send message to file change server 120, with circular document change server 120, re-starts conversion.
In addition, document management server 130 can send by message push service the notice of upload file to mobile device.
In the present embodiment, above-mentioned each message can encapsulate with Json protocol format, and encodes with UTF-8 form.The file of uploading can comprise at least one in text, image file, web page files.File after conversion for example can comprise pdf document and jpeg file.
Below, in conjunction with the example shown in Fig. 3, describe the operation of each assembly of file management system 10 in detail.It should be noted that, although example is below carried out encapsulation messages and carrys out coded message with UTF-8 form with Json protocol format, and the file after conversion is pdf document and jpeg file, it will be appreciated by those skilled in the art that, message in the present invention can encapsulate and encode with any other applicable forms with any other applicable agreement, and the file after conversion can be other files of wishing type.
Fig. 3 shows the schematic diagram of the file management system for mobile device file according to an embodiment of the invention.As shown in Figure 3, keeper can utilize the upload file of front end management unit, for example, by File Transfer Protocol upload file.Particularly, keeper selects file that this locality need to upload (file format for example can comprise doc, docx, xls, xlsx, ppt, pptx, txt, pdf, csv, htm, html, jpg, jpeg, tif, tiff, bmp, png, gif), file is uploaded to file server.If upload failure, can point out mistake.If uploaded successfully, create document number (FileID), create upload file at the full address (FileURL) of file server, file status (FileStatus) is set for uploading.Then, front end management unit is recorded to FileID, FileURL and FileStatus in the t_file table of database (t_file list structure comprises field FileID, FileURL, PDFFileURL, JPGFileURL, FileStatus).Then, front end management unit can send type of message for the message of " uploading " is to message queue (ActiveMQ), circular document change server 120 files are uploaded, the content of this message comprises FileID and FileURL, and encapsulates and encode by UTF-8 coded format with Json protocol format.
The 120 monitoring message queues of file change server.When receiving that type of message is the message of " uploading ", file change server 120 is used Json protocol analysis message content, obtains FileID and FileURL.Then, file change server 120 is set up FTP communication with file server, uses FileURL that original is downloaded to this locality, and after downloading successfully, initiates PDF conversion, original is converted to pdf document and is stored in this locality.After changing successfully, file change server 120 is converted to the homepage of pdf document jpeg file and is stored in this locality.After this, file change server 120 uploads to original place catalogue in file server by pdf document and jpeg file.The title of pdf document and jpeg file can be used old file name to add PDF/JPEG suffix.
After uploading successfully, file change server 120 is deleted local temporary files and is sent message that type of message is " converting " to message queue, and circular document management server 130 files convert.The content of this message can comprise filename, file address and file transition status (FileConvertStatus) and return information (Message).If whole document converting process success, can arrange FileConvertStatus for conversion success status, Message fills in " success "; Otherwise it is convert failed state that FileConvertStatus can be set, Message fills in failure cause.This message can encapsulate with Json protocol format, and encodes by UTF-8 coded format.
Like this, when receiving the message that message cloud sends, mobile terminal is used Json protocol analysis message content, obtains filename.Then, mobile terminal can be set up Https communication to send request with document management server.Document management server receives this request, uses the table t_file of filename accessing database, obtains file address (FileURL), pdf document address (PDFFileURL) and jpeg file address (JPGFileURL), is returned to mobile terminal.Like this, mobile terminal can be set up Https communication by Nginx and file server, uses file address to download original, uses pdf document address to download pdf document, and uses jpeg file address to download jpeg file (preview graph).
Adopt the present embodiment, can realize unified management and the conversion to multiple file format for mobile device file, these conversions can be in the concurrent execution of background server, thereby has improved the efficiency of file conversion.
Fig. 2 shows according to one embodiment of present invention the flow chart for the file management method 20 of mobile device file.As shown in Figure 2, method 20 starts at step S210 place.
At step S220 place, to file server upload file, and by the relevant information recording of the file with uploading in database.For example, the file of uploading can comprise at least one in text, image file, web page files, and the information relevant with the file of uploading can comprise document number, file address and file status.
At step S230 place, from file server, obtain the file of uploading, the file obtaining is carried out to format conversion, and upload the file after conversion to file server.For example, the file after conversion can comprise pdf document and jpeg file.Alternatively, if file convert failed can re-start conversion.
At step S240 place, change the information relevant with file that upload that store in database, and to mobile device, send the notice of upload file.For example, can to mobile device, send by message push service the notice of upload file.
Finally, method 20 finishes at step S250 place.
Should be appreciated that, the above embodiment of the present invention can realize by both combinations of software, hardware or software and hardware.For example, various assemblies in system 10 shown in Fig. 1 can be realized by multiple device, these devices include but not limited to: analog circuit, digital circuit, general processor, Digital Signal Processing (DSP) circuit, programmable processor, application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA), programmable logic device (CPLD), etc.In addition, the mode that the various assemblies in system 10 also can combine by hardware and software realizes, or with the form of software, realizes completely.
In addition, those skilled in the art will appreciate that the data of describing in the embodiment of the present invention can be stored in local data base, also can be stored in distributed data base or can be stored in remote data base.
In addition, embodiments of the invention disclosed herein can be realized on computer program.More specifically, this computer program is following a kind of product: have computer-readable medium, on computer-readable medium, coding has computer program logic, and when carrying out on computing equipment, this computer program logic provides relevant operation to realize technique scheme of the present invention.While carrying out at least one processor at computing system, computer program logic makes the operation (method) described in the processor execution embodiment of the present invention.This set of the present invention is typically provided as and arranges or be coded in such as the software on the computer-readable medium of light medium (such as CD-ROM), floppy disk or hard disk etc., code and/or other data structures or such as other media or the Downloadable software image in one or more module, the shared data bank etc. of the firmware on one or more ROM or RAM or PROM chip or microcode.Software or firmware or this configuration can be arranged on computing equipment, so that the one or more processors in computing equipment are carried out the described technical scheme of the embodiment of the present invention.
So far invention has been described in conjunction with the preferred embodiments.Should be appreciated that, those skilled in the art without departing from the spirit and scope of the present invention, can carry out various other change, replacement and interpolations.Therefore, scope of the present invention is not limited to above-mentioned specific embodiment, and should be limited by claims.
Claims (17)
1. for a file management system for mobile device file, comprising:
Front end management unit, is configured to: to file server upload file, and by the relevant information recording of the file with uploading in database;
File change server, is configured to: from file server, obtain the file of uploading, the file obtaining is carried out to format conversion, and upload the file after conversion to file server; And
Document management server, is configured to: change the information relevant with file that upload that store in database, and to mobile device, send the notice of upload file.
2. file management system according to claim 1, wherein, the information relevant with the file of uploading comprises document number, file address and file status.
3. file management system according to claim 1, wherein, front end management unit is also configured to: to file change server, send the message that indication file has been uploaded, described message comprises document number and file address.
4. file management system according to claim 3, wherein, file change server is also configured to: from front end administrative unit, receive described message, and utilize the file address that described message comprises from file server, to obtain the file of uploading.
5. file management system according to claim 1, wherein, file change server is also configured to: after the file after uploading conversion, to document management server, send message, described message comprises document number, file address and file transition status.
6. file management system according to claim 5, wherein, document management server is also configured to: from file change server, receive described message, the file address comprising according to described message creates the file address of the file after conversion, and the file address of the file after conversion is recorded in database.
7. file management system according to claim 6, wherein, document management server is also configured to: if the file transition status that described message comprises indication file convert failed sends message to file change server, with circular document change server, re-start conversion.
8. according to the file management system described in any one in claim 3-7, wherein, described message encapsulates with Json protocol format, and encodes with UTF-8 form.
9. file management system according to claim 1, wherein, document management server is also configured to: by message push service, to mobile device, send the notice of upload file.
10. file management system according to claim 1, wherein, the file of uploading comprises at least one in text, image file, web page files.
11. file management systems according to claim 1, wherein, the file after conversion comprises portable document format pdf document and associating figure expert group jpeg file.
12. 1 kinds of file management methods for mobile device file, comprising:
To file server upload file, and by the relevant information recording of the file with uploading in database;
From file server, obtain the file of uploading, the file obtaining is carried out to format conversion, and upload the file after conversion to file server; And
Change the information relevant with file that upload that store in database, and to mobile device, send the notice of upload file.
13. file management methods according to claim 12, wherein, the information relevant with the file of uploading comprises document number, file address and file status.
14. file management methods according to claim 12, wherein, if file convert failed re-starts conversion.
15. file management methods according to claim 12, wherein, send the notice of upload file to mobile device by message push service.
16. file management methods according to claim 12, wherein, the file of uploading comprises at least one in text, image file, web page files.
17. file management methods according to claim 12, wherein, the file after conversion comprises portable document format pdf document and associating figure expert group jpeg file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310503686.1A CN103533073A (en) | 2013-10-23 | 2013-10-23 | File management system and method for mobile equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310503686.1A CN103533073A (en) | 2013-10-23 | 2013-10-23 | File management system and method for mobile equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103533073A true CN103533073A (en) | 2014-01-22 |
Family
ID=49934737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310503686.1A Pending CN103533073A (en) | 2013-10-23 | 2013-10-23 | File management system and method for mobile equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103533073A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394183A (en) * | 2014-07-01 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | File uploading system and method and Nginx server |
CN104954368A (en) * | 2015-06-05 | 2015-09-30 | 阔地教育科技有限公司 | File processing method and system in direct recording and broadcasting interactive system |
CN105468710A (en) * | 2015-11-19 | 2016-04-06 | 中国建设银行股份有限公司 | Picture processing method and system applied in high concurrency scene |
WO2017076149A1 (en) * | 2015-11-02 | 2017-05-11 | 中兴通讯股份有限公司 | Image processing system and image processing method |
CN109522277A (en) * | 2018-10-10 | 2019-03-26 | 江苏中威科技软件系统有限公司 | A kind of method and apparatus that multi-format document is read |
CN112269787A (en) * | 2020-11-09 | 2021-01-26 | 安徽华典大数据科技有限公司 | Database data conversion method based on quantum computation |
CN113239213A (en) * | 2021-06-01 | 2021-08-10 | 中国农业银行股份有限公司 | Credit file processing method, apparatus, device, system, medium, and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6317743B1 (en) * | 1998-12-04 | 2001-11-13 | Sun Microsystems, Inc. | System for retrieving compiling and loading management information in a digital data network |
CN101459882A (en) * | 2007-12-11 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | File downloading system and method for radio equipment |
CN101951348A (en) * | 2010-09-17 | 2011-01-19 | 北京百纳科创信息技术有限公司 | Mail push system and push method thereof |
CN101958837A (en) * | 2010-09-30 | 2011-01-26 | 北京世纪互联工程技术服务有限公司 | Log processing system, log processing method, node server and center server |
CN102629307A (en) * | 2012-03-02 | 2012-08-08 | 北京绿色森林信息技术有限公司 | Internet online identification and reading file anti-theft and downloading system and method thereof |
-
2013
- 2013-10-23 CN CN201310503686.1A patent/CN103533073A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6317743B1 (en) * | 1998-12-04 | 2001-11-13 | Sun Microsystems, Inc. | System for retrieving compiling and loading management information in a digital data network |
CN101459882A (en) * | 2007-12-11 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | File downloading system and method for radio equipment |
CN101951348A (en) * | 2010-09-17 | 2011-01-19 | 北京百纳科创信息技术有限公司 | Mail push system and push method thereof |
CN101958837A (en) * | 2010-09-30 | 2011-01-26 | 北京世纪互联工程技术服务有限公司 | Log processing system, log processing method, node server and center server |
CN102629307A (en) * | 2012-03-02 | 2012-08-08 | 北京绿色森林信息技术有限公司 | Internet online identification and reading file anti-theft and downloading system and method thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394183A (en) * | 2014-07-01 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | File uploading system and method and Nginx server |
CN104954368A (en) * | 2015-06-05 | 2015-09-30 | 阔地教育科技有限公司 | File processing method and system in direct recording and broadcasting interactive system |
WO2017076149A1 (en) * | 2015-11-02 | 2017-05-11 | 中兴通讯股份有限公司 | Image processing system and image processing method |
CN105468710A (en) * | 2015-11-19 | 2016-04-06 | 中国建设银行股份有限公司 | Picture processing method and system applied in high concurrency scene |
CN109522277A (en) * | 2018-10-10 | 2019-03-26 | 江苏中威科技软件系统有限公司 | A kind of method and apparatus that multi-format document is read |
CN112269787A (en) * | 2020-11-09 | 2021-01-26 | 安徽华典大数据科技有限公司 | Database data conversion method based on quantum computation |
CN113239213A (en) * | 2021-06-01 | 2021-08-10 | 中国农业银行股份有限公司 | Credit file processing method, apparatus, device, system, medium, and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103533073A (en) | File management system and method for mobile equipment | |
CN102184177A (en) | Method and system for previewing file | |
CN106464572B (en) | Message attachment management | |
US8788699B2 (en) | Information processing apparatus and document data producing method | |
CN110401724B (en) | File management method, file transfer protocol server and storage medium | |
US20150006475A1 (en) | Data deduplication in a file system | |
US20150046503A1 (en) | System and method for capturing, managing, and distributing computer files | |
JP2016530654A (en) | File search method for storage device, file search device for storage device, router, program, and recording medium | |
US20120293826A1 (en) | Systems and methods for providing multiple images | |
Di Francesco et al. | A storage infrastructure for heterogeneous and multimedia data in the internet of things | |
CN104090862A (en) | Network disk multi-type file online preview method based on Linux+Ngnix+Mysql+PHP (LNMP) | |
KR20110068642A (en) | Image forming system by using the transfer of e-mail and image forming method by using the transfer of e-mail | |
CN105357321A (en) | File transmission method based on abstract value, terminal, and file server | |
US9485203B2 (en) | Method and system for attaching scanned documents to email replies via a mobile communications device | |
WO2003046727A1 (en) | Information providing system, information providing method, and information providing program | |
US20130179398A1 (en) | Device for synchronously sharing files and method for synchronously sharing files | |
RU2580425C1 (en) | Method of structuring stored user-related objects on server | |
CN109246444B (en) | Task load operation monitoring system, method and device and readable storage medium | |
US20190197186A1 (en) | Computer-implemented methods, systems comprising computer-readable media, and electronic devices for automated transcode lifecycle buffering | |
CN110198349B (en) | File transmission method and device, storage medium and electronic device | |
KR20170074070A (en) | Method and apparatus for automatic converting file name based on the cloud server | |
CN102077517A (en) | Adapter for synchronizing data over different networks | |
KR101376320B1 (en) | Server, device, and the method for increasing efficiency of caching in a Web environment | |
CN114116675A (en) | Data archiving method and device | |
US9742832B2 (en) | Transmission apparatus, transmission method, computer-readable storage medium storing transmission program, and relay system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140122 |