WO2014101433A1 - 接入应用服务器的方法和装置 - Google Patents
接入应用服务器的方法和装置 Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000000977 initiatory effect Effects 0.000 claims abstract description 15
- 238000010586 diagram Methods 0.000 description 27
- COCAUCFPFHUGAA-MGNBDDOMSA-N n-[3-[(1s,7s)-5-amino-4-thia-6-azabicyclo[5.1.0]oct-5-en-7-yl]-4-fluorophenyl]-5-chloropyridine-2-carboxamide Chemical compound C=1C=C(F)C([C@@]23N=C(SCC[C@@H]2C3)N)=CC=1NC(=O)C1=CC=C(Cl)C=N1 COCAUCFPFHUGAA-MGNBDDOMSA-N 0.000 description 19
- 230000003068 static effect Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 14
- 230000004044 response Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 235000014510 cooky Nutrition 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000000638 solvent extraction Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 3
- 241001522296 Erithacus rubecula Species 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- 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/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error 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/2002—Error 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/2012—Error 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/85—Active fault masking without idle spares
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/668—Internet 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
Description
Claims
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)
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)
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)
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)
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 |
-
2012
- 2012-12-27 CN CN201210580442.9A patent/CN103905500B/zh active Active
-
2013
- 2013-08-16 US US14/758,089 patent/US9450912B2/en active Active
- 2013-08-16 WO PCT/CN2013/081605 patent/WO2014101433A1/zh active Application Filing
-
2014
- 2014-12-31 HK HK14113125.5A patent/HK1199677A1/zh unknown
Patent Citations (5)
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)
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 |