WO2014101433A1 - 接入应用服务器的方法和装置 - Google Patents

接入应用服务器的方法和装置 Download PDF

Info

Publication number
WO2014101433A1
WO2014101433A1 PCT/CN2013/081605 CN2013081605W WO2014101433A1 WO 2014101433 A1 WO2014101433 A1 WO 2014101433A1 CN 2013081605 W CN2013081605 W CN 2013081605W WO 2014101433 A1 WO2014101433 A1 WO 2014101433A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
application server
access point
access
point list
Prior art date
Application number
PCT/CN2013/081605
Other languages
English (en)
French (fr)
Inventor
赵杰
柳锋
唐韬
傅建兵
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to US14/758,089 priority Critical patent/US9450912B2/en
Publication of WO2014101433A1 publication Critical patent/WO2014101433A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2002Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where interconnections or communication control functionality are redundant
    • G06F11/2012Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where interconnections or communication control functionality are redundant and using different communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/85Active fault masking without idle spares
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Definitions

  • the client application passes a fixed Internet protocol (Internet Protocol,
  • IP IP address access to the application server.
  • the main drawback of the existing method of accessing the application server is that it cannot adapt well to the change. This is because when the service volume is gradually increased, after the application server adds an IP address, the client application that has been sent out does not know the new one. The IP address is increased, and the original IP address is still accessed. Thus, the application server load of the new IP address is small, and the application server where the original IP address is located has a large load. Summary of the invention
  • Embodiments of the present invention provide a method and apparatus for accessing an application server to solve at least one of the above problems.
  • An embodiment of the present invention provides a method for accessing an application server, where the method includes: the access point list includes a guaranteed IP address entry, a server domain name entry, and at least one vacancy entry for saving a new IP address; Having access to the access point list: and after successfully accessing the application server, updating the access point list, and saving the IP address delivered by the application server according to the load balancing policy to the access point list Vacancy table entry.
  • the method includes: traversing the access point list starting from a first position of the access point list, and traversing the first time device
  • the IP address or server domain name that accesses the application server is obtained again from the access point list until the access to the application server is successful.
  • the updating the access point list, and saving the IP address delivered by the application server according to the load balancing policy to the vacancy table entry of the access point list includes: receiving the application server after successful access to the application server And saving the IP address delivered by the application server according to the load balancing policy to the vacancy table entry.
  • the access point list includes a plurality of slot entries.
  • the updating the access point list, and saving the IP address delivered by the application server according to the load balancing policy to the vacancy table entry of the access point list includes: saving the IP address when the first access is successful to the a vacancy entry other than the first vacancy entry, the IP address obtained when the server domain name is parsed when the first access is successful, and the IP address delivered by the application server according to the load balancing policy; And saving, by the application server, the IP address delivered by the load balancing policy to the first slot entry in the multiple slot entries.
  • An embodiment of the present invention provides an apparatus for accessing an application server, where the apparatus includes: a server domain name, the access point list includes a guaranteed IP address entry, a server domain name entry, and at least one for saving a new IP address.
  • the list update module is configured to: after the access to the application server is successful, update the access point list, and save the IP address delivered by the application server according to the load balancing policy to the first position of the access point list.
  • the obtaining module includes: an traversal unit, an IP address or a server domain name used for accessing the server by using a first location of the access point list as a starting point.
  • the access initiation module includes: a first access initiation unit, configured to initiate a first access to the application server by using the acquired IP address or server domain name; and a recurring access initiation unit, configured to fail if the first access to the application server fails And obtaining, by the access point list, the application server into the list update module, including: a first receiving unit, configured to receive an IP address delivered by the application server according to the load balancing policy after the access to the application server is successful And an update unit, configured to save the vacancy entry by the application server according to an IP address delivered by the load balancing policy.
  • the access point list includes a plurality of vacancy table items
  • the list updating module includes: a first saving unit, configured to save an IP address when the first access is successful to the first vacancy table except the first vacancy table
  • the second receiving unit is configured to receive an IP address that is sent by the application server according to the load balancing policy after the application server is successfully accessed, and a second saving unit, configured to use the application server according to the load balancing policy
  • the delivered IP address is saved to the first slot entry in the multiple slot entries in the access point list.
  • Embodiments of the present invention provide a non-transitory computer readable storage medium having stored thereon computer executable instructions.
  • the access point list includes a guaranteed IP address table. Item, a server domain name entry, and at least one vacancy table entry for saving a new IP address; After the access to the application server is successful, the access point list is updated, and the IP address delivered by the application server is saved to the vacancy table entry of the access point list.
  • FIG. 1 is a schematic flowchart of a method for accessing an application server according to a first embodiment of the present invention
  • FIG. 2-a is a schematic diagram of an initialization of an access point list according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of another embodiment of the present invention for providing an initialization of an access point list.
  • FIG. 3 is a schematic diagram of saving a new IP address delivered by an application server in an access point list according to an embodiment of the present invention. ;
  • FIG. 3 is a schematic diagram of another new IP address delivered by an application server in an access point list according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of another new IP address delivered by an application server in an access point list according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of another new IP address delivered by an application server in an access point list according to an embodiment of the present disclosure
  • FIG. 5-a is a schematic flowchart of updating an access point list according to a third embodiment of the present invention.
  • Figure 5-b is a schematic diagram of a list of access points after the new IP address delivered by the application server is saved in the access point list illustrated in Figure 4-a.
  • FIG. 6 is a schematic diagram of a change of an access point list after a new IP address is sent by an application server according to the fourth embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a change of an access point list after a new IP address is sent by an application server according to a fifth embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an interaction process between an application client and an application server according to a sixth embodiment of the present invention
  • 9 is a schematic structural diagram of an apparatus for accessing an application server according to a seventh embodiment of the present invention
  • FIG. 10 is a schematic structural diagram of an apparatus for accessing an application server according to an eighth embodiment of the present invention
  • FIG. 12-a is a schematic structural diagram of an apparatus for accessing an application server according to a tenth embodiment of the present invention
  • FIG. 12-b is a schematic diagram of an apparatus for accessing an application server according to the tenth embodiment of the present invention
  • 12-c is a schematic structural diagram of an apparatus for accessing an application server according to a tenth embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of an apparatus for accessing an application server according to an eleventh embodiment of the present invention
  • 13-b is a schematic structural diagram of an apparatus for accessing an application server according to the eleventh embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of an apparatus for accessing an application server according to an eleventh embodiment of the present invention. detailed description
  • the execution entity may be an application module of an intelligent terminal or an intelligent terminal, and the method includes steps S101, S102, and S103. . Domain name.
  • the smart terminal maintains a list of access points consisting of an accessible IP address and a server domain name
  • the access point list is dynamically changed, and includes a guaranteed IP address entry and a server domain name entry. And at least one vacancy table entry for saving the new IP address.
  • the vacancy entry may be located before the guaranteed IP address entry and the server domain name entry.
  • the server domain name entry is used to save a server domain name, the content of the entry remains unchanged, and the guaranteed IP address entry is used to save a guaranteed IP address.
  • the IP address of the guarantee is that the IP address exists when the access point is initialized, and, when This IP address can also be used to initiate access to the application server.
  • FIG. 2 b are respectively schematic diagrams of an access point list during initialization according to the embodiment, where the two access point list diagrams respectively include a guaranteed IP address entry, a server domain name entry, and Two vacancy entries (vacancy entry 1 and vacancy entry 2) for saving the new IP address.
  • the server domain name may include: traversing the access point list, address or server domain name starting from the first position of the access point list. For example, for the access point list illustrated in FIG. 2-a, when the initialization table has no IP address, the empty entry can start to traverse the access point list with the vacancy entry 2 as the first position of the access point list. In Figure 2-a, because the server domain name entry is located before the guaranteed IP address entry, the server domain name is asked. For the access point list illustrated in FIG.
  • the empty table entries have no IP address during initialization, and the access point list can be traversed starting with the vacancy entry 2 as the first position of the access point list.
  • the address is traversed since the guaranteed IP address entry is located before the server domain name entry, the address is traversed.
  • step S102
  • the question may include: Initiating the server's multi-user address with the IP address of the 4th, the service H ⁇ or the name, if the first access to the application server fails, it is again from the access point list. Obtain an IP address or a server domain name that accesses the application server until the access to the application server succeeds. For example, if the IP address (including the guaranteed IP address in the guaranteed IP address entry or the new IP address saved in the vacancy table entry) is obtained, the fixed IP address to the application server in the prior art may be used. The method of access initiates access to the application server.
  • step S103 after the access to the application server is successful, the access point list is updated, and the IP address delivered by the application server according to the load balancing policy is saved to the vacancy table entry of the access point list.
  • the load balancing policy may include a static load balancing policy, a dynamic load balancing policy, and the like.
  • the so-called static load balancing strategy is a method that utilizes the average information of the system load and ignores the current load status of the system.
  • a polling algorithm the algorithm considers that the processing power of the cluster server is indistinguishable every moment.
  • a request from the network is distributed in turn to each server in the internal, from 1 to N and then restarted.
  • the static load balancing policy may include one or any combination of polling, priority, IP based, header based/request, and cookie based.
  • the so-called dynamic load balancing strategy is to adjust the task partitioning according to the current load status of the system.
  • a weighted rounding algorithm which considers the performance difference between servers, and the current load status of the server, dynamically adjusts the weight.
  • the dynamic load balancing policy includes one of weighted rounding, minimum link, weighted minimum link, local based minimum link, localized minimum link with copy, and fastest response, or any combination thereof.
  • the load balancing policy may be a least-link policy, that is, the load balancing device may select the current number of links on the server when the server is selected to serve the currently requested client. The server serves this request.
  • the access point list is updated, and the application server saves the IP address delivered by the application server according to the load balancing policy to the vacancy list of the access point list, and the policy is delivered.
  • the IP address is saved to the vacancy table entry of the access point list according to the IP address delivered by the application server according to the load balancing policy. For example, assuming that a certain access to the application server, the vacancy table entry 2 in the access point list illustrated in Figure 2-a holds an IP address (assumed to be IP2), as shown in Figure 3-a.
  • IP2 is successfully accessed by the application server, and the application server sends a new IP address according to the load balancing policy, and the new IP address is IP3.
  • the client receives the new IP address, IP3, and saves the IP address that the application server delivers according to the load balancing policy, that is, IP3, to the access point list.
  • the vacancy entry 1 in the middle, the list of access points after saving IP3 is shown in Figure 3-b.
  • the access point list includes a plurality of vacancy table entries.
  • the access point list is updated, and the IP address sent by the application server according to the load balancing policy is saved to the vacancy list of the access point list, and the process may include: the first successful access is performed.
  • the IP address is saved to the vacancy list of the access point list; the IP address delivered by the application server according to the load balancing policy is received; and the IP address delivered by the application server according to the load balancing policy is saved to the access point list.
  • Vacancy table entry Since the access point list in this embodiment includes a plurality of vacancy table entries, a vacancy table entry is available.
  • the IP address when the first access is successful is the access point list bottoming IP address address.
  • an application server access is an IP address obtained when parsing the server domain name in the access point list illustrated in Figure 2-a, and the IP address is IP2.
  • IP2 is used to access the application server successfully
  • the application server sends a new IP address according to the load balancing policy, and the new IP address is IP3.
  • the client receives the new IP address, that is, IP3, and the IP address of the IP address that is sent by the application server according to the load balancing policy is saved to the IP address of the access point list.
  • the vacancy entry 1 in the access point list, the list of access points after saving IP3 is shown in Figure 4-a.
  • the application server On the next access to the application server, by traversing the access point list illustrated in Figure 4-a, if the access to the application server is successful using IP3, the application server will issue a new IP address according to the load balancing policy.
  • the new IP address is IP4.
  • the client receives the new IP address, that is, IP4, and the IP address of the IP address that is sent by the application server according to the load balancing policy is saved to the IP address of the access point list.
  • the vacancy entry 1 in the access point list, the list of access points after saving IP4 is shown in Figure 4-b.
  • the method for accessing the application server provided by the second embodiment is that, after updating the access point list after the access to the application server is successful, the application server saves the IP address delivered by the application server according to the load balancing policy to the access point list. Vacancy table entry.
  • the method provided in this embodiment improves the access success rate of the user by performing load balancing according to the characteristics of the application on the application server side.
  • the third embodiment of the present invention takes the access point list illustrated in FIG. 4-a as an example (assuming that the guaranteed IP address is IP1), the cylinder to explain the process of updating the access point list.
  • the vacancy entry 1, the vacancy entry 2, and the guaranteed IP address entry in the access point list are dynamically changed.
  • the client After the client establishes a TCP connection successfully or the server sends a new IP address according to the balancing policy, the client saves the new IP address to the access point list, and saves a new IP address to the access point list logic. As shown in FIG. 5-a, steps S501 to S505 are included.
  • step S501 it is determined whether the new IP address delivered is the same as the IP address saved in the vacancy table entry 1 or IP3.
  • step S502 If the new IP address to be delivered is the same as the IP address saved by the vacancy table entry 1, that is, IP3, the process goes to step S502. Otherwise, the process proceeds to step S503.
  • step S502 the new IP address to be delivered does not need to be saved, and the process ends.
  • step S503 the IP address saved in the vacancy table entry 2, that is, IP2, is saved to the guaranteed IP address entry.
  • the IP address saved in the vacancy table entry 1 is saved as IP3 to the vacancy table entry 2.
  • step S505 the new IP address delivered is saved to the slot entry 1.
  • Figure 4-a shows an example of an access point list after saving a new IP address as shown in Figure 5-b.
  • the server is used as an example to describe the change process of the access point list (assuming the IP address is IP1), as shown in Figure 6, as follows:
  • the vacancy entry 1 and the vacancy entry 2 are both empty.
  • the server domain name of the server domain name entry is used to start accessing;
  • the first access process includes: parsing the server domain name of the server domain name entry to obtain IP2, using IP2 to access successfully, and the application server returns IP3 after successful access;
  • IP2 and IP3 After the first access, save IP2 and IP3, save IP2 and IP3, vacancy table entry 1 saves IP3, vacancy table entry 2 saves IP2, server domain name entry and guaranteed IP address entry server domain name and guarantee The IP addresses remain unchanged, as shown in the access point list 602 in FIG. 6;
  • the vacancy entry 1 stores the IP3
  • the vacancy entry 2 stores the IP2
  • the server domain name entry still stores the server domain name
  • the guaranteed IP address entry remains the IP1;
  • the second access process includes: IP3 access using the vacancy table entry 1 is successful, and the service is applied after the successful access.
  • the server sends a new IP address, ie IP4;
  • the vacancy table entry 1 stores IP4
  • the vacancy table entry 2 stores IP3
  • the server domain name entry still stores the server domain name, and the guaranteed IP address entry is saved. It is IP2, as shown in the access point list 603 in FIG.
  • the server is used as an example to describe the change process of the access point list (assuming the IP address is IP1), as shown in Figure 7, as follows:
  • the vacancy entry 1 and the vacancy entry 2 are both empty.
  • the server domain name of the server domain name entry is used to start accessing;
  • the first access process includes: The server domain name resolution fails.
  • the IP address of the IP address saved by the IP address of the IP address is successfully accessed.
  • the application server sends a new IP address, IP2.
  • After the first access save the IP1.
  • the vacancy table entry 1 stores IP2
  • the vacancy table entry 2 stores IP1, the domain name entry and the guaranteed IP address entry server domain name and the guaranteed IP address remain unchanged, that is, the guarantee bottom
  • the IP address of the IP address entry is IP1, as shown in the access point list 702 in FIG. 7;
  • the vacancy table entry 1 stores IP2, the vacancy table entry 2 stores IP1, the server domain name entry still stores the server domain name, and the guaranteed IP address entry remains IP1;
  • the second access process includes: The IP2 saved by using the vacancy table entry 1 is successfully accessed. After the access is successful, the server sends a new IP address, that is, IP3.
  • the vacancy table entry 1 stores the IP3
  • the vacancy table entry 2 stores the IP2
  • the load balancing policy domain name entry still stores the server domain name and the guaranteed IP address entry.
  • the saved is still IP 1, as shown in access point list 703 in FIG.
  • the application server when the application (App) client initiates the request, can obtain the geographic information of the App client and the network operator information according to the IP address of the access point of the client.
  • the App server sends an optimal IP address to the client according to the load balancing policy, including the processing capability of the server, the geographic information of the App client, and the network operator information.
  • the interaction process between the application client and the application server provided in this embodiment includes steps S801 to S805.
  • step S801 the application client establishes a connection with the application server.
  • the application client traverses the list of access points and uses the IP address or server domain name to connect to the application server one by one. If the connection is successful, the IP address of the connection is saved.
  • step S802 the application server acquires a corresponding load balancing policy.
  • the so-called load balancing strategy may include a static load balancing policy, a dynamic load balancing policy, and the like.
  • the so-called static load balancing strategy is a method that utilizes the average information of the system load and ignores the current load status of the system. Typically, for example, a polling algorithm, the algorithm considers that the processing power of the cluster server is indistinguishable every moment. A request from the network is distributed in turn to each server in the internal, from 1 to N and then restarted.
  • the static load balancing policy includes one or any combination of polling, priority, IP based, header/request based, and cookie based.
  • the so-called dynamic load balancing strategy is to adjust the task partitioning according to the current load status of the system.
  • the dynamic load balancing policy includes one of weighted rounding, minimum link, weighted minimum link, local based minimum link, localized minimum link with copy, and fastest response, or any combination thereof. For example, if the server load information records the number of links on the server, the load balancing policy may be a least link policy, that is, the load balancing device may select the current number of links on the server when the server is selected to serve the currently requested client.
  • the load balancing policy may be that the application server queries the IP information database according to the client IP, and obtains a corresponding load balancing policy according to the processing capability of the server, the geographic information of the App client, and the network operator information.
  • step S803 the application server selects an optimal IP address according to the load balancing policy.
  • FIG. 9 is a schematic structural diagram of an apparatus for accessing an application server according to a seventh embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
  • the device of the access application server illustrated in FIG. 9 may be a functional module/unit in the smart terminal or the smart terminal. It includes an obtaining module 901, an access initiating module 902, and a list updating module 903.
  • the obtaining module 901 is configured to obtain an IP address or a server domain name for accessing the application server from the access point list.
  • the smart terminal maintains a list of access points consisting of an accessible IP address and a server domain name, the access point list is dynamically changed, and includes a guaranteed IP address entry and a server domain name entry. And at least one vacancy table entry for saving the new IP address, where the vacancy table entry may be located before the guaranteed IP address entry and the server domain name entry.
  • the server domain name entry is used to save a server domain name, the content of the entry remains unchanged, and the guaranteed IP address entry is used to save a guaranteed IP address.
  • the IP address of the guarantee is that the IP address exists when the access point is initialized. When it fails, the IP address can also be used to initiate access to the application server.
  • FIGS. 2 b are respectively schematic diagrams of an access point list during initialization according to the embodiment, where the two access point list diagrams respectively include a guaranteed IP address entry, a server domain name entry, and Two vacancy entries (vacancy entry 1 and vacancy entry 2) for saving the new IP address.
  • the server makes access.
  • the list update module 903 is configured to: after the access to the application server is successful, update the access point list, and save the IP address delivered by the application server according to the load balancing policy to the I slot entry of the access point list.
  • the load balancing policy may include a static load balancing policy, a dynamic load balancing policy, and the like.
  • the so-called static load balancing strategy is a method that utilizes the average information of the system load and ignores the current load status of the system. Typically, for example, a polling algorithm, the algorithm considers that the processing power of the cluster server is indistinguishable every moment. A request from the network is distributed in turn to each server in the internal, from 1 to N and then restarted.
  • the static load balancing policy includes one or any combination of polling, priority, IP based, header based/request, and cookie based.
  • the so-called dynamic load balancing strategy is to adjust the task partitioning according to the current load status of the system.
  • a weighted rounding algorithm which considers the performance difference between servers, and the current load status of the server, dynamically adjusts the weight. Assign task requests to individual servers according to the order of weights and polling. Servers with higher weights can handle more task requests than servers with lower weights.
  • the dynamic load balancing policy includes weighted polling, minimum linking, and adding One of a weighted minimum link, a local based minimal link, a replicated local based minimal link, and a fastest response, or any combination thereof.
  • the load balancing policy may be a least-link policy, that is, the load balancing device may select the current number of links on the server when the server is selected to serve the currently requested client. The server serves this request.
  • each functional module is merely an example.
  • the function allocation may be completed by different functional modules according to requirements, such as configuration requirements of corresponding hardware or convenience of implementation of software.
  • the internal structure of the access application server device is divided into different functional modules to perform all or part of the functions described above.
  • the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be executed by corresponding hardware.
  • the foregoing obtaining module may have the foregoing slave access.
  • the point list may be a general processor or other hardware device capable of executing a corresponding computer program to perform the foregoing functions; and the list update module as described above may be configured to perform the foregoing updating the access point list after successful access to the application server.
  • the hardware that saves the IP address delivered by the application server according to the load balancing policy to the IP address before the IP address of the access point list, such as a list updater, may also be capable of executing a corresponding computer program to complete the foregoing functions.
  • General processor or other hardware device the various embodiments described in this specification apply the above described principles).
  • the list update module updates the access point list, and saves the IP address delivered by the application server according to the load balancing policy to the vacancy table entry of the access point list.
  • the device provided by the embodiment of the present invention improves the access success rate of the user by performing load balancing according to the characteristics of the application on the application server side.
  • FIG. 10 is a schematic structural diagram of an apparatus for accessing an application server according to an eighth embodiment of the present invention.
  • the obtaining module 901 can include a traversing unit 1001.
  • the traversing unit 1001 is configured to traverse the access point list with the first position of the access point list as a starting point, and the first time obtained during the traversal, for example, the access point list illustrated in FIG. 2-a is initialized
  • the entry has no IP address, and the traversal unit 1001 can traverse the access point column with the vacancy entry 2 as the first position of the access point list. Table. Since the server domain name entry in the access point list shown in FIG. 2 is located before the guaranteed IP address entry,
  • the access point list has no IP address for its empty entries during initialization. You can start traversing the access point list with the vacancy entry 2 as the first position of the access point list. Since the guaranteed IP address entry in the access point list shown in FIG. 2 is located before the server domain name entry, the access initiating module 902 is traversed to traverse the IP address of the unit 1001.
  • FIG. 11 is a schematic structural diagram of an apparatus for accessing an application server according to a ninth embodiment of the present invention.
  • the access initiation module 902 can include a first access initiation unit 1101 and a recurring access initiation unit 1102. among them:
  • the first access initiating unit 1101 is configured to initiate the first access of the corresponding server by using the acquired IP address or server domain name. For example, if the acquisition module 901 obtains an IP address (including a guaranteed IP address in the guaranteed IP address entry or a new IP address stored in the vacancy entry), the access to the sender is accessed for the first time. If the obtaining module 901 obtains the server domain name in the server domain name entry, the client application sends a domain name address resolution request to the domain name server, and after receiving the resolution request, the domain name server returns the IP address to the client in response. The application, the first access initiating unit 1101, recycles the initiating unit 1102, and if the first access to the application server fails, the access of the application server is successful.
  • IP address including a guaranteed IP address in the guaranteed IP address entry or a new IP address stored in the vacancy entry
  • FIG. 12-a, FIG. 12-b or FIG. 12-c are schematic structural diagrams of an apparatus for accessing an application server according to a tenth embodiment of the present invention.
  • the list update module 901 may include a first receiving unit 1201 and an updating unit 1202. among them:
  • the first receiving unit 1201 is configured to receive an IP address that is sent by the application server according to the load balancing policy after the access to the application server is successful.
  • the load balancing policy may include a static load balancing policy, a dynamic load balancing policy, and the like.
  • the so-called static load balancing strategy is the utilization system.
  • the average information of the load, and the method of ignoring the current load status of the system typically, for example, a polling algorithm, which considers that the processing power of the cluster server is indistinguishable every moment, and each request from the network is allocated in turn. Every server in the internal, from 1 to N and then restart.
  • the static load balancing policy includes one or any combination of polling, priority, IP based, header based/request, and cookie based.
  • the so-called dynamic load balancing strategy is to adjust the task partitioning according to the current load status of the system.
  • a weighted rounding algorithm which considers the performance difference between servers, and the current load status of the server, dynamically adjusts the weight.
  • the dynamic load balancing policy includes one of weighted rounding, minimum link, weighted minimum link, local-based minimum link, localized minimum link with copy, and fastest response, or any combination thereof.
  • the load balancing policy may be a least-link policy, that is, the load balancing device may select the current number of links on the server when the server is selected to serve the currently requested client. The server serves this request.
  • the updating unit 1202 is configured to save the space entry by the application server according to an IP address delivered by the load balancing policy.
  • the vacancy table entry 2 in the access point list of the example of Figure 2-a holds an IP address (assumed to be IP2), as shown in Figure 3-a.
  • the application server sends a new IP address according to the load balancing policy, and the new IP address is IP3.
  • the first receiving unit 1201 receives the IP address that is delivered, that is, the IP3, and the update unit 1202 saves the IP address, which is the IP address delivered by the application server according to the load balancing policy, to the vacancy entry 1 in the access point list, and saves the IP3.
  • the list of access points is shown in Figure 3-b.
  • FIG. 13-a, FIG. 13-b or FIG. 13-c are schematic diagrams showing the structure of an apparatus for accessing an application server according to an eleventh embodiment of the present invention.
  • the list update module 901 may include a first storage unit 1301, a second receiving unit 1302, and a second saving unit 1303. among them:
  • the first saving unit 1301 is configured to save the IP address obtained when the first access is successful to the IP address obtained when the server domain name in the server domain name entry is parsed by the vacancy table.
  • the second receiving unit 1302 is configured to receive an IP address that is sent by the application server according to the load balancing policy after the application server is successfully accessed.
  • the load balancing policy may include a static load balancing policy, a dynamic load balancing policy, and the like.
  • the so-called static load balancing strategy is a method that utilizes the average information of the system load and ignores the current load status of the system. Typically, for example, a polling algorithm, the algorithm considers that the processing power of the cluster server is indistinguishable every moment.
  • a request from the network is distributed in turn to each server in the internal, from 1 to N and then restarted.
  • the static load balancing policy includes one or any combination of polling, priority, IP based, header based/request, and cookie based.
  • the so-called dynamic load balancing strategy is to adjust the task partitioning according to the current load status of the system.
  • a weighted round robin algorithm which considers the performance difference between servers, and the current load status of the server, dynamically adjusts the weight. Assign task requests to individual servers according to the order of weights and polling. Servers with higher weights can handle more task requests than servers with lower weights.
  • the dynamic load balancing policy includes one of weighted rounding, minimum link, weighted minimum link, local-based minimum link, localized minimum link with copy, and fastest response, or any combination thereof.
  • the load balancing policy may be a least-link policy, that is, the load balancing device may select the current number of links on the server when the server is selected to serve the currently requested client. The server serves this request.
  • the second saving unit 1303 is configured to save the IP address delivered by the application server according to the load balancing policy to the first location of the access point list.
  • IP2 is successfully accessed by the application server, and the application server sends a new IP address according to the load balancing policy, and the new IP address is IP3.
  • the second receiving unit 1302 receives the new IP address, that is, the IP3, and the first storage unit 1303 sends the application server according to the load balancing policy.
  • the IP address is stored in IP3 to the vacancy table entry 1 in the access point list.
  • the list of access points after IP3 is saved is shown in Figure 4-a.
  • the application server On the next access to the application server, by traversing the access point list illustrated in Figure 4-a, and using the IP3 to successfully access the application server, the application server sends a new IP address according to the load balancing policy.
  • New IP The address is IP4.
  • the second receiving unit 1302 receives the new IP address, that is, the IP4, and the first storage unit 1303 sends the application server according to the load balancing policy.
  • the new IP address, that is, IP4 is saved to the slot entry 1 in the access point list, and the list of access points after the IP4 is saved is shown in Figure 4-b.
  • Access Point List Included as a guaranty IP address entry, a server domain name entry, and at least one vacancy entry for storing a new IP address, the vacancy entry may be located before the guaranteed IP address entry and the server domain name entry;
  • the access point list is updated, and the IP address delivered by the application server according to the load balancing policy is saved to the vacancy table entry of the access point list.
  • the medium may include: a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供一种接入应用服务器的方法,所述方法包括:从接入点列表中获取对应用服务器进行访问的IP地址或服务器域名;采用所述获取的IP地址或服务器域名发起对应用服务器进行访问;在对所述应用服务器访问成功后,更新接入点列表,以将所述应用服务器根据负载均衡策略下发的IP地址保存至所述接入点列表的空位表项。本发明实施例提供的方法通过在应用服务器一侧根据应用程序的特点进行负载均衡,提高用户的接入成功率。

Description

接入应用服务器的方法和装置 本申请要求于 2012 年 12 月 27 日提交中国专利局、 申请号为 201210580442.9、 发明名称为"一种接入应用服务器的方法和装置 "的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及互联网应用领域。 背景技术 随着智能终端技术的发展, 智能手机、平板电脑等各种智能终端功能越来 越强大, 其表现之一是可以安装、 运行越来越多的客户端应用程序
( Application )。 而互联网技术的发展, 通过将客户端应用程序通过互联网接 入应用服务器, 已经成为智能终端用户应用智能终端的通常方式。
现有技术中, 客户端应用程序通过固定的因特网协议(Internet Protocol,
IP )地址访问应用服务器。
现有的接入应用服务器的方式主要缺陷在于不能很好地适应变化,这是因 为当业务量逐渐增大时, 应用服务器新增 IP地址后, 已经外发的客户端应用程 序不知道该新增的 IP地址, 仍然访问原 IP地址, 如此, 新的 IP地址所在的应用 服务器负载量较小, 而原 IP地址所在的应用服务器负载量较大。 发明内容
本发明实施例提供一种接入应用服务器的方法和装置,以解决以上问题中 的至少一个。
本发明实施例提供一种接入应用服务器的方法, 所述方法包括: 接入点列表包含一个保底 IP地址表项、一个服务器域名表项和至少一个用于保 存新 IP地址的空位表项; 己对 用服谷 i并行访间: 以及 在对所述应用服务器访问成功后, 更新接入点列表,将所述应用服务器根 据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项。 包括: 以所述接入点列表的首位置为起点遍历所述接入点列表,将遍历时首次 器
Figure imgf000004_0001
对所述应用服务器的首次访问失败,则再次从接入点列表中获取对应用服务器 进行访问的 IP地址或服务器域名, 直至对所述应用服务器的访问成功。
所述更新接入点列表,将所述应用服务器根据负载均衡策略下发的 IP地址 保存至对所述接入点列表的空位表项包括:接收对所述应用服务器访问成功后 所述应用服务器根据负载均衡策略下发的 IP地址; 以及将所述应用服务器根据 负载均衡策略下发的 IP地址保存至所述空位表项。
所述接入点列表包含多个空位表项。
所述更新接入点列表,将所述应用服务器根据负载均衡策略下发的 IP地址 保存至对所述接入点列表的空位表项包括:将首次访问成功时的 IP地址保存至 所述多个空位表项中除首个空位表项以外的空位表项,所述首次访问成功时的 服务器域名进行解析时获得的 IP地址;接收所述应用服务器根据负载均衡策略 下发的 IP地址; 以及将所述应用服务器根据负载均衡策略下发的 IP地址保存至 所述多个空位表项中的首个空位表项。
本发明实施例提供一种接入应用服务器的装置, 所述装置包括: 务器域名, 所述接入点列表包含一个保底 IP地址表项、 一个服务器域名表项和 至少一个用于保存新 IP地址的空位表项; 器进行访问; 以及
列表更新模块, 用于在对所述应用服务器访问成功后, 更新接入点列表, 将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表的 首位置。
所述获取模块包括: 遍历单元, 用于以所述接入点列表的首位置为起点遍 服务器进行访问的 IP地址或服务器域名。
所述访问发起模块包括: 首次访问发起单元, 用于以所述获取的 IP地址或 服务器域名发起对应用服务器的首次访问; 以及循环访问发起单元, 用于若对 所述应用服务器的首次访问失败,则再次从接入点列表中获取对应用服务器进 所述列表更新模块包括: 第一接收单元, 用于接收对所述应用服务器访问 成功后所述应用服务器根据负载均衡策略下发的 IP地址; 以及更新单元, 用于 将所述应用服务器根据负载均衡策略下发的 IP地址保存所述空位表项。
所述接入点列表包括多个空位表项, 所述列表更新模块包括: 第一保存单 元,用于将首次访问成功时的 IP地址保存至所述多个空位表项中除首个空位表
IP地址; 第二接收单元, 用于接收对所述应用服务器访问成功后所述应用服务 器根据负载均衡策略下发的 IP地址; 以及第二保存单元, 用于将所述应用服务 器根据负载均衡策略下发的 IP地址保存至所述接入点列表中所述多个空位表 项中首个空位表项。
本发明实施例提供一种非瞬时性的计算机可读存储介质,其上存储有计算 机可执行指令, 当计算机中运行这些可执行指令时, 执行如下步骤: 接入点列表包含一个保底 IP地址表项、一个服务器域名表项和至少一个用于保 存新 IP地址的空位表项; 在对所述应用服务器访问成功后, 更新接入点列表,将所述应用服务器下 发的 IP地址保存至所述接入点列表的空位表项。
本发明实施例中, 在对应用服务器访问成功后, 更新接入点列表, 将应用 服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项。 与现有技术相比,本发明实施例所提供的方法通过在应用服务器一侧根据应用 程序的特点进行负载均衡, 提高用户的接入成功率。 附图说明 图 1是本发明第一实施例提供的接入应用服务器的方法流程示意图; 图 2-a是本发明实施例提供的接入点列表初始化时的示意图;
图 2-b是本发明实施例提供另一种的接入点列表初始化时的示意图; 图 3-a是本发明实施例提供的在接入点列表中保存应用服务器下发的新 IP 地址示意图;
图 3-b是本发明实施例提供的另一种在接入点列表中保存应用服务器下发 的新 IP地址示意图;
图 4-a是本发明实施例提供的另一种在接入点列表中保存应用服务器下发 的新 IP地址示意图;
图 4-b是本发明实施例提供的另一种在接入点列表中保存应用服务器下发 的新 IP地址示意图;
图 5-a是本发明第三实施例提供的更新接入点列表流程示意图;
图 5-b是图 4-a示例的接入点列表中保存应用服务器下发的新 IP地址后接入 点列表示意图;
图 6是本发明第四实施例提供的应用服务器下发新 IP地址后接入点列表变 化示意图;
图 7是本发明第五实施例提供的应用服务器下发新 IP地址后接入点列表变 化示意图;
图 8是本发明第六实施例提供的应用程序客户端与应用服务器交互过程示 意图; 图 9是本发明第七实施例提供的接入应用服务器的装置结构示意图; 图 10是本发明第八实施例提供的接入应用服务器的装置结构示意图; 图 11是本发明第九实施例提供的接入应用服务器的装置结构示意图; 图 12-a是本发明第十实施例提供的接入应用服务器的装置结构示意图; 图 12-b是本发明第十实施例提供的接入应用服务器的装置结构示意图; 图 12-c是本发明第十实施例提供的接入应用服务器的装置结构示意图; 图 13-a是本发明第十一实施例提供的接入应用服务器的装置结构示意图; 图 13-b是本发明第十一实施例提供的接入应用服务器的装置结构示意图; 以及
图 13-c是本发明第十一实施例提供的接入应用服务器的装置结构示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员所获得的所有其他实 施例, 都属于本发明保护的范围。
请参阅附图 1 , 是本发明第一实施例提供的接入应用服务器的方法流程示 意图, 其执行主体可以是智能终端或智能终端的应用程序模块, 该方法包括步 骤 S101、 步骤 S102和步骤 S103。 器域名。
在本实施例中,智能终端维护一个由可访问的 IP地址和服务器域名组成的 接入点列表, 该接入点列表是动态变化的, 并包含一个保底 IP地址表项、 一个 服务器域名表项和至少一个用于保存新 IP地址的空位表项。所述空位表项可以 位于所述保底 IP地址表项和服务器域名表项之前。 其中, 服务器域名表项用于 保存一个服务器域名, 该表项的内容维持不变, 而保底 IP地址表项用于保存一 个保底 IP地址。 保底 IP地址是指, 接入点初始化时该 IP地址就存在, 以及, 当 还可以使用该 IP地址发起对应用服务器的访问。 附图 2-a和附图 2-b分别是本实 施例提供的初始化时的接入点列表示意图,该两个接入点列表示意图分别包含 一个保底 IP地址表项、一个服务器域名表项和两个用于保存新 IP地址的空位表 项 (空位表项 1和空位表项 2 )。 务器域名, 可以包括: 以接入点列表的首位置为起点, 遍历所述接入点列表, 址或服务器域名。 例如, 对于附图 2-a示例的接入点列表, 初始化时其空表项 均没有 IP地址, 可以以空位表项 2作为接入点列表的首位置开始遍历该接入点 列表。 在附图 2-a中, 由于服务器域名表项位于保底 IP地址表项之前, 因此以 问的服务器域名。 对于附图 2-b示例的接入点列表, 初始化时其空表项均没有 IP地址, 可以以空位表项 2作为接入点列表的首位置开始遍历该接入点列表。 在附图 2-b中, 由于保底 IP地址表项位于服务器域名表项之前, 因此以遍历时 地址。
步骤 S102中,
访问。
在本实施例中,
Figure imgf000008_0001
问可以包括: 以所迷 4又的 IP地址^ 良务 H ^或名发起玎 ^用 务器的百夂万 问, 若对所述应用服务器的首次访问失败, 则再次从接入点列表中获取对所述 应用服务器进行访问的 IP地址或服务器域名,直至对所述应用服务器的访问成 功。 例如, ^ 设获取的是 IP地址(包括保底 IP地址表项中的保底 IP地址或者保 存至空位表项中的新 IP地址;), 则可以采用现有技术中使用固定的 IP地址对应 用服务器访问的方法发起对应用服务器的访问。若获取的是服务器域名表项中 的服务器域名, 则向域名服务器发送域名地址解析请求,域名服务器收到该解 析请求后, 将 IP地址以响应的方式返回至客户端应用程序, 客户端应用程序再 步骤 S103中, 在对所述应用服务器访问成功后, 更新接入点列表, 以将所 述应用服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表的空位 表项。
在本实施例中,负载均衡策略可以包括静态负载均衡策略和动态负载均衡 策略等等。 所谓静态负载均衡策略, 是利用系统负载的平均信息, 而忽视系统 当前的负载状况的方法, 典型地, 例如轮询算法, 该算法认为集群服务器每时 每刻的处理能力是无差别的,每一次来自网络的请求轮流分配给内部中的每台 服务器, 从 1至 N然后重新开始。 在本实施例中, 静态负载均衡策略可以包括 轮询、 优先级、 基于 IP、 基于报头 /请求和基于 cookie中的一种或任意组合。 所 谓动态负载均衡策略,是根据系统当前的负载状况来调整任务划分的方法, 典 型地, 例如加权轮询算法, 该算法考虑服务器之间的性能差异, 以及服务器当 前的负载状况, 动态调整权值,根据权值的高低顺序并按照轮询的方法将任务 请求分配到各个服务器。权值高的服务器比权值低的服务器能处理更多的任务 请求。 在本实施例中, 动态负载均衡策略包括加权轮询、 最小链接、 加权最小 链接、基于局部的最小链接、 带复制的基于局部的最小链接和最快响应中的一 种或其任意组合。 例如, 若服务器负载信息记录了服务器上的链接数目, 则负 载均衡策略可以是使用最少链接策略,即负载均衡装置在选择服务器为当前发 起请求的客户端服务时,可以选择当前其上链接数目最少的服务器为这一请求 服务。
在本实施例中, 在对应用服务器访问成功后, 更新接入点列表, 将所述应 用服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项, 策略下发的 IP地址; 将所述应用服务器根据负载均衡策略下发的 IP地址保存至 接入点列表的空位表项。 例如, 假设某次对应用服务器访问后, 附图 2-a示例 的接入点列表中的空位表项 2保存了一个 IP地址(假设是 IP2 ),如附图 3-a所示。 进一步假设使用 IP2对应用服务器访问成功, 则应用服务器会根据负载均衡策 略下发一个新的 IP地址,记该新的 IP地址是 IP3。客户端接收下发的新的 IP地址 即 IP3, 将应用服务器根据负载均衡策略下发的 IP地址即 IP3保存至接入点列表 中的空位表项 1 , 保存 IP3后的接入点列表如附图 3-b所示。
本发明第二实施例中,接入点列表包括多个空位表项。在对应用服务器访 问成功后, 更新接入点列表, 将所述应用服务器根据负载均衡策略下发的 IP地 址保存至所述接入点列表的空位表项, 该过程可以包括: 将首次访问成功时的 IP地址保存至接入点列表的空位表项;接收应用服务器根据负载均衡策略下发 的 IP地址; 将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述接入 点列表的空位表项。 由于本实施例中的接入点列表包括多个空位表项, 则可以 的空位表项。 其中, 所述首次访问成功时的 IP地址为接入点列表保底 IP地址表 址。 例如, 假设某次对应用服务器访问采用的是对附图 2-a示例的接入点列表 中的服务器域名进行解析时获得的 IP地址, 记该 IP地址是 IP2。 进一步假设使 用 IP2对应用服务器访问成功, 则应用服务器会根据负载均衡策略下发一个新 的 IP地址, 记该新的 IP地址是 IP3。 客户端接收下发的新的 IP地址即 IP3 , 并且, 由于此时接入点列表的首位置是空位表项 1 , 因此, 可以将应用服务器根据负 载均衡策略下发的 IP地址即 IP3保存至接入点列表中的空位表项 1 , 保存 IP3后 的接入点列表如附图 4-a所示。 在下次对应用服务器访问时, 通过对附图 4-a示 例的接入点列表进行遍历, 如果使用 IP3对应用服务器访问成功, 则应用服务 器会根据负载均衡策略下发一个新的 IP地址, 记该新的 IP地址是 IP4。 客户端 接收下发的新的 IP地址即 IP4, 并且, 由于此时接入点列表的首位置是空位表 项 1 , 因此, 将应用服务器根据负载均衡策略下发的新 IP地址即 IP4保存至接入 点列表中的空位表项 1 , 保存 IP4后的接入点列表如附图 4-b所示。
从第二实施例提供的接入应用服务器的方法可知,由于在对应用服务器访 问成功后, 更新接入点列表, 将应用服务器根据负载均衡策略下发的 IP地址保 存至所述接入点列表的空位表项。 与现有技术相比, 本实施例提供的方法通过 在应用服务器一侧根据应用程序的特点进行负载均衡, 提高用户的接入成功 率。
本发明第三实施例以附图 4-a示例的接入点列表为例 (假设保底 IP地址是 IP1 ), 筒要说明更新接入点列表的过程。 在本实施例中, 除了接入点列表中服 务器域名表项的服务器域名不变之外,接入点列表中的空位表项 1、 空位表项 2 和保底 IP地址表项都是动态变化的。 当客户端建立 TCP连接成功或者服务器根 据均衡策略下发新的 IP地址后, 客户端会保存新的 IP地址到接入点列表中, 其 保存一个新的 IP地址到接入点列表的逻辑如附图 5-a所示, 包括步骤 S501至步 骤 S505。
步骤 S501中, 判断下发的新 IP地址是否与空位表项 1保存的 IP地址即 IP3相 同。
若下发的新 IP地址与空位表项 1保存的 IP地址即 IP3相同, 则流程转向步骤 S502, 否则, 流程进入步骤 S503。
步骤 S502中, 无需保存下发的新 IP地址, 流程结束。
步骤 S503中, 将空位表项 2保存的 IP地址即 IP2保存至保底 IP地址表项。 步骤 S504中, 将空位表项 1保存的 IP地址即 IP3保存至空位表项 2。
步骤 S505中, 将下发的新 IP地址保存至空位表项 1。
附图 4-a示例的接入点列表保存新 IP地址后如附图 5-b所示。 服务器为例, 说明接入点列表(假设保底 IP地址为 IP1 )的变化过程, 如附图 6 所示, 说明如下:
第一次访问前, 空位表项 1和空位表项 2均为空, 如图 6中接入点列表 601 所示, 经过遍历, 使用服务器域名表项的服务器域名开始访问;
第一次访问过程包括:对服务器域名表项的服务器域名进行解析获得 IP2 , 使用 IP2访问成功, 访问成功后应用服务器返回 IP3;
第一次访问后, 保存 IP2与 IP3 , 保存 IP2与 IP3后, 空位表项 1保存的是 IP3, 空位表项 2保存的是 IP2 , 服务器域名表项和保底 IP地址表项的服务器域名和保 底 IP地址均保持不变, 如图 6中接入点列表 602所示;
第二次访问前, 空位表项 1保存的是 IP3, 空位表项 2保存的是 IP2, 服务器 域名表项保存的仍然是服务器域名, 保底 IP地址表项保存的仍然是 IP1 ;
第二次访问过程包括: 使用空位表项 1的 IP3访问成功, 访问成功后应用服 务器下发新的 IP地址即 IP4;
第二次访问后, 保存 IP3与 IP4, 保存后, 空位表项 1保存的是 IP4, 空位表 项 2保存的是 IP3, 服务器域名表项保存的仍然是服务器域名, 保底 IP地址表项 保存的是 IP2, 如图 6中接入点列表 603所示。 服务器为例, 说明接入点列表(假设保底 IP地址为 IP1 )的变化过程, 如附图 7 所示, 说明如下:
第一次访问前, 空位表项 1和空位表项 2均为空, 如图 7中接入点列表 701 所示, 经过遍历, 使用服务器域名表项的服务器域名开始访问;
第一次访问过程包括: 服务器域名解析失败, 使用保底 IP地址表项保存的 保底 IP地址即 IP1访问成功, 访问成功后应用服务器下发新的 IP地址即 IP2; 第一次访问后, 保存 IP1与 IP2, 保存 IP1与 IP2后, 空位表项 1保存的是 IP2, 空位表项 2保存的是 IP1 , 域名表项和保底 IP地址表项的服务器域名和保底 IP地 址均保持不变,即保底 IP地址表项的保底 IP地址为 IP1 ,如图 7中接入点列表 702 所示;
第二次访问前, 空位表项 1保存的是 IP2, 空位表项 2保存的是 IP1 , 服务器 域名表项保存的仍然是服务器域名, 保底 IP地址表项保存的仍然是 IP1 ;
第二次访问过程包括: 使用空位表项 1保存的 IP2访问成功, 访问成功后应 用服务器下发新的 IP地址即 IP3;
第二次访问后, 保存 IP2与 IP3, 保存后, 空位表项 1保存的是 IP3, 空位表 项 2保存的是 IP2, 负载均衡策略域名表项保存的仍然是服务器域名, 保底 IP地 址表项保存的仍然是 IP 1 , 如图 7中接入点列表 703所示。
在本发明第六实施例中,应用程序( App )客户端在发起请求时,应用( App ) 服务器根据客户的接入点的 IP, 可以获取 App客户端的地理信息与网络运营商 信息。 App服务器根据负载均衡策略, 包括服务器的处理能力、 App客户端的 地理信息与网络运营商信息等选择一个最优的 IP下发至客户端。请参阅附图 8, 是本实施例提供的应用程序客户端与应用服务器的交互过程, 包括步骤 S801 至步骤 S805。 步骤 S801中, 应用程序客户端建立与应用服务器的连接。
应用程序客户端遍历接入点列表,逐个使用其中的 IP地址或者服务器域名 连接应用服务器, 如果连接成功, 则保存本次连接成功的 IP地址。
步骤 S802中, 应用服务器获取相应的负载均衡策略。
所谓负载均衡策略可以包括静态负载均衡策略和动态负载均衡策略等等。 所谓静态负载均衡策略,是利用系统负载的平均信息, 而忽视系统当前的负载 状况的方法, 典型地, 例如轮询算法, 该算法认为集群服务器每时每刻的处理 能力是无差别的,每一次来自网络的请求轮流分配给内部中的每台服务器,从 1至 N然后重新开始。 在本实施例中, 静态负载均衡策略包括轮询、 优先级、 基于 IP、 基于报头 /请求和基于 cookie中的一种或任意组合。 所谓动态负载均衡 策略, 是根据系统当前的负载状况来调整任务划分的方法, 典型地, 例如加权 轮询算法, 该算法考虑服务器之间的性能差异, 以及服务器当前的负载状况, 动态调整权值,根据权值的高低顺序并按照轮询的方法将任务请求分配到各个 服务器。权值高的服务器比权值低的服务器能处理更多的任务请求。在本实施 例中, 动态负载均衡策略包括加权轮询、 最小链接、 加权最小链接、 基于局部 的最小链接、 带复制的基于局部的最小链接和最快响应中的一种或其任意组 合。 例如, 若服务器负载信息记录了服务器上的链接数目, 则负载均衡策略可 以是使用最少链接策略,即负载均衡装置在选择服务器为当前发起请求的客户 端服务时, 可以选择当前其上链接数目最少的服务器为这一请求服务。在本实 施例中, 负载均衡策略可以是应用服务器按照客户端 IP查询 IP信息库, 根据服 务器的处理能力、 App客户端的地理信息与网络运营商信息等等, 获取相应的 负载均衡策略。
步骤 S803中, 应用服务器根据负载均衡策略选定一个最优 IP地址。
步骤 S804中, 应用服务器向应用程序客户端下发所选定的最优 IP地址。 步骤 S805中, 应用程序客户端将最优 IP地址保存到其接入点列表中。 请参阅附图 9, 是本发明第七实施例提供的接入应用服务器的装置结构示 意图。 为了便于说明, 仅仅示出了与本发明实施例相关的部分。 附图 9示例的 接入应用服务器的装置可以是智能终端或智能终端中的某个功能模块 /单元, 其包括获取模块 901、 访问发起模块 902和列表更新模块 903, 其中: 获取模块 901 , 用于从接入点列表中获取对应用服务器进行访问的 IP地址 或服务器域名。 在本实施例中, 智能终端维护一个由可访问的 IP地址和服务器 域名组成的接入点列表, 该接入点列表是动态变化的, 并包含一个保底 IP地址 表项、 一个服务器域名表项和至少一个用于保存新 IP地址的空位表项, 所述空 位表项可以位于所述保底 IP地址表项和服务器域名表项之前。 其中, 服务器域 名表项用于保存一个服务器域名, 该表项的内容维持不变, 而保底 IP地址表项 用于保存一个保底 IP地址。 保底 IP地址是指接入点初始化时该 IP地址就存在, 失败时, 还可以使用该 IP地址发起对应用服务器的访问。 附图 2-a和附图 2-b分 别是本实施例提供的初始化时的接入点列表示意图,该两个接入点列表示意图 分别包含一个保底 IP地址表项、 一个服务器域名表项和两个用于保存新 IP地址 的空位表项 (空位表项 1和空位表项 2 )。 服务器进行访问。
列表更新模块 903 , 用于在对所述应用服务器访问成功后, 更新接入点列 表,将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表 的 I空位表项。 在本实施例中, 负载均衡策略可以包括静态负载均衡策略和动 态负载均衡策略等等。 所谓静态负载均衡策略, 是利用系统负载的平均信息, 而忽视系统当前的负载状况的方法, 典型地, 例如轮询算法, 该算法认为集群 服务器每时每刻的处理能力是无差别的,每一次来自网络的请求轮流分配给内 部中的每台服务器, 从 1至 N然后重新开始。 在本实施例中, 静态负载均衡策 略包括轮询、 优先级、 基于 IP、 基于报头 /请求和基于 cookie中的一种或任意组 合。所谓动态负载均衡策略,是根据系统当前的负载状况来调整任务划分的方 法, 典型地, 例如加权轮询算法, 该算法考虑服务器之间的性能差异, 以及服 务器当前的负载状况, 动态调整权值,根据权值的高低顺序并按照轮询的方法 将任务请求分配到各个服务器。权值高的服务器比权值低的服务器能处理更多 的任务请求。 在本实施例中, 动态负载均衡策略包括加权轮询、 最小链接、 加 权最小链接、基于局部的最小链接、 带复制的基于局部的最小链接和最快响应 中的一种或其任意组合。例如,若服务器负载信息记录了服务器上的链接数目, 则负载均衡策略可以是使用最少链接策略,即负载均衡装置在选择服务器为当 前发起请求的客户端服务时,可以选择当前其上链接数目最少的服务器为这一 请求服务。
在本实施例中,各功能模块的划分仅是举例说明, 实际应用中可以根据需 要, 例如相应硬件的配置要求或者软件的实现的便利考虑, 而将上述功能分配 由不同的功能模块完成,即将所述接入应用服务器装置的内部结构划分成不同 的功能模块, 以完成以上描述的全部或者部分功能。 而且, 实际应用中, 本实 施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行 相应的软件完成, 例如, 前述的获取模块, 可以是具有执行前述从接入点列表 可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者其他硬 件设备; 再如前述的列表更新模块, 可以是具有执行前述在对所述应用服务器 访问成功后,更新接入点列表以将所述应用服务器根据负载均衡策略下发的 IP 地址保存至所述接入点列表的 IP地址之前首位置功能的硬件, 例如列表更新 器,也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者其 他硬件设备(本说明书提供的各个实施例都可应用上述描述原则 )。
在对应用服务器访问成功后, 列表更新模块更新接入点列表,将应用服务 器根据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项。与现有 技术相比,本发明实施例提供的装置通过在应用服务器一侧根据应用程序的特 点进行负载均衡, 提高用户的接入成功率。
附图 10为本发明第八实施例所提供的接入应用服务器的装置的结构示意 图。 在本实施例中, 获取模块 901可以包括遍历单元 1001。 遍历单元 1001用于 以所述接入点列表的首位置为起点遍历所述接入点列表,将遍历时首次获取的 例如, 对于附图 2-a示例的接入点列表, 初始化时其空表项均没有 IP地址, 遍 历单元 1001可以以空位表项 2作为接入点列表的首位置开始遍历该接入点列 表。 由于附图 2所示的接入点列表中服务器域名表项位于保底 IP地址表项之前,
接入点列表, 初始化时其空表项均没有 IP地址, 可以以空位表项 2作为接入点 列表的首位置开始遍历该接入点列表。 由于附图 2所示的接入点列表中保底 IP 地址表项位于服务器域名表项之前, 因此, 访问发起模块 902以遍历单元 1001 问的 IP地址。
附图 11为本发明第九实施例所提供的接入应用服务器的装置的结构示意 图。 在本实施例中, 访问发起模块 902可以包括首次访问发起单元 1101和循环 访问发起单元 1102。 其中:
首次访问发起单元 1101 ,用于以所述获取的 IP地址或服务器域名发起对应 用服务器的首次访问。 例如, 假设获取模块 901获取的是 IP地址(包括保底 IP 地址表项中的保底 IP地址或者保存至空位表项中的新 IP地址;), 则首次访问发 器的访问。 若获取模块 901获取的是服务器域名表项中的服务器域名, 则客户 端应用程序向域名服务器发送域名地址解析请求,域名服务器收到该解析请求 后, 将 IP地址以响应的方式返回至客户端应用程序, 首次访问发起单元 1101再 循环访问发起单元 1102, 用于若对所述应用服务器的首次访问失败, 则再 所述应用服务器的访问成功。
附图 12-a、 附图 12-b或附图 12-c为本发明第十实施例所提供的接入应用服 务器的装置的结构示意图。 在本实施例中, 列表更新模块 901可以包括第一接 收单元 1201和更新单元 1202。 其中:
第一接收单元 1201 ,用于接收对所述应用服务器访问成功后所述应用服务 器根据负载均衡策略下发的 IP地址。 在本实施例中, 负载均衡策略可以包括静 态负载均衡策略和动态负载均衡策略等等。所谓静态负载均衡策略,是利用系 统负载的平均信息, 而忽视系统当前的负载状况的方法, 典型地, 例如轮询算 法, 该算法认为集群服务器每时每刻的处理能力是无差别的,每一次来自网络 的请求轮流分配给内部中的每台服务器, 从 1至 N然后重新开始。 在本实施例 中,静态负载均衡策略包括轮询、优先级、基于 IP、基于报头 /请求和基于 cookie 中的一种或任意组合。所谓动态负载均衡策略,是根据系统当前的负载状况来 调整任务划分的方法, 典型地, 例如加权轮询算法, 该算法考虑服务器之间的 性能差异, 以及服务器当前的负载状况, 动态调整权值, 根据权值的高低顺序 并按照轮询的方法将任务请求分配到各个服务器。权值高的服务器比权值低的 服务器能处理更多的任务请求。在本实施例中, 动态负载均衡策略包括加权轮 询、 最小链接、 加权最小链接、 基于局部的最小链接、 带复制的基于局部的最 小链接和最快响应中的一种或其任意组合。 例如, 若服务器负载信息记录了服 务器上的链接数目, 则负载均衡策略可以是使用最少链接策略, 即负载均衡装 置在选择服务器为当前发起请求的客户端服务时,可以选择当前其上链接数目 最少的服务器为这一请求服务。
更新单元 1202,用于将所述应用服务器根据负载均衡策略下发的 IP地址保 存所述空位表项。
例如, 假设某次对应用服务器访问后, 附图 2-a示例的接入点列表中的空 位表项 2保存了一个 IP地址(假设是 IP2 ) , 如附图 3-a所示。 进一步 H殳使用 IP2 对应用服务器访问成功,则应用服务器会根据负载均衡策略下发一个新的 IP地 址, 记该新的 IP地址是 IP3。 第一接收单元 1201接收下发的新的 IP地址即 IP3, 更新单元 1202将应用服务器根据负载均衡策略下发的 IP地址即 IP3保存至接入 点列表中的空位表项 1 , 保存 IP3后的接入点列表如附图 3-b所示。
附图 13-a、 附图 13-b或附图 13-c为本发明第十一实施例所提供的接入应用 服务器的装置的结构示意图。 在本实施例中, 列表更新模块 901可以包括第一 保存单元 1301、 第二接收单元 1302和第二保存单元 1303。 其中:
第一保存单元 1301 , 用于将首次访问成功时的 IP地址保存至所述空位表 过对服务器域名表项中的服务器域名进行解析时获得的 IP地址。 第二接收单元 1302,用于接收对所述应用服务器访问成功后所述应用服务 器根据负载均衡策略下发的 IP地址。 与附图 12类似, 在本实施例中, 负载均衡 策略可以包括静态负载均衡策略和动态负载均衡策略等等。所谓静态负载均衡 策略, 是利用系统负载的平均信息, 而忽视系统当前的负载状况的方法, 典型 地, 例如轮询算法, 该算法认为集群服务器每时每刻的处理能力是无差别的, 每一次来自网络的请求轮流分配给内部中的每台服务器, 从 1至 N然后重新开 始。 在本实施例中, 静态负载均衡策略包括轮询、 优先级、 基于 IP、 基于报头 /请求和基于 cookie中的一种或任意组合。 所谓动态负载均衡策略, 是根据系统 当前的负载状况来调整任务划分的方法, 典型地, 例如加权轮询算法, 该算法 考虑服务器之间的性能差异, 以及服务器当前的负载状况, 动态调整权值, 根 据权值的高低顺序并按照轮询的方法将任务请求分配到各个服务器。权值高的 服务器比权值低的服务器能处理更多的任务请求。在本实施例中, 动态负载均 衡策略包括加权轮询、 最小链接、 加权最小链接、 基于局部的最小链接、 带复 制的基于局部的最小链接和最快响应中的一种或其任意组合。例如, 若服务器 负载信息记录了服务器上的链接数目,则负载均衡策略可以是使用最少链接策 略, 即负载均衡装置在选择服务器为当前发起请求的客户端服务时, 可以选择 当前其上链接数目最少的服务器为这一请求服务。
第二保存单元 1303,用于将所述应用服务器根据负载均衡策略下发的 IP地 址保存至所述接入点列表的首位置。
例如, 假设某次对应用服务器访问采用的是对附图 2-a示例的接入点列表 中的服务器域名进行解析时获得的 IP地址, 记该 IP地址是 IP2。 进一步假设使 用 IP2对应用服务器访问成功, 则应用服务器会根据负载均衡策略下发一个新 的 IP地址,记该新的 IP地址是 IP3。第二接收单元 1302接收下发的新的 IP地址即 IP3, 并且, 由于此时接入点列表的首位置是空位表项 1 , 因此, 第二保存单元 1303将应用服务器根据负载均衡策略下发的 IP地址即 IP3保存至接入点列表中 的空位表项 1 , 保存 IP3后的接入点列表如附图 4-a所示。 在下次对应用服务器 访问时, 通过对附图 4-a示例的接入点列表进行遍历, 使用 IP3对应用服务器访 问成功, 则应用服务器会根据负载均衡策略下发一个新的 IP地址, 记该新的 IP 地址是 IP4。 第二接收单元 1302接收下发的新的 IP地址即 IP4, 并且, 由于此时 接入点列表的首位置是空位表项 1 , 因此, 第二保存单元 1303将应用服务器根 据负载均衡策略下发的新 IP地址即 IP4保存至接入点列表中的空位表项 1 , 保存 IP4后的接入点列表如附图 4-b所示。
需要说明的是, 上述装置各模块 /单元之间的信息交互、 执行过程等内容, 由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施 例相同, 具体内容可参见本发明方法实施例中的叙述, 此处不再赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,比如以下各种方法的一种或多种 或全部: 接入点列表包含一个保底 IP地址表项、一个服务器域名表项和至少一个用于保 存新 IP地址的空位表项, 所述空位表项可以位于所述保底 IP地址表项和服务器 域名表项之前; 在对所述应用服务器访问成功后, 更新接入点列表,将所述应用服务器根 据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一非瞬时性的 计算机可读存储介质中, 存储介质可以包括: 只读存储器(ROM, Read Only Memory ), 随机存取存储器(RAM, Random Access Memory ),磁盘或光盘等。
以上对本发明实施例提供的一种接入应用服务器的方法和装置进行了详 实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本领 域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有 改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种接入应用服务器的方法, 其特征在于, 所述方法包括: 接入点列表包含一个保底 IP地址表项、一个服务器域名表项和至少一个用于保 存新 IP地址的空位表项; 在对所述应用服务器访问成功后, 更新接入点列表,将所述应用服务器根 据负载均衡策略下发的 IP地址保存至所述接入点列表的空位表项。
2、 如权利要求 1所述的方法, 其特征在于, 所述从接入点列表中获取对应 用服务器进行访问的 IP地址或服务器域名包括:
以所述接入点列表的首位置为起点遍历所述接入点列表,将遍历时首次获 域名。
3、 如权利要求 1所述的方法, 其特征在于, 所述采用所述获取的 IP地址或 服务器域名发起对应用服务器进行访问包括: 若对所述应用服务器的首次访问失败,则再次从接入点列表中获取对应用 服务器进行访问的 IP地址或服务器域名, 直至对所述应用服务器的访问成功。
4、 如权利要求 1至 3任意一项所述的方法, 其特征在于, 所述更新接入点 列表,将所述应用服务器根据负载均衡策略下发的 IP地址保存至对所述接入点 列表的空位表项包括: 发的 IP地址; 以及
将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述空位表项。
5、 如权利要求 1至 3任意一项所述的方法, 其特征在于, 所述接入点列表 包含多个空位表项。
6、 如权利要求 5所述的方法, 其特征在于, 所述更新接入点列表, 将所述 应用服务器根据负载均衡策略下发的 IP地址保存至对所述接入点列表的空位 表项包括:
将首次访问成功时的 IP地址保存至所述多个空位表项中除首个空位表项
接收所述应用服务器根据负载均衡策略下发的 IP地址; 以及
将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述多个空位 表项中的首个空位表项。
7、 一种接入应用服务器的装置, 其特征在于, 所述装置包括: 务器域名, 所述接入点列表包含一个保底 IP地址表项、 一个服务器域名表项和 至少一个用于保存新 IP地址的空位表项; 器进行访问; 以及
列表更新模块, 用于在对所述应用服务器访问成功后, 更新接入点列表, 将所述应用服务器根据负载均衡策略下发的 IP地址保存至所述接入点列表的 工位表项。
8、 如权利要求 7所述的装置, 其特征在于, 所述获取模块包括: 遍历单元, 用于以所述接入点列表的首位置为起点遍历所述接入点列表, IP地址或服务器域名。
9、 如权利要求 7所述的装置, 其特征在于, 所述访问发起模块包括: 务器的首次访问; 以及
循环访问发起单元, 用于若对所述应用服务器的首次访问失败, 则再次从 应用服务器的访问成功。
10、 如权利要求 7至 9任意一项所述的装置, 其特征在于, 所述列表更新模 块包括: 据负载均衡策略下发的 IP地址; 以及
更新单元,用于将所述应用服务器根据负载均衡策略下发的 IP地址保存所 述空位表项。
11、 如权利要求 7至 9任意一项所述的装置, 其特征在于, 所述接入点列表 包括多个空位表项, 所述列表更新模块包括:
第一保存单元,用于将首次访问成功时的 IP地址保存至所述多个空位表项 中除首个空位表项以外的其他空位表项,所述首次访问成功时的 IP地址为所述 行解析时获得的 IP地址;
第二接收单元,用于接
据负载均衡策略下发的 IP地址; 以及
第二保存单元, 用于将所述应用服务器根据负载均衡策略下发的 IP地址 保存至所述接入点列表中所述多个空位表项中首个空位表项。
12、一种非瞬时性的计算机可读存储介质,其上存储有计算机可执行指令, 当计算机中运行这些可执行指令时, 执行如下步骤: 接入点列表包含一个保底 IP地址表项、一个服务器域名表项和至少一个用于保 存新 IP地址的空位表项; 在对所述应用服务器访问成功后, 更新接入点列表,将所述应用服务器下 发的 IP地址保存至所述接入点列表的空位表项。
PCT/CN2013/081605 2012-12-27 2013-08-16 接入应用服务器的方法和装置 WO2014101433A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/758,089 US9450912B2 (en) 2012-12-27 2013-08-16 Method and device for accessing application server

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210580442.9 2012-12-27
CN201210580442.9A CN103905500B (zh) 2012-12-27 2012-12-27 一种接入应用服务器的方法和装置

Publications (1)

Publication Number Publication Date
WO2014101433A1 true WO2014101433A1 (zh) 2014-07-03

Family

ID=50996655

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081605 WO2014101433A1 (zh) 2012-12-27 2013-08-16 接入应用服务器的方法和装置

Country Status (4)

Country Link
US (1) US9450912B2 (zh)
CN (1) CN103905500B (zh)
HK (1) HK1199677A1 (zh)
WO (1) WO2014101433A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688187A (zh) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 流量负载均衡方法、装置、设备及可读存储介质
CN110519409A (zh) * 2019-08-28 2019-11-29 北京思维造物信息科技股份有限公司 域名动态配置方法、装置、设备及存储介质

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10230770B2 (en) * 2013-12-02 2019-03-12 A10 Networks, Inc. Network proxy layer for policy-based application proxies
US9979674B1 (en) 2014-07-08 2018-05-22 Avi Networks Capacity-based server selection
KR20170094796A (ko) * 2014-12-18 2017-08-21 노키아 솔루션스 앤드 네트웍스 오와이 네트워크 로드 밸런서
KR20160092380A (ko) * 2015-01-27 2016-08-04 한국전자통신연구원 멀티-모바일 네트워크 환경에서의 이동성 제어 장치, 모바일 통신 장치, 및 이동성 서비스를 제공 방법
CN105472025A (zh) * 2015-12-28 2016-04-06 曙光信息产业(北京)有限公司 用于dns的负载均衡方法和装置
CN105991799B (zh) * 2016-07-01 2019-03-12 北京奇虎科技有限公司 移动终端访问网络的方法及装置
CN107819893A (zh) * 2017-10-27 2018-03-20 中航信移动科技有限公司 网络地址动态配置方法和移动终端
CN108769149B (zh) * 2018-05-14 2022-02-25 上海掌门科技有限公司 应用分区的处理方法、设备及计算机可读存储介质
CN110881058B (zh) * 2018-09-06 2022-04-12 阿里巴巴集团控股有限公司 请求调度方法、装置、服务器及存储介质
CN109743364A (zh) * 2018-12-20 2019-05-10 广州市百果园信息技术有限公司 多步接入控制方法、装置、计算机设备及存储介质
CN112040025B (zh) * 2020-09-03 2023-03-24 安徽文香科技有限公司 一种服务器地址切换的方法、系统及终端设备
CN112689027A (zh) * 2020-12-11 2021-04-20 北京北信源软件股份有限公司 App用户访问动态地址服务器的寻址方法及装置
CN112804161B (zh) * 2020-12-30 2023-04-18 中天众达智慧城市科技有限公司 域名处理方法
CN114172910B (zh) * 2021-11-30 2023-06-13 平安壹钱包电子商务有限公司 基于内存管理的负载动态调配方法、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007045181A1 (fr) * 2005-10-20 2007-04-26 Huawei Technologies Co., Procede, systeme et dispositif d’obtention d’informations d’acces
US20080235185A1 (en) * 2007-03-21 2008-09-25 Motorola, Inc. Communication system and method of accessing therefor
CN101521924A (zh) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 一种无线局域网中的切换方法和设备
CN102076060A (zh) * 2011-01-19 2011-05-25 北京航空航天大学 基于ZigBee的Wi-Fi接入点发现与选择方法
CN102625468A (zh) * 2011-10-18 2012-08-01 北京小米科技有限责任公司 一种移动互联网接入方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8195736B2 (en) * 2006-08-08 2012-06-05 Opnet Technologies, Inc. Mapping virtual internet protocol addresses
US9219705B2 (en) * 2007-06-25 2015-12-22 Microsoft Technology Licensing, Llc Scaling network services using DNS
US8412832B2 (en) * 2009-12-23 2013-04-02 Citrix Systems, Inc. Systems and methods for GSLB MEP connection management across multiple core appliances

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007045181A1 (fr) * 2005-10-20 2007-04-26 Huawei Technologies Co., Procede, systeme et dispositif d’obtention d’informations d’acces
US20080235185A1 (en) * 2007-03-21 2008-09-25 Motorola, Inc. Communication system and method of accessing therefor
CN101521924A (zh) * 2009-04-27 2009-09-02 杭州华三通信技术有限公司 一种无线局域网中的切换方法和设备
CN102076060A (zh) * 2011-01-19 2011-05-25 北京航空航天大学 基于ZigBee的Wi-Fi接入点发现与选择方法
CN102625468A (zh) * 2011-10-18 2012-08-01 北京小米科技有限责任公司 一种移动互联网接入方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688187A (zh) * 2018-09-07 2019-04-26 平安科技(深圳)有限公司 流量负载均衡方法、装置、设备及可读存储介质
CN109688187B (zh) * 2018-09-07 2022-04-22 平安科技(深圳)有限公司 流量负载均衡方法、装置、设备及可读存储介质
CN110519409A (zh) * 2019-08-28 2019-11-29 北京思维造物信息科技股份有限公司 域名动态配置方法、装置、设备及存储介质

Also Published As

Publication number Publication date
US20150334086A1 (en) 2015-11-19
HK1199677A1 (zh) 2015-07-10
US9450912B2 (en) 2016-09-20
CN103905500B (zh) 2018-01-09
CN103905500A (zh) 2014-07-02

Similar Documents

Publication Publication Date Title
WO2014101433A1 (zh) 接入应用服务器的方法和装置
US10187463B2 (en) Using a shared data store for peer discovery
US10397218B2 (en) Highly available web-based database interface system
US20190020536A1 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
CN102984286B (zh) 一种dns服务器的缓存更新方法、装置及系统
US8583806B2 (en) Data sharing method for recursive DNS servers
RU2613040C2 (ru) Smb2-масштабирование
CN109547512B (zh) 一种基于NoSQL的分布式Session管理的方法及装置
CN103731487A (zh) 一种资源文件的下载方法、装置、系统及路由器
CN102387220A (zh) 一种基于云存储的离线下载的方法及其系统
US20120240184A1 (en) System and method for on the fly protocol conversion in obtaining policy enforcement information
CN101924785A (zh) 数据的上传方法、下载方法和系统
CN107210924B (zh) 用于配置通信系统的方法和设备
WO2012072047A1 (zh) 分布式内容管理的方法、装置及系统
US9760370B2 (en) Load balancing using predictable state partitioning
CN109151092A (zh) 一种域名解析方法
CN107003981B (zh) 与本地配对的设备同步以使用点到点通信从远程服务器获得数据
CN110290196A (zh) 一种内容分发方法及装置
US8996607B1 (en) Identity-based casting of network addresses
CN107360095B (zh) 基于客户端主机名称的端口转发在路由器中的实现方法
JP2018501723A (ja) ネットワーク負荷バランサー
US9930038B1 (en) Probabilistically expedited secure connections via connection parameter reuse
WO2023169106A1 (zh) 一种内容分发网络域名调度方法及装置
CN103186613A (zh) 影视资源聚合系统
CN105791146B (zh) 用户侧设备与配置服务器交互的方法、设备和系统

Legal Events

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

Ref document number: 13867833

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14758089

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05-11-2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13867833

Country of ref document: EP

Kind code of ref document: A1