CN112788072A - Data processing method, data processing system, computer device, and storage medium - Google Patents

Data processing method, data processing system, computer device, and storage medium Download PDF

Info

Publication number
CN112788072A
CN112788072A CN201911061342.3A CN201911061342A CN112788072A CN 112788072 A CN112788072 A CN 112788072A CN 201911061342 A CN201911061342 A CN 201911061342A CN 112788072 A CN112788072 A CN 112788072A
Authority
CN
China
Prior art keywords
node
load balancing
target data
network address
data
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.)
Granted
Application number
CN201911061342.3A
Other languages
Chinese (zh)
Other versions
CN112788072B (en
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.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911061342.3A priority Critical patent/CN112788072B/en
Publication of CN112788072A publication Critical patent/CN112788072A/en
Application granted granted Critical
Publication of CN112788072B publication Critical patent/CN112788072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • H04L61/2553Binding renewal aspects, e.g. using keep-alive messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a data processing method. The method comprises the following steps: receiving target data, wherein the target data carries a network address, determining a load balancing node bound with the network address, and selecting a first processing node of the target data by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are required in two situations of using and not using the load balancing node is avoided, the purpose of no need of additionally registering and recording network addresses for load balancing service is achieved, charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.

Description

Data processing method, data processing system, computer device, and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, a data processing system, a computer device, and a computer-readable storage medium.
Background
When an application is deployed by using a cloud computing service, in order to access a server of the application, a public network IP (Internet Protocol Address) needs to be deployed for the service. In cloud computing, a public network gateway is a cloud host with a forwarding function, and a cloud server which does not have a public network IP and needs to access the Internet can access the Internet through the public network gateway. The public network gateway host performs source address conversion on public network flow, and after all the flows of other hosts accessing the external network pass through the public network gateway, the IP is converted into the IP address of the public network gateway host.
As processing requirements increase, in a cloud computing service, a load balancing server may be placed at the front end of multiple cloud servers. Load balancing is a technique for distributing network requests to available servers in a server cluster based on a load balancing algorithm. Load balancing enables network visitors to obtain the best possible network experience by managing data traffic entering a server cluster. For example, in the cloud computing service, the network service request is distributed to the cloud server with a smaller load for processing through a load balancing technology, so that the processing efficiency of the network service request is improved, and a network visitor obtains better experience.
The applicant finds, through research, that when a user does not purchase a load balancing service, the IP of a cloud server or the IP of a public network gateway is registered at a Domain Name System (DNS), the IP needs to be forwarded through the public network gateway, and if the user purchases the load balancing service at this time, a requested Domain Name needs to be resolved to the load balancing service, so that the user needs to additionally register the IP of the load balancing service in the DNS and additionally perform a filing, that is, when the load balancing service is deployed by an application or a website, a new public network IP needs to be added, and the registration and the filing are performed.
Disclosure of Invention
In view of the above, the present application is proposed to provide a data processing method, a data processing system and a computer device, a computer readable storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present application, there is provided a data processing method, the method including:
receiving target data, wherein the target data carries a network address;
determining a load balancing node bound with the network address;
selecting, by the load balancing node, a first processing node of the target data.
Optionally, the determining a load balancing node bound to the network address includes:
and searching a load balancing node having a binding relation with the network address on the gateway node.
Optionally, before the receiving the target data, the method further comprises:
deleting the binding relationship between the network address and the second processing node;
and adding a binding relationship between the network address and the load balancing node.
Optionally, the method further comprises:
receiving a change request for the binding relationship.
Optionally, the method further comprises:
and generating a change request aiming at the binding relationship according to the statistical data of the data carrying the network address.
Optionally, the network address comprises a public network address.
Optionally, after the determining the load balancing node bound to the network address, the method further includes:
and sending the target data from the gateway node to the load balancing node.
Optionally, before the sending the target data from the gateway node to the load balancing node, the method further includes:
determining a node address corresponding to the load balancing node;
and packaging the target data by adopting the node address.
Optionally, before the selecting, by the load balancing node, the first processing node of the target data, the method further includes:
and restoring the encapsulated target data.
Optionally, after the selecting, by the load balancing node, the first processing node of the target data, the method further includes:
and sending the target data to the first processing node.
Optionally, after the selecting, by the load balancing node, the first processing node of the target data, the method further includes:
receiving feedback data of the first processing node for the target data;
and sending the feedback data to a public network according to the network address.
Optionally, before the sending the feedback data to the public network according to the network address, the method further includes:
and sending the feedback data from the load balancing node to a gateway node.
Optionally, before the sending the feedback data from the load balancing node to a gateway node, the method further comprises:
determining a node address corresponding to the load balancing node;
and packaging the feedback data by adopting the node address.
Optionally, before the sending the feedback data to the public network according to the network address, the method further includes:
and restoring the packaged feedback data.
Optionally, the network address comprises an address of a gateway node, or an address of a second processing node.
Optionally, the network address comprises an IP address.
Optionally, the receiving target data and the determining the load balancing node bound to the network address are performed by a gateway node.
According to another aspect of the present application, there is provided a data processing method applied to a data processing system, the data processing system including a gateway, at least one load balancing server, and at least one processing server, the method including:
the gateway receives target data of a client, wherein the target data carries a network address;
the gateway determines a load balancing server bound with the network address;
the gateway sends the target data from the gateway to the load balancing server;
and the load balancing server selects a first processing server of the target data.
And the load balancing server sends the target data to the first processing server.
According to another aspect of the present application, there is provided a data processing system comprising a gateway node, at least one load balancing node, at least one data first processing node;
the gateway node is configured to: receiving target data, wherein the target data carries a network address; determining a load balancing node bound with the network address;
the load balancing node is configured to: a first processing node of the target data is selected.
According to another aspect of the application, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to one or more of the above when executing the computer program.
According to another aspect of the application, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method according to one or more of the above.
According to the embodiment of the application, target data are received, the target data carry a network address, the load balancing node bound with the network address is determined, and the first processing node of the target data is selected by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are needed in the two situations of using and not using the load balancing node is avoided, the purpose of additionally registering and recording the network address for load balancing service is achieved, charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a schematic diagram of a data processing process;
FIG. 2 is a flow chart of an embodiment of a data processing method according to a first embodiment of the present application;
FIG. 3 shows a schematic diagram of a data processing architecture;
FIG. 4 is a flow chart of an embodiment of a data processing method according to the second embodiment of the present application;
FIG. 5 is a flow chart of an embodiment of a data processing method according to the third embodiment of the present application;
FIG. 6 is a flow chart of an embodiment of a data processing method according to the fourth embodiment of the present application;
FIG. 7 shows a schematic diagram of a data processing system;
FIG. 8 shows an architectural diagram of a data processing system;
FIG. 9 is a block diagram of an embodiment of a data processing apparatus according to the fifth embodiment of the present application;
FIG. 10 is a block diagram illustrating an embodiment of a data processing system according to the sixth embodiment of the present application;
FIG. 11 illustrates an exemplary system that can be used to implement various embodiments described in this disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
To enable those skilled in the art to better understand the present application, the following description is made of the concepts related to the present application:
the target data includes data sent by a browser or an application to a server or a server cluster in which the website or the application is deployed, or any other suitable data when the website is accessed or the application is used, and the embodiment of the present application is not limited thereto.
The destination data carries the network address and therefore the destination data will reach the gateway node. The gateway node is not the final destination of the target data, and needs to be forwarded to other nodes by the gateway node to process the target data, and the node processing the target data is recorded as a processing node. The processing node includes, but is not limited to, a server device, a server cluster, a virtual machine, and the like, which is not limited in this embodiment. The first processing node comprises a processing node which is used for distributing target data after resource scheduling is carried out by the load balancing service under the condition that the load balancing service is adopted. In an alternative embodiment of the application, the network address may be an address of the second processing node or may be an address of the gateway node. The second processing node is different from the first processing node, and the second processing node comprises a processing node which processes the target data without adopting the load balancing service.
For example, an application is deployed in a cloud computing service, and is specifically deployed on a cloud server (i.e., a second processing node), where the cloud server is a server that provides computing resources through software and hardware virtualization, and when a client of the application sends a search request, a gateway node of the cloud computing service may determine the cloud server of the application according to a network address, forward target data to the cloud server, process the search request by the cloud server, and feed back a result.
At the gateway node, the provided network address can be bound to any processing node, and the processing node bound with the network address can directly use the network address for network communication. The client accesses the network address, but not necessarily the same processing node. For example, in a cloud computing service, using resilient IP technology, a network address associated with an account of user a may be bound to processing node M by the user, unbound from processing node M when desired by the user, then bound to processing node N, and quickly remapped to another processing node. That is, the host does not need to change the IP address of the service every time, i.e. it does not need to do address resolution again, and the domain name is resolved to the new IP address, only the applied flexible IP needs to be allocated to the new host, and the domain name does not need to be resolved again at the domain name service provider. There is a certain advantage to the stability of the service.
In the present application, it is proposed to bind a network address to a load balancing node, where the load balancing node is configured to schedule access traffic to a first processing node that actually provides a service according to a certain algorithm, so as to balance access traffic of a plurality of processing nodes. In the cloud computing service, the load balancing nodes may include a plurality of nodes, and respectively provide load balancing services for a plurality of users.
In addition, the gateway node can have a load balancing function besides the normal function, so that a user does not need to additionally register and record a new network address after purchasing the load balancing service.
In an optional embodiment of the present application, a binding relationship between the network address and the first processing node or the load balancing node is stored in the gateway node, and the binding relationship is used for the gateway node to determine a node corresponding to the network address. For example, a network address pool is stored in the gateway node, and when a user sends a request for establishing a binding relationship between a network address and a load balancing node, the gateway node stores the binding relationship.
In an optional embodiment of the present application, the change request of the binding relationship includes a deletion request, an addition request, and the like, for example, in the cloud computing service, a user operates the binding relationship on a cloud computing service platform, submits a unbinding request (i.e., a deletion request) for the binding relationship between the network address and the second processing node, and after receiving the unbinding request, the gateway node may perform a corresponding deletion operation.
In an optional embodiment of the present application, the change request for the binding relationship may also be automatically generated, specifically, may be automatically generated according to statistical data of data carrying the network address. The data carrying a certain network address is counted, and the counted data includes data volume, access times, number of data packets, access frequency, and the like, or any other suitable counted data, which is not limited in the embodiment of the present application. The statistical data can reflect the condition of service requirements, the change request is automatically generated, whether the load balancing service is adopted or not can be selected more timely, the load balancing service can be selected and used more timely, the conditions that the delay of a website or application is prolonged or the website is down when the flow is increased suddenly and the like can be avoided, the load balancing service is not used more timely, and the expense and the cost brought by the use of the load balancing service can be reduced.
For example, when the demand is strong, that is, the statistical data reaches the set threshold, the generated change request is a request for deleting the binding relationship between the network address and the second processing node and a request for adding the binding relationship between the network address and the load balancing node, and when the demand is not strong, that is, the statistical data does not reach the set threshold, the generated change request is a request for deleting the binding relationship between the network address and the load balancing node and a request for adding the binding relationship between the network address and the second processing node.
In an alternative embodiment of the present application, the public network and the private network are opposite, for example, in a cloud computing service, the public network refers to the Internet (Internet), and the private network refers to an isolated network environment that is constructed, and can customize an IP address range, a network segment, a routing table, a gateway, and the like. The private network may configure a gateway node to access the public network, and the gateway node may connect one network to another network, for example, in a cloud computing service, a server providing the cloud service is located in the private network, a client in the public network needs to be connected to the server in the private network through the gateway node, and a server in the private network also needs to be connected to the client in the public network through the gateway node.
The network addresses comprise public network addresses and the gateway node may provide several public network addresses to provide the nodes in the private network with services to connect to the public network. The target data sent from a certain position in the public network to the private network needs to carry a certain public network address provided by the gateway node, and can be interconnected and intercommunicated with the gateway node in the public network according to the public network address. For example, in a cloud computing service, a gateway node has a public network address pool, where public network addresses can be allocated to different users for use, one user deploys an application on some servers in a private network, and another user deploys a website on another servers in the private network, the application uses one public network address to connect with a public network, and the website can use another public network address to connect with the public network.
In an optional embodiment of the present application, by announcing the service network segment to the outside on the gateway node, when the client accesses the network address and the target data reaches the gateway node, the gateway node encapsulates the target data by using a network tunneling technique through configuration, and then forwards the target data to the server.
Among them, the network tunneling technique is a way of transferring data between networks by using an infrastructure of the internet. The data communicated using the tunnel may be data frames or packets of different protocols. Tunneling protocols re-encapsulate data frames or packets of other protocols and then send through tunnels. The new header provides routing information to pass the encapsulated payload data through the network.
When the target data is encapsulated by using the network tunneling technology, the encapsulated data includes an address of a destination, which is, in this application, a node address of a load balancing node. When the target data is encapsulated, the data such as the node address and the like is encapsulated in the head of the data packet. Based on the node address, the target data may be transmitted to the load balancing node.
In addition, the encapsulated data also comprises a network tunnel identifier, the network tunnel identifier is used for marking a local area network formed by the gateway node and the load balancing node, and the target data encapsulated by the network tunnel identifier can be sent from the gateway node to the load balancing node.
For example, VPC (Virtual Private Cloud) established based on VXLAN (Virtual extensible local area network), VXLAN is a tunneling technique, and transmits data frames in a Virtual network by encapsulating the data frames in a message in an actual physical network. The specific implementation mode is as follows: and after adding a VXLAN header to a data frame of the virtual network, encapsulating the data frame in a UDP message in a physical network, transmitting the UDP message in a communication mode of the traditional network, removing the header information and the VXLAN header of the physical network message after the data frame reaches a target host, and delivering the message to a target terminal. In this application, the VXLAN header includes the node address of the load balancing node and also includes a tunnel ID, i.e., a network tunnel identifier.
In an optional embodiment of the present application, the first processing node processes the target data to obtain feedback data, and the feedback data needs to be sent back to the source of the target data through a public network. For example, the target data is a search request sent by the client, the cloud server processes the search request, and the obtained search result is feedback data.
In an alternative embodiment of the present application, the network address comprises an IP address. An IP Address (Internet Protocol Address) is a digital label assigned to an Internet Protocol device used by a user to access Internet. The IP address is used to mask the physical address difference by assigning a logical address to each network and each host on the internet.
In an optional embodiment of the present application, the steps of receiving the target data and determining the load balancing node bound to the network address are performed by the gateway node, and the gateway node forwards the target data to the determined load balancing node according to a result of the execution. Of course, the method may also be performed by any other suitable network device, and the embodiment of the present application is not limited thereto.
According to an embodiment of the application, when a user does not purchase a load balancing service, the user registers an IP of a cloud server or an IP of a public network gateway at a Domain Name System (DNS), when an application or a website deploys the load balancing service, a new public network IP needs to be added, and registration and record are performed, and then, time and labor are wasted, and the user is not flexible and convenient to use when charging, monitoring or counting is performed based on the public network IP. As shown in the schematic diagram of the data processing process shown in fig. 1, the present application provides a data processing mechanism, by receiving target data, where the target data carries a network address, determining a load balancing node bound to the network address, and selecting a first processing node of the target data by the load balancing node, so that not only the processing node but also the load balancing node can use the same network address, thereby avoiding the limitation that different network addresses need to be used in two situations, i.e., using and not using the load balancing node, achieving the purpose of no need of additional registration and filing of network addresses for load balancing service, facilitating subsequent charging, monitoring or statistics based on one network address, and increasing flexibility when using the load balancing node. The present application is applicable to, but not limited to, the above application scenarios.
Referring to fig. 2, a flowchart of an embodiment of a data processing method according to a first embodiment of the present application is shown, where the method specifically includes the following steps:
step 101, receiving target data, wherein the target data carries a network address.
In the embodiment of the application, the target data carries a network address, and since the gateway node declares the service network segment to the outside that includes the network address, the target data sent from the network will arrive at the gateway node first, and the gateway node receives the target data.
For example, a client in the network sends a data packet, and the destination address of the data packet is the network address, so that the data packet is received by the gateway first.
And 102, determining the load balancing node bound with the network address.
In this embodiment, after receiving the target data, the gateway node may determine, according to the network address in the target data, the load balancing node bound to the network address first. The implementation manner of determining the load balancing node bound to the network address may include various implementations, for example, finding the load balancing node having a binding relationship with the network address on the gateway node, or any other applicable implementation manner, which is not limited in this embodiment of the present application.
For example, the gateway stores a correspondence between a network address and a node address of the load balancing server, and may determine the corresponding node address according to the network address, that is, determine the load balancing server, and then send the target data to the load balancing server according to the node address.
And 103, selecting a first processing node of the target data by the load balancing node.
In the embodiment of the present application, the load balancing node may implement traffic balancing among multiple processing nodes. After the target data reaches the load balancing node, the load balancing node may select a first processing node according to a load balancing algorithm, and forward the target data to the first processing node, so as to implement load balancing.
Generally, when a load balancing node provides a service, a service network segment needs to be announced outwards to enable traffic in a network to be routed to the load balancing node, but a new network architecture is provided in the application, and a network address is bound to the load balancing node, so that the load balancing node does not need to announce the service network segment outwards any more, and is connected with the network through the network address provided for a first processing node before a gateway node.
For example, as shown in the schematic diagram of the data processing architecture shown in fig. 3, a gateway node receives target data, where the target data carries a network address, determines a load balancing node bound to the network address from among a plurality of load balancing nodes in load balancing, where the gateway node sends the target data to the load balancing nodes, and the load balancing nodes select a first processing node from among the plurality of processing nodes according to a load balancing principle, send the target data to the first processing node, and process the target data.
According to the embodiment of the application, target data are received, the target data carry a network address, the load balancing node bound with the network address is determined, and the first processing node of the target data is selected by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are needed in the two situations of using and not using the load balancing node is avoided, the purpose of additionally registering and recording the network address for load balancing service is achieved, charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.
Referring to fig. 4, a flowchart of an embodiment of a data processing method according to the second embodiment of the present application is shown, where the method specifically includes the following steps:
step 201, receiving a change request aiming at the binding relationship.
In this embodiment, the binding relationship between the network address and the load balancing node or the processing node may be changed, and the network address may be changed from being bound with one processing node to being bound with another processing node, may be changed from being bound with a processing node to being bound with the load balancing node, and may be changed from being bound with the load balancing node to being bound with the processing node or another load balancing node.
Step 202, deleting the binding relationship between the network address and the second processing node.
In the embodiment of the application, after receiving the change request, the gateway node determines that the change request includes a deletion request for an original binding relationship. And if the original binding relationship is the binding relationship between the network address and the second processing node, deleting the binding relationship. For example, at the gateway, the binding between the stored network address and the second processing node is deleted.
Step 203, adding the binding relationship between the network address and the load balancing node.
In the embodiment of the application, after receiving the change request, the gateway node determines that the change request includes an addition request of a new binding relationship. And if the new binding relationship is the binding relationship between the network address and the load balancing node, adding the new binding relationship. For example, on the gateway, the binding relationship between the network address and the load balancing node is added and stored.
Step 204, receiving target data, wherein the target data carries a network address.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
Step 205, searching a load balancing node having a binding relation with the network address on the gateway node.
In the embodiment of the application, after the target data is received, the network address in the target data needs to be resolved, and then the load balancing node having a binding relationship with the network address is searched on the gateway node.
Step 206, selecting a first processing node of the target data by the load balancing node.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
According to the embodiment of the application, by receiving the target data, the target data carries the network address, the load balancing node which has the binding relation with the network address is searched on the gateway node, and the first processing node of the target data is selected by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are used under the two conditions of using and not using the load balancing node is avoided, the purpose of additionally registering and recording the network address for the load balancing service is achieved, the charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.
Further, before receiving the target data, by receiving a change request aiming at the binding relationship, deleting the binding relationship between the network address and the second processing node, and adding the binding relationship between the network address and the load balancing node, the network address can be changed from being bound with the second processing node to being bound with the load balancing node, so that the network address does not need to be changed when the load balancing service is switched to be used or not used, and the convenience is improved.
Referring to fig. 5, a flowchart of an embodiment of a data processing method according to a third embodiment of the present application is shown, where the method specifically includes the following steps:
step 301, receiving target data, where the target data carries a network address.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
Step 302, determining a load balancing node bound with the network address.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
Step 303, sending the target data from the gateway node to the load balancing node.
In an embodiment of the present application, optionally, before sending the target data from the gateway node to the load balancing node, the method may further include: determining a node address corresponding to the load balancing node; and packaging the target data by adopting the node address.
In order to send target data to the load balancing node, the gateway node needs to determine a node address corresponding to the load balancing node, and the gateway node packages the target data by using the node address and then sends the target data to the load balancing node. The target data is encapsulated, for example, using VXLAN technology.
In an embodiment of the present application, optionally, before the selecting, by the load balancing node, the first processing node of the target data, the method may further include: and restoring the encapsulated target data. Because the target data sent to the load balancing node is encapsulated, after the load balancing node receives the encapsulated target data, the encapsulated target data is decapsulated, that is, restored, so as to obtain the original target data. The target data is restored using VXLAN technology, for example.
Step 304, selecting a first processing node of the target data by the load balancing node.
In the embodiment of the present application, a specific implementation manner of this step may refer to the description in the foregoing embodiment, and is not described herein again.
Step 305, sending the target data to the first processing node.
Step 306, receiving feedback data of the first processing node for the target data.
In the embodiment of the application, after receiving the target data, the first processing node processes the target data to obtain the feedback data, and the first processing node sends the feedback data to the load balancing node, and the load balancing node receives the feedback data.
Step 307, sending the feedback data from the load balancing node to the gateway node.
In the embodiment of the application, after receiving the feedback data, the load balancing node sends the feedback data back to the gateway node according to the principle of the original return.
And 308, sending the feedback data to a public network according to the network address.
In the embodiment of the application, the gateway node receives the feedback data and sends the feedback data to the public network according to the network address, that is, the public address is used as a source address to send the feedback data. For example, the gateway node encapsulates the feedback data, and the encapsulated packet takes the network address as a source address and the address of the client from which the target data originates as a destination address, and then is sent to the public network, and then the feedback data is routed to the client.
In an embodiment of the present application, optionally, before sending the feedback data from the load balancing node to the gateway node, the method may further include: after the load balancing node receives the feedback data, the node address corresponding to the load balancing node is determined, and then the feedback data is packaged by adopting the node address. Specifically, the same encapsulation method as that of the target data is adopted.
In an embodiment of the application, optionally, before sending the feedback data to the public network according to the network address, the method may further include: and after receiving the feedback data, the gateway node restores the encapsulated feedback data.
According to the embodiment of the application, target data is received, the target data carries a network address, a load balancing node bound with the network address is determined, the target data is sent to the load balancing node from a gateway node, a first processing node of the target data is selected by the load balancing node, the target data is sent to the first processing node, feedback data of the first processing node aiming at the target data is received, the feedback data is sent to the gateway node from the load balancing node, the feedback data is sent to a public network according to the network address, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are used in two situations of using and not using the load balancing node is avoided, and the purpose that additional registration and record of network addresses for load balancing service is not needed is achieved, charging, monitoring or counting based on a network address is more convenient subsequently, and the flexibility of using the load balancing node is improved.
Referring to fig. 6, a flowchart of an embodiment of a data processing method according to the fourth embodiment of the present application is shown, and is applied to a data processing system, where the data processing system includes a gateway, at least one load balancing server, and at least one processing server, and the method specifically includes the following steps:
the data processing system comprises a gateway, at least one load balancing server and at least one processing server. The gateway is also called an internetwork connector and a protocol converter, and is a network interconnection device which is only used for interconnection of two networks with different high-level protocols. The load balancing server comprises a server for selecting a processing server for the traffic and forwarding the traffic according to a load balancing principle, and the processing server comprises a server for processing the traffic.
For example, as shown in the schematic diagram of the data processing system shown in fig. 7, in the VPC, a data processing system is composed of a VPC gateway, at least one load balancing server, and at least one cloud server, and after the target data reaches the VPC gateway, the target data is forwarded to the load balancing server through the VPC gateway, and is forwarded to one cloud server (i.e., a processing server) in the VPC through the load balancing server. The cloud server sends the feedback data to the load balancing server, the feedback data is forwarded to the VPC gateway through the load balancing server, and the VPC gateway sends the feedback data back to the public network.
Step 401, the gateway receives target data of a client, where the target data carries a network address.
Step 402, the gateway determines a load balancing server bound to the network address.
Step 403, the gateway sends the target data from the gateway to the load balancing server.
Step 404, the load balancing server selects a first processing server of the target data.
Step 405, the load balancing server sends the target data to the first processing server.
According to the embodiment of the application, target data of a client side is received through a gateway, the target data carries a network address, the gateway determines a load balancing server bound with the network address, the gateway sends the target data to the load balancing server from the gateway, the load balancing server selects a processing server of the target data, the load balancing server sends the target data to the processing server, the method and the system have the advantages that the same network address can be used by the processing server and the load balancing server, the limitation that different network addresses are required to be used in the two situations of using and not using the load balancing server is avoided, the purpose that additional registration and record of the network addresses for the load balancing service is not required is achieved, charging, monitoring or counting based on one network address is more convenient in the follow-up process, and flexibility in using the load balancing node is improved.
In order to make the present application better understood by those skilled in the art, a data processing method of the present application is described below by way of specific examples.
With reference to FIG. 8, a block diagram of a data processing system is shown.
The left side of the figure is the architecture for accessing the processing nodes from the public network through the load balancing node and from the public network through the gateway, the load balancing node using one network address and the gateway using the other network address, each independently connected to the public network through one network address.
If an application system is deployed under the framework. When the administrator of the application system does not start the load balancing service, the application client needs to send target data with the network address used by the gateway. The network address is bound to the processing node, the target data can reach the gateway through the public network, and the gateway forwards the target data to the processing node for processing. When the manager of the application system starts the load balancing service, the application client needs to send target data with the network address used by the load balancing node. The target data can reach the load balancing node through the public network, the load balancing node selects one processing node according to the load balancing principle, and the target data is forwarded to the processing node for processing.
The right side in the figure is a framework for accessing the processing node from the public network through the gateway and the load balancing node and accessing the processing node from the public network through the gateway, outward route announcement of the load balancing node is removed, the load balancing node is connected with the gateway, the public network is uniformly connected with the gateway, only one network address is used, and the network address can be directly bound with the processing node or can be bound with the load balancing node.
If an application system is deployed under the framework provided by the application. When the administrator of the application system does not start the load balancing service, the application client needs to send target data with the network address used by the gateway. The network address is bound to the processing node, the target data can reach the gateway through the public network, and the gateway forwards the target data to the processing node for processing. When the manager of the application system starts the load balancing service, the application client can still send target data with the network address used by the gateway. The network address is bound to the load balancing node, the target data can reach the gateway through the public network, the gateway forwards the target data to the bound load balancing node, the load balancing node selects one processing node according to the load balancing principle, and the target data is forwarded to the processing node for processing.
Therefore, the framework provided by the application can enable the processing node and the load balancing node to be connected to the public network by using the same network address, avoids the limitation that different network addresses are required in the two situations of using and not using the load balancing node, and achieves the purpose that additional registration and network address filing are not required for load balancing service.
Referring to fig. 9, a block diagram illustrating a structure of an embodiment of a data processing apparatus according to the fifth embodiment of the present application is shown, which may specifically include:
a data receiving module 501, configured to receive target data, where the target data carries a network address;
a node determining module 502, configured to determine a load balancing node bound to the network address;
a node selecting module 503, configured to select, by the load balancing node, a first processing node of the target data.
In an embodiment of the present application, optionally, the node determining module includes:
and the node searching submodule is used for searching the load balancing node which has a binding relationship with the network address on the gateway node.
In an embodiment of the present application, optionally, the apparatus further includes:
a deleting module, configured to delete a binding relationship between the network address and a second processing node before the target data is received;
and the adding module is used for adding the binding relationship between the network address and the load balancing node.
In an embodiment of the present application, optionally, the apparatus further includes:
and the request receiving module is used for receiving a change request aiming at the binding relationship.
In an embodiment of the present application, optionally, the apparatus further includes:
and the request generation module is used for generating a change request aiming at the binding relationship according to the statistical data of the data carrying the network address.
In an embodiment of the present application, optionally, the network address includes a public network address.
In an embodiment of the present application, optionally, the apparatus further includes:
a first sending module, configured to send the target data from a gateway node to a load balancing node after determining the load balancing node bound to the network address.
In an embodiment of the present application, optionally, the apparatus further includes:
a first identifier determining module, configured to determine a node address corresponding to the load balancing node before the target data is sent from the gateway node to the load balancing node;
and the first encapsulation module is used for encapsulating the target data by adopting the node address.
In an embodiment of the present application, optionally, the apparatus further includes:
and the restoring module is used for restoring the encapsulated target data before the load balancing node selects the first processing node of the target data.
In an embodiment of the present application, optionally, the apparatus further includes:
a second sending module, configured to send the target data to the first processing node after the first processing node of the target data is selected by the load balancing node.
In an embodiment of the present application, optionally, the apparatus further includes:
a feedback data receiving module, configured to receive feedback data of the first processing node for the target data after the first processing node of the target data is selected by the load balancing node;
and the feedback data sending module is used for sending the feedback data to a public network according to the network address.
In an embodiment of the present application, optionally, the apparatus further includes:
and a third sending module, configured to send the feedback data from the load balancing node to the gateway node before sending the feedback data to a public network according to the network address.
In an embodiment of the present application, optionally, the apparatus further includes:
a second identifier determining module, configured to determine a node address corresponding to the load balancing node before the feedback data is sent from the load balancing node to a gateway node;
and the second packaging module is used for packaging the feedback data by adopting the node address.
In an embodiment of the present application, optionally, the apparatus further includes:
and the second restoring module is used for restoring the encapsulated feedback data before the feedback data is sent to the public network according to the network address.
In an embodiment of the application, optionally, the network address comprises an address of a gateway node, or an address of a second processing node.
In an embodiment of the present application, optionally, the network address includes an IP address.
In an embodiment of the application, optionally, the data receiving module and the node determining module are on a gateway node.
According to the embodiment of the application, target data are received, the target data carry a network address, the load balancing node bound with the network address is determined, and the first processing node of the target data is selected by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are needed in the two situations of using and not using the load balancing node is avoided, the purpose of additionally registering and recording the network address for load balancing service is achieved, charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.
Referring to fig. 10, a block diagram of an embodiment of a data processing system according to a sixth embodiment of the present application is shown, which may specifically include:
the data processing system 600 comprises a gateway node 601, at least one load balancing node 602, at least one processing node 603;
the gateway node is configured to: receiving target data, wherein the target data carries a network address; determining a load balancing node bound with the network address;
the load balancing node is configured to: a first processing node of the target data is selected.
According to the embodiment of the application, target data are received, the target data carry a network address, the load balancing node bound with the network address is determined, and the first processing node of the target data is selected by the load balancing node, so that the processing node and the load balancing node can use the same network address, the limitation that different network addresses are needed in the two situations of using and not using the load balancing node is avoided, the purpose of additionally registering and recording the network address for load balancing service is achieved, charging, monitoring or counting based on one network address is more convenient subsequently, and the flexibility in using the load balancing node is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Embodiments of the disclosure may be implemented as a system using any suitable hardware, firmware, software, or any combination thereof, in a desired configuration. Fig. 11 schematically illustrates an exemplary system (or apparatus) 800 that can be used to implement various embodiments described in this disclosure.
For one embodiment, fig. 11 illustrates an exemplary system 800 having one or more processors 802, a system control module (chipset) 804 coupled to at least one of the processor(s) 802, a system memory 806 coupled to the system control module 804, a non-volatile memory (NVM)/storage 808 coupled to the system control module 804, one or more input/output devices 810 coupled to the system control module 804, and a network interface 812 coupled to the system control module 806.
The processor 802 may include one or more single-core or multi-core processors, and the processor 802 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the system 800 can function as a browser as described in embodiments herein.
In some embodiments, system 800 may include one or more computer-readable media (e.g., system memory 806 or NVM/storage 808) having instructions and one or more processors 802 that, in conjunction with the one or more computer-readable media, are configured to execute the instructions to implement modules to perform the actions described in this disclosure.
For one embodiment, the system control module 804 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 802 and/or any suitable device or component in communication with the system control module 804.
The system control module 804 may include a memory controller module to provide an interface to the system memory 806. The memory controller module may be a hardware module, a software module, and/or a firmware module.
System memory 806 may be used, for example, to load and store data and/or instructions for system 800. For one embodiment, system memory 806 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 806 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, the system control module 804 may include one or more input/output controllers to provide an interface to the NVM/storage 808 and input/output device(s) 810.
For example, NVM/storage 808 may be used to store data and/or instructions. NVM/storage 808 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 808 may include storage resources that are physically part of the device on which system 800 is installed or may be accessed by the device and not necessarily part of the device. For example, the NVM/storage 808 may be accessible over a network via the input/output device(s) 810.
Input/output device(s) 810 may provide an interface for system 800 to communicate with any other suitable device, input/output device(s) 810 may include communication components, audio components, sensor components, and so forth. Network interface 812 may provide an interface for system 800 to communicate over one or more networks, and system 800 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as to access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
For one embodiment, at least one of the processor(s) 802 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the system control module 804. For one embodiment, at least one of the processor(s) 802 may be packaged together with logic for one or more controller(s) of the system control module 804 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with logic for one or more controller(s) of the system control module 804. For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with logic of one or more controllers of the system control module 804 to form a system on a chip (SoC).
In various embodiments, system 800 may be, but is not limited to being: a browser, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 800 may have more or fewer components and/or different architectures. For example, in some embodiments, system 800 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
Wherein, if the display includes a touch panel, the display screen may be implemented as a touch screen display to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of method steps in the present application.
In one example, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method according to the embodiments of the present application when executing the computer program.
There is also provided in one example a computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a method as one or more of the embodiments of the application.
An embodiment of the application discloses a data processing method and device, and example 1 includes a data processing method, including:
receiving target data, wherein the target data carries a network address;
determining a load balancing node bound with the network address;
selecting, by the load balancing node, a first processing node of the target data.
Example 2 may include the method of example 1, wherein the determining a load balancing node bound to the network address comprises:
and searching a load balancing node having a binding relation with the network address on the gateway node.
Example 3 may include the method of example 1 and/or example 2, wherein, prior to the receiving target data, the method further comprises:
deleting the binding relationship between the network address and the second processing node;
and adding a binding relationship between the network address and the load balancing node.
Example 4 may include the method of one or more of examples 1-3, wherein the method further comprises:
receiving a change request for the binding relationship.
Example 5 may include the method of one or more of examples 1-4, wherein the method further comprises:
and generating a change request aiming at the binding relationship according to the statistical data of the data carrying the network address.
Example 6 may include the method of one or more of examples 1-5, wherein the network address comprises a public network address.
Example 7 may include the method of one or more of examples 1-6, wherein, after the determining the load balancing node bound to the network address, the method further comprises:
and sending the target data from the gateway node to the load balancing node.
Example 8 may include the method of one or more of examples 1-7, wherein prior to the sending the target data from a gateway node to the load balancing node, the method further comprises:
determining a node address corresponding to the load balancing node;
and packaging the target data by adopting the node address.
Example 9 may include the method of one or more of examples 1-8, wherein prior to the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
and restoring the encapsulated target data.
Example 10 may include the method of one or more of examples 1-9, wherein after the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
and sending the target data to the first processing node.
Example 11 may include the method of one or more of examples 1-10, wherein after the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
receiving feedback data of the first processing node for the target data;
and sending the feedback data to a public network according to the network address.
Example 12 may include the method of one or more of examples 1-11, wherein prior to the sending the feedback data to a public network according to the network address, the method further comprises:
and sending the feedback data from the load balancing node to a gateway node.
Example 13 may include the method of one or more of examples 1-12, wherein prior to the sending the feedback data from the load balancing node to a gateway node, the method further comprises:
determining a node address corresponding to the load balancing node;
and packaging the feedback data by adopting the node address.
Example 14 may include the method of one or more of examples 1-13, wherein prior to the sending the feedback data to a public network according to the network address, the method further comprises:
and restoring the packaged feedback data.
Example 15 may include the method of one or more of examples 1-14, wherein the network address comprises an address of a gateway node, or an address of the second processing node.
Example 16 may include the method of one or more of examples 1-15, wherein the network address comprises an IP address.
Example 17 may include the method of one or more of examples 1-16, wherein the receiving target data and determining the load balancing node to bind with the network address are performed by a gateway node.
Example 18 includes a data processing method for a data processing system comprising a gateway, at least one load balancing server, at least one processing server, the method comprising:
the gateway receives target data of a client, wherein the target data carries a network address;
the gateway determines a load balancing server bound with the network address;
the gateway sends the target data from the gateway to the load balancing server;
and the load balancing server selects a first processing server of the target data.
And the load balancing server sends the target data to the first processing server.
Example 19 includes a data processing apparatus, the apparatus comprising:
the data receiving module is used for receiving target data, and the target data carries a network address;
the node determining module is used for determining a load balancing node bound with the network address;
and the node selection module is used for selecting the first processing node of the target data by the load balancing node.
Example 20 may include the apparatus of example 19, wherein the node determination module comprises:
and the node searching submodule is used for searching the load balancing node which has a binding relationship with the network address on the gateway node.
Example 21 may include the apparatus of example 19 and/or example 20, wherein the apparatus further comprises:
a deleting module, configured to delete a binding relationship between the network address and a second processing node before the target data is received;
and the adding module is used for adding the binding relationship between the network address and the load balancing node.
Example 22 may include the apparatus of one or more of examples 19-20, wherein the apparatus further comprises:
and the request receiving module is used for receiving a change request aiming at the binding relationship.
Example 23 may include the apparatus of one or more of examples 19-21, wherein the apparatus further comprises:
and the request generation module is used for generating a change request aiming at the binding relationship according to the statistical data of the data carrying the network address.
Example 24 may include the apparatus of one or more of example 19-example 23, wherein the network address comprises a public network address.
Example 25 may include the apparatus of one or more of example 19-example 24, wherein the apparatus further comprises:
a first sending module, configured to send the target data from a gateway node to a load balancing node after determining the load balancing node bound to the network address.
Example 26 may include the apparatus of one or more of examples 19-25, wherein the apparatus further comprises:
a first identifier determining module, configured to determine a node address corresponding to the load balancing node before the target data is sent from the gateway node to the load balancing node;
and the first encapsulation module is used for encapsulating the target data by adopting the node address.
Example 27 may include the apparatus of one or more of examples 19-26, wherein the apparatus further comprises:
and the restoring module is used for restoring the encapsulated target data before the load balancing node selects the first processing node of the target data.
Example 28 may include the apparatus of one or more of example 19-example 27, wherein the apparatus further comprises:
a second sending module, configured to send the target data to the first processing node after the first processing node of the target data is selected by the load balancing node.
Example 29 may include the apparatus of one or more of examples 19-28, wherein the apparatus further comprises:
a feedback data receiving module, configured to receive feedback data of the first processing node for the target data after the first processing node of the target data is selected by the load balancing node;
and the feedback data sending module is used for sending the feedback data to a public network according to the network address.
Example 30 may include the apparatus of one or more of example 19-example 29, wherein the apparatus further comprises:
and a third sending module, configured to send the feedback data from the load balancing node to the gateway node before sending the feedback data to a public network according to the network address.
Example 31 may include the apparatus of one or more of examples 19-30, wherein the apparatus further comprises:
a second identifier determining module, configured to determine a node address corresponding to the load balancing node before the feedback data is sent from the load balancing node to a gateway node;
and the second packaging module is used for packaging the feedback data by adopting the node address.
Example 32 may include the apparatus of one or more of examples 19-31, wherein the apparatus further comprises:
and the second restoring module is used for restoring the encapsulated feedback data before the feedback data is sent to the public network according to the network address.
Example 33 may include the apparatus of one or more of example 19-example 32, wherein the network address comprises an address of a gateway node, or an address of a second processing node.
Example 34 may include the apparatus of one or more of example 19-example 33, wherein the network address comprises an IP address.
Example 35 may include the apparatus of one or more of example 19-example 34, wherein the data receiving module and the node determining module are on a gateway node.
Example 36 includes a data processing system comprising a gateway node, at least one load balancing node, at least one data first processing node;
the gateway node is configured to: receiving target data, wherein the target data carries a network address; determining a load balancing node bound with the network address;
the load balancing node is configured to: a first processing node of the target data is selected.
Example 37 includes a computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a method as in one or more of examples 1-18 when executing the computer program.
Example 38 includes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method as in one or more of examples 1-18.
Although certain examples have been illustrated and described for purposes of description, a wide variety of alternate and/or equivalent implementations, or calculations, may be made to achieve the same objectives without departing from the scope of practice of the present application. This application is intended to cover any adaptations or variations of the embodiments discussed herein. Therefore, it is manifestly intended that the embodiments described herein be limited only by the claims and the equivalents thereof.

Claims (21)

1. A method of data processing, the method comprising:
receiving target data, wherein the target data carries a network address;
determining a load balancing node bound with the network address;
selecting, by the load balancing node, a first processing node of the target data.
2. The method of claim 1, wherein determining the load balancing node bound to the network address comprises:
and searching a load balancing node having a binding relation with the network address on the gateway node.
3. The method of claim 2, wherein prior to said receiving target data, the method further comprises:
deleting the binding relationship between the network address and the second processing node;
and adding a binding relationship between the network address and the load balancing node.
4. The method of claim 3, further comprising:
receiving a change request for the binding relationship.
5. The method of claim 3, further comprising:
and generating a change request aiming at the binding relationship according to the statistical data of the data carrying the network address.
6. The method of claim 1, wherein the network address comprises a public network address.
7. The method of claim 1, wherein after the determining the load balancing node bound to the network address, the method further comprises:
and sending the target data from the gateway node to the load balancing node.
8. The method of claim 7, wherein prior to said sending the target data from a gateway node to the load balancing node, the method further comprises:
determining a node address corresponding to the load balancing node;
and packaging the target data by adopting the node address.
9. The method of claim 8, wherein prior to the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
and restoring the encapsulated target data.
10. The method of claim 1, wherein after the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
and sending the target data to the first processing node.
11. The method of claim 1, wherein after the selecting, by the load balancing node, the first processing node of the target data, the method further comprises:
receiving feedback data of the first processing node for the target data;
and sending the feedback data to a public network according to the network address.
12. The method of claim 11, wherein prior to said sending the feedback data to a public network according to the network address, the method further comprises:
and sending the feedback data from the load balancing node to a gateway node.
13. The method of claim 12, wherein prior to said sending the feedback data from the load balancing node to a gateway node, the method further comprises:
determining a node address corresponding to the load balancing node;
and packaging the feedback data by adopting the node address.
14. The method of claim 13, wherein prior to said sending the feedback data to a public network according to the network address, the method further comprises:
and restoring the packaged feedback data.
15. The method of claim 1, wherein the network address comprises an address of a gateway node or an address of a second processing node.
16. The method of claim 1, wherein the network address comprises an IP address.
17. The method of claim 1, wherein receiving the target data and determining the load balancing node to bind to the network address are performed by a gateway node.
18. A data processing method is applied to a data processing system, the data processing system comprises a gateway, at least one load balancing server and at least one processing server, and the method comprises the following steps:
the gateway receives target data of a client, wherein the target data carries a network address;
the gateway determines a load balancing server bound with the network address;
the gateway sends the target data from the gateway to the load balancing server;
and the load balancing server selects a first processing server of the target data.
And the load balancing server sends the target data to the first processing server.
19. A data processing system, comprising a gateway node, at least one load balancing node, at least one processing node;
the gateway node is configured to: receiving target data, wherein the target data carries a network address; determining a load balancing node bound with the network address;
the load balancing node is configured to: a first processing node of the target data is selected.
20. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to one or more of claims 1-18 when executing the computer program.
21. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to one or more of claims 1-18.
CN201911061342.3A 2019-11-01 2019-11-01 Data processing method, data processing system, computer device, and storage medium Active CN112788072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911061342.3A CN112788072B (en) 2019-11-01 2019-11-01 Data processing method, data processing system, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911061342.3A CN112788072B (en) 2019-11-01 2019-11-01 Data processing method, data processing system, computer device, and storage medium

Publications (2)

Publication Number Publication Date
CN112788072A true CN112788072A (en) 2021-05-11
CN112788072B CN112788072B (en) 2022-05-27

Family

ID=75747340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911061342.3A Active CN112788072B (en) 2019-11-01 2019-11-01 Data processing method, data processing system, computer device, and storage medium

Country Status (1)

Country Link
CN (1) CN112788072B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268315A (en) * 2021-06-10 2021-08-17 郑州市景安网络科技股份有限公司 Online migration method for virtual host

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system
CN103780502A (en) * 2012-10-17 2014-05-07 阿里巴巴集团控股有限公司 System, method and device for data interaction under load balancing
US20150040025A1 (en) * 2013-07-31 2015-02-05 Splunk Inc. Provisioning of cloud networks with service
CN104394224A (en) * 2014-11-28 2015-03-04 无锡华云数据技术服务有限公司 Load balance system
US20160147450A1 (en) * 2014-11-20 2016-05-26 International Business Machines Corporation High-performance hash joins using memory with extensive internal parallelism
CN106506700A (en) * 2016-12-28 2017-03-15 北京优帆科技有限公司 A kind of transparent proxy method of load equalizer and SiteServer LBS
CN108449282A (en) * 2018-05-29 2018-08-24 华为技术有限公司 A kind of load-balancing method and its device
CN109831468A (en) * 2017-11-23 2019-05-31 北京金山云网络技术有限公司 Load-balancing method, device, electronic equipment and storage medium
CN110198337A (en) * 2019-03-04 2019-09-03 腾讯科技(深圳)有限公司 Network load balancing method, device, computer-readable medium and electronic equipment
CN110753072A (en) * 2018-07-24 2020-02-04 阿里巴巴集团控股有限公司 Load balancing system, method, device and equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780502A (en) * 2012-10-17 2014-05-07 阿里巴巴集团控股有限公司 System, method and device for data interaction under load balancing
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system
US20150040025A1 (en) * 2013-07-31 2015-02-05 Splunk Inc. Provisioning of cloud networks with service
US20160147450A1 (en) * 2014-11-20 2016-05-26 International Business Machines Corporation High-performance hash joins using memory with extensive internal parallelism
CN104394224A (en) * 2014-11-28 2015-03-04 无锡华云数据技术服务有限公司 Load balance system
CN106506700A (en) * 2016-12-28 2017-03-15 北京优帆科技有限公司 A kind of transparent proxy method of load equalizer and SiteServer LBS
CN109831468A (en) * 2017-11-23 2019-05-31 北京金山云网络技术有限公司 Load-balancing method, device, electronic equipment and storage medium
CN108449282A (en) * 2018-05-29 2018-08-24 华为技术有限公司 A kind of load-balancing method and its device
CN110753072A (en) * 2018-07-24 2020-02-04 阿里巴巴集团控股有限公司 Load balancing system, method, device and equipment
CN110198337A (en) * 2019-03-04 2019-09-03 腾讯科技(深圳)有限公司 Network load balancing method, device, computer-readable medium and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
COCO3600: ""弹性负载均衡(Elastic Load Balance,ELB)"", 《CSDN博客》 *
RAJAT CHAUDHARY等: ""LOADS: Load Optimization and Anomaly Detection Scheme for Software-Defined Networks"", 《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》 *
徐新坤: ""一个基于弹性云的负载均衡方法"", 《微电子学与计算机》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268315A (en) * 2021-06-10 2021-08-17 郑州市景安网络科技股份有限公司 Online migration method for virtual host

Also Published As

Publication number Publication date
CN112788072B (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US11050586B2 (en) Inter-cloud communication method and related device, and inter-cloud communication configuration method and related device
US9749145B2 (en) Interoperability for distributed overlay virtual environment
CN113300985B (en) Data processing method, device, equipment and storage medium
US9378042B2 (en) Virtual machine multicast/broadcast in virtual network
CN109660578B (en) CDN back-to-source processing method, device and system
US11146531B2 (en) Separating CGN forwarding and control
CN110858821B (en) Container communication method and device
US20200162416A1 (en) Domain intercommunication in shared computing environments
TW201738746A (en) Methods and systems for analyzing record and usage in post package repair
US11223576B2 (en) Providing and using a distributed forwarding service
CN109495596B (en) Method and device for realizing address conversion
CN113709200B (en) Method and device for establishing communication connection
US20220029917A1 (en) Executing workloads across multiple cloud service providers
CN112788072B (en) Data processing method, data processing system, computer device, and storage medium
CN109246016B (en) Cross-VXLAN message processing method and device
CN115277816B (en) Service adaptation method, device, system and computer readable medium
US10826724B2 (en) Flexible unnumbered destination tunnels for virtual networks
WO2017173989A1 (en) Method, device, and system for distribution processing on multicast and storage medium
CN107547684A (en) A kind of IPv6 address distribution methods and device
US11909595B2 (en) System and method for distributed management of communication devices
WO2021129603A1 (en) Method and device for acquiring location information, apparatus, and storage medium
CN115834686A (en) Network communication method and forwarding network
JP2023527929A (en) Virtual network service deployment method and apparatus
CN117527812A (en) Message request processing method, device, equipment and storage medium
CN114691280A (en) Data communication method and device for edge calculation and edge calculation system

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230529

Address after: Room 1-2-A06, Yungu Park, No. 1008 Dengcai Street, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: Aliyun Computing Co.,Ltd.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Patentee before: ALIBABA GROUP HOLDING Ltd.