Cluster system and service processing method thereof

A cluster system and business processing technology, applied in the cluster field, can solve the problems of difficult expansion, reduced cluster system expansion performance, and increased system performance and capacity expansion costs, so as to reduce costs and improve scalability.

Inactive Publication Date: 2011-08-10
HUAWEI SOFTWARE TECH
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For the above-mentioned cluster system, the inventors found at least the following problems in the prior art: in this cluster solution, when business requests increase, due to the limitations of the capacity of the centralized database module and the processing capacity of the cluster system, the original cluster system It cannot meet the needs of business growth, so the cluster system needs to be expanded
For the centralized database in the cluster system, due to technical and cost constraints, the cost of system performance and capacity expansion will increase or it will be difficult to achieve expansion, resulting in a decrease in the expansion performance of the cluster system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cluster system and service processing method thereof
  • Cluster system and service processing method thereof
  • Cluster system and service processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] An embodiment of the present invention provides a service processing method of a cluster system, which can improve the scalability of the cluster system. Such as figure 2 As shown, the business processing method of the cluster system in the embodiment of the present invention includes the following steps:

[0030] S1. Receive a user service request.

[0031] The service request comes from the user or the upper-level forwarding device. After the service request enters the cluster system, the user data corresponding to the user to which the service request belongs is accessed to complete the operation. The access operation to the cluster system by the business request includes a read operation and a write operation.

[0032] S2. According to the attribute of the user to which the service request belongs, determine the node where the user data corresponding to the user is located, and send the service request to the node.

[0033] The user data is distributed and store...

Embodiment 2

[0038] Such as image 3 As shown, the business processing method of the cluster system in the embodiment of the present invention specifically explains whether the business request type is a read operation or a write operation, including the following steps:

[0039] S11. Receive a user service request.

[0040] S12. Obtain the attribute number of the user to which the service request belongs and the number of nodes in the cluster system, determine the processing node of the user according to the number of nodes and the attribute number, and send the service request to the processing node.

[0041] More specifically, each node is numbered to obtain the total number of nodes in the cluster system, the attribute number of the user to which it belongs is modulo the number of nodes in the cluster system to obtain a node number, and the number corresponding to the The node acts as a processing node for the user. And for a stable cluster system, that is, the cluster system has no ...

Embodiment 3

[0046] The embodiment of the present invention is based on the first embodiment. In step S2, the service request is parsed, and the service request is processed in the node according to the user data corresponding to the user to which the service request is stored in the node, Also includes the following operations:

[0047] Updating the user data corresponding to the user in the node, selecting another node according to the attributes of the user, and synchronizing the updated user data corresponding to the user to the other node.

[0048] The following is another specific description of the above method applied to the business request type as a write operation, such as Figure 4shown, including the following steps:

[0049] S21. Receive a user service request.

[0050] S22. Obtain the attribute number of the user to which the service request belongs and the number of nodes in the cluster system, determine the processing node and backup node of the user according to the num...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention relates to the technical field of clusters and provides a cluster system and a service processing method thereof, which are used for improving expandability of the cluster system. The service processing method of the cluster system comprises the following steps of: receiving a service request from a user; determining a node at which user data corresponding to the user is located according to attributes of the user and sending the service request to the node; and analysing the service request and processing the service request in the node according to the user data of the user, which is stored in the node. The cluster system disclosed by the embodiment of the invention comprises an agent module and at least two nodes, wherein the agent module is used for receiving the service request from the user and sending the service request to the node in which the user data corresponding to the user is stored; and each node is used for storing the user data and accessing the user data stored in the node for processing the service request. The cluster system and the service processing method thereof are used for service processing.

Description

technical field [0001] The invention relates to the field of cluster technology, in particular to a business processing method of a cluster system and the cluster system. Background technique [0002] Cluster (Cluster) technology refers to a group of mutually independent computers that use high-speed communication networks to form a computer system. Each node, that is, each computer in the cluster, is an independent server running its own process. These processes can communicate with each other. communication. For external network elements, the cluster system composed of multiple nodes is a single system. Multiple nodes cooperate to provide application programs, system resources and data to external network elements, and manage these nodes in a single system mode. [0003] In the existing technology, such as figure 1 As shown, the solution adopted by the cluster system is: the cluster system includes a centralized database module, a load balancer and multiple nodes. Each ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
Inventor 劳玮
Owner HUAWEI SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products