CN108667646A - network access method and device - Google Patents

network access method and device Download PDF

Info

Publication number
CN108667646A
CN108667646A CN201810241959.2A CN201810241959A CN108667646A CN 108667646 A CN108667646 A CN 108667646A CN 201810241959 A CN201810241959 A CN 201810241959A CN 108667646 A CN108667646 A CN 108667646A
Authority
CN
China
Prior art keywords
network
access
control parameter
access control
client
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
CN201810241959.2A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810241959.2A priority Critical patent/CN108667646A/en
Publication of CN108667646A publication Critical patent/CN108667646A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of Network Access Method and devices, are related to Internet technical field.The method includes:According to the local information of client, the first access control parameter is obtained from network optimization service device, wherein, the local information includes at least one of network operator, network bandwidth, present position, client address and local dns list, and network access is carried out based on the first access control parameter.The present invention can improve the safety and reliability of network connection, and then improve the quality that network accesses.

Description

Network Access Method and device
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of Network Access Method and device.
Background technology
With the development of Internet technology, network has become a part indispensable in user's life.User can be with By accessing network, resource or service, such as downloaded data or online viewing video etc. are quickly and easily obtained from network.
In the prior art, the data such as resource or service are deployed in data server, client can be accessed by network, Network connection is established with the data server, data are obtained from the data server, to acquire the data server The resource provided or service, wherein the quality of network connection can be directly related to from the data server and obtain resource or clothes The quality of business.The quality of network access can be usually improved by way of increasing network bandwidth, but is situated between by network transmission The limitation of matter and network operator, increasable network bandwidth is fairly limited, and therefore, the mode for increasing network bandwidth has been difficult to Effect improves reliability and the safety of network connection, and the effect for improving network access quality is fairly limited.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the Network Access Method and device of problem.
One side according to the present invention provides Network Access Method, including:
According to the local information of client, the first access control parameter is obtained from network optimization service device, wherein described Ground information includes network operator, network bandwidth, present position, client address and local dns (Domain Name At least one of System, domain name system) list;
Network access is carried out based on the first access control parameter.
Optionally, described after network optimization service device obtains the first access control parameter, the method further includes:
If obtaining the first access control parameter failure from the network optimization service device, the second visit is obtained from local Ask control parameter;
The network access is carried out based on the second access control parameter.
Optionally, the method further includes:
If the network accesses failure, Network Fault Detection is carried out.
Optionally, after the progress Network Fault Detection, the method further includes:
If determining that physical layer is normal according to Network Fault Detection result, based on current access address, the local information With the Network Fault Detection as a result, obtaining the third access control parameter from the network optimization service device.
Optionally, the method further includes:
Log history accesses data, and it includes accessing result and carrying out the network access to be used that the history, which accesses data, Access control parameter;
The history is accessed into data feedback to the network optimization service device.
According to another aspect of the present invention, a kind of Network Access Method is provided, including:
The local information that client is submitted is received, the first access control parameter is obtained according to the local information, wherein institute It includes at least one in network operator, network bandwidth, present position, client address and local dns list to state local information It is a;
It gives the first access control parameter feedback to the client, is accessed so that the client is based on described first Control parameter carries out network access.
Optionally, the local information submitted in the reception client obtains first according to the local information and accesses control Before parameter processed, the method further includes:
The local information and history for obtaining multiple client access data;
Data are accessed according to the history got, determination is corresponded respectively to each local information at least one local information Access control parameter.
Optionally, the history got in the basis accesses data, determines and corresponds respectively to at least one local letter In breath before the access control parameter of each local information, the method further includes:
Data are accessed to the history got to be sampled;
The history that the basis is got accesses data, and determination is corresponded respectively to each local at least one local information The access control parameter of information includes:
Data are accessed according to the history that sampling obtains, determines and corresponds respectively to each local letter at least one local information The access control parameter of breath.
Optionally, the method further includes:
Receive the local information, access address and Network Fault Detection result that the client is submitted;
Based on the local information, the access address and Network Fault Detection as a result, to the client feedback third Access control parameter.
According to another aspect of the present invention, a kind of network access device is provided, including:
First acquisition module obtains first from network optimization service device and accesses control for the local information according to client Parameter processed, wherein the local information includes network operator, network bandwidth, present position, client address and local dns At least one of list;
First access modules, for carrying out network access based on the first access control parameter.
Optionally, described device further includes:
Second acquisition module, if for obtaining the first access control parameter failure from the network optimization service device, Then the second access control parameter is obtained from local;
Second access modules, for carrying out the network access based on the second access control parameter.
Optionally, described device further includes:
Detection module carries out Network Fault Detection if accessing failure for the network.
Optionally, described device further includes:
Third acquisition module, if for determining that physical layer is normal according to Network Fault Detection result, based on current visit Address, the local information and the Network Fault Detection are asked as a result, obtaining third from the network optimization service device accesses control Parameter processed;
Third access modules, for carrying out the network access based on the third access control parameter.
Optionally, described device further includes:
Logging modle, for log history access data, it includes accessing described in result and progress that the history, which accesses data, Access control parameter used by network accesses;
Feedback module, for the history to be accessed data feedback to the network optimization service device.
According to another aspect of the present invention, a kind of network access device is provided, which is characterized in that including:
First receiving module, the local information for receiving client submission obtain first according to the local information and visit Ask control parameter, wherein the local information includes network operator, network bandwidth, present position, client address and local At least one of DNS lists;
First feedback module, for giving the first access control parameter feedback to the client, so that the client End group carries out network access in the first access control parameter.
Optionally, described device further includes:
First acquisition module, local information and history for obtaining multiple client access data;
Determining module is determined and is corresponded respectively to at least one local letter for accessing data according to the history got The access control parameter of each local information in breath.
Optionally, described device further includes:
Decimation blocks are sampled for accessing data to the history got;
The determining module includes:
Determination sub-module, the history for being obtained according to sampling access data, and determination is corresponded respectively to at least one The access control parameter of each local information in ground information.
Optionally, described device further includes:
Second receiving module, the local information, access address and the network failure submitted for receiving the client Testing result;
Second feedback module, for based on the local information, the access address and the Network Fault Detection as a result, To the client feedback third access control parameter.
In embodiments of the present invention, first can be obtained from network optimization service device according to the local information of client to access Control parameter, acquired the first obtained access control parameter are access control parameter corresponding with the local information, because And can be based on the first access control parameter, to client access network process control, make client according to the visitor The mode that the local information at family end is consistent carries out network access, improves the safety and reliability of network connection, and then improve The quality that network accesses.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one Network Access Method;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two Network Access Method;
Fig. 3 is a kind of step flow chart of according to embodiments of the present invention three Network Access Method;
Fig. 4 is a kind of structure diagram of according to embodiments of the present invention three client;
Fig. 5 is a kind of structure diagram of according to embodiments of the present invention three network optimization service device;
Fig. 6 is a kind of according to embodiments of the present invention three Network Access Method flow chart applied to client;
Fig. 7 is a kind of structure diagram of according to embodiments of the present invention four network access device;
Fig. 8 is a kind of structure diagram of according to embodiments of the present invention five network access device.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Embodiment one
Referring to Fig.1, a kind of step flow chart of Network Access Method in the embodiment of the present invention is shown.Specific steps packet It includes:
Step 101, according to the local information of client, the first access control parameter, institute are obtained from network optimization service device It includes at least one in network operator, network bandwidth, present position, client address and local dns list to state local information It is a.
Since different clients may have different local informations, correspondingly, the client accesses the ability of network Difference, for example, the network that same client is provided using heterogeneous networks operator, net is established with same data server The validity and reliability of network connection may be different, therefore, for the ease of being consistent subsequently through the local information with client Network access mode carry out network access, improve the safety and reliability of network connection, and then improve the matter that network accesses Amount, client can obtain the first access control parameter according to the local information of the client from network optimization service device.
Client, which has, to be established and uses network-connectivity, so as to be interacted with server.The client can To include mobile phone, computer, intelligent wearable device (such as smartwatch or Intelligent bracelet) and intelligentized Furniture (such as intelligent sound box Any of or intelligent TV set).
Local information is the data for illustrating client or client local environment, during which may include aforementioned At least one of network operator, network bandwidth, present position, client address and local dns list.Certainly, in reality In, local information can also include other data that can illustrate client or client local environment, for example, packet Include at least one of the software version in the hardware parameter and client in client type, client identification, client.
Network operator's fingering row network operation and the entity that service is provided, for example may include mobile, unicom or telecommunications.
Network bandwidth refers to data volume transmitted in unit time.
Present position refers to the geographical location residing for client, can pass through longitude and latitude or the geographic name table in residing region Show.
Client address refers to the physical address of client, for example, the client address may include client ip (Media Access Control, media are visited for (Internet Protocol, Internet protocol) address and/or client mac Ask control) address.
Local dns list can be stored with dns server address, and domain name and corresponding access are accessed alternatively, being stored with IP address.
Client type refers to the classification of client, for example, the client type may include it is aforementioned in mobile phone, computer, intelligence It can wearable device or intelligentized Furniture.
Client identification refer to client identity mark, for example, the client identification may include client name, number or Dispatch from the factory sequence number.
Hardware parameter in client refers to the information such as ardware model number in client.
Software version in client refers to the version information of software application in client.
Wherein, client can be by being detected client, to obtain above-mentioned local information, certainly, in reality In, which can also acquire above-mentioned local information otherwise, for example, receiving the number that user submits According to obtaining.
Client can be carried local information by sending the request of access control parameter acquiring to network optimization service device In access control parameter acquiring request, to ask network optimization service device to feed back access control parameter.The network optimization takes Being engaged in device can be to client offer network optimization service, including works as and receive client submission access control parameter acquiring request When, the local information that can include according to the access control parameter, to client feedback visit corresponding with the local information Ask control parameter.The network optimization service device may include a server or a server cluster.
Access control parameter is the data for being controlled the mode for accessing network.First access control parameter can be with For network optimization service device is predetermined, corresponding with the local information of client access control parameter.
In embodiments of the present invention, optionally, the network for the ease of being consistent subsequently through the local information with client Access mode carries out network access, improves the validity and reliability of network connection, and then improves the quality that network accesses, and accesses Control parameter include access protocol, access address, connection duration threshold value, transmission duration threshold value, redirect number, certificate information, At least one of transformat, coding mode.
Access protocol instigates a node in network that can perceive another node, and establishes network connection with the node and carry out The control specification of communication, for example, the access protocol may include HTTP (HyperText Transfer Protocol, hypertext Transport protocol) agreement, UDP (User Datagram Protocol, User Datagram Protocol) agreements and FTP (File At least one of Transfer Protocol, text transfer protocol) agreement.Certainly, actually in application, which assists View can also can illustrate to enable a node in network to perceive another node including other, and establish network with the node and connect Tap into the agreement of the control specification of row communication.
Access address refers to the address accessed for network, and meets any access protocol, may include accessing domain name, accessing At least one of IP address and access port.
For example, access address may include the access address of data server or the access address of dns server.
Connection duration refers to a node in network and establishes network company with another node (such as client and data server) Connect spent duration.Connect the threshold value that duration threshold value is the connection duration.
Transmission duration refer to spent by a node and network connection unit of transfer data of another node by foundation when It is long.Transmit the threshold value that duration threshold value is the transmission duration.
Redirection refers to the mode that network request is transferred back to new position, including an access address is redirected For another access address.
Certificate information includes whether to be verified the safety certificate of node, whether with verify unsanctioned node and establish net The enabled information such as network connection carry out the entrained safety certificate of network access.
Wherein, node refers to any appliance in network, for example may include client, data server or network optimization clothes Business device.Safety certificate is used to illustrate the safety and reliability of node, so as to ensure the safety of established network connection Property and reliability, improve network access quality.
Transformat refers to the format of the transmission data in network access procedure.
Coding mode refers to is programmed for the identifiable number of computer according to prespecified standard by a certain object information Mode, for example, the coding mode may include Unicode (Unicode) or ASCII (American Standard Code for Information Interchange, USA standard code for information interchange), can also include it in practical applications certainly Its coding mode.
The access control parameter for different local informations can be determined in advance in network optimization service device, and will be determining Local information and corresponding access control parameter are stored.For example, network optimization service device can obtain at least one visitor The local information at family end and the client access used access control parameter when network, according to local information, to accessing Control parameter is classified, and at least one local information and the corresponding access control parameter of each local information are obtained;Alternatively, net Network optimization server can receive the local information of related technical personnel's submission and corresponding access control parameter, and will receive To local information and corresponding access control parameter store to the correspondence between local information and access control parameter In.Certainly, in practical applications, local information and right can also be determined in advance in network optimization service device otherwise The access control parameter answered.
Data server is used to provide resource or service to client.The data server may include a server or One server cluster.
Certainly, in practical applications.Network optimization service device and data server may be implemented as in a server not Same function module, alternatively, being implemented as the different server in a server cluster.
Step 102, it is based on the first access control parameter and carries out network access.
Since the first access control parameter is corresponding with the local information of client, that is, meet the client or the client Local environment is held, therefore, the first access control parameter can be based on and carry out network access.
Client can be based on the first access control parameter, and network is initiated to data server according to determining access address Access request obtains the resource or service that data server is provided to carry out network access to the data server.
Client can receive the access address of user's submission as the current access address for carrying out network access, alternatively, Access address is obtained in the first access control parameter as current access address.
When client need not obtain access address from network optimization service device, for example, client is to be opened in one The PC in network is put, which may access any data server in network, and therefore, client can connect The access address of user's submission is received as current access address.When client needs to obtain access from network optimization service device When location could carry out network access, for example client is in certain and is specifically only able to access that limited data server, client End can obtain the access address that access control parameter includes.
Wherein, client can carry access address in access control parameter acquiring above-mentioned request and enable information, with Enable whether information explanation needs network optimization service device to feed back access address by the access address.
In addition, in another alternative embodiment of the present invention, client can not also send to network optimization service device and visit It asks address enable information, if receiving the access address of user's submission, and receives in the access control parameter of client offer Including access address, can determine the access address of submitting user or access control parameter according to the rule being previously set The access address for including, as current access address.
When the first access control parameter includes access protocol, network access request can be sent out based on the access protocol, For example send out HTTP request;When the first access control parameter includes access address, which can be carried in network In access request, to access the corresponding data server of the access address;When the first access control parameter includes connection duration When threshold value, can with data server establish network connection more than (being more than) this connect duration threshold value when, determine establish connect Connect failure;When the first access control parameter includes transmission duration, the network connection transmission data by establishing can be being determined Duration be more than the transmission duration when disconnect network connection;When the first access control parameter includes redirecting number, Ke Yi When determining that the number that access address is redirected is more than the redirection number, stop carrying out network access and determine that network accesses to lose It loses;When the first access control parameter includes certificate information, can be determined whether according to the certificate information in network development process into Whether the verification of row safety certificate establishes network connection with the unsanctioned node of verification or carries out the entrained safety of network access Certificate etc.;When the first access control parameter includes transformat, the transmission lattice can be met according to data server transmission The data (such as aforementioned in network access request) of formula;It, can be according to when the first access control parameter includes coding mode The coding mode encodes the data transmitted.
In embodiments of the present invention, first can be obtained from network optimization service device according to the local information of client to access Control parameter, acquired the first obtained access control parameter are access control parameter corresponding with the local information, because And can be based on the first access control parameter, to client access network process control, make client according to the visitor The mode that the local information at family end is consistent carries out network access, improves the safety and reliability of network connection, and then improve The quality that network accesses.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of Network Access Method in the embodiment of the present invention is shown.Specific steps packet It includes:
Step 201, the local information that client is submitted is received, the first access control ginseng is obtained according to the local information Number, the local information include in network operator, network bandwidth, present position, client address and local dns list extremely It is one few.
Since different clients may have different local informations, different local informations that client can be made to access net The ability of network difference, for example, the network that same client is provided using heterogeneous networks operator, with same data service The validity and reliability that device establishes network connection may be different, therefore, for the ease of subsequently through the local with client The network access mode that information is consistent carries out network access, improves the validity and reliability of network connection, and then improve network The quality of access, network optimization service can receive the local information of client offer, access and control to the client feedback first Parameter processed.
Local information and corresponding access control parameter can be determined in advance in network optimization service device;Or it can be prior Determine that the control parameter for being computed or looked up to obtain corresponding access control parameter according to local information handles strategy, so as to root Corresponding access control parameter is determined according to the local information of submission.
Control parameter processing strategy is the strategy that corresponding access control parameter is determined according to local information.The control parameter Processing strategy can in advance be obtained by network optimization service device, for example received user and submitted to obtain.The control parameter handles plan Machine learning model or other mathematical models can be slightly presented as, so as to receive the local information of input, and output pair The access control parameter answered.
Can be by the local information submitted in advance by reception and corresponding access control parameter, or pass through in advance Control parameter processing strategy determination in aforementioned obtains the corresponding access control parameter of local information, then by local information and Corresponding access control parameter is stored into the correspondence of local information and access control parameter.
In addition, network optimization service device determines the mode of corresponding access control parameter according to local information, can also join See below the associated description in continuing.
Step 202, the first access control parameter feedback is given to the client, so that the client is based on described First access control parameter carries out network access.
Due to the access control parameter that the local information submitted according to client determines, i.e. the first access control ginseng Number, is corresponding with the local information of client, meets the client or the client local environment, therefore, can be by the One access control parameter feedback gives the client, and network access is carried out to make the client be based on the first access control parameter.
In embodiments of the present invention, the local information that can receive client obtains simultaneously according to the local information of client To client feedback the first access control parameter, the first access control parameter fed back is corresponding with the local information Access control parameter, it is thus possible to which client is based on the first access control parameter, and the process for accessing client network is controlled System, carry out network access in a manner of being consistent according to the local information with the client, improve network connection safety and Reliability, and then improve the quality of network access.
Embodiment three
With reference to Fig. 3, a kind of step flow chart of Network Access Method in the embodiment of the present invention is shown.Specific steps packet It includes:
Step 301, network optimization service device obtains the local information of multiple client and history accesses data, the history It includes accessing result and carrying out access control parameter used by the network accesses to access data.
In order to carry out the detailed process of network access according to client and access accordingly as a result, being calculated by big data The access control parameter for different local informations is accurately determined, that is, improves to the client of different local informations and access is provided The accuracy of control parameter, network optimization service device can obtain local information and history access number from multiple client According to.
In embodiments of the present invention, optionally, the standard of the access control parameter suitable for client is obtained in order to improve determination True property, local information include at least one of network operator, network bandwidth, present position and client address.
History accesses data and is recorded to obtain to the process for carrying out network access by client.Client can be with daily record Or other manner, the history for carrying out network access is accessed into data and access result records, is visited to obtain history Ask data.It is that history corresponding with the local information of client accesses data that the history, which accesses data,.
Access result may include access failure or successfully;If accessing failure, which can also include failure The result of detection.Certainly, in practical applications, it can also includes other information related with network access to access result, such as Carry out the practical connection duration and actual transmissions duration of network access.
Local information and history actively can be accessed data and be sent to network optimization service device by client, for example work as record History access when data are more than preset number sent to the network optimization service device, often record obtains history and accesses data When immediately by the history access data be sent to the network optimization service device or timing to the network optimization service device send etc..
Wherein, preset number can be determined in advance by client, for example received the numerical value that user submits and determined.
In addition, in practical applications, the sheet of the client can also be actively obtained from client by network optimization service device Ground information and history access data;Alternatively, the network optimization service device directly can not also obtain the client from client Local information and history access data, but obtained from third party device the client of storage local information and history visit Ask data.
Step 302, the network optimization service device accesses data to the history got and is sampled.
From the foregoing it will be appreciated that network optimization service device can acquire the local information of multiple client and history accesses data, Therefore, network optimization service device may collect a large amount of local information and corresponding history accesses data, so being The efficiency for determining the access control parameter corresponding to local information is improved, data can be accessed to the history got and taken out Sample.
Network optimization service device can access data to history at random according to special ratios and carry out according to default Sampling Strategies Sampling.
Wherein, it is to access the method that is sampled of data to history to preset Sampling Strategies, which can be by Network optimization service device is determined in advance, for example receives the Sampling Strategies determination of submission.
For example, history, which accesses data, carries data ID (Identification, identity card), data ID be one by The sequence that number is constituted, default Sampling Strategies can select data ID least significant ends for the history of odd number (even number) by data ID according to Data, special ratios 1/2.Therefore, network optimization service device can access the data ID of data, choosing according to collected history The number for selecting data ID least significant ends is that the history of odd number accesses data, alternatively, it is even number to select the number of data ID least significant ends History accesses data.Wherein, data ID among the above can be generated by network optimization service device or client.
In embodiments of the present invention, optionally, it does not obtain corresponding to from a certain local information later to reduce sampling Client send and the history collected access data can be classified, to be corresponded to first according to local information The history of each local information accesses data, and then according to default Sampling Strategies, number is accessed to the history corresponding to each local information According to being sampled.
In embodiments of the present invention, optionally, it in order to which each history fully with reference to acquisition accesses data, further increases The follow-up accuracy for determining the corresponding access control parameter of local information can not also access data to the history got and carry out Sampling, but directly by mode similar with following step 303, data determination is accessed according to the history got and is corresponded to respectively The access control parameter of each local information, that is to say in at least one local information, and step 302 is optional step.
Step 303, the network optimization service device accesses data according to the obtained history of sampling, determines and corresponds respectively to pair The access control parameter of each local information at least one local information.
For the ease of subsequently according to the local information of client, rapidly and accurately being provided and the local information to the client Corresponding access control parameter improves to the efficiency and client of client feedback access control parameter and carries out network access Network connection validity and reliability, and then improve network access quality, network optimization service device can be according to sampling Obtained history accesses data, determines the access control ginseng corresponded respectively to each local information at least one local information Number.
For each local information, network optimization server can obtain history corresponding with the local information and access data, Data, which are accessed, according to the history got determines access control parameter corresponding with the local information.
It wherein, therefore, can be according to getting from the foregoing it will be appreciated that access control parameter may include at least one parameter History access data calculated at least once, so that it is determined that obtaining at least one parameter.
From the foregoing it will be appreciated that it includes accessing as a result, therefore, network optimization server can be based on accessing that history, which accesses data, As a result, the Access Success Rate for carrying out network access based on each access control parameter is determined by big data algorithm, so that it is determined that respectively The corresponding access control parameter of highest Access Success Rate is determined as and is somebody's turn to do by the corresponding Access Success Rate of access control parameter History accesses the access control parameter corresponding to the corresponding local information of data.Certainly, in practical applications, it can also be passed through Its mode accesses data according to the corresponding history of local information, determines access control parameter corresponding with the local information.Than Such as, for connection duration threshold value and transmission duration threshold value, by the reality in the corresponding access control parameter of highest Access Success Rate Border connection is attempted to be determined as connecting duration threshold value, is determined as actual transmissions duration to transmit duration threshold value;Alternatively, according to each history The practical connection duration and actual transmissions duration in data are accessed, determine and accesses the access that domain name is corresponding and response speed is most fast IP address and/or access port;Alternatively, history accesses highest (the i.e. user's most probable uses) access of frequency of usage in data Control parameter (accesses at least one of domain name, access protocol and access port).
From the foregoing it will be appreciated that local information may include network operator, network bandwidth, present position, client address and At least one of local dns list, when access control parameter includes access protocol, access address, connection duration threshold value, transmission At least one of long threshold value, redirection number, certificate information, transformat, coding mode, that is to say, local information or visit Ask that control parameter may include the information or parameter of one or more.Therefore, access control corresponding with local information is being determined When parameter processed, it may be determined that at least one access control parameter corresponding at least one local information, it then will be at least one Local information and corresponding access control parameter are stored into the correspondence between local information and access control parameter.Than Such as, it can be determined and local information institute as a whole by all information included by local information as a whole Corresponding all access control parameters store local information as a whole with identified access control parameter; Alternatively, access control parameter corresponding with each local information can be determined respectively, by each local information and determine respectively Access control parameter stored.
For example, local information 1 including operator is operator A, network bandwidth is 10Mb (megabit), present position is north The Haidian District Jing Shi, it may be determined that the corresponding access control parameter of operator A and Haidian District, Beijing City include access protocol HTTP and The entitled www.123.com of access domain determines that it is 2 to redirect number according to 10Mb, therefore, can be by operator A and Beijing sea Shallow lake area and corresponding access protocol HTTP and the entitled www.123.com of access domain are stored, will be according to 10Mb and redirection Number is stored for 2.Alternatively, access control corresponding with local information 1 can be determined by local information 1 as a whole Parameter processed include access protocol be HTTP, the entitled www.123.com of access domain, redirect number be 2, then can be by local information 1 and access protocol be HTTP, the entitled www.123.com of access domain and to redirect number be 2 to be stored.
Certainly, it is sampled if not accessing data to the history that gets in aforementioned, it can be directly according to getting History accesses data, determines the access control parameter corresponded respectively to each local information at least one local information.
Wherein, data are accessed according to the history got, determination is corresponded respectively to each at least one local information The mode of the access control parameter of ground information can access data with according to the obtained history of sampling, determine and correspond respectively to pair The mode of the access control parameter of each local information is identical at least one local information, no longer repeats one by one herein.
Through the above steps, network optimization service device determines to have obtained the access control corresponding at least one local information Parameter, then can be by the associated description in following, quickly to client feedback access control parameter, and in the another of the present invention In one alternative embodiment, for network optimization service device when acquiring history access data, it is right respectively to immediately determine that Ying Yu does not execute step 303 to the access control parameter of each local information at least one local information, but in follow-up root When according to the local information for receiving client transmission, by way of as hereinbefore, accessed in data from the history got, It determines that the history of the corresponding local information accesses data, according to obtained history access data are determined, determines and correspond to the local The access control parameter of information, specific steps may refer to it is following in associated description, no longer repeat one by one herein.
In embodiments of the present invention, optionally, it for the ease of being adjusted or optimizing to data server, further increases The safety and reliability of network connection, network optimization service device can also access data according to the history, determine that data take The operation data of business device feeds back the operation data to the data server.
Operation data is to run related data with data server, so as to illustrate the operation shape of data server State, related technical personnel can determine data server operating status, and adjust to data server according to the operation data Whole or optimization.
Wherein, history access data can be classified, corresponded to according to access address by network optimization service device The history of each access address accesses data, and the history of each access address of correspondence is accessed data as the corresponding number of the access address It is fed back to the data server according to the operation data of server, and by the operation data;Alternatively, network optimization service device can be by According to above-mentioned similar mode, the access result acquired corresponding to each access address accesses data for successful history, and will It is that successful history accesses data as operation data to access result, feeds back to the corresponding data server of the access address;Or Pair person, network optimization service device can acquire the history corresponding to each access address and access data in the manner described above, i.e., Data should be accessed in the history of each data server, data server is diagnosed according to default Diagnostic Strategy, and will diagnosis As a result the data server is fed back to as operation data.
Default Diagnostic Strategy is the strategy diagnosed to data server, can be true in advance by network optimization service device It is fixed.
Step 304, client sends the local information of the client to the network optimization service device.
For the ease of obtaining the access control parameter accessed for controlling network from network optimization service device, client can be with Local information is sent to network optimization server.
Step 305, the network optimization service device receives the local information that client is submitted, and is obtained according to the local information Take the first access control parameter.
Network optimization service device can determine access control corresponding with the local information according to the local information received Parameter is as the first access control parameter.For example, from the foregoing it will be appreciated that network optimization service device has determined that at least one sheet Therefore ground information and corresponding access control parameter can search access control ginseng corresponding with the local information received Number is used as the first access control parameter.
Wherein it is possible to which all information for including by local information are as a whole, obtain corresponding with the local information Access control parameter is as the first access control parameter;Alternatively, can obtain that the local information includes respectively is at least one Corresponding access control parameter will get and access parameter as the first access control parameter.
For example, network server acquires corresponding first access control parameter packet according to the local information 1 received Include access protocol be HTTP, the entitled www.123.com of access domain, redirect number be 2.
In embodiments of the present invention, optionally, in order to reduce the pressure of network optimization service device, network server is saved System resource, network optimization service device may not necessarily calculated in advance be directed to the access control parameter of each local information, but can be with When receiving the local information of client submission, obtains and meet the history access number that the client of the local information is submitted According to, according to the history access data determine the first access control parameter.
Wherein, network optimization service device can be according to local information, from the local from multiple client collected in advance Information and history access in data, and screening obtains meeting the history access data that the client of the local information is submitted, then According to it is aforementioned in identical mode, the access control parameter corresponding to the local information, i.e. the first access control is calculated Parameter.
In embodiments of the present invention, optionally, in order to reduce the data calculation amount of network optimization service device, determining pair is improved It should determine that first access control is joined accessing data according to the history in the efficiency of the access control parameter of local information Before number, data can be accessed to the history got and be sampled, correspondingly, can access the history obtained according to sampling Data determine the first access control parameter.
Wherein, the mode that is sampled of data is accessed to history, may refer to it is aforementioned in associated description, it is not another herein One repeats.
Step 306, the network optimization service device gives the first access control parameter feedback to the client.
Network visit is carried out by the access control parameter corresponding to the local information with the client for the ease of client It asks, to improve the quality of network access, network optimization service device can be by the first access control parameter feedback to client.
Step 307, the client is based on the first access control parameter and carries out network access.
Wherein, client based on the first access control parameter carry out network access mode, may refer to it is aforementioned in phase Description is closed, is no longer repeated one by one herein.
In embodiments of the present invention, optionally, in order to ensure the reliability that client can carry out network access, if from institute It states network optimization service device and obtains the first access control parameter failure, then obtain the second access control parameter, base from local The network access is carried out in the second access control parameter.
Second access control parameter can be determined in advance to obtain by client, for example can be obtained by client the last Used access control parameter is as the second access control parameter when progress network access;Alternatively, the second access control parameter It can be obtained in advance from network optimization service device by client;Alternatively, the second access control parameter can be from client to user Access control parameter setting entrance is provided, and user is received by the access control parameter setting entrance and submits to obtain.Certainly, exist In practical application, the second access control parameter can also have client to be obtained by other means, for example receive other clients The access control parameter of transmission.
From the foregoing it will be appreciated that when access control parameter may include access protocol, access address, connection duration threshold value, transmission At least one of long threshold value, redirection number, certificate information, transformat, coding mode, therefore, the second access control ginseng Number can have at least one different access control parameter compared with the first access control parameter.
For example, client from the second access control parameter locally acquired include access protocol be HTTP, access domain Entitled www.123.com, redirection number are 3.Wherein, the redirection number that the second access control parameter includes is visited with first Ask that the redirection number included by control parameter is different.
Wherein, client carries out the mode of network access based on the second access control parameter, can be accessed with based on first The direction that control parameter carries out network access is identical, no longer repeats one by one herein.
In embodiments of the present invention, optionally, in order to determine the reason of current network accesses failure, subsequently to improve network The reliability of access carries out Network Fault Detection, to obtain Network Fault Detection result if the network accesses failure.
Network Fault Detection result is used to illustrate to cause the failure of network failure, for example, Network Fault Detection result May include that whether physical layer is normal, network speed is excessively slow or domain name is held as a hostage.
Certainly, in practical applications, if network accesses failure, client can also carry out joining based on current access control Number re-starts network access;Alternatively, be adjusted to current access control parameter, such as by the access control parameter exhibition Show the adjustment operation to the access control parameter to user and reception, is re-started according to the access control parameter after readjusting Network accesses.Retry network access failure when, can carry out it is aforementioned in Network Fault Detection operation.
In embodiments of the present invention, optionally, since when physical layer is normal, client is in normal network environment, But since used access control parameter is incorrect the access domain name of mistake (for example include), so as to cause network failure, because This improves the reliability that network accesses to reduce the possibility that current possible network failure fails to causing network to access, If determining that physical layer is normal according to Network Fault Detection result, client is based on current access address, the local information With the Network Fault Detection as a result, obtaining third access control parameter from the network optimization service device;Network optimization service Device receives the local information, access address and the Network Fault Detection that the client is submitted as a result, based on the local letter Breath, the access address and the Network Fault Detection are as a result, to the client feedback third access control parameter;The visitor Family end group carries out the network access in the third access control parameter.
Current access address may include that the current network that carries out accesses used access address when failure.Client can When carrying out network access and detecting that network accesses failure, to determine currently employed access address.
Third access control parameter is that network optimization service device is directed to current access address and failure detection result, really It is fixed with access control parameter corresponding to local information.Wherein, third access control parameter, with the second access control parameter or First access control parameter is compared, and can have at least one different access control parameter.
For example, client from the second access control parameter locally acquired include access protocol be HTTP, access domain Entitled www.123.com, redirection number are 3, access IP address is 192.161.2.3.Wherein, with the second access control parameter It compares, third access control parameter includes a new access control parameter, that is, accesses IP address;With the first access control parameter It compares, the redirection number that third access control parameter included redirect included by number and the first access control parameter is not Together and include accessing IP address.
Network optimization service device can be in the local information submitted according to client, and determines corresponding access control ginseng Number, the access address and Network Fault Detection result submitted according to client screen determining access control parameter, By including the access address and not, the access control parameter including failure access control parameter is determined as third access control ginseng Number, and by third access control parameter feedback to client.
Failure access control parameter is to lead to the access control parameter of network failure.For example, working as Network Fault Detection result When excessively slow for network speed, it may be possible to due to client and dns server or data server the distance between farther out, can be according to The present position of client provides and the closer DNS service address in the client present position or data service to the client Device address;When network idol failure detection result is held as a hostage for domain name, the dns server of possible current accessed is unreliable, can be with Other dns server address are provided to the client.
Failure access control parameter can be determined according to Network Fault Detection result, for example Network Fault Detection can be carried Show to related technical personnel, Network Fault Detection result is analyzed by related technical personnel, determines failure access control ginseng Number;Alternatively, analysis and identification can be carried out to Network Fault Detection result by modes such as machine learning, failure access control is obtained Parameter in practical applications, may can also lead to network event according to the determination of network testing result otherwise certainly The failure access control parameter of barrier.
Client carries out the mode of network access based on third access control parameter, can join with based on the first access control The direction that number carries out network access is identical, no longer repeats one by one herein.
In embodiments of the present invention, optionally, for the ease of the access control corresponding to local information of network optimization service device Parameter processed optimizes, and obtains to data server and feeds back corresponding operation data, to further client and data service Device establishes the safety and reliability of network connection, and then improves the reliability that network accesses, and client can be visited with log history Ask data, it includes accessing result and carrying out access control parameter used by the network accesses that the history, which accesses data, will The history accesses data feedback to the network optimization service device.
For example, a kind of structure diagram of client can be with as shown in figure 4, client 400 includes access modules 401, local Processing module 402 and remote processing module 403.Wherein, access modules 401 are used to carry out network visit based on access control parameter It asks, processing locality module 402 when accessing failure for subsequently carrying out fault detect or adjustment access control parameter;Remote processing Module 403 is used to obtain the access control parameter provided from network optimization service device.
A kind of structure diagram of network optimization service device can be with as shown in figure 5, network optimization service device 500 includes data passes Defeated module 501, data sampling module 502, data analysis module 503, policy generation module 504 and data operation condition of server Analysis module 505.Wherein, data transmission module 501 between client or data server for carrying out data interaction;Data The history that sampling module 502 is used to obtain client accesses the data such as data and local information;Data analysis module 503 is used for root Each access control parameter of the data determination for each local information is accessed according to history;Policy generation module 504 is used for according to determination Each access control parameter for each local information integrated, determine corresponding to each local information at least one access control Parameter processed;Data server running state analysis module 505 is used to access data according to history, determines the operation of data server Data.
For example, a kind of Network Access Method flow chart applied to client can be as shown in Figure 6.In step 601, client End starts, and (according to local information) obtains the access control parameter of acquiescence from network optimization service device, that is, is directed to the local information The first access control parameter;Step 602, client by the first access control parameter carry out network access, including First access control parameter carries out obtaining local access control parameter when network failure, i.e. the second access control parameter carries out net Network accesses;Step 603,612 are successfully thened follow the steps if accessing, it is no to then follow the steps 604;Step 604, client is to local network Network, which optimizes, to be handled and accesses again;Step 605;612 are successfully thened follow the steps if accessing, it is no to then follow the steps 606;Step 606, check network connection state;Step 607,608 are then executed if physical layer error, it is no to then follow the steps 609;Step 608, Notify user and record access result;Step 609, it according to current accessed port and local information, is obtained from network optimization service device Take new access control parameter, i.e. third NS software parameter;Step 610, net is carried out by third access control parameter Network accesses;Step 611,612 are successfully thened follow the steps if accessing, it is no to then follow the steps 613;Step 612, record access result with And access control parameter, i.e., history accesses data, and when history accesses data and is accumulate to preset number, history is accessed data Feed back to data server;Step 613, user is notified and record access as a result, reporting to network optimization service by result is accessed Device, in order to subsequently optimize or manually investigate.
A kind of Network Access Method applied to client may comprise steps of:Step S1 collects history and accesses number According to;Step S2 accesses data to the history of magnanimity and is sampled;Step S3 accesses data to the history after sampling and analyzes, Including determining each access control parameter for each local information;Step S4, respectively to each access control for each local information Parameter processed is arranged, and determines at least one access control parameter for corresponding to each local information respectively;Step S5, is visited according to history It asks data, determines the operation data of data server, including the failure and frequency that data server is likely to occur, by the operation Data feedback gives corresponding data server.
In embodiments of the present invention, first, client can be according to the local information of client from network optimization service device The first access control parameter is obtained, acquired the first obtained access control parameter is access corresponding with the local information Control parameter, thus client can be based on the first access control parameter, the process for accessing client network controls, with Network access is carried out in such a way that the local information with the client is consistent, improves the safety of network connection and reliable Property, and then improve the quality of network access.
Secondly, network optimization service device can obtain the local information of multiple client and history accesses data, and be based on History accesses data and determines the access control parameter corresponded to each local information at least one local information, can pass through Big data calculates the access control parameter determined for different local informations, improves and determines to client offer access control ginseng Several accuracys.
It is sampled in addition, network server can access data to the history that gets, improve and determine and correspond to pair The efficiency of the access control parameter of each local information at least one local information.
In addition, client can obtain the second access control when by the first access control parameter access network failure Parameter or third access control parameter continue network access, further improve the safety and reliability of network connection, And then improve the quality of network access.
It should be noted that for embodiment of the method above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because according to According to the present invention, certain steps can be performed in other orders or simultaneously.Next, those skilled in the art should also know that, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Example IV
With reference to Fig. 7, a kind of structure diagram of network access device in the embodiment of the present invention is shown.Described device can be with Including:
First acquisition module 701 obtains first from network optimization service device and accesses for the local information according to client Control parameter, wherein the local information includes network operator, network bandwidth, present position, client address and local At least one of DNS lists;
First access modules 702, for carrying out network access based on the first access control parameter.
Optionally, described device further includes:
Second acquisition module, if for obtaining the first access control parameter failure from the network optimization service device, Then the second access control parameter is obtained from local;
Second access modules, for carrying out the network access based on the second access control parameter.
Optionally, described device further includes:
Detection module carries out Network Fault Detection if accessing failure for the network.
Optionally, described device further includes:
Third acquisition module, if for determining that physical layer is normal according to Network Fault Detection result, based on current visit It asks address, the local information and the network testing result, third access control ginseng is obtained from the network optimization service device Number;
Third access modules, for carrying out the network access based on the third access control parameter.
Optionally, described device further includes:
Logging modle, for log history access data, it includes accessing described in result and progress that the history, which accesses data, Access control parameter used by network accesses;
Feedback module, for the history to be accessed data feedback to the network optimization service device.
In embodiments of the present invention, network access device can obtain first according to local information from network optimization service device Access control parameter, acquired the first obtained access control parameter are access control ginseng corresponding with the local information Number, it is thus possible to be based on the first access control parameter, to client access network process control, with according to the local The mode that information is consistent carries out network access, improves the safety and reliability of network connection, and then improves network access Quality.
Embodiment five
With reference to Fig. 8, a kind of structure diagram of network access device in the embodiment of the present invention is shown.Described device can be with Including:
First receiving module 801, the local information for receiving client submission obtain first according to the local information Access control parameter, wherein the local information includes network operator, network bandwidth, present position, client address and sheet At least one of ground DNS lists;
First feedback module 802, for giving the first access control parameter feedback to the client, so that the visitor Family end group carries out network access in the first access control parameter.
Optionally, described device further includes:
First acquisition module, local information and history for obtaining multiple client access data;
Determining module is determined and is corresponded respectively to at least one local letter for accessing data according to the history got The access control parameter of each local information in breath.
Optionally, described device further includes:
Decimation blocks are sampled for accessing data to the history got;
The determining module includes:
Determination sub-module, the history for being obtained according to sampling access data, and determination is corresponded respectively to at least one The access control parameter of each local information in ground information.
Optionally, described device further includes:
Second receiving module, the local information, access address and the network failure submitted for receiving the client Testing result;
Second feedback module, for based on the local information, the access address and the Network Fault Detection as a result, To the client feedback third access control parameter.
In embodiments of the present invention, network access device can receive the local information of client, according to the sheet of client Ground acquisition of information and to client feedback the first access control parameter, the first access control parameter fed back are and the local The corresponding access control parameter of information, it is thus possible to which client is based on the first access control parameter, and network is accessed to client Process controlled, network access is carried out in a manner of being consistent according to the local information with the client, improve network company The safety and reliability connect, and then improve the quality of network access.
For above-mentioned network access device embodiment, since it is basically similar to the method embodiment, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that be:The arbitrary combination application of above-mentioned each embodiment is all feasible, therefore Arbitrary combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Network Access Method or device be not solid with any certain computer, virtual system or miscellaneous equipment provided herein There is correlation.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has this hair Structure required by the system of bright scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.It should Understand, various programming languages can be utilized to realize the content of invention described herein, and language-specific is done above Description is to disclose the preferred forms of the present invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific implementation mode, wherein each claim conduct itself The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realized in Network Access Method or device according to the ... of the embodiment of the present invention The some or all functions of some or all components.The present invention is also implemented as executing method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such reality The program of the existing present invention can may be stored on the computer-readable medium, or can be with the form of one or more signal. Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or in any other forms It provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.

Claims (18)

1. a kind of Network Access Method, which is characterized in that including:
According to the local information of client, the first access control parameter is obtained from network optimization service device, wherein the local letter Breath includes at least one of network operator, network bandwidth, present position, client address and local dns list;
Network access is carried out based on the first access control parameter.
2. according to the method described in claim 1, it is characterized in that, obtaining the first access control from network optimization service device described After parameter processed, the method further includes:
If obtaining the first access control parameter failure from the network optimization service device, the second access control is obtained from local Parameter processed;
The network access is carried out based on the second access control parameter.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
If the network accesses failure, Network Fault Detection is carried out.
4. according to the method described in claim 3, it is characterized in that, after the progress Network Fault Detection, the method Further include:
If determining that physical layer is normal according to Network Fault Detection result, based on current access address, the local information and institute Network Fault Detection is stated as a result, obtaining the third access control parameter from the network optimization service device.
5. according to any methods of claim 1-4, which is characterized in that the method further includes:
Log history accesses data, and it includes accessing result and visited used by the network accesses that the history, which accesses data, Ask control parameter;
The history is accessed into data feedback to the network optimization service device.
6. a kind of Network Access Method, which is characterized in that including:
The local information that client is submitted is received, the first access control parameter is obtained according to the local information, wherein described Ground information includes at least one of network operator, network bandwidth, present position, client address and local dns list;
The first access control parameter feedback is given to the client, so that the client is based on first access control Parameter carries out network access.
7. according to the method described in claim 6, it is characterized in that, it is described reception client submit local information, according to Before the local information obtains the first access control parameter, the method further includes:
The local information and history for obtaining multiple client access data;
Data are accessed according to the history got, determine the visit corresponded respectively to each local information at least one local information Ask control parameter.
8. the method according to the description of claim 7 is characterized in that the history got in the basis accesses data, determine It corresponds respectively to before the access control parameter to each local information at least one local information, the method further includes:
Data are accessed to the history got to be sampled;
The history that the basis is got accesses data, and determination is corresponded respectively to each local information at least one local information Access control parameter include:
Data are accessed according to the history that sampling obtains, determination is corresponded respectively to each local information at least one local information Access control parameter.
9. according to the method described in claim 6, it is characterized in that, the method further includes:
Receive the local information, access address and Network Fault Detection result that the client is submitted;
Based on the local information, the access address and the Network Fault Detection as a result, to the client feedback third Access control parameter.
10. a kind of network access device, which is characterized in that including:
First acquisition module obtains the first access control ginseng for the local information according to client from network optimization service device Number, wherein the local information includes network operator, network bandwidth, present position, client address and local dns list At least one of;
First access modules, for carrying out network access based on the first access control parameter.
11. device according to claim 10, which is characterized in that described device further includes:
Second acquisition module, if for obtaining the first access control parameter failure from the network optimization service device, from It is local to obtain the second access control parameter;
Second access modules, for carrying out the network access based on the second access control parameter.
12. device according to claim 10, which is characterized in that described device further includes:
Detection module carries out Network Fault Detection if accessing failure for the network.
13. device according to claim 12, which is characterized in that described device further includes:
Third acquisition module, if for determining that physical layer is normal according to Network Fault Detection result, based on current access Location, the local information and the Network Fault Detection from the network optimization service device as a result, obtain third access control ginseng Number;
Third access modules, for carrying out the network access based on the third access control parameter.
14. according to any devices of claim 10-13, which is characterized in that described device further includes:
Logging modle accesses data for log history, and the history accesses data including accessing result and carrying out the network Access control parameter used by accessing;
Feedback module, for the history to be accessed data feedback to the network optimization service device.
15. a kind of network access device, which is characterized in that including:
First receiving module, the local information for receiving client submission obtain first according to the local information and access control Parameter processed, wherein the local information includes network operator, network bandwidth, present position, client address and local dns At least one of list;
First feedback module, for giving the first access control parameter feedback to the client, so that client's end group Network access is carried out in the first access control parameter.
16. device according to claim 15, which is characterized in that described device further includes:
First acquisition module, local information and history for obtaining multiple client access data;
Determining module, for accessing data according to the history got, determination is corresponded respectively to at least one local information The access control parameter of each local information.
17. device according to claim 16, which is characterized in that described device further includes:
Decimation blocks are sampled for accessing data to the history got;
The determining module includes:
Determination sub-module, the history for being obtained according to sampling access data, determine and correspond respectively to at least one local letter The access control parameter of each local information in breath.
18. device according to claim 15, which is characterized in that described device further includes:
Second receiving module, the local information, access address and the Network Fault Detection submitted for receiving the client As a result;
Second feedback module, for being based on the local information, the access address and the Network Fault Detection as a result, to institute State client feedback third access control parameter.
CN201810241959.2A 2018-03-22 2018-03-22 network access method and device Pending CN108667646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810241959.2A CN108667646A (en) 2018-03-22 2018-03-22 network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810241959.2A CN108667646A (en) 2018-03-22 2018-03-22 network access method and device

Publications (1)

Publication Number Publication Date
CN108667646A true CN108667646A (en) 2018-10-16

Family

ID=63782238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810241959.2A Pending CN108667646A (en) 2018-03-22 2018-03-22 network access method and device

Country Status (1)

Country Link
CN (1) CN108667646A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314181A (en) * 2020-03-20 2020-06-19 北京无限光场科技有限公司 Network connectivity diagnosis method, device, terminal and storage medium
CN111835682A (en) * 2019-04-19 2020-10-27 上海哔哩哔哩科技有限公司 Connection control method, system, device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102461265A (en) * 2009-05-12 2012-05-16 惠普开发有限公司 Location determined network access
CN103248715A (en) * 2012-02-07 2013-08-14 北京百度网讯科技有限公司 Position detection method and device for CDN
CN103516725A (en) * 2007-03-12 2014-01-15 思杰系统有限公司 Systems and methods for using compression histories to improve network performance
US20150058403A1 (en) * 2013-08-20 2015-02-26 Alibaba Group Holding Limited Method and system of dispatching requests in a content delivery network
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position
CN104954488A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and distribution server for network access control as well as network access system
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN106604078A (en) * 2015-10-14 2017-04-26 北京国双科技有限公司 Network video recommendation method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516725A (en) * 2007-03-12 2014-01-15 思杰系统有限公司 Systems and methods for using compression histories to improve network performance
CN102461265A (en) * 2009-05-12 2012-05-16 惠普开发有限公司 Location determined network access
CN103248715A (en) * 2012-02-07 2013-08-14 北京百度网讯科技有限公司 Position detection method and device for CDN
US20150058403A1 (en) * 2013-08-20 2015-02-26 Alibaba Group Holding Limited Method and system of dispatching requests in a content delivery network
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position
CN104954488A (en) * 2015-06-30 2015-09-30 北京奇虎科技有限公司 Method and distribution server for network access control as well as network access system
CN106604078A (en) * 2015-10-14 2017-04-26 北京国双科技有限公司 Network video recommendation method and device
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835682A (en) * 2019-04-19 2020-10-27 上海哔哩哔哩科技有限公司 Connection control method, system, device and computer readable storage medium
CN111835682B (en) * 2019-04-19 2021-05-11 上海哔哩哔哩科技有限公司 Connection control method, system, device and computer readable storage medium
US11316930B2 (en) 2019-04-19 2022-04-26 Shanghai Bilibili Technology Co., Ltd. Connection control method and device
CN111314181A (en) * 2020-03-20 2020-06-19 北京无限光场科技有限公司 Network connectivity diagnosis method, device, terminal and storage medium
CN111314181B (en) * 2020-03-20 2022-06-24 北京无限光场科技有限公司 Network connectivity diagnosis method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
EP3591522A1 (en) Systems and methods for failure detection with orchestration layer
US9208309B2 (en) Dynamically scanning a web application through use of web traffic information
CN105871947B (en) The method and device of cross-domain request data
US20170168881A1 (en) Process chain discovery across communication channels
CN106856434A (en) The method and apparatus of access request conversion
US10725751B2 (en) Generating a predictive data structure
CN108809890A (en) Leak detection method, test server and client
US9893968B1 (en) Troubleshooting network paths in a distributed computing environment
CN112311620A (en) Method, apparatus, electronic device and readable medium for diagnosing network
CN103647652B (en) A kind of method for realizing data transfer, device and server
CN108667646A (en) network access method and device
US10904757B2 (en) Remote pre-authentication of a user device for accessing network services
US8385213B2 (en) Error identification in a computer-based network
CN114666245A (en) IPv6 single stack support degree determining method of B/S system and related equipment
CN106921675A (en) The method and apparatus that a kind of Intelligent hardware accesses limited network
CN102223266B (en) Method and device for detecting protocol agent
US20130226984A1 (en) Method and apparatus of providing optimized web browser communications
JP6199844B2 (en) Suspicious part estimation device and suspected part estimation method
CN107483294A (en) Monitor the method and device of network request
CN105721231B (en) A kind of quality of service perception detection method and device
US11630756B2 (en) Methods and systems for measuring user and system metrics
CN109698774A (en) Method and device for monitoring device working condition
CN108040124A (en) The method and device of control mobile terminal application based on DNS-Over-HTTP agreements
CN111107080B (en) Error information pushing method, device and equipment and readable storage medium
CN108718346A (en) A kind of method for processing resource and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181016

RJ01 Rejection of invention patent application after publication