CN106331125A - File downloading method and apparatus - Google Patents

File downloading method and apparatus Download PDF

Info

Publication number
CN106331125A
CN106331125A CN201610756434.3A CN201610756434A CN106331125A CN 106331125 A CN106331125 A CN 106331125A CN 201610756434 A CN201610756434 A CN 201610756434A CN 106331125 A CN106331125 A CN 106331125A
Authority
CN
China
Prior art keywords
file
equipment
network access
network management
focus
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
CN201610756434.3A
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610756434.3A priority Critical patent/CN106331125A/en
Publication of CN106331125A publication Critical patent/CN106331125A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a file downloading method and apparatus, and belongs to the field of data communication. The method comprises the following steps: when a network access device receives a request sent by a client in a local area network where the network access device is located to a network side, identifying the request as a file downloading request by adopting the depth packet detection technology, acquiring file identification information carried in the file downloading request, searching in a local hotspot file with the file identification information as an index, in the case of a search failure of the network access device, sending the file identification information to a centralized network management device, in the case of a search success of the centralized network management device, receiving a target file returned by the centralized network management device by the network access device, and sending the target file returned by the centralized network management device to the client. By adoption of the method, the data flow of the network side in a file downloading process of the client in the local area network where the network access device is located is reduced, the intelligent degree in a Wan optimization process is improved, and the waste of resources is reduced.

Description

Document down loading method and device
Technical field
The present invention relates to data communication field, in particular to a kind of document down loading method and device.
Background technology
The communication subnet of wide area network Wan (Wide Area Network) mainly uses packet-switch technology.Leading to of wide area network Letter subnet can utilize public packet switching network, satellite communication network and wireless, packet-switched net, and it will be distributed over different regions LAN or computer system interconnect, and reach the purpose of resource-sharing.In being world wide such as the Internet (Internet) Maximum wide area network.Existing Wan optimisation technique is mainly optimized what equipment completed by the Wan of specialty.At existing optimization Wan During, it is the most intelligent that Wan optimizes process, causes the great wasting of resources.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of document down loading method and device, excellent to promote Wan Degree of intelligence during change, reduces the wasting of resources.
First aspect, embodiments provides a kind of document down loading method, is applied to network system, described network system System includes network access equipment and for the centralized network management equipment being managed described network access equipment, and described network connects Entering equipment storage has focus file, described centralized network management equipment storage to have focus file, described method to include: when described network connects Enter equipment receive client in a local network send to network side request time, use deep packet inspection technical identification institute Request of stating is asked for file download, obtains the file identification information that described file download asks to carry;Described network access equipment Make a look up in local focus file with described file identification information for index;If described network access equipment is searched into Merit, the file destination found is sent to described client by described network access equipment;If described network access equipment is looked into Look for unsuccessfully, described file identification information is sent to described centralized network management equipment, so that described centralized network management equipment is with described literary composition Part identification information is to index to make a look up at local focus file;If described centralized network management equipment is searched successfully, described net Network access device receives the file destination that described centralized network management equipment returns, the file destination returned by described centralized network management equipment It is sent to described client.
Second aspect, embodiments provides a kind of document down loading method, is applied to network system, described network system System includes network access equipment and for the centralized network management equipment being managed described network access equipment, described concentration net Tube apparatus storage has focus file, described focus file to be asked based on described network access equipment by described centralized network management equipment File temperature download, described method includes: described centralized network management equipment receive described network access equipment send file Downloading request, obtain the file identification information that described file download asks to carry, the request of described file download connects for described network Transmission when entering the file that local non-existent the client in a local network of equipment Inspection ask to network side;Described concentration net Tube apparatus makes a look up with described file identification information for index in described focus file;If searching successfully, described concentration The file destination found is sent to described network access equipment by Network Management Equipment, so that described network access equipment is by described mesh Mark file is sent to described client.
The third aspect, embodiments provides a kind of document down loading method, is applied to network system, described network system System includes network access equipment and for the centralized network management equipment being managed described network access equipment, and described network connects Entering equipment storage has focus file, described centralized network management equipment storage to have focus file, described method to include: when described network connects Enter equipment receive client in a local network send to network side request time, use deep packet inspection technical identification institute Request of stating is asked for file download, obtains the file identification information that described file download asks to carry;Described network access equipment Make a look up in local focus file with described file identification information for index;If described network access equipment is searched into Merit, the file destination found is sent to described client by described network access equipment;If described network access equipment is looked into Look for unsuccessfully, described file identification information is sent to described centralized network management equipment;Described centralized network management equipment is with described files-designated Knowledge information is to index to make a look up at local focus file;If described centralized network management equipment is searched successfully, described concentration net The file destination found is returned to described network access equipment by tube apparatus;Described network access equipment is by described centralized network management The file destination that equipment returns is sent to described client.
Fourth aspect, embodiments provides a kind of file downloading device, is applied to network system, described network system System includes network access equipment and for the centralized network management equipment being managed described network access equipment, and described network connects Entering equipment storage has focus file, described centralized network management equipment storage to have focus file, run on described network access equipment, institute State device to include: file identification information acquiring unit, for receive when described network access equipment visitor in a local network During the request that family end sends to network side, use request described in deep packet inspection technical identification to ask for file download, obtain institute State the file identification information that file download asks to carry;Document retrieval unit, for existing with described file identification information for index Local focus file makes a look up;File request unit, if searching unsuccessfully, by described for described document retrieval unit File identification information is sent to described centralized network management equipment, so that described centralized network management equipment is with described file identification information as rope Draw and make a look up at local focus file;File returns unit, if searching successfully for described centralized network management equipment, receives The file destination that described centralized network management equipment returns, is sent to described client by the file destination that described centralized network management equipment returns End;If being additionally operable to described document retrieval unit and searching successfully, the file destination found is sent to described client.
5th aspect, embodiments provides a kind of file downloading device, is applied to network system, described network system System includes network access equipment and for the centralized network management equipment being managed described network access equipment, described concentration net Tube apparatus storage has focus file, described focus file to be asked based on described network access equipment by described centralized network management equipment File temperature download, run on described centralized network management equipment, described device includes: file identification information acquiring unit, use In receiving the file download request that described network access equipment sends, obtain the file identification letter that the request of described file download is carried Breath, the request of described file download for non-existent the client in a local network in described network access equipment detection this locality to net Send during the file that network side is asked;Ff unit, for described file identification information for indexing at described focus file In make a look up;File returns unit, if for searching successfully, the file destination found being sent to described network insertion Equipment, so that described file destination is sent to described client by described network access equipment.
6th aspect, embodiments provides a kind of network system, and described network system includes network access equipment And for the centralized network management equipment being managed described network access equipment, described network access equipment storage has focus literary composition Part, described centralized network management equipment storage has focus file;Described network access equipment, for when receive in a local network Client, when the file download request that network side sends, intercepts the request of described file download, obtains the request of described file download The file identification information carried, makes a look up with described file identification information for index in local focus file, if institute State network access equipment and search unsuccessfully, described file identification information is sent to described centralized network management equipment;Described centralized network management Equipment, for making a look up, if described centralized network management sets at local focus file with described file identification information for index For future reference look for successfully, the file destination found is returned to described network access equipment;Described network access equipment, be additionally operable to by The file destination that described centralized network management equipment returns is sent to described client.
The document down loading method of embodiment of the present invention offer and device, by network access equipment and for network The centralized network management equipment that access device is managed stores the mode of focus file so that network access equipment uses deep packet The client that detection technique identifies in the LAN of place sends file download request request to network side, and at local focus literary composition When part does not find the file that described file download is asked, file download can be sent to centralized network management equipment again Request, if after centralized network management equipment finds file destination in the focus file of storage, network access equipment is again by this mesh Mark file returns to client, and then reduces net in the client downloads file processes in the LAN of network access equipment place The data traffic of network side, promotes the degree of intelligence during Wan optimizes, reduces the wasting of resources.
Other features and advantages of the present invention will illustrate in description subsequently, and, partly become from description It is clear that or understand by implementing the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying of being write Structure specifically noted in bright book, claims and accompanying drawing realizes and obtains.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by embodiment required use attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, and it is right to be therefore not construed as The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to this A little accompanying drawings obtain other relevant accompanying drawings.
The mutual schematic diagram of the equipment in the network system that Fig. 1 provides for the embodiment of the present invention;
The flow chart of a kind of document down loading method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the another kind of document down loading method that Fig. 3 provides for the embodiment of the present invention;
The sequential chart of another document down loading method that Fig. 4 provides for the embodiment of the present invention;
The structured flowchart of a kind of file downloading device that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of the another kind of file downloading device that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Generally exist Can arrange and design with various different configurations with the assembly of the embodiment of the present invention that illustrates described in accompanying drawing herein.Cause This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention provided in the accompanying drawings below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing Individual accompanying drawing is defined, then need not it be defined further and explains in accompanying drawing subsequently.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing and describe, and it is not intended that indicate or hint relative importance.
Fig. 1 provides the client 110 in network system and network access equipment 120, and network for the embodiment of the present invention The schematic diagram that access device 120 interacts with centralized network management equipment 130, described network access equipment 120 is by LAN 210 Be communicatively coupled with one or more clients 110, to carry out data communication or mutual, described network access equipment 120 with Described centralized network management equipment 130 is communicatively coupled by network 220, to carry out data communication or mutual.Described network insertion Equipment 120 can be router, three-tier switch etc..Described centralized network management equipment 130 can be the webserver or individual Computer etc..
Network access equipment and centralized network management equipment in the network system that the present embodiment provides all have stored focus literary composition Part, wherein, the focus file of centralized network management equipment storage is that the file download request sent based on network access equipment is added up To request temperature download obtain, centralized network management equipment storage focus file after can to network access equipment storage focus File carries out deleting, update and the simultaneously operating such as increase.The focus file of network access equipment storage is except for described concentration Outside Network Management Equipment synchronizes to obtain, it is also possible to the request temperature obtained based on the file download request statistics received for self is downloaded Obtain.
Referring to Fig. 2, a kind of document down loading method that the embodiment of the present invention provides, the network being applied in network system connects Entering equipment, described method includes:
Step S310: when described network access equipment receive the literary composition that sends to network side of client in a local network When part downloads request, intercept the request of described file download, obtain the file identification information that described file download asks to carry.
In the present embodiment, network access equipment is arranged at the Access Layer of the LAN such as enterprise network or Campus Networks, is used for Realize the communication of the client in LAN and network side.Such as, the client in LAN can pass through network access equipment TCP (Transmission Control Protocol, transmission is set up through the mode of three-way handshake with the server of network side Control protocol) connection etc..In order to reduce the data traffic of network side, when network access equipment is by DPI (Deep Packet Inspection, deep message detects) technology judges that client, when to network side demand file, can first judge locally stored Focus file in whether have the file that the client in LAN asked to network side.Wherein, network access equipment is permissible Judge that whether client exists by the Format Type judging file that client asked or the type of request that sent File download request is sent to network side.
Such as, when judging that the request that client is sent as HTTP request, FTP request or carries out literary composition in the way of GET Part request or entrained URL meet the file format asked or asked of preset path form and meet default file form During request, such as, during the file of exe, iso, avi, mp4, msi and apk form, then judge that request that client sends is as literary composition Part downloads request.As can by regular expression Regex: .{exe | iso | avi | mp4 | msi} $ identify download large-scale literary composition The URL of part, can by regular expression Regex: .{pdf | mp3 | docx?|xlsx?$ identify download middle-size and small-size file The behavior of resource.
Certainly, when judging that the request that client sends is file download request, network access equipment needs to obtain is asked Ask the file identification information of file, such as, filename etc., in order to carry out follow-up ff.
Step S220: described network access equipment enters with described file identification information for index in local focus file Row is searched.
After network access equipment gets file identification information, with file identification information for index at local focus literary composition Part makes a look up.
Step S230: if described network access equipment is searched successfully, the target that described network access equipment will find File is sent to described client.
Step S240: if described network access equipment is searched unsuccessfully, described file identification information is sent to described collection Middle Network Management Equipment, so that described centralized network management equipment is looked at local focus file with described file identification information for index Look for.
If network access equipment does not find the file that file identification information is corresponding in local focus file, permissible The file download request carrying the file identification information got is sent again to centralized network management equipment.Centralized network management equipment is being obtained After getting file identification information, ff can be carried out in locally stored focus file.
Step S250: if described centralized network management equipment is searched successfully, described network access equipment receives described concentration net The file destination that tube apparatus returns, is sent to described client by the file destination that described centralized network management equipment returns.
Wherein, network access equipment after finishing receiving the file destination that centralized network management equipment returns, then will be able to receive The file destination completed is sent to client.Additionally, network access equipment will can also set from centralized network management in the way of transparent transmission The standby file destination received is sent to client.
Step S260: if described centralized network management equipment is searched unsuccessfully, described network access equipment is in response to described concentration The lookup failure notification that Network Management Equipment returns, obtains the server address information that described file download asks to carry;By described literary composition The part request of downloading is sent to the server that described server address information points to, in order to client still can be from the file sent Download and the server pointed by request is downloaded file.
It should be noted that client is before sending file download request, indication can be asked with file download in advance Between server, set up TCP connect.If network access equipment or centralized network management equipment find client to be asked in this locality After the file asked, file download request will not be sent to pointed server, for this server by network access equipment again Releasing network resource that can be instant, as described a kind of embodiment, network access equipment can obtain described file download The server address information that request is carried, disconnects described client is set up and server beforehand through described network access equipment Pointed by address information, the TCP between server connects.
The document down loading method that the embodiment of the present invention provides, by network access equipment and for setting network insertion The standby centralized network management equipment being managed stores the mode of focus file so that network access equipment uses deep-packet detection skill The client that art identifies in the LAN of place sends file download request request to network side, and does not has in local focus file Have when finding file that described file download is asked, file download request can be sent to centralized network management equipment again, If after centralized network management equipment finds file destination in the focus file of storage, network access equipment is again by this file destination Return to client, and then reduce network side in the client downloads file processes in the LAN of network access equipment place Data traffic, promotes the degree of intelligence during Wan optimizes, reduces the wasting of resources.
Referring to Fig. 3, a kind of document down loading method that the present embodiment provides, the centralized network management being applied in network system sets Standby, described method includes:
Step S310: described centralized network management equipment receives the file download request that described network access equipment sends, and obtains Described file download asks the file identification information carried, and the request of described file download is described network access equipment detection this locality Send during the file that non-existent client in a local network is asked to network side;
Step S320: described centralized network management equipment is carried out with described file identification information for index in described focus file Search.
Step S330: if searching successfully, the file destination found is sent to described net by described centralized network management equipment Network access device, so that described file destination is sent to described client by described network access equipment.
In centralized network management equipment, corresponding storage has file identification information and request temperature, and wherein file identification information is corresponding File include the file of local existence and the local file not existed.Send out when centralized network management equipment receives network access equipment After the file download request carrying file identification information sent, the file identification information correspondence that file download request is carried can be updated Request temperature.
As a kind of mode, step S340: if searching unsuccessfully, described centralized network management equipment is to described network access equipment Return and search failure notification, and the request temperature that file identification information described in described centralized network management renewal of the equipment is corresponding, work as institute State and described in centralized network management monitoring of equipment, ask temperature when meeting default condition, download the target that described file identification information is corresponding File.Wherein, when the condition preset can be the request temperature characterizing request number of times more than default heat degree threshold, it is also possible to time The request temperature of sign request number of times sorts when meeting preset value in multiple request temperatures that centralized network management equipment stores.
It should be noted that network access equipment is when sending file download request to centralized network management equipment, under this document In load request in addition to carrying file identification information, it is also possible to carry the file download request that client sends to network side In the server address information that carries.Then centralized network management equipment in correspondence storage file identification information and asks the same of temperature Time, it is also possible to corresponding storage file identification information and server address information, in order to centralized network management equipment is carried out under file Carry.
In order to ensure that locally stored FileVersion is newer version, centralized network management equipment also can be to locally stored File is updated.As a kind of mode, centralized network management equipment can update based on the file update cycle of described focus file Described focus file.Different files, the respective update cycle can be different.For the file that renewal frequency is higher, Ke Yishe Put higher renewal frequency, the file that renewal frequency is told somebody what one's real intentions are, then relatively low renewal frequency can be set.
As a kind of mode, in order to the renewal frequency of the most adaptive different file, when described centralized network management equipment When updating described focus file success, the file update cycle that described focus file is corresponding can be shortened, and when described concentration net When tube apparatus updates described focus file failure, the file update cycle that described focus file is corresponding can be extended.It is appreciated that Update focus file be unsuccessfully directed to focus file source server request latest edition file failure time, or time inquire When the version number of the focus file in centralized network management equipment is consistent with the version number of source server storage file.
The memory space of centralized network management equipment is limited, in order to the utilization ratio of room for promotion, as one side Formula, when centralized network management equipment Inspection is fully occupied to local memory space or remaining memory space is less than the threshold preset During value, centralized network management equipment can obtain the multiple focus files respective request temperature stored, and removal request temperature is minimum Focus file.Wherein, multiple focus files can be multiple focus files that request temperature is minimum, it is also possible to for some cycles In, multiple focus files that request frequency is minimum.Wherein, the cycle can be set according to practical situation by management personnel, Ke Yiwei One week, it is also possible to be one month.
In order to make the file in network access equipment to be updated in a timely manner, described centralized network management equipment can be with default Cycle synchronizes file requested by described network access equipment in described focus file to described network access equipment.Such as, When centralized network management equipment deletes the file that certain local request temperature is told somebody what one's real intentions are, it is also possible to this document is had this document from storage Network access equipment in delete.In addition to deleting, centralized network management equipment can also increase or update on network access equipment File.
The document down loading method that the embodiment of the present invention provides, by network access equipment and for setting network insertion The standby centralized network management equipment being managed stores the mode of focus file so that network access equipment is in local focus file Do not find client in a local network when the file download request that network side sends, can set to centralized network management again Preparation send file download to ask, if after centralized network management equipment finds file destination in the focus file of storage, network connects Enter equipment and this file destination is returned to client again, and then reduce under the client in the LAN of network access equipment place The data traffic of network side during published article part, promotes the degree of intelligence during Wan optimizes, reduces the wasting of resources.
Referring to Fig. 4, a kind of document down loading method, be applied to network system, described network system includes that network insertion sets Standby and for the centralized network management equipment being managed described network access equipment, described method includes:
Step S410: when described network access equipment receive the literary composition that sends to network side of client in a local network When part downloads request, intercept the request of described file download, obtain the file identification information that described file download asks to carry.
Step S420: described network access equipment enters with described file identification information for index in local focus file Row is searched.
Step S430: if described network access equipment is searched unsuccessfully, described file identification information is sent to described collection Middle Network Management Equipment.
Step S440: described centralized network management equipment is carried out at local focus file with described file identification information for index Search.
Step S450: if described centralized network management equipment is searched successfully, the target that described centralized network management equipment will find File returns to described network access equipment.
Step S460: the file destination that described centralized network management equipment returns is sent to described visitor by described network access equipment Family end.
Refer to Fig. 5, embodiments provide a kind of file downloading device 500, be applied to network system, run on Described network access equipment, described network system includes network access equipment and for managing described network access equipment The centralized network management equipment of reason, described network access equipment storage has focus file, described centralized network management equipment storage to have focus literary composition Part, described device 500 includes: file identification information acquiring unit 510, document retrieval unit 520, file request unit 530, literary composition Part returns unit 540, downloads request retransmission unit 550 and Internet resources releasing unit 560.
Wherein, file identification information acquiring unit 610, for when described network access equipment receive in a local network Client when the request of file download that network side sends, intercept the request of described file download, obtaining described file download please Seek the file identification information carried.
Wherein, file download request meets the request of preset path form by HTTP request, entrained URL or is asked File format meet the request of default file form.
Document retrieval unit 520, for looking into described file identification information for index in local focus file Look for.
File request unit 530, if searching unsuccessfully for described document retrieval unit, sends out described file identification information Give described centralized network management equipment, so that described centralized network management equipment is with described file identification information for indexing at local focus File makes a look up.
File returns unit 540, if searching successfully for described centralized network management equipment, receives described centralized network management equipment The file destination returned, is sent to described client by the file destination that described centralized network management equipment returns.
File returns unit 540, is additionally operable to: if document retrieval unit 620 is searched successfully, the file destination that will find It is sent to described client.
Download request retransmission unit 550, if searching unsuccessfully, in response to described concentration net for described centralized network management equipment The lookup failure notification that tube apparatus returns, obtains the server address information that described file download asks to carry;By described file The request of download is sent to the server that described server address information points to.
Internet resources releasing unit 560, the server address information carried for obtaining described file download to ask, disconnect Net between server pointed by that described client is set up beforehand through described network access equipment and server address information Network connects.
Refer to Fig. 6, embodiments provide a kind of file downloading device 600, be applied to network system, run on Described centralized network management equipment, described network system includes network access equipment and for managing described network access equipment The centralized network management equipment of reason, described centralized network management equipment storage has focus file, described focus file to be set by described centralized network management The temperature download of the standby file asked based on described network access equipment, described device 600 includes: file identification information obtains Unit 610, ff unit 620, file return unit 630, information transmitting unit 640, request temperature updating block 650, Focus file download unit 660, focus file updating block 670, focus file delete unit 680 and focus file synchronization list Unit 690.
File identification information acquiring unit 610, for receiving the file download request that described network access equipment sends, obtains Taking the file identification information that described file download asks to carry, the request of described file download is for the detection of described network access equipment originally The transmission during file that non-existent the client in a local network in ground ask to network side.
Ff unit 620, for making a look up with described file identification information for index in described focus file.
File returns unit 630, if for searching successfully, the file destination found being sent to described network insertion Equipment, so that described file destination is sent to described client by described network access equipment.
Information transmitting unit 640, if for searching unsuccessfully, described centralized network management equipment returns to described network access equipment Return and search failure notification;
Request temperature updating block 650, for updating the request temperature that described file identification information is corresponding;
Focus file download unit 660, for when asking temperature to meet default described in described centralized network management monitoring of equipment During condition, download the file destination that described file identification information is corresponding.
Focus file updating block 670, for the file update cycle based on described focus file, updates described focus literary composition Part.
As a kind of mode, focus file updating block 670, may be used for when heat described in described centralized network management renewal of the equipment During dot file success, shorten file update cycle corresponding to described focus file or when heat described in described centralized network management renewal of the equipment During dot file failure, extend the file update cycle that described focus file is corresponding.
Unit 680 deleted by focus file, is used for obtaining described focus file respective request temperature, and removal request temperature is Low focus file.
Focus file synchronization unit 690, for synchronizing described focus literary composition with the default cycle to described network access equipment By file that described network access equipment is requested in part.
It should be noted that those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, on State the specific works process of the device embodiment of description, be referred to the corresponding process in preceding method embodiment, at this no longer Repeat.
In sum, document down loading method that the embodiment of the present invention provides and device, by network access equipment and The mode of focus file is stored so that network access equipment in the centralized network management equipment that network access equipment is managed The client using deep packet inspection technical to identify in the LAN of place sends file download request to network side asks, and When local focus file does not find the file that described file download is asked, can send out to centralized network management equipment again File download is sent to ask, if after centralized network management equipment finds file destination in the focus file of storage, network insertion sets The standby client that again this file destination returned to, and then reduce the client downloads literary composition in the LAN of network access equipment place The data traffic of network side during part, promotes the degree of intelligence during WAN optimizes, reduces the wasting of resources.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other mode realizes.Device embodiment described above is only schematically, such as, and the flow chart in accompanying drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this, each square frame in flow chart or block diagram can represent a module, program segment or the one of code Part, a part for described module, program segment or code comprises holding of one or more logic function for realizing regulation Row instruction.It should also be noted that at some as in the implementation replaced, the function marked in square frame can also be to be different from The order marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially perform substantially in parallel, and they are the most also Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of the square frame in individual square frame and block diagram and/or flow chart, can be with function or the special base of action performing regulation System in hardware realizes, or can realize with the combination of specialized hardware with computer instruction.
It addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation Point, it is also possible to it is modules individualism, it is also possible to two or more modules are integrated to form an independent part.
If described function is using the form realization of software function module and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.Need Illustrate, in this article, the relational terms of such as first and second or the like be used merely to by an entity or operation with Another entity or operating space separate, and there is any this reality between not necessarily requiring or imply these entities or operating The relation on border or order.And, term " includes ", " comprising " or its any other variant are intended to the bag of nonexcludability Contain, so that include that the process of a series of key element, method, article or equipment not only include those key elements, but also include Other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including described key element Process, method, article or equipment in there is also other identical element.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies Change, equivalent, improvement etc., should be included within the scope of the present invention.It should also be noted that similar label and letter exist Figure below represents similar terms, therefore, the most a certain Xiang Yi accompanying drawing is defined, is then not required in accompanying drawing subsequently It is defined further and explains.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that Including process, method, article or the equipment of described key element there is also other identical element.

Claims (16)

1. a document down loading method, it is characterised in that be applied to network system, described network system includes network access equipment And for the centralized network management equipment that described network access equipment is managed, described network access equipment and described concentration net Tube apparatus has all stored focus file, and described method includes:
When described network access equipment receive client in a local network send to network side request time, use the degree of depth Request described in packet inspection technical identification is asked for file download, obtains the file identification information that described file download asks to carry;
Described network access equipment makes a look up with described file identification information for index in local focus file;
If described network access equipment is searched successfully, the file destination found is sent to described by described network access equipment Client;If described network access equipment is searched unsuccessfully, described file identification information is sent to described centralized network management equipment, So that described centralized network management equipment makes a look up at local focus file with described file identification information for index;
If described centralized network management equipment is searched successfully, described network access equipment receives the mesh that described centralized network management equipment returns Mark file, is sent to described client by the file destination that described centralized network management equipment returns.
Method the most according to claim 1, it is characterised in that described method, also includes:
If described centralized network management equipment is searched unsuccessfully, described network access equipment returns in response to described centralized network management equipment Search failure notification, obtain the server address information that described file download asks to carry;
The request of described file download is sent to the server that described server address information points to.
Method the most according to claim 1, it is characterised in that described the file destination found is sent to described client After end, also include:
Described network access equipment obtains the server address information that described file download asks to carry;
Described network access equipment disconnects described client is set up and server address beforehand through described network access equipment Pointed by information, the network between server connects.
4. according to the arbitrary described method of claim 1-3, it is characterised in that the request of described file download for HTTP request or FTP asks, and the file identification information that the request of described file download is carried meets the call format of default regular expression.
5. a document down loading method, it is characterised in that be applied to network system, described network system includes network access equipment And for the centralized network management equipment being managed described network access equipment, described centralized network management equipment storage has focus literary composition Part, the temperature download of the file that described focus file is asked based on described network access equipment by described centralized network management equipment, Described method includes:
Described centralized network management equipment receives the file download request that described network access equipment sends, and obtaining described file download please The file identification information carried, the request of described file download is asked to detect local non-existent place office for described network access equipment Send during the file that the client in the net of territory is asked to network side;
Described centralized network management equipment makes a look up with described file identification information for index in described focus file;
If searching successfully, the file destination found is sent to described network access equipment by described centralized network management equipment, with Make described network access equipment that described file destination is sent to described client.
Method the most according to claim 5, it is characterised in that described method, also includes:
If searching unsuccessfully, described centralized network management equipment returns to described network access equipment and searches failure notification;
The request temperature that file identification information described in described centralized network management renewal of the equipment is corresponding;
When asking temperature to meet default condition described in described centralized network management monitoring of equipment, download described file identification information pair The file destination answered.
Method the most according to claim 5, it is characterised in that described method, also includes:
The described centralized network management equipment file update cycle based on described focus file, update described focus file;
When focus file success described in described centralized network management renewal of the equipment, shorten file corresponding to described focus file and update week Phase or when focus file failure described in described centralized network management renewal of the equipment, extend file corresponding to described focus file and update week Phase.
Method the most according to claim 5, it is characterised in that described method, also includes:
Described centralized network management equipment obtains described focus file respective request temperature;The focus literary composition that removal request temperature is minimum Part;And/or
Described centralized network management equipment synchronized in described focus file by described net to described network access equipment with the default cycle The file that network access device is requested.
9. a file downloading device, it is characterised in that be applied to network system, described network system includes network access equipment And for the centralized network management equipment being managed described network access equipment, described network access equipment storage has focus literary composition Part, described centralized network management equipment storage has focus file, and described plant running is in described network access equipment, described device bag Include:
File identification information acquiring unit, for receive when described network access equipment client in a local network to net During the request that network side sends, use request described in deep packet inspection technical identification to ask for file download, obtain under described file The file identification information that the request of load is carried;
Document retrieval unit, for making a look up with described file identification information for index in local focus file;
File request unit, if searching unsuccessfully for described document retrieval unit, is sent to institute by described file identification information State centralized network management equipment, so that described centralized network management equipment enters at local focus file with described file identification information for index Row is searched;
File returns unit, if searching successfully for described centralized network management equipment, receives what described centralized network management equipment returned File destination, is sent to described client by the file destination that described centralized network management equipment returns;If being additionally operable to described file Retrieval unit is searched successfully, and the file destination found is sent to described client.
Device the most according to claim 9, it is characterised in that described device, also includes:
Download request retransmission unit, if searching unsuccessfully, in response to described centralized network management equipment for described centralized network management equipment The lookup failure notification returned, obtains the server address information that described file download asks to carry;Please by described file download Ask and be sent to the server that described server address information points to.
11. devices according to claim 9, it is characterised in that described device, also include:
Internet resources releasing unit, the server address information carried for obtaining described file download to ask, disconnect described visitor Family end set up beforehand through described network access equipment with server address information pointed by network between server be connected.
12. according to the arbitrary described device of claim 9-11, it is characterised in that the request of described file download for HTTP request or FTP asks, and the file identification information that the request of described file download is carried meets the call format of default regular expression.
13. 1 kinds of file downloading devices, it is characterised in that be applied to network system, described network system includes that network insertion sets Standby and for the centralized network management equipment being managed described network access equipment, described centralized network management equipment storage has focus File, under the temperature of the file that described focus file is asked based on described network access equipment by described centralized network management equipment Carrying, described plant running includes in described centralized network management equipment, described device:
File identification information acquiring unit, for receiving the file download request that described network access equipment sends, obtains described File download asks the file identification information carried, the request of described file download to detect this locality for described network access equipment and do not deposit Client in a local network ask to network side file time send;
Ff unit, for making a look up with described file identification information for index in described focus file;
File returns unit, if for searching successfully, the file destination found being sent to described network access equipment, with Make described network access equipment that described file destination is sent to described client.
14. devices according to claim 13, it is characterised in that described device, also include:
Information transmitting unit, if for searching unsuccessfully, described centralized network management equipment returns to described network access equipment and searches Failure notification;
Request temperature updating block, for updating the request temperature that described file identification information is corresponding;
Focus file download unit, is used for when asking temperature to meet default condition described in described centralized network management monitoring of equipment, Download the file destination that described file identification information is corresponding.
15. devices according to claim 13, it is characterised in that described device, also include:
Focus file updating block, for the file update cycle based on described focus file, updates described focus file, works as institute When stating focus file success described in centralized network management renewal of the equipment, shorten file update cycle corresponding to described focus file or work as institute When stating focus file failure described in centralized network management renewal of the equipment, extend the file update cycle that described focus file is corresponding.
16. devices according to claim 13, it is characterised in that described device, also include:
Unit deleted by focus file, is used for obtaining described focus file respective request temperature, the heat that removal request temperature is minimum Dot file;And/or
Focus file synchronization unit, for synchronizing in described focus file by institute to described network access equipment with the default cycle State the file that network access equipment is requested.
CN201610756434.3A 2016-08-29 2016-08-29 File downloading method and apparatus Pending CN106331125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610756434.3A CN106331125A (en) 2016-08-29 2016-08-29 File downloading method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610756434.3A CN106331125A (en) 2016-08-29 2016-08-29 File downloading method and apparatus

Publications (1)

Publication Number Publication Date
CN106331125A true CN106331125A (en) 2017-01-11

Family

ID=57788427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610756434.3A Pending CN106331125A (en) 2016-08-29 2016-08-29 File downloading method and apparatus

Country Status (1)

Country Link
CN (1) CN106331125A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998367A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of document down loading method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1593026A1 (en) * 2003-02-14 2005-11-09 Whale Communications Ltd. System and method for providing conditional access to server-based applications from remote access devices
CN102611728A (en) * 2010-09-14 2012-07-25 富士通株式会社 Method and System for Facilitating Remote Downloading
CN103384257A (en) * 2012-05-04 2013-11-06 华为终端有限公司 Method for accessing network storage and network access device
CN104348856A (en) * 2013-07-30 2015-02-11 杭州微元科技有限公司 Method of implementing updating of web cache through broadcast network
CN104539727A (en) * 2015-01-15 2015-04-22 北京国创富盛通信股份有限公司 Cache method and system based on AP platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1593026A1 (en) * 2003-02-14 2005-11-09 Whale Communications Ltd. System and method for providing conditional access to server-based applications from remote access devices
CN102611728A (en) * 2010-09-14 2012-07-25 富士通株式会社 Method and System for Facilitating Remote Downloading
CN103384257A (en) * 2012-05-04 2013-11-06 华为终端有限公司 Method for accessing network storage and network access device
CN104348856A (en) * 2013-07-30 2015-02-11 杭州微元科技有限公司 Method of implementing updating of web cache through broadcast network
CN104539727A (en) * 2015-01-15 2015-04-22 北京国创富盛通信股份有限公司 Cache method and system based on AP platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998367A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of document down loading method and mobile terminal

Similar Documents

Publication Publication Date Title
US11829252B2 (en) Deduplicated data distribution techniques
US20220382755A1 (en) Dynamically Assigning a Search Head to Process a Query
CN102741845B (en) URL reputation system
US9311326B2 (en) Virtual file system for automated data replication and review
CN107861686A (en) File memory method, service end and computer-readable recording medium
US8095495B2 (en) Exchange of syncronization data and metadata
US20160156631A1 (en) Methods and systems for shared file storage
CN102355500B (en) Service push method and device
CN102902669B (en) Distributed information grasping means based on internet system
EP2985707A1 (en) Method and apparatus for finding file in storage device and router and medium
US20130325932A1 (en) Electronic device and method for storing distributed documents
US11782912B2 (en) Asset user discovery data classification and risk evaluation
JP2008102795A (en) File management device, system, and program
CN103312489A (en) Method and device for synchronizing terminal and server
CN112506670A (en) Multi-node automatic operation and maintenance task processing method, system and storage medium
CN106331075A (en) Method for storing files, metadata server and manager
CN107580052A (en) From the network self-adapting reptile method and system of evolution
US20180196864A1 (en) Clustered search head configuration synchronization with bloom filter
CN102624932A (en) Index-based remote cloud data synchronizing method
CN114238703A (en) Event flow arrangement method, device and application
CN106331125A (en) File downloading method and apparatus
CN107562568A (en) The method and device of backup file
CN102594787B (en) Data grab method, system and routing server
Khamayseh et al. Dynamic framework to mining internet of things for multimedia services
WO2019123832A1 (en) Terminal management device and terminal device

Legal Events

Date Code Title Description
PB01 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

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication