CN104850571A - Method and device for managing fixed website access - Google Patents

Method and device for managing fixed website access Download PDF

Info

Publication number
CN104850571A
CN104850571A CN201410457989.9A CN201410457989A CN104850571A CN 104850571 A CN104850571 A CN 104850571A CN 201410457989 A CN201410457989 A CN 201410457989A CN 104850571 A CN104850571 A CN 104850571A
Authority
CN
China
Prior art keywords
server
browser
web server
network
particular web
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
Application number
CN201410457989.9A
Other languages
Chinese (zh)
Other versions
CN104850571B (en
Inventor
王琮玮
刘家宇
陈干越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Synology Inc
Original Assignee
Synology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Synology Inc filed Critical Synology Inc
Priority to CN201410457989.9A priority Critical patent/CN104850571B/en
Publication of CN104850571A publication Critical patent/CN104850571A/en
Application granted granted Critical
Publication of CN104850571B publication Critical patent/CN104850571B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and a device for managing fixed website access, wherein the method comprises the following steps: receiving a website address request from a browser executed on another electronic device, wherein the website address request includes a fixed website address, and the fixed website address is used for accessing a specific webpage on a specific webpage server; transmitting request information representing the website request to a control server, wherein the control server stores registration information of each of at least one web server, and the at least one web server includes the specific web server; receiving response information corresponding to the request information from the control server; and controlling the browser to perform a test operation according to the registration information of the specific web server to selectively control the web access of the browser. The invention improves the efficiency of the web page access management device, and provides users with efficient web page access and stable fixed website access service.

Description

Be used for managing the method and apparatus of fixing network address access
Technical field
The present invention relates to and utilize fixing network address (Static Uniform Resource Locator, Static URL; " URL " also can be described as uniform resource locator, or is called URL(uniform resource locator)) access the control of (Access) a large amount of inside web page server of dispersion, be espespecially used for managing the method and apparatus of fixing network address access.
Background technology
For user, carrying out webpage access with fixing network address is quite easily.In addition, under typical situation, fixing network address is easier to appear in the search result of search engine, and this is conducive to the exposure rate of webpage.Therefore, the service how a group being possessed the webpage of on-fixed network address is provided by fixing network address gives user, is very important subject under discussion, and wherein the quantity of this web pages is usually quite large, and may be ten hundreds of.
Some schemes are proposed in the middle of correlation technique.According to the proposal of traditional scheme, one group of backward channel (Reverse Tunnel) can be established in advance for each web page server, and different fictitious host computers (Virtual Host) is corresponded to different backward channels respectively, no matter make user in where, arbitrary web page server that Reverse Proxy (Reverse Proxy Server) access is positioned at fire wall (Firewall) can be passed through.So, the setting of fire wall can not hinder user to the access of these web page servers.But such as some spinoffs of some problem just create.Such as: when user is positioned in the middle of identical inner net (Intranet) with described web page server, still need to be accessed by described Reverse Proxy, this can cause access speed slack-off, and increases the meaningless burden of described Reverse Proxy.Again such as: to use at any time for user because described backward channel needs to be prepared in advance, time the quantity of server idle in the middle of described Reverse Proxy is many, many system resource can be wasted.
According to the proposal of another traditional scheme, user also can directly to take the information of one group of backward channel with the system of record server info, and directly uses described group of backward channel to access a corresponding web pages.But such as some spinoffs of some problem just create.Such as: the health status of described backward channel cannot be detected.Especially, when some backward channel lost efficacy time, the framework implemented according to another traditional scheme described cannot be taked corresponding measure to remedy, and this can reduce the smooth degree in user's use.Again such as: when described group of backward channel is not 80 ports (Port) or 443 port being based upon standard, user may cannot access described web pages because of the restriction of fire wall.
As known from the above, described traditional scheme cannot provide stable fixing network address access service to give user under the situation of being free from side effects.So, need novel method to promote the usefulness of webpage access management device.
Summary of the invention
Therefore, an object of the present invention is to provide for managing fixing network address (Static UniformResource Locator, Static URL) the access method and apparatus of (Access) and counter program product, to solve the problem.
Another object of the present invention is to openly to be used for manage method and apparatus and the counter program product of the access of fixing network address, give user to provide stable fixing network address access service under the situation of being free from side effects.
Another object of the present invention is to openly to be used for manage method and apparatus and the counter program product of the access of fixing network address, to promote the usefulness of webpage access management device.
Openly be used for managing the method for fixing network address access at least one preferred embodiment of the present invention, described method is applied to an electronic installation, described method includes the following step: the browser (Browser) being certainly executed in another electronic installation receives website address request (URL Request), wherein said website address request comprises fixing network address, and described fixing network address is used to access the particular webpage (Web Page) in particular web server (Web Server); Transmission represents request (Request) information of described website address request to Control Server, wherein said Control Server stores registration (Registered) information of each web page server at least one web page server, and described at least one web page server comprises described particular web server; Response (Response) information of corresponding described request information is received from described Control Server, wherein said Control Server produces described echo message according to described request information, and described echo message points out the register information of described particular web server; And by described browser is led (Redirect) again to test sheets, control described browser and carry out test running to produce test result, optionally to allow that described browser directly or indirectly accesses described particular webpage according to the described register information of described particular web server.Such as: described test sheets can be Java script (JavaScript) test sheets.Again such as: described test sheets can be quick flashing (Flash) test sheets.
The present invention is while open said method, and be also openly used for managing the device of fixing network address access accordingly, described device comprises electronic installation at least partially, and described device includes: network control module; And treatment circuit, be coupled to described network control module, wherein said treatment circuit comprises at least one processor.Described network control module is used to provide services on the Internet and gives described device, and described treatment circuit is used to control the running of described electronic installation to carry out a kind of method based on described network service, wherein said method includes the following step: the browser being certainly executed in another electronic installation receives website address request, wherein said website address request comprises fixing network address, and described fixing network address is used to access the particular webpage in particular web server; Transmission represents the solicited message of described website address request to Control Server, and wherein said Control Server stores the register information of each web page server at least one web page server, and described at least one web page server comprises described particular web server; Receive the echo message of corresponding described request information from described Control Server, wherein said Control Server produces described echo message according to described request information, and described echo message points out the register information of described particular web server; And by described browser is directed to test sheets again, control described browser and carry out test running to produce test result, optionally to allow that described browser directly or indirectly accesses described particular webpage according to the described register information of described particular web server.Such as: described test sheets can be Java script test sheets.Again such as: described test sheets can be quick flashing test sheets.
The present invention is while open said method, and also disclose counter program product accordingly, wherein said counter program product comprises program code and carries out said method to indicate at least one processor.
One of benefit of the present invention is, compared to prior art, method of the present invention, device, can promote the usefulness of webpage access management device with counter program product.Such as: when the service needing a group possess the webpage of on-fixed network address by fixing network address provide give user time, the entry network site server (Portal Server) implemented according to the present invention can maintain high-quality fixing network address access service.Again such as: when needing to change a certain web page server in above-mentioned at least one web page server (such as one or more web page server), although the quantity of described web pages may quite huge (especially, may be ten hundreds of), as long as network manager controls this web page server and automatically re-registers up-to-date register information to described control servomechanism, can continue easily to maintain high-quality fixing network address access service.
In addition, method of the present invention, device, with counter program product can under the situation of being free from side effects, provide efficient webpage to access.Such as: when user is positioned in the middle of identical inner net (Intranet) with described web page server, described particular webpage that described browser can directly access (or being linked to); Otherwise, by the backward channel utilizing described Control Server to be set up by above-mentioned at least one web page server, device of the present invention such as described entry network site server allows that described browser accesses described particular webpage indirectly, wherein relate to the foundation of described backward channel, described Control Server can, after the notice receiving described entry network site server, go to notify that above-mentioned at least one web page server sets up described backward channel in order to above-mentioned at least one web page server.Especially, no matter described browser directly or indirectly accesses described particular webpage, the all available same fixing network address of user, and any part in described fixing network address need not be changed, the partial character string (Partial String) in such as network address.
In addition, method of the present invention, device, stable fixing network address access service can be provided under the situation of being free from side effects to give user with counter program product.Especially, attention interruption is easy to when network shakiness; Under this situation, device of the present invention such as described entry network site server once detect attention interruption, can recover online immediately and automatically, during wherein rebuilding described backward channel, delay only felt to user, but not feels that described particular webpage hangs (Hang) thereat as described browser overdue and unredeemable pawn.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the device being used for managing fixing network address (Static Uniform ResourceLocator, Static URL) access (Access) according to the first embodiment of the present invention.
Fig. 2 is the process flow diagram of the method being used for managing the access of fixing network address according to the second embodiment of the present invention.
Fig. 3 is the control program involved in an embodiment of the method shown in Fig. 2.
Fig. 4 is the part running of the workflow involved in an embodiment of the control program shown in Fig. 3.
Fig. 5 be embodiment illustrated in fig. 4 in described workflow another part running.
Wherein, description of reference numerals is as follows:
100 devices
110 treatment circuits
110B program code
120 network control modules
200 methods
210 ~ 240,410 ~ 450 steps
310 browsers
320 entry network site servers
330 Control Servers
340 web page servers
400 workflows
Embodiment
Fig. 1 be according to one first embodiment of the present invention be used for manage fixing network address (Static UniformResource Locator, Static URL) schematic diagram of device 100 of access (Access), wherein device 100 can comprise (such as part or all) at least partially of an electronic installation.Such as: device 100 can be the Circuits System in described electronic installation.Again such as: device 100 can be the entirety of described electronic installation.In the present embodiment, described electronic installation can comprise at least one server (such as one or more server), such as entry network site server (Portal Server).Especially, described electronic installation can be described entry network site server.This is not limitation of the present invention just for illustrative purposes.According to some change case of the present embodiment, except above-mentioned entry network site server, described electronic installation also can comprise Control Server (Control Server).
As shown in Figure 1, device 100 comprises treatment circuit 110 and network control module 120, and treatment circuit 110 and network control module 120 are coupled to each other.According to the present embodiment, network control module 120 is used to provide services on the Internet to device 100, to maintain the running of described electronic installation.Such as: network control module 120 can comprise one or more network interface circuit.In addition, treatment circuit 110 can comprise at least one processor with executive routine code 110B, and the treatment circuit 110 of executive routine code 110B is used to the running controlling described electronic installation, to be fixed network address access management based on described network service.Especially, treatment circuit 110 comprises fixing network address access management module (not being shown in Fig. 1), is used for managing the access of fixing network address.Such as: described fixing network address access management module can be at least one program module in program code 110B, and such as at least one software module, wherein program code 110B can represent the program being executed in above-mentioned at least one server.This is not limitation of the present invention just for illustrative purposes.According to some change case of the present embodiment, program code 110B can be embedded in treatment circuit 110, and described fixing network address access management module can be hardware circuit, (such as part or all) at least partially of such as treatment circuit 110.
Fig. 2 is the process flow diagram of the method 200 being used for managing the access of fixing network address according to one second embodiment of the present invention.Described method can be applicable to the device 100 shown in Fig. 1, especially above-mentioned treatment circuit 110, is such as performed the treatment circuit 110 of said procedure code 110B by above-mentioned at least one processor.Such as: by utilizing counter program product, such as store the disc of program code 110B (especially it installs version), program code 110B can be installed on device 100 by the managerial personnel of described stocking system, and wherein said counter program product comprises program code 110B (especially it installs version) to indicate above-mentioned at least one processor to carry out the method 200 shown in Fig. 2.So treatment circuit 110 (especially described fixing network address access management module) can control the running of described electronic installation, to carry out the method 200 shown in Fig. 2 based on described network service.This is not limitation of the present invention just for illustrative purposes.Described method is described as follows:
In step 210, by network control module 120, treatment circuit 110 receives website address request (URL Request) from the browser (Browser) being executed in another electronic installation, wherein said website address request comprises fixing network address, and described fixing network address is used to access the particular webpage (Web Page) in particular web server (Web Server).
In step 220, by network control module 120, treatment circuit 110 transmission represents request (Request) information of described website address request to Control Server, wherein said Control Server stores registration (Registered) information of each web page server at least one web page server (such as: one or more web page server), and described at least one web page server comprises described particular web server.Such as: described Control Server can be the server be arranged at outside described electronic installation.This is not limitation of the present invention just for illustrative purposes.According to some change case of the present embodiment, described Control Server can be the server be arranged within described electronic installation, such as the Control Server described in above-mentioned change case.
In step 230, by network control module 120, treatment circuit 110 receives response (Response) information of corresponding described request information from described Control Server, wherein said Control Server produces described echo message according to described request information, and wherein said echo message points out the register information of described particular web server.Such as: the described register information of described particular web server is registered to described Control Server by described particular web server.
In a particular embodiment, the described register information of described particular web server comprises the identification (Identification of described particular web server, ID) information, wherein said identification information can be only one (Unique) identification information of described particular web server, distinguishes to some extent with other device in activation and network.In addition, the described register information of described particular web server can also comprise the information relating to in-house network (Intranet).Such as: the described register information of described particular web server also can comprise at least one LAN (Local Area Network, LAN) Internet Protocol address (Internet Protocol Address, hereinafter referred to as " IP address ").Again such as: the described register information of described particular web server also can comprise at least one wide area network (Wide Area Network, WAN) IP address.Please note, after described particular web server is connected to network, described particular web server can automatically upgrade described particular web server described register information (such as: described identification information, above-mentioned at least one LAN IP address and/or, above-mentioned at least one wide area network IP address), especially the what be new of described register information is sent to described Control Server, to upgrade the described register information in described Control Server, make the described register information in described Control Server remain its up-to-date content always.Like this, when described entry network site server wants the described register information of described particular web server to described Control Server, described entry network site server can obtain the what be new of described register information.
In step 240, by network control module 120, treatment circuit 110 is by again leading (Redirect) to a test sheets such as Java script (JavaScript) test sheets by described browser, control described browser and carry out a test running to produce a test result, optionally to allow that described browser directly or indirectly accesses described particular webpage according to the described register information of described particular web server.Such as: if described test result points out that described particular web server and another electronic installation described are positioned at same LAN or are positioned at same wide area network, then treatment circuit 110 allows that described browser directly accesses described particular webpage; Otherwise treatment circuit 110 allows that described browser accesses described particular webpage indirectly.Especially, when described test result point out described particular web server and another electronic installation described be not positioned at same LAN and non-be positioned at same wide area network time, the described network service that control module 120 Network Based provides, treatment circuit 110 utilizes described Control Server to set up a backward channel (Reverse Tunnel) by above-mentioned at least one web page server, to allow that described browser accesses described particular webpage indirectly.Such as: Control Server 330 can, after the notice receiving entry network site server 320, go notice web page server 340 to set up described backward channel to utilize web page server 340.
In implementation, described backward channel can utilize virtual private networks (Virtual Private Network, VPN) technology to implement.This is not limitation of the present invention just for illustrative purposes.Relate to the implementation detail of backward channel known by the same trade, therefore do not repeat at this.
Note that in the present embodiment, described Java script test sheets can be an example of described test sheets.This is not limitation of the present invention just for illustrative purposes.According to some change case of the present embodiment, described test sheets can be quick flashing (Flash) test sheets, that is, utilizes the individual test sheets that quick flashing grammer is write as.
According to the present embodiment, the described network service that control module 120 Network Based provides, treatment circuit 110 by described browser settings network biscuit (Cookie) in another electronic installation described, to record described test result.When (by network control module 120) comprises another website address request of described fixing network address from described browser reception, treatment circuit 110 can according to transmitting the described test result in the described network biscuit of described browser, skip over the described browser of instruction and be again directed to described test sheets such as described Java script test sheets, to avoid repeatedly carrying out described test running for described fixing network address.So for any website address request comprising described fixing network address, described test running can only be carried out once, to save the time of user.
Fig. 3 is the control program involved in an embodiment of the method 200 shown in Fig. 2.As shown in Figure 3, in described control program, there is various rolls, such as one group of browser 310, entry network site server 320, Control Server 330 and web pages server 340.In the present embodiment, described group of browser 310 can comprise the browser described in step 210.Such as: the user interface of described group of browser 310 can be embodied as the form of browser window or the form of browser paging, and wherein said group of browser 310 can be one or more user and opened.This is not limitation of the present invention just for illustrative purposes.In addition, entry network site server 320 can be an example of described entry network site server in (or its change case) embodiment illustrated in fig. 1, and Control Server 330 can be embodiment illustrated in fig. 2 in an example of described Control Server.In addition, described web pages server 340 can be an example of above-mentioned at least one web page server, and wherein said web pages server 340 can comprise described particular web server.
Based on method 200 shown in Fig. 2, entry network site server 320 is by being again directed to described test sheets such as described Java script test sheets by a certain browser (browser such as described in step 210) in described group of browser 310, control this browser and carry out described test running to produce corresponding test result (test result such as described in step 240) according to the register information of a certain web page server (particular web server such as described in step 210) in described web pages server 340, optionally to allow that this browser directly or indirectly accesses the target web (particular webpage such as described in step 210) representated by a certain fixing network address.As shown in Figure 3, depict between described group of browser 310 and described web pages server 340 symbol "? ", to represent described test running.In addition, data routing between described group of browser 310 and described web pages server 340 illustrates with dotted line, and this dotted line represents: according to the test result (test result such as described in step 240) of described test running, between one in one in described group of browser 310 and described web pages server 340, the access of direct webpage or indirectly webpage access may be there is.
According to the present embodiment, Control Server 330 provides an enrolled for service to give described web pages server 340, to allow that described web pages server 340 is to register its respective register information.Note that the described register information of the arbitrary web page server (especially each web page server) in described web pages server 340 can comprise: the identification information of this web page server; And at least one LAN IP address and/or at least one wide area network IP address.In addition, Control Server 330 one of can retain between Control Server 330 and this web page server is online, and onlinely can set up by this web page server the backward channel leading to this web page server based on this.Such as: Control Server 330 can, after the notice receiving entry network site server 320, go to notify that this web page server sets up this backward channel to utilize this web page server.After setting up the backward channel leading to this web page server, Control Server 330 can will represent the position of this backward channel, and such as a dynamic web addresses (DynamicURL), informs entry network site server 320, uses for during needs.In addition, it is online that entry network site server 320 and Control Server 330 are dynamically set up between entry network site server 320 and Control Server 330, for the use of the running in described control program.
Please refer to Fig. 4 and Fig. 5.Fig. 4 is the part running of the workflow 400 involved in an embodiment of the control program shown in Fig. 3, and Fig. 5 be embodiment illustrated in fig. 4 in another part running of described workflow.
In step 410, when a certain browser (browser such as described in step 210) described in embodiment illustrated in fig. 3 transmits website address request, entry network site server 320 receives this website address request, and wherein this website address request comprises corresponding fixing network address.Such as: be under the situation of the website address request described in step 210 in this website address request, described target web is the particular webpage described in step 210, and the web page server of described target web (namely, web page server belonging to described target web) be the particular web server described in step 210, and the fixing network address of above-mentioned correspondence is the fixing network address described in step 210.
In step 420, after this website address request of reception, entry network site server 320 carries out the inspection of at least one network biscuit.Especially, entry network site server 320 checks whether to there is any network biscuit corresponding to this website address request.Such as: correspond to the network biscuit of this website address request if existed, entry network site server 320 check further whether have recorded in this network biscuit embodiment illustrated in fig. 3 described in test result.Again such as: under whether the existence of the network biscuit corresponding to this website address request can represent the situation of described test result, whether entry network site server 320 can exist according to the network biscuit corresponding to this website address request, directly judges whether described test result is pointed out: " web page server and another electronic installation described of described target web are positioned at same LAN or are positioned at same wide area network ".Again such as: under whether the existence of the network biscuit corresponding to this website address request can represent the situation of described test result, whether entry network site server 320 can exist according to corresponding to the network biscuit of this website address request, directly judges whether described test result is pointed out: " web page server of described target web and another electronic installation described are not positioned at same LAN and non-be positioned at same wide area network ".This is not limitation of the present invention just for illustrative purposes.
In implementation, above-mentioned at least one network biscuit inspection can be simplified, to save the time of system resource and user.For the ease of understanding, suppose that this website address request is the website address request described in step 210, and described target web is the particular webpage described in step 210.Such as: under whether the existence of the network biscuit corresponding to this website address request can represent the situation of described test result, whether entry network site server 320 can exist according to corresponding to the network biscuit of this website address request, directly judges whether described test result is pointed out: " described particular web server and another electronic installation described are not positioned at same LAN and non-be positioned at same wide area network ".So, in step 420, when the network biscuit corresponding to this website address request exists (this represents described test result and points out in this example: " described particular web server and another electronic installation described are not positioned at same LAN and non-be positioned at same wide area network "), that is, the inspection of network biscuit is passed through, and enters step 440; Otherwise (this represents described test result and points out in this example: " described particular web server and another electronic installation described are positioned at same LAN or are positioned at same wide area network "), enters step 422.
In step 422, entry network site server 320 controls this browser (that is, the described browser in step 410) and is again directed to described Java script test sheets.
In step 423, entry network site server 320 asks the register information of the web page server of described target web to Control Server 330.Note that in the present embodiment, after the running performing step 422, enter step 423.This is not limitation of the present invention just for illustrative purposes.According to some change case of the present embodiment, step 422 can be exchanged with the order of step 423, that is, in these change case, after the running performing step 423, can enter step 422.In step 424, by utilizing described Java script test sheets, entry network site server 320 controls this browser and carries out described test running according to the described register information of this web page server, to produce corresponding test result.When test is by (this represents described test result and points out in this example: " electronic installation of this web page server and this browser of execution is positioned at same LAN or is positioned at same wide area network "), enter step 430; Otherwise (this represents described test result and points out in this example: " this web page server and perform the electronic installation of this browser be not positioned at same LAN and be non-ly positioned at same wide area network "), enters step 426.
For the ease of understanding, suppose that this website address request is the website address request described in step 210, and described target web is the particular webpage described in step 210.So, in step 424, test and point out by just representing described test result: " described particular web server and another electronic installation described are positioned at same LAN or are positioned at same wide area network "; Further, test is not pointed out by just representing described test result: " described particular web server and another electronic installation described are not positioned at same LAN and non-be positioned at same wide area network ".
In step 426, entry network site server 320 controls this browser and is again directed to network biscuit setting page (Cookie Setting Page), to set corresponding network biscuit.
In step 428, entry network site server 320 controls this browser and is again directed to network address originally, and the fixing network address of the correspondence namely described in step 410, makes the reception come back in step 410 of this browser operate firm completion status.Because the result of the running in step 428 is as reentered step 410, therefore be step 428 is illustrated into pointing to step 410 in Fig. 4.This is not limitation of the present invention just for illustrative purposes.According to a change case of the present embodiment, step 428 also can illustrate the arrow into pointing between step 410 and step 420, that is, after carry out step 428, reenters step 420.
In step 430, entry network site server 320 allows that this browser directly accesses described target web.Such as: this website address request described in step 410 is under the situation of the website address request described in step 210, described target web is the particular webpage described in step 210.
In step 440, entry network site server 320 utilizes Control Server 330 to set up a backward channel by above-mentioned at least one web page server, such as the described backward channel of the 2nd figure illustrated embodiment.Such as: Control Server 330 can, after the notice (such as: be loaded with the notice of described test result or represent the notice of described test result) receiving entry network site server 320, go notice web page server 340 to set up described backward channel to utilize web page server 340.
In step 441, entry network site server 320 connects described backward channel, especially by described fixing web address mapping (Map) to described dynamic web addresses.
In step 442, whether the running that entry network site server 320 inspection connects described backward channel is successful.Connecting backward channel success when detecting, entering step 450; Otherwise, enter step 444.
In step 444, entry network site server 320 judges connection failure (that is, connect the running of described backward channel and unsuccessful), and optionally carries out some running.Such as: entry network site server 320 can detect itself network state.Again such as: whether can to check between entry network site server 320 and Control Server 330 online interrupt for entry network site server 320, online to determine whether to attempt to recover this.Again such as: entry network site server 320 can move instruction to Control Server 330, to check whether the backward channel between the described web page server (such as: the particular web server described in step 210) belonging to Control Server 330 and described target web breaks, wherein when this backward channel breaks, entry network site server 320 can move instruction to Control Server 330, up-to-date backward channel (such as: re-establish described dynamic web addresses) between Control Server 330 and this web page server is re-established by this web page server to control Control Server 330, then, the backward channel (such as: described dynamic web addresses) that described fixing network address is videoed up-to-date by entry network site server 320 more again.This is not limitation of the present invention just for illustrative purposes.According to a change case of the present embodiment, after step 444, directly step 440 can be reentered.According to another change case of the present embodiment, the operating path pointing to step 444 from step 442 can make into directly to reenter step 440, and that is, step 444 can be ignored.
In step 450, this website address request described in step 410 is passed to the web page server of described target web by entry network site server 320 by the backward channel described in step 440, and obtained the web data of described target web by same backward channel, so that the web data of described target web is returned to this browser.So, by utilizing described backward channel, entry network site server 320 allows that this browser accesses described target web indirectly.Such as: this website address request described in step 410 is under the situation of the website address request described in step 210, described target web is the particular webpage described in step 210.
According to the present embodiment, circulation above Fig. 4 (namely comprise step 420, step 422 ..., step 428 circulation) operating path optionally omit by the network biscuit inspection in step 420.So for any website address request comprising same fixing network address (the fixing network address such as described in step 210), described test running can only be carried out once, to save the time of user.
In addition, described fixing network address can possess fixing network address type sample (URL Pattern), and wherein said network address type sample can comprise user and want the identification information of the web page server linked and user to want the webpage path accessed.Such as: described network address type sample can be:
http://SERVER_ID.domain/URL_PATH
Wherein symbol " SERVER_ID " represents the identification information of this web page server, symbol " domain " then represents the domain name (Domain Name) of entry network site server 320, and symbol " URL_PATH " representative of consumer wants the webpage path of access.
Note that network manager or the related personnel of entry network site server 320 can apply for domain name for entry network site server 320 in advance, make the domain name in the middle of described network address type sample permanent by entry network site server 320 is special.Therefore, any fixing network address comprising domain name all can lead entrance Website server 320.Based on method 200 shown in Fig. 2, when user utilizes this browser in step 410 (browser such as described in step 210) input to meet the fixing network address of described network address type sample, this browser just transmits corresponding website address request to entry network site server 320.So entry network site server 320 for the described fixing network address meeting described network address type sample, can operate according to workflow 400.
According to some change case of the present embodiment, in order to carry out described test running, entry network site server 320 can ask relevant information to Control Server 330, and the IP address of the identification information described in such as embodiment illustrated in fig. 3 and correspondence (such as: above-mentioned at least one LAN IP address; Again such as: above-mentioned at least one wide area network IP address).By described test sheets such as described Java script test sheets, that is, the test sheets utilizing Java script to be write as, above-mentioned relevant information can be placed on this browser described in step 410 by entry network site server 320, makes this browser perform this Java script.
Suppose that this website address request described in step 410 is the website address request described in step 210, and described target web is the particular webpage described in step 210, and the web page server of described target web is the particular web server described in step 210.Under this situation, with the described register information of described particular web server above this Java script.So described browser carries out described test running, to confirm whether described particular web server and another electronic installation described (described browser performs thereon) are positioned at same LAN or are positioned at same wide area network.
Such as: when described test result point out described particular web server and another electronic installation described be positioned at same LAN or be positioned at same wide area network time, entry network site server 320 just can control described browser and directly again be directed to described particular web server, to allow that described browser directly accesses described particular webpage.Again such as: when described test result point out described particular web server and another electronic installation described be not positioned at same LAN and non-be positioned at same wide area network time, the backward channel that entry network site server 320 just can utilize Control Server 330 to be set up by above-mentioned at least one web page server, access service is provided to give described browser, to allow that described browser accesses described particular webpage indirectly.In implementation, relate to the foundation of described backward channel, Control Server 330 can, after the notice receiving entry network site server 320, go notice web page server 340 to set up described backward channel to utilize web page server 340.So, by controlling web page server 340, Control Server 330 can set up described backward channel indirectly.
Note that described browser is not all apprised of above-mentioned backward channel at which side always.In this situation, entry network site server 320 automatically can pass on information to above-mentioned backward channel for described browser, makes information be transferred into described particular web server by above-mentioned backward channel.Especially, when request sent by described browser (such as: described browser retransfers the website address request described in step 210; Again such as: this request that described browser transmits can be loaded with the fixing network address of any webpage in described particular web server), this request automatically can be transferred to and set up appropriate above-mentioned backward channel by entry network site server 320, wherein above-mentioned backward channel is ready for, for the information transmission between Control Server 330 and described particular web server.
For the ease of understanding, described particular web server can be used as an example of the arbitrary web page server in described web pages server 340.Similarly, in embodiment illustrated in fig. 4 and change case, illustrate for these of described particular web server, also can be applicable to each web page server in described web pages server 340.In addition, why the test running related to described in step 240 is designed to carry out on described browser, further illustrates as follows.
First, described browser may be positioned at after fire wall, but entry network site server 320 can't be positioned at after same fire wall with described browser under typical situation.So when entry network site server 320 can get a certain web page server continuously, described browser in fact and may not be certain to get this web page server continuously.In addition, described browser may be positioned at inside same LAN with a certain web page server in described web pages server 340, but this web page server can't be positioned at inside same LAN with entry network site server 320 under typical situation.Under this situation, if described browser is attempted connecting to LAN IP address, then described browser can be got continuously, but entry network site server 320 may not be certain to get continuously.Therefore, described test running should be carried out on described browser, just can be more accurate.In addition, due to when carrying out described test running, the described register information acquired by described browser comprises the identification information of this web page server, therefore, method of the present invention, device, can guarantee the information security of user with counter program product.
In implementation, the subject under discussion of cross-domain (Cross-Domain) may be run into, this is because described entry network site server and this web page server network address separately can't be positioned at same net territory under typical situation, wherein, in order to ensure the information security of user, described browser may can not allow any cross-domain request.In order to overcome the obstacle of cross-domain, some implementation detail in this web page server (such as: the particular web server described in step 210) can adopt some technical schemes.Such as: the one in described technical scheme can be the whole pad of Java scripting object symbol (JavaScript Object Notation withPadding, JSON with Padding, can referred to as " JSONP "), wherein this web page server such as described particular web server can meet the specification of JSONP; Again such as: the another one in described technical scheme can be Hypertext Markup Language the 5th edition (Hyper-Text Markup Language 5, can referred to as " HTML5 ") standard in across source resource sharing (Cross-Origin Resource Sharing, hereinafter referred to as " CORS "), wherein this web page server such as described particular web server can meet the specification of CORS.
Generally speaking, the newer web page server of great majority can provide CORS to serve or function, also therefore can guarantee the information security of user.For the web page server that CORS cannot be provided to serve, described test running can all be carried out, to guarantee the information security of user at every turn.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (23)

1. be used for managing the method for fixing network address access, it is characterized in that, described method is applied to an electronic installation, and described method includes the following step:
Receive a website address request from the browser being executed in another electronic installation, wherein said website address request comprises a fixing network address, and described fixing network address is used to the particular webpage in access one particular web server;
Transmit solicited message to Control Server representing described website address request, wherein said Control Server stores the register information of each web page server at least one web page server, and described at least one web page server comprises described particular web server;
Receive the echo message of corresponding described request information from described Control Server, wherein said Control Server produces described echo message according to described request information, and described echo message points out the register information of described particular web server; And
By described browser is directed to a test sheets again, control described browser and carry out a test running to produce a test result, optionally to allow that described browser directly or indirectly accesses described particular webpage according to the described register information of described particular web server.
2. the method for claim 1, it is characterized in that, control described browser and carry out described test running according to the described register information of described particular web server and also comprise with the step of optionally allowing described browser and directly or indirectly accessing described particular webpage to produce described test result:
If described test result points out that described particular web server and another electronic installation described are positioned at same LAN or are positioned at same wide area network, then allow that described browser directly accesses described particular webpage; Otherwise, allow that described browser accesses described particular webpage indirectly.
3. method as claimed in claim 2, is characterized in that, also comprise:
When described test result point out described particular web server and another electronic installation described be not positioned at same LAN and non-be positioned at same wide area network time, described Control Server is utilized to set up a backward channel by described at least one web page server, to allow that described browser accesses described particular webpage indirectly.
4. the method for claim 1, is characterized in that, also comprises:
By described browser settings one network biscuit in another electronic installation described, to record described test result.
5. method as claimed in claim 4, is characterized in that, also comprise:
When comprising another website address request of described fixing network address from described browser reception, according to transmitting the described test result in the described network biscuit of described browser, skip over the described browser of instruction and be again directed to described test sheets, to avoid repeatedly carrying out described test running for described fixing network address.
6. the method for claim 1, is characterized in that, the described register information of described particular web server is registered to described Control Server by described particular web server.
7. method as claimed in claim 6, it is characterized in that, after described particular web server is connected to network, the what be new of described register information is sent to described Control Server by described particular web server, to upgrade the described register information in described Control Server.
8. the method for claim 1, is characterized in that, the described register information of described particular web server comprises the identification information of described particular web server.
9. method as claimed in claim 8, it is characterized in that, the described register information of described particular web server also comprises at least one LAN Internet Protocol address.
10. method as claimed in claim 8, it is characterized in that, the described register information of described particular web server also comprises at least one wide area network Internet Protocol address.
11. the method for claim 1, is characterized in that, described test sheets is a Java script test sheets or a quick flashing test sheets.
12. the method for claim 1, is characterized in that, described particular web server meets the specification of the whole pad of Java scripting object symbol or the specification across source resource sharing.
13. 1 kinds of devices being used for managing the access of fixing network address, it is characterized in that, described device comprises an electronic installation at least partially, also includes:
One network control module, is used to provide a network service to described device; And
One treatment circuit, is coupled to described network control module, and be used for controlling the running of described electronic installation to carry out a kind of method based on described network service, wherein said treatment circuit comprises at least one processor, and described method includes the following step:
Receive a website address request from the browser being executed in another electronic installation, wherein said website address request comprises a fixing network address, and described fixing network address is for accessing the particular webpage in a particular web server;
Transmit solicited message to Control Server representing described website address request, wherein said Control Server stores the register information of each web page server at least one web page server, and described at least one web page server comprises described particular web server;
Receive the echo message of corresponding described request information from described Control Server, wherein said Control Server produces described echo message according to described request information, and described echo message points out the register information of described particular web server; And
By described browser is directed to a test sheets again, control described browser and carry out a test running to produce a test result, optionally to allow that described browser directly or indirectly accesses described particular webpage according to the described register information of described particular web server.
14. devices as claimed in claim 13, it is characterized in that, control described browser and carry out described test running according to the described register information of described particular web server and also comprise with the step of optionally allowing described browser and directly or indirectly accessing described particular webpage to produce described test result:
If described test result points out that described particular web server and another electronic installation described are positioned at same LAN or are positioned at same wide area network, then allow that described browser directly accesses described particular webpage; Otherwise, allow that described browser accesses described particular webpage indirectly.
15. devices as claimed in claim 14, it is characterized in that, described method also comprises:
When described test result point out described particular web server and another electronic installation described be not positioned at same LAN and non-be positioned at same wide area network time, described Control Server is utilized to set up a backward channel by described at least one web page server, to allow that described browser accesses described particular webpage indirectly.
16. devices as claimed in claim 13, it is characterized in that, described method also comprises:
By described browser settings one network biscuit in another electronic installation described, to record described test result.
17. devices as claimed in claim 16, it is characterized in that, described method also comprises:
When comprising another website address request of described fixing network address from described browser reception, according to transmitting the described test result in the described network biscuit of described browser, skip over the described browser of instruction and be again directed to described test sheets, to avoid repeatedly carrying out described test running for described fixing network address.
18. devices as claimed in claim 13, is characterized in that, the described register information of described particular web server is registered to described Control Server by described particular web server.
19. devices as claimed in claim 18, it is characterized in that, after described particular web server is connected to network, the what be new transmission of described register information is given described Control Server by described particular web server, to upgrade the described register information in described Control Server.
20. devices as claimed in claim 13, it is characterized in that, the described register information of described particular web server comprises the identification information of described particular web server.
21. devices as claimed in claim 20, is characterized in that, the described register information of described particular web server also comprises at least one LAN Internet Protocol address.
22. devices as described in claim 20, it is characterized in that, the described register information of described particular web server also comprises at least one Wide Area Network Internet Protocol address.
23. devices as claimed in claim 13, is characterized in that, described electronic installation is an entry network site server.
CN201410457989.9A 2014-02-14 2014-09-10 Method and device for managing fixed website access Expired - Fee Related CN104850571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410457989.9A CN104850571B (en) 2014-02-14 2014-09-10 Method and device for managing fixed website access

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
TW103104960 2014-02-14
TW103104960 2014-02-14
CN201410102918 2014-03-19
CN2014101029187 2014-03-19
CN201410457989.9A CN104850571B (en) 2014-02-14 2014-09-10 Method and device for managing fixed website access

Publications (2)

Publication Number Publication Date
CN104850571A true CN104850571A (en) 2015-08-19
CN104850571B CN104850571B (en) 2019-04-02

Family

ID=53850217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410457989.9A Expired - Fee Related CN104850571B (en) 2014-02-14 2014-09-10 Method and device for managing fixed website access

Country Status (1)

Country Link
CN (1) CN104850571B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653641A (en) * 2015-12-25 2016-06-08 北京金山安全软件有限公司 Browser locking method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5706507A (en) * 1995-07-05 1998-01-06 International Business Machines Corporation System and method for controlling access to data located on a content server
WO2001033371A1 (en) * 1999-11-05 2001-05-10 Surfmonkey.Com, Inc. System and method of filtering adult content on the internet
CN102724187A (en) * 2012-06-06 2012-10-10 奇智软件(北京)有限公司 Method and device for safety detection of universal resource locators
CN102752267A (en) * 2011-04-20 2012-10-24 阿里巴巴集团控股有限公司 Method and device for providing website information
CN102932356A (en) * 2012-11-07 2013-02-13 北京奇虎科技有限公司 Malicious website intercepting method and device in multi-core browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5706507A (en) * 1995-07-05 1998-01-06 International Business Machines Corporation System and method for controlling access to data located on a content server
WO2001033371A1 (en) * 1999-11-05 2001-05-10 Surfmonkey.Com, Inc. System and method of filtering adult content on the internet
CN102752267A (en) * 2011-04-20 2012-10-24 阿里巴巴集团控股有限公司 Method and device for providing website information
CN102724187A (en) * 2012-06-06 2012-10-10 奇智软件(北京)有限公司 Method and device for safety detection of universal resource locators
CN102932356A (en) * 2012-11-07 2013-02-13 北京奇虎科技有限公司 Malicious website intercepting method and device in multi-core browser

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653641A (en) * 2015-12-25 2016-06-08 北京金山安全软件有限公司 Browser locking method and device
CN105653641B (en) * 2015-12-25 2019-04-12 珠海豹趣科技有限公司 A kind of browser locking means and device

Also Published As

Publication number Publication date
CN104850571B (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN104767649B (en) Dispose the method and device of bare metal server
US8090763B2 (en) Method and apparatus for cross-domain communication using designated response processing page
CN101946493B (en) Method and system for providing connectivity between clients connected to the internet
CN104584011B (en) Method and system for being inserted into the secure network of WEB content and WEB service
CN102761554B (en) Method, device and system for pushing information to client
CN104618435B (en) Realize method and the long-distance desktop management system of remote desktop
CN107463453B (en) Method, device, equipment and storage medium for communication between different applications of same terminal
EP2727281B1 (en) System and method for tracking network traffic of users in a research panel
CN110489192B (en) Remote communication method and device and electronic equipment
CN103873491B (en) A kind of VPN secure browsers system and method to set up
CN104009880B (en) Web test methods, proxy server and Web test devices
WO2020024397A1 (en) Page access processing method, apparatus, computer device and storage medium
CN103618773B (en) Display method, device and system for thermodynamic diagrams
CN103902534B (en) A kind of method and apparatus of web page program triggering local operation
CN101686245B (en) Method and system for isolating hypertext transfer protocol session
CN104040538A (en) Internet application interaction method, device and system
CN102307220A (en) Cross-domain webpage information interaction method
KR102017038B1 (en) An access control system for web applications
CN102761450A (en) System, method and device for website analysis
US20130117459A1 (en) System and method of implementing aggregated virtual private network (vpn) settings through a simplified graphical user interface (gui)
CN104834588A (en) Permanent residence cross site script vulnerability detection method and apparatus
US10003630B2 (en) Method, apparatus and computer program product for managing static uniform resource locator access
US20130226984A1 (en) Method and apparatus of providing optimized web browser communications
CN103634338B (en) Method for modifying primary domain name of webpage online, data processing device and system
CN112039888B (en) Domain name access control access method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190402

Termination date: 20190910

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