Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order toConvenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phaseMutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary architecture 100 that system is accessed according to the WEB of the application.
As shown in Figure 1, system architecture 100 may include client 101, network 102, routing end 103, domain name mapping end104 and agency service end 105.Network 102 is at client 101, routing end 103, domain name mapping end 104 and agency service endThe medium of communication link is provided between 105.Network 102 may include various connection types, for example, wired, wireless communication link orPerson's fiber optic cables etc..
User can use client 101 to pass through network 102 and routing end 103, domain name mapping end 104, agency service end105 interactions, to receive or send message etc..Various telecommunication customer end applications, such as terminal conduit can be installed in client 101The application of reason class, web browser applications, the application of shopping class, searching class application, instant messaging tools, mailbox client, social activity are flatPlatform software etc..
Client 101 can be hardware, can also be software.Can be with display screen when client 101 is hardwareAnd the various electronic equipments for supporting WEB to access, including but not limited to smart mobile phone, tablet computer, E-book reader, MP3Player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audioLevel 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard soundFrequency level 4) player, pocket computer on knee and desktop computer etc..When client 101 is software, can installIn above-mentioned cited electronic equipment.Multiple softwares or software module may be implemented into (such as providing distributed clothes in itBusiness), single software or software module can also be implemented as.It is not specifically limited herein.
Routing end 103 can be equipped with preferred DNS (Domain Name System, domain name system) server infoRouting device including but not limited to route end, set-top box etc..Routing end 103 can receive client 101 and obtain dns serverThe request of address, and IP (Internet Protocol, the Internet protocol) address for translating domain names into end 104 returns to clientEnd 101.
Domain name mapping end 104 can be to provide the server of domain name mapping, and domain name mapping end 104 can receive client101 domain-name informations sent, and the IP address at agency service end 105 is returned into client 101.
Agency service end 105 can be to provide the server of WEB access agent services, and agency service end 105 can be to visitorThe WEB access requests that family end 101 is sent such as are monitored and forward at the processing, and by handling result (such as returned data, data flowAmount etc.) return to client 101.
It should be noted that the WEB access methods for client that the embodiment of the present application is provided are generally by client101 execute, and correspondingly, the WEB access mechanisms for client are generally positioned in client 101.
It should be noted that routing end, domain name mapping end, agency service end can be hardware, can also be software.Work as roadBy end, domain name mapping end, agency service end be hardware when, may be implemented into multiple equipment composition distributed apparatus cluster,Individual equipment may be implemented into.When routing end, domain name mapping end, agency service end are software, multiple softwares may be implemented intoOr software module (such as providing Distributed Services), it can also be implemented as single software or software module, do not do have hereinBody limits.
It should be understood that the number of the client, network, routing end, domain name mapping end and agency service end in Fig. 1 is onlySchematically.According to needs are realized, can have any number of client, network, routing end, domain name mapping end and agency's clothesBusiness end.
With continued reference to Fig. 2, the sequence diagram 200 of one embodiment that system is accessed according to the WEB of the application is shown.
The WEB of the present embodiment accesses system:It route end, domain name mapping end and agency service end.Wherein, routing end is usedIn the request for obtaining dns server address in response to receiving client, the preferred dns server information for routeing end is returned into visitorFamily end, wherein the preferred dns server information for routeing end is the IP address at domain name mapping end;Domain name mapping end be used in response toThe domain name mapping request for receiving client, client is returned by the IP address at agency service end;Agency service end is for handlingThe WEB access requests received from client, client is returned by handling result.
As shown in Fig. 2, in step 201, client receives the WEB access requests for including domain-name information.
In the present embodiment, client (such as client 101 shown in FIG. 1) can receive WEB input by user and accessRequest, wherein WEB access requests include domain-name information.Here, WEB access refers to by procotol (for example, HTTP(Hypertext Transfer Protocol, hypertext transfer protocol), HTTPS (Secure Hypertext TransferProtocol, Secure Hypertext Transfer Protocol) etc.) carry out data interaction network service.Domain name (Domain Name) refers toA string with " " separate characters composition internet a certain computer or calculate unit title (for example," www.domain.com "), the electronic bearing for identifying computer in data interaction.In general, domain name indicates IP resources, exampleIt is such as used to access the personal computer of internet, the server computer of trustship website or website itself or is passed by internetAny other service sent.User can be by input equipment (for example, the input equipments such as touch screen, mouse, keyboard) to above-mentionedClient inputs WEB access requests.
In step 202, client sends the acquisition request of dns server address to routing end.
In the present embodiment, client (such as client 101 shown in FIG. 1) can pass through wired connection mode or nothingLine connection type sends request to routing end (such as routing end 103 shown in FIG. 1), obtains dns server address (for example, IPAddress), to be parsed to the domain-name information in WEB access requests.
In some optional realization methods of the present embodiment, above-mentioned routing end is wireless router.Above-mentioned client (exampleSuch as, smart mobile phone, tablet computer etc.) it can be communicated to connect by radio connection and wireless router.Above-mentioned wireless connectionMode can include but is not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB(ultra wideband) is connected and other currently known or exploitation in the future radio connections.
In step 203, routing end translates domain names into the IP address at end and returns to client.
In the present embodiment, it is asked in response to receiving the acquisition of dns server address, routing end (such as it is shown in FIG. 1It route end 103) preferred dns server address information is returned into client (such as client 101 shown in FIG. 1), wherein onThe preferred dns server address information for stating routing end is configured as domain name mapping end (for example, domain name mapping end shown in FIG. 1104) IP address.
In step 204, the domain-name information in WEB access requests is sent to domain name mapping end by client.
Preferred dns server in the present embodiment, based on the routing end (such as routing end 103 of Fig. 1) receivedLocation information (that is, the IP address at domain name mapping end), client (such as client 101 shown in FIG. 1) is to domain name mapping end (exampleSuch as, domain name mapping end 104 shown in FIG. 1) domain name analysis request is sent, above-mentioned domain name mapping request includes that above-mentioned WEB access is askedThe domain-name information (such as " www.domain.com ") for including in asking.
In step 205, the IP address at agency service end is returned to client by domain name mapping end.
In the present embodiment, in response to receiving domain name mapping request, domain name mapping end is (for example, domain name solution shown in FIG. 1Analysis end 104) IP address at agency service end (such as agency service end 105 shown in FIG. 1) can be returned to client (such asClient 101 shown in FIG. 1).
Here, above-mentioned domain name mapping end does not parse received domain-name information, but directly by above-mentioned generationThe IP address of reason server-side returns to above-mentioned client.That is, no matter above-mentioned client is sent to above-mentioned domain name mapping endWhat domain-name information, above-mentioned client can all receive the IP address at above-mentioned agency service end.
In step 206, WEB access requests are sent to agency service end by client.
In the present embodiment, the IP address based on the agency service end received, client (such as client shown in FIG. 1101) WEB access requests input by user are sent to agency service end (such as agency service end 105 shown in FIG. 1) by end.
In step 207, handling result is returned to client by agency service end.
In the present embodiment, agency service end (such as agency service end 105 shown in FIG. 1) can receive step 206WEB access requests handled, handling result is then returned into client (such as client 101 shown in FIG. 1).
By 201~step 207 of above-mentioned steps it is found that WEB provided by the embodiments of the present application accesses system, pass through preferred DNSServer info is configured to the routing end of domain name mapping end IP address, domain-name information is resolved to the domain of agency service end IP addressName parsing end and reception WEB access requests and the agency service end for returning to handling result realize client and are taken via agencyBusiness end carries out WEB access, so as to be visited the WEB of client in the case where that need not obtain FTP client FTP permissionIt asks that request is monitored and manages, and is not limited by the procotol of WEB access requests.For example, it is possible to monitor to make by oneselfThe WEB access requests and handling result that adopted procotol is transmitted.
Due to above-mentioned agency service end IP address not according to above-mentioned domain-name information parse (that is, above-mentioned agencyServer-side is not the corresponding WEB server of domain-name information in WEB access requests), therefore in practical applications, above-mentioned agency serviceEnd usually requires to carry out the processing such as domain name mapping and request forwarding to received WEB access requests.
In some optional realization methods of the present embodiment, above-mentioned agency service end is specifically used for:Pass through dns serverDetermine the corresponding IP address of domain-name information in above-mentioned WEB access requests;Above-mentioned WEB access requests are forwarded to identified IPThe corresponding WEB server in address;The handling result to WEB access requests received from WEB server is returned into above-mentioned client.
In some optional realization methods of the present embodiment, above-mentioned agency service end is additionally operable to:Determine that above-mentioned WEB is accessedAsk the data traffic of the data traffic and the consumption of above-mentioned handling result of consumption.Above-mentioned agency service end can visit above-mentioned WEBThe data traffic of the data traffic and the consumption of above-mentioned handling result of asking request consumption is stored in local, so that client (can beAbove-mentioned client can also be other clients) and/or the acquisition of other server-sides.For example, can be disappeared with above-mentioned WEB access requestsThe data traffic of consumption and the data traffic of above-mentioned handling result consumption return to above-mentioned client, so that above-mentioned client updates the dataFlow information;The data traffic of data traffic and the consumption of above-mentioned handling result that above-mentioned WEB access requests consume can also be returnedOther clients (for example, the ends PC) are returned, for showing, analyzing.In the realization method, the WEB of the present embodiment accesses systemThe data traffic that client consumption can be determined by agency service end, to improve the accurate of client data flow informationProperty.
In some optional realization methods of the present embodiment, above-mentioned agency service end is additionally operable to access based on above-mentioned WEBRequest to generate handling result.Since above-mentioned client carries out WEB access via above-mentioned agency service end, above-mentioned agency's clothesBusiness device can also be directly based upon above-mentioned WEB access requests and generate handling result, be then returned to above-mentioned client.For example, rightService end data carries out mock tests, and (mock tests refer to during the test, being not easy to construct or being not easy for certainThe object of acquisition creates the test method so as to test with a virtual object) scene in, can be taken by above-mentioned agencyEnd simulation real service end generation handling result of being engaged in returns to above-mentioned client, is visited without handling above-mentioned WEB by real service endIt asks request and returns to handling result, so as to reduce the difficulty of service end data mock tests, improve testing efficiency.
With continued reference to Fig. 3, it illustrates according to one embodiment of the WEB access methods for client of the applicationFlow 300.This is used for the WEB access methods of client, includes the following steps:
Step 301, WEB access requests are received, WEB access requests include domain-name information.
In the present embodiment, it is used for executive agent (such as the client shown in FIG. 1 of the WEB access methods of client101) WEB access requests input by user can be received, wherein WEB access requests include domain-name information.Here, WEB, which is accessed, isRefer to through procotol (for example, HTTP (Hypertext Transfer Protocol, hypertext transfer protocol), HTTPS(Secure Hypertext Transfer Protocol, Secure Hypertext Transfer Protocol) etc.) carry out data interaction networkService.Domain name (Domain Name) refers to a certain computer or meter of a string of internets with " " character composition separatedThe title (for example, " www.domain.com ") for calculating unit, the electronic bearing for identifying computer in data interaction.It is logicalOften, domain name indicates IP resources, such as the personal computer for accessing internet, the server computer or net of trustship websiteIt stands any other service transmitted in itself or by internet.User can be by input equipment (for example, touch screen, mouse, keyThe input equipments such as disk) to above-mentioned executive agent input WEB access requests.
Step 302, the system dns server information at routing end is obtained, wherein route the preferred dns server information at endIt is configured as the IP address at domain name mapping end.
In the present embodiment, it is used for executive agent (such as the client shown in FIG. 1 of the WEB access methods of client101) the preferred dns server address information at routing end can be obtained by wired connection mode or radio connection,In, the preferred dns server information at above-mentioned routing end is configured as the IP address at domain name mapping end.
In some optional realization methods of the present embodiment, above-mentioned routing end is wireless router.Above-mentioned electronic equipment(for example, smart mobile phone, tablet computer etc.) can be communicated to connect by radio connection and wireless router.It is above-mentioned wirelessly to connectThe mode of connecing can include but is not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB(ultra wideband) is connected and other currently known or exploitation in the future radio connections.
Step 303, domain-name information is sent to domain name mapping end, domain name mapping end is used for the IP address at agency service endReturn to client.
In the present embodiment, the preferred dns server address information based on the routing end received is (that is, domain name mapping endIP address), the executive agent (such as client 101 shown in FIG. 1) of the WEB access methods for client can will be above-mentionedDomain-name information (such as " www.domain.com ") in WEB access requests is sent to domain name mapping end and carries out domain name mapping, soThe analysis result (that is, IP address of proxy server) from above-mentioned domain name mapping end is received afterwards.Wherein, above-mentioned domain name mapping endIP address for the domain-name information received to be resolved to above-mentioned proxy server.
Here, above-mentioned domain name mapping end does not parse received domain-name information, but directly by above-mentioned generationThe IP address of reason server-side returns to above-mentioned executive agent.That is, no matter above-mentioned executive agent is to above-mentioned domain name mapping endAny domain-name information is sent, above-mentioned executive agent can all receive the IP address at above-mentioned agency service end.
Step 304, WEB access requests are sent to agency service end.
In the present embodiment, the IP address based on the agency service end received is used for the WEB access methods of clientWEB access requests input by user can be sent to agency service end by executive agent (such as client 101 shown in FIG. 1).
Step 305, the handling result to WEB access requests is received from agency service end.
In the present embodiment, it is used for executive agent (such as the client shown in FIG. 1 of the WEB access methods of client101) handling result from agency service end can be received.
Due to above-mentioned agency service end IP address not according to above-mentioned domain-name information parse (that is, above-mentioned agencyServer-side is not the corresponding WEB server of domain-name information in WEB access requests), therefore in practical applications, above-mentioned handling resultIt is obtained after typically carrying out the processing such as domain name mapping and request forwarding to received WEB access requests by above-mentioned agency service endIt arrives.
In some optional realization methods of the present embodiment, above-mentioned handling result is passed through as follows by above-mentioned agency service endStep obtains:The corresponding IP address of domain-name information in above-mentioned WEB access requests is determined by dns server;Above-mentioned WEB is visitedAsk that request is forwarded to the corresponding WEB server of identified IP address;It will be received from WEB server to WEB access requestsHandling result returns to above-mentioned executive agent (that is, client).
In some optional realization methods of the present embodiment, this method further includes:Obtain above-mentioned WEB access requests consumptionData traffic and the consumption of above-mentioned handling result data traffic, the data traffic of above-mentioned WEB access requests consumption and above-mentioned placeThe data traffic of reason result consumption is determined by above-mentioned agency service end;Based on above-mentioned WEB access requests consumption data traffic andThe data traffic of above-mentioned handling result consumption, updates the data traffic information of above-mentioned client.In the realization method, this implementationThe WEB access methods for client of example can determine the data traffic of client consumption by agency service end, to carryThe high accuracy of client data flow information.
In some optional realization methods of the present embodiment, above-mentioned handling result is by above-mentioned agency service end group in upperState the generation of WEB access requests.Since above-mentioned executive agent carries out WEB access via above-mentioned agency service end, above-mentioned generationReason server can also be directly based upon above-mentioned WEB access requests and generate handling result, be then returned to above-mentioned executive agent.ExampleSuch as, to service end data carry out mock tests (mock tests refer to during the test, for it is certain be not easy construction orBe not easy obtain object, create the test method so as to test with a virtual object) scene in, can be by above-mentionedAgency service end simulates real service end and generates the above-mentioned executive agent of handling result return, without by the processing of real service endIt states WEB access requests and returns to handling result, so as to reduce the difficulty of service end data mock tests, improve testEfficiency.
In some optional realization methods of the present embodiment, this method further includes:By domain-name information, WEB access requestsThe data traffic of data traffic and the handling result consumption of consumption is recorded in data traffic daily record.It, can in the realization methodSubsequent analysis (for example, creation data traffic report) is carried out to be based on data traffic daily record, is convenient for user's reasonable employment data flowAmount.For example, for the application program installed on above-mentioned executive agent, when different application programs carries out WEB access, the domain of requestName information is typically different, and by for statistical analysis to data traffic log, can obtain the data of each application program consumptionFlow information, and then traffic management is carried out, for example, limitation data traffic consumes high application program.
It is the application scenarios 400 according to the WEB access methods for client of the present embodiment with continued reference to Fig. 4, Fig. 4One schematic diagram.In the application scenarios 400 of Fig. 4, first, client 401 receives the WEB access requests that user 406 inputs,Middle WEB access requests include domain-name information (for example, " www.domain.com ");Later, client 401 is to wireless router402 send dns server address request, and the preferred dns server address of receiving router 402, i.e. Domain Name Resolver 403IP address;Then, above-mentioned domain-name information is sent to Domain Name Resolver 403 by client 401, and receives Domain Name Resolver 403Analysis result, the i.e. IP address of proxy server 404;Then, the WEB access requests that client 401 inputs user 406 are sentTo proxy server 404, and WEB access requests are forwarded to the IP address that domain-name information refers to by proxy server 404 and are corresponded toWEB server 405 and receive handling result return client 401, to realize client 401 via proxy server404 carry out WEB access.
The WEB access methods for client that above-described embodiment of the application provides, pass through preferred dns server informationBe configured to the routing end of domain name mapping end IP address, domain-name information is resolved to the domain name mapping end of agency service end IP address withAnd receive WEB access requests and return to the agency service end of handling result, it realizes client and carries out WEB via agency service endIt accesses, so as to be carried out to the WEB access requests of client in the case where FTP client FTP permission need not be obtainedMonitoring and management, and do not limited by the procotol of WEB access requests.For example, it is possible to monitor with self-defined network protocolThe WEB access requests and handling result being transmitted.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind being used for clientWEB access mechanisms one embodiment, the embodiment of the method for the device embodiment as shown in figure 3 is corresponding, and the device is specificIt can be applied in client.
As shown in figure 5, the WEB access mechanisms 500 for client of the present embodiment include:Request reception unit 501,DNS acquiring units 502, domain name resolution unit 503, request transmitting unit 504 and result receiving unit 505.Wherein, request receivesUnit 501 is configured to receive WEB access requests, and WEB access requests include domain-name information;DNS acquiring units 502 are configured toObtain the preferred dns server information at routing end, wherein the preferred dns server information for routeing end is configured as domain name mappingThe IP address at end;Domain name resolution unit 503 is configured to domain-name information being sent to domain name mapping end, and domain name mapping end is used for willThe IP address at agency service end returns to client;Request transmitting unit 504 is configured to WEB access requests being sent to agency's clothesBusiness end;And result receiving unit 505 is configured to receive the handling result to WEB access requests from agency service end.
In the present embodiment, the request reception unit 501 for the WEB access mechanisms 500 of client can receive userThe WEB access requests of input, wherein WEB access requests include domain-name information.Here, WEB access refers to by procotol (exampleSuch as, HTTP (Hypertext Transfer Protocol, hypertext transfer protocol), HTTPS (Secure HypertextTransfer Protocol, Secure Hypertext Transfer Protocol) etc.) carry out data interaction network service.Domain name (DomainName), refer to a string with " " separate characters composition internet a certain computer or calculate unit title (for example," www.domain.com "), the electronic bearing for identifying computer in data interaction.In general, domain name indicates IP resources, exampleIt is such as used to access the personal computer of internet, the server computer of trustship website or website itself or is passed by internetAny other service sent.User can be by input equipment (for example, the input equipments such as touch screen, mouse, keyboard) to clientEnd input WEB access requests.
In the present embodiment, above-mentioned DNS acquiring units 502 can be obtained by wired connection mode or radio connectionTake the preferred dns server address information at routing end, wherein the preferred dns server information at above-mentioned routing end is configured as domainThe IP address at name parsing end.
In some optional realization methods of the present embodiment, routing end is wireless router.Client is (for example, intelligenceMobile phone, tablet computer etc.) it can be communicated to connect by radio connection and wireless router.Above-mentioned radio connection can be withIncluding but not limited to 3G/4G connections, WiFi connections, bluetooth connection, WiMAX connections, Zigbee connections, UWB (ultraWideband) connection and other currently known or exploitation in the future radio connections.
In the present embodiment, the preferred dns server address information based on the routing end received is (that is, domain name mapping endIP address), above-mentioned domain name resolution unit 503 can by above-mentioned WEB access requests domain-name information (such as" www.domain.com ") it is sent to the progress domain name mapping of domain name mapping end, then receive the solution from above-mentioned domain name mapping endAnalyse result (that is, IP address of proxy server).Wherein, above-mentioned domain name mapping end is for resolving to the domain-name information receivedThe IP address of above-mentioned proxy server.
In the present embodiment, the IP address based on the agency service end received, above-mentioned request transmitting unit 504 can incite somebody to actionWEB access requests input by user are sent to agency service end.
In the present embodiment, the above results receiving unit 505 can receive the handling result from agency service end.
In some optional realization methods of the present embodiment, above-mentioned handling result is passed through as follows by above-mentioned agency service endStep obtains:The corresponding IP address of domain-name information in above-mentioned WEB access requests is determined by dns server;Above-mentioned WEB is visitedAsk that request is forwarded to the corresponding WEB server of identified IP address;It will be received from WEB server to WEB access requestsHandling result returns to client.
In some optional realization methods of the present embodiment, which further includes that flow determination unit and flow update are singleMember.Wherein, flow determination unit is configured to obtain the data traffic of above-mentioned WEB access requests consumption and above-mentioned handling result disappearsThe data traffic of consumption, the data traffic of above-mentioned WEB access requests consumption and the data traffic of above-mentioned handling result consumption are by above-mentionedAgency service end determines;Flow updating unit is configured to the data traffic consumed based on above-mentioned WEB access requests and above-mentioned placeThe data traffic for managing result consumption, updates the data traffic information of above-mentioned client.In the realization method, the use of the present embodimentThe data traffic of client consumption can be determined by agency service end in the WEB access mechanisms of client, to improve visitorThe accuracy of family end data flow information.
In some optional realization methods of the present embodiment, above-mentioned handling result is by above-mentioned agency service end group in upperState the generation of WEB access requests.Since above-mentioned client carries out WEB access via above-mentioned agency service end, above-mentioned agencyServer can also be directly based upon above-mentioned WEB access requests and generate handling result, be then returned to above-mentioned client.For example,Carrying out mock tests to service end data, (mock tests refer to during the test, being not easy to construct or not allowing for certainThe object easily obtained creates the test method so as to test with a virtual object) scene in, can be by above-mentioned agencyServer-side simulates real service end and generates the above-mentioned client of handling result return, without handling above-mentioned WEB by real service endAccess request and return handling result improve testing efficiency so as to reduce the difficulty of service end data mock tests.
In some optional realization methods of the present embodiment, which further includes log unit.Wherein, log unit is matchedIt sets for data to be recorded in the data traffic of domain-name information, the data traffic of WEB access requests consumption and handling result consumptionIn traffic log.In the realization method, data traffic daily record can be based on and carry out subsequent analysis (for example, creation data flowReport), it is convenient for user's reasonable employment data traffic.For example, for the application program installed in above-mentioned client, different applicationsWhen program carries out WEB access, the domain-name information of request is typically different, can be with by for statistical analysis to data traffic logObtain the data traffic information of each application program consumption, and then carry out traffic management, for example, limitation data traffic consume it is highApplication program.
The WEB access mechanisms for client that above-described embodiment of the application provides, pass through preferred dns server informationBe configured to the routing end of domain name mapping end IP address, domain-name information is resolved to the domain name mapping end of agency service end IP address withAnd receive WEB access requests and return to the agency service end of handling result, it realizes client and carries out WEB via agency service endIt accesses, so as to be carried out to the WEB access requests of client in the case where FTP client FTP permission need not be obtainedMonitoring and management, and do not limited by the procotol of WEB access requests.For example, it is possible to monitor with self-defined network protocolThe WEB access requests and handling result being transmitted.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the electronic equipment for realizing the embodiment of the present applicationStructural schematic diagram.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use modelShroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to alwaysLine 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathodeThe output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 608 including hard disk etc.;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as becauseThe network of spy's net executes communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such asDisk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 610, as needed in order to be read from thereonComputer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart descriptionSoftware program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable mediumOn computer program, which includes the program code for method shown in execution flow chart.In such realityIt applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processesAbove-mentioned function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meterCalculation machine readable storage medium storing program for executing either the two arbitrarily combines.Computer readable storage medium for example can be --- but notBe limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.MeterThe more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, justIt takes formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type and may be programmed read-only storageDevice (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,Or above-mentioned any appropriate combination.In this application, can be any include computer readable storage medium or storage journeyThe tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at thisIn application, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated,Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimitedIn electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer canAny computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used forBy instruction execution system, device either device use or program in connection.Include on computer-readable mediumProgram code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentionedAny appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereofMachine program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, further include conventional procedural programming language-such as " C " language or similar programming language.Program code canFully to execute on the user computer, partly execute, executed as an independent software package on the user computer,Part executes or executes on a remote computer or server completely on the remote computer on the user computer for part.In situations involving remote computers, remote computer can pass through the network of any kind --- including LAN (LAN)Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet serviceProvider is connected by internet).
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more usesThe executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in boxThe function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actuallyIt can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to noteMeaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holdingThe dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instructionCombination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hardThe mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packetInclude request reception unit, DNS acquiring units, domain name resolution unit, request transmitting unit and result receiving unit.Wherein, theseThe title of unit does not constitute the restriction to the unit itself under certain conditions, for example, request reception unit can also be retouchedIt states as " unit for receiving WEB access requests ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can beIncluded in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculatingMachine readable medium carries one or more program, when said one or multiple programs are executed by the device so that shouldDevice:WEB access requests are received, WEB access requests include domain-name information;The system dns server information at routing end is obtained,In, the preferred dns server information for routeing end is configured as the IP address at domain name mapping end;Domain-name information is sent to domain name solutionEnd is analysed, domain name mapping end is used to the IP address at agency service end returning to client;WEB access requests are sent to agency serviceEnd;The handling result to WEB access requests is received from agency service end.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the artMember should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristicScheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent featureOther technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed hereinCan technical characteristic replaced mutually and the technical solution that is formed.