CN104978339A - File processing method and equipment, and network system - Google Patents

File processing method and equipment, and network system Download PDF

Info

Publication number
CN104978339A
CN104978339A CN201410138455.XA CN201410138455A CN104978339A CN 104978339 A CN104978339 A CN 104978339A CN 201410138455 A CN201410138455 A CN 201410138455A CN 104978339 A CN104978339 A CN 104978339A
Authority
CN
China
Prior art keywords
file
server
computing equipment
data file
content
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
CN201410138455.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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410138455.XA priority Critical patent/CN104978339A/en
Priority to PCT/CN2015/076110 priority patent/WO2015154678A1/en
Publication of CN104978339A publication Critical patent/CN104978339A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

The invention discloses file processing equipment which resides in computation equipment. The file processing equipment comprises a content reader, a link finder, a link processor and an output device, wherein the content reader is suitable for reading the file content of a file to be processed; the link finder is suitable for looking up a link of a data file in the computation equipment from the read file content; the like processor is suitable for establishing correlation between the data file in the computation equipment and a file server in communication connection with the computation equipment, obtaining the link address of the data file in the computation equipment on the file server, and replacing the link to an external file with the obtained link address on the file server in the file content; and the output device is suitable for outputting the processed file content. The invention also discloses a corresponding file processing method and a network system which comprises the file processing equipment.

Description

A kind of document handling method, equipment and network system
Technical field
The present invention relates to internet arena, the file particularly related to being published to server carries out pretreated document handling method, document handling apparatus and network system.
Background technology
Along with the development of internet, increasing user carrys out obtaining information by internet, and the information of internet is generally stored on the server that is linked in network.User can access these servers and carry out obtaining information.Along with the development of network technology, the information that user obtains is also more and more abundanter.Present Webpage and the interactivity of user and can readabilityly also come might as well.Such as, in webpage, a large amount of JS scripts and CSS file can be adopted to define the display mode of the page and the interactive mode etc. with user.
In addition, obtain content for the ease of user from server, before on the network information is uploaded onto the server, need to edit the network information, at this moment also need also edit various JS script and CSS file and process.Along with webpage is day by day complicated, the content of JS script and CSS file also gets more and more.If on not processing these files and directly uploading onto the server, when accessing the number of users of this server and being larger, easily cause the hydraulic performance decline of server, and user may be caused to access because these file contents there is mistake makeing mistakes.
Therefore, need a kind ofly the various files of such as JS script and CSS file and so on to be carried out pre-service before uploading onto the server so that user can efficiently and exactly from the file processing scheme of server obtaining information.
Summary of the invention
For this reason, the invention provides a kind of new scheme to try hard to solve or at least alleviate Problems existing above.
According to an aspect of the present invention, a kind of document handling apparatus is provided.This document handling apparatus resides in computing equipment, and comprises: content reader, is suitable for reading the file content that will process file; Link finger, is suitable for the link finding the data file in computing equipment in read file content; Link processor, the data file in this computing equipment and the file server that is connected with this computing device communication is suitable for be associated, obtain the chained address of data file on described file server in this computing equipment, and in described file content, the described link to external file is replaced with obtained, on file server chained address; And output unit, be suitable for exporting treated file content.
Alternatively, in document handling apparatus according to the present invention, data file is any one in graphic file, audio file and video file or multiple.
Alternatively, in document handling apparatus according to the present invention, data file and the file server that is connected with this computing device communication are associated and comprise by link processor: such as determine whether this data file has been stored in file server by the hashed value of data file being sent to file server, if not, data file is uploaded in file server.
Alternatively, also comprise content compression device according to document handling apparatus of the present invention, be suitable for before described output unit output file content, compression process is carried out to file content.
Alternatively, in document handling apparatus according to the present invention, file to be processed is cascade pattern (CSS) file and/or JavaScript script (JS) file.
According to another aspect of the present invention, provide a kind of document handling method, the method is suitable for performing in computing equipment processing file, and the method comprising the steps of: read the file content that will process file; The link of the data file in computing equipment is found in read file content; Data file in this computing equipment and the file server that is connected with this computing device communication are associated, obtain the chained address of data file on described file server in this computing equipment, and in file content, the link to external file is replaced with obtained, on file server chained address; And export treated file content.
Also have an aspect according to of the present invention, provide a kind of network system, this system comprises server; File server; Multiple client, communicates with server and file server via network; And computing equipment, comprise according to document handling apparatus of the present invention, wherein computing equipment is couple to server and file server, file transfer after document handling apparatus process is also stored wherein to server, and the transmitting data file in corresponding computing equipment is stored wherein to file server, to go forward side by side row relax to be downloaded this file and to download corresponding data file from file server from server by any one in multiple client respectively.
On the webpage associated documents of such as CSS and/or JS file and so on are uploaded onto the server so as by user from client downloads time, can edit in document handling apparatus, some data files in document handling apparatus this locality may be quoted (such as when editing, image file, Voice & Video file etc.).CSS and/or JS file can be utilized process webpage from server end in client exactly to allow user, the data file quoted in CSS and/or JS file also must be uploaded onto the server and keep relative position relation, when these data files are more, be easy to missing file or relative position relation makes a mistake, thus cause the process of client to CSS and/or JS file inaccurate.According to document handling modus of the present invention, pre-service can be carried out to CSS and/or JS file in document handling apparatus, automatically the data file quoted in these CSS and/or JS files is published in file server, and the corresponding way of reference of corresponding modify CSS and/or JS file, thus guarantee by after in CSS and/or JS files passe to server, user downloads these files when processing to client, there will not be problem.
Accompanying drawing explanation
In order to realize above-mentioned and relevant object; combine description below and accompanying drawing herein to describe some illustrative aspect; these aspects indicate the various modes can putting into practice principle disclosed herein, and all aspects and equivalent aspect thereof are intended to fall in the scope of theme required for protection.Read detailed description below in conjunction with the drawings, above-mentioned and other object of the present disclosure, Characteristics and advantages will become more obvious.Throughout the disclosure, identical Reference numeral is often referred to for identical parts or element.
Fig. 1 shows the schematic diagram of network system according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of document handling apparatus according to an embodiment of the invention; And
Fig. 3 shows the process flow diagram of document handling method according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the schematic diagram of network system 100 according to an embodiment of the invention.As shown in Figure 1, network system 100 file server 160 that comprises multiple client 110,120 and 130, provide the server 140 of the network information (such as webpage) for these clients and be associated.These equipment intercom mutually via internet.
All clients are indicated hereinafter by for client 110.In the present invention, client 110-130 can be any equipment that can present the network information (such as webpage and the data file that is associated) obtained from server 140 and/or file server 160 in this area, includes but not limited to desktop computer, notebook computer, personal digital assistant, intelligent mobile terminal, panel computer etc.Usually run modern operating system in client 110-130, utilize the hardware resource that operating system is come in administrative client.Client 110 is run usually and has web browser, for presenting the webpage obtained from server 140 and/or file server 160 and the data (image quoted such as webpage, Voice & Video etc.) be associated.
Server 140 is answered the request of client 110 and the asked network information is returned client 110.The various files that the network information is generally Webpage and quotes in the page, such as image file, the multimedia files such as various audio frequency and/or video file.For the ease of file management, in network system 100, file server 160 can also be comprised, for storing various multimedia file.Like this, client 110 can obtain webpage from server 140, and obtains the multi-medium data be associated with this webpage from file server 160.It should be noted that file server 160 and server 140 can be different servers, also can be identical server.In the present invention, be only used to be convenient to for the purpose of explanation and be logically divided into different servers.
In addition, in network system 100, also comprise computing equipment 150.Computing equipment 150 to upload onto the server 140 various network information files, as webpage etc. processes.Such as can edit webpage etc., on computing equipment 150 preview webpage present effect etc., the file transfer after subsequently computing equipment 150 having been processed to server and store wherein, to download this file by client from server.
Document handling apparatus 200 is also comprised in computing equipment 150.Document handling apparatus 200 can process by the webpage associated documents (such as, CSS or JS script file etc.) good to computing equipment 150 inediting.Specifically, document handling apparatus 200 can carry out pre-service to these files before uploading in server 140 by webpage associated documents, the content of these files is optimized, and by the transmitting data file quoted in these files in file server 160, and the webpage associated documents through optimizing are transferred in server 140, such client 110 is when to server 140 requested webpage, webpage associated documents and corresponding data file can be obtained respectively from server 140 and file server 160, and the content of these webpages is presented in client.
Fig. 2 shows the schematic diagram of document handling apparatus 200 according to an embodiment of the invention.As shown in Figure 2, document handling apparatus 200 comprises content reader 210, link finger 220, link processor 230 and output unit 240.
Generally speaking, document handling apparatus 200 can process this user ready various webpage associated documents by user's startup of the resident computing equipment 150 wherein of document handling apparatus 200.Such as the user of computing equipment 150 edits webpage, and prepares these webpages and the content that is associated to release to be obtained from server 140 by client 110 and to be presented on the browser of client 110.Subsequently, the user of computing equipment 150 will carry out pre-service to various webpage associated documents by startup file treatment facility 200.User usually can specify and will carry out pretreated file directory.
Webpage associated documents can be such as CSS file and/or JS script and so on, can be called help in client to present web page contents and/or the mutual page associated documents between raising and the user of client by webpage.These files meet HTML standard, and are widely used in HTML.In these webpage associated documents, also can quote other file of the image outside these files, audio frequency and/or video and so on.
Such as, when webpage associated documents are CSS file, hereinafter show a fragment of CSS file:
#colorbox{}
#cboxTopLeft{width:21px;height:21px;background:url(colorbox/themes/1/images/controls.png)-100px0no-repeat;}
#cboxTopRight{width:21px;height:21px;background:url(colorbox/themes/1/images/controls.png)-129px0no-repeat;}
#cboxBottomLeft{width:21px;height:21px;background:url(colorbox/themes/1/images/controls.png)-100px-29px no-repeat;}
#cboxBottomRight{width:21px;height:21px;background:url(colorbox/themes/1/images/controls.png)-129px-29px no-repeat;}
In the above example, in CSS file, background:url is also used to quote the image file outside this CSS file, such as colorbox/themes/1/images/controls.png
Document handling apparatus 200 one by one processes the file under user's assigned catalogue, and such as document handling apparatus 200 can find all webpage associated documents under this catalogue, and processes one by one.Such as, document handling apparatus 200 can search the file that All Files suffix under this this catalogue is called css and/or js, and processes one by one.
Content reader 210 can read the file content of webpage associated documents.Such as, the mass storage of the file content of webpage associated documents from such as hard disk and so on can read buffer memory, so that subsequent treatment by content reader 210.In one embodiment, content reader 210 even can such as utilize HTML engine to this file content analysis, thus obtains the institutional framework of content in this file.Such as with regard to CSS, the label (tag) of each CSS and corresponding value (value) can be obtained.Certainly, according to another embodiment of the invention, directly content can be read out row cache of going forward side by side.
Link finger 220 is analyzed read file content subsequently, to find out in this file content, part is quoted to other data files in computing equipment 150, and the document location of institute's reference document and filename, namely to the link of other data files in computing equipment 150.According to one embodiment of present invention, link finger 220 to be determined by the suffix name (such as, when data file is image file, its suffix name normally png, jpg etc.) of searching data file to quote part to data file.An embodiment is also had according to of the present invention, link finger 220 can by determine may the CSS label of reference data file or JS script unit, determine that the value corresponding with these labels or script is to determine whether there is data file subsequently, and the details of data file.According to still another embodiment of the invention, when content reader 210 obtains the institutional framework of file, then linking finger 220 can travel through to search corresponding data file information in this institutional framework.It should be noted that the present invention is not limited to the specific implementation of link finger 220, all modes of the relevant information of the data file quoted that can find from read file content are all within protection scope of the present invention.
Such as, in the above example, link finger 220 can find 4 data file information quoted, but their content is the same, is all colorbox/themes/1/images/controls.png.
After link finger 220 finds the data file information quoted, link processor 230 processes found data file information.Data file information comprises the position of quoted data file relative to current processed webpage associated documents.Link processor 230 can obtain according to this positional information the data file quoted.Subsequently, link processor 230 this data file and file server 160 to be associated.Specifically, link processor 230 and determine whether there is this data file in file server 160.If there is this data file in file server 160, then directly obtain the chained address of data file in file server 160; If there is not this data file in file server 160, then this data file is uploaded in file server 160, and obtain the chained address of this data file in file server 160.
By above-mentioned process, can guarantee must store data file in file server 160, thus can be associated between data file and file server 160.After obtaining the chained address of data file in file server 160, can by the file content of institute's buffer memory, link corresponding with data file replaces with linking in file server 160.Because link finger 220 can find the link of data file, the method similar with linking finger 220 therefore can be adopted will to be linked as linking in file server 160 to local data file.
With regard to example above, assuming that the website of file server 160 is 60.img360.cn, and the link URL of data file in this file server 160 is 60.img360.cn/img/a2345690.png.By after replacing with the URL of file server 160 to the link of local data file, CSS content above will be revised as:
#colorbox{}
#cboxTopLeft{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-100px0no-repeat;}
#cboxTopRight{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-129px0no-repeat;}
#cboxBottomLeft{width:21px;height:21px;background:url http://60.img360.cn/img/a2345690.png)-100px-29px no-repeat;}
#cboxBottomRight{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-129px-29px no-repeat;}
Can have and multiplely judge whether data file has been stored in the mode in file server 160.According to an embodiment of the invention, link processor 230 can calculate the hashed value of local data file, such as MD5 value, and this value is transferred to file server 160.File server 160 comprises a memory device, wherein have recorded the hashed value of each data file in file server 160 and corresponding memory location.When file server 160 receive link processor 230 send over hashed value time, can search whether there is identical hashed value in memory device, if existed, then illustrate and stored this data file in file server 160, now directly can return the stored position information of this data file in file server 160 (i.e. link information).If there is no, then can there is not message to link processor 230 by backspace file in file server 160.Link processor 230 subsequently can by transmitting data file to file server 160.File server 160 can store this data file, and the hashed value of this data file and memory location is stored in memory device.
After link processor 230 completes process, output unit 240 can read the content of treated webpage associated documents, and outputs to the outside of document handling apparatus 200.Such as, treated webpage associated documents can directly be transferred in server 140 by output unit 240, also can store in this locality of computing equipment 150, and after waiting for that all webpage associated documents process complete, unification is transferred to server 140 by computing equipment 150 and stores.
Alternatively, document handling apparatus 200 also comprises content compression device 250.Content compression device 250 before output unit 240 exports webpage associated documents, can carry out compression process to treated webpage associated documents.Browser due to present client 110 place all supports that the file receiving compression is gone forward side by side row relax, so, webpage associated documents can be carried out compressing and be stored in server 140, the file that client 110 can directly obtain through overcompression processes, and can save network bandwidth consumption between clients and servers so further.
In addition, content compression device 250 can also carry out some optimization processes, such as, can delete the idle characters such as carriage return unnecessary in webpage associated documents, space, make the size of webpage associated documents less.When the enormous amount of client 110, a few modifications of webpage associated documents size just can save a large amount of network bandwidths.
Utilize according to document handling apparatus 200 of the present invention, can once the data file that webpage associated documents and its are quoted is published in server 140 and/or file server 160, the correctness that data file is quoted can also be kept simultaneously.Will publishing web page associated documents and the data file quoted one by one when noting be used in issue like this, thus simplify the flow process that webpage associated documents issue.In addition, different from existing published method, whether the data file that can judge document handling apparatus 200 according to the present invention has been stored into file server 160 has already suffered, therefore can prevent the repeatedly storage of a data file, then extremely important for keeping the version consistance of data file.
Fig. 3 shows the process flow diagram of document handling method 300 according to an embodiment of the invention.Method is suitable for the computing equipment 150 shown in Fig. 1, performs, to be published in server 140 and/or file server 160 by webpage associated documents in the computing equipment 200 especially shown in Fig. 2.
Generally speaking, method 300 can be called by the user of computing equipment 150 and process this user ready various webpage associated documents.Such as the user of computing equipment 150 edits webpage, and prepares these webpages and the content that is associated to release to be obtained from server 140 by client 110 and to be presented on the browser of client 110.Subsequently, the user of computing equipment 150 will carry out pre-service to various webpage associated documents by call method 300.User usually can specify and will carry out pretreated file directory.
Webpage associated documents can be such as CSS file and/or JS script and so on, can be called help in client to present web page contents and/or the mutual page associated documents between raising and the user of client by webpage.These files meet HTML standard, and are widely used in HTML.In these webpage associated documents, also can quote other file of the image outside these files, audio frequency and/or video and so on.
Give the concrete example of webpage associated documents in the description of composition graphs 2 above, repeated no more here.The method is suitable for one by one processing the file under user's assigned catalogue.Such as, the method can search the file that All Files suffix under this this catalogue is called css and/or js, and processes one by one.
The method starts from step S310.In step S310, read the file content of webpage associated documents.Such as, in step S310, the mass storage of the file content of webpage associated documents from such as hard disk and so on can be read buffer memory, so that subsequent treatment.In one embodiment, HTML engine even such as can be utilized this file content analysis, thus obtain the institutional framework of content in this file.Such as with regard to CSS, the label (tag) of each CSS and corresponding value (value) can be obtained.Certainly, according to another embodiment of the invention, directly content can be read out row cache of going forward side by side.
Subsequently, in step s 320, the file content read in step S310 is analyzed, to find out in this file content, part is quoted to other data files in computing equipment 150, and the document location of institute's reference document and filename, namely to the link of other data files in computing equipment 150.According to one embodiment of present invention, can be determined by the suffix name (such as, when data file is image file, its suffix name normally png, jpg etc.) of searching data file to quote part to data file.An embodiment is also had according to of the present invention, in step s 320, by determine may the CSS label of reference data file or JS script unit, can determine that the value corresponding with these labels or script is to determine whether there is data file subsequently, and the details of data file.According to still another embodiment of the invention, when obtaining the institutional framework of file in step S310, then in step s 320, can travel through to search corresponding data file information in this institutional framework.It should be noted that the present invention is not limited to the specific implementation of step S320, all modes of the relevant information of the data file quoted that can find from read file content are all within protection scope of the present invention.
Such as, in the above example, in step s 320, can find 4 data file information quoted, but their content being the same, is all colorbox/themes/1/images/controls.png.
After finding the data file information quoted in step s 320, in step S330, found data file information is processed.Data file information comprises the position of quoted data file relative to current processed webpage associated documents.In step S330, can obtain according to this positional information the data file quoted.Subsequently, this data file and file server 160 are associated.Specifically, in step S330, determine whether there is this data file in file server 160.If there is this data file in file server 160, then directly obtain the chained address of data file in file server 160; If there is not this data file in file server 160, then this data file is uploaded in file server 160, and obtain the chained address of this data file in file server 160.
By above-mentioned process, can guarantee must store data file in file server 160, thus can be associated between data file and file server 160.After obtaining the chained address of data file in file server 160, in step S330, can by the file content of institute's buffer memory, link corresponding with data file replaces with linking in file server 160.Owing to can find the link of data file in step S320, the method similar with step S320 therefore can be adopted will to be linked as linking in file server 160 to local data file.
With regard to example above, assuming that the website of file server 160 is 60.img360.cn, and the link URL of data file in this file server 160 is 60.img360.cn/img/a2345690.png.By after replacing with the URL of file server 160 to the link of local data file, CSS content above will be revised as:
#colorbox{}
#cboxTopLeft{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-100px0no-repeat;}
#cboxTopRight{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-129px0no-repeat;}
#cboxBottomLeft{width:21px;height:21px;background:url http://60.img360.cn/img/a2345690.png)-100px-29px no-repeat;}
#cboxBottomRight{width:21px;height:21px;background:url(http://60.img360.cn/img/a2345690.png)-129px-29px no-repeat;}
Can have and multiplely judge whether data file has been stored in the mode in file server 160.According to an embodiment of the invention, in step S330, the hashed value of local data file can be calculated, such as MD5 value, and this value is transferred to file server 160.File server 160 comprises a memory device, wherein have recorded the hashed value of each data file in file server 160 and corresponding memory location.When file server 160 receives the hashed value that computing equipment 150 sends over, can search whether there is identical hashed value in memory device, if existed, then illustrate and stored this data file in file server 160, now directly can return the stored position information of this data file in file server 160 (i.e. link information).If there is no, then can there is not message to computing equipment 150 by backspace file in file server 160.Subsequently, in step S330, can by transmitting data file to file server 160.File server 160 can store this data file, and the hashed value of this data file and memory location is stored in memory device.
Complete process in step S330 after, the content of treated webpage associated documents can be read in step S340, and output to the outside of document handling apparatus 200.Such as, can directly treated webpage associated documents be transferred in server 140, also can store in this locality of computing equipment 150, and after waiting for that all webpage associated documents process complete, unification is transferred to server 140 by computing equipment 150 and stores.
Alternatively, document handling method 300 also comprises step S350.Step S350 before step S340 exports webpage associated documents, can carry out compression process to treated webpage associated documents.Browser due to present client 110 place all supports that the file receiving compression is gone forward side by side row relax, so, webpage associated documents can be carried out compressing and be stored in server 140, the file that client 110 can directly obtain through overcompression processes, and can save network bandwidth consumption between clients and servers so further.
In addition, can also some optimization processes be carried out in step S350, such as, can delete the idle characters such as carriage return unnecessary in webpage associated documents, space, make the size of webpage associated documents less.When the enormous amount of client 110, a few modifications of webpage associated documents size just can save a large amount of network bandwidths.
Utilize according to document handling method 300 of the present invention, can once the data file that webpage associated documents and its are quoted is published in server 140 and/or file server 160, the correctness that data file is quoted can also be kept simultaneously.Will publishing web page associated documents and the data file quoted one by one when noting be used in issue like this, thus simplify the flow process that webpage associated documents issue.In addition, different from existing published method, whether the data file that can judge document handling method 300 according to the present invention has been stored into file server 160 has already suffered, therefore can prevent the repeatedly storage of a data file, then extremely important for keeping the version consistance of data file.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this instructions is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.

Claims (10)

1. a document handling apparatus, resides in computing equipment, and this document handling apparatus comprises:
Content reader, is suitable for reading the file content that will process file;
Link finger, is suitable for the link finding the data file in computing equipment in read file content;
Link processor, the data file in this computing equipment and the file server that is connected with this computing device communication is suitable for be associated, obtain the chained address of data file on described file server in this computing equipment, and in described file content, the described link to external file is replaced with obtained, on file server chained address; And
Output unit, is suitable for exporting treated file content.
2. document handling apparatus as claimed in claim 1, the data file in wherein said computing equipment is any one in graphic file, audio file and video file or multiple.
3. document handling apparatus as claimed in claim 1 or 2, the data file in this computing equipment and the file server that is connected with this computing device communication are associated and comprise by wherein said link processor:
Determine whether the data file in described computing equipment has been stored in file server, if not, the data file in described computing equipment is uploaded in file server.
4. document handling apparatus as claimed in claim 3, the hashed value of the data file in computing equipment is sent to file server by wherein said link processor, to determine whether the data file in described computing equipment has been stored in file server.
5. as the document handling apparatus in claim 1-4 as described in any one, also comprise content compression device, be suitable for before described output unit output file content, compression process is carried out to file content.
6. a document handling method, the method is suitable for performing in computing equipment, and the method comprising the steps of:
Reading will process the file content of file;
The link of the data file in computing equipment is found in read file content;
Data file in this computing equipment and the file server that is connected with this computing device communication are associated, obtain the chained address of data file on described file server in this computing equipment, and in described file content, the described link to external file is replaced with obtained, on file server chained address; And
Export treated file content.
7. document handling method as claimed in claim 6, the data file in wherein said computing equipment is any one in graphic file, audio file and video file or multiple.
8. document handling method as claimed in claims 6 or 7, wherein saidly comprises the step that the data file in this computing equipment and the file server that is connected with this computing device communication are associated:
Determine whether the data file in described computing equipment has been stored in file server, if not, the data file in described computing equipment is uploaded in file server.
9. document handling method as claimed in claim 8, wherein saidly comprises the step that the data file in this computing equipment and the file server that is connected with this computing device communication are associated:
The hashed value of the data file in computing equipment is sent to file server, to determine whether the data file in described computing equipment has been stored in file server.
10. a network system, comprises
Server;
File server;
Multiple client, communicates with server and file server via network; And
Computing equipment, comprises as the document handling apparatus in claim 1-5 as described in any one,
Wherein said computing equipment is couple to server and file server, file transfer after described document handling apparatus process is also stored wherein to server, and the transmitting data file in corresponding computing equipment is stored wherein to file server, to go forward side by side row relax to be downloaded this file and to download corresponding data file from described file server from described server by any one in multiple client respectively.
CN201410138455.XA 2014-04-08 2014-04-08 File processing method and equipment, and network system Pending CN104978339A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410138455.XA CN104978339A (en) 2014-04-08 2014-04-08 File processing method and equipment, and network system
PCT/CN2015/076110 WO2015154678A1 (en) 2014-04-08 2015-04-08 File processing method, device, and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410138455.XA CN104978339A (en) 2014-04-08 2014-04-08 File processing method and equipment, and network system

Publications (1)

Publication Number Publication Date
CN104978339A true CN104978339A (en) 2015-10-14

Family

ID=54274854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410138455.XA Pending CN104978339A (en) 2014-04-08 2014-04-08 File processing method and equipment, and network system

Country Status (2)

Country Link
CN (1) CN104978339A (en)
WO (1) WO2015154678A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073488A (en) * 2016-11-14 2018-05-25 北京京东尚科信息技术有限公司 Service monitoring method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10379920B2 (en) * 2017-06-23 2019-08-13 Accenture Global Solutions Limited Processing data to improve a quality of the data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862498A (en) * 2006-06-01 2006-11-15 无锡永中科技有限公司 Converting method of object linking and embedded object
CN101127038A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 System and method for downloading website static web page
CN101770488A (en) * 2008-12-27 2010-07-07 鸿富锦精密工业(深圳)有限公司 Web page transition system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5799259B2 (en) * 2010-07-08 2015-10-21 パナソニックIpマネジメント株式会社 Electronic equipment and computer program
CN102075569A (en) * 2010-12-15 2011-05-25 北京京东世纪贸易有限公司 Method and device for uploading multi-pictures for releasing contents
CN102929604A (en) * 2012-09-29 2013-02-13 北京奇虎科技有限公司 Screen capturing apparatus and method
CN103678600B (en) * 2013-12-13 2019-07-23 北京奇虎科技有限公司 The processing method and equipment of web data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862498A (en) * 2006-06-01 2006-11-15 无锡永中科技有限公司 Converting method of object linking and embedded object
CN101127038A (en) * 2006-08-18 2008-02-20 鸿富锦精密工业(深圳)有限公司 System and method for downloading website static web page
CN101770488A (en) * 2008-12-27 2010-07-07 鸿富锦精密工业(深圳)有限公司 Web page transition system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073488A (en) * 2016-11-14 2018-05-25 北京京东尚科信息技术有限公司 Service monitoring method and device

Also Published As

Publication number Publication date
WO2015154678A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
US10803016B2 (en) Predictive models of file access patterns by application and file type
CN106575298B (en) Rapid presentation of web sites containing dynamic content and stale content
KR102294326B1 (en) Prefetching application data for periods of disconnectivity
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN110688595B (en) File online preview method, device, equipment and storage medium
US20160328485A1 (en) Managing web browser cache for offline browsing
US20160127466A1 (en) Methods and systems for providing content data to content consumers
CN102184177A (en) Method and system for previewing file
US9245028B2 (en) System and method to identify machine-readable codes
US10289747B2 (en) Dynamic file concatenation
US20140095579A1 (en) System and method for increasing web site serving performance
CN102624910B (en) Method, the Apparatus and system of the web page contents that process user chooses
US9667696B2 (en) Low latency web-based DICOM viewer system
US9998559B2 (en) Preemptive caching of data
US9881101B2 (en) Dynamic file retrieving for web page loading
CN104978339A (en) File processing method and equipment, and network system
CN109284428B (en) Data processing method, device and storage medium
CN104978341A (en) File processing method and equipment, and network system
CN104956360B (en) Presented using the progressive picture of data URI enhancings
CN107103001B (en) Method, device and system for acquiring target front-end resource file based on browser
CN106294417A (en) A kind of data reordering method, device and electronic equipment
US20170147543A1 (en) Enabling legacy web applications for mobile devices
US10885408B2 (en) Document generation system, method of controlling the same, and non-transitory computer readable medium
CN107656985B (en) Webpage query method and system
CN109213824B (en) Data capture system, method and device

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: 20151014