WO2015184799A1 - 一种访问网络的方法及网络设备、管理服务器 - Google Patents

一种访问网络的方法及网络设备、管理服务器 Download PDF

Info

Publication number
WO2015184799A1
WO2015184799A1 PCT/CN2015/070285 CN2015070285W WO2015184799A1 WO 2015184799 A1 WO2015184799 A1 WO 2015184799A1 CN 2015070285 W CN2015070285 W CN 2015070285W WO 2015184799 A1 WO2015184799 A1 WO 2015184799A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
domain name
terminal device
webpage
target website
Prior art date
Application number
PCT/CN2015/070285
Other languages
English (en)
French (fr)
Inventor
胡汉强
Original Assignee
胡汉强
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 胡汉强 filed Critical 胡汉强
Priority to CN201580000001.9A priority Critical patent/CN104509066B/zh
Publication of WO2015184799A1 publication Critical patent/WO2015184799A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present invention relates to the field of network technologies, and in particular, to a method for accessing a network, a network device, and a management server.
  • the Internet With the development of the Internet, more and more information is provided on the Internet, and more and more services are provided. People are more and more interested in obtaining information or services through the Internet. When users access the Internet, they need to connect the terminal device to the Internet.
  • the common method for terminal devices to access the Internet is to connect the terminal device to the router and then connect to the Internet through a router. In short, the terminal device and the Internet All information exchanged between the two needs to be forwarded by the router.
  • a router that serves as a bridge between a terminal device and the Internet provides only a data packet forwarding function or a routing function, and has a single function.
  • the technical problem to be solved by the present invention is to provide a method for accessing a network, a network device network device, and a management server, which are capable of managing data packets exchanged between the terminal device and the network.
  • a technical solution adopted by the present invention is to provide a method for accessing a network, which includes receiving a domain name query request message sent by a terminal device, where the domain name query request message carries the terminal device The domain name of the target website is accessed; the domain name query request message is forwarded to the domain name system DNS server; and the domain name query success response message is returned by the DNS server according to the domain name query request message, wherein the domain name query is performed.
  • the successful response message carries the IP address corresponding to the domain name of the target website; the IP address corresponding to the domain name of the target website carried in the domain name query success response message is modified to the IP address of the management server; After the domain name query success response message is returned to the terminal device, so that the terminal device sends a webpage request message to the target website, the destination IP address carried in the webpage request message is the management server. IP address.
  • the webpage request includes a hypertext transfer protocol HTTP request message, a hypertext transfer security protocol HTTPS request message, or a transmission control protocol application layer protocol SPDY request message.
  • another technical solution adopted by the present invention is to provide a method for accessing a network, including: receiving a data packet sent by a terminal device; and determining whether the data packet is a target device to the target device a webpage request message sent by the website for requesting webpage content; if the datagram is a webpage request packet, the destination IP address in the datagram is modified to an IP address of the management server; Forwarding, by the server, the modified data packet, so that the management server requests the webpage content from the target website according to the URL address in the modified data packet, and returns the request to the terminal device Get the content of the webpage.
  • another technical solution adopted by the present invention is to provide a method for accessing a network, including receiving a webpage request packet, wherein the webpage request packet includes a destination IP address, a source IP address, and the terminal device.
  • the request packet Querying the request packet to request the IP address of the target website; receiving the domain name query success response message returned by the DNS server, wherein the domain name query success response message carries the IP address corresponding to the domain name of the target website Modifying the destination IP address in the webpage request packet to the IP address of the target website, modifying the source IP address in the webpage request packet to the IP address of the management server, and forwarding the IP address to the target website
  • the modified webpage request message ; receiving the webpage request response returned by the target website according to the modified webpage request message Text; the web page request reply packet destination IP address is the IP address to modify the terminal device, the terminal device and forwarding the page request response message.
  • the method further includes: acquiring the content accessed by the terminal device according to the webpage request message or/and the webpage request response message; and analyzing the used terminal device according to the content accessed by the terminal device The behavior habits of the user and push the advertisement to the terminal device according to the behavior habit.
  • the first sending module is configured to receive a domain name query request message sent by the terminal device, where the domain name query request message carries a domain name of the target website accessed by the terminal device, and a first sending module is configured to: Forwarding the domain name query request message to the DNS server; the second receiving module is configured to receive the domain name query success response message returned by the DNS server according to the domain name query request message, where the domain name query successfully responds
  • the packet carries the IP address corresponding to the domain name of the target website;
  • the modifying module is configured to modify the IP address corresponding to the domain name of the target website carried in the domain name query success response message to the IP address of the management server; a second sending module, configured to return the modified domain name query success response message to the terminal device, so that when the terminal device sends a webpage request to the target website, the destination carried in the webpage request
  • the IP address is the IP address of the management server.
  • the webpage request includes an HTTP request, an HTTPS request, or an SPDY request.
  • a network device including a receiving module, configured to receive a data packet sent by the terminal device, and a determining module, configured to determine whether the data packet is And a modifying module, configured to: when the determining module determines that the data packet is a webpage request packet, the destination IP address in the data packet is sent by the terminal device to the target website The address is modified to the IP address of the management server, and the sending module is configured to forward the modified data packet to the management server, so that the management server sends the modified data packet according to the URL address in the modified data packet.
  • the target website requests webpage content, and returns the requested webpage content to the terminal device.
  • a technical solution adopted by the present invention is to provide a management server, including a first receiving module, configured to receive a webpage request packet, where the webpage request packet includes a destination IP address and a source IP address.
  • the DNS server sends a domain name query request message to request an IP address corresponding to the domain name of the target website.
  • the second receiving module is configured to receive the domain name query success response message returned by the DNS server according to the domain name query request message, where The domain name query success response message carries an IP address corresponding to the domain name of the target website; the first modification sending module, The destination IP address in the webpage request packet is modified to be an IP address of the target website, and the source IP address in the webpage request packet is modified to be an IP address of the management server, and is forwarded to the target website.
  • the modified webpage request message; the third receiving module is configured to receive the webpage request response message returned by the target website according to the modified webpage request message, wherein the webpage request response message carries the webpage content
  • the second modification sending module is configured to modify the destination IP address in the webpage request response message to the IP address of the terminal device, and forward the webpage request response message to the terminal device.
  • the management server further includes: an obtaining module, configured to acquire content accessed by the terminal device according to the webpage request message and the webpage request response message; and analyze the push module, configured to be accessed according to the terminal device Content, analyzing the behavior habits of the user who uses the terminal device, and pushing the advertisement to the terminal device according to the behavior habit.
  • an obtaining module configured to acquire content accessed by the terminal device according to the webpage request message and the webpage request response message
  • analyze the push module configured to be accessed according to the terminal device Content, analyzing the behavior habits of the user who uses the terminal device, and pushing the advertisement to the terminal device according to the behavior habit.
  • the network device of the present invention receives the domain name of the target website carried in the domain name query success response message when receiving the domain name query success response message from the DNS server to the terminal device.
  • the corresponding IP address is modified to the IP address of the management server, or when the terminal device sends a webpage request message to the target website, the destination IP address in the webpage request packet is modified to the IP address of the management server, so that the terminal device is enabled.
  • the data packets that interact with the target website need to be forwarded through the management server, and then the data packets of the interaction between the terminal device and the target website can be managed to generate a network portal platform.
  • FIG. 1 is a structural diagram of an embodiment of a visited network of the present invention
  • FIG. 2 is a structural diagram of a second embodiment of the network access system of the present invention.
  • FIG. 3 is a flow chart of a first method for accessing a network in an access network implementation manner of the present invention
  • FIG. 4 is a flow chart of a second method for accessing a network in an access network implementation manner of the present invention.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a network device according to the present invention.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a network device according to the present invention.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a network device according to the present invention.
  • FIG. 8 is a schematic structural diagram of a fourth embodiment of a network device according to the present invention.
  • FIG. 9 is a schematic structural diagram of a first embodiment of a management server according to the present invention.
  • FIG. 10 is a schematic structural diagram of a second embodiment of a management server according to the present invention.
  • FIG. 11 is a flowchart of a first embodiment of a method for accessing a network according to the present invention.
  • FIG. 12 is a flow chart of a second embodiment of a method for accessing a network according to the present invention.
  • FIG. 13 is a flow chart of a third embodiment of a method of accessing a network of the present invention.
  • the network access system 10 includes a terminal device 101, a network device 102, a DNS server 103, a management server 104, and a target website 105.
  • the terminal device 101 is connected to the network through the network device 102.
  • the network device 102 may be a wired router, or may be a wireless router, such as a WIFI router; or the network device 102 is a wired access device, such as The DSL DSLAM device, the fiber access device, and the like, the network device 102 can also be a wireless access device, such as a wireless base station; further, as shown in FIG. 2, the network device can also be a SDN network (Software Defined Network).
  • the control plane device 112, the SDN network refers to a network in which control and data are separated, and the control of messages in the SDN network is controlled by the control plane device 112.
  • the terminal device 101 accesses the target website 105 in the form of a domain name
  • the domain name of the target website 105 of www.XX.com is input on the browser of the terminal device 101
  • the domain name needs to be first resolved into an IP address
  • the DNS server 103 sends a domain name query request message, wherein the domain name query request message first arrives at the network device 102, and the network device 102 receives the domain name query request message sent by the terminal device 101, wherein the domain name query request message carries the terminal device Visit the domain name of the target website 105.
  • the network device 102 forwards the domain name query request message to the DNS server 103.
  • the DNS server 103 After receiving the domain name query request message, the DNS server 103 searches for the IP address corresponding to the domain name of the target website 105 according to the domain name query request message, and after searching the IP address corresponding to the domain name of the target website 105, The device 101 returns a domain name query success response message, wherein the domain name query success response message carries the IP address corresponding to the domain name of the target website 105.
  • the domain name query success response message passes through the network device 102 and then to the terminal device 101 in the process of transmitting to the terminal device 101.
  • the network device 102 modifies the IP address corresponding to the domain name of the website carried in the domain name query success response message to the IP address of the management server 104, and the network device 102 successfully queries the modified domain name.
  • the response message is returned to the terminal device 101.
  • the terminal device 101 receives the modified domain name query success response message, which is equivalent to, when the terminal device learns that the domain name resolution is successful, the terminal device 101 sends a webpage request message to the target network to request the content of the webpage, wherein the webpage request report
  • the destination IP address carried in the webpage request packet is the IP address of the management server 104, because the domain name address of the target website 105 is replaced with the IP address of the management server 104.
  • the web page request message includes an HTTP request message, an HTTPS request message, and a SPDY request message.
  • the webpage request message is transmitted to the management server 104, wherein the webpage request message further carries the IP address of the terminal device 101 and the terminal device 101.
  • the URL address of the target website 105 that is accessed.
  • the management server 104 can parse the webpage request packet, obtain the URL address of the target website, and the IP address of the terminal device 101, and send the domain name to the DNS server 103 according to the URL address carried in the webpage request message.
  • the request message is queried to request the IP address of the target website 105 corresponding to the URL address.
  • the management server 104 modifies the destination IP address in the webpage request message to the IP address of the target website 105, and the source IP address in the webpage request message is modified to the IP address of the management server. And forwarding the modified webpage request message to the target website 105.
  • the target website 105 After receiving the modified webpage request message, the target website 105 returns a webpage request response message according to the modified webpage request message, wherein the webpage request response message carries the webpage content.
  • the management server 104 modifies the destination IP address in the webpage request response message to the IP address of the terminal device 101, and forwards the webpage request response message to the terminal device 101. Since the destination IP address of the webpage request response message is the IP address of the terminal device 101, the webpage is requested. The response message transmission is sent to the terminal device 101.
  • the data packets that the terminal device 101 that accesses the network through the network device 102 and the network need to be forwarded by the management server 104, so that the management server 104 is the network portal of the terminal device 101, and the management server 104 can
  • the data packet exchanged between the terminal device 101 and the network is collected, the user data of the terminal device 101 is collected, and the accurate advertisement is pushed according to the user data, or the personalized recommendation function is provided, for example, the management server 104 according to the webpage.
  • the request message and the web page request response message acquire the content accessed by the terminal device 101, and analyze the behavior habits of the user using the terminal device according to the content accessed by the terminal device 101, and push the advertisement to the terminal device according to the behavior habit.
  • the network device 102 when receiving the domain name query success response message, does not modify the IP address of the target website in the domain name query success response message, and when receiving the web page request message from the terminal device 101, Then modify the destination IP address carried in the web page request packet.
  • the network device 102 receives the data packet sent by the terminal device 101, it determines whether the data packet is a webpage request packet sent by the terminal device to the target website 105 for requesting the content of the webpage.
  • the web page request message includes an HTTP request message, an HTTPS request message, or a SPDY request message.
  • the destination IP address in the data packet is modified to the IP address of the management server 104, and the modified data packet is forwarded to the management server 104, wherein the modified data packet is further The IP address of the terminal device 101 and the URL address of the target website visited are carried.
  • the management server 104 may parse the modified webpage request packet to obtain the IP address of the terminal device 101 and the URL address of the target website.
  • the management server 104 can acquire the IP address corresponding to the target website from the DNS server 103 according to the URL address.
  • the webpage content is requested from the target website according to the IP address of the target website, and the content of the webpage that is requested is returned to the terminal device 101.
  • the specific processing method of the management server 104 can be referred to the above description, and details are not described herein again.
  • the network device is a WIFI router
  • the WIFI router includes an IP packet routing module and a DNS success response frame IP address modification module
  • the management server is a WIFI Internet portal platform
  • the WIFI Internet portal platform includes a webpage request receiving and forwarding module and a webpage request response result. Receive and forward modules.
  • the IP packet routing module is responsible for routing the IP packet sent by the terminal user browser to the network and the IP packet sent by the network to the user terminal;
  • the DNS success response frame IP address modification module is responsible for identifying the DNS successful query response returned by the DNS server to the terminal device.
  • the frame is changed to the IP address of the IP address field corresponding to the domain name in the DNS successful query response frame to the IP address of the wifi Internet portal platform.
  • the webpage request receiving and forwarding module is responsible for receiving webpage request messages (such as Http request, Https request, SPDY request, etc.) sent by the terminal device, and forwarding the webpage request message to the target website corresponding to the url according to the url of the webpage request message.
  • the webpage request response result receiving and forwarding module is responsible for receiving the webpage request response result message (such as the Http request response result, the Https request response result, the SPDY request response result, etc.) returned by the target website in real time, and forwarding the webpage request response result message to the webpage request response result packet Terminal Equipment.
  • the webpage request response result message such as the Http request response result, the Https request response result, the SPDY request response result, etc.
  • Step S1 The terminal device sends a DNS query request to the DNS server.
  • Step S2 The DNS server returns a domain name query success response message.
  • Step S3 When the domain name query successful response message passes through the wifi router, the wifi router identifies the domain name query success response message, and modifies the IP address of the IP address field corresponding to the domain name in the message to the IP address of the wifi Internet portal platform. .
  • the domain name query response message is a message that is answered after a successful query.
  • the response message that fails to be queried (such as the domain name of the url does not exist) is not processed.
  • a person skilled in the art can also set a domain name query success response message corresponding to a specific domain name or an IP address in the WIFI router, and does not modify the destination IP address in the domain name query success response message, so that the terminal device is in the When accessing the domain name or the target website corresponding to the IP address, the webpage request message sent by the terminal device is not sent to the management server, but is directly routed to the target website.
  • a specific domain name or IP address is configured. If the domain name in the domain name query success response message or the IP address corresponding to the domain name is included in the above list, the WIFI router does not modify the domain name query success response message.
  • Step S4 The Wifi router will replace the DNS with the IP address.
  • the query success response frame is returned to the terminal device.
  • Step S5 The terminal device sends a webpage request message (such as an Http request, an Https request, an SPDY request, etc.) to the wifi Internet portal platform.
  • a webpage request message such as an Http request, an Https request, an SPDY request, etc.
  • Step S6 The wifi Internet portal receives the webpage request packet sent by the terminal device, and forwards the webpage request packet to the target website corresponding to the url according to the url of the webpage request packet;
  • Step S7 The webpage request response message returned by the website (such as Http request response, Https request response, SPDY request response, etc.) is sent to the wifi Internet portal platform.
  • Http request response such as Http request response, Https request response, SPDY request response, etc.
  • Step S8 The wifi Internet portal forwards the webpage request response message to the terminal device.
  • the network device is a WIFI router
  • the WIFI router includes an IP packet routing module and a destination IP address modification module of the IP packet corresponding to the webpage request
  • the management server is a WIFI Internet portal platform
  • the WIFI Internet portal platform includes a webpage request receiving and forwarding module and The web page requests a response result receiving and forwarding module.
  • the IP packet routing module is responsible for routing the IP packet sent by the terminal user browser to the network and the IP packet sent by the network to the user terminal; the IP address modification module of the IP packet corresponding to the webpage request is responsible for identifying the webpage sent to the terminal device.
  • the request message (such as Http request, Https request, SPDY request, etc.) replaces the destination IP address of all IP packets corresponding to the webpage request message with the IP address of the wifi Internet portal platform.
  • the webpage request receiving and forwarding module is responsible for receiving webpage request messages (such as Http request, Https request, SPDY request, etc.) sent by the terminal device, and forwarding the webpage request message to the target website corresponding to the url according to the url of the webpage request message.
  • the webpage request response result receiving and forwarding module is responsible for receiving the webpage request response result message (such as the Http request response result, the Https request response result, the SPDY request response result, etc.) returned by the target website in real time, and forwarding the webpage request response result message to the webpage request response result packet Terminal Equipment.
  • Step S11 The terminal device sends an Http request to the target website.
  • Step S12 The Wifi router identifies the webpage request message (such as an Http request, an Https request, a SPDY request, etc.) of the terminal device from the IP packet, and all the IP addresses corresponding to all the webpage request messages of the terminal device.
  • the destination IP address of the packet is replaced with the IP address of the wifi Internet portal.
  • a person skilled in the art can also set a webpage request message corresponding to a specific domain name or an IP address in the WIFI router, and does not modify the destination IP address in the webpage request packet, so that the webpage request message is not sent to the webpage.
  • Manage the server but directly route to the target website. For example, in the WIFI configuration file, configure a specific domain name or IP address list. If the domain name or destination IP address in the web request message is included in the above list, the WIFI router does not. Modify the web page request message.
  • Step S13 The webpage request message is sent to the wifi internet portal platform.
  • Step S14 The wifi Internet portal receives the webpage request packet sent by the terminal device, and forwards the webpage request packet to the target website corresponding to the url according to the url of the webpage request packet;
  • Step S15 The webpage request response message returned by the website (such as the Http request response result, the Https request response result, the SPDY request response, etc.) is sent to the wifi Internet portal platform.
  • the website such as the Http request response result, the Https request response result, the SPDY request response, etc.
  • Step S16 The wifi Internet portal forwards the webpage request response result message to the terminal device.
  • the network device when the network device receives the domain name query success response message from the DNS server, modifies the IP address corresponding to the domain name of the target website carried in the domain name query success response message to the IP address of the management server. Address, or, when receiving the webpage request message sent by the terminal device to the target website, modifying the destination IP address in the webpage request message to the IP address of the management server, so as to enable the terminal device to interact with the target website, All need to be forwarded through the management server, and then the data packets of the interaction between the terminal device and the target website can be managed.
  • the network device 21 includes a first receiving module 211, a first sending module 212, a second receiving module 213, a modifying module 214, and a second sending module 215.
  • the terminal device 22 accesses the network through the network device 21, and all data packets exchanged between the terminal device 22 and the network need to be forwarded by the network device 21. If the terminal device 22 accesses the target website through the domain name, before the target website is accessed, the domain name query request message needs to be sent to the DNS server 23 to request the IP address corresponding to the domain name of the target website.
  • the first receiving module 211 receives the domain name query request message sent by the terminal device 22, where the domain name query request message carries the domain name of the website accessed by the terminal device.
  • the first sending module 212 sends the DNS service The server forwards the domain name query request message.
  • the DNS server 23 retrieves the IP address corresponding to the domain name of the target website according to the domain name query request message, and returns the domain name query success response message after the IP address is retrieved, wherein the domain name query successfully responds.
  • the packet carries the IP address corresponding to the domain name of the target website.
  • the second receiving module 213 receives the domain name query success response message returned by the DNS server 23.
  • the modification module 214 modifies the IP address corresponding to the domain name of the website carried in the domain name query success response message to the IP address of the management server.
  • the second sending module 215 returns the modified domain name query success response message to the terminal device 22.
  • the terminal device 22 receives the modified domain name query success response message, which is equivalent to the terminal device 22 being informed that the domain name resolution is successful.
  • the terminal device 22 sends a webpage request message to the target network to request the content of the webpage, wherein the destination IP address carried in the webpage request packet, because the domain name address of the target website 105 is replaced with the IP address of the management server, the webpage request report
  • the destination IP address carried in the text is the IP address of the management server.
  • the webpage request message transmission arrives at the management server, and the management server requests the webpage content from the target website, and returns the webpage content to the terminal device 22 after obtaining the webpage content, so that the data packet exchanged by the terminal device 22 and the network needs to be managed. Server forwarding.
  • the network device when the network device receives the domain name query success response message from the DNS server, the network device modifies the IP address corresponding to the domain name of the target website carried in the domain name query success response message to the IP address of the management server.
  • the data packet of the address and the interaction between the terminal device and the target website needs to be forwarded through the management server, and the data message of the interaction between the terminal device and the target website can be managed.
  • network device 25 includes a processor 251, a memory 252, a network adapter 253, and a bus 254.
  • processor 251, memory 252, and network adapter 253 are all coupled to bus 254.
  • the processor 251 is configured to receive, by using the network adapter 253, a domain name query request message sent by the terminal device 27, where the domain name query request message carries the domain name of the target website accessed by the terminal device;
  • the domain name query request message is forwarded by the network adapter 253, and the domain name query success response message is returned by the DNS server according to the domain name query request message, wherein the domain name query success response message carries the target website.
  • Domain name The IP address corresponding to the domain name of the website carried in the domain name query success response message is modified to the IP address of the management server; the modified domain name query success response message is sent through the network adapter 253.
  • the terminal device sends the webpage request message to the target website, the destination IP address carried in the webpage request message is the IP address of the management server.
  • the webpage request packet includes an HTTP request packet, an HTTPS request packet, and an SPDY request packet.
  • the above operations performed by the processor 251 can all be stored in the memory 252 in the form of a program, and when the processor 251 needs to perform the above operation, the program is transferred to the processor 251 for execution.
  • the network device 31 includes a receiving module 311, a determining module 312, a modifying module 313, and a sending module 314.
  • the receiving module 314 receives the data packet sent by the terminal device 32.
  • the determining module 312 determines whether the data message is a webpage request message that the terminal device 32 requests the webpage content from the target website. If the data packet is a domain name query request packet, the network device 31 directly forwards the domain name query request packet. When the determining module 312 determines that the data message is a web page request message, the modifying module 313 modifies the destination IP address in the data message to the IP address of the management server 33.
  • the network device 31 directly forwards the packet, and the network device 31 directly forwards the packet to the terminal device 32 when receiving the packet sent by the network side, for example,
  • the terminal device 32 accesses the network through the domain name, and needs to first request the IP address corresponding to the domain name of the target website from the DNS server, and the network device 31 directly forwards the domain name query request message and the domain name query success response message.
  • the sending module 314 forwards the modified data packet to the management server 33, where the modified data packet carries the IP address of the terminal device and the URL address of the target website.
  • the management server 33 requests the webpage content from the target website according to the URL address in the modified data packet, and returns the requested webpage content to the terminal device 32, thereby causing the terminal device 32 to communicate with the network.
  • the interactive data packets are all forwarded by the management server 33, so that the management server 33 serves as the network portal of the terminal device 32.
  • the webpage request packet includes an HTTP request packet, HTTPS request message and SPDY request message.
  • the network device when receiving the webpage request message sent by the terminal device to the target website, modifies the destination IP address in the webpage request packet to the IP address of the management server, so as to enable the terminal device to interact with the target website.
  • the data packets need to be forwarded through the management server, and the data packets exchanged between the terminal device and the target website can be managed to generate a network portal platform.
  • the network device 35 includes a processor 351, a memory 352, a network adapter 353, and a bus 354.
  • processor 351, memory 352, and network adapter 353 are all coupled to bus 354.
  • the processor 351 is configured to receive, by using the network adapter 353, a data message sent by the terminal device 36, and determine whether the data message is a webpage request message sent by the terminal device 36 to the target website for requesting webpage content; And if the data packet is a webpage request packet, modifying the destination IP address in the data packet to an IP address of the management server 37; and forwarding, by the network adapter 353, the modified datagram to the management server 37. And the management server 37 requests the webpage content from the target website according to the URL address in the modified data packet, and returns the requested webpage content to the terminal device 36.
  • the webpage request message includes an HTTP request message, an HTTPS request message, and an SPDY request message.
  • the above operations performed by the processor 351 can all be stored in the memory 352 in the form of a program, and when the processor 351 needs to perform the above operation, the program is transferred to the processor 351 for execution.
  • the management server 40 includes a first receiving module 411 , a sending module 412 , a second receiving module 413 , a first modified sending module 414 , a third receiving module 415 , and a second modified sending module 416 .
  • the destination IP address in the webpage request packet sent by the terminal device 42 is the IP address of the management server 41, or the destination IP address in the webpage request packet after the webpage request message sent by the terminal device 42 is modified by the network device.
  • the address is modified to the IP address of the management server 41, and therefore, the web page request message is routed to the management server 41.
  • the first receiving module 411 receives the webpage request packet, where the webpage request packet includes the destination IP address, the source IP address, and the URL address of the target website, the destination IP address is the IP address of the management server 41, and the source IP address is the terminal device. IP address.
  • the sending module 412 carries the message according to the webpage request message.
  • the URL address sends a domain name query request message to the DNS server 43 to request an IP address corresponding to the domain name of the target website.
  • the second receiving module 413 receives the domain name query success response message returned by the DNS server 43 according to the domain name query request message, wherein the domain name query success response message carries the IP address corresponding to the domain name of the target website.
  • the first modification sending module 414 modifies the destination IP address in the webpage request packet to the IP address of the target website, and the source IP address in the webpage request packet is modified to the IP address of the management server 41, and forwards the modified to the target website 44.
  • Web page request message After receiving the webpage request message, the target website 44 returns a webpage request response message according to the webpage request message, wherein the webpage request response message carries the webpage content.
  • the third receiving module 415 receives the webpage request response message returned by the target website according to the modified webpage request message.
  • the second modification sending module 416 modifies the destination IP address in the webpage request response message to the IP address of the terminal device 42, and forwards the webpage request response message to the terminal device 42.
  • the management server 41 further includes an acquisition module (not shown) and an analysis push module (not shown).
  • the obtaining module acquires the content accessed by the terminal device 42 according to the webpage request message and/or the webpage request response message.
  • the analysis push module analyzes the behavior habits of the user who uses the terminal device 42 based on the content accessed by the terminal device 42, and pushes the advertisement to the terminal device 42 according to the behavior.
  • the data packets exchanged between the terminal device and the network need to be forwarded by the management server, so that the management server serves as a network entry of the terminal device. Further, the management server can also analyze the interaction between the terminal device and the network. The data message obtains the behavior habits of the user of the terminal device, and thus can perform accurate advertisement push.
  • the management server 45 includes a processor 451, a memory 452, a network adapter 453, and a bus 454.
  • processor 451, memory 452, and network adapter 453 are all coupled to bus 454.
  • the processor 451 is configured to receive the webpage request message by using the network adapter 45, where the webpage request message carries the IP address of the terminal device and the URL address of the target website accessed by the terminal device 46;
  • the URL address carried in the URL sends a domain name query request message to the DNS server 47 to request the IP address of the target website corresponding to the URL address;
  • the source IP address in the webpage request message is modified to the IP address of the management server 45, and the modified webpage request message is forwarded to the target website through the network adapter 453.
  • the above operations performed by the processor 451 can all be stored in the memory 452 in the form of a program, and when the processor 451 needs to perform the above operation, the program is transferred to the processor 451 for execution.
  • a method for accessing a network includes:
  • Step S501 Receive a domain name query request message sent by the terminal device, where the domain name query request message carries the domain name of the target website accessed by the terminal device;
  • the domain name of the target website corresponds to the IP address of the target website.
  • Step S502 Forwarding a domain name query request message to the DNS server
  • the DNS server manages the IP address corresponding to the domain name and domain name.
  • Step S503 The receiving DNS server returns a domain name query success response message according to the domain name query request message, wherein the domain name query success response message carries the IP address corresponding to the domain name of the target website;
  • Step S504 Modify the IP address corresponding to the domain name of the website carried in the domain name query success response message to the IP address of the management server;
  • the IP address of the domain name of the target website is resolved.
  • data packets are sent directly to the management server.
  • Step S505 The modified domain name query success response message is returned to the terminal device, so that when the terminal device sends the webpage request message to the target website, the destination IP address carried in the webpage request message is The IP address of the management server;
  • the web page request includes an HTTP request message, an HTTPS request message, or an SPDY request message.
  • the network device when the network device receives the domain name query success response message from the DNS server, the network device modifies the IP address corresponding to the domain name of the target website carried in the domain name query success response message to the IP address of the management server.
  • the data packet of the address and the interaction between the terminal device and the target website needs to be forwarded through the management server, and the data message of the interaction between the terminal device and the target website can be managed.
  • a method for accessing a network includes:
  • Step S601 Receive a data packet sent by the terminal device.
  • the terminal device accesses the network through the network device, and the terminal device is the device that accesses the network through the network device.
  • Step S602 determining whether the data packet is sent by the terminal device to the target website, and requesting the webpage request message of the webpage content, if the datagram is a webpage request packet, proceeding to step S604, otherwise proceeding to step S603;
  • the webpage request packet is a packet for requesting the webpage content from the target website, and the domain name query request packet and the domain name query success response packet are not the webpage request message.
  • Step S603 forwarding a data packet
  • Step S604 Modify the destination IP address in the data packet to the IP address of the management server.
  • the data packet is forwarded to the management server.
  • Step S605 Forwarding the modified data packet to the management server, so that the management server requests the webpage content from the target website according to the URL address in the modified data packet, and returns the requested webpage content to the terminal device;
  • the web page request includes an HTTP request message, an HTTPS request message, or an SPDY request message.
  • the network device when receiving the webpage request message sent by the terminal device to the target website, modifies the destination IP address in the webpage request packet to the IP address of the management server, so as to end
  • the data packets of the interaction between the end device and the target website need to be forwarded through the management server, and the data packets exchanged between the terminal device and the target website can be managed to generate a network portal platform.
  • a method for accessing a network includes:
  • Step S701 Receive a webpage request message, where the webpage request message includes a destination IP address, a source IP address, and a URL address of a target website accessed by the terminal device, where the destination IP address is an IP address of the management server.
  • the source IP address is the IP address of the terminal device;
  • the web page request includes an HTTP request message, an HTTPS request message, or an SPDY request message.
  • Step S702 Send a domain name query request message to the DNS server according to the URL address carried in the webpage request packet, to request the IP address of the target website;
  • the IP address of the target website can be obtained according to the domain name of the target website.
  • Step S703 Receive a domain name query success response message returned by the DNS server, where the domain name query success response message carries the IP address corresponding to the domain name of the target website;
  • Step S704 Modify the destination IP address in the webpage request packet to the IP address of the target website, modify the source IP address in the webpage request packet to the IP address of the management server, and forward the modified webpage request report to the target website.
  • the management server obtains the IP address of the target website and can send a web page request to the target website.
  • Step S705 The webpage request response message returned by the target website according to the modified webpage request message is received
  • the web page request response message carries the requested web page content.
  • Step S706 Modify the destination address in the webpage request response message to the IP address of the terminal device, and forward the webpage request response message to the terminal device.
  • the web page request response message is routed to the terminal device.
  • the management server may also analyze the data packet that the terminal device interacts with the website, learn the user's access habits of the terminal device, and push the advertisement according to the access habit to perform personalized function recommendation, etc. And the method further includes: obtaining the content accessed by the terminal device according to the webpage request message and/or the webpage request response message; and analyzing the behavior habit of the user using the terminal device according to the content accessed by the terminal device And push ads to the terminal device according to the behavior.
  • the data packets exchanged between the terminal device and the network need to be forwarded by the management server, so that the management server serves as a network entry of the terminal device. Further, the management server can also analyze the interaction between the terminal device and the network. The data message obtains the behavior habits of the user of the terminal device, and thus can perform accurate advertisement push.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种访问网络的方法及网络设备、管理服务器,方法包括接收终端设备发送的域名查询请求报文,其中,域名查询请求报文携带终端设备所访问的目标网站的域名;向DNS服务器转发域名查询请求报文;接收DNS服务器返回的域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址;将域名查询成功应答报文中携带的网站的域名对应的IP地址修改为管理服务器的IP地址;将修改后的域名查询成功应答报文返回给终端设备,以使终端设备向目标网站发送网页请求报文时,网页请求报文中所携带的目的IP地址为管理服务器的IP地址。通过上述方式,本发明能够管理终端设备与网络之间交互的数据报文。

Description

一种访问网络的方法及网络设备、管理服务器 【技术领域】
本发明涉及网络技术领域,特别是涉及一种访问网络的方法及网络设备、管理服务器。
【背景技术】
随着互联网的发展,互联网上所提供的信息越来越多,所提供的服务也越来越多,人们越来越喜欢通过互联网获取信息或者服务。而用户在访问互联网时,需要将终端设备接入互联网,目前,常用终端设备接入互联网的方法就是要:将终端设备连接路由器,再通过路由器连接互联网,简而言之,终端设备与互联网之间交互的所有信息,均需要通过路由器的转发。
目前,作为终端设备与互联网之间的桥梁的路由器,仅提供数据报文转发功能或者路由功能,功能单一。
【发明内容】
本发明主要解决的技术问题是提供一种访问网络的方法及网络设备网络设备、管理服务器,能够管理终端设备与网络之间交互的数据报文。
为解决上述技术问题,本发明采用的一个技术方案是:提供一种访问网络的方法,包括接收终端设备发送的域名查询请求报文,其中,所述域名查询请求报文携带所述终端设备所访问的目标网站的域名;向域名系统DNS服务器转发所述域名查询请求报文;接收所述DNS服务器根据所述域名查询请求报文,返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;将所述域名查询成功应答报文中携带的所述目标网站的域名对应的IP地址修改为管理服务器的IP地址;将所述修改后的域名查询成功应答报文返回给所述终端设备,以使所述终端设备向所述目标网站发送网页请求报文时,所述网页请求报文中所携带的目的IP地址为管理服务器的IP 地址。
其中,所述网页请求包括超文本传输协议HTTP请求报文、超文本传输安全协议HTTPS请求报文或者基于传输控制协议应用层协议SPDY请求报文。
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种访问网络的方法,包括:接收终端设备所发送的数据报文;判断所述数据报文是否为所述终端设备向目标网站发送的,用于请求网页内容的网页请求报文;若所述数据报文为网页请求报文,则将所述数据报文中目的IP地址修改为管理服务器的IP地址;向所述管理服务器转发所述修改后的数据报文,以使所述管理服务器根据所述修改后的数据报文中的URL地址,向所述目标网站请求网页内容,并向所述终端设备返回所述请求得到的网页内容。
为解决上述技术问题,本发明采用的再一个技术方案是:提供一种访问网络的方法,包括接收网页请求报文,其中,网页请求报文包含目的IP地址、源IP地址和所述终端设备所访问的目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端设备的IP地址;根据所述网页请求报文中携带的URL地址向DNS服务器发送域名查询请求报文,以请求所述目标网站的IP地址;接收所述DNS服务器返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,以所述网页请求报文中的源IP地址修改为管理服务器的IP地址,并向所述目标网站转发所述修改后的网页请求报文;接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文;将所述网页请求应答报文中目的IP地址修改为所述终端设备的IP地址,并向所述终端设备转发所述网页请求应答报文。
其中,所述方法还包括:根据所述网页请求报文或/和网页请求应答报文,获取所述终端设备所访问的内容;根据所述终端设备所访问的内容,分析所述使用终端设备的用户的行为习惯,并根据所述行为习惯向终端设备推送广告。
为解决上述技术问题,本发明采用的还一个技术方案是:提供一种网络设 备,包括第一接收模块,用于接收终端设备发送的域名查询请求报文,其中,所述域名查询请求报文携带所述终端设备所访问的目标网站的域名;第一发送模块,用于向DNS服务器转发所述域名查询请求报文;第二接收模块,用于接收所述DNS服务器根据所述域名查询请求报文,返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;修改模块,用于将所述域名查询成功应答报文中携带的所述目标网站的域名对应的IP地址修改为管理服务器的IP地址;第二发模块,用于将所述修改后的域名查询成功应答报文返回给所述终端设备,以使所述终端设备向所述目标网站发送网页请求时,所述网页请求中所携带的目的IP地址为管理服务器的IP地址。
其中,所述网页请求包括HTTP请求、HTTPS请求或者SPDY请求。
为解决上述技术问题,本发明采用的还一个技术方案是:提供一种网络设备,包括接收模块,用于接收终端设备所发送的数据报文;判断模块,用于判断所述数据报文是否为所述终端设备向目标网站请求网页内容的网页请求报文;修改模块,用于在所述判断模块判断到所述数据报文为网页请求报文时,将所述数据报文中目的IP地址修改为管理服务器的IP地址;发送模块,用于向所述管理服务器转发所述修改后的数据报文,以使所述管理服务器根据所述修改后的数据报文中的URL地址,向所述目标网站请求网页内容,并向所述终端设备返回请求得到的网页内容。
为解决上述技术问题,本发明采用的一个技术方案是:提供一种管理服务器,包括第一接收模块,用于接收网页请求报文,其中,所述网页请求报文包含目的IP地址、源IP地址和目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端设备的IP地址;发送模块,用于根据所述网页请求报文中携带的URL地址向DNS服务器发送域名查询请求报文,以请求所述目标网站的域名对应的IP地址;第二接收模块,用于接收所述DNS服务器根据域名查询请求报文返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;第一修改发送模块, 用于将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,所述网页请求报文中的源IP地址修改为管理服务器的IP地址,并向所述目标网站转发所述修改后的网页请求报文;第三接收模块,用于接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文,其中,网页请求应答报文携带网页内容;第二修改发送模块,用于将所述网页请求应答报文中目的IP地址修改为所述终端设备的IP地址,并向所述终端设备转发所述网页请求应答报文。
其中,管理服务器还包括:获取模块,用于根据所述网页请求报文和网页请求应答报文,获取所述终端设备所访问的内容;分析推送模块,用于根据所述终端设备所访问的内容,分析所述使用终端设备的用户的行为习惯,并根据所述行为习惯向终端设备推送广告。
本发明的有益效果是:区别于现有技术的情况,本发明网络设备在接收到DNS服务器向终端设备返回域名查询成功应答报文时,将域名查询成功应答报文中携带的目标网站的域名对应的IP地址修改为管理服务器的IP地址,或者,在接收到终端设备向目标网站发送网页请求报文时,将网页请求报文中目的IP地址修改为管理服务器的IP地址,以使终端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理,生成网络入口平台。
【附图说明】
图1是本发明访问网络实施方式的结构图;
图2是本发明网络访问系统第二实施方式的结构图;
图3是本发明访问网络实施方式中第一种访问网络的方法的流程图;
图4是本发明访问网络实施方式中第二种访问网络的方法的流程图;
图5是本发明网络设备第一实施方式的结构示意图;
图6是本发明网络设备第二实施方式的结构示意图;
图7是本发明网络设备第三实施方式的结构示意图;
图8是本发明网络设备第四实施方式的结构示意图;
图9是本发明管理服务器第一实施方式的结构示意图;
图10是本发明管理服务器第二实施方式的结构示意图;
图11是本发明访问网络的方法第一实施方式的流程图;
图12是本发明访问网络的方法第二实施方式的流程图;
图13是本发明访问网络的方法第三实施方式的流程图。
【具体实施方式】
下面结合附图和实施方式对本发明进行详细说明。
请参阅图1,网络访问系统10包括终端设备101、网络设备102、DNS服务器103、管理服务器104和目标网站105。终端设备101通过网络设备102接入网络,在本发明实施方式中,网络设备102可为有线路由器,也可为无线路由器,例如:WIFI路由器;又或者,网络设备102为有线接入设备,如DSL DSLAM设备、光纤接入设备等,网络设备102也可为无线接入设备,如无线基站;进一步的,如图2所示,网络设备也可以为SDN网络(Software Defined Network,软件定义网络)中的控制面设备112,SDN网络是指控制和数据分离的网络,SDN网络中的报文的控制是由控制面设备112进行控制。
终端设备101通过域名的形式访问目标网站105时,例如:在终端设备101的浏览器上输入www.XX.com的目标网站105的域名,则需要先将域名解析为IP地址,终端设备101向DNS服务器103发送域名查询请求报文,其中,域名查询请求报文最先到达网络设备102,网络设备102接收终端设备101发送的域名查询请求报文,其中,域名查询请求报文携带终端设备所访问的目标网站105的域名。网络设备102向DNS服务器103转发该域名查询请求报文。DNS服务器103在接收到域名查询请求报文后,根据域名查询请求报文检索目标网站105域名对应的IP地址,并在检索到目标网站105域名对应的IP地址后,向终端设 备101返回域名查询成功应答报文,其中,域名查询成功应答报文携带所述目标网站105的域名对应的IP地址。
域名查询成功应答报文在向终端设备101传送过程中,先经过网络设备102,再到终端设备101。网络设备102接收到域名查询成功应答报文后,将域名查询成功应答报文中携带的网站的域名对应的IP地址修改为管理服务器104的IP地址,并且网络设备102将修改后的域名查询成功应答报文返回给终端设备101。终端设备101接修到修改后的域名查询成功应答报文,相当于,终端设备获知域名解析成功,则终端设备101向目标网络发送网页请求报文,以请求网页的内容,其中,网页请求报文中所携带目的IP地址,在本发明实施方式中,由于目标网站105的域名地址被替换管理服务器104的IP地址,则网页请求报文中所携带的目的IP地址为管理服务器104的IP地址;网页请求报文包括HTTP请求报文、HTTPS请求报文和SPDY请求报文。
由于网页请求报文中的目的IP地址为管理服务器104的IP地址,因此,网页请求报文会传输到达管理服务器104,其中,网页请求报文还携带终端设备101的IP地址和终端设备101所访问的目标网站105的URL地址。管理服务器104接收到接收网页请求报文后,可解析网页请求报文,获取目标网站的URL地址和终端设备101的IP地址,并且根据网页请求报文中携带的URL地址向DNS服务器103发送域名查询请求报文,以请求URL地址所对应的目标网站105的IP地址。管理服务器104在接收到目标网站105的IP地址后,将网页请求报文中的目的IP地址修改为目标网站105的IP地址,网页请求报文中的源IP地址修改为管理服务器的IP地址,并向目标网站105转发修改后的网页请求报文。目标网站105接收到修改后的网页请求报文后,根据修改后的网页请求报文返回网页请求应答报文,其中,网页请求应答报文携带网页内容。
管理服务器104接收到网页请求应答报文后,将网页请求应答报文中目的IP地址修改为终端设备101的IP地址,并向终端设备101转发网页请求应答报文。由于网页请求应答报文的目的IP地址为终端设备101的IP地址,则网页请 求应答报文传输到达终端设备101。
由上述描述可知:通过网络设备102接入网络的终端设备101与网络交互的数据报文,均需要通过管理服务器104的转发,从而使得管理服务器104为终端设备101的网络入口,管理服务器104可管理终端设备101与网络之间交互的数据报文,收集终端设备101的用户数据,并根据用户数据,进行精准的广告推送,或者,提供个性化推荐功能等等,例如:管理服务器104根据网页请求报文和网页请求应答报文,获取终端设备101所访问的内容,并根据终端设备101所访问的内容,分析使用终端设备的用户的行为习惯,并根据行为习惯向终端设备推送广告。
在其他替代实施方式中,网络设备102在接收到域名查询成功应答报文时,不修改域名查询成功应答报文中携带目标网站的IP地址,在接到终端设备101发送网页请求报文时,再修改网页请求报文中携带的目的IP地址。则网络设备102接收到终端设备101所发送的数据报文时,判断数据报文是否为终端设备向目标网站105发送的,用于请求网页内容的网页请求报文,在本发明实施方式中,网页请求报文包括HTTP请求报文、HTTPS请求报文或者SPDY请求报文。若数据报文为网页请求报文,则将数据报文中目的IP地址修改为管理服务器104的IP地址,并向管理服务器104转发修改后的数据报文,其中,修改后的数据报文还携带终端设备101的IP地址和所访问的目标网站的URL地址。
管理服务器104接收到修改后的网页请求报文后,可解析修改后的网页请求报文,获取终端设备101的IP地址和目标网站的URL地址。管理服务器104可根据URL地址,向DNS服务器103获取目标网站对应的IP地址。并根据目标网站的IP地址向目标网站请求网页内容,并向终端设备101返回请求得到的网页内容,其中,管理服务器104具体的处理方法,可参阅上述描述,此处不再一一赘述。
为了让读者更好地理解本发明的内容,下面对上述两种实施方式举例进行说明。
例1:网络设备为WIFI路由器,WIFI路由器包括IP包路由模块和DNS成功应答帧IP地址修改模块,管理服务器为WIFI互联网入口平台,WIFI互联网入口平台包括网页请求接收和转发模块和网页请求应答结果接收和转发模块。
IP包路由模块负责对终端用户浏览器发向网络的IP包和网络发给用户终端的IP包进行路由;DNS成功应答帧IP地址修改模块负责识别出DNS服务器返回给终端设备的DNS成功查询应答帧,将DNS成功查询应答帧中的域名对应IP地址字段的IP地址修改为wifi互联网入口平台的IP地址。网页请求接收和转发模块负责接收终端设备发来的网页请求报文(如Http请求、Https请求、SPDY请求等),根据网页请求报文的url,将网页请求报文转发给url对应的目标网站;网页请求应答结果接收和转发模块负责实时接收目标网站返回的网页请求应答结果报文(如Http请求应答结果、Https请求应答结果、SPDY请求应答结果等),将网页请求应答结果报文转发给终端设备。
具体步骤如下,如图3所示:
步骤S1:终端设备向DNS服务器发送DNS查询请求。
步骤S2:DNS服务器返回域名查询成功应答报文。
步骤S3:域名查询成功应答报文经过wifi路由器时,wifi路由器识别出该域名查询成功应答报文,并将报文中的域名对应的IP地址字段的IP地址修改为wifi互联网入口平台的IP地址。这里的域名查询应答报文是成功的查询后应答的报文,查询失败的应答报文(如url对应域名不存在等)不作处理。
当然,本领域的技术人员也可以在WIFI路由器设置对特定的域名或IP地址所对应的域名查询成功应答报文,不修改该域名查询成功应答报文中的目的IP地址,以使终端设备在访问该域名或者该IP地址对应的目标网站时,终端设备所发送网页请求报文不发往管理服务器,而是直接路由到达目标网站,例如:在WIFI配置文件中,配置特定的域名或者IP地址列表,若域名查询成功应答报文中的域名或者域名所对应的IP地址包含在上述列表中,则WIFI路由器不修改该域名查询成功应答报文。步骤S4:Wifi路由器将替换了IP地址的DNS 查询成功应答帧返回给终端设备。
步骤S5:终端设备向wifi互联网入口平台发送网页请求报文(如Http请求、Https请求、SPDY请求等)。
步骤S6:wifi互联网入口平台接收终端设备发来的网页请求报文,根据网页请求报文的url,将网页请求报文转发给url对应的目标网站;
步骤S7:网站返回的网页请求应答报文(如Http请求应答、Https请求应答、SPDY请求应答等)给wifi互联网入口平台。
步骤S8:wifi互联网入口平台将网页请求应答报文转发给终端设备。
例2:网络设备为WIFI路由器,WIFI路由器包括IP包路由模块和网页请求对应的IP包的目的IP地址修改模块,管理服务器为WIFI互联网入口平台,WIFI互联网入口平台包括网页请求接收和转发模块和网页请求应答结果接收和转发模块。
IP包路由模块负责对终端用户浏览器发向网络的IP包和网络发给用户终端的IP包进行路由;网页请求对应的IP包的IP地址修改模块负责识别出给终端设备的发来的网页请求报文(如Http请求、Https请求、SPDY请求等),将网页请求报文对应的所有IP包的目的IP地址替换成wifi互联网入口平台的IP地址。
网页请求接收和转发模块负责接收终端设备发来的网页请求报文(如Http请求、Https请求、SPDY请求等),根据网页请求报文的url,将网页请求报文转发给url对应的目标网站;网页请求应答结果接收和转发模块负责实时接收目标网站返回的网页请求应答结果报文(如Http请求应答结果、Https请求应答结果、SPDY请求应答结果等),将网页请求应答结果报文转发给终端设备。
具体过程如下,如图4所示:
步骤S11:终端设备向目标网站发送Http请求。
步骤S12:Wifi路由器从IP包中识别出终端设备的网页请求报文(如Http请求、Https请求、SPDY请求等),将终端设备所有网页请求报文对应的所有IP 包的目的IP地址替换成wifi互联网入口平台的IP地址。
当然,本领域的技术人员也可以在WIFI路由器设置对特定的域名或IP地址所对应的网页请求报文,不修改该网页请求报文中的目的IP地址,以使网页请求报文不发往管理服务器,而是直接路由到达目标网站,例如:在WIFI配置文件中,配置特定的域名或者IP地址列表,若网页请求报文中的域名或者目的IP地址包含在上述列表中,则WIFI路由器不修改该网页请求报文。
步骤S13:网页请求报文发往wifi互联网入口平台。
步骤S14:wifi互联网入口平台接收终端设备发来的网页请求报文,根据网页请求报文的url,将网页请求报文转发给url对应的目标网站;
步骤S15:网站返回的网页请求应答报文(如Http请求应答结果、Https请求应答结果、SPDY请求应答等)给wifi互联网入口平台。
步骤S16:wifi互联网入口平台将网页请求应答结果报文转发给终端设备。
在本发明实施方式中,网络设备在接收到DNS服务器向终端设备返回域名查询成功应答报文时,将域名查询成功应答报文中携带的目标网站的域名对应的IP地址修改为管理服务器的IP地址,或者,在接收到终端设备向目标网站发送网页请求报文时,将网页请求报文中目的IP地址修改为管理服务器的IP地址,以使终端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理。
请参阅图5,网络设备21包括第一接收模块211、第一发送模块212、第二接收模块213、修改模块214和第二发模块215。
终端设备22通过网络设备21接入网络,终端设备22与网络之间交互的所有数据报文,均需要经过网络设备21的转发。若终端设备22通过域名访问目标网站,则在访问目标网站之前,还需要向DNS服务器23发送域名查询请求报文,以请求目标网站的域名对应的IP地址。
第一接收模块211接收终端设备22发送的域名查询请求报文,其中,域名查询请求报文携带终端设备所访问的网站的域名。第一发送模块212向DNS服 务器转发域名查询请求报文。DNS服务器23接收到域名查询请求报文后,根据域名查询请求报文检索目标网站的域名对应的IP地址,并在检索到IP地址后,返回域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址。
第二接收模块213接收DNS服务器23返回的域名查询成功应答报文。修改模块214将域名查询成功应答报文中携带的网站的域名对应的IP地址修改为管理服务器的IP地址。第二发模块215将修改后的域名查询成功应答报文返回给终端设备22。终端设备22接修到修改后的域名查询成功应答报文,相当于,终端设备22获知域名解析成功。终端设备22向目标网络发送网页请求报文,以请求网页的内容,其中,网页请求报文中所携带目的IP地址,由于目标网站105的域名地址被替换管理服务器的IP地址,则网页请求报文中所携带的目的IP地址为管理服务器的IP地址。则网页请求报文传输到达管理服务器,由管理服务器向目标网站请求网页内容,并在获得网页内容后向终端设备22返回网页内容,从而使得终端设备22与网络交互的数据报文均需要经过管理服务器转发。
在本发明实施方式中,网络设备在接收到DNS服务器向终端设备返回域名查询成功应答报文时,将域名查询成功应答报文中携带的目标网站的域名对应的IP地址修改为管理服务器的IP地址,以使终端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理。
请参阅图6,网络设备25包括处理器251、存储器252、网络适配器253和总线254。处理器251、存储器252和网络适配器253均与总线254连接。
处理器251用于通过网络适配器253接收终端设备27发送的域名查询请求报文,其中,所述域名查询请求报文携带所述终端设备所访问的目标网站的域名;通过网络适配器253向DNS服务器26转发所述域名查询请求报文;通过网络适配器253接收DNS服务器根据所述域名查询请求报文,返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对 应的IP地址;将所述域名查询成功应答报文中携带的所述网站的域名对应的IP地址修改为管理服务器的IP地址;通过网络适配器253将所述修改后的域名查询成功应答报文返回给所述终端设备,以使所述终端设备向所述目标网站发送网页请求报文时,所述网页请求报文中所携带的目的IP地址为管理服务器的IP地址。
其中,网页请求报文包括HTTP请求报文、HTTPS请求报文和SPDY请求报文。
处理器251执行的上述操作均可以以一段程序的形式存储在存储器252中,在处理器251需要执行上述操作时,将该段程序调入处理器251执行。
请参阅图7,网络设备31包括接收模块311、判断模块312、修改模块313和发送模块314。
接收模块314接收终端设备32所发送的数据报文。判断模块312判断数据报文是否为终端设备32向目标网站请求网页内容的网页请求报文。若数据报文为域名查询请求报文,则网络设备31直接转发该域名查询请求报文。在判断模块312判断到数据报文为网页请求报文时,修改模块313将数据报文中目的IP地址修改为管理服务器33的IP地址。若判断模块312判断到数据报文为其他报文,则网络设备31直接转发该报文,其中,网络设备31接收网络侧发送过来的报文时,直接向终端设备32转发该报文,例如:终端设备32通过域名访问网络,需要先向DNS服务器请求目标网站的域名对应的IP地址,则网络设备31直接转发域名查询请求报文和域名查询成功应答报文。
发送模块314向管理服务器33转发修改后的数据报文,其中修改后的数据报文携带终端设备的IP地址和目标网站的URL地址。管理服务器33接收到数据报文后,根据修改后的数据报文中的URL地址,向目标网站请求网页内容,并向终端设备32返回请求得到的网页内容,从而使得终端设备32与网络之间交互的数据报文均需要管理服务器33转发,进而使得管理服务器33作为终端设备32的网络入口。在本发明实施方式中,网页请求报文包括HTTP请求报文、 HTTPS请求报文和SPDY请求报文。
在本发明实施方式中,网络设备在接收到终端设备向目标网站发送网页请求报文时,将网页请求报文中目的IP地址修改为管理服务器的IP地址,以使终端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理,生成网络入口平台。
请参阅图8,网络设备35包括处理器351、存储器352、网络适配器353和总线354。处理器351、存储器352和网络适配器353均与总线354连接。
处理器351用于通过网络适配器353接收终端设备36所发送的数据报文;判断所述数据报文是否为所述终端设备36向目标网站发送的,用于请求网页内容的网页请求报文;若所述数据报文为网页请求报文,则将所述数据报文中目的IP地址修改为管理服务器37的IP地址;通过网络适配器353向所述管理服务器37转发所述修改后的数据报文,以使所述管理服务器37根据所述修改后的数据报文中的URL地址,向所述目标网站请求网页内容,并向所述终端设备36返回所述请求得到的网页内容。在本发明实施方式中,网页请求报文包括HTTP请求报文、HTTPS请求报文和SPDY请求报文。
处理器351执行的上述操作均可以以一段程序的形式存储在存储器352中,在处理器351需要执行上述操作时,将该段程序调入处理器351执行。
请参阅图9,管理服务器40包括第一接收模块411、发送模块412、第二接收模块413、第一修改发送模块414、第三接收模块415和第二修改发送模块416。
终端设备42所发送的网页请求报文中的目的IP地址为管理服务器41的IP地址,或者,终端设备42所发送的网页请求报文,经过网络设备修改后,网页请求报文中的目的IP地址修改为管理服务器41的IP地址,因此,网页请求报文会路由到达管理服务器41。
第一接收模块411接收网页请求报文,其中,网页请求报文包含目的IP地址、源IP地址和目标网站的URL地址,目的IP地址为管理服务器41的IP地址,源IP地址为终端设备的IP地址。发送模块412根据网页请求报文中携带的 URL地址向DNS服务器43发送域名查询请求报文,以请求目标网站的域名对应的IP地址。第二接收模块413接收DNS服务器43根据域名查询请求报文返回的域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址。
第一修改发送模块414将网页请求报文中的目的IP地址修改为目标网站的IP地址,网页请求报文中的源IP地址修改为管理服务器41的IP地址,并向目标网站44转发修改后的网页请求报文。目标网站44接收到网页请求报文后,根据网页请求报文返回网页请求应答报文,其中,网页请求应答报文携带网页内容。
第三接收模块415接收目标网站根据修改后的网页请求报文返回的网页请求应答报文。第二修改发送模块416将网页请求应答报文中目的IP地址修改为终端设备42的IP地址,并向终端设备42转发网页请求应答报文。
进一步的,管理服务器41还包括获取模块(图未示)和分析推送模块(图未示)。获取模块根据网页请求报文和/或网页请求应答报文,获取终端设备42所访问的内容。分析推送模块根据终端设备42所访问的内容,分析使用终端设备42的用户的行为习惯,并根据行为习惯向终端设备42推送广告。
在本发明实施方式中,终端设备与网络之间交互的数据报文均需要通过管理服务器的转发,使得管理服务器作为终端设备的网络入口,进一步,管理服务器还可分析终端设备与网络之间交互的数据报文,获取使终端设备的用户的行为习惯,进而可以进行精准的广告推送。
请参阅图10,管理服务器45包括处理器451、存储器452、网络适配器453和总线454。处理器451、存储器452和网络适配器453均与总线454连接。
处理器451用于通过网络适配45器453接收网页请求报文,其中,所述网页请求报文携带终端设备的IP地址和终端设备46所访问的目标网站的URL地址;根据网页请求报文中携带的URL地址向DNS服务器47发送域名查询请求报文,以请求所述URL地址所对应的目标网站的IP地址;通过网络适配器453 接收所述DNS服务器47返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,以所述网页请求报文中的源IP地址修改为管理服务器45的IP地址,并通过网络适配器453向所述目标网站转发所述修改后的网页请求报文;通过网络适配器453接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文;将所述网页请求应答报文中目的地址修改为所述终端设备的IP地址,并通过网络适配器453向所述终端设备46转发所述网页请求应答报文。
处理器451执行的上述操作均可以以一段程序的形式存储在存储器452中,在处理器451需要执行上述操作时,将该段程序调入处理器451执行。
请参阅图11,一种访问网络的方法包括:
步骤S501:接收终端设备发送的域名查询请求报文,其中,域名查询请求报文携带终端设备所访问的目标网站的域名;
目标网站的域名与目标网站的IP地址一一对应。
步骤S502:向DNS服务器转发域名查询请求报文;
DNS服务器管理域名和域名对应的IP地址。
步骤S503:接收DNS服务器根据域名查询请求报文,返回的域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址;
步骤S504:将域名查询成功应答报文中携带的网站的域名对应的IP地址修改为管理服务器的IP地址;
将域名对应的IP地址修改为管理服务器的IP地址,相当于,将目标网站的域名与管理服务器的IP地址相对应,通过目标网站的域名访问目标网站时,则目标网站的域名解析的IP地址为管理服务器的IP地址,数据报文直接发送到管理服务器。
步骤S505:将修改后的域名查询成功应答报文返回给终端设备,以使终端设备向目标网站发送网页请求报文时,网页请求报文中所携带的目的IP地址为 管理服务器的IP地址;
网页请求包括HTTP请求报文、HTTPS请求报文或者SPDY请求报文。
在本发明实施方式中,网络设备在接收到DNS服务器向终端设备返回域名查询成功应答报文时,将域名查询成功应答报文中携带的目标网站的域名对应的IP地址修改为管理服务器的IP地址,以使终端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理。
请参阅图12,一种访问网络的方法包括:
步骤S601:接收终端设备所发送的数据报文;
终端设备通过网络设备接入网络,则该终端设备为该通过网络设备接入网络的设备。
步骤S602:判断数据报文是否为终端设备向目标网站发送的,用于请求网页内容的网页请求报文,若数据报文为网页请求报文,则进入步骤S604,否则进入步骤S603;
网页请求报文是指用于向目标网站请求网页内容的报文,其中,域名查询请求报文和域名查询成功应答报文等不属于网页请求报文。
步骤S603:转发数据报文;
步骤S604:将数据报文中目的IP地址修改为管理服务器的IP地址;
数据报文中的目的IP地址修改为管理服务器的IP地址,则数据报文会转发到管理服务器。
步骤S605:向管理服务器转发修改后的数据报文,以使管理服务器根据修改后的数据报文中的URL地址,向目标网站请求网页内容,并向终端设备返回请求得到的网页内容;
网页请求包括HTTP请求报文、HTTPS请求报文或者SPDY请求报文。
在本发明实施方式中,网络设备在接收到终端设备向目标网站发送网页请求报文时,将网页请求报文中目的IP地址修改为管理服务器的IP地址,以使终 端设备与目标网站的交互的数据报文,均需要通过管理服务器进行转发,进而可以对终端设备与目标网站的交互的数据报文进行管理,生成网络入口平台。
请参阅图13,一种访问网络的方法包括:
步骤S701:接收网页请求报文,其中,网页请求报文包含目的IP地址、源IP地址和所述终端设备所访问的目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端设备的IP地址;
网页请求包括HTTP请求报文、HTTPS请求报文或者SPDY请求报文。
步骤S702:根据网页请求报文中携带的URL地址向DNS服务器发送域名查询请求报文,以请求目标网站的IP地址;
URL地址携带有目标网站的域名,则可根据目标网站的域名获取目标网站的IP地址。
步骤S703:接收DNS服务器返回的域名查询成功应答报文,其中,域名查询成功应答报文携带目标网站的域名对应的IP地址;
步骤S704:将网页请求报文中的目的IP地址修改为目标网站的IP地址,以网页请求报文中的源IP地址修改为管理服务器的IP地址,并向目标网站转发修改后的网页请求报文;
管理服务器获取到目标网站的IP地址,可向目标网站发送网页请求。
步骤S705:接收目标网站根据修改后的网页请求报文返回的网页请求应答报文;
网页请求应答报文携带所请求的网页内容。
步骤S706:将网页请求应答报文中目的地址修改为终端设备的IP地址,并向终端设备转发网页请求应答报文。
将网页请求应答报文中目的地址修改为终端设备的IP地址后,网页请求应答报文会路由到达终端设备。
进一步的,管理服务器还可分析终端设备与网站交互的数据报文,获知终端设备的用户的访问习惯,并根据访问习惯推送广告,进行个性化功能推荐等 等,则方法还包括:根据网页请求报文和/或网页请求应答报文,获取所述终端设备所访问的内容;根据终端设备所访问的内容,分析所述使用终端设备的用户的行为习惯,并根据行为习惯向终端设备推送广告。
在本发明实施方式中,终端设备与网络之间交互的数据报文均需要通过管理服务器的转发,使得管理服务器作为终端设备的网络入口,进一步,管理服务器还可分析终端设备与网络之间交互的数据报文,获取使终端设备的用户的行为习惯,进而可以进行精准的广告推送。
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种访问网络的方法,其特征在于,包括:
    接收终端设备发送的域名查询请求报文,其中,所述域名查询请求报文携带所述终端设备所访问的目标网站的域名;
    向域名系统DNS服务器转发所述域名查询请求报文;
    接收所述DNS服务器根据所述域名查询请求报文,返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;
    将所述域名查询成功应答报文中携带的所述目标网站的域名对应的IP地址修改为管理服务器的IP地址;
    将所述修改后的域名查询成功应答报文返回给所述终端设备,以使所述终端设备向所述目标网站发送网页请求报文时,所述网页请求报文中所携带的目的IP地址为管理服务器的IP地址。
  2. 根据权利要求1所述的方法,其特征在于,所述网页请求包括超文本传输协议HTTP请求报文、超文本传输安全协议HTTPS请求报文或者基于传输控制协议应用层协议SPDY请求报文。
  3. 一种访问网络的方法,其特征在于,包括:接收终端设备所发送的数据报文;
    判断所述数据报文是否为所述终端设备向目标网站发送的,用于请求网页内容的网页请求报文;
    若所述数据报文为网页请求报文,则将所述数据报文中目的IP地址修改为管理服务器的IP地址;
    向所述管理服务器转发所述修改后的数据报文,以使所述管理服务器根据所述修改后的数据报文中的URL地址,向所述目标网站请求网页内容,并向所述终端设备返回所述请求得到的网页内容。
  4. 一种访问网络的方法,其特征在于,包括:
    接收网页请求报文,其中,所述网页请求报文包含目的IP地址、源IP地址和所述终端设备所访问的目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端设备的IP地址;
    根据所述网页请求报文中携带的URL地址向DNS服务器发送域名查询请求报文,以请求所述目标网站的IP地址;
    接收所述DNS服务器返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;
    将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,以及所述网页请求报文中的源IP地址修改为管理服务器的IP地址,并向所述目标网站转发所述修改后的网页请求报文;
    接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文;
    将所述网页请求应答报文中目的IP地址修改为所述终端设备的IP地址,并向所述终端设备转发所述网页请求应答报文。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    根据所述网页请求报文和/网页请求应答报文,获取所述终端设备所访问的内容;
    根据所述终端设备所访问的内容,分析所述使用终端设备的用户的行为习惯,并根据所述行为习惯向终端设备推送广告。
  6. 一种网络设备,其特征在于,包括:
    第一接收模块,用于接收终端设备发送的域名查询请求报文,其中,所述域名查询请求报文携带所述终端设备所访问的目标网站的域名;
    第一发送模块,用于向DNS服务器转发所述域名查询请求报文;
    第二接收模块,用于接收所述DNS服务器根据所述域名查询请求报文,返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标 网站的域名对应的IP地址;
    修改模块,用于将所述域名查询成功应答报文中携带的所述目标网站的域名对应的IP地址修改为管理服务器的IP地址;
    第二发送模块,用于将所述修改后的域名查询成功应答报文返回给所述终端设备,以使所述终端设备向所述目标网站发送网页请求时,所述网页请求中所携带的目的IP地址为管理服务器的IP地址。
  7. 根据权利要求6所述网络设备,其特征在于,所述网页请求包括HTTP请求、HTTPS请求或者SPDY请求。
  8. 一种网络设备,其特征在于,包括:
    接收模块,用于接收终端设备所发送的数据报文;
    判断模块,用于判断所述数据报文是否为所述终端设备向目标网站请求网页内容的网页请求报文;
    修改模块,用于在所述判断模块判断到所述数据报文为网页请求报文时,将所述数据报文中目的IP地址修改为管理服务器的IP地址;
    发送模块,用于向所述管理服务器转发所述修改后的数据报文,以使所述管理服务器根据所述修改后的数据报文中的URL地址,向所述目标网站请求网页内容,并向所述终端设备返回请求得到的网页内容。
  9. 一种管理服务器,其特征在于,包括:
    第一接收模块,用于接收网页请求报文,其中,所述网页请求报文包含目的IP地址、源IP地址和目标网站的URL地址,所述目的IP地址为管理服务器的IP地址,所述源IP地址为终端设备的IP地址;
    发送模块,用于根据所述网页请求报文中携带的URL地址向DNS服务器发送域名查询请求报文,以请求所述目标网站的域名对应的IP地址;
    第二接收模块,用于接收所述DNS服务器根据域名查询请求报文返回的域名查询成功应答报文,其中,所述域名查询成功应答报文携带所述目标网站的域名对应的IP地址;
    第一修改发送模块,用于将所述网页请求报文中的目的IP地址修改为所述目标网站的IP地址,所述网页请求报文中的源IP地址修改为管理服务器的IP地址,并向所述目标网站转发所述修改后的网页请求报文;
    第三接收模块,用于接收所述目标网站根据所述修改后的网页请求报文返回的网页请求应答报文,其中,网页请求应答报文携带网页内容;
    第二修改发送模块,用于将所述网页请求应答报文中目的IP地址修改为所述终端设备的IP地址,并向所述终端设备转发所述网页请求应答报文。
  10. 根据权利要求9所述管理服务器,其特征在于,所述管理服务器还包括:
    获取模块,用于根据所述网页请求报文和网页请求应答报文,获取所述终端设备所访问的内容;
    分析推送模块,用于根据所述终端设备所访问的内容,分析所述使用终端设备的用户的行为习惯,并根据所述行为习惯向终端设备推送广告。
PCT/CN2015/070285 2014-06-05 2015-01-07 一种访问网络的方法及网络设备、管理服务器 WO2015184799A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201580000001.9A CN104509066B (zh) 2014-06-05 2015-01-07 一种访问网络的方法及网络设备、管理服务器

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410247852.0 2014-06-05
CN201410247852.0A CN104010051B (zh) 2014-06-05 2014-06-05 一种访问网络的方法及管理服务器

Publications (1)

Publication Number Publication Date
WO2015184799A1 true WO2015184799A1 (zh) 2015-12-10

Family

ID=51370542

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070285 WO2015184799A1 (zh) 2014-06-05 2015-01-07 一种访问网络的方法及网络设备、管理服务器

Country Status (2)

Country Link
CN (1) CN104010051B (zh)
WO (1) WO2015184799A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738187A (zh) * 2020-12-24 2021-04-30 合安科技技术有限公司 一种设备的安全连接方法、装置、电子设备及存储介质
CN113596184A (zh) * 2020-04-30 2021-11-02 华为技术有限公司 混合云系统、网闸、网络访问方法及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104010051B (zh) * 2014-06-05 2017-12-08 胡汉强 一种访问网络的方法及管理服务器
CN105391811B (zh) * 2014-08-29 2019-12-06 腾讯科技(深圳)有限公司 域名解析方法、应用服务器的访问方法及其终端
CN109302437B (zh) * 2017-07-25 2022-01-11 杭州萤石网络股份有限公司 一种重定向网站的方法和装置
CN113055503B (zh) * 2021-02-28 2022-05-27 新华三信息安全技术有限公司 IPv6网页链接处理方法、装置、设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100161771A1 (en) * 2008-12-22 2010-06-24 Microsoft Corporation Internet protocol (ip) address virtualization for terminal server sessions
CN102045260A (zh) * 2010-12-31 2011-05-04 成都市华为赛门铁克科技有限公司 移动IPv6中报文传输方法及UTM设备
CN102647482A (zh) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 一种访问网站的方法和系统
CN104010051A (zh) * 2014-06-05 2014-08-27 胡汉强 一种访问网络的方法及网络接入设备、管理服务器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284056B2 (en) * 2001-10-04 2007-10-16 Microsoft Corporation Resolving host name data
CN101808002A (zh) * 2009-02-18 2010-08-18 林玉好 基于报文分析的广告发布方法及其系统
CN101902456B (zh) * 2010-02-09 2013-04-03 北京启明星辰信息技术股份有限公司 一种Web网站安全防御系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100161771A1 (en) * 2008-12-22 2010-06-24 Microsoft Corporation Internet protocol (ip) address virtualization for terminal server sessions
CN102045260A (zh) * 2010-12-31 2011-05-04 成都市华为赛门铁克科技有限公司 移动IPv6中报文传输方法及UTM设备
CN102647482A (zh) * 2012-03-31 2012-08-22 奇智软件(北京)有限公司 一种访问网站的方法和系统
CN104010051A (zh) * 2014-06-05 2014-08-27 胡汉强 一种访问网络的方法及网络接入设备、管理服务器

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596184A (zh) * 2020-04-30 2021-11-02 华为技术有限公司 混合云系统、网闸、网络访问方法及存储介质
CN113596184B (zh) * 2020-04-30 2023-08-08 华为云计算技术有限公司 混合云系统、网闸、网络访问方法及存储介质
CN112738187A (zh) * 2020-12-24 2021-04-30 合安科技技术有限公司 一种设备的安全连接方法、装置、电子设备及存储介质
CN112738187B (zh) * 2020-12-24 2022-07-05 合安科技技术有限公司 一种设备的安全连接方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN104010051B (zh) 2017-12-08
CN104010051A (zh) 2014-08-27

Similar Documents

Publication Publication Date Title
WO2015184799A1 (zh) 一种访问网络的方法及网络设备、管理服务器
US9961164B2 (en) DNS overriding-based methods of accelerating content delivery
JP6054484B2 (ja) 割り当てられたネットワークアドレスを有するデバイスにアクセスするクライアントローカルプロキシサーバを使用したシステムおよび方法
WO2019028683A1 (zh) 一种获取并收集客户端本地dns服务器的方法以及系统
CN101753606B (zh) 一种实现web反向代理的方法
US9130970B2 (en) Systems for accelerating content delivery via DNS overriding
JP5739023B2 (ja) 割り当てられたネットワークアドレスを有するデバイスにアクセスするウェブプロキシサーバを使用したシステムおよび方法
WO2011029238A1 (zh) 广告投放方法、广告服务器和广告系统
CN107463453B (zh) 同一终端不同应用间通信的方法、装置、设备和存储介质
EP3860095A1 (en) Methods for information drainage, requesting transmission and communication acceleration, and drainage and node server
US8949952B2 (en) Multi-stack subscriber sign on
WO2015039559A1 (zh) 页面重定向方法、路由设备、终端设备及系统
CN103888540B (zh) 登录信息同步方法、被同步和同步网络服务器
JP2017511533A (ja) プロファイルベースのキャッシュ管理
CN104509066B (zh) 一种访问网络的方法及网络设备、管理服务器
WO2015123990A1 (zh) 一种页面推送方法、装置、服务器和系统
US20130268662A1 (en) Hypertext transfer protocol http stream association method and device
JP2002318808A (ja) 個人情報登録支援システム
CN107070885B (zh) 信息处理方法、装置及系统
WO2016095521A1 (zh) 一种域名系统dns重定向的方法、装置和系统
JP4903118B2 (ja) センシングデータを収集するためのwebサーバおよびプログラム
KR20090103552A (ko) 컨텐츠 캐싱을 이용한 웹 페이지 및 웹 컨텐츠 제공 시스템및 방법
US10164819B2 (en) Correlating web traffic events to a web page session
US20160234324A1 (en) Information on navigation behavior of web page users
CN104618242A (zh) 一种报文转发方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15803571

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 14/02/2017 )

122 Ep: pct application non-entry in european phase

Ref document number: 15803571

Country of ref document: EP

Kind code of ref document: A1