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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com