CN108063714A - A kind of processing method and processing device of network request - Google Patents
A kind of processing method and processing device of network request Download PDFInfo
- Publication number
- CN108063714A CN108063714A CN201610987509.9A CN201610987509A CN108063714A CN 108063714 A CN108063714 A CN 108063714A CN 201610987509 A CN201610987509 A CN 201610987509A CN 108063714 A CN108063714 A CN 108063714A
- Authority
- CN
- China
- Prior art keywords
- network request
- server
- network
- proxy server
- destination
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of processing method and processing devices of network request, are related to Internet technical field, main purpose is to select effective proxy server according to the destination server of network request access when opening VPN services, with the quick response network request.The main technical solution of the present invention is:The network request of terminal applies is obtained in Virtual Private Network;The network request is parsed, obtains the destination server of the network request access;Judge whether the proxy server to the forwarded over network request of destination server success, the proxy server is one in the multiple virtual special network servers being connected with the terminal;If in the presence of the network request being sent to the proxy server, the network request is forwarded to the destination server by the proxy server.Present invention is mainly used for selectively send network request in the case where opening VPN services.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of processing method and processing devices of network request.
Background technology
Virtual Private Network (Virtual Private Network, abbreviation VPN) refers to establishing in common network special
With the technology of network.VPN network can be understood as being to fictionalize the enterprises special line come.It can be by special encrypted logical
Interrogate agreement connection, on internet established between two or more intranets of different places one it is proprietary
Communication line.Usually, the terminal in VPN network is after VPN services are opened, the network request of all applications in the terminal
It will be obtained by Microsoft Loopback Adapter and be sent to VPN proxy servers, then network request is forwarded to target clothes by VPN proxy servers
Business device.
However this mode asked by VPN proxy server processing terminal applications all-network, it is often that terminal is being opened
After opening VPN services, acquired network request can be all sent to a VPN proxy server specified, acted on behalf of and taken by VPN
Business device parses network request, is forwarded and received the request results of destination server feedback.The data sent due to terminal
A function sole placing agency server is directed only to, so tending not to the whole demands for meeting user.For example, user is using
, it is necessary to connect two proxy servers during android clients, the proxy server of company and external proxy server, with
Meet different requirements for access.In this case, it is difficult to realize using conventional agent skill group.
The content of the invention
In view of this, the present invention provides a kind of processing method and processing device of network request, and main purpose is opening VPN
Effective proxy server is selected according to the destination server of network request access during service, with the quick response network request.
In order to achieve the above objectives, present invention generally provides following technical solutions:
On the one hand, the present invention provides a kind of processing method of network request, this method includes:
The network request of terminal applies is obtained in Virtual Private Network;
The network request is parsed, obtains the destination server of the network request access;
Judge whether the proxy server to the forwarded over network request of destination server success, agency's clothes
Business device is one in the multiple virtual special network servers being connected with the terminal;
If in the presence of, the network request is sent to the proxy server, with by the proxy server by institute
It states network request and is forwarded to the destination server.
Preferably, the proxy server judged whether to the forwarded over network request of destination server success
Including:
The forwarding list for the multiple proxy servers being connected with the terminal is obtained, record has agency in the forwarding list
Server successfully forwards the server info of network request;
Judge the destination server whether in the forwarding list one by one.
Preferably, it is described when there is no to the destination server successfully proxy server of forwarded over network request
Method further includes:
The network request is sent to destination server;
If being sent to destination server failure, the network request is sent to the multiple agencies being connected with terminal one by one
Server forwards the network request by proxy server;
If proxy server forwards successfully, the destination server of the network request access is added to the agency takes
It is engaged in the forwarding list of device;
If being forwarded successfully without proxy server, the network request is prompted to send failure.
Preferably, after the network request is sent to the proxy server, the method further includes:
Receive the feedback data for the network request that the proxy server is sent.
Preferably, the network request that terminal applies are obtained in Virtual Private Network includes:
The network request of terminal applies is obtained in Virtual Private Network using the Microsoft Loopback Adapter in terminal;
Extract the network request acquired in the Microsoft Loopback Adapter.
Preferably, the parsing network request, obtaining the destination server of the network request access includes:
The network request is parsed, obtains destination address and destination port number;
The destination server is determined according to the destination address and destination port number.
On the other hand, the present invention also provides a kind of processing unit of network request, which includes:
Acquiring unit, for obtaining the network request of terminal applies in Virtual Private Network;
Resolution unit for parsing the network request that the acquiring unit obtains, obtains the mesh of the network request access
Mark server;
Judging unit, for judging whether the forwarded over network of destination server success obtained to the resolution unit
The proxy server of request, the proxy server are one in the multiple virtual special network servers being connected with the terminal
It is a;
Transmitting element judges exist to the forwarded over network request of destination server success for working as the judging unit
Proxy server when, the network request is sent to the proxy server.
Preferably, the judging unit includes:
Acquisition module, for obtaining the forwarding list for the multiple proxy servers being connected with the terminal, the forwarding row
Record has the server info that proxy server successfully forwards network request in table;
Judgment module, for judge one by one the destination server whether the acquisition module obtain forwarding list
In.
Preferably, described device further includes:
The transmitting element is additionally operable to, when the judging unit judges that there is no forwarded over to destination server success
During the proxy server of network request, the network request is sent to destination server;
Dispatching Unit, for when the transmitting element by the network request to destination server send failure when, by institute
It states network request and is sent to the multiple proxy servers being connected with terminal one by one, the network request is forwarded by proxy server;
Adding device, for when there is proxy server to forward successfully, by the destination server of the network request access
Information is added in the forwarding list of the proxy server;
Prompt unit, for the network request when no proxy server forwards successfully, to be prompted to send failure.
Preferably, described device further includes:
Receiving unit, for after network request is sent to the proxy server by the transmitting element, described in reception
The feedback data for the network request that proxy server is sent.
Preferably, the acquiring unit includes:
Acquisition module, the network for obtaining terminal applies in Virtual Private Network using the Microsoft Loopback Adapter in terminal please
It asks;
Extraction module, for extracting the network request that the acquisition module obtains.
Preferably, the resolution unit includes:
Parsing module for parsing the network request, obtains destination address and destination port number;
Determining module, destination address and destination port number for being obtained according to the parsing module determine the target clothes
Business device.
It is to service to open in VPN according to a kind of processing method and processing device for network request that the invention described above is proposed
In the case of, determine that the target that network request is accessed takes by being obtained in terminal local and parsing the network request of terminal applies
Business device, then by judging to access whether the destination server needs to forward the network request by proxy server, to determine net
Network request is sent directly to one that destination server is either sent in multiple proxy servers and is forwarded to.Compared with existing
The VPN proxy server specified that can only be sent to network request having is compared, and the present invention is realized in terminal local solution
Network request is analysed, and most fast response can be obtained to select how to send the network request according to the result of parsing, particularly
For being connected with the terminal of multiple VPN proxy servers demands, the present invention provides a kind of intelligent selection VPN in the terminal to act on behalf of
The method of server realizes according to the content of network request the side that different VPN proxy servers is selected to be forwarded to operation
Formula so that terminal can handle different network requests using multiple VPN proxy servers simultaneously.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of process flow figure for network request that the embodiment of the present invention proposes;
Fig. 2 shows the process flow figure for another network request that the embodiment of the present invention proposes;
Fig. 3 shows a kind of processing unit composition frame chart for network request that the embodiment of the present invention proposes;
Fig. 4 shows the processing unit composition frame chart for another network request that the embodiment of the present invention proposes.
Specific embodiment
Exemplary embodiment of the present invention is more fully described below with reference to accompanying drawings.Although the present invention is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to be best understood from the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of processing method of network request, as shown in Figure 1, this method is applied to make
In terminal with VPN network service function, the network request for selectively sending terminal applies is realized, to this embodiment of the present invention
Step in detail below is provided:
101st, the network request of terminal applies is obtained in VPN network.
At present, realize to be usually after terminal opens VPN services using the technology of VPN service packet capturings, system will block automatically
Cut the network request that all applications generate in the terminal, and these network requests are sent in the VPN proxy servers specified into
Row processing.Specifically, it is to create Microsoft Loopback Adapter in the terminal, for the communication connection of terminal and VPN proxy servers, by the void
Intend the all-network that network interface card is obtained in the terminal to ask.
In this step, the characteristic for the all-network request that can be obtained during VPN services is being opened also with Microsoft Loopback Adapter,
In the case where VPN services are opened, the network request that Microsoft Loopback Adapter is intercepted directly is extracted.These network requests include terminal system
Unite itself network request and terminal on the network request of third-party application installed.
102nd, the acquired network request of parsing, obtains the destination server of the network request access.
By extracting the network request in Microsoft Loopback Adapter, it is possible to realize the network request to terminal applies in terminal local
The operation parsed, and then need to be carried out according to the concrete mode and frame of network request for the mode of parsing corresponding
Parsing operation, specific analysis mode are all whether identical and existing in end side or in VPN proxy servers side
Therefore highly developed routine operation, no longer illustrates herein.It is obtained as a result, can obtain by parsing network request
To the destination address and destination port number in the network request, and destination address and destination port number determine the network request institute
The destination server to be accessed, that is, the destination address and destination port number are directed toward corresponding destination server.By at end
The local parsing operation to network request in end is assured that out the network request destination server to be accessed.
103rd, the proxy server to the forwarded over network request of destination server success is judged whether.
Mainly judge that there are during multiple VPN proxy servers, select to come to which VPN proxy server in this step
The network request is forwarded, and whether criterion is once to be successfully transmitted according to VPN proxy servers to the destination server
Network request.
In practical applications, to determine a server whether can access needs terminal local preservation be able to access that or
The server info that person once accessed, and it is large number of due to destination server, in these server infos of terminal maintenance
Mode and impracticable, for this purpose, being to determine all VPN proxy servers being connected with the terminal used by the embodiment of the present invention
Which server network request can be forwarded to, if include destination server in these servers, determine that the network please
Needs is asked to be forwarded to by VPN proxy servers, and when not including the destination server in these servers, then it can determine
Current connected VPN proxy servers are not transmitted across network request to destination server, that is to say, that VPN agency services
Device not necessarily can successfully forward the network request, at this point, can first attempt to directly transmit the network to destination server
Request.
104th, network request is sent to VPN proxy servers.
This step is to judge the VPN agency services for having to the forwarded over network request of destination server success in step 103
Performed transmission operation after device.Wherein, the result parsed in terminal can also be sent out together while network request is sent
VPN proxy servers are given, so that network request directly can be forwarded to target clothes by VPN proxy servers according to analysis result
It is engaged in device.
In addition, when sending network request to VPN proxy servers, due to there are multiple VPN proxy servers,
It needs first to be determined to the VPN proxy servers for forwarding network request, then network request is sent in the VPN proxy servers
It is forwarded to operation.
It can be seen that the processing method of network request used by the embodiment of the present invention with reference to above-mentioned realization method, be
In the case where VPN services are opened, determine that network please by being obtained in terminal local and parsing the network request of terminal applies
Accessed destination server is sought, then by judging to access whether the destination server needs to forward the network by proxy server
Request, come determine by network request be sent directly to that destination server is either sent in multiple proxy servers one into
Row forwarding.Compared with the existing VPN proxy server that can only be sent to network request and specify, the present invention is implemented
Example is realized parses network request in terminal local, and can be obtained according to the result of parsing to select how to send the network request
To most fast response, especially for the terminal for being connected with multiple VPN proxy servers demands, an embodiment of the present invention provides one
The method for planting intelligent selection VPN proxy servers in the terminal, realizes according to the content of network request to select different VPN generations
Reason server is forwarded to the mode of operation so that terminal can handle different nets using multiple VPN proxy servers simultaneously
Network is asked.
Below in order to which a kind of processing method of network request proposed by the present invention is explained in more detail, particularly in VPN
After service is opened, how terminal selects the transmitting path of the network request to carry out specifically after the network request of application is obtained
It is bright, as shown in Fig. 2, the step included by this method is:
201st, the network request of terminal applies is obtained in VPN network.
All network requests of the terminal are obtained using the Microsoft Loopback Adapter established in terminal.The main contents of this step are same as above
The step 101 in embodiment is stated, for details, reference can be made to above-mentioned step, details are not described herein again.
202nd, the acquired network request of parsing, obtains the destination server of the network request access.
In this step, by extracting destination address and destination port number in network request in analytically result, to determine
The destination server to be accessed.For example, the message by parsing network request, extracts and destination address and target is recorded in message
The content of port number field determines the access address of destination server and access end slogan.
203rd, the forwarding list for the multiple VPN proxy servers being connected with terminal is obtained, and judges network request institute one by one
In the forwarding list whether the destination server of access.
Wherein, forwarding list is the list for recording the server info for having VPN proxy servers successfully to forward network request,
The server info recorded in the list includes:The title or IP address of server.Generally, in each VPN proxy servers
It will preserve there are one forwarding list, for recording the destination server that the VPN proxy servers can be accessed.Meanwhile eventually
Forwarding list that also can be in synchronization VPN proxy servers in end, with judge network request whether need by VPN proxy servers into
Row forwarding operation.
When terminal is connected with multiple VPN proxy servers, terminal arranges the forwarding for obtaining all VPN proxy servers
Table, also, seriatim matched with the destination server obtained in step 202 with the server preserved in forwarding list.
If successful match, illustrate that the VPN proxy servers corresponding to the forwarding list can forward the network request.Wherein, if depositing
When multiple VPN proxy servers can forward the network request, terminal can be acted on behalf of further by analyzing each VPN
The current particular state of server determines which VPN proxy server to send the network request to, for example, pass through VPN generations
Message transmission rate of the current load of server or link etc. is managed because usually selecting most suitable VPN proxy servers.
204th, network request is sent to VPN proxy servers.
When step 203 judges that network request can be forwarded to by VPN proxy servers, terminal will be to identified
VPN proxy servers send the network request, and the result of the parsing is sent to together and gives VPN proxy servers.
Further, after having determined that VPN proxy servers forward the network request, terminal will also be acted on behalf of from the VPN and taken
The feedback data that destination server responds the network request is obtained in business device, that is to say, that feedback data is also by the VPN generations
Reason server is forwarded to by destination server in terminal.
205th, network request is sent to destination server.
When step 203 judges the proxy server to the forwarded over network request of destination server success is not present,
Terminal directly transmits the network request to destination server, at this time, in fact it could happen that two kinds of results:
One kind is to send successfully, that is, destination server has responded the network request, at this point, terminal will directly obtain mesh
The response data that mark server is fed back.
Another kind is to send failure, i.e., destination server does not respond to the network request, illustrates that the terminal can not be direct
Access target server at this point, terminal can directly prompt the network request to send failure, can also further be attempted to use
VPN proxy servers are forwarded to network request to access destination server, and for there are the feelings of multiple VPN proxy servers
Condition, terminal will send network request one by one according to presetting rule, until the response that destination server is asked to obtain in the network is
Only.Wherein, presetting rule is set according to factors such as the message transmission rates of the current load of VPN proxy servers or link
Ordering rule, for being ranked up to VPN proxy servers, to send network request in order.
When there is the proxy server for successfully forwarding network request in the VPN proxy servers being connected with the terminal,
Terminal will receive the response data of destination server feedback by the VPN proxy servers, meanwhile, it can be in the VPN agency services
The relevant information of the destination server is added in the forwarding list of device, corresponding, VPN proxy servers end can also update local
Forwarding list.
And when all VPN proxy servers all retransmission failures being connected with the terminal, terminal will be prompted to the network please
Transmission is asked to fail, to inform that the user using the terminal has the network request not responded to.
Further, as the realization to the above method, an embodiment of the present invention provides a kind of processing dresses of network request
It puts, the device embodiment is corresponding with preceding method embodiment, and for ease of reading, present apparatus embodiment is no longer implemented preceding method
Detail content in example is repeated one by one, it should be understood that the device in the present embodiment, which can correspond to, realizes that preceding method is real
Apply the full content in example.The device carries out network request parsing simultaneously for that can use in the terminal of VPN network service function
The path of transmission network request is selected according to specific analysis result, specifically as shown in figure 3, the device includes:
Acquiring unit 31, for obtaining the network request of terminal applies in Virtual Private Network;
Resolution unit 32 for parsing the network request that the acquiring unit 31 obtains, obtains the network request access
Destination server;
Judging unit 33, it is forwarded over for judging whether to succeed to the destination server that the resolution unit 32 obtains
The proxy server of network request, the proxy server are in the multiple virtual special network servers being connected with the terminal
One;
Transmitting element 34 judges exist to the forwarded over network of destination server success for working as the judging unit 33
During the proxy server of request, the network request is sent to the proxy server.
Further, as shown in figure 4, the judging unit 33 includes:
Acquisition module 331, for obtaining the forwarding list for the multiple proxy servers being connected with terminal, the forwarding list
Middle record has the server info that proxy server successfully forwards network request;
Judgment module 332, for judge one by one the destination server whether the acquisition module 331 obtain forwarding
In list.
Further, as shown in figure 4, described device further includes:
The transmitting element 34 is additionally operable to, and is successfully turned when the judging unit 33 judges to be not present to the destination server
When sending out the proxy server of network request, the network request is sent to destination server;
Dispatching Unit 35, for when the transmitting element 34 by the network request to destination server send failure when,
The network request is sent to the multiple proxy servers being connected with terminal one by one, forwards the network please by proxy server
It asks;
Adding device 36, for when there is proxy server to forward successfully, by the destination service of the network request access
Device information is added in the forwarding list of the proxy server;
Prompt unit 37, for the network request when no proxy server forwards successfully, to be prompted to send failure.
Further, as shown in figure 4, described device further includes:
Receiving unit 38, for after network request is sent to the proxy server by the transmitting element 34, receiving
The feedback data for the network request that the proxy server is sent.
Further, as shown in figure 4, the acquiring unit 31 includes:
First acquisition module 311, for obtaining the network of terminal applies in VPN network using the Microsoft Loopback Adapter in terminal
Request;
Extraction module 312, for extracting the network request that first acquisition module 311 obtains.
Further, as shown in figure 4, the resolution unit 32 includes:
Parsing module 321 for parsing the network request, obtains destination address and destination port number;
Determining module 322, described in destination address and destination port number for being obtained according to the parsing module 321 determine
Destination server.
In conclusion used by the embodiment of the present invention network request processing method and processing device, be VPN service open
In the case of, determine target that network request is accessed by being obtained in terminal local and parsing the network request of terminal applies
Server, then by judging to access whether the destination server needs to forward the network request by proxy server, to determine to incite somebody to action
Network request is sent directly to one that destination server is either sent in multiple proxy servers and is forwarded to.Compared with
The existing VPN proxy server specified that can only be sent to network request is compared, and the embodiment of the present invention was realized at end
Local parsing network request is held, and most fast sound can be obtained to select how to send the network request according to the result of parsing
Should, especially for the terminal for being connected with multiple VPN proxy servers demands, an embodiment of the present invention provides it is a kind of in the terminal
The method of intelligent selection VPN proxy servers, realize according to the content of network request to select different VPN proxy servers into
The mode of row forwarding operation so that terminal can handle different network requests using multiple VPN proxy servers simultaneously.
The processing unit of the network request includes processor and memory, and above-mentioned acquiring unit, resolution unit judge list
Member and transmitting element etc. in memory, above-mentioned journey stored in memory are performed by processor as program unit storage
Sequence unit realizes corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, it is selected by adjusting kernel parameter to now switch in fact during VPN services according to the destination server of network request access
Effective proxy server, with the quick response network request.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
It is first when being performed on data processing equipment, being adapted for carrying out present invention also provides a kind of computer program product
The program code of beginningization there are as below methods step:The network request of terminal applies is obtained in Virtual Private Network;Described in parsing
Network request obtains the destination server of the network request access;It judges whether successfully to turn to the destination server
The proxy server of network request was sent out, the proxy server is the multiple virtual private network services being connected with the terminal
One in device;If in the presence of, the network request is sent to the proxy server, with pass through the proxy server will
The network request is forwarded to the destination server.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.It defines, calculates according to herein
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap
Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
Also there are other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application
Form.It is deposited moreover, the application can be used to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not limited to the application.To those skilled in the art,
The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution,
Improve etc., it should be included within the scope of claims hereof.
Claims (10)
1. a kind of processing method of network request, which is characterized in that the described method includes:
The network request of terminal applies is obtained in Virtual Private Network;
The network request is parsed, obtains the destination server of the network request access;
Judge whether the proxy server to the forwarded over network request of destination server success, the proxy server
It is one in the multiple virtual special network servers being connected with the terminal;
If in the presence of, the network request is sent to the proxy server, with by the proxy server by the net
Network request is forwarded to the destination server.
2. according to the method described in claim 1, it is characterized in that, described judge whether to destination server success
The proxy server of forwarded over network request includes:
The forwarding list for the multiple proxy servers being connected with the terminal is obtained, record has agency service in the forwarding list
Device successfully forwards the server info of network request;
Judge the destination server whether in the forwarding list one by one.
3. it according to the method described in claim 2, is not present it is characterized in that, working as to the forwarded over net of destination server success
During the proxy server of network request, the method further includes:
The network request is sent to destination server;
If being sent to destination server failure, the network request is sent to the multiple agency services being connected with terminal one by one
Device forwards the network request by proxy server;
If proxy server forwards successfully, the destination server of the network request access is added to the proxy server
Forwarding list in;
If being forwarded successfully without proxy server, the network request is prompted to send failure.
4. according to the method described in claim 1, it is characterized in that, the network request is being sent to the proxy server
Afterwards, the method further includes:
Receive the feedback data for the network request that the proxy server is sent.
5. the according to the method described in claim 1, it is characterized in that, net that terminal applies are obtained in Virtual Private Network
Network request includes:
The network request of terminal applies is obtained in Virtual Private Network using the Microsoft Loopback Adapter in terminal;
Extract the network request acquired in the Microsoft Loopback Adapter.
6. according to the method any one of claim 1-5, which is characterized in that the parsing network request obtains
The destination server of the network request access includes:
The network request is parsed, obtains destination address and destination port number;
The destination server is determined according to the destination address and destination port number.
7. a kind of processing unit of network request, which is characterized in that described device includes:
Acquiring unit, for obtaining the network request of terminal applies in Virtual Private Network;
Resolution unit for parsing the network request that the acquiring unit obtains, obtains the target clothes of the network request access
Business device;
Judging unit, for judging whether the forwarded over network request of destination server success obtained to the resolution unit
Proxy server, the proxy server is one in the multiple virtual special network servers being connected with the terminal;
Transmitting element, the generation for having to the forwarded over network request of destination server success for the judging unit to be worked as to judge
When managing server, the network request is sent to the proxy server.
8. device according to claim 7, which is characterized in that the judging unit includes:
Acquisition module, for obtaining the forwarding list of multiple proxy servers being connected with the terminal, in the forwarding list
Record has the server info that proxy server successfully forwards network request;
Judgment module, for judging the destination server whether in the forwarding list of acquisition module acquisition one by one.
9. device according to claim 8, which is characterized in that described device further includes:
The transmitting element is additionally operable to, when the judging unit judges to be not present to the forwarded over network of destination server success
During the proxy server of request, the network request is sent to destination server;
Dispatching Unit, for when the transmitting element by the network request to destination server send failure when, by the net
Network request is sent to the multiple proxy servers being connected with terminal one by one, and the network request is forwarded by proxy server;
Adding device, for when there is proxy server to forward successfully, by the destination server information of the network request access
Added in the forwarding list of the proxy server;
Prompt unit, for the network request when no proxy server forwards successfully, to be prompted to send failure.
10. device according to claim 7, which is characterized in that described device further includes:
Receiving unit, for after network request is sent to the proxy server by the transmitting element, receiving the agency
The feedback data for the network request that server is sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610987509.9A CN108063714B (en) | 2016-11-09 | 2016-11-09 | Network request processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610987509.9A CN108063714B (en) | 2016-11-09 | 2016-11-09 | Network request processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108063714A true CN108063714A (en) | 2018-05-22 |
CN108063714B CN108063714B (en) | 2021-02-12 |
Family
ID=62136612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610987509.9A Active CN108063714B (en) | 2016-11-09 | 2016-11-09 | Network request processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108063714B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109995867A (en) * | 2019-04-04 | 2019-07-09 | 深圳市喏喏网络科技有限公司 | One-stop insurance service system, implementation method and computer readable storage medium |
CN110177128A (en) * | 2019-04-15 | 2019-08-27 | 深圳前海达闼云端智能科技有限公司 | Data transmission system and method for establishing VPN connection, terminal and VPN proxy thereof |
CN110489346A (en) * | 2019-08-15 | 2019-11-22 | 深圳乐信软件技术有限公司 | IOS systematic difference test method, device, server and storage medium |
CN111224832A (en) * | 2018-11-26 | 2020-06-02 | 阿里巴巴集团控股有限公司 | Method, control equipment, proxy server and system for capturing network data |
CN111245914A (en) * | 2020-01-06 | 2020-06-05 | 北京松果电子有限公司 | Analog communication method and device of terminal equipment and storage medium |
CN111355693A (en) * | 2018-12-24 | 2020-06-30 | 北京奇虎科技有限公司 | Method and device for realizing proxy service, electronic equipment and storage medium |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
CN113315687A (en) * | 2021-05-25 | 2021-08-27 | Oppo广东移动通信有限公司 | Proxy network management method, device, storage medium and terminal |
CN113347222A (en) * | 2020-03-03 | 2021-09-03 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN114979099A (en) * | 2022-04-14 | 2022-08-30 | 天津车之家软件有限公司 | Target service access method, module and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244615A (en) * | 2011-08-15 | 2011-11-16 | 福建星网锐捷网络有限公司 | Forwarding entry sending method, device and system as well as autonomous system border router |
CN102546594A (en) * | 2011-12-07 | 2012-07-04 | 北京星网锐捷网络技术有限公司 | Network resource access control method, device and related equipment |
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
CN103840994A (en) * | 2012-11-23 | 2014-06-04 | 华耀(中国)科技有限公司 | System and method for user side to access intranet through VPN |
CN104202307A (en) * | 2014-08-15 | 2014-12-10 | 小米科技有限责任公司 | Data forwarding method and device |
-
2016
- 2016-11-09 CN CN201610987509.9A patent/CN108063714B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244615A (en) * | 2011-08-15 | 2011-11-16 | 福建星网锐捷网络有限公司 | Forwarding entry sending method, device and system as well as autonomous system border router |
CN102546594A (en) * | 2011-12-07 | 2012-07-04 | 北京星网锐捷网络技术有限公司 | Network resource access control method, device and related equipment |
CN102624920A (en) * | 2012-03-31 | 2012-08-01 | 奇智软件(北京)有限公司 | Method and device for performing access through proxy server |
CN103840994A (en) * | 2012-11-23 | 2014-06-04 | 华耀(中国)科技有限公司 | System and method for user side to access intranet through VPN |
CN104202307A (en) * | 2014-08-15 | 2014-12-10 | 小米科技有限责任公司 | Data forwarding method and device |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111224832A (en) * | 2018-11-26 | 2020-06-02 | 阿里巴巴集团控股有限公司 | Method, control equipment, proxy server and system for capturing network data |
CN111355693A (en) * | 2018-12-24 | 2020-06-30 | 北京奇虎科技有限公司 | Method and device for realizing proxy service, electronic equipment and storage medium |
CN111355693B (en) * | 2018-12-24 | 2023-10-31 | 北京奇虎科技有限公司 | Proxy service realization method, device, electronic equipment and storage medium |
CN109995867A (en) * | 2019-04-04 | 2019-07-09 | 深圳市喏喏网络科技有限公司 | One-stop insurance service system, implementation method and computer readable storage medium |
CN110177128A (en) * | 2019-04-15 | 2019-08-27 | 深圳前海达闼云端智能科技有限公司 | Data transmission system and method for establishing VPN connection, terminal and VPN proxy thereof |
CN110177128B (en) * | 2019-04-15 | 2022-02-01 | 达闼机器人有限公司 | Data transmission system and method for establishing VPN connection, terminal and VPN proxy thereof |
CN110489346A (en) * | 2019-08-15 | 2019-11-22 | 深圳乐信软件技术有限公司 | IOS systematic difference test method, device, server and storage medium |
CN110489346B (en) * | 2019-08-15 | 2023-06-06 | 深圳乐信软件技术有限公司 | Application testing method and device of IOS (input/output) system, server and storage medium |
CN111245914B (en) * | 2020-01-06 | 2022-07-22 | 北京小米松果电子有限公司 | Analog communication method and device of terminal equipment and storage medium |
CN111245914A (en) * | 2020-01-06 | 2020-06-05 | 北京松果电子有限公司 | Analog communication method and device of terminal equipment and storage medium |
CN113347222A (en) * | 2020-03-03 | 2021-09-03 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN113347222B (en) * | 2020-03-03 | 2022-08-05 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN111405039A (en) * | 2020-03-16 | 2020-07-10 | 深圳市网心科技有限公司 | Data transparent transmission method, device and system, client and server |
CN113315687A (en) * | 2021-05-25 | 2021-08-27 | Oppo广东移动通信有限公司 | Proxy network management method, device, storage medium and terminal |
CN113315687B (en) * | 2021-05-25 | 2023-09-08 | Oppo广东移动通信有限公司 | Proxy network management method, device, storage medium and terminal |
CN114979099A (en) * | 2022-04-14 | 2022-08-30 | 天津车之家软件有限公司 | Target service access method, module and system |
CN114979099B (en) * | 2022-04-14 | 2024-02-23 | 天津车之家软件有限公司 | Target service access method, module and system |
Also Published As
Publication number | Publication date |
---|---|
CN108063714B (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108063714A (en) | A kind of processing method and processing device of network request | |
US10795992B2 (en) | Self-adaptive application programming interface level security monitoring | |
US8843605B2 (en) | Method and system for filtering and suppression of telemetry data | |
CN101099345B (en) | Interpreting an application message at a network element using sampling and heuristics | |
CN101194233B (en) | System and method of testing wireless component applications | |
US20030101284A1 (en) | Virtual network with adaptive dispatcher | |
CN108243106A (en) | Control method, forwarding unit, control device and the communication system of network slice | |
CN109714239B (en) | Management message issuing method, VNFM (virtual network management frequency) equipment and server | |
EP3889870A1 (en) | Background architecture method and system for aggregation payment, computer device, and storage medium | |
CN111970236B (en) | Cross-network data transmission method and device | |
US20200327045A1 (en) | Test System and Test Method | |
CN108063712A (en) | The sending method and device of a kind of network request | |
CN107819891A (en) | Data processing method, device, computer equipment and storage medium | |
CN106656919B (en) | A kind of session analytic method and system based on Telnet agreement | |
CN108092976A (en) | Device-fingerprint building method and device | |
US20150304167A1 (en) | Accelerating device, connection and service discovery | |
CN105205905B (en) | The method, apparatus and system that a kind of business hall is called out the numbers | |
CN116723154A (en) | Route distribution method and system based on load balancing | |
CN105512020B (en) | Test method and device | |
CN113949631B (en) | Client disaster recovery processing method and system and electronic equipment | |
CN111526028A (en) | Data processing method, device and equipment | |
CN110392015A (en) | A kind of method and system of processing business request | |
US10313254B1 (en) | Network management interface for a network element with network-wide information | |
CN108063713A (en) | A kind of processing method and processing device of network request | |
CN109905325A (en) | A kind of flow bootstrap technique and flow identify equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |