Nothing Special   »   [go: up one dir, main page]

CN105827747A - Website access method, client and server within local area network - Google Patents

Website access method, client and server within local area network Download PDF

Info

Publication number
CN105827747A
CN105827747A CN201610284507.3A CN201610284507A CN105827747A CN 105827747 A CN105827747 A CN 105827747A CN 201610284507 A CN201610284507 A CN 201610284507A CN 105827747 A CN105827747 A CN 105827747A
Authority
CN
China
Prior art keywords
client
network
lan server
server
passage
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.)
Pending
Application number
CN201610284507.3A
Other languages
Chinese (zh)
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.)
SHENZHEN ADVANCED RIVER SYSTEM TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN ADVANCED RIVER SYSTEM TECHNOLOGY Co Ltd
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 SHENZHEN ADVANCED RIVER SYSTEM TECHNOLOGY Co Ltd filed Critical SHENZHEN ADVANCED RIVER SYSTEM TECHNOLOGY Co Ltd
Priority to CN201610284507.3A priority Critical patent/CN105827747A/en
Publication of CN105827747A publication Critical patent/CN105827747A/en
Priority to PCT/CN2017/077946 priority patent/WO2017185925A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4535Network directories; Name-to-address mapping using an address exchange platform which sets up a session between two nodes, e.g. rendezvous servers, session initiation protocols [SIP] registrars or H.323 gatekeepers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for access to a website. The method comprises: selecting one channel from at least two network access channels which access a server within a local area network; utilizing the selected channel to access the server within the local area network. The invention further discloses a client and a server within the local area network. In this way, the website access method provided by the invention can select one network access channel to carry out the network connection from the network access channels with multiple manners, the network access is not limited to a single manner, thereby solving the condition that some network environments cannot be accessed; meanwhile, multiple selection manners can also relieve the network instability problem appeared when a single manner is used for accessing.

Description

A kind of access the method for website, client and LAN server
Technical field
The present invention relates to networking technology area, particularly relate to a kind of access the method for website, client and LAN server.
Background technology
In current all of website, most users can be supplied in different geographic regions, or different LANs can directly access, it is all directly Website server to be erected in public network (being called for short " public network "), or have public network IP address constant in the case of, in the LAN that can directly access.
When Website server being erected in a LAN, if allowing most users in different geographic areas, or different LANs is able to access that this website, can be by using dynamic territory analyzing (DynamicDNS, DDNS) the IP address that technology carrys out dynamic analysis domain name corresponding conducts interviews, it is also possible to conducted interviews by Peer-To-Peer through-transmission technique.
In existing technology, most users is in different geographic areas, or different LANs, the method accessing same website, it is essentially all and is conducted interviews by single fixed form, as website is deployed in public network, directly i.e. can be realized by TCP communication modes.If website is disposed in a LAN, or use this website of DDNS dynamic territory analyzing technology access, or use Peer-To-Peer through-transmission technique to access this website.
Summary of the invention
The technical problem that present invention mainly solves is to provide and a kind of accesses the method for website, client and server, can solve the problem that in a LAN is disposed in website, when using single mode to access LAN server, the situation that the network environment that there will be has cannot have access to, or to use single access mode be occurred instability problem.
For solving above-mentioned technical problem, the technical scheme that the present invention uses is: provide a kind of method accessing website, including:
A passage is selected from least two network access path accessing LAN server;
Utilize the channel access LAN server selected.
Wherein, a passage is selected to include from least two network access path accessing LAN server:
Obtain client-access LAN server request data and;
Characterize the characteristic of LAN server;
Judge whether at least two network access path supports that client is connected with the network of LAN server according to request data and characteristic;
From the passage supporting that the network access path that client is connected with the network of LAN server, one response speed of selection is the fastest and/or stability is the highest.
Wherein, the two or more combinations during at least two network access path includes the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
Wherein, a passage is selected to include from least two network access path accessing LAN server:
Obtain the request data of client-access LAN server and characterize the characteristic of LAN server;
Judge whether client and LAN server belong to same LAN or client is positioned under the subnet of LAN server or LAN server is deployed on public network according to request data and characteristic;
If client and LAN server belong to same LAN or client is positioned under the subnet of LAN server or LAN server is deployed on public network, then select TCP direct channel;
Otherwise, determine whether whether at least one network access path remaining supports that client is connected with the network of LAN server and selects a passage.
Wherein, it is judged that whether at least one network access path remaining is supported client to be connected with the network of LAN server and select a passage to include:
Judge whether port mapping passage supports that client is connected with the network of LAN server, the most then select port mapping passage;
If it is not, then judge whether Peer-To-Peer penetration channel supports that client is connected with the network of LAN server, the most then select Peer-To-Peer penetration channel;
If it is not, then judge whether dynamic territory analyzing passage supports that client is connected with the network of LAN server, the most then select dynamic territory analyzing passage;
If it is not, then select the transfer service channel of public network server.
Wherein, it is judged that whether Peer-To-Peer penetration channel supports that client includes before being connected with the network of LAN server:
Judge whether the size of request data or response data exceedes default data-quantity threshold, without exceeding default data-quantity threshold, then select the transfer service channel of public network server, otherwise judge whether Peer-To-Peer penetration channel supports that client is connected with the network of LAN server.
For solving above-mentioned technical problem, another technical solution used in the present invention is: provide a kind of client, including:
Select module, for selecting a passage from least two network access path accessing LAN server;
Link block, for utilizing the channel access LAN server of selection.
Wherein, the two or more combinations during at least two network access path includes the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
For solving above-mentioned technical problem, another technical scheme that the present invention uses is: provide a kind of LAN server, including:
Module is set, the passage of network access can be carried out by client for arranging at least two;
Network service module, for receiving the access request of client, access request is that client utilizes one in passage to be transmitted.
For solving above-mentioned technical problem, another technical scheme that the present invention uses is to provide a kind of LAN server, and LAN server includes that processor, memorizer and bus, processor, memorizer are connected with bus;
Processor can be carried out the passage of network access for arranging at least two by client;
Processor is additionally operable to receive the access request of client, and access request is that client utilizes one in passage to be transmitted.
Memorizer can be carried out the channel parameters of network access for storing at least two by client.
The invention has the beneficial effects as follows: be different from the situation of prior art, the present invention is by selecting a passage from least two network access path accessing LAN server;Utilize the channel access LAN server selected.In this way, the present invention selects a network access path to carry out network connection from the network access path of various ways, network accesses and is not limited to single mode, thus solve some network environment access less than situation, meanwhile, multiple choices mode also can alleviate the unstable networks problem using single mode to occur when accessing.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention accesses method first embodiment of website;
Fig. 2 is the idiographic flow schematic diagram of step S11 in Fig. 1;
Fig. 3 is the schematic flow sheet that the present invention accesses method second embodiment of website;
Fig. 4 is idiographic flow and the annexation schematic diagram that the present invention accesses method second embodiment of website;
Fig. 5 is the structural representation of client the first embodiment of the present invention;
Fig. 6 is the structural representation of client one entity apparatus of the present invention;
Fig. 7 is the structural representation of LAN server the first embodiment of the present invention;
Fig. 8 is the structural representation of LAN server one entity apparatus of the present invention.
Detailed description of the invention
For making those skilled in the art be best understood from technical scheme, with detailed description of the invention, a kind of method of website, client and LAN server of accessing provided by the present invention is described in detail below in conjunction with the accompanying drawings.
Referring to Fig. 1, the present invention accesses method first embodiment of website and includes:
Step S11: select a passage from least two network access path accessing LAN server;
Step S12: utilize the channel access LAN server selected.
Specifically, LAN server refers to that server rack is located in LAN or in private network, user client-access a certain be positioned at LAN website time, need between client with LAN server set up be connected, realize data communication between LAN server and client.But when access belongs to the website in a certain LAN, the most only client can directly access in a LAN with server, and most users, in different geographic regions, or different LANs, all can not directly access this website.
If allowing most users in different geographic areas, or different LANs is able to access that this website, a kind of mode is by using DDNS dynamic territory analyzing technology to conduct interviews, in this case, need that correspondence is installed in LAN server and the client of DDNS service provider is provided, and it is in operation in real time and monitors the change of public network IP address, and be reported in time in the server of DDNS service provider.
Another mode is to use Peer-To-Peer through-transmission technique, this technology is also required in LAN server install the service end that Peer-To-Peer penetrates, simultaneously, it is also required on access end the client that corresponding Peer-To-Peer penetrates is installed, and need to provide Peer-To-Peer to penetrate server to support that Peer-To-Peer penetrates client and penetrates the route of service end to Peer-To-Peer, but Peer-To-Peer through-transmission technique also has certain limitation, it depends on the network complexity of Network Access Provider, on some network, it is also to penetrate successfully, particularly in the more complicated 4G network of network, substantially cannot penetrate successfully.
The third mode is by a machine in a port mapping of the IP address of LAN server to public network, corresponding service is provided, when user accesses this port of this IP address, request is mapped in corresponding LAN server by this machine in public network automatically, realization utilizes public network IP and port mapping to carry out network access, and this mode is called for short port mapping technology.
Above-mentioned only list three kinds when user is in different geographic regions, or in different LANs, access the modes of the website being positioned at LAN server, but access mode be not limited in above-mentioned three kinds of modes, also can have more in actual application, numerous to list herein.
nullAbove-mentioned three kinds of access modes are required in client、Or server、Or configure on relevant routed port,When user accesses a certain website,It is not aware that how server corresponding to this website is disposed,If server corresponding to website is to be deployed on public network,User can directly access this website,But it is not excluded that server disposition corresponding to website situation on a local area network,When server disposition corresponding to website is at LAN,And LAN server only installs the client of DDNS service provider,Or the client that Peer-To-Peer penetrates only is installed,Or simply on routed port, carry out port mapping,According to the access mode that active client is single,Can often occur accessing the situation less than this website,For example,If the client of user is mounted with the client that Peer-To-Peer penetrates,But LAN server has simply done port mapping at router port,When the mode that subscription client utilizes Peer-To-Peer to penetrate accesses the website being positioned at LAN server,Obviously connect unsuccessful.
Therefore, the present invention accesses the method for website and attempts multiple network access path in client, network access path described here i.e. network access mode, select a passage from least two network access path, utilize the channel access LAN server selected.With above-mentioned for example, when the mode that client utilizes Peer-To-Peer to penetrate connects unsuccessful, carry out DDNS dynamic territory analyzing technology again to be attached, connect the most unsuccessful, the most again by utilizing public network IP and port mapping to be attached, owing to LAN server has done port mapping at router port, now successful connection, it is achieved website visiting function.
Obviously, the method utilizing the present invention to access website can slow down the client-access situation less than LAN server, simultaneously, if client and LAN server both can be attached by DDNS dynamic territory analyzing technology, can also be attached by Peer-To-Peer through-transmission technique, but former mode connects instability, now client may be selected by connecting more stable Peer-To-Peer through-transmission technique and is attached, such that it is able to alleviate the instability problem using single mode to occur when accessing.
In present embodiment, as in figure 2 it is shown, from access LAN server at least two network access path select a passage step particularly as follows:
Step S101: obtain the request data of client-access LAN server;
When user accesses website, can be by inputting network address in a browser, can also pass through APP client, construct request data according to the web site requests of network address or APP client, request data includes domain name, client local IP address, subnet mask, gateway information etc..
Step S102: obtain the characteristic characterizing LAN server;
In step s 102, the request data of LAN server customer in response end, return series of features data, characteristic includes IP address, subnet mask, gateway information, router and/or the exchanger information etc. of LAN server.
It should be noted that the characteristic that step S102 after step slol, might not obtain sign LAN server not necessarily needs request data.In some cases, first the characteristic of multiple LAN server can be added up, in the machine of client, carry out caching form statistical table, when client sends request data, in the machine of client, first carry out inquiry obtain the characteristic of response LAN server.
Client obtains the characteristic of sign LAN server when client receives request data, can be inquired about the characteristic of corresponding LAN server by the way of directly transmission further by solicited message;
Or, an intermediate equipment is set up between client and LAN server, such as public network server, rotating function in utilizing public network server to realize, the characteristic of himself is first transmitted to public network server by LAN server, to inquire about in the optional local cache that characteristic is updated client of public network server, it is possible to during the request of Response to selection client terminal website, characteristic is transferred to client.
Step S103: judge whether at least two network access path supports that client is connected with the network of LAN server according to request data and characteristic;
The network access path realizing website visiting has multiple, but is not that each network access path supports that client is connected with the network of LAN server, it is therefore desirable to judge these network access paths.
IP address according to characteristic can show whether the server accessing place, website is deployed on public network;The IP address of IP address, subnet mask and characteristic according to request data, subnet mask can determine whether that client with the server at place, website to be accessed is in same LAN, can show whether the server at place, website to be accessed has carried out port mapping by the gateway information of characteristic, router or exchanger information etc. further, whether support the network access path of Peer-To-Peer through-transmission technique, if can support to utilize DDNS dynamic territory analyzing technology etc..
When at least two network access path is judged, it is judged that process be not limited to successively each network access path be judged, i.e. first determine whether whether a network access path can be used, be further continued for judging whether next network access path can be used;When judge have a network access path can use time, optional to remaining network access path continue judge to backup or preferably select, it is possible to select do not go on judgement.Practical operation also can open multithreading running in client background, multiple network access paths are judged simultaneously, accelerate task response speed, from multiple network access paths, mark the passage supporting that client is connected with the network of LAN server.
Step S104: from the passage supporting that the network access path that client is connected with the network of LAN server, one response speed of selection is the fastest and/or stability is the highest.
After multiple network access paths are judged, if only a network access path supports that network connects, then directly utilize this network access path and be attached realizing network access;If the network access path having more than two supports that network connects, then the passage that prioritizing selection response speed is the fastest from these network access paths and/or stability is the highest.
In the judgement of step S103, can be according to practical experience, by multiple network access paths according to the speed of response speed from judging successively near slow order and/or according to stability order from high to low, so, when judging to have a network access path to support network connection, then directly utilize this network access path and carry out network connection, it is not necessary to more remaining network access path is judged, economize on resources and power consumption.
It should be noted that from supporting that the network access path that client is connected with the network of LAN server, the standard of one passage of selection can not limit at this with other selection standard, the complexity such as realized, based on actual demand.
In other embodiments, step S101-step S104 might not all need to perform, can clipped step, such as, after accessing a certain website first, client local cache can preserve the network access path of this site information and selection, when user accesses this website again, if client is fixed ip address, directly conduct interviews at the network access path performing can directly utilize in local cache after step S101, it is not necessary to the characteristic of LAN server of reentrying and these network access paths are judged.
It is appreciated that, the present invention accesses method first embodiment of website by obtaining the request data of client-access LAN server, and obtain the characteristic characterizing LAN server, judge whether at least two network access path supports that client is connected with the network of LAN server further according to request data and characteristic, then from the passage supporting that the network access path that client is connected with the network of LAN server, one response speed of selection is the fastest, the channel access LAN server selected is utilized.In this way, the present invention selects a network access path to carry out network connection from the network access path of various ways, network accesses and is not limited to single mode, thus solve some network environment access less than situation, meanwhile, multiple choices mode also can alleviate the unstable networks problem using single mode to occur when accessing.
The present invention accesses method second embodiment of website, and at least two network access path includes the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage and public network server.
Wherein, TCP direct channel refers to use traditional TCP communication modes to realize http protocol to access website;Port mapping passage refers to utilize port mapping technology to conduct interviews;Peer-To-Peer penetration channel refers to utilize Peer-To-Peer through-transmission technique to conduct interviews;Dynamic territory analyzing passage refers to utilize DDNS dynamic territory analyzing technology to conduct interviews;The transfer service channel of public network server refers to set up public network server between client and LAN server, public network server provides transfer service channel, response data is sent to public network server by LAN server by transfer service channel, response data is forwarded to client by public network server again, LAN server and public network server, and the communication between public network server and client can be reliably connected by TCP foundation, make communication transfer stable, the communication of this mode can realize the network connecting function of most client-access LAN server.
Fig. 3 is the flow chart of second embodiment of the invention, Fig. 4 is the particular flow sheet refining Fig. 3, also show the annexation between client, LAN server, public network server in Fig. 4, please also refer to Fig. 3 and Fig. 4, the method concrete steps accessing website include:
Step S21: obtain the request data of client-access LAN server;
In the step s 21, when user accesses website, can be by inputting network address in a browser, it is also possible to by APP client, web site requests structure request data according to network address or APP client, request data includes domain name, client local IP address, subnet mask, gateway information etc..
Step S22: obtain the characteristic characterizing LAN server;
In step S22, the request data of LAN server customer in response end, return series of features data, characteristic includes IP address, subnet mask, gateway information, router and/or the exchanger information such as routing table etc. of LAN server.
In present embodiment, a public network server is set up between client and LAN server, utilize rotating function in the channel service management module realization of public network server, the characteristic of himself is first transmitted to the channel service management module of public network server by LAN server, to inquire about in the optional local cache that characteristic is updated client of public network server and configuration, when also may select customer in response end web site requests, characteristic is transferred to client.
Step S23: judge whether client and LAN server belong to same LAN or client is positioned under the subnet of LAN server or LAN server is deployed on public network according to request data and characteristic;
If client and LAN server belong to same LAN or client is positioned under the subnet of LAN server or LAN server is deployed on public network, then select TCP direct channel;
Specifically, can show whether LAN server is deployed on public network according to the IP address of characteristic;The IP address of IP address, subnet mask and characteristic according to request data, subnet mask can determine whether that client with LAN server is in same LAN, or client is positioned under the subnet under LAN server.
If client and LAN server belong to same LAN, or client is positioned under the subnet of LAN server, or LAN server is deployed on public network, now client can be directly connected to website in LAN server by TCP direct channel and conducts interviews and alternately, certainly, client also can pass through port mapping passage, the modes such as DDNS dynamic territory analyzing passage conduct interviews, but by contrast, the development of TCP direct channel is more ripe, response speed is faster, more reliable and more stable, the most in general TCP direct channel can directly be selected.
Step S24: otherwise, determines whether whether at least one network access path remaining supports that client is connected with the network of LAN server.
Specifically, when client and LAN server are not belonging to same LAN or client, not under the subnet of LAN server or LAN server is deployed on public network, cannot directly be conducted interviews by TCP direct channel, at this moment, needing to judge at least one network access path remaining, at least one network access path the most remaining includes the transfer service channel of port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage and public network server.
In present embodiment, according to previous experiences, the transfer service channel of port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage and public network server is ranked up according to the speed of response speed, judge successively, when network connects when there being a network access path to support, directly utilize this network access path and be attached.Concretely comprising the following steps of step S24:
Sub-step S205: otherwise, determines whether whether port mapping passage supports that client is connected with the network of LAN server, the most then select port mapping passage;
Specifically, inquiry gateway information, router or exchanger information confirm whether a port of the IP address of LAN server is mapped in public network server, if port mapping is in public network server, and the port of correspondence is not disabled by network insertion business, public network IP can be directly utilized and port mapping carries out network access.
Sub-step S206: judge whether the size of request data or response data exceedes default data-quantity threshold, without exceeding default data-quantity threshold, then selects the transfer service channel of public network server;
If user accesses the request data of website or response data is less, in default data-quantity threshold, such as 1M, the most only illustrate, the actual data-quantity threshold preset can arrange different numerical value according to accessing the speed of website, Consumer's Experience etc., can directly select the transfer service channel of public network server, response speed is very fast, better user experience;If user accesses the request data of website or response data is relatively big, the transfer service channel transmission data utilizing public network server can be slow, affects Consumer's Experience.
Sub-step S207: if it is not, then judge whether Peer-To-Peer penetration channel supports that client is connected with the network of LAN server, the most then select Peer-To-Peer penetration channel;
LAN server is installed the service end that Peer-To-Peer penetrates, simultaneously, access end is installed the client that corresponding Peer-To-Peer penetrates, and Peer-To-Peer penetrates server and supports that Peer-To-Peer penetrates client and penetrates the route of service end to Peer-To-Peer, now, Selection utilization Peer-To-Peer penetration channel conducts interviews, fast response time.
Sub-step S208: if it is not, then judge whether dynamic territory analyzing passage supports that client is connected with the network of LAN server, the most then select dynamic territory analyzing passage;
LAN server is installed correspondence the client of DDNS service provider is provided, and it is in operation in real time and monitors the change of public network IP address, and be reported in the server of DDNS service provider in time, now, Selection utilization dynamic territory analyzing passage conducts interviews.
Sub-step S209: if it is not, then select the transfer service channel of public network server.
If above-mentioned network access path does not the most support the connection that client arrives LAN server, then may utilize the transfer service channel of public network server, this needs to set up public network server between client and LAN server and connects, and sets up the subsystem of transfer service channel, module or application program in public network server.The transfer service channel utilizing public network server realizes website data and alternately and forwards.
In other embodiments, sub-step S205-sub-step S209 can start multithreading by backstage and carry out simultaneously, the passage that therefrom Response to selection is fastest or stability is high, as required, and the order of sub-step S205-sub-step S209 also interchangeable.
The present invention accesses method second embodiment of website by obtaining the request data of client-access LAN server, and obtain the characteristic characterizing LAN server, TCP direct channel is judged further according to request data and characteristic, port mapping passage, Peer-To-Peer penetration channel, whether the transfer service channel of dynamic territory analyzing passage and public network server supports that client is connected with the network of LAN server, then from the passage supporting that the network access path that client is connected with the network of LAN server, one response speed of selection is the fastest, utilize the channel access LAN server selected.In this way, the present invention selects a network access path to carry out network connection from the network access path of various ways, network accesses and is not limited to single mode, thus solve some network environment access less than situation, meanwhile, multiple choices mode also can alleviate the unstable networks problem using single mode to occur when accessing.
Refer to Fig. 5, the first embodiment of client of the present invention, including: select module 31 and link block 32, select module 31 to be connected with link block 32.
Select module 31 for selecting a passage from least two network access path accessing LAN server 33;
Wherein, the two or more combinations during at least two network access path includes the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
Link block 32 is for utilizing LAN server 33 described in the channel access of described selection.
Referring to Fig. 6, client one entity apparatus of the present invention, including processor 41, memorizer 42 and bus 43, processor 41, memorizer 42 are connected with bus 43.
Processor 41 is for selecting a passage from least two network access path accessing LAN server;
Wherein, the two or more combinations during at least two network access path includes the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
Processor 41 is additionally operable to utilize the channel access LAN server selected.
Memorizer 42 is for storing the parameter of at least two network access path, and the data of processor 41 operation, caching etc..
Refer to Fig. 7, LAN server the first embodiment of the present invention, including: arrange module 51 and with the network service module 52 that module 51 is connected is set.
Module 51 is set and can be carried out the passage of network access for arranging at least two by client 53;
Network service module 52 is for receiving the access request of client, and access request is that client 53 utilizes one in passage to be transmitted.
Refer to Fig. 8, LAN server one entity apparatus of the present invention, including: processor 61, memorizer 62 and bus 63, processor 61, memorizer 62 are connected with bus 63.
Processor 61 can be carried out the passage of network access for arranging at least two by client;
Processor 61 is additionally operable to receive the access request of client, and access request is that client utilizes one in passage to be transmitted.
Memorizer 62 is for storing the parameter that at least two can be carried out the passage of network access by client, and data in processor 61 operation, caching etc..
Client provided by the present invention, LAN server several embodiments in, it should be understood that disclosed system, apparatus and method, can realize by another way.Such as, device embodiments described above is only schematically, such as, described module or the division of unit, be only a kind of logic function to divide, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, completely or partially can embodying with the form of software product of part that prior art is contributed by technical scheme the most in other words or this technical scheme, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (10)

1. the method accessing website, it is characterised in that described method includes:
A passage is selected from least two network access path accessing LAN server;
Utilize LAN server described in the channel access of described selection.
Method the most according to claim 1, it is characterised in that described from access LAN server at least two network access path select a passage include:
Obtain the request data of LAN server described in client-access and characterize the characteristic of described LAN server;
Judge whether described at least two network access path supports that described client is connected with the network of described LAN server according to described request data and described characteristic;
The passage that a response speed is the fastest and/or stability is the highest is selected with the network of described LAN server from the network access path that the described client of described support is connected.
Method the most according to claim 1, it is characterised in that
Described at least two network access path includes the two or more combinations in the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
Method the most according to claim 3, it is characterised in that described from access LAN server at least two network access path select a passage include:
Obtain the request data of LAN server described in client-access and characterize the characteristic of described LAN server;
Judge whether described client and described LAN server belong to same LAN or described client is positioned under the subnet of described LAN server or described LAN server is deployed on public network according to described request data and described characteristic;
If described client and described LAN server belong to same LAN or described client is positioned under the subnet of described LAN server or described LAN server is deployed on public network, then select described TCP direct channel;
Otherwise, determine whether whether at least one network access path remaining supports that described client is connected with the network of described LAN server and selects a passage.
Method the most according to claim 4, it is characterised in that described judge whether at least one network access path remaining supports that described client is connected with the network of described LAN server and selects a passage to include:
Judge whether described port mapping passage supports that described client is connected with the network of described LAN server, the most then select described port mapping passage;
If it is not, then judge whether described Peer-To-Peer penetration channel supports that described client is connected with the network of described LAN server, the most then select described Peer-To-Peer penetration channel;
If it is not, then judge whether described dynamic territory analyzing passage supports that described client is connected with the network of described LAN server, the most then select described dynamic territory analyzing passage;
If it is not, then select the transfer service channel of described public network server.
Method the most according to claim 5, it is characterised in that described judge whether Peer-To-Peer penetration channel supports that described client includes before being connected with the network of described LAN server:
Judge whether the size of described request data or response data exceedes default data-quantity threshold, without exceeding described default data-quantity threshold, then select the transfer service channel of described public network server, otherwise judge whether described Peer-To-Peer penetration channel supports that described client is connected with the network of described LAN server.
7. a client, it is characterised in that including:
Select module, for selecting a passage from least two network access path accessing LAN server;
Link block, for utilizing LAN server described in the channel access of described selection.
Client the most according to claim 7, it is characterised in that
Described at least two network access path includes the two or more combinations in the transfer service channel of TCP direct channel, port mapping passage, Peer-To-Peer penetration channel, dynamic territory analyzing passage, public network server.
9. a LAN server, it is characterised in that including:
Module is set, the passage of network access can be carried out by client for arranging at least two;
Network service module, for receiving the access request of described client, described access request is that described client utilizes one in described passage to be transmitted.
10. a LAN server, it is characterised in that include that processor, memorizer and bus, described processor, described memorizer are connected with described bus;
Described processor can be carried out the passage of network access for arranging at least two by client;
Described processor is additionally operable to receive the access request of described client, and described access request is that described client utilizes one in described passage to be transmitted.
Described memorizer can be carried out the channel parameters of network access for storing described at least two by client.
CN201610284507.3A 2016-04-28 2016-04-28 Website access method, client and server within local area network Pending CN105827747A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610284507.3A CN105827747A (en) 2016-04-28 2016-04-28 Website access method, client and server within local area network
PCT/CN2017/077946 WO2017185925A1 (en) 2016-04-28 2017-03-23 Method of accessing website, client, and local area network server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610284507.3A CN105827747A (en) 2016-04-28 2016-04-28 Website access method, client and server within local area network

Publications (1)

Publication Number Publication Date
CN105827747A true CN105827747A (en) 2016-08-03

Family

ID=56527880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610284507.3A Pending CN105827747A (en) 2016-04-28 2016-04-28 Website access method, client and server within local area network

Country Status (2)

Country Link
CN (1) CN105827747A (en)
WO (1) WO2017185925A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172227A (en) * 2017-05-19 2017-09-15 福建星网智慧科技股份有限公司 A kind of method and system accessed based on many upstream plants
WO2017185925A1 (en) * 2016-04-28 2017-11-02 深圳市先河系统技术有限公司 Method of accessing website, client, and local area network server
CN109451596A (en) * 2018-10-29 2019-03-08 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN110430166A (en) * 2019-07-03 2019-11-08 韵盛发科技(北京)股份有限公司 Establish the method and system in LAN services channel
CN113037819A (en) * 2021-02-26 2021-06-25 杭州雾联科技有限公司 Edge computing resource sharing method, device and equipment
CN114157564A (en) * 2021-12-07 2022-03-08 中信银行股份有限公司 Method, device and equipment for detecting network access state and readable storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110611724A (en) * 2018-06-15 2019-12-24 上海仪电(集团)有限公司中央研究院 Internet of things gateway intranet penetration method based on reverse proxy
CN113037541B (en) * 2021-02-23 2023-05-12 深信服科技股份有限公司 Network equipment management method, equipment and storage medium
CN114363418A (en) * 2022-01-07 2022-04-15 北京金山云网络技术有限公司 Method and device for accessing intranet database, storage medium and electronic equipment
CN114598735B (en) * 2022-01-30 2024-05-14 阿里巴巴(中国)有限公司 Data processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282328A (en) * 2007-04-02 2008-10-08 北京下午茶科技有限公司 Method for accessing internet inner-network Web service
CN101605138A (en) * 2009-07-14 2009-12-16 中兴通讯股份有限公司 Document transmission method and terminal
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN103312827A (en) * 2013-07-15 2013-09-18 孟凡忠 Home cloud control method and system on basis of mobile network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827747A (en) * 2016-04-28 2016-08-03 深圳市先河系统技术有限公司 Website access method, client and server within local area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115113A1 (en) * 1998-12-08 2010-05-06 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
CN101282328A (en) * 2007-04-02 2008-10-08 北京下午茶科技有限公司 Method for accessing internet inner-network Web service
CN101605138A (en) * 2009-07-14 2009-12-16 中兴通讯股份有限公司 Document transmission method and terminal
CN103312827A (en) * 2013-07-15 2013-09-18 孟凡忠 Home cloud control method and system on basis of mobile network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒙艳琳等: "一种新的外网访问内网的混合方法", 《2009年研究生学术交流会通信与信息技术论文集》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185925A1 (en) * 2016-04-28 2017-11-02 深圳市先河系统技术有限公司 Method of accessing website, client, and local area network server
CN107172227A (en) * 2017-05-19 2017-09-15 福建星网智慧科技股份有限公司 A kind of method and system accessed based on many upstream plants
CN109451596A (en) * 2018-10-29 2019-03-08 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN110430166A (en) * 2019-07-03 2019-11-08 韵盛发科技(北京)股份有限公司 Establish the method and system in LAN services channel
CN110430166B (en) * 2019-07-03 2021-12-21 韵盛发科技(北京)股份有限公司 Method and system for establishing local area network service channel
CN113037819A (en) * 2021-02-26 2021-06-25 杭州雾联科技有限公司 Edge computing resource sharing method, device and equipment
CN114157564A (en) * 2021-12-07 2022-03-08 中信银行股份有限公司 Method, device and equipment for detecting network access state and readable storage medium
CN114157564B (en) * 2021-12-07 2024-10-01 中信银行股份有限公司 Method, device, equipment and readable storage medium for detecting network access state

Also Published As

Publication number Publication date
WO2017185925A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN105827747A (en) Website access method, client and server within local area network
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
CN101692674B (en) Method and equipment for double stack access
CN101442566B (en) Method and apparatus for implementing dynamic domain name update
WO2016145753A1 (en) Method, device and system for processing traffic of mobile terminal based on content delivery network
US20120054266A1 (en) Optimized Content Distribution Based on Metrics Derived from the End User
US20120054265A1 (en) Optimized Content Distribution Based on Metrics Derived from the End User
EP2787742B1 (en) Method and system for transmitting network video
CN104579887A (en) Cloud gateway as well as cloud gateway creation and configuration system and method
TW201008177A (en) Selectively re-mapping a network topology
CN112311907B (en) ARP request response method, load balancing equipment and related device
WO2008119214A1 (en) A method for accessing the internal network web service of the internet
CN102368789A (en) Method and system for connecting dual-stack terminal to network
CN104717314A (en) IP management method and system, client-side and server
CN110012118B (en) Method and controller for providing Network Address Translation (NAT) service
JP2008522464A (en) Method and system for agent to redirect terminal request
CN106470251A (en) Domain name analytic method and virtual DNS authority server
CN111193778B (en) Method and device for balancing WEB service load
KR101682513B1 (en) Dns proxy service for multi-core platforms
EP3937502A1 (en) Method, apparatus and device for pushing video stream, and storage medium
CN102387201A (en) Method, device and system for processing service data
CN111371880A (en) Dialing cloud server capable of dynamically switching IP
CN113612675B (en) Distributed intranet transparent implementation architecture and method
CN113301079A (en) Data acquisition method, system, computing device and storage medium
US9860171B2 (en) Large scale message routing in a distributed network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination