CN111857974A - Service access method and device based on load balancer - Google Patents

Service access method and device based on load balancer Download PDF

Info

Publication number
CN111857974A
CN111857974A CN202010748824.2A CN202010748824A CN111857974A CN 111857974 A CN111857974 A CN 111857974A CN 202010748824 A CN202010748824 A CN 202010748824A CN 111857974 A CN111857974 A CN 111857974A
Authority
CN
China
Prior art keywords
load balancer
service
client
target
container platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010748824.2A
Other languages
Chinese (zh)
Inventor
于广荣
邵俊
杨勤胜
李剑
李昆明
朱霖
孔峥
谢伟
林涛
朱彦
范子逸
艾义敬
何晓曦
刘梦馨
闫航
杨欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Fangtian Power Technology Co Ltd
Original Assignee
Jiangsu Fangtian Power Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Fangtian Power Technology Co Ltd filed Critical Jiangsu Fangtian Power Technology Co Ltd
Priority to CN202010748824.2A priority Critical patent/CN111857974A/en
Publication of CN111857974A publication Critical patent/CN111857974A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

The application provides a service access method and a service access device based on a load balancer, which are applied to a container platform, wherein the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, the method comprises the following steps: the method comprises the steps that a load balancer receives at least one service acquisition request sent by a client, matches corresponding flow matching rules according to target flow characteristics under service providing ports corresponding to the client according to the target flow characteristics carried in each service acquisition request; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and is preset in the container platform by a user through a client; the load balancer confirms the target service group according to the target flow characteristics and the corresponding flow matching rules; and the load balancer forwards the service acquisition request to a target service group in the container platform according to a preset forwarding strategy, and acquires the service application in the target service group for the client.

Description

Service access method and device based on load balancer
Technical Field
The application relates to the field of cloud services, in particular to a service access method and device based on a load balancer.
Background
With the development of cloud native technology, more and more service applications realize cloud services, the service applications are containerized and run in a kubernets container platform, and how the service applications provide access to the outside becomes a problem to be faced.
In the Kubernetes container platform, several methods for providing services externally provided by the services currently have requirements on a bottom layer platform, generally only large public cloud support exists, the private cloud environment support is poor, and only 4-layer protocols are supported; some methods occupy ports on each node, and for the case of large cluster size and more services, 65535 local ports are quickly exhausted; other methods, while able to solve the problems of the first two methods, do not support more flexible matching based on source IP, request parameters, etc.
Disclosure of Invention
In view of this, an object of the present application is to provide a service access method and apparatus based on a load balancer, so as to solve the problem that the flexibility of the exposed service function in the container platform in the prior art is poor.
In a first aspect, an embodiment of the present application provides a service access method based on a load balancer, which is applied to a container platform, where the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, the method includes:
the method comprises the steps that a load balancer receives at least one service acquisition request sent by a client, matches corresponding flow matching rules according to target flow characteristics carried in each service acquisition request and the target flow characteristics under a service providing port corresponding to the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and the flow matching rule is preset in the container platform by a user through a client;
the load balancer confirms the target service group according to the target flow characteristics and the corresponding flow matching rules;
and the load balancer forwards the service acquisition request to a target service group in the container platform according to a preset forwarding strategy, and acquires service application in the target service group for the client.
In some embodiments, the traffic characteristics are combined from at least one of a domain name, a uniform resource locator, a hypertext transfer protocol header, data stored on the user's local terminal, and a client source internet protocol address.
In some embodiments, before the load balancer receives at least one service acquisition request sent by a client, the method further includes:
the load balancer creates a service providing port in the container platform according to the received port adding instruction sent by the client;
the load balancer distributes the service providing port to the client;
and the load balancer configures a preset forwarding strategy and at least one flow matching rule for the service providing port according to the received configuration input instruction aiming at the service providing port sent by the client.
In some embodiments, after the load balancer receives a configuration input instruction of a client for the service providing port, and configures a preset forwarding policy and at least one traffic matching rule for the service providing port, the method further includes:
the load balancer receives an additional configuration input instruction of a client aiming at each flow matching rule in the service providing port, and adds additional configuration for the flow matching rule; the additional configuration comprises at least one of the following configurations: uniform resource locator rewriting and network address redirection;
when the corresponding traffic matching rule matched with the target traffic characteristic is added with a corresponding additional configuration, after the load balancer confirms the target service group according to the target traffic characteristic and the corresponding traffic matching rule, the method further includes:
and the load balancer carries out processing corresponding to the additional configuration for the service acquisition request according to the additional configuration.
In some embodiments, further comprising:
the load balancer stores the forwarding data corresponding to the client in a storage space of the load balancer; the forwarding data comprises request quantity, request flow, response flow and response status code.
In a second aspect, an embodiment of the present application further provides a service access apparatus based on a load balancer, which is applied to a container platform, where the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, the apparatus includes:
the matching module is used for matching a corresponding flow matching rule according to a target flow characteristic under a service providing port corresponding to a client according to the target flow characteristic carried in each service acquisition request when the load balancer receives at least one service acquisition request sent by the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and the flow matching rule is preset in the container platform by a user through a client;
the confirming module is used for confirming the target service group by the load balancer according to the target flow characteristics and the corresponding flow matching rules;
and the forwarding module is used for forwarding the service acquisition request to a target service group in the container platform by the load balancer according to a preset forwarding strategy, and acquiring application service data in the target service group for the client.
In some embodiments, further comprising:
the creation module is used for creating a service providing port in the container platform by the load balancer according to the received port adding instruction sent by the client;
the distribution module is used for distributing the service providing port to the client by the load balancer;
and the configuration module is used for configuring a preset forwarding strategy and at least one flow matching rule for the service providing port by the load balancer according to the received configuration input instruction which is sent by the client and aims at the service providing port.
In some embodiments, further comprising:
an additional configuration module, configured to receive, by a load balancer, an additional configuration input instruction of a client for each traffic matching rule in the service providing port, and add an additional configuration to the traffic matching rule; the additional configuration comprises at least one of the following configurations: uniform resource locator rewriting and network address redirection;
and the additional processing module is used for carrying out corresponding processing on the additional configuration for the service acquisition request by the additional load balancer according to the additional configuration.
In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method in any one of the above first aspects when executing the computer program.
In a fourth aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the method in any one of the above first aspects.
According to the service access method based on the load balancer, the load balancer is loaded in the container platform, the flow matching rules are configured under the service providing ports distributed in the container platform in advance by a user, when the user needs to obtain the service application in the container platform, the service obtaining request is directly sent to the load balancer, and the load balancer forwards the service obtaining request according to the matched flow matching rules preset by the user, so that the service application required by the user is obtained and provided for the client. The service application in the container platform can be flexibly configured by a user, and the flexibility of the service function exposed to the outside in the container platform is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a service access method based on a load balancer according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a configuration method based on a load balancer according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a service access apparatus based on a load balancer according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
An embodiment of the present application provides a service access method based on a load balancer, which is applied to a container platform, where the load balancer is loaded in the container platform, and as shown in fig. 1, when a client acquires a service application in the container platform, the method includes the following steps:
step S101, a load balancer receives at least one service acquisition request sent by a client, and matches a corresponding flow matching rule according to a target flow characteristic carried in each service acquisition request and the target flow characteristic at a service providing port corresponding to the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and is preset in the container platform by a user through a client;
step S102, the load balancer confirms the target service group according to the target flow characteristics and the corresponding flow matching rules;
step S103, the load balancer forwards the service acquisition request to a target service group in the container platform according to a preset forwarding policy, and acquires a service application in the target service group for the client.
Specifically, the load balancer is loaded in the container platform, a user can configure the service providing port allocated to the user through the container platform, flexibly configure a mapping relationship between traffic characteristics and a service group, that is, a traffic matching rule, and when the user needs to use a service application in the container platform, the user only needs to send a service acquisition request to the load balancer through the client, where the service acquisition request may be multiple, and the load balancer can shunt traffic through a target traffic characteristic of the service acquisition request.
After receiving a service acquisition request sent by a client, a load balancer acquires corresponding target domain Name information according to SNI (Server Name Indication) information in the service acquisition request to match a corresponding port certificate, if the port certificate exists, the load balancer matches a traffic matching rule configured in a container platform by a user in advance according to target traffic characteristics, and confirms a target service group corresponding to a service application to be acquired by the service acquisition request according to the matched traffic matching rule.
And the load balancer forwards the service acquisition request to the corresponding target service group according to the preset forwarding strategy of the service providing port so as to acquire the service application in the target service group to the client.
The service providing port may be a HTTP (Hyper Text Transfer Protocol) port or an HTTPs (Hyper Text Transfer Protocol over secure hypertext Transfer Protocol) port, or may also be a TCP (Transmission Control Protocol) port, but for the TCP port, an external exposure method of the container platform itself may be well implemented, so the method provided in the embodiment of the present application is more specific to the HTTP port or the HTTPs port.
In some embodiments, the traffic characteristics are combined from at least one of a domain name, a uniform resource locator, a hypertext transfer protocol header, data stored on the subscriber's local terminal, and a client source internet protocol address.
Specifically, the traffic characteristics are a characteristic of traffic that is formed by arbitrarily combining a Host (domain name), a URL (Uniform Resource Locator), a Header (hypertext transfer Protocol Header), a Cookie (data stored in the user local terminal), and an SRC IP (Source Internet Protocol address). This feature exists in the form of DSL (Domain specific language), e.g., (AND (RANGE SRC _ IP 0.0.0.0255.255.255.255) (EQ HOST fakehost.
In some embodiments, before the step S101, as shown in fig. 2, the method further includes:
step S201, the load balancer creates a service providing port in the container platform according to the received port adding instruction sent by the client;
step S202, the load balancer distributes the service providing port to the client;
step S203, the load balancer configures a preset forwarding policy and at least one traffic matching rule for the service providing port according to the received configuration input instruction, which is sent by the client and is directed to the service providing port.
Specifically, the user needs to create a service providing port of the load balancer on the container platform in advance through the client, and the port may be an HTTP port, an HTTPs port, or a TCP port. In case of HTTPS port, a corresponding port default certificate may also be configured, which is used for data encryption.
And the load balancer binds the service providing port created by the client with the client, wherein the service providing port is exclusively used by the client.
Then, the user provides the traffic matching rule and the preset forwarding strategy under the port for the service through the client. A plurality of traffic matching rules can be configured under one service providing port.
Preferably, the preset forwarding policy may be a weight-based round robin policy or a source internet protocol address hashing policy.
In some embodiments, after step S203, the method further includes:
step 204, the load balancer receives an additional configuration input instruction of the client aiming at each flow matching rule in the service providing port, and adds additional configuration to the flow matching rule; the additional configuration includes at least one of the following configurations: uniform resource locator rewriting and network address redirection;
when the corresponding traffic matching rule matched with the target traffic characteristics is appended with a corresponding additional configuration, after step S102, the method further includes:
step 205, the load balancer performs a corresponding process of the additional configuration for the service acquisition request according to the additional configuration.
In particular, the user may also make additional configurations for the traffic matching rule, which may be one or more of URLrewrite (Uniform Resource Locator rewrite), network address redirection (301/302 jump), and other additional configurations.
When a user performs service acquisition, if a traffic matching rule matched with a target traffic characteristic contains an additional configuration, the load balancer needs to perform an operation of additional configuration on traffic before forwarding a service acquisition request to a target service group after confirming the target service group.
In some embodiments, further comprising:
step 104, the load balancer stores the forwarding data corresponding to the client in a storage space of the load balancer; the forwarding data includes request quantity, request traffic, response traffic and response status code.
Specifically, after the load balancer acquires the service application for the client, the forwarding data in the acquisition process is stored in a storage space of the load balancer, so that the forwarding data can be used for statistics or visual display after external data is monitored and collected.
An embodiment of the present application further provides a service access apparatus based on a load balancer, which is applied to a container platform, where the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, as shown in fig. 3, the apparatus includes:
a matching module 30, configured to, when the load balancer receives at least one service acquisition request sent by a client, match, by the load balancer, a corresponding traffic matching rule according to a target traffic characteristic carried in each service acquisition request and the target traffic characteristic at a service providing port corresponding to the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and is preset in the container platform by a user through a client;
a confirming module 31, configured to confirm the target service group by the load balancer according to the target traffic characteristic and the corresponding traffic matching rule;
and a forwarding module 32, configured to forward, by the load balancer according to a preset forwarding policy, the service acquisition request to a target service group in the container platform, so as to acquire application service data in the target service group for the client.
In some embodiments, further comprising:
a creating module 33, configured to create a service providing port in the container platform according to the received port addition instruction sent by the client by the load balancer;
an allocation module 34, configured to allocate the service providing port to the client by a load balancer;
the configuration module 35 is configured to configure, by the load balancer, a preset forwarding policy and at least one traffic matching rule for the service providing port according to the received configuration input instruction, which is sent by the client and is directed to the service providing port.
In some embodiments, further comprising:
an additional configuration module 36, configured to receive, by the load balancer, an additional configuration input instruction of the client for each traffic matching rule in the service providing port, and add an additional configuration to the traffic matching rule; the additional configuration includes at least one of the following configurations: uniform resource locator rewriting and network address redirection;
an additional processing module 37, configured to perform, by the additional load balancer according to the additional configuration, processing corresponding to the additional configuration for the service acquisition request.
Corresponding to the method for accessing a service based on a load balancer in fig. 1, an embodiment of the present application further provides a computer device 400, as shown in fig. 4, the device includes a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402, wherein the processor 402 implements the method for accessing a service based on a load balancer when executing the computer program.
Specifically, the memory 401 and the processor 402 can be general memories and processors, which are not limited in this embodiment, and when the processor 402 runs a computer program stored in the memory 401, the method for accessing a service based on a load balancer can be executed, which solves the problem of poor flexibility of exposing a service function to the outside in a container platform in the prior art.
Corresponding to the load balancer-based service access method in fig. 1, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the load balancer-based service access method.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, etc., on which the computer program is executed, the service access method based on the load balancer can be implemented to solve the problem of poor flexibility of the exposed service function in the container platform in the prior art, and the service access method based on the load balancer provided by the embodiment of the application, by loading the load balancer in the container platform, by configuring the traffic matching rule under the service providing port allocated in the container platform in advance by the user, when a user needs to acquire the service application in the container platform, the service acquisition request is directly sent to the load balancer, and the load balancer forwards the service acquisition request according to the matched flow matching rule preset by the user, so that the service application required by the user is acquired and provided for the client. The service application in the container platform can be flexibly configured by a user, and the flexibility of the service function exposed to the outside in the container platform is improved.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A service access method based on a load balancer is applied to a container platform, the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, the method comprises the following steps:
the method comprises the steps that a load balancer receives at least one service acquisition request sent by a client, matches corresponding flow matching rules according to target flow characteristics carried in each service acquisition request and the target flow characteristics under a service providing port corresponding to the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and the flow matching rule is preset in the container platform by a user through a client;
the load balancer confirms the target service group according to the target flow characteristics and the corresponding flow matching rules;
and the load balancer forwards the service acquisition request to a target service group in the container platform according to a preset forwarding strategy, and acquires service application in the target service group for the client.
2. The method of claim 1, wherein the traffic characteristics are combined from at least one of a domain name, a uniform resource locator, a hypertext transfer protocol header, data stored on a user local terminal, and a client source internet protocol address.
3. The method of claim 1, wherein prior to the load balancer receiving at least one service acquisition request sent by a client, further comprising:
the load balancer creates a service providing port in the container platform according to the received port adding instruction sent by the client;
the load balancer distributes the service providing port to the client;
and the load balancer configures a preset forwarding strategy and at least one flow matching rule for the service providing port according to the received configuration input instruction aiming at the service providing port sent by the client.
4. The method of claim 3, wherein after the load balancer receives a configuration input instruction of a client for the service providing port, and configures a preset forwarding policy and at least one traffic matching rule for the service providing port, the method further comprises:
the load balancer receives an additional configuration input instruction of a client aiming at each flow matching rule in the service providing port, and adds additional configuration for the flow matching rule; the additional configuration comprises at least one of the following configurations: uniform resource locator rewriting and network address redirection;
when the corresponding traffic matching rule matched with the target traffic characteristic is added with a corresponding additional configuration, after the load balancer confirms the target service group according to the target traffic characteristic and the corresponding traffic matching rule, the method further includes:
and the load balancer carries out processing corresponding to the additional configuration for the service acquisition request according to the additional configuration.
5. The method of claim 1, further comprising:
the load balancer stores the forwarding data corresponding to the client in a storage space of the load balancer; the forwarding data comprises request quantity, request flow, response flow and response status code.
6. A service access device based on a load balancer is applied to a container platform, the load balancer is loaded in the container platform, and when a client acquires a service application in the container platform, the device comprises:
the matching module is used for matching a corresponding flow matching rule according to a target flow characteristic under a service providing port corresponding to a client according to the target flow characteristic carried in each service acquisition request when the load balancer receives at least one service acquisition request sent by the client; the flow matching rule represents the mapping relation between the flow characteristics and the service group, and the flow matching rule is preset in the container platform by a user through a client;
the confirming module is used for confirming the target service group by the load balancer according to the target flow characteristics and the corresponding flow matching rules;
and the forwarding module is used for forwarding the service acquisition request to a target service group in the container platform by the load balancer according to a preset forwarding strategy, and acquiring application service data in the target service group for the client.
7. The apparatus of claim 6, further comprising:
the creation module is used for creating a service providing port in the container platform by the load balancer according to the received port adding instruction sent by the client;
the distribution module is used for distributing the service providing port to the client by the load balancer;
and the configuration module is used for configuring a preset forwarding strategy and at least one flow matching rule for the service providing port by the load balancer according to the received configuration input instruction which is sent by the client and aims at the service providing port.
8. The apparatus of claim 7, further comprising:
an additional configuration module, configured to receive, by a load balancer, an additional configuration input instruction of a client for each traffic matching rule in the service providing port, and add an additional configuration to the traffic matching rule; the additional configuration comprises at least one of the following configurations: uniform resource locator rewriting and network address redirection;
and the additional processing module is used for carrying out corresponding processing on the additional configuration for the service acquisition request by the additional load balancer according to the additional configuration.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of the preceding claims 1-5 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1-5.
CN202010748824.2A 2020-07-30 2020-07-30 Service access method and device based on load balancer Withdrawn CN111857974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010748824.2A CN111857974A (en) 2020-07-30 2020-07-30 Service access method and device based on load balancer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010748824.2A CN111857974A (en) 2020-07-30 2020-07-30 Service access method and device based on load balancer

Publications (1)

Publication Number Publication Date
CN111857974A true CN111857974A (en) 2020-10-30

Family

ID=72946187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010748824.2A Withdrawn CN111857974A (en) 2020-07-30 2020-07-30 Service access method and device based on load balancer

Country Status (1)

Country Link
CN (1) CN111857974A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866395A (en) * 2020-11-18 2021-05-28 统信软件技术有限公司 Service request processing system and method and computing device
CN113596149A (en) * 2021-07-28 2021-11-02 马上消费金融股份有限公司 Flow control method, device, equipment and storage medium
CN114143269A (en) * 2021-11-12 2022-03-04 上海途虎信息技术有限公司 HTTP request distribution method, device, equipment and medium
CN114390108A (en) * 2021-12-07 2022-04-22 新浪网技术(中国)有限公司 Method and system for processing user service request
CN114500545A (en) * 2022-01-24 2022-05-13 杭州博盾习言科技有限公司 Network load balancing method and device suitable for container and electronic equipment
CN114650293A (en) * 2020-12-17 2022-06-21 中移(苏州)软件技术有限公司 Method, device, terminal and computer storage medium for flow distribution
CN114915598A (en) * 2021-02-08 2022-08-16 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment
CN115396376A (en) * 2022-08-22 2022-11-25 平安科技(深圳)有限公司 Load balancing method, device, equipment and storage medium
WO2023045191A1 (en) * 2021-09-22 2023-03-30 上海商汤智能科技有限公司 Video stream obtaining method and apparatus, server, storage medium, and program product

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866395B (en) * 2020-11-18 2023-04-07 统信软件技术有限公司 Service request processing system and method and computing device
CN112866395A (en) * 2020-11-18 2021-05-28 统信软件技术有限公司 Service request processing system and method and computing device
CN114650293A (en) * 2020-12-17 2022-06-21 中移(苏州)软件技术有限公司 Method, device, terminal and computer storage medium for flow distribution
CN114650293B (en) * 2020-12-17 2024-02-23 中移(苏州)软件技术有限公司 Method, device, terminal and computer storage medium for flow diversion
CN114915598A (en) * 2021-02-08 2022-08-16 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment
CN114915598B (en) * 2021-02-08 2023-10-20 腾讯科技(深圳)有限公司 Network acceleration method and device of application program and electronic equipment
CN113596149A (en) * 2021-07-28 2021-11-02 马上消费金融股份有限公司 Flow control method, device, equipment and storage medium
WO2023045191A1 (en) * 2021-09-22 2023-03-30 上海商汤智能科技有限公司 Video stream obtaining method and apparatus, server, storage medium, and program product
CN114143269A (en) * 2021-11-12 2022-03-04 上海途虎信息技术有限公司 HTTP request distribution method, device, equipment and medium
CN114390108A (en) * 2021-12-07 2022-04-22 新浪网技术(中国)有限公司 Method and system for processing user service request
CN114390108B (en) * 2021-12-07 2024-03-12 新浪技术(中国)有限公司 Method and system for processing user service request
CN114500545A (en) * 2022-01-24 2022-05-13 杭州博盾习言科技有限公司 Network load balancing method and device suitable for container and electronic equipment
CN115396376A (en) * 2022-08-22 2022-11-25 平安科技(深圳)有限公司 Load balancing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111857974A (en) Service access method and device based on load balancer
US11095711B2 (en) DNS Resolution of internal tenant-specific domain addresses in a multi-tenant computing environment
CN110602254B (en) Method, device and system for realizing load balance
US9450896B2 (en) Methods and systems for providing customized domain messages
US8880638B2 (en) Distributed image cache for servicing virtual resource requests in the cloud
CN104468817B (en) Implementation method and device, server, the client of resource is downloaded by CDN
CN109936635B (en) Load balancing method and device
CN103150513B (en) The method of the implantation information in interception application program and device
CN107819802A (en) A kind of mirror image acquisition methods, node device and server in node cluster
CN108173774B (en) Client upgrading method and system
US9361636B2 (en) Creating, managing, and provisioning packages of online applications
US7953887B2 (en) Asynchronous automated routing of user to optimal host
JP5605229B2 (en) Application server management system, application server management method, management apparatus, application server, and computer program
US8856365B2 (en) Computer-implemented method, computer system and computer readable medium
CN108377247A (en) A kind of information push method and device
JP2023547048A (en) Handling deferrable network requests
CN108063835B (en) Outer net domain name analytic method, server and system
US8972604B1 (en) Network address retention and assignment
CN104504113A (en) Method and device for processing information by mobile browser and mobile terminal
CN105119944B (en) Application starting method and related device
US10904295B2 (en) Dynamically updating feature set recommendation databases
CN114048028A (en) Service calling method and device, storage medium and electronic equipment
CN111857736A (en) Cloud computing product generation method, device, equipment and storage medium
CN107615734B (en) System and method for server failover and load balancing
EP3028164A1 (en) Providing subscriber options

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20201030

WW01 Invention patent application withdrawn after publication