CN102833317A - Sharing access accelerating method and system based on transparent proxy - Google Patents
Sharing access accelerating method and system based on transparent proxy Download PDFInfo
- Publication number
- CN102833317A CN102833317A CN2012102702758A CN201210270275A CN102833317A CN 102833317 A CN102833317 A CN 102833317A CN 2012102702758 A CN2012102702758 A CN 2012102702758A CN 201210270275 A CN201210270275 A CN 201210270275A CN 102833317 A CN102833317 A CN 102833317A
- Authority
- CN
- China
- Prior art keywords
- shared file
- request information
- destination address
- sent
- 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.)
- Granted
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a sharing access accelerating method and system based on a transparent proxy. According to the invention, the system comprises a storing unit used for storing a shared file and a path selection unit which is connected with the network access equipment and the storing unit, wherein the path selection unit is used for acquiring request information which is sent to a target address in an external network by the network access equipment, comparing with information of the stored shared file based on the information of the shared file in the request information and selecting whether the request information is forwarded to the target address in the request information according to the original path, if the request information is selected to be forwarded to the target address, the request information is forwarded to the target address according to the original path, so as to forward and store corresponding shared file from the target address, and if the request information is selected to be not forwarded to the target address, the stored corresponding shared file is sent to the network access equipment, so as to be convenient for sending the shared file to corresponding user equipment in a local area network by the network access equipment.
Description
Technical field
The present invention relates to a kind of method of quickening the shared file transmission, particularly relate to a kind of share and access accelerated method and system based on Transparent Proxy.
Background technology
Along with increasing of LAN, the file transfer between the LAN is frequent day by day, particularly belongs to same company, but between the LAN that branch company constituted of different regions, needs file-sharing operation a large amount of, that repeat.Subscriber equipment in one LAN request shared each time is positioned at the shared file of the subscriber equipment of another LAN; All need be through the transmission of two LANs and external network; Obtain this shared file, this makes that the network condition influence of file transfer speed and external network between the LAN is closely bound up.
In order to accelerate the transmission speed of shared file, way commonly used at present is, quickens the transmission of shared file by means of modes such as the technology of Streaming Media transmission or P2P transmission technologys.Therefore need in each subscriber equipment, client software be installed, this has increased user's operation easier, the most key ground.Yet this type mode is influenced by the network condition of external network still, and under the extreme case, when breaking like external network, the file-sharing between the LAN just can't be carried out, and this normal operation for company will impact.
So, need improve the transmission means of existing shared file, so that accelerate the transmission speed of shared file.
Summary of the invention
The shortcoming of prior art the object of the present invention is to provide a kind of share and access accelerated method and system based on Transparent Proxy in view of the above, so that accelerate the transmission speed of shared file.
For realizing above-mentioned purpose and other relevant purposes, the present invention provides a kind of share and access accelerating system based on Transparent Proxy, is connected with the network access equipment of LAN, and it comprises: memory cell is used to store shared file; The path selection unit that is connected with said memory cell with said network access equipment; Be used for obtaining from the solicited message that destination address sent of said network access equipment to external network; And compare based on the information of the shared file information in the described request information with the shared file of being stored; Select whether described request information to be forwarded to the destination address in the described request information by original route, if then described request information is forwarded to said destination address by original route; Transmitting and store from the corresponding shared file of said destination address; If not, then the corresponding shared file of being stored is sent to said network access equipment, said shared file is sent to the corresponding user equipment in the said LAN for said network access equipment.
Preferably; If select described request information is forwarded to said destination address by original route; Said path selection unit also comprises: first subpath is selected module; When being used for being sent to said network access equipment, also said shared file is stored to said memory cell based on shared file from the corresponding said shared file information of said destination address.
Preferably; If select described request information is forwarded to said destination address by original route; Said path selection unit also comprises: second subpath is selected module; Be used for and be stored to said memory cell from the shared file of the corresponding said shared file information of said destination address, the more said shared file of being stored is sent to said 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) based on comparing from the information of the shared file information in the solicited message that destination address sent of network access equipment in external network with the shared file of being stored; Select whether described request information to be forwarded to the destination address in the described request information by original route, and export selected results; 2) obtain corresponding shared file based on said selection result from said destination address; Or and from said memory cell, obtain the corresponding shared file; So that the corresponding said shared file of being obtained is sent to said network access equipment, said shared file is sent to the corresponding user equipment in the LAN for said network access equipment.
Preferably, described request information is forwarded to said destination address by original route, said step 2 if select) also comprise: when 2-a) will be sent to said network access equipment, also store from the corresponding shared file of said destination address.
Preferably; If select described request information is forwarded to said destination address by original route; Said step 2) also comprises: 2-1) will preserve, and the said shared file that will preserve is sent to said network access equipment from the corresponding shared file of said destination address.
As stated; Whether share and access accelerated method and system based on Transparent Proxy of the present invention have following beneficial effect: stored in the corresponding shared file in the shared file that can confirm to be stored according to said shared file information, if store; Then directly the shared file of being preserved is offered the pairing subscriber equipment of described request information; Make the subscriber equipment in the LAN need not to obtain said shared file with the speed of LAN internal transmission, accelerated the speed of download of said shared file in path transmission through external network; Simultaneously; For the user who uses this subscriber equipment in the said LAN, the mode of this kind route diversion is transparent, need not user to user equipment and carries out any setting; In addition, in the shared file of being stored, do not have the corresponding shared file, then described request information is transmitted by original route; To obtain the corresponding shared file; When obtaining corresponding said shared file, said shared file is preserved, so that each subscriber equipment in the said LAN sends when sharing said shared file once more; Can obtain said shared file apace, need not to obtain said shared file through external network again; In addition, the shared file that will be obtained from external network earlier is preserving of part at least, and the said shared file of being preserved again offers the corresponding user equipment in the said LAN, can accelerate the speed of download of said shared file.
Description of drawings
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.
The element numbers explanation
1 share and access accelerating system
11 path selection units
12 memory cell
2 LANs
Subscriber equipment in 21 LANs
The network access equipment of 22 LANs
3 external networks
Subscriber equipment in 31 external networks
S1 ~ S2 step
Embodiment
Below through specific instantiation execution mode of the present invention is described, those skilled in the art can understand other advantages of the present invention and effect easily by the content that this specification disclosed.The present invention can also implement or use through other different embodiment, and each item details in this specification also can be based on different viewpoints and application, carries out various modifications or change under the spirit of the present invention not deviating from.
Fig. 1 is shown as a kind of share and access accelerating system based on Transparent Proxy of the present invention.Said share and access accelerating system 1 based on Transparent Proxy is connected in the network access equipment 22 of LAN 2; Be used for quickening the shared file that LAN 2 each interior subscriber equipment 21 obtain the subscriber equipment 31 of external network 3; Wherein, Said network access equipment 22 comprises any equipment that subscriber equipment 21 and subscriber equipment 31 in the external network 3 in the LAN 2 are communicated, and it includes but not limited to: router, gateway device, switch device etc.Subscriber equipment 21 in the said LAN 2 includes but not limited to the subscriber equipment 31 in the said external network 3: mobile phone, PDA, STB, notebook computer, desktop computer etc.Said share and access accelerating system 1 is positioned at the side that said network access equipment 22 is connected with external network 31.Said share and access accelerating system 1 comprises: memory cell 12 and path selection unit 11.
Said memory cell 12 is used to store shared file.Said memory cell 12 comprises any memory device that can storage file, and it includes but not limited to: hard disk, flash memory, memory chip etc.
Said path selection unit 11 is connected with said memory cell 12 with said network access equipment 22; Be used for obtaining the solicited message of being sent to the subscriber equipment 31 of external network 3 from said network access equipment 22; And compare based on the information of the shared file information in the described request information with the shared file of being stored; Select whether described request information to be forwarded to the destination address in the described request information by original route, if then described request information is forwarded to said destination address by original route; Transmitting and store from the corresponding shared file of said destination address; If not, then the corresponding shared file of being stored is sent to said network access equipment 22, said shared file is sent to the corresponding user equipment 21 in the said LAN 2 for said network access equipment 22.
Particularly; 11 pairs of said path selection units are analyzed from the solicited message that destination address sent of said network access equipment 22 in external network 3, extracting shared file information, and the shared file that search and the shared file information of being extracted are complementary the information of the shared file of being stored from said memory cell 12; When searching said shared file; Then no longer press original route and transmit described request information, but from said memory cell 12, said shared file is sent to said network access equipment 22, be sent to the pairing subscriber equipment 21 of described request information by said network access equipment 22 again; Otherwise; If do not find relevant shared file, then be forwarded to the pairing subscriber equipment 31 of said destination address by original route with described request information is former, to obtain said shared file; And said shared file is sent to said network access equipment 22, also said shared file is stored in the said memory cell 12.
The mode of the shared file that search and the shared file information of being extracted are complementary the information of the shared file of wherein, being stored from said memory cell 12 includes but not limited to: 1) directly from said memory cell 12 search comprise the shared file of said shared file information.2) search the pairing shared file of said shared file information through the query statement of database.
For example; A subscriber equipment A sends the solicited message of sharing a file in the said LAN 2 to the pairing subscriber equipment B of a destination address of external network 3; Said network access equipment 22 is forwarded to said path selection unit 11 with described request information, and then said path selection unit 11 extracts the shared file information in this solicited message according to preset encapsulation format; Then; Said path selection unit 11 utilizes the data query statement to search in the said memory cell 12 whether have pairing shared file, if can not find out any information, then by original route described request information is sent to subscriber equipment B; So that obtain the pairing shared file that said subscriber equipment B sends; And said shared file is forwarded to said network access equipment 22 and is saved in the said memory cell 12, otherwise, then no longer transmit described request information; The said shared file of being stored is sent to said network access equipment 22, so that said network access equipment 22 offers subscriber equipment A with said shared file.
As a kind of preferred version, if select described request information is forwarded to said destination address by original route, said path selection unit 11 also comprises: first subpath is selected module (not giving diagram).
When said first subpath selects module to be used for being sent to said network access equipment 22 based on the shared file from the corresponding said shared file information of said destination address, also said shared file is stored to said memory cell 12.
For example; Shared file information in the solicited message that subscriber equipment C in the external network 3 is sent based on the subscriber equipment D in the said LAN 2; The corresponding shared file is sent with the form of a plurality of packets; When then said first subpath selects module that each packet that is obtained is sent to said subscriber equipment D; Said packet is preserved,, directly the said shared file of being stored is sent so that during the said shared file of other subscriber equipment 21 acquisition request in the said LAN 2.
As another preferred version, if select described request information is forwarded to said destination address by original route, said path selection unit 11 also comprises: second subpath is selected module (not giving diagram).
Said second subpath selects module to be used for the shared file from the corresponding said shared file information of said destination address is saved to said memory cell 12, the more said shared file of being preserved is sent to said network access equipment 22.
For example; Shared file information in the solicited message that subscriber equipment E in the external network 3 is sent based on the subscriber equipment F in the said LAN 2 is sent the corresponding shared file with the form of a plurality of packets; Then said second subpath selects module earlier the part or all of said shared file of obtain to be preserved, and the said shared file after will preserving again offers said 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.Said share and access accelerated method based on Transparent Proxy mainly contains said share and access accelerating system and carries out.
In step S1; Said share and access accelerating system is selected whether described request information to be forwarded to the destination address in the described request information by original route based on comparing from the information of the shared file information in the solicited message of the subscriber equipment in the said LAN with the shared file of being stored.
Particularly; The shared file that said share and access accelerating system search and shared file information in the described request information from the information of the shared file of being stored are complementary; When searching the shared file that is complementary, the selection result that then output " is no longer pressed original route and transmitted described request information ", otherwise; If do not find relevant shared file, the selection result that then output " is forwarded to said destination address by original route with described request information is former ".
The mode of the shared file that search and shared file information in the described request information are complementary the information of the shared file of wherein, storing from said memory cell includes but not limited to: 1) directly from said memory cell search comprise the shared file of said shared file information.2) search the pairing shared file of said shared file information through the query statement of database.
For example; Said share and access accelerating system adopts the data query statement to search for the corresponding shared file of shared file information in the solicited message that whether exists in the said memory cell and obtained; If can not find out any information; The selection result that then output " is pressed original route and transmitted described request information ", otherwise, the selection result that then output " is no longer pressed original route and transmitted described request information ".
In step S2; Said share and access accelerating system is obtained the corresponding shared file from said destination address based on said selection result; Or and from said memory cell, obtain the corresponding shared file, so that the corresponding said shared file of being obtained is sent to said subscriber equipment.
Particularly; If said selection result is " press original route and transmit described request information "; Then said share and access accelerating system is obtained the corresponding shared file from said destination address based on described request information, the said shared file of being obtained is sent to said subscriber equipment; If said selection result is " no longer press original route and transmit described request information "; Then said share and access accelerating system is no longer transmitted described request information; And based among the step S1 with the memory address that relatively obtains the corresponding shared file of the information of the shared file of being stored; And obtain corresponding said shared file, and affiliated shared file is sent to said subscriber equipment.
Preferably, if select described request information is forwarded to said destination address by original route, said step S2 also comprises: step S21 (not giving diagram).
In step S21, when said share and access accelerating system will be sent to said subscriber equipment from the corresponding shared file of said destination address, also store.
For example; Shared file information in the solicited message that subscriber equipment C in the external network is sent based on the subscriber equipment D in the said LAN; The corresponding shared file is sent with the form of a plurality of packets; When then said share and access accelerating system is sent to said subscriber equipment D with each packet that is obtained; Said packet is preserved, so that other user equipment requests in the said LAN when obtaining said shared file, are directly sent the said shared file of being stored.
More preferably, if select described request information is forwarded to said destination address by original route, said step S2 also comprises: step S22 (not giving diagram).
In step S22, said share and access accelerating system will be preserved from the corresponding shared file of said destination address, the more said shared file of being preserved will be sent to said subscriber equipment.
For example; Shared file information in the solicited message that subscriber equipment E in the external network is sent based on the subscriber equipment F in the said LAN is sent the corresponding shared file with the form of a plurality of packets; Then said share and access accelerating system is preserved the part or all of said shared file of obtain earlier, and the said shared file after will preserving again offers said subscriber equipment F.
In sum; Whether share and access accelerated method and system based on Transparent Proxy of the present invention have stored in the corresponding shared file in the shared file that can confirm to be stored according to said shared file information, if store; Then directly the shared file of being preserved is offered the pairing subscriber equipment of described request information; Make the subscriber equipment in the LAN need not to obtain said shared file with the speed of LAN internal transmission, accelerated the speed of download of said shared file in path transmission through external network; Simultaneously; For the user who uses this subscriber equipment in the said LAN, the mode of this kind route diversion is transparent, need not user to user equipment and carries out any setting; In addition, in the shared file of being stored, do not have the corresponding shared file, then described request information is transmitted by original route; To obtain the corresponding shared file; When obtaining corresponding said shared file, said shared file is preserved, so that each subscriber equipment in the said LAN sends when sharing said shared file once more; Can obtain said shared file apace, need not to obtain said shared file through external network again; In addition, the shared file that will be obtained from external network earlier is preserving of part at least, and the said shared file of being preserved again offers the corresponding user equipment in the said LAN, can accelerate the speed of download of said shared file.So the present invention has effectively overcome various shortcoming of the prior art and the tool high industrial utilization.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any be familiar with this technological personage all can be under spirit of the present invention and category, the foregoing description is modified or is changed.Therefore, have common knowledge the knowledgeable in the affiliated such as technical field, must contain by claim of the present invention not breaking away from all equivalence modifications of being accomplished under disclosed spirit and the technological thought or changing.
Claims (6)
1. the share and access accelerating system based on Transparent Proxy is connected with the network access equipment of LAN, it is characterized in that, comprises at least:
Memory cell is used to store shared file;
The path selection unit that is connected with said memory cell with said network access equipment; Be used for obtaining from the solicited message that destination address sent of said network access equipment to external network; And compare based on the information of the shared file information in the described request information with the shared file of being stored; Select whether described request information to be forwarded to the destination address in the described request information by original route, if then described request information is forwarded to said destination address by original route; Transmitting and store from the corresponding shared file of said destination address; If not, then the corresponding shared file of being stored is sent to said network access equipment, said shared file is sent to the corresponding user equipment in the said LAN for said 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 said destination address by original route, said path selection unit also comprises:
First subpath is selected module, when being used for being sent to said network access equipment based on the shared file from the corresponding said shared file information of said destination address, also said shared file is stored to said memory cell.
3. 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 said destination address by original route, said path selection unit also comprises:
Second subpath is selected module, is used for the shared file from the corresponding said shared file information of said destination address is stored to said memory cell, the more said shared file of being stored is sent to said network access equipment.
4. the share and access accelerated method based on Transparent Proxy is characterized in that, comprises at least:
1) based on comparing from the information of the shared file information in the solicited message that destination address sent of network access equipment in external network with the shared file of being stored; Select whether described request information to be forwarded to the destination address in the described request information by original route, and export selected results;
2) obtain corresponding shared file based on said selection result from said destination address; Or and from said memory cell, obtain the corresponding shared file; So that the corresponding said shared file of being obtained is sent to said network access equipment, said shared file is sent to the corresponding user equipment in the LAN for said network access equipment.
5. the share and access accelerated method based on Transparent Proxy according to claim 4 is characterized in that, described request information is forwarded to said destination address by original route, said step 2 if select) also comprise:
When 2-a) will be sent to said network access equipment, also store from the corresponding shared file of said destination address.
6. the share and access accelerated method based on Transparent Proxy according to claim 4 is characterized in that, described request information is forwarded to said destination address by original route, said step 2 if select) also comprise:
2-1) will preserve, and the said shared file that will preserve is sent to said network access equipment from the corresponding shared file of said destination address.
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 true CN102833317A (en) | 2012-12-19 |
CN102833317B 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005084132A2 (en) * | 2004-03-08 | 2005-09-15 | 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 |
-
2012
- 2012-07-31 CN CN201210270275.8A patent/CN102833317B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005084132A2 (en) * | 2004-03-08 | 2005-09-15 | First Oversi Ltd | A method and device for peer to peer file sharing |
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 |
---|---|
CN102833317B (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7109044B2 (en) | System for improved mobile Internet speed and security | |
CN112965824B (en) | Message forwarding method and device, storage medium and electronic equipment | |
CN102461134A (en) | Handheld device capable of providing data tethering services while maintaining suite of handheld service functions | |
CN102025643A (en) | Flow table search method and device | |
US20150264134A1 (en) | Enhanced distributed resource directory | |
CN107079060A (en) | The system and method optimized for carrier-class NAT | |
CN104115472A (en) | A method for scalable routing in content-oriented networks | |
CN104618506A (en) | Crowd-sourced content delivery network system, method and device | |
US10437924B2 (en) | Size-optimized data interchange method and system | |
CN104113879A (en) | WiFi communication system deployed with cloud ACs (access controllers) and communication method adopting WiFi communication system deployed with cloud ACs | |
CN109040298A (en) | Data processing method and device based on edge calculations technology | |
CN103095732A (en) | Information push system and information push method | |
CN102244670B (en) | Idle node assistance method for P2P (peer-to-peer) file transmission | |
US9307555B2 (en) | Method and system for mobile terminal to access the network through cell phone | |
CN101147380A (en) | Method and apparatus for efficiently expanding a P2P network | |
CA2645274A1 (en) | Peer to peer gateway | |
US20150381716A1 (en) | Method and system for sharing files over p2p | |
CN102208945A (en) | Method for obtaining network address and FCoE target and communication system | |
CN103747083A (en) | Content pushing method based on CCN (Content Centric Network) | |
CN104580359A (en) | Method for encrypting, storing, backuping and downloading file segments in router with storage function | |
CN101599910B (en) | Method and device for sending messages | |
CN104967572A (en) | Network access method, apparatus and equipment | |
CN103746768A (en) | Data packet identification method and equipment thereof | |
CN103457976A (en) | Data downloading method and system | |
CN102868775A (en) | Method for expanding capacity of address resolution protocol table, and message forwarding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 |