CN102833317B - Based on share and access accelerated method and the system of Transparent Proxy - Google Patents

Based on share and access accelerated method and the system of Transparent Proxy Download PDF

Info

Publication number
CN102833317B
CN102833317B CN201210270275.8A CN201210270275A CN102833317B CN 102833317 B CN102833317 B CN 102833317B CN 201210270275 A CN201210270275 A CN 201210270275A CN 102833317 B CN102833317 B CN 102833317B
Authority
CN
China
Prior art keywords
shared file
destination address
request information
information
network access
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.)
Expired - Fee Related
Application number
CN201210270275.8A
Other languages
Chinese (zh)
Other versions
CN102833317A (en
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.)
Jiangsu Hua Yu VTON Network Technology Co. Ltd.
Original Assignee
SHANGHAI CINSEC INFORMATION 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 SHANGHAI CINSEC INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI CINSEC INFORMATION TECHNOLOGY Co Ltd
Priority to CN201210270275.8A priority Critical patent/CN102833317B/en
Publication of CN102833317A publication Critical patent/CN102833317A/en
Application granted granted Critical
Publication of CN102833317B publication Critical patent/CN102833317B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of share and access accelerated method based on Transparent Proxy and system.According to system of the present invention, it comprises: memory cell, for Storage sharing file, the path selection unit be connected with described network access equipment and described memory cell, for obtaining the solicited message sent from the destination address in described network access equipment externally network, and compare based on the information of the shared file information in described request information with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, if, then described request information is forwarded to described destination address by original route, so that the corresponding shared file from described destination address is forwarded and is stored, if not, then stored corresponding shared file is sent to described network access equipment, for described network access equipment described shared file is sent to the corresponding subscriber equipment in described LAN.

Description

Based on share and access accelerated method and the system of Transparent Proxy
Technical field
The present invention relates to a kind of method accelerating shared file transmission, particularly relate to a kind of share and access accelerated method based on Transparent Proxy and system.
Background technology
Along with increasing of LAN, the file transfer between LAN is day by day frequent, particularly belongs to same company, needs file sharing operation that is a large amount of, that repeat between the LAN but formed in the branch company of different regions.Subscriber equipment in one LAN asks to share the shared file being positioned at the subscriber equipment of another LAN each time, all need the transmission by two LAN and external network, obtain this shared file, it is closely bound up that this makes the network condition of the file transfer speed between LAN and external network affect.
In order to accelerate the transmission speed of shared file, at present conventional way is, accelerates the transmission of shared file by means of modes such as the technology of streaming media or P2P transmission technologys.Therefore need, in each subscriber equipment, client software is installed, which increase the operation easier of user, the most keyly.But this kind of mode still affects by the network condition of external network, under extreme case, as external network break time, the file-sharing between LAN just cannot be carried out, and this normal operation for company will impact.
Therefore, need to improve the transmission means of existing shared file, to accelerate the transmission speed of shared file.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of share and access accelerated method based on Transparent Proxy and system, to accelerate the transmission speed of shared file.
For achieving the above object and other relevant objects, the invention provides a kind of share and access accelerating system based on Transparent Proxy, be connected with the network access equipment of LAN, it comprises: memory cell, for Storage sharing file, the path selection unit be connected with described network access equipment and described memory cell, for obtaining the solicited message sent from the destination address in described network access equipment externally network, and compare based on the information of the shared file information in described request information with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, if, then described request information is forwarded to described destination address by original route, so that the corresponding shared file from described destination address is forwarded and is stored, if not, then stored corresponding shared file is sent to described network access equipment, for described network access equipment described shared file is sent to the corresponding subscriber equipment in described LAN.
Preferably, if select, described request information is forwarded to described destination address by original route, described path selection unit also comprises: the first subpath selects module, while being sent to described network access equipment based on the shared file of the described shared file information of correspondence from described destination address, also described shared file is stored to described memory cell.
Preferably, if select, described request information is forwarded to described destination address by original route, described path selection unit also comprises: the second subpath selects module, for the shared file of the described shared file information of correspondence from described destination address is stored to described memory cell, then stored described shared file is sent to described network access equipment.
Based on above-mentioned purpose, the present invention also provides a kind of share and access accelerated method based on Transparent Proxy, it comprises: 1) compare based on the information of the shared file information in the solicited message sent from the destination address in network access equipment externally network with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, and export selected results; 2) the corresponding shared file from described destination address is obtained based on described selection result, or and from described memory cell, obtain corresponding shared file, so that obtained corresponding described shared file is sent to described network access equipment, for described network access equipment described shared file is sent to the corresponding subscriber equipment in LAN.
Preferably, described request information is forwarded to described destination address by original route, described step 2 if select) also comprise: while 2-a) the corresponding shared file from described destination address being sent to described network access equipment, also stored.
Preferably, if select, described request information is forwarded to described destination address by original route, described step 2) also comprise: 2-1) the corresponding shared file from described destination address is preserved, and the described shared file of preserving is sent to described network access equipment.
As mentioned above, share and access accelerated method based on Transparent Proxy of the present invention and system, there is following beneficial effect: can determine whether stored in corresponding shared file in stored shared file according to described shared file information, if store, the then direct subscriber equipment preserved shared file is supplied to corresponding to described request information, make subscriber equipment in LAN without the need at the path transmission through external network, described shared file is obtained with the speed of LAN internal transmission, accelerate the speed of download of described shared file, simultaneously, for the user of this subscriber equipment used in described LAN, the mode of this kind of route diversion is transparent, any setting is carried out without the need to user to user equipment, in addition, corresponding shared file is not had in stored shared file, then described request information is forwarded by original route, to obtain corresponding shared file, while the corresponding described shared file of acquisition, described shared file is preserved, so that when each subscriber equipment in described LAN sends shared described shared file again, described shared file can be obtained rapidly, without the need to obtaining described shared file through external network again, in addition, first at least part of for the shared file being obtained from external network is preserved, the more described shared file of preserving is supplied to the corresponding subscriber equipment in described LAN, can accelerate the speed of download of described shared file.
Accompanying drawing explanation
Fig. 1 is shown as the structural representation of the share and access accelerating system based on Transparent Proxy of the present invention.
Fig. 2 is shown as the flow chart of the share and access accelerated method based on Transparent Proxy of the present invention.
Element numbers explanation
1 share and access accelerating system
11 path selection units
12 memory cell
2 LAN
Subscriber equipment in 21 LAN
The network access equipment of 22 LAN
3 external networks
Subscriber equipment in 31 external networks
S1 ~ S2 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
Fig. 1 is shown as a kind of share and access accelerating system based on Transparent Proxy of the present invention.The described share and access accelerating system 1 based on Transparent Proxy is connected to the network access equipment 22 of LAN 2, the shared file in the subscriber equipment 31 of external network 3 is obtained for each subscriber equipment 21 accelerated in LAN 2, wherein, described network access equipment 22 comprises any subscriber equipment 21 in LAN 2 and subscriber equipment 31 in external network 3 of can making and carries out the equipment communicated, and it includes but not limited to: router, gateway device, switch device etc.Subscriber equipment 21 in described LAN 2 and the subscriber equipment 31 in described external network 3 include but not limited to: mobile phone, PDA, Set Top Box, notebook computer, desktop computer etc.Described share and access accelerating system 1 is positioned at the side that described network access equipment 22 is connected with external network 31.Described share and access accelerating system 1 comprises: memory cell 12 and path selection unit 11.
Described memory cell 12 is for Storage sharing file.Described memory cell 12 comprise any can the memory device of storage file, it includes but not limited to: hard disk, flash memory, memory chip etc.
Described path selection unit 11 is connected with described network access equipment 22 and described memory cell 12, for obtaining the solicited message sent from the subscriber equipment 31 in described network access equipment 22 externally network 3, and compare based on the information of the shared file information in described request information with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, if, then described request information is forwarded to described destination address by original route, so that the corresponding shared file from described destination address is forwarded and is stored, if not, then stored corresponding shared file is sent to described network access equipment 22, for described network access equipment 22 described shared file is sent to the corresponding subscriber equipment 21 in described LAN 2.
Particularly, described path selection unit 11 is analyzed the solicited message sent from the destination address in described network access equipment 22 externally network 3, to extract shared file information, and the shared file that the information of the shared file stored from described memory cell 12, search matches with the shared file information extracted, when searching described shared file, then no longer press original route and forward described request information, but from described memory cell 12, described shared file is sent to described network access equipment 22, the subscriber equipment 21 corresponding to described request information is sent to again by described network access equipment 22, otherwise, if do not find relevant shared file, then be forwarded to subscriber equipment 31 corresponding to described destination address by former for described request information by original route, to obtain described shared file, and described shared file is sent to described network access equipment 22, also described shared file is stored in described memory cell 12.
Wherein, the information of the shared file stored from described memory cell 12, the mode of the shared file that search matches with the shared file information extracted includes but not limited to: 1) directly from described memory cell 12 search package containing the shared file of described shared file information.2) shared file corresponding to described shared file information is searched by the query statement of database.
Such as, in described LAN 2, the subscriber equipment B corresponding to a destination address of a subscriber equipment A externally network 3 sends the solicited message of a shared file, described request information is forwarded to described path selection unit 11 by described network access equipment 22, then described path selection unit 11 is according to the encapsulation format preset, extract the shared file information in this solicited message, then, described path selection unit 11 utilizes in memory cell 12 described in data query sentence data search whether have corresponding shared file, if can not find out any information, then by original route, described request information is sent to subscriber equipment B, to obtain the corresponding shared file that described subscriber equipment B sends, and described shared file is forwarded to described network access equipment 22 and is saved in described memory cell 12, otherwise, then no longer forward described request information, stored described shared file is sent to described network access equipment 22, so that described shared file is supplied to subscriber equipment A by described network access equipment 22.
As a kind of preferred version, if select, described request information is forwarded to described destination address by original route, described path selection unit 11 also comprises: the first subpath selects module (not giving diagram).
Described shared file is also stored to described memory cell 12 while selecting module to be used for being sent to described network access equipment 22 based on the shared file of the described shared file information of correspondence from described destination address by described first subpath.
Such as, shared file information in the solicited message that subscriber equipment C in external network 3 sends based on the subscriber equipment D in described LAN 2, corresponding shared file is sent with the form of multiple packet, then described first subpath selects module by while each obtained Packet Generation to described subscriber equipment D, described packet is preserved, described in other subscriber equipment 21 acquisition request in described LAN 2 during shared file, directly stored described shared file is sent.
As another preferred version, if select, described request information is forwarded to described destination address by original route, described path selection unit 11 also comprises: the second subpath selects module (not giving diagram).
Described second subpath selects module to be used for the shared file of the described shared file information of correspondence from described destination address to be saved to described memory cell 12, then preserved described shared file is sent to described network access equipment 22.
Such as, corresponding shared file is sent with the form of multiple packet by the shared file information in the solicited message that the subscriber equipment E in external network 3 sends based on the subscriber equipment F in described LAN 2, then described second subpath selects module first institute's fetching portion or whole described shared file to be preserved, the more described shared file after preserving is supplied to described subscriber equipment F.
Fig. 2 is shown as the flow chart of a kind of share and access accelerated method based on Transparent Proxy of the present invention.The described share and access accelerated method based on Transparent Proxy mainly contains described share and access accelerating system and performs.
In step sl, described share and access accelerating system compares based on the shared file information in the solicited message from the subscriber equipment in described LAN and the information of shared file stored, and selects the destination address whether described request information be forwarded to by original route in described request information.
Particularly, described share and access accelerating system searches for the shared file matched with the shared file information in described request information from the information of stored shared file, when searching the shared file matched, then export the selection result of " no longer press original route and forward described request information ", otherwise, if do not find relevant shared file, then export the selection result of " being forwarded to described destination address by original route by former for described request information ".
Wherein, the information of the shared file stored from described memory cell, the mode of the shared file that search matches with the shared file information in described request information includes but not limited to: 1) directly from described memory cell search package containing the shared file of described shared file information.2) shared file corresponding to described shared file information is searched by the query statement of database.
Such as, described share and access accelerating system adopts in memory cell described in data query sentence data search whether there is the shared file corresponding with the shared file information in obtained solicited message, if can not find out any information, then export the selection result of " forwarding described request information by original route ", otherwise, then the selection result of " no longer press original route and forward described request information " is exported.
In step s 2, described share and access accelerating system obtains the corresponding shared file from described destination address based on described selection result, or and from described memory cell, obtain corresponding shared file, so that obtained corresponding described shared file is sent to described subscriber equipment.
Particularly, if described selection result is " forwarding described request information by original route ", then described share and access accelerating system is based on the corresponding shared file of described request acquisition of information from described destination address, obtained described shared file is sent to described subscriber equipment; If described selection result is " no longer forwarding described request information by original route ", then described share and access accelerating system no longer forwards described request information, and based in step S1 to the memory address relatively obtaining corresponding shared file of the information of stored shared file, and obtain corresponding described shared file, and affiliated shared file is sent to described subscriber equipment.
Preferably, if select, described request information is forwarded to described destination address by original route, described step S2 also comprises: step S21(does not give diagram).
In the step s 21, described share and access accelerating system is also stored while the corresponding shared file from described destination address is sent to described subscriber equipment.
Such as, shared file information in the solicited message that subscriber equipment C in external network sends based on the subscriber equipment D in described LAN, corresponding shared file is sent with the form of multiple packet, then described share and access accelerating system is by while each obtained Packet Generation to described subscriber equipment D, described packet is preserved, so that when other user equipment requests in described LAN obtain described shared file, directly stored described shared file is sent.
More preferably, if select, described request information is forwarded to described destination address by original route, described step S2 also comprises: step S22(does not give diagram).
In step S22, the corresponding shared file from described destination address is preserved by described share and access accelerating system, then preserved described shared file is sent to described subscriber equipment.
Such as, corresponding shared file is sent with the form of multiple packet by the shared file information in the solicited message that the subscriber equipment E in external network sends based on the subscriber equipment F in described LAN, then institute's fetching portion or whole described shared file are first preserved by described share and access accelerating system, the more described shared file after preserving is supplied to described subscriber equipment F.
In sum, share and access accelerated method based on Transparent Proxy of the present invention and system, can determine whether stored in corresponding shared file in stored shared file according to described shared file information, if store, the then direct subscriber equipment preserved shared file is supplied to corresponding to described request information, make subscriber equipment in LAN without the need at the path transmission through external network, described shared file is obtained with the speed of LAN internal transmission, accelerate the speed of download of described shared file, simultaneously, for the user of this subscriber equipment used in described LAN, the mode of this kind of route diversion is transparent, any setting is carried out without the need to user to user equipment, in addition, corresponding shared file is not had in stored shared file, then described request information is forwarded by original route, to obtain corresponding shared file, while the corresponding described shared file of acquisition, described shared file is preserved, so that when each subscriber equipment in described LAN sends shared described shared file again, described shared file can be obtained rapidly, without the need to obtaining described shared file through external network again, in addition, first at least part of for the shared file being obtained from external network is preserved, the more described shared file of preserving is supplied to the corresponding subscriber equipment in described LAN, can accelerate the speed of download of described shared file.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (4)

1., based on a share and access accelerating system for Transparent Proxy, be connected with the network access equipment of LAN, it is characterized in that, at least comprise:
Memory cell, for Storage sharing file;
The path selection unit be connected with described network access equipment and described memory cell, for obtaining according to the encapsulation format preset the solicited message sent from the destination address in described network access equipment externally network, searched and the shared file corresponding to the shared file information in described request information by the query statement of database, and compare based on the information of the shared file information in described request information with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, if, then described request information is forwarded to described destination address by original route, so that the corresponding shared file from described destination address is forwarded and is stored, if not, then stored corresponding shared file is sent to described network access equipment, for described network access equipment described shared file is sent to the corresponding subscriber equipment in described LAN,
If select, described request information is forwarded to described destination address by original route, described path selection unit also comprises:
Second subpath selects module, for the shared file of the described shared file information of correspondence from described destination address is stored to described memory cell, then stored described shared file is sent to described network access equipment.
2. the share and access accelerating system based on Transparent Proxy according to claim 1, is characterized in that, if select, described request information is forwarded to described destination address by original route, described path selection unit also comprises:
First subpath selects module, while being sent to described network access equipment based on the shared file of the described shared file information of correspondence from described destination address, also described shared file is stored to described memory cell.
3., based on a share and access accelerated method for Transparent Proxy, it is characterized in that, at least comprise:
1) based on the shared file information in the solicited message sent from the destination address in network access equipment externally network obtained according to the encapsulation format preset, searched and the shared file corresponding to the shared file information in described request information by the query statement of database, and compare based on the information of the shared file information in described request information with the shared file stored, select the destination address whether described request information be forwarded to by original route in described request information, and export selected results;
2) the corresponding shared file from described destination address is obtained based on described selection result, or and from described memory cell, obtain corresponding shared file, so that obtained corresponding described shared file is sent to described network access equipment, for described network access equipment described shared file is sent to the corresponding subscriber equipment in LAN;
Described request information is forwarded to described destination address by original route, described step 2 if select) also comprise:
2-1) the corresponding shared file from described destination address is preserved, the more described shared file of preserving is sent to described network access equipment.
4. the share and access accelerated method based on Transparent Proxy according to claim 3, is characterized in that, described request information is forwarded to described destination address by original route, described step 2 if select) also comprise:
While 2-a) the corresponding shared file from described destination address being sent to described network access equipment, also stored.
CN201210270275.8A 2012-07-31 2012-07-31 Based on share and access accelerated method and the system of Transparent Proxy Expired - Fee Related CN102833317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210270275.8A CN102833317B (en) 2012-07-31 2012-07-31 Based on share and access accelerated method and the system of Transparent Proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210270275.8A CN102833317B (en) 2012-07-31 2012-07-31 Based on share and access accelerated method and the system of Transparent Proxy

Publications (2)

Publication Number Publication Date
CN102833317A CN102833317A (en) 2012-12-19
CN102833317B true CN102833317B (en) 2015-10-28

Family

ID=47336285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210270275.8A Expired - Fee Related CN102833317B (en) 2012-07-31 2012-07-31 Based on share and access accelerated method and the system of Transparent Proxy

Country Status (1)

Country Link
CN (1) CN102833317B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005084132A3 (en) * 2004-03-08 2005-11-10 First Oversi Ltd A method and device for peer to peer file sharing
CN1859121A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Method, device and system for realizing surrogate downloading
CN101741846A (en) * 2009-12-22 2010-06-16 联想网御科技(北京)有限公司 File downloading method, file downloading device and file downloading system
CN102571778A (en) * 2011-12-28 2012-07-11 奇智软件(北京)有限公司 Method and device for providing data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005084132A3 (en) * 2004-03-08 2005-11-10 First Oversi Ltd A method and device for peer to peer file sharing
CN1859121A (en) * 2006-03-15 2006-11-08 华为技术有限公司 Method, device and system for realizing surrogate downloading
CN101741846A (en) * 2009-12-22 2010-06-16 联想网御科技(北京)有限公司 File downloading method, file downloading device and file downloading system
CN102571778A (en) * 2011-12-28 2012-07-11 奇智软件(北京)有限公司 Method and device for providing data

Also Published As

Publication number Publication date
CN102833317A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN105224692B (en) Support the system and method for the SDN multilevel flow table parallel searchs of multi-core processor
JP5466257B2 (en) Table search method
JP6004299B2 (en) Method and apparatus for matching flow tables and switch
CN101594319B (en) Entry lookup method and entry lookup device
US9178806B2 (en) High-speed content routing
CN105224609B (en) Index query method and device
KR20140144570A (en) A node and a communication method for supporting content mobility in a content centric network
CN105224554A (en) Search word is recommended to carry out method, system, server and the intelligent terminal searched for
CN103077208B (en) URL(uniform resource locator) matched processing method and device
CN105027527A (en) Scalable storage systems with longest prefix matching switches
CN104917680B (en) For executing the computer system of the parallel hash of stream of packets
CN101640623A (en) Method and equipment for searching resource in peer-to-peer network
CN103139252B (en) The implementation method that a kind of network proxy cache is accelerated and device thereof
Von der Weth et al. Multiterm keyword search in NoSQL systems
CN101599910B (en) Method and device for sending messages
KR101798402B1 (en) A communication method and an apparatus for contents requester and contents provider in a network based on a hierarchical name structure
CN104253754A (en) ACL (access control list) fast matching method and equipment
CN102833317B (en) Based on share and access accelerated method and the system of Transparent Proxy
JP2022525205A (en) Abnormal host monitoring
CN104657383A (en) Repeated video detection method and system based on correlation properties
CN103685367B (en) Off-line download system and method
WO2019241926A1 (en) Access control list management method and device
US11258876B2 (en) Distributed flow processing and flow cache
CN105025042A (en) Method of determining data information, system and proxy servers
CN107506473A (en) A kind of big data search method based on cloud computing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171123

Address after: 215163 Jiangsu hi tech Zone of Suzhou science and Technology City kolding Road No. 78

Patentee after: Jiangsu Hua Yu VTON Network Technology Co. Ltd.

Address before: 200433, room 1, building 335, No. 6006, National Road, Shanghai, Yangpu District

Patentee before: Shanghai Cinsec Information Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151028

Termination date: 20190731