WO2019149166A1 - 网络访问方法、客户端、网络交互方法及调度、网络系统 - Google Patents
网络访问方法、客户端、网络交互方法及调度、网络系统 Download PDFInfo
- Publication number
- WO2019149166A1 WO2019149166A1 PCT/CN2019/073362 CN2019073362W WO2019149166A1 WO 2019149166 A1 WO2019149166 A1 WO 2019149166A1 CN 2019073362 W CN2019073362 W CN 2019073362W WO 2019149166 A1 WO2019149166 A1 WO 2019149166A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access point
- address
- client
- access
- network
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5046—Resolving address allocation conflicts; Testing of addresses
Definitions
- the present specification relates to the field of network technologies, and in particular, to a network access method, a client, a network interaction method, a scheduling, and a network system.
- the networks provided by operators can be divided into three categories, namely BGP (Border Gateway Protocol) bandwidth, CDN (Content Distribution Network) bandwidth and static bandwidth.
- BGP bandwidth is more expensive, the service provided is more stable, and the three networks are interconnected.
- BGP Internet Global System for Mobile Communications
- An Internet data center must simultaneously carry traffic from multiple operators, so an Internet data center must have the ability to communicate with multiple operators.
- BGP access In order to shield the operator's details, many Internet data centers use BGP access.
- BGP network Through the BGP network, the back-end servers deployed in the Internet data center do not need to consider which carrier from which the traffic can communicate.
- the cost of a BGP network is very expensive, which is several times that of a static network. For many Internet companies, the network cost incurred by BGP is very large.
- Embodiments of the present specification provide a network access method, a client, a network interaction method, and a scheduling and network system. It is possible to implement network services at a lower cost.
- An embodiment of the present specification provides a network access method, where the method is applied to a client; the method includes: sending an access point query request to a scheduling system; the scheduling system is configured to manage an access point address; and receiving the scheduling At least one access point address fed back by the system; the access point address corresponding to a network service provider to which the client belongs; and a network access request is issued to the access point address.
- the embodiment of the present specification provides a client, including: an inquiry requesting module, configured to send an access point inquiry request to a scheduling system; the scheduling system is configured to manage an access point address; and a receiving module is configured to receive the scheduling system. At least one access point address that is fed back; the access point address corresponds to a network service provider to which the client belongs; and an access request module is configured to send a network access request to the access point address.
- An embodiment of the present disclosure provides a network interaction method, including: receiving an access point query request of a client; determining, according to the access point query request, a network service provider corresponding to the client; At least one access point address is sent to the client.
- the embodiment of the present disclosure provides a scheduling system, including: a receiving module, configured to receive an access point query request of a client, and a determining module, configured to determine, according to the access point query request, a network service provider corresponding to the client And a sending module, configured to send the at least one access point address of the network service provider to the client.
- An embodiment of the present disclosure provides a network system, including: a scheduling system, a network access device, and a data center; the scheduling system is configured to receive an access point query request of a client; and determine the client according to the access point query request. And corresponding to the network service provider; sending at least one access point address of the network access device of the network service provider to the client, so that the client is connected according to a network corresponding to the network service provider.
- the ingress device accesses the data center; the network access device is configured to provide a network access service for the client; and the data center feeds back corresponding data when receiving a data access request from the client.
- the network access method client provided by the embodiment of the present specification can query the scheduling system to obtain a corresponding access point when communicating, and the cost is low.
- FIG. 1 is a schematic diagram of a workflow of a network access method according to an embodiment of the present disclosure
- FIG. 2 is a flowchart of a network access method according to an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of an example of a scenario provided by an embodiment of the present specification.
- FIG. 4 is a schematic diagram of an example of changing an access point address scenario according to an embodiment of the present disclosure
- FIG. 5 is a structural block diagram of a client according to an embodiment of the present disclosure.
- FIG. 6 is a flowchart of a network interaction method according to an embodiment of the present disclosure.
- FIG. 7 is a structural block diagram of a scheduling system according to an embodiment of the present disclosure.
- An embodiment of the present invention provides a system for applying the network access method, which may include a client, a scheduling system, a network access device, and a data center.
- the client may be used to access data, and the client may include an electronic device having display, computing, and network access functions.
- the client can be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, or a television with network access function.
- the client can also be a software that can run in the above electronic device.
- the client can provide a network interface for data interaction.
- the client can perform data information interaction in accordance with a network communication protocol.
- the scheduling system can be used to manage and allocate an access point address.
- the scheduling system may include a hardware device having data information processing capabilities and software necessary to drive the hardware device to operate. Of course, the scheduling system may also be only a hardware device with data processing capability, or only software running in a hardware device.
- the scheduling system may include a workstation, a server, a computer, and other network devices of the user terminal.
- the scheduling system can provide a network interface for data interaction.
- the scheduling system can also perform data information interaction in accordance with a network communication protocol. In the case that the access point address is unavailable, the scheduling system may again feed back the access point address for the client, and the newly fed access point address accesses the data center and the old feedback access point address
- the data centers that are accessed are the same data center or different data centers.
- the network access device may be used to provide a medium for the client to perform network access to the data center.
- the operation of the access point device may affect the quality of the client access network.
- Different network service providers can provide different types of access point devices.
- the access point device may include a hardware device with data information processing capability and software necessary to drive the hardware device to work.
- the scheduling system may also be only a hardware device with data processing capability, or only software running in a hardware device. Specifically, for example, a switch, a modem, a router, and the like.
- Different network service providers can provide different access devices to access the network provided by themselves; different data centers can access and access network data by different access devices.
- the data center may be used to provide network data to a client that sends a network access request.
- the data center may invoke a corresponding server port to provide network data to the client.
- the data center may include hardware devices such as computer devices, server devices, storage devices, network devices, communication links, and framework software including two-way communication between the server and the client to implement client access and data transmission.
- the data center can be accessed through the internet access or through a dedicated line provided by the operator.
- the data center can run servers of multiple software. In order to share the data center load, multiple data centers can also run servers of the same software. When multiple data centers run servers of the same software, data synchronization can be performed on multiple data centers to ensure consistent data read and write between different data centers.
- the client may send an access point inquiry request to the scheduling system.
- the scheduling system may feed back at least one access point address to the client after receiving the access point query request.
- the client may send a network access request according to the access point address.
- a network access request may be sent according to other access point addresses fed back by the scheduling system.
- the sent access point query request includes the IP addresses of the three user phones.
- the scheduling system extracts an IP address and corresponding network operator information in an access device that uses the BGP access network to form an IP data set.
- the scheduling system receives an access point inquiry request sent by the three mobile phone users using the mobile phone.
- the IP addresses of the mobile phones of the three mobile phone users are extracted, and the IP data sets are queried.
- the network operators corresponding to the three users are China Unicom, China Telecom and China Mobile.
- the scheduling system selects the address of the Shanghai Unicom access point and the address of the Beijing Unicom access point, Jiaxing Unicom access point, and sends it to the mobile phone of the Shanghai Unicom mobile phone user.
- the Shanghai Unicom access point address is used as the first access point.
- the Beijing Unicom access point address as the second access point address
- Jiaxing access point address as the third access point address
- select Tianjin Telecom access point address and Langfang telecom access point address to send to Tianjin Telecom mobile phone
- the user's mobile phone uses the Tianjin Telecom access point address as the first access point address and the Langfang telecom access point address as the second access point address
- the mobile phone user's mobile phone of Beijing mobile phone uses the Beijing mobile access point address as the first access point address.
- Shanghai Unicom mobile phone users use the mobile phone to first send a network access request to the Shanghai Unicom access point, and the request timeout phenomenon occurs.
- the network access request to the Beijing Unicom access point is still requested to time out again, and then it is connected to Jiaxing Unicom.
- the inbound point of the network access request still requests timeout;
- Tianjin Telecom mobile phone users use the mobile phone to first send a network access request to the Tianjin Telecom access point, the request timeout phenomenon occurs, and the network access request is sent to the Langfang Telecom access point again, and the access is successfully accessed.
- Website Beijing mobile phone users use the mobile phone to first make a network access request to Beijing Mobile Access Point and successfully access a website.
- the client of the Shanghai Unicom mobile phone user sends an access point change request to the scheduling system when the access of the three access point addresses fails, and the access point change request includes Shanghai Unicom access point address, Beijing Unicom access point address and Jiaxing Unicom access point address information.
- the dispatching system selects the address of the Nanjing Unicom access point different from the address of the Shanghai Unicom access point, the address of the Beijing Unicom access point, and the address of the Jiaxing Unicom access point and the address of the Hangzhou Unicom access point.
- the scheduling system marks the address of the Shanghai Unicom access point, the address of the Beijing Unicom access point, the address of the Jiaxing Unicom access point, and the address of the Tianjin Telecom access point as the fault address, and repairs the address at the four access points.
- detecting the availability of the four access point addresses detecting that the four access point addresses are available, and then receiving the receiving point to request the latter to receive the change request, and then sending the four access point addresses separately Give the corresponding user.
- the scheduling system monitors traffic, QPS, and new connections for each access point address.
- Beijing Mobile Access Point address traffic is 1600MB/s
- QPS is 2000
- new connection number is 5000
- Beijing mobile access point address is in high load working state
- Tianjin mobile access point address traffic is 500MB/s
- QPS At 700, the number of newly created connections is 1000, and it is in a low load working state.
- the scheduling system can adjust the workload of different access points so that the workload of each access point tends to be the same and stable.
- the scheduling system after receiving the access point request sent by the Tangshan mobile user, the scheduling system reduces the probability that the original 50% probability of transmitting the Beijing mobile access point address to the client of the Tangshan mobile user is reduced to 30%. Increase the probability that the original 50% probability of sending the Tianjin mobile access point address to the Tangshan mobile user's client is increased to 70%, thereby reducing the workload of the Beijing mobile access point address and improving the workload of the Tianjin mobile access point address. .
- the scheduling system sends the Tianjin mobile access point address to the client of the Tangshan mobile user according to the sending probability. After receiving the address of the Tianjin mobile access point, the Tangshan mobile user's client sends the address to the Tianjin mobile access point. Issue an access request.
- the scheduling system monitors the traffic of the access point address, the QPS, and the number of new connections after changing the probability of sending the Beijing mobile access point address and the probability of sending the Tianjin mobile access point address.
- Beijing Mobile Access Point The address traffic is 1200MB/s, the QPS is 1500, and the new connection number is 3500. Compared with the previous workload, the traffic of the Tianjin mobile access point address is 1000MB/s, the QPS is 1300, and the new connection number is 2500.
- the workload has increased, making the workload of the access point address tend to be the same and stable.
- an e-commerce platform sets up data centers in Chengdu and Wuhan, respectively. Users can access the Chengdu Data Center or visit the Wuhan Data Center. You can prioritize access to data centers that are geographically close to you.
- the Chengdu mobile user sends an access point query request to the scheduling system by using the client, and the scheduling system feeds back the Chengdu mobile access point address and the Chongqing mobile access point address of the Chengdu data center, and the user uses
- the client sends a network access request to the Chengdu mobile access point address to access the e-commerce platform. Buy a sweater on the e-commerce platform and complete the order. And synchronize the user's order data to the Wuhan data center
- Chengdu mobile users travel to Wuhan and want to check the logistics information of purchasing sweaters.
- the user sends an access point query request to the scheduling system by using the client, and the scheduling system feeds back the Wuhan mobile access point address of the Wuhan data center and the Chengdu mobile access point address of the Chengdu data center, and the user accesses the Chengdu data center.
- a network access request may be sent to the Wuhan mobile access point address of the Wuhan data center to access the e-commerce platform. Since the data synchronization has been performed between the Wuhan data center and the Chengdu data center, the user can view the order record and query the logistics information.
- Embodiments of the present specification provide a network access method.
- the network access method can be applied to a client.
- the workflow of the network access method is as shown in FIG. 1.
- the network access method may include the following steps.
- Step S20 Send an access point query request to the scheduling system; the scheduling system is configured to manage the access point address.
- the access point may include an entry provided by the network service provider in the network for the user to access the network.
- the network interface unit of the hardware device may be included, for example, a set of modems or access servers of the network service provider site; a port for receiving data set by the software server; for example: A network access point address 1 may be 133.15.147.23:8080.
- Hardware devices can provide basic hardware communication links, and data can be received and interacted through software.
- the access point address may be used to identify an access point and an entry for indicating access to the access point. That is, the access point identified by the access point address can be accessed by transmitting data to the access point address.
- the access point address may include an address set for an access of the access network according to a network protocol, and different access points may be distinguished according to the access point address. Different network service providers can provide the access point address of the corresponding access network, and the client can send a network access request to the corresponding access point address provided by the network service provider to access the corresponding network.
- the access point query request may be a string or code that satisfies the communication protocol and follows a certain format, and may be used to indicate that the client that sent the access point query request asks whether the scheduling system has An access point can be used for access to the corresponding network.
- the client may send an access point inquiry request to the scheduling system based on a protocol such as Http, TCP/IP, or the like.
- the scheduling system managing the access point address may include the scheduling system may allocate the access point address to the client that issues the access point query request.
- the client may access the network by issuing a network access request to the access point address, and in order to ensure that the client can successfully access the network, the scheduling system needs to manage the access point address and A corresponding available access point address is assigned to the client.
- the manner in which the scheduling system manages the access point address may include: collecting corresponding access point addresses of different network service providers; adding available access point addresses; detecting performance of the access point address; The faulty access point address provides client usage; monitors the working status of each access point in the network; assigns the access point address to the corresponding client.
- the scheduling system may classify access point addresses provided by each network service provider according to different network service providers, specifically, for example, A network access point address 1, A network access A network access point addresses such as point address 2, A network access point address n, etc. are classified into one type, and B network such as B network access point address 1, B network access point address 2, B network access point address n, etc. Access point addresses are classified into one class and so on.
- the adding the available access point address may include adding an access point address added by the network service provider, adding a repaired completed access point address, and the like.
- the detecting the performance of the access point address may include performing status detection on each access point address, and using an access point address that does not meet the specified requirement as the fault access point address.
- Removing the failed access point address may include removing the failed access point address from the managed access point address set and not transmitting to the client.
- the working status of each access point in the monitoring network may include: monitoring a specified parameter of each access point address, specifically, determining, for example, traffic, QPS, long connection number, new connection number, etc.
- the operating status of the entry point may include: monitoring a specified parameter of each access point address, specifically, determining, for example, traffic, QPS, long connection number, new connection number, etc. The operating status of the entry point.
- the assigning the access point address to the corresponding client may include: the scheduling system may determine, according to the access point query request sent by the client, the network service provider to which the client belongs, The client can send its own network address to the scheduling system, and the scheduling system can query the network service provider corresponding to the network address according to the network address of the client, and assign the access point address of the corresponding network service provider to Client.
- Step S22 Receive at least one access point address fed back by the scheduling system; the access point address corresponds to a network service provider to which the client belongs.
- the scheduling system feeding back the access point address may include: after receiving the access point query request sent by the client, the scheduling system may request the access point from the managed access point according to the access point query request. The address of the access point is selected in the address, and the address of the access point is sent to the client.
- the at least one access point address may be that the scheduling system sends an access point address that can match the access point query request to the client, and the sent access point address may be more than One.
- the A network user, the B network user, and the C network user may use the client to send an access point inquiry request to the scheduling system.
- the scheduling system may feed back at least one access point address to the A network user client, which may include: A access point address 1, A network access point address 2, A network access point address n, etc.; after receiving the access point query request sent by the B network user client, the scheduling system may feed back at least one access point address to the B network user client, which may include: Incoming address 1, B network access point address 2, B network access point address n, etc.; after receiving the access point inquiry request sent by the C network user client, the scheduling system may feedback at least the C network user client An access point address may include a C network access point address 1, a C network access point address 2, a C network access point address n, and the like.
- the scheduling system may query the managed access point address, and select at least one access point address to send to the client. So that the client can send a network access request to the access point address.
- the step of the scheduling system feeding back the at least one access point address may include: the client sending an access point query request with network attribution information, where the scheduling system may be based on the attribution
- the local information preferentially feeds back the local access point address to the client; the scheduling system may detect the managed access point address, and the detected access point address may be fed back to the client, failing to pass
- the detected access point address can be fed back to the client after being detected.
- the number of new connections of the access point, the QPS, the traffic of each access point, and the like can be detected, and the access point can be determined to work normally according to the specified rule.
- the scheduling system may feed back at least one access point address, and when the client fails to send a network access request to an access point address, the client may send other access points fed back by the scheduling system.
- the address sends the network access request.
- the scheduling system may set a priority for the at least one access point address, and use the most stable access point address as the optimal access point address, according to the stability of the data transmission.
- the access point address is sent to the client, so that the client selects an access point address to send a network access request according to the priority.
- the data center accessed by the first access point address and the second access point address may be the same or different.
- data synchronization can be performed on the different data centers.
- the network service provider may include an operator that provides related network services to the user.
- the network service provided by the network service provider may include: helping the user to access the network; helping the user to find the required information on the network, and the like.
- the network service provider can provide a network access point for the user to access the network to the user.
- network service providers may include China Mobile, China Telecom, China Unicom, and other virtual operators.
- the access point address corresponding to the network service provider to which the client belongs may include: the network service provider may provide an access point for the user to access the network,
- the access point address sent by the scheduling system to the client may include an access point address provided by a network service provider to which the client belongs.
- the C network user wants to access the Internet through the client, sends an access point query request to the scheduling system, and the scheduling system queries the managed network access point address, and sends the C network access to the client of the C network user.
- the address n is not sent to the client of the C network user to send the A network access point address.
- Step S24 Send a network access request to the access point address.
- the network access request may be a string or code that satisfies a communication protocol and follows a certain format, and may be used to indicate that a client that sends the network access request wants to access through the access point.
- a communication protocol may be a string or code that satisfies a communication protocol and follows a certain format, and may be used to indicate that a client that sends the network access request wants to access through the access point.
- the network access request may be a string or code that satisfies a communication protocol and follows a certain format, and may be used to indicate that a client that sends the network access request wants to access through the access point.
- the network access request may be a string or code that satisfies a communication protocol and follows a certain format, and may be used to indicate that a client that sends the network access request wants to access through the access point.
- the manner in which the client sends a network access request to the access point address may include: the client receiving the at least one access point address, randomly from at least one access point address Pick an access point address to make a network access request.
- the client accesses from the received A network.
- One of the point addresses selects an outgoing access request; the B network user client selects one of the received B network access point addresses to issue an access request; the C network user client selects one of the received C network access point addresses. Access request.
- the client may select a access point address from the access point address to issue a network access request according to a specified rule.
- Selecting the access point address according to the specified rule may include: the client may preferentially select a local access point address of the network service provider; and the client may preferentially select an access point address with good access quality.
- the client of the A network user receives the A network access point address 2 and the A network access point address n fed back by the scheduling system, wherein the A network access point 2 is the local network access point of the A network user.
- the address, the client of the A network user preferentially sends a network access request to the A network broadband access point address 2.
- the client may receive, by sending an access point query request, at least one access point address corresponding to the network service provider to which the client belongs, and feedback to the feedback system.
- the access point address sends a network access request. Prevent the client from directly sending network access requests to any access point address, accessing network delays caused by non-owned network service providers, network failures such as failure to access the server, improving user experience, and receiving at least one access.
- the point address ensures that when there is an access point address failure, a network access request can be made to another access point address.
- the client sends an access point query request to the scheduling system, and the scheduling system feeds back at least one corresponding access point address to the client, which can implement scheduling of the static bandwidth network and improve the client access network.
- the success rate guarantees the stability of network services and reduces the cost of broadband.
- the receiving, by the scheduling system, the at least one access point address comprises: receiving at least one first access point address and a second access point address fed back by the scheduling system.
- the first access point address and the second access point address may include: the scheduling system may select two access point addresses from the managed access point addresses, and one is the first The other access point address is the second access point address.
- the manner in which the scheduling system selects an access point address may include: randomly selecting two access point addresses from an access point address provided by the network service provider; from an access point address provided by the network service provider Select two access points according to the specified rules. Selecting the access point address according to the specified rule may include: selecting an access point address local to the client and/or an access point address that is closer to the local area of the client; the scheduling system may The access point address is used for performance detection, and the access point address with better performance is selected.
- the first access point address and the second access point address may access the same data center or access different data centers.
- a Nanjing telecommunications user sends an access point query request to the scheduling system, and after receiving the access point query request, the scheduling system selects a Nanjing telecom access point address and access to the Nanjing data center.
- the address of the Nanjing Telecom access point of the Beijing Data Center, the address of the Nanjing Telecom access point connected to the Nanjing data center as the first access point address will be the access point of the Nanjing Telecom access point of the Beijing data center as the second access point.
- the address synchronizes the data of the Beijing data center with the data of the Nanjing data center.
- data synchronization may be performed on the data center corresponding to each access point.
- the client may randomly select or select an access point address to initiate a network access request according to a specified rule, where In the case where an access point address network access fails or access is unstable, the client can switch to another access point address for access.
- the scheduling system sends the at least one first access point address and the second access point address to the client, so that the client can address the first access point or the second access
- the inbound address sends a network access request.
- the client can select another access point address to access, ensuring that the user can obtain more stable network services.
- the access point device corresponding to the first access point address and the access point device corresponding to the second access point are in different geographical areas.
- the access point device may be configured to provide a data access portal to the client, and the client may establish a connection with the access point device to access network data.
- the access point device may include a hardware device with data information processing capability and software necessary to drive the hardware device to work.
- the scheduling system may also be only a hardware device with data processing capability, or only software running in a hardware device.
- a relatively stable network service when the client accesses the local access point device, generally a relatively stable network service can be obtained.
- Shenzhen Unicom users send network access requests to China Unicom's Shenzhen access point address, and the probability of successful access is large.
- an access point device may be set up everywhere, and the client may select a nearby access point device to issue a network access request.
- China Mobile can set access point devices in Harbin, Changchun, and Shenyang respectively.
- Each of the access point devices has its own access point address, and Harbin mobile users preferentially select the Harbin mobile access point address.
- the network access request can be issued by selecting the access point address of Changchun Mobile.
- the first access point address and the second access point address may be different in attribution, and if the local access point address is unavailable, the corresponding access point device may be selected.
- the inbound address issues a network access request.
- the access point device corresponding to the first access point address and the second access point address may be different, and two access points whose geographical location is close to the geographical location of the user may be selected.
- the access point address corresponding to the point device is used as the first access point address and the second access point address, so as to ensure that the user can obtain a relatively stable network service.
- the sending a network access request to the access point address includes: sending a network access request to the first access point address; and in case the first access point address access fails, The second access point address issues a network access request.
- the access point address access failure may include: the client fails to establish a connection with the access point address multiple times; the client requests an access timeout or the like.
- sending a network access request to the second access point address may include: the client may select the first access point A network access request is issued.
- the user can switch to the second access point and issue a network access request to see if the access is successful.
- the dispatching system sends the Chengdu Telecom access point address and the Chongqing Telecom access point address to the mobile phone of the Chengdu Telecom user, and uses the Chengdu Telecom access point address as the first broadband access point address to access the Chongqing Telecom.
- the point address is used as the second access point address.
- the Chengdu Telecom user first sends a network access request to the Chengdu Telecom access point address through the mobile phone, and establishes a connection with the Chengdu Telecom broadband access point. After several failed connection establishments, the Chengdu Telecom user sends the address to the Chongqing Telecom access point through the mobile phone. The network access request and establish a connection with the Chongqing Telecom access point, and the connection is successful.
- the client may send a network access request to the received second access point address if the network access request fails to be sent to the first access point address, respectively, in a normal situation.
- the automatic disaster tolerance of the faulty access point can be ensured by the client in the static bandwidth to ensure that the user can obtain stable network services.
- the access method further includes transmitting an access point change request to the scheduling system to regain an access point address if the second access point address access fails.
- the access point change request may be a string or code that satisfies the communication protocol and follows a certain format, and may be used to indicate that the client that sent the access point change request requests the change from the scheduling system.
- the access point change request may include an address of the client, and an access point address that has failed to access.
- the client may send an access point change request to the scheduling system based on a protocol such as Http, TCP/IP, or the like.
- the Nanjing mobile user receives the Hefei mobile access point address and the Shanghai mobile access point address sent by the dispatching system, and the Nanjing mobile user first sends a network access request to the Hefei mobile broadband access point through the mobile phone, and then passes the mobile phone again after the access fails.
- the Shanghai Mobile Broadband Access Point address still fails to access the network access request.
- the Nanjing mobile user sends an access point change request to the dispatching system through the mobile phone.
- the access point change request contains the user address, and the access failed Hefei mobile broadband access point address.
- the Shanghai Mobile Broadband Access Point address requesting the two access point addresses fed back before the change, requesting a new broadband access point address different from the addresses of the two broadband access points.
- the scheduling system may select an access point address randomly from the managed access point address or according to a specified rule, and may At least one access point address different from the previous feedback is fed back to the client.
- the client may select an access point address to issue a network access request, and the access is successful, and the access may fail to the scheduling again.
- the system sends an access point change request until the access is successful.
- the data center pointed to by the newly obtained access point address may be the same as the data center pointed to by the access point address of the previous access failure, or may be different.
- the client sends an access point change request, and the new access is fed back by the scheduling system.
- Point address the client sends a network access request to the new access point address. The reliability of the fault access point of the client is further improved, and the user can obtain a stable network service.
- an embodiment of the present specification further provides a client, where the client may include the following modules.
- An inquiry requesting module configured to send an access point query request to the scheduling system; the scheduling system is configured to manage an access point address;
- a receiving module configured to receive at least one access point address fed back by the scheduling system; the access point address corresponding to a network service provider to which the client belongs;
- An access request module is configured to issue a network access request to the access point address.
- the query request module, the receiving module, and the access request module may perform network communication to send and receive data
- the query request module, the receiving module, and the access request module may be configured according to a TCP/IP protocol, and Data transmission and reception under the framework of the protocol.
- the query request module, the receiving module, and the access request module may be provided with a wireless mobile network communication chip, such as GSM, CDMA, etc.; and may also be provided with a WIFI chip; it may also be provided with a Bluetooth chip.
- the specific functions implemented by the query request module, the receiving module, and the access request module may be interpreted in comparison with a network access method in the present specification, and the network access method implementation manner of the present specification may be implemented and achieved.
- the technical effect of the method embodiment may be interpreted in comparison with a network access method in the present specification, and the network access method implementation manner of the present specification may be implemented and achieved.
- Embodiments of the present specification further provide a computer storage medium storing computer program instructions, which are implemented when the computer program instructions are executed, and send an access point query request to a scheduling system; the scheduling system is configured to: Managing an access point address; receiving at least one access point address fed back by the scheduling system; the access point address corresponding to a network service provider to which the client belongs; sending a network to the access point address Access request.
- the computer storage medium includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a cache (Cache), a hard disk (Hard Disk Drive, HDD) or Memory Card.
- RAM random access memory
- ROM read-only memory
- cache cache
- HDD Hard Disk Drive
- the embodiment of the present specification further provides a network interaction method, and the method is applied to a scheduling system.
- the network interaction method may include the following steps.
- Step S60 Receive an access point inquiry request of the client.
- the scheduling system may simultaneously receive an access point query request sent by different clients.
- the client may be a mobile terminal, a PC terminal, a wireless APP, or the like; a client belonging to a different network service provider, and the client may be a mobile client terminal. , China Unicom customer terminal, telecom customer terminal, etc.
- the scheduling system may simultaneously receive an access point query request sent by different clients, and may feed back an access point address according to a request of the client's respective access point.
- a Unicom user in Suzhou a mobile user in Wuxi, and a telecom user in Hangzhou can simultaneously send an access point inquiry request to a scheduling system using a mobile phone, and the scheduling system can simultaneously receive and process an access point inquiry request sent by each user.
- the access point inquiry request sent by each user's mobile phone the corresponding access point address is fed back to each user.
- Step S62 Determine, according to the access point query request, a network service provider corresponding to the client.
- the access point query request may include client address information, and the network service provider corresponding to the client may be determined according to the address information of the client.
- the manner of determining the network service provider corresponding to the client may include: establishing an IP address library, where the IP address library may include a plurality of different IP addresses, and corresponding to different networks according to each IP address.
- the service provider After receiving the access point inquiry request sent by the client, the service provider extracts the client IP address from the access point inquiry request, invokes the established IP address library, and queries the client IP address from the IP address library.
- IP Address find the client IP address, determine the network service provider corresponding to the IP address; can form an IP data set by extracting the IP address and the corresponding network service provider information on the network device accessed by BGP, when the scheduling system After receiving the access point query request sent by the client, the client IP address is extracted from the access point query request, the IP data set is queried, and the corresponding network service provider information is obtained from the IP data set.
- Step S64 Send at least one access address of the network service provider to the client.
- the scheduling system may query an access point address of the corresponding network service provider, and a network access point provided by the network service provider. There can be more than one.
- the scheduling system may randomly select at least one access point address or select at least one access point address according to a specified rule, and send at least one access point address to the client according to a network communication protocol.
- the scheduling system determines, according to the access point query request, a network service provider corresponding to the client, and sends at least one access point address of the network service provider to the client. On the one hand, it can ensure that the client can receive the network access point address of the network service provider to which it belongs. On the other hand, providing at least one access point address can ensure that the client can be timely after an access point fails. Use other access point addresses for network access.
- the step of determining a network service provider corresponding to the client may include: calling an IP address library; the IP address library corresponding to the storage IP address and the network service provider; and the IP address pool The network service provider corresponding to the IP address of the client is queried.
- the IP address may be a logical address of the network and the host on the Internet. Different clients in the network provided by the same network service provider may have different IP addresses; the network service providers to which the client belongs may have different IP addresses.
- the IP address can be a 32-bit binary number. Clients, servers, network access points, etc. can have IP addresses in a network.
- the IP address library may be a database, and the database may store an IP address and a network service provider corresponding to each IP address.
- Each network service provider can aggregate the client IP addresses described above, establish a database to form an IP address library, and update the IP in time when the network service provider adds, changes, or deletes the client IP address.
- the IP address pool may be a network service provider and its corresponding client IP address set or a plurality of network service providers and their corresponding client IP address sets.
- the scheduling system may determine an IP address of the client from an access point query request sent by the client, may invoke the IP address library, and search for an IP address of the client from the IP address pool. After finding the client IP address, determine the network service provider corresponding to the client from the IP address pool.
- the Unicom mobile phone user sends an access point inquiry request through the mobile phone, and the scheduling system determines the IP address of the user mobile phone from the access point inquiry request, calls the IP address library, finds the IP address from the IP address library, and corresponds to the network service.
- the provider is China Unicom.
- the scheduling system itself does not know which network service provider the client belongs to, and determines which network service provider the client belongs to by calling the IP address pool, so that the client can provide accurate feedback.
- the access point address improves the user experience.
- the step of determining a network service provider corresponding to the client may include: querying, in the IP data set, a network service provider corresponding to the IP address of the client; wherein the IP data set is extracted The IP and network service provider of the access device from BGP.
- the BGP may be a routing protocol, and the BGP may control the propagation of routes and select a better route.
- the access device may be a physical entity connected to the network and may be used to remotely access network resources. These may include personal computers, servers, switches, bridges, routers, wireless access points, modems, and the like.
- the establishing the IP data set may include: extracting an IP address and corresponding network service provider information in an access device that uses BGP access, and feeding back the IP address and corresponding network service provider information to The scheduling system, if a new IP address appears, can be extracted in real time and fed back to the scheduling system.
- the set of the fed back IP address and the corresponding network service provider information may be the IP data set.
- the scheduling system may determine an IP address of the client from the access point query request, according to the IP address of the client.
- the address queries the IP data set to determine the corresponding network service provider.
- the improvement is performed.
- the quasi-determination of the information ensures that the client can receive the access point address of the corresponding network service provider.
- the step of transmitting the at least one access point address to the client may include: transmitting, by the network provider, at least a first access point address and a second access point address to the client Wherein the second access point address is used in case the client fails to access the first access point address.
- the scheduling system may determine a corresponding network service provider according to the client address, and the network service provider may have no less than one access point.
- the manner in which the scheduling system sends the at least first access point address and the second access point address to the client may include that the scheduling system may provide the connection from the network service provider. Two access point addresses are selected from the in-point address, one as the first access point address and the other as the second access point address.
- the manner in which the scheduling system selects an access point address may include: randomly selecting two access point addresses from an access point address provided by the network service provider; from an access point address provided by the network service provider Select two access points according to the specified rules.
- Selecting the access point address according to the specified rule may include: selecting an access point address local to the client and/or an access point address that is closer to the local area of the client; the scheduling system may The access point address is used for performance detection, and the access point address with better performance is selected.
- the second access point address may be used to be used when the client accesses the first access point address fails.
- the client may first send a network access request to the first access point address, and when the access fails, the client may directly send a network access request to the second access point address, and the two accesses
- the dot addresses are used for network access under normal conditions and network access under fault conditions to improve the stability of network services.
- the method further includes: receiving an access point change request sent by the client; the access point change request indicates that the access point address access that the client has obtained fails; The client sends an access point address of a network service provider corresponding to the client.
- the scheduling system may receive an access point change request sent by the client, and the scheduling system may provide the network service again after receiving the access point change request sent by the client.
- the scheduling system may randomly select or select an access point address according to a certain manner or rule, and send at least one access point address to the client, where the client is new to the client.
- the obtained access point address issues a network access request.
- the scheduling system may receive the access point change request sent by the client, and when the current network service provider has an available access point, the corresponding access point The address is sent to the client to ensure that the client can successfully access the network and improve the stability of the network.
- the scheduling system sends the access point address sent to the client to the client in the step of resending the access point address of the network service provider corresponding to the client to the client.
- the scheduling system may back up or mark the access point address of the client access failure as a fault access point address, and the scheduling system may go to the office after receiving the access point address change request. Determining an access point address provided by the corresponding network service provider, removing the backup access point address of the client that failed to be accessed from the access point address provided by the corresponding network service provider or marking the address as a fault access point The access point address is then sent to the client by selecting an access point address from the remaining access point addresses.
- the scheduling system may send an access point address that the client has not accessed to the client. It is ensured that the client does not send access to the access point address that has tried to access and the access fails, which improves the success rate of the client accessing the network.
- the access point access address of the access point that the client that sent the access point change request fails to access is counted; the access point access address is regarded as a fault address; wherein the fault address is before the recovery, No longer sent to the client.
- the manner of counting the access point address that the client accesses the access point may include: when an access point address of the client access failure occurs, the scheduling system records the access point address, Forming a set; the scheduling system may mark the access point address that the client accesses to be different from other access point addresses, and collect the marked access point addresses to complete statistics.
- the access point address is considered to be a fault address
- the scheduling system may mark the address that the client has failed to access as a fault address.
- the scheduling system may temporarily not send the addresses to the client.
- the scheduling system may wait for the faulty access point to be repaired.
- the scheduling system may remove the fault address mark of the faulty access point.
- the fault access point can be sent to the client by the dispatching system after the fault address tag is removed.
- the access point address of the client access failure is regarded as a fault address, and is not sent to the client before the fault address is restored, and the transmitted access point address is improved to be accessed by the client. Success rate.
- the scheduling system performs state detection on the access point; and the access point address in the access point address that does not meet the specified requirement is used as a fault address; wherein the fault address is not restored before, Then send it to the client.
- the scheduling system may actively detect an access point address provided by the network service provider.
- the detection method may include: using the ping command to perform network connectivity detection, if the access point does not respond to the ping command, the access point address is a fault address; establishing a connection with the access point, if multiple connections fail or the connection times out, accessing The point address is the fault address.
- the specifying requirement may include that the access point address can be normally connected to the network. Specifically, for example, the access point can respond to the ping command; the access point can connect successfully.
- the scheduling system may wait for the fault address to be recovered, and then detect the fault address again after the repair is completed, until the fault address is detected by the dispatch system.
- the scheduling system may actively detect an access point address, and further improve the sent access point address may be used by the client compared to passively waiting for the client to feed back which access point addresses are not accessible. The success rate of end access.
- the scheduling system detects the fault address; and if the fault address meets the usage condition, the fault address is restored as an access point address and provided to the client for access.
- the scheduling system may detect the fault address again after the fault address recovery is completed, until the fault address is restored to meet the access point usage requirement.
- restoring the fault address as an access point address to the client access may include re-adding the fault address that meets the usage condition to the set of access point addresses that can be sent to the client.
- the scheduling system sends the fault address to the client when the faulty address is detected, and the fault address is sent to the client to ensure that all the access point addresses are available. It is provided to the client for access, even if the fault address, as long as it meets the usage requirements after recovery, it can be provided to the client for access, which saves network resources and improves the success rate of the client accessing the network.
- the specified parameters of each access point address are monitored to determine the overall operational status.
- the specified parameter may be a network parameter for evaluating a network condition.
- the specified parameters may include, traffic, QPS, long connection number, or new connection number.
- the operating state may include stability of an access point represented by each access point address, timeliness of feedbacking an access point address for a client, and feedback of an access point address for a client. accuracy.
- the scheduling system may determine, according to the specified parameter, the access point address and an operating state of the scheduling system.
- the scheduling system can monitor each access point, and can obtain a real-time specified parameter size of each access point address, and determine whether the entire network interaction works normally according to the parameter of the access point address.
- the scheduling system may monitor a specified parameter of an access point address, and when the specified parameter of the access point address is higher or lower than a normal value range, receiving the connection sent by the client
- the appropriate access point address can be dynamically adjusted and sent to the client, and the workload of different access points can be coordinated.
- the scheduling system tests the traffic of each access point, and when the traffic of one access point is too high, the access point may be caused to work at full load.
- the scheduling system can send an access point address with a high traffic rate to a lower probability after receiving an access point inquiry request or an access point change request sent by the client.
- the client has a higher probability of transmitting the access point address of the other access point with relatively less traffic to the client, thereby improving the stability of the access point and the accuracy of the feedback access point address.
- the overall running state can be determined more scientifically and accurately by specifying parameters, and the appropriate access point address can be correspondingly sent to the client according to the overall operating state, so that the network resource can be reasonably used to ensure the network service. stability.
- the specified parameters include, but are not limited to, traffic, QPS, long connections, or new connections.
- the traffic may be the amount of data passing through the access point address per unit time.
- the small traffic may be that the access point address is in an idle state, or the access point is faulty; the traffic may be in a busy state of the access point address, or the data throughput of the access point is large.
- the QPS may be the number of response requests of the access point address within a predetermined time.
- the number of long connections may be the number of long connections of the access point address, and the long connection may be that the client remains connected to the access point address even if there is no data transmission.
- the number of newly established connections may be the number of connections that can be established in a unit time.
- the size of the newly created connection may affect the maximum number of connections that the access point address can establish in a unit time.
- the running state of the access point is determined according to the traffic, the QPS, the long connection number, and the newly established connection number as the designated parameters. Since these four parameters can effectively access the network performance of the point address, the four parameters are determined by using these four parameters.
- the operating state of the access point is more scientific and accurate.
- the operating status includes, but is not limited to, stability of an access point represented by each access point address, timeliness of feedbacking an access point address for a client, and feedback access to a client.
- the accuracy of the point address includes, but is not limited to, stability of an access point represented by each access point address, timeliness of feedbacking an access point address for a client, and feedback access to a client.
- the stability of the address of each access point may be: after the scheduling system sends the address of the access point of the client, whether the client can stably access the address of the access point may appear.
- the timeliness of the address of the access point for the client may be the time when the scheduling system feeds back the address of the access point after receiving the request for the address of the access point. The smaller the interval between the sending of the access point address query request and the requesting of the access point address to the access point, the more timely the feedback of the access point address for the client.
- the accuracy of the feedback of the access point address for the client may include whether the access point address sent by the scheduling system corresponds to the network service provider of the client; whether the fault has been accurately assigned is not a fault.
- the address of the access point may include whether the access point address sent by the scheduling system corresponds to the network service provider of the client; whether the fault has been accurately assigned is not a fault.
- an embodiment of the present specification further provides a client, where the client may include the following modules.
- a receiving module configured to receive an access point inquiry request of the client
- a determining module configured to determine, according to the access point query request, a network service provider corresponding to the client;
- a sending module configured to send the at least one access point address of the network service provider to the client.
- the receiving module and the sending module may perform network communication to send and receive data
- the receiving module and the sending module may be configured according to a TCP/IP protocol, and perform data transmission and reception under the protocol framework.
- the receiving module and the sending module may be provided with a wireless mobile network communication chip, such as GSM, CDMA, etc.; and may also be provided with a WIFI chip; it may also be provided with a Bluetooth chip.
- the specific functions implemented by the receiving module, the determining module, and the sending module of the client disclosed in the foregoing embodiments may be interpreted in comparison with a network access method in the present specification, and the network access method implementation manner of the present specification may be implemented and the method implementation may be implemented. The technical effect of the way.
- Embodiments of the present specification further provide a computer storage medium storing computer program instructions, implemented when the computer program instructions are executed, receiving an access point inquiry request of a client; and inquiring according to the access point Requesting to determine a network service provider corresponding to the client; transmitting at least one access point address of the network service provider to the client, for the client to operate according to the access point address access The server in the data center.
- the computer storage medium includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a cache (Cache), a hard disk (Hard Disk Drive, HDD) or Memory Card.
- RAM random access memory
- ROM read-only memory
- cache cache
- HDD Hard Disk Drive
- the embodiment of the present specification further provides a network system, including: a scheduling system, a network access device, and a data center; the scheduling system is configured to receive an access point query request of a client; and determine, according to the access point query request, a network service provider corresponding to the client; sending at least one access point address of the network access device of the network service provider to the client, so that the client is based on a network corresponding to the network service provider
- the access device accesses the data center; the network access device is configured to provide a network access service for the client; and the data center feeds back corresponding data when receiving a data access request from the client.
- the network system disclosed in the foregoing embodiment the specific functions implemented by the scheduling system, the network access device, and the data center may be interpreted in comparison with a network access method in the present specification, and the network access method implementation manner of the present specification may be implemented and achieved.
- the technical effect of the method embodiment may be interpreted in comparison with a network access method in the present specification, and the network access method implementation manner of the present specification may be implemented and achieved.
- the network access method, the client, the network interaction method, the scheduling, and the network system provided by the embodiments of the present specification.
- the scheduling system sends the at least one corresponding network service provider's access point address to the client after receiving the access point query request, and at least one sent by the client to the client
- the access point address sends a network access request, which ensures that the client can send a network access request to other access point addresses if the access of one access point fails, thereby improving the stability of the network service.
- This description can be used in a variety of general purpose or special purpose computer system environments or configurations.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本说明书公开了网络访问方法、客户端、网络交互方法及调度、网络系统,其中网络访问方法,应用于客户端;包括:向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;向所述接入点地址发出网络访问请求。本说明书公开的网络访问方法、客户端、网络交互方法及调度系统当一个接入点地址故障时可以进行快速切换,从而降低网络成本。
Description
本申请要求2018年01月30日递交的申请号为201810089000.1、发明名称为“网络访问方法、客户端、网络交互方法及调度、网络系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本说明书涉及网络技术领域,特别涉及网络访问方法、客户端、网络交互方法及调度、网络系统。
随着计算机网络技术的发展,给人们生活工作带来了很多的便利。
运营商提供的网络可以分为三类,分别为BGP(边界网关协议)带宽、CDN(内容分发网络)带宽和静态带宽,BGP带宽价格较为昂贵,提供的服务也较稳定,且具备三网互通的能力;CDN带宽较便宜但提供的服务相对不够稳定,静态带宽介于两者之间。
虽然BGP提供的服务较为稳定,但成本较为昂贵。国内主流的运营商包括电信、移动和联通,一个互联网数据中心要同时承载来自多家运营商的流量,所以一个互联网数据中心要有和多家运营商通信的能力。为屏蔽运营商细节,很多互联网数据中心都采用BGP接入,通过BGP网络,部署在互联网数据中心的后端服务器不用考虑流量来自于哪家运营商可以实现网络互通。但BGP网络的造价非常昂贵,是静态网络的数倍,对于很多互联网公司而言,BGP带来的网络成本开销是十分巨大的。
发明内容
本说明书实施方式提供网络访问方法、客户端、网络交互方法及调度、网络系统。能够实现使用较低的成本进行网络服务。
本说明书实施方式提供一种网络访问方法,所述方法应用于客户端;所述方法包括:向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;向所述接入点地址发出网络访问请求。
本说明书实施方式提供一种客户端,包括:询问请求模块,用于向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收模块,用于接收所述调度系统 反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;访问请求模块,用于向所述接入点地址发出网络访问请求。
本说明书实施方式提供一种网络交互方法,包括:接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的至少一个接入点地址发送给所述客户端。
本说明书实施方式提供一种调度系统,包括:接收模块,用于接收客户端的接入点询问请求;确定模块,用于根据所述接入点询问请求确定所述客户端对应的网络服务提供商;发送模块,用于将所述网络服务提供商的至少一个接入点地址发送给所述客户端。
本说明书实施方式提供一种网络系统,包括:调度系统、网络接入设备、数据中心;所述调度系统用于接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的网络接入设备的至少一个接入点地址发送给所述客户端,以使所述客户端根据与其网络服务提供商对应的网络接入设备访问所述数据中心;所述网络接入设备用于为所述客户端提供网络访问服务;所述数据中心用接收到客户端的数据访问请求的情况下,反馈相应的数据。
由以上本说明书实施方式提供的技术方案可见,本说明书实施方式提供的网络访问方法客户端可以在通信时询问调度系统获取相应的接入点,成本较低。
为了更清楚地说明本说明书实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书实施方式提供的一种网络访问方法工作流程示意图;
图2为本说明书实施方式提供的一种网络访问方法的流程图;
图3为本说明书实施方式提供的一个场景示例示意图;
图4为本说明书实施方式提供的一个变更接入点地址场景示例示意图;
图5为本说明书实施方式提供的一种客户端的结构框图;
图6为本说明书实施方式提供的一种网络交互方法的流程图;
图7为本说明书实施方式提供的一种调度系统的结构框图。
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施方式中的附图,对本说明书实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本说明书一部分实施方式,而不是全部的实施方式。基于本说明书中的实施方式,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施方式,都应当属于本说明书保护的范围。
本发明实施方式提供一种应用所述网络访问方法的系统,可以包括客户端、调度系统、网络接入设备和数据中心。
在本实施方式中,所述客户端可以用于访问数据,所述客户端可以包括,具有显示、运算和网络访问功能的电子设备。具体的,例如,客户端可以为台式电脑、平板电脑、笔记本电脑、智能手机、数字助理、智能可穿戴设备、具有网络访问功能的电视机。或者,客户端也可以为能够运行于上述电子设备中的软体。所述客户端可以提供用于数据交互的网络接口。所述客户端可以遵循网络通信协议进行数据信息交互。
在本实施方式中,所述调度系统可以用于管理、分配接入点地址。所述调度系统可以包括,具有数据信息处理能力的硬件设备和驱动该硬件设备工作所需必要的软件。当然,所述调度系统也可以仅为具有数据处理能力的硬件设备,或者,仅为运行在硬件设备中的软件。所述调度系统可以包括工作站、服务器,计算机、用户终端其他网络设备。所述调度系统可以提供用于数据交互的网络接口。所述调度系统也可以遵循网络通信协议进行数据信息交互。在接入点地址不可用的情况下,所述调度系统可以再次为所述客户端反馈接入点地址,新反馈的接入点地址所接入的数据中心可以和旧反馈的接入点地址所接入的数据中心是同一个数据中心,也可以是不同的数据中心。
在本实施方式中,所述网络接入设备可以用于提供客户端对所述数据中心进行网络访问的媒介。所述接入点设备运行的情况可以影响到所述客户端访问网络的质量。不同的网络服务商可以提供不同类的接入点设备。所述接入点设备可以包括,具有数据信息处理能力的硬件设备和驱动该硬件设备工作所需必要的软件。当然,所述调度系统也可以仅为具有数据处理能力的硬件设备,或者,仅为运行在硬件设备中的软件。具体地,例如,交换机、调制解调器、路由器等。不同的网络服务提供商可以提供不同的所述接入设备以接入自己所提供的网络;不同的数据中心可以由不同的接入设备接入并访问网络数据。
在本实施方式中,所述数据中心可以用于向发送网络访问请求的客户端提供网络数据。当所述客户端发送网络访问请求时,所述数据中心可以调用相应的服务器端口向所述客户端提供网络数据。所述数据中心可以包括计算机设备、服务器设备、存储设备、网络设备、通讯链路等硬件设备以及包括保持服务器与客户端之间双向通讯的构架软件以实现客户端接入和数据传输。可以通过internet接入也可以通过运营商提供的专线接入所述数据中心。所述数据中心可以运行多个软件的服务器。为了分担数据中心负荷,多个数据中心也可以运行同一个软件的服务器。当多个数据中心运行同一个软件的服务器时,可以对多个数据中心进行数据同步处理,以保证不同数据中心之间数据读写的一致性。
在本实施方式中,所述客户端可以向所述调度系统发送接入点询问请求。所述调度系统可以在接收到所述接入点询问请求后向所述客户端反馈至少一个接入点地址。所述客户端在接收到所述至少一个接入点地址后可以根据所述接入点地址发送网络访问请求。在一个接入点地址不能正常访问的情况下,可以根据所述调度系统反馈的其他接入点地址发送网络访问请求。
请参阅图3,在一个场景示例中,上海联通手机用户、天津电信手机用户和北京移动手机用户均使用手机访问某网站。
在本场景示例中,上海联通手机用户、天津电信手机用户和北京移动手机用户分别使用手机向调度系统发送接入点询问请求。发送的接入点询问请求中包括三个用户手机各自IP地址。
在本场景示例中,调度系统在采用BGP接入网络的接入设备中提取IP地址和相应的网络运营商信息,形成IP数据集。
在本场景示例中,调度系统分别接收到这3个手机用户使用手机发送的接入点询问请求。提取这三个手机用户各自手机的IP地址,查询IP数据集,得到这三个用户对应的网络运营商分别是中国联通、中国电信和中国移动。
在本场景示例中,调度系统选取上海联通接入点地址、北京联通接入点地址嘉兴联通接入点地址发送给上海联通手机用户的手机,将上海联通接入点地址作为第一接入点地址,将北京联通接入点地址作为第二接入点地址,将嘉兴接入点地址作为第三接入点地址;选取天津电信接入点地址和廊坊电信接入点地址发送给天津电信手机用户的手机,将天津电信接入点地址作为第一接入点地址,将廊坊电信接入点地址作为第二接入点地 址;选取北京移动接入点地址和石家庄移动接入点地址发送给北京移动手机用户的手机,将北京移动接入点地址作为第一接入点地址。
在本场景示例中,上海联通手机用户使用手机先向上海联通接入点发出网络访问请求,出现请求超时的现象,再次向北京联通接入点发出网络访问请求依然请求超时,再向嘉兴联通接入点发出网络访问请求依然请求超时;天津电信手机用户使用手机先向天津电信接入点发出网络访问请求,出现请求超时的现象,再次向廊坊电信接入点发出网络访问请求,成功访问了某网站;北京移动手机用户使用手机先向北京移动接入点发出网络访问请求并且成功访问了某网站。
在本场景示例中,请参阅图4,上海联通手机用户的客户端在三个接入点地址都访问失败的情况下,向调度系统发送接入点变更请求,该接入点变更请求中包含上海联通接入点地址、北京联通接入点地址与嘉兴联通接入点地址信息。调度系统接收到接入点变更请求后,选取不同于上海联通接入点地址、北京联通接入点地址以及嘉兴联通接入点地址的南京联通接入点地址与杭州联通接入点地址发送给上海联通手机用户的手机,并且将南京联通接入点地址作为第一接入点地址,杭州联通接入点地址作为第二接入点地址,上海联通手机用户使用手机先向南京联通接入点地址发出网络访问请求,并且成功访问了某网站。
在本场景示例中,调度系统将上海联通接入点地址、北京联通接入点地址、嘉兴联通接入点地址、天津电信接入点地址标记为故障地址,在这四个接入点地址修复完成后,检测这四个接入点地址的可用性,检测这四个接入点地址可用,等再接收到接收点询问请求后者接收点变更请求后可以将这四个接入点地址分别发送给相应的用户。
在本场景示例中,调度系统监控各个接入点地址的流量、QPS以及新建连接数。其中,北京移动接入点地址的流量为1600MB/s,QPS为2000,新建连接数为5000,北京移动接入点地址处于高负载工作状态;天津移动接入点地址流量为500MB/s,QPS为700,新建连接数为1000,处于低负载工作状态。调度系统可以对不同的接入点工作负载进行调整,以使各接入点工作负载趋于相同且稳定的状态。
在本场景示例中,调度系统在接收到的唐山移动用户发送的接入点请求后,将原有的50%概率发送北京移动接入点地址给唐山移动用户的客户端的概率降低到30%,将原有的50%概率发送天津移动接入点地址给唐山移动用户的客户端的概率提升到70%,以此降低北京移动接入点地址的工作负载,提升天津移动接入点地址的工作负载。
在本场景示例中,调度系统根据发送概率发送天津移动接入点地址给唐山移动用户 的客户端,唐山移动用户的客户端在接收到天津移动接入点地址后,向天津移动接入点地址发出访问请求。
在本场景示例中,调度系统在变更发送北京移动接入点地址的概率和发送天津移动接入点地址的概率后,监控接入点地址的流量、QPS以及新建连接数,北京移动接入点地址的流量为1200MB/s,QPS为1500,新建连接数为3500,相比较之前工作负载有所下降,天津移动接入点地址的流量为1000MB/s,QPS为1300,新建连接数为2500,工作负载有所上升,使接入点地址的工作负载趋于相同且稳定的状态。
在一个场景示例中,某电商平台分别在成都和武汉设置数据中心。用户可以访问成都数据中心也可以访问武汉数据中心。可以优先访问地理位置距离自己近的数据中心进行访问。
在本场景示例中,成都移动用户使用客户端向所述调度系统发送接入点查询请求,所述调度系统反馈访问成都数据中心的成都移动接入点地址和重庆移动接入点地址,用户使用客户端向成都移动接入点地址发出网络访问请求,访问该电商平台。在该电商平台上购买一件毛衣,完成下单。并将用户的下单数据同步到武汉数据中心之中
在本场景示例中,成都移动用户出差到武汉,想要查询购买毛衣的物流信息。用户使用客户端向调度系统发送接入点查询请求,所述调度系统反馈访问武汉数据中心的武汉移动接入点地址和访问成都数据中心的成都移动接入点地址,用户在使用访问成都数据中心的成都移动接入点地址访问失败的情况下,可以向访问武汉数据中心的武汉移动接入点地址发出网络访问请求,访问该电商平台。由于所述武汉数据中心与成都数据中心之间已经进行了数据同步,用户可以查看订单记录并查询物流信息。
本说明书实施方式提供一种网络访问方法。所述网络访问方法可以应用于客户端。
请参阅图1和图2,所述网络访问方法的工作流程如图1所示。所述网络访问方法可以包括以下步骤。
步骤S20:向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址。
在本实施方式中,所述接入点可以包括在网络中网络服务提供商为用户接入网络而提供的入口。具体地,可以包括硬件设备的网络接口单元,例如,可以是网络服务提供商站点的一组调制解调器或者接入服务器;软件服务器设置的接收数据的端口;例如:A网络接入点地址1可以是133.15.147.23:8080。硬件设备可以提供基础硬件通信链路, 数据可以通过软件进行接收和交互。
在本实施方式中,所述接入点地址可以用于标识一个接入点,以及用于表示访问接入点的入口。即,可以通过向所述接入点地址发送数据的方式,访问接入点地址所标识的接入点。所述接入点地址可以包括按照网络协议为接入网络的入口而设定的地址,可以根据接入点地址来区分不同的接入点。不同的网络服务提供商可以提供相应访问网络的接入点地址,客户端可以向所属的网络服务提供商提供的相应接入点地址发出网络访问请求,进而访问相应的网络。
在本实施方式中,所述接入点询问请求可以是满足通信协议并遵循一定格式的字符串或代码,其可以用于表示发出该接入点询问请求的客户端询问所述调度系统是否有可以使用的接入点以供其接入相应网络。具体地,客户端可以基于Http、TCP/IP等协议,向调度系统发送接入点询问请求。
在本实施方式中,调度系统管理接入点地址可以包括调度系统可以对接入点地址进行分配给发出接入点询问请求的客户端。
在本实施方式中,所述客户端可以通过向接入点地址发出网络访问请求,进而访问网络,为了保障所述客户端可以顺利接入网络,需要所述调度系统管理接入点地址并将相应的可用的接入点地址分配给所述客户端。
在本实施方式中,所述调度系统管理接入点地址的方式可以包括,收集不同网络服务提供商相应的接入点地址;添加可用的接入点地址;检测接入点地址的性能;暂停故障的接入点地址提供客户端使用;监控网络中各个接入点的工作状态;将接入点地址分配给相应的客户端。
在本实施方式中,所述调度系统可以将各个网络服务提供商提供的接入点地址按照网络服务提供商的不同进行分类,具体地,例如将A网络接入点地址1、A网络接入点地址2、A网络接入点地址n等A网络接入点地址分为一类,将B网络接入点地址1、B网络接入点地址2、B网络接入点地址n等B网络接入点地址分为一类等。
在本实施方式中,所述添加可用的接入点地址可以包括,添加所述网络服务提供商所新增的接入点地址;添加修复完成的故障接入点地址等。
在本实施方式中,所述检测接入点地址的性能可以包括,对各个接入点地址进行状态检测,将不符合指定要求的接入点地址作为故障接入点地址。去除故障的接入点地址可以包括,将故障的接入点地址从管理的接入点地址集合中去除,不再发送给所述客户端。
在本实施方式中,所述监控网络中各个接入点的工作状态可以包括,监控各个接入点地址的指定参数,具体的,例如流量、QPS、长连数、新建连接数等确定各个接入点的运行状态。
在本实施方式中,所述将接入点地址分配给相应的客户端可以包括,所述调度系统可以根据客户端发送的接入点询问请求确定所述客户端所属的网络服务提供商,所述客户端可以将自身网络地址发送给所述调度系统,所述调度系统可以根据客户端的网络地址查询该网络地址对应的网络服务提供商,并将对应的网络服务商的接入点地址分配给客户端。
步骤S22:接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应。
在本实施方式中,调度系统反馈接入点地址可以包括,所述调度系统可以在接收到所述客户端发送的接入点询问请求后,根据接入点查询请求从所管理的接入点地址中选择接入点地址,将该接入点地址发送给客户端。
在本实施方式中,所述至少一个接入点地址可以为所述调度系统将能够与所述接入点查询请求相匹配的接入点地址发送给客户端,发送的接入点地址可以不止一个。具体地,例如,A网络用户、B网络用户、C网络用户可以使用客户端向调度系统发送接入点询问请求。调度系统在收到A网络用户客户端发送的接入点询问请求后,可以向A网络用户客户端反馈至少一个接入点地址,可以包括,A接入点地址1,A网络接入点地址2,A网络接入点地址n等;调度系统在收到B网络用户客户端发送的接入点询问请求后,可以向B网络用户客户端反馈至少一个接入点地址,可以包括,B接入点地址1,B网络接入点地址2,B网络接入点地址n等;调度系统在收到C网络用户客户端发送的接入点询问请求后,可以向C网络用户客户端反馈至少一个接入点地址,可以包括,C网络接入点地址1,C网络接入点地址2,C网络接入点地址n等。
在本实施方式中,所述调度系统在接收到所述客户端发送的接入点询问请求后,可以查询所管理的接入点地址,选择至少一个接入点地址发送给所述客户端,以使所述客户端可以向所述接入点地址发送网络访问请求。
在本实施方式中,所述调度系统反馈至少一个接入点地址的步骤中可以包括,所述客户端发送附带有网络归属地信息的接入点查询请求,所述调度系统可以根据所述归属地信息优先向所述客户端反馈本地的接入点地址;所述调度系统可以对管理的接入点地址进行检测,通过检测的所述接入点地址可以反馈给所述客户端,没有通过检测的所述 接入点地址在修复后通过检测才可以反馈给所述客户端。具体地,例如,可以检测接入点的新建连接数、QPS、各个接入点的流量等,根据指定规则确定所述接入点能够正常工作。
在本实施方式中,所述调度系统可以反馈至少一个接入点地址,当客户端向一个接入点地址发送网络访问请求失败时,客户端可以向其他被所述调度系统反馈的接入点地址发送所述网络访问请求。
在本实施方式中,所述调度系统可以为所述至少一个接入点地址设定优先级,将数据传输最稳定的接入点地址作为最优接入点地址,按照数据传输的稳定度反馈所述接入点地址给所述客户端,以使所述客户端根据所述优先级选择接入点地址发送网络访问请求。
在本实施方式中,所述第一接入点地址和所述第二接入点地址访问的数据中心可以是同一个也可以是不同的。在访问不同数据中心的情况下,可以对所述不同的数据中心进行数据同步。
在本实施方式中,所述网络服务提供商可以包括为用户提供相关网络服务的经营者。所述网络服务提供商提供的网络服务可以包括,帮助用户接入网络;帮助用户在网络上找到所需要的信息等。所述网络服务提供商可以为用户提供网络接入点,以供所属用户访问网络。具体地,网络服务提供商可以包括,中国移动、中国电信、中国联通以及其他虚拟运营商。
在本实施方式中,所述接入点地址与所述客户端所属于的网络服务提供商相对应可以包括,所述网络服务提供商可以提供接入点以供所属用户接入网络,所述调度系统发送给所述客户端的接入点地址可以包括客户端所属网络服务提供商提供的接入点地址。具体地,例如,C网络用户想要通过客户端进行上网,向调度系统发送接入点查询请求,调度系统查询所管理的网络接入点地址,向C网络用户的客户端发送C网络接入点地址n,而不向C网络用户的客户端发送A网络接入点地址。
步骤S24:向所述接入点地址发出网络访问请求。
在本实施方式中,所述网络访问请求可以是满足通信协议并遵循一定格式的字符串或代码,其可以用于表示发出该网络访问请求的客户端想要通过所述接入点接入到网络中。
在本实施方式中,所述客户端向所述接入点地址发出网络访问请求的方式可以包括,所述客户端接收到所述至少一个接入点地址,从至少一个接入点地址中随机挑选一个接 入点地址发出网络访问请求。具体地,例如,A网络用户客户端、B网络用户客户端、C网络用户客户端在接收到调度系统反馈的至少一个接入点地址后,A网络用户客户端从接收到的A网络接入点地址中选择一个发出访问请求;B网络用户客户端从接收到的B网络接入点地址中选择一个发出访问请求;C网络用户客户端从接收到的C网络接入点地址中选择一个发出访问请求。
在本实施方式中,所述客户端接收到所述至少一个接入点地址后,可以从接入点地址中按照指定的规则选择接入点地址发出网络访问请求。按照指定的规则选择接入点地址可以包括,所述客户端可以优先选择所述网络服务提供商的本地接入点地址;所述客户端可以优先选择接入质量好的接入点地址。具体地,例如,A网络用户的客户端接收到调度系统反馈的A网络接入点地址2和A网络接入点地址n,其中A网络接入点2为A网络用户的本地网络接入点地址,A网络用户的客户端优先选择向A网络宽带接入点地址2发送网络访问请求。
在本实施方式中,所述客户端可以通过发送接入点询问请求,接收所述调度系统反馈的至少一个与客户端所属于的网络服务提供商相对应的接入点地址,并向反馈的接入点地址发送网络访问请求。避免客户端直接向任意接入点地址发送网络访问请求,接入非所属的网络服务提供商提供的网络中造成的网络延迟、不能访问服务器等网络故障,提高用户体验,并且接收至少一个接入点地址,确保当有一个接入点地址故障时可以向另一个接入点地址发出网络访问请求。
在本实施方式中,通过客户端向调度系统发送接入点询问请求,由调度系统反馈至少一个相应的接入点地址给客户端,可以实现对静态带宽网络的调度,提高了客户端访问网络的成功率,保证了网络服务的稳定性,并且降低了宽带成本。
在一个实施方式中,所述接收所述调度系统反馈的至少一个接入点地址,包括:接收所述调度系统反馈的至少一个第一接入点地址和第二接入点地址。
在本实施方式中,所述第一接入点地址和第二接入点地址可以包括,所述调度系统可以从所管理的接入点地址中选择两个接入点地址,一个作为第一接入点地址另一个作为第二接入点地址。所述调度系统选择接入点地址的方式可以包括,从所述网络服务提供商提供的接入点地址中随机选择两个接入点地址;从所述网络服务商提供的接入点地址中按照指定的规则选择两个接入点。按照指定规则选择接入点地址可以包括,选择客户端本地的接入点地址和/或与客户端本地区域较为接近的接入点地址;所述调度系统在 发送接入点地址之前可以对各接入点地址进行性能检测,选择性能较好的接入点地址。
在本实施方式中,所述第一接入点地址和所述第二接入点地址可以访问相同的数据中心也可以访问不同的数据中心。具体地,例如,南京电信用户向所述调度系统发送接入点查询请求,所述调度系统在接收到所述接入点查询请求后,选择访问南京数据中心的南京电信接入点地址以及访问北京数据中心的南京电信接入点地址,将接入南京数据中心的南京电信接入点地址作为第一接入点地址将接入北京数据中心的南京电信接入点地址作为第二接入点地址,将所述北京数据中心的数据与南京数据中心的数据同步。
在本实施方式中,在所述第一接入点地址和所述第二接入点地址所接入点的不是同一数据中心的情况下,可以对各接入点对应的数据中心进行数据同步。
在本实施方式中,所述客户端可以在接收到所述第一接入点地址和所述第二接入点地址后,随机选择或者根据指定规则选择接入点地址发起网络访问请求,在一个接入点地址网络访问失败或者访问不稳定的情况下,所述客户端可以切换到另一个接入点地址进行访问。
在本实施方式中,所述调度系统通过反馈至少一个第一接入点地址和第二接入点地址给所述客户端以使所述客户端可以向第一接入点地址或第二接入点地址发出网络访问请求,在一个接入点地址不可用的情况下,客户端可以选择另一接入点地址进行访问,保证用户可以得到更加稳定的网络服务。
在一个实施方式中,所述第一接入点地址对应的接入点设备,与所述第二接入点对应的接入点设备处于不同的地理区域。
在本实施方式中,所述接入点设备可以用于向客户端提供数据访问入口,所述客户端可以与所述接入点设备建立连接从而访问网络数据。所述接入点设备可以包括,具有数据信息处理能力的硬件设备和驱动该硬件设备工作所需必要的软件。当然,所述调度系统也可以仅为具有数据处理能力的硬件设备,或者,仅为运行在硬件设备中的软件。
在本实施方式中,客户端访问本地接入点设备时,一般可以获得相对较为稳定的网络服务。例如深圳联通用户向中国联通深圳接入点地址发出网络访问请求,访问成功的概率较大。
在本实施方式中,各地可以设置接入点设备,所述客户端可以选择就近的接入点设备发出网络访问请求。具体地,例如,中国移动可以在哈尔滨、长春、沈阳分别设置接入点设备,所述接入点设备各自拥有各自的接入点地址,哈尔滨移动用户啊优先选择哈 尔滨移动接入点地址,在哈尔滨移动接入点地址不可用的情况下可以就近选择长春移动的接入点地址发出网络访问请求。
在本实施方式中,所述第一接入点地址与所述第二接入点地址的归属地可以不同,本地接入点地址不可用的情况下可以选择就近的接入点设备对应的接入点地址发出网络访问请求。
在本实施方式中,所述第一接入点地址与所述第二接入点地址各自对应的接入点设备可以不同,可以选择地理位置与用户所处地理位置较为接近的两个接入点设备对应的接入点地址作为第一接入点地址和第二接入点地址,保证用户可以获得较为稳定的网络服务。
在一个实施方式中,所述向接入点地址发出网络访问请求,包括:向所述第一接入点地址发出网络访问请求;在所述第一接入点地址访问失败的情况下,向所述第二接入点地址发出网络访问请求。
在本实施方式中,所述接入点地址访问失败的情况可以包括,所述客户端与所述接入点地址多次建立连接失败;所述客户端请求访问超时等。
在本实施方式中,所述在所述第一接入点地址访问失败的情况下,向所述第二接入点地址发出网络访问请求可以包括,所述客户端可以选择第一接入点发出网络访问请求,当出现多次建立连接失败或者访问超时的现象时,可以切换到第二接入点,并发出网络访问请求看能否访问成功。具体地,例如,调度系统向成都电信用户的手机发送了成都电信接入点地址和重庆电信接入点地址,将成都电信接入点地址作为第一宽带接入点地址,将重庆电信接入点地址作为第二接入点地址。成都电信用户通过手机首先向成都电信接入点地址发出网络访问请求,并与成都电信宽带接入点建立连接,经过多次建立连接失败后,成都电信用户通过手机向重庆电信接入点地址发出网络访问请求,并与重庆电信接入点建立连接,并且连接成功。
在本实施方式中,所述客户端可以在向所述第一接入点地址发出网络访问请求失败的情况下,向接收到的第二接入点地址发出网络访问请求,分别正常情况下的网络接入和故障时的网络接入。实现所述客户端可以在静态带宽下对故障接入点的自动容灾,保证用户可以得到稳定的网络服务。
在一个实施方式中,所述访问方法还包括,在所述第二接入点地址访问失败的情况 下,向所述调度系统发送接入点变更请求,以重新获得接入点地址。
在本实施方式中,所述接入点变更请求可以是满足通信协议并遵循一定格式的字符串或代码,其可以用于表示发出该接入点变更请求的客户端向所述调度系统请求变更接入点,来获得不同于之前所述调度系统反馈的接入点地址,并且变更的接入点地址与所述客户端所属于的网络服务提供商相对应。所述接入点变更请求中可以包含所述客户端的地址,已经访问失败的接入点地址。具体地,客户端可以基于Http、TCP/IP等协议,向调度系统发送接入点变更请求。具体地,南京移动用户接收调度系统发送的合肥移动接入点地址和上海移动接入点地址,南京移动用户通过手机先对合肥移动宽带接入点发出网络访问请求,访问失败后再次通过手机向上海移动宽带接入点地址发出网络访问请求仍然访问失败,南京移动用户通过手机向调度系统发出接入点变更请求,接入点变更请求中包含用户地址,访问失败的合肥移动宽带接入点地址和上海移动宽带接入点地址,请求变更之前反馈的这两个接入点地址,请求获得不同于这两个宽带接入点地址的新的宽带接入点地址。
在本实施方式中,所述调度系统在接收到所述客户端发送的接入点变更请求后,可以从所管理的接入点地址中随机或者按照指定规则选择接入点地址,并可以将至少一个不同于之前反馈的接入点地址反馈给所述客户端。
在本实施方式中,所述客户端可以在接收到变更后的至少一个接入点地址后,选择一个接入点地址发出网络访问请求,访问成功则结束,访问失败则可以再次向所述调度系统发送接入点变更请求,直到访问成功。
在本实施方式中,在重新获得接入点地址的步骤中可以包括,所述新获得的接入点地址指向的数据中心可以与之前访问失败的接入点地址指向的数据中心相同,也可以不同。
在本实施方式中,在先反馈的接入点地址都不能让所述客户端成功访问的情况下,由所述客户端发送接入点变更请求,并由所述调度系统反馈新的接入点地址,所述客户端对新接入点地址发送网络访问请求。进一步提高了客户端对于故障接入点的容灾率,保证用户可以得到稳定的网络服务。
请参阅图5,本说明书实施方式还提供一种客户端,所述客户端可以包括以下模块。
询问请求模块,用于向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;
接收模块,用于接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;
访问请求模块,用于向所述接入点地址发出网络访问请求。
在本实施方式中,所述询问请求模块、接收模块以及访问请求模块可以进行网络通信发送和接收数据,所述询问请求模块、接收模块以及访问请求模块可以依照TCP/IP协议设置,并在该协议框架下进行数据的发送和接收。具体地,所述询问请求模块、接收模块以及访问请求模块内可以设置有无线移动网络通信芯片,如GSM、CDMA等;其还可以设置有WIFI芯片;其还可以设置有蓝牙芯片。
上述实施方式公开的客户端,其询问请求模块、接收模块以及访问请求模块实现的具体功能,可以与本说明书中一种网络访问方法相对照解释,可以实现本说明书的网络访问方法实施方式并达到方法实施方式的技术效果。
本说明书实施方式还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,在所述计算机程序指令被执行时实现,向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;向所述接入点地址发出网络访问请求。
在本实施方式中,所述计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、缓存(Cache)、硬盘(Hard Disk Drive,HDD)或者存储卡(Memory Card)。
本实施方式中提供的计算机存储介质,其程序指令被执行时实现的功能和效果可以参见其它实施方式对照解释。
本说明书实施方式还提供一种网络交互方法,所述方法应用于调度系统。
请参阅图6,所述网络交互方法可以包括以下步骤。
步骤S60:接收客户端的接入点询问请求。
在本实施方式中所述调度系统可以同时接收不同客户端发送的接入点询问请求。可以包括,非同一个客户端;不同类型的客户端,所述客户端可以是移动终端、PC终端、无线APP等;属于不同网络服务提供商的客户端,所述客户端可以是移动客户终端、联通客户终端、电信客户终端等。
在本实施方式中,所述调度系统可以同时接收不同客户端发送的接入点询问请求,可以根据客户端各自的接入点询问请求反馈接入点地址。具体地,例如,苏州的联通用户,无锡的移动用户,杭州的电信用户可以使用手机同时向一个调度系统发送接入点询问请求,调度系统可以同时接收并处理各用户发送的接入点询问请求,根据各用户手机发送的接入点询问请求向各用户反馈相应的接入点地址。
步骤S62:根据所述接入点询问请求确定所述客户端对应的网络服务提供商。
在本实施方式中,所述接入点询问请求中可以包含客户端地址信息,可以根据客户端的地址信息确定客户端对应的网络服务提供商。
在本实施方式中,确定所述客户端对应的网络服务提供商的方式可以包括,建立IP地址库,IP地址库中可以包含很多的不同的IP地址,根据各个IP地址,可以对应不同的网络服务提供商,在接收到客户端发送的接入点询问请求后,从所述接入点询问请求中提取客户端IP地址,调用已经建立的IP地址库,从IP地址库中查询客户端IP地址,找到客户端IP地址,确定该IP地址对应的网络服务提供商;可以通过在采用BGP接入的网络设备上提取IP地址和对应的网络服务商信息形成IP数据集,当所述调度系统接收到客户端发送的接入点询问请求后,从所述接入点询问请求中提取客户端IP地址,查询IP数据集,从IP数据集中获得对应的网络服务提供商信息。
步骤S64:将所述网络服务提供商的至少一个接入地址发送给所述客户端。
在本实施方式中,所述调度系统在确定所述客户端对应的网络服务提供商后,可以查询所述对应的网络服务提供商的接入点地址,网络服务提供商提供的网络接入点可以不止一个。所述调度系统可以随机选择至少一个接入点地址或者按照指定规则选择至少一个接入点地址,根据网络通信协议将至少一个接入点地址发送所述客户端。
在本实施方式中,所述调度系统通过根据所述接入点询问请求,确定客户端对应的网络服务提供商,并将所述网络服务提供商的至少一个接入点地址发送给所述客户端,一方面可以保证客户端可以接收到其所属的网络服务提供商的网络接入点地址,另一方面,提供至少一个接入点地址可以保证在一个接入点出现故障后客户端可以及时使用其他接入点地址进行网络访问。
在一个实施方式中,在确定客户端对应的网络服务提供商的步骤中可以包括:调用IP地址库;所述IP地址库中对应有存储IP地址和网络服务提供商;在所述IP地址库中查询所述客户端的IP地址对应的网络服务提供商。
在本实施方式中,IP地址可以是互联网上网络和主机的逻辑地址。在同一个网络服务提供商提供的网络中不同的客户端可以拥有不同的IP地址;客户端所属的网络服务提供商不同IP地址也不相同。IP地址可以是1个32位的二进制数。在一个网络中客户端、服务器、网络接入点等都可以有IP地址。
在本实施方式中,所述IP地址库可以是一个数据库,数据库可以存储有IP地址和各IP地址所对应的网络服务提供商。各网络服务提供商可以将其所述的客户端IP地址汇总起来,建立数据库形成IP地址库,当所述网络服务提供商新增、变更或者删除客户端IP地址时,可以及时更新所述IP地址库。所述IP地址库可以是一个网络服务商与其相应的客户端IP地址集合也可以是若干网络服务商与其相应的客户端IP地址集合。
在本实施方式中,所述调度系统可以从所述客户端发送的接入点询问请求中确定客户端的IP地址,可以调用所述IP地址库,从所述IP地址库中查找客户端的IP地址,找到客户端IP地址后从IP地址库中确定所述客户端对应的网络服务提供商。具体地,联通手机用户通过手机发送接入点询问请求,调度系统从接入点询问请求中确定用户手机的IP地址,调用IP地址库,从IP地址库中找到该IP地址,对应的网络服务提供商为中国联通。
在本实施方式中,所述调度系统本身不知道客户端属于哪一个网络服务提供商,通过调用IP地址库的方式,确定客户端属于哪一个网络服务提供商,从而可以为客户端反馈准确的接入点地址,提高了用户体验。
在一个实施方式中,在确定客户端对应的网络服务提供商的步骤中可以包括,在IP数据集中查询得出所述客户端的IP地址对应的网络服务提供商;其中所述IP数据集是提取自BGP中的接入设备的IP和网络服务提供商。
在本实施方式中,所述BGP可以是一种路由协议,采用BGP可以控制路由的传播和选择较好的路由。
在本实施方式中,接入设备可以是连接到网络中的物理实体,可以用于远程的访问网络资源。可以包括,个人电脑、服务器、交换机、网桥、路由器、无线接入点、调制解调器等。
在本实施方式中,建立所述IP数据集可以包括,在采用BGP接入的接入设备中提取IP地址和相应的网络服务提供商信息,将IP地址和相应的网络服务提供商信息反馈给所述调度系统,如果有新的IP地址出现,可以实时提取出来并反馈给所述调度系统。 反馈的IP地址和相应的网络服务提供商信息组成的集合可以为所述IP数据集。
在本实施方式中,所述调度系统可以在接收到所述客户端发送的接入点询问请求后,从所述接入点询问请求中确定所述客户端的IP地址,根据所述客户端的IP地址查询所述IP数据集,确定相应的网络服务提供商。
在本实施方式中,通过在采用BGP接入的接入设备中提取IP地址和相应的网络服务商信息,由于提取的IP地址和相应的网络服务商信息是从真实网络中提取出来的,提高了信息的准确定,保证所述客户端能够接收到相应网络服务提供商的接入点地址。
在一个实施方式中,在将至少一个接入点地址发送给客户端的步骤中可以包括,将所述网络提供商的至少第一接入点地址和第二接入点地址发送给所述客户端;其中所述第二接入点地址用于在所述客户端访问所述第一接入点地址失败的情况下使用。
在本实施方式中,所述调度系统可以根据客户端地址确定对应的网络服务提供商,所述网络服务提供商可以有不少于1个的接入点。
在本实施方式中,所述调度系统发送所述至少第一接入点地址和第二接入点地址发送给客户端的方式可以包括,所述调度系统可以从所述网络服务提供商提供的接入点地址中选择两个接入点地址,一个作为第一接入点地址另一个作为第二接入点地址。所述调度系统选择接入点地址的方式可以包括,从所述网络服务提供商提供的接入点地址中随机选择两个接入点地址;从所述网络服务商提供的接入点地址中按照指定的规则选择两个接入点。按照指定规则选择接入点地址可以包括,选择客户端本地的接入点地址和/或与客户端本地区域较为接近的接入点地址;所述调度系统在发送接入点地址之前可以对各接入点地址进行性能检测,选择性能较好的接入点地址。
在本实施方式中,所述第二接入点地址可以用于在所述客户端访问所述第一接入点地址失败的情况下使用。所述客户端可以先向第一接入点地址发出网络访问请求,当出现访问失败的情况时,所述客户端可以直接向所述第二接入点地址发出网络访问请求,两个接入点地址分别用于正常情况下的网络接入和故障情况下的网络接入,提高网络服务的稳定性。
在一个实施方式中,所述方法还包括,接收所述客户端发送的接入点变更请求;所述接入点变更请求表示所述客户端已经得到的接入点地址访问失败;重新向所述客户端发送与所述客户端对应的网络服务提供商的接入点地址。
在本实施方式中,所述调度系统可以接收所述客户端发送的接入点变更请求,所述调度系统接收到所述客户端发送的接入点变更请求后可以再次向所述网络服务提供商获取相应的接入点地址,所述调度系统可以随机选择也可以按照一定方式或规则选择接入点地址,发送至少一个接入点地址给所述客户端,用于所述客户端向新获得的接入点地址发出网络访问请求。
在本实施方式中,所述调度系统可以只要收到所述客户端发送的接入点变更请求,在当前所述相应网络服务提供商有可用的接入点时,就将相应的接入点地址发送给所述客户端,保证客户端可以顺利接入网络,提高网络的稳定性。
在一个实施方式中,所述调度系统在重新向所述客户端发送与所述客户端对应的网络服务提供商的接入点地址的步骤中,发送给所述客户端的接入点地址使所述客户端未进行访问过的接入点地址。
在本实施方式中,所述调度系统可以将所述客户端访问失败的接入点地址备份或者标记为故障接入点地址,所述调度系统在接收到接入点地址变更请求后可以向所述相应网络服务提供商提供的接入点地址,从所述相应网络服务商提供的接入点地址中去除备份的所述客户端访问失败的接入点地址或者被标记为故障接入点地址的接入点地址,再从剩下的接入点地址中选择接入点地址发送给所述客户端。
在本实施方式中,所述调度系统可以将客户端未进行访问过的接入点地址发送给所述客户端。保证客户端不会再次向已经尝试访问且访问失败的接入点地址发出访问,提高了所述客户端访问网络的成功率。
在一个实施方式中,统计发送所述接入点变更请求的客户端所访问失败的接入点访问地址;所述接入点访问地址被认为故障地址;其中,所述故障地址在恢复之前,不再发送给客户端。
在本实施方式中,统计所述客户端所访问失败的接入点地址的方式可以包括,当出现一个客户端访问失败的接入点地址时,所述调度系统记录下该接入点地址,形成一个集合;所述调度系统可以将所述客户端所访问失败的接入点地址标记,使之不同于其他接入点地址,将这些标记的接入点地址集合起来完成统计。
在本实施方式中,所述接入点地址被认为故障地址可以包括,所述调度系统可以将这些客户端所访问失败的地址标记为故障地址。所述调度系统在接收到所述接入点查询 请求或者接入点变更请求时,可以暂时不将这些地址发送给所述客户端。
在本实施方式中,所述调度系统可以等待所述故障接入点修复,当所述故障接入点修复完成并且通过相关网络检测,所述调度系统可以去除故障接入点的故障地址标记,待去除故障地址标记后故障接入点才可以被调度系统发送给所述客户端。
在本实施方式中,将客户端访问失败的接入点地址认为是故障地址,在故障地址被恢复前,不再发送给客户端,提高了发送的接入点地址可以被所述客户端访问的成功率。
在一个实施方式中,所述调度系统对接入点进行状态检测;将所述接入点地址中不符合指定要求的接入点地址作为故障地址;其中,所述故障地址在恢复之前,不再发送给客户端。
在本实施方式中,所述调度系统可以主动对所述网络服务提供商提供的接入点地址进行检测。检测的方式可以包括,使用ping命令进行网络连通性检测,如果接入点没有响应ping命令则接入点地址为故障地址;与接入点建立连接,如果多次连接失败或者连接超时则接入点地址为故障地址。
在本实施方式总,所述指定要求可以包括,接入点地址可以正常进行网络连接。具体地,例如,接入点可以响应ping命令;接入点可以连接成功。
在本实施方式中,所述调度系统可以等待故障地址恢复,待修复完成后再次对故障地址进行检测,直到故障地址通过所述调度系统检测为止。
在本实施方式中,所述调度系统可以主动对接入点地址进行检测,与被动等待客户端反馈哪些接入点地址不能够访问相比进一步提高了发送的接入点地址可以被所述客户端访问的成功率。
在一个实施方式中,所述调度系统对所述故障地址进行检测;在所述故障地址符合使用条件的情况下,恢复所述故障地址作为接入点地址提供给客户端访问。
在本实施方式中,所述调度系统可以待所述故障地址恢复完成后,再次对所述故障地址进行检测,直到所述故障地址恢复到符合接入点使用要求。
在本实施方式中,恢复所述故障地址作为接入点地址提供给客户端访问可以包括,将符合使用条件的故障地址重新添加可以发送给客户端的接入点地址集合中。
在本实施方式中,所述调度系统通过完成对所述故障地址的检测,待检测符合使用要求的情况下再将所述故障地址发送给所述客户端,保证所有的接入点地址都可以被提 供给客户端访问,即使是故障地址,只要在恢复后符合使用要求就可以被提供给客户端访问,节约了网络资源,也提高了客户端访问网络的成功率。
在一个实施方式中,监控各接入点地址的指定参数,以确定整体运行状态。
在本实施方式中,所述指定参数可以是评价网络状况的网络参数。所述指定参数可以包括,流量、QPS、长连数或新建连接数等。
在本实施方式中,所述运行状态可以包括所述各接入点地址所表示的接入点的稳定性、针对客户端反馈接入点地址的及时性、针对客户端反馈接入点地址的准确性。
在本实施方式中,所述调度系统可以根据所述指定参数确定所述接入点地址与调度系统的运行状态。所述调度系统可以对各接入点进行监测,可以得到各接入点地址实时的指定参数大小,根据接入点地址的参数确定整个网络交互是否正常运行。
在本实施方式中,所述调度系统可以监控个接入点地址的指定参数,当有接入点地址的指定参数高于或低于正常值范围时,在接收到所述客户端发送的接入点询问请求或者接入点变更请求时,可以动态调整发送合适的接入点地址给所述客户端,可以协调不同接入点的工作量。具体地,例如,调度系统测试各个接入点的流量,当一个接入点流量过高时,可以导致该接入点满负载工作。另外有一个接入点流量相对较少,调度系统可以在接收到客户端发送的接入点询问请求或者接入点变更请求后,可以以较低的概率发送流量过高的接入点地址给客户端,已较高的概率发送另一个接入点流量相对较少的接入点地址给客户端,从而提高接入点的稳定性以及反馈接入点地址的准确性。
在本实施方式中,通过指定参数可以更加科学准确的确定整体的运行状态,可以根据整体运行状态相应发送合适的接入点地址给所述客户端,使网络资源的合理运用,保证网络服务的稳定性。
在一个实施方式中,所述指定参数包括但不限于:流量、QPS、长连数或新建连接数。
在本实施方式中,所述流量可以是单位时间内通过接入点地址的数据量。流量小可以是该接入点地址处于空闲状态,或者该接入点出现故障;流量大可以是接入点地址处于忙的状态,或者该接入点的数据吞吐量较大。
在本实施方式中,所述QPS可以是在规定的时间内接入点地址的响应请求数。QPS越大说明接入点单位时间内响应请求的数量越多,但QPS过高也可以导致接入点崩溃。
在本实施方式中,所述长连数可以是接入点地址长连接的个数,长连接可以是即使没有数据传输,客户端仍然与接入点地址保持连接。
在本实施方式中,所述新建连接数可以是在单位时间内所能建立连接的数量。所述新建连接数的大小可以影响接入点地址在单位时间内所能建立的最大连接数量。
在本实施方式中,根据流量、QPS、长连数和新建连接数作为指定参数确定接入点的运行状态,由于这四个参数可以有效接入点地址的网络性能,使用这四个参数确定接入点运行状态更加科学和准确。
在一个实施方式中,所述运行状态包括但不限于,所述各接入点地址所表示的接入点的稳定性、针对客户端反馈接入点地址的及时性、针对客户端反馈接入点地址的准确性。
在本实施方式中,所述各接入点地址的稳定性可以为,所述调度系统发送给所述客户端接入点地址后,客户端能否稳定的访问该接入点地址,出现掉线、延时等网络故障的次数越少调度系统发送给所述客户端的接入点地址对应的接入点越稳定。
在本实施方式中,所述针对客户端反馈接入点地址的及时性可以为,所述调度系统在接收到所述接入点地址询问请求后,所述调度系统反馈接入点地址的时间,所述客户端从发送接入点地址询问请求到向接入点地址发出访问请求之间的间隔越小,则针对客户端反馈接入点地址越及时。
在本实施方式中,所述针对客户端反馈接入点地址的准确性可以包括,所述调度系统发送的接入点地址是否与客户端的网络服务商相对应;是否已经准确的分配了不是故障接入点的地址。
请参阅图7,本说明书实施方式还提供一种客户端,所述客户端可以包括以下模块。
接收模块,用于接收客户端的接入点询问请求;
确定模块,用于根据所述接入点询问请求确定所述客户端对应的网络服务提供商;
发送模块,用于将所述网络服务提供商的至少一个接入点地址发送给所述客户端。
在本实施方式中,所述接收模块和发送模块可以进行网络通信发送和接收数据,所述接收模块和发送模块可以依照TCP/IP协议设置,并在该协议框架下进行数据的发送和接收。具体地,所述接收模块和发送模块内可以设置有无线移动网络通信芯片,如GSM、CDMA等;其还可以设置有WIFI芯片;其还可以设置有蓝牙芯片。
上述实施方式公开的客户端,其接收模块、确定模块以及发送模块实现的具体功能,可以与本说明书中一种网络访问方法相对照解释,可以实现本说明书的网络访问方法实施方式并达到方法实施方式的技术效果。
本说明书实施方式还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序指令,在所述计算机程序指令被执行时实现,接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的至少一个接入点地址发送给所述客户端,以用于所述客户端根据所述接入点地址访问运行在数据中心的服务器。
在本实施方式中,所述计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、缓存(Cache)、硬盘(Hard Disk Drive,HDD)或者存储卡(Memory Card)。
本实施方式中提供的计算机存储介质,其程序指令被执行时实现的功能和效果可以参见其它实施方式对照解释。
本说明书实施方式还提供一种网络系统,包括:调度系统、网络接入设备、数据中心;所述调度系统用于接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的网络接入设备的至少一个接入点地址发送给所述客户端,以使所述客户端根据与其网络服务提供商对应的网络接入设备访问所述数据中心;所述网络接入设备用于为所述客户端提供网络访问服务;所述数据中心用接收到客户端的数据访问请求的情况下,反馈相应的数据。
上述实施方式公开的网络系统,其调度系统、网络接入设备、数据中心实现的具体功能,可以与本说明书中一种网络访问方法相对照解释,可以实现本说明书的网络访问方法实施方式并达到方法实施方式的技术效果。
本说明书实施方式提供的网络访问方法、客户端、网络交互方法及调度、网络系统。通过由客户端调度系统发送接入点询问请求,调度系统接收到所述接入点询问请求后向客户端发送至少一个对应网络服务提供商的接入点地址,由客户端向发送的至少一个接入点地址发出网络访问请求,保证了客户端在一个接入点地址访问失败的情况下可以向其他接入点地址发出网络访问请求,提高了网络服务的稳定性。
上面对本说明书的各种实施方式的描述以描述的目的提供给本领域技术人员。其不旨在是穷举的、或者不旨在将本发明限制于单个公开的实施方式。如上所述,本说明书的各种替代和变化对于上述技术所属领域技术人员而言将是显而易见的。因此,虽然已经具体讨论了一些另选的实施方式,但是其它实施方式将是显而易见的,或者本领域技术人员相对容易得出。本说明书旨在包括在此已经讨论过的本发明的所有替代、修改、和变化,以及落在上述申请的精神和范围内的其它实施方式。
本说明书中的各个实施方式均采用递进的方式描述,各个实施方式之间相同相似的部分互相参见即可,每个实施方式重点说明的都是与其他实施方式的不同之处。尤其,对于客户端、调度系统实施方式而言,由于其基本相似于网络访问方法、网络交互方法的实施方式,所以描述的比较简单,相关之处参见资源管理系统的实施方式的部分说明即可。
本说明书可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
虽然通过实施方式描绘了本说明书,本领域普通技术人员知道,本说明书有许多变形和变化而不脱离本说明书的精神,希望所附的权利要求包括这些变形和变化而不脱离本说明书的精神。
Claims (20)
- 一种网络访问方法,其特征在于,应用于客户端;所述方法包括:向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;向所述接入点地址发出网络访问请求。
- 根据权利要求1所述的方法,其特征在于,所述接收所述调度系统反馈的至少一个接入点地址,包括:接收所述调度系统反馈的至少一个第一接入点地址和第二接入点地址。
- 根据权利要求2所述的方法,其特征在于,所述第一接入点地址对应的接入点设备,与所述第二接入点地址对应的接入点设备处于不同的地理区域。
- 根据权利要求2所述的方法,其特征在于,相应的,向所述接入点地址发出网络访问请求,包括:向所述第一接入点地址发出网络访问请求;在所述第一接入点地址访问失败的情况下,向所述第二接入点地址发出网络访问请求。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:在所述第二接入点地址访问失败的情况下,向所述调度系统发送接入点变更请求,以重新获得接入点地址。
- 一种客户端,其特征在于,包括:询问请求模块,用于向调度系统发送接入点询问请求;所述调度系统用于管理接入点地址;接收模块,用于接收所述调度系统反馈的至少一个接入点地址;所述接入点地址与所述客户端所属于的网络服务提供商相对应;访问请求模块,用于向所述接入点地址发出网络访问请求。
- 一种网络交互方法,其特征在于,所述方法包括:接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的至少一个接入点地址发送给所述客户端,以用于所述客户端根据所述接入点地址访问运行在数据中心的服务器。
- 根据权利要求7所述的方法,其特征在于,确定客户端对应的网络服务提供商,包括:调用IP地址库;所述IP地址库中对应存储有IP地址和网络服务提供商;在所述IP地址库中查找所述客户端的IP地址对应的网络服务提供商。
- 根据权利要求7所述的方法,其特征在于,在确定客户端对应的网络服务提供商的步骤中包括:在IP数据集中查询得出所述客户端的IP地址对应的网络服务器提供商;其中,所述IP数据集是提取自BGP中的接入设备的IP和网络服务提供商。
- 根据权利要求7所述的方法,其特征在于,在将至少一个接入点地址发送给客户端的步骤中包括:将所述网络服务提供商的至少第一接入点地址和第二接入点地址发送给所述客户端;其中,所述第二接入点地址用于在所述客户端访问所述第一接入点地址失败的情况下使用。
- 根据权利要求7所述的方法,其特征在于,所述方法还包括:接收所述客户端发送的接入点变更请求;所述接入点变更请求表示所述客户端已经得到的接入点地址访问失败;重新向所述客户端发送与所述客户端对应的网络服务提供商的接入点地址。
- 根据权利要求11所述的方法,其特征在于,在重新向所述客户端发送与所述客户端对应的网络服务提供商的接入点地址的步骤中,发送给所述客户端的接入点地址是所述客户端未进行访问过的接入点地址。
- 根据权利要求11所述的方法,其特征在于,所述方法还包括:统计发送所述接入点变更请求的客户端所访问失败的接入点访问地址;所述接入点访问地址被认为故障地址;其中,所述故障地址在恢复之前,不再发送给客户端。
- 根据权利要求7所述的方法,其特征在于,所述方法还包括:对接入点地址进行状态检测;将所述接入点地址中不符合指定要求的接入点地址作为故障地址;其中,所述故障地址在恢复之前,不再发送给客户端。
- 根据权利要求13或14任一所述的方法,其特征在于,所述方法还包括:对所述故障地址进行检测;在所述故障地址符合使用要求的情况下,恢复所述故障地址作为接入点地址提供给客户端访问。
- 根据权利要求7所述的方法,其特征在于,所述方法还包括:监控各接入点地址的指定参数,以确定整体运行状态。
- 根据权利要求16所述的方法,其特征在于,所述指定参数包括但不限于:流量、QPS、长连数或新建连接数。
- 根据权利要求16所述的方法,其特征在于,所述运行状态包括但不限于:所述各接入点地址所表示的接入点的稳定性、针对客户端反馈接入点地址的及时性、针对客户端反馈接入点地址的准确性。
- 一种调度系统,其特征在于,包括:接收模块,用于接收客户端的接入点询问请求;确定模块,用于根据所述接入点询问请求确定所述客户端对应的网络服务提供商;发送模块,用于将所述网络服务提供商的至少一个接入点地址发送给所述客户端。
- 一种网络系统,其特征在于,包括:调度系统、网络接入设备、数据中心;所述调度系统用于接收客户端的接入点询问请求;根据所述接入点询问请求确定所述客户端对应的网络服务提供商;将所述网络服务提供商的网络接入设备的至少一个接入点地址发送给所述客户端,以使所述客户端根据与其网络服务提供商对应的网络接入设备访问所述数据中心;所述网络接入设备用于为所述客户端提供网络访问服务;所述数据中心用接收到客户端的数据访问请求的情况下,反馈相应的数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810089000.1 | 2018-01-30 | ||
| CN201810089000.1A CN110099136A (zh) | 2018-01-30 | 2018-01-30 | 网络访问方法、客户端、网络交互方法及调度、网络系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019149166A1 true WO2019149166A1 (zh) | 2019-08-08 |
Family
ID=67441939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/073362 Ceased WO2019149166A1 (zh) | 2018-01-30 | 2019-01-28 | 网络访问方法、客户端、网络交互方法及调度、网络系统 |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN110099136A (zh) |
| TW (1) | TW201933909A (zh) |
| WO (1) | WO2019149166A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114124905A (zh) * | 2021-11-03 | 2022-03-01 | 中盈优创资讯科技有限公司 | 一种判断静态地址池地址占用情况统计的方法及装置 |
| CN115866689A (zh) * | 2022-11-17 | 2023-03-28 | 北京易智时代数字科技有限公司 | 无线网络负载管理方法及系统、存储介质、电子设备 |
| CN116800689A (zh) * | 2023-08-17 | 2023-09-22 | 浙江飞猪网络技术有限公司 | 一种流量控制方法、节点、分布式系统及存储介质 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111367997B (zh) * | 2020-02-26 | 2021-06-18 | 杭州云缔盟科技有限公司 | 一种实现跨地域数据同步的方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103491603A (zh) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | 定位移动通信终端所属地区和/或通信运营商的方法系统 |
| CN104486818A (zh) * | 2014-12-11 | 2015-04-01 | 深圳市宜联畅游技术有限公司 | 一种选择性接入蜂窝移动网络系统的方法及云端服务器 |
| CN104980993A (zh) * | 2015-06-19 | 2015-10-14 | 广东欧珀移动通信有限公司 | 一种网络接入方法、移动通信终端、网络服务器及网络接入系统 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8618717B2 (en) * | 2009-07-02 | 2013-12-31 | Sierra Wireless, Inc. | System and method for connection to a wireless network |
-
2018
- 2018-01-30 CN CN201810089000.1A patent/CN110099136A/zh active Pending
- 2018-11-06 TW TW107139317A patent/TW201933909A/zh unknown
-
2019
- 2019-01-28 WO PCT/CN2019/073362 patent/WO2019149166A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103491603A (zh) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | 定位移动通信终端所属地区和/或通信运营商的方法系统 |
| CN104486818A (zh) * | 2014-12-11 | 2015-04-01 | 深圳市宜联畅游技术有限公司 | 一种选择性接入蜂窝移动网络系统的方法及云端服务器 |
| CN104980993A (zh) * | 2015-06-19 | 2015-10-14 | 广东欧珀移动通信有限公司 | 一种网络接入方法、移动通信终端、网络服务器及网络接入系统 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114124905A (zh) * | 2021-11-03 | 2022-03-01 | 中盈优创资讯科技有限公司 | 一种判断静态地址池地址占用情况统计的方法及装置 |
| CN115866689A (zh) * | 2022-11-17 | 2023-03-28 | 北京易智时代数字科技有限公司 | 无线网络负载管理方法及系统、存储介质、电子设备 |
| CN116800689A (zh) * | 2023-08-17 | 2023-09-22 | 浙江飞猪网络技术有限公司 | 一种流量控制方法、节点、分布式系统及存储介质 |
| CN116800689B (zh) * | 2023-08-17 | 2024-01-09 | 浙江飞猪网络技术有限公司 | 一种流量控制方法、节点、分布式系统及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110099136A (zh) | 2019-08-06 |
| TW201933909A (zh) | 2019-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7345059B2 (ja) | ルーティング制御方法、装置、プログラム及びコンピュータ装置 | |
| US20220107848A1 (en) | Edge service providing method and apparatus, and device | |
| US9075660B2 (en) | Apparatus and method for providing service availability to a user via selection of data centers for the user | |
| CN106034330B (zh) | 基于内容分发网络的移动终端流量处理方法、装置及系统 | |
| US20090245114A1 (en) | Methods for collecting and analyzing network performance data | |
| CN102075556B (zh) | 一种具备大规模负载能力的服务架构设计方法 | |
| US20140280803A1 (en) | Optimized Content Distribution Based on Metrics Derived from the End User | |
| WO2019149166A1 (zh) | 网络访问方法、客户端、网络交互方法及调度、网络系统 | |
| JP6251702B2 (ja) | 接続先サーバ指示装置、サービス利用システム、接続先サーバ指示方法、及びプログラム | |
| CN1921479B (zh) | 一种流媒体系统负荷分担方法及其系统 | |
| CN110933181B (zh) | 一种路由方法、装置、系统以及电子设备 | |
| US10715608B2 (en) | Automatic server cluster discovery | |
| CN112003721A (zh) | 一种大数据平台管理节点高可用的实现方法及装置 | |
| CN111769997A (zh) | 网络监测的方法、服务器、设备和计算机可读介质 | |
| WO2019011142A1 (zh) | 一种进行网络链路切换的方法和系统 | |
| CN115883657A (zh) | 一种云盘服务加速调度的方法及系统 | |
| CN105872119A (zh) | 域名解析系统的实现方法及装置 | |
| WO2023065848A1 (zh) | 业务调度方法、装置、设备及计算机可读存储介质 | |
| US20090150564A1 (en) | Per-user bandwidth availability | |
| CN112866116B (zh) | 网络访问探测方法、装置、设备及存储介质 | |
| CN111600929B (zh) | 传输线路探测方法、路由策略生成方法及代理服务器 | |
| CN116567085A (zh) | 一种App访问节点的提速方法 | |
| US20140181307A1 (en) | Routing apparatus and method | |
| CN112242937B (zh) | 一种网络测速方法、装置、电子设备及计算机可读介质 | |
| US20250279945A1 (en) | Supplementation of active probing with infrastructure telemetry data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19747784 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19747784 Country of ref document: EP Kind code of ref document: A1 |