Distributed data processing method based on dense computing and related equipment
By adopting a distributed data processing method based on intensive computing in the billing processing system, grouping and distributing data, and performing disaster recovery scheduling under abnormal circumstances, the calculation errors and stability of traditional systems in large-scale, high-concurrency scenarios are solved. solve the problem and achieve efficient and stable billing processing.
Patent Information
- Application Number
- CN202411266625.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional billing processing systems are prone to calculation errors, unstable operation, and even server downtime when processing large-scale, high-concurrency, and complex businesses.
Adopting a distributed data processing method based on intensive computing, the data to be processed is obtained through the management node, the data is grouped and distributed to the computing nodes for calculation according to the preset grouping rules, and when abnormal nodes are detected, idle or backup resources are used to perform disaster recovery Task scheduling to achieve load balancing and fault recovery.
It improves computing efficiency and system reliability, achieves efficient and stable billing processing, can flexibly respond to various business scenarios, and avoids the risk of calculation errors and server downtime.
Smart Images

Figure CN118796478A_ABST
Abstract
Description
Background Art
[0002] With the rapid development of information technology, billing processing systems, as key support systems in the fields of communications, finance, and e-commerce, are facing multiple challenges such as a sharp increase in the amount of data to be processed, increased business complexity, and strict system security requirements. Traditional billing processing systems often use a single partitioning strategy or a fixed data granularity partitioning method, which is difficult to meet large-scale, high-concurrency, complex and changeable business needs, and there are problems such as calculation errors, unstable operation, and even server downtime.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0004] The present disclosure provides a distributed data processing method based on intensive computing and related equipment, which at least to a certain extent overcomes the problems of calculation errors, unstable operation and even server crashes in existing billing processing systems.
[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0006] According to one aspect of the present disclosure, there is provided a distributed data processing method based on intensive computing, which is applied to a management node, and the method includes: obtaining data to be processed according to computing requirements; grouping the data to be processed according to preset grouping rules; distributing the multiple data groups obtained after grouping to corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; during the calculation process of each computing node, if an abnormality of a target node is detected, taking over the target node and using idle resources or backup resources to perform disaster recovery task scheduling.
[0007] In one embodiment of the present disclosure, taking over the target node and executing disaster recovery task scheduling using idle resources or backup resources includes: monitoring currently registered idle resources or backup resources; receiving a disaster recovery resource selection message sent by a monitoring node, wherein the disaster recovery resource selection message includes a selected target idle resource or target backup resource; reading configuration parameters and shard information according to the target node, sending the configuration parameters and shard information to the target idle resource or target backup resource, and executing shard migration; and issuing a disaster recovery scheduling announcement to the monitoring node and the acquisition and distribution node.
[0008] In one embodiment of the present disclosure, before taking over the target node and using idle resources or backup resources to perform disaster recovery task scheduling, the method also includes: initiating a disconnection instruction to the monitoring node to disconnect the target node from the monitoring node; receiving a message sent by the monitoring node to disconnect from the target node; triggering a reconnection message to the target node to determine and trigger the fault information of the target node.
[0009] In one embodiment of the present disclosure, the method further includes: if it is monitored that a plurality of the computing nodes are load unbalanced, the computing nodes are expanded to perform balanced task scheduling.
[0010] In one embodiment of the present disclosure, the expansion of computing nodes includes: broadcasting expansion requirements to idle computing nodes so that the idle computing nodes register with a status monitoring server and return a registration message; triggering balanced task scheduling based on the registered idle computing nodes and the operating status of multiple computing nodes.
[0011] In one embodiment of the present disclosure, the execution balanced task scheduling includes: triggering computing shard migration according to the grouping of computing nodes; and adding the idle computing nodes to a routing table when a migration completion message is received.
[0012] In one embodiment of the present disclosure, the method further includes: configuring at least one of data collection rules, data grouping rules, data distribution rules, calculation rules, balanced scheduling rules, and consumption protocols.
[0013] According to another aspect of the present disclosure, there is provided a distributed data processing device based on intensive computing, which is applied to a management node, and the device includes: a data acquisition module, which is used to acquire the data to be processed according to computing requirements; a data grouping module, which is used to group the data to be processed according to preset grouping rules; a data distribution module, which is used to distribute the multiple data groups obtained after grouping to corresponding computing nodes, so that each of the computing nodes calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; a disaster recovery scheduling module, which is used to take over the target node if an abnormality is detected in the target node during the computing process of each of the computing nodes, and use idle resources or backup resources to perform disaster recovery task scheduling.
[0014] According to another aspect of the present disclosure, a distributed data processing system based on intensive computing is provided, characterized in that it includes a management node, multiple computing nodes, and a monitoring node, wherein: the management node is used to obtain the data to be processed according to computing requirements; group the data to be processed according to preset grouping rules; distribute the multiple data groups obtained after grouping to the corresponding computing nodes; the computing nodes are used to calculate the corresponding data groups and output the calculation results to the corresponding distributed databases; the monitoring nodes are used to monitor the resource usage of each computing node in real time during the calculation process of each computing node, and output the node status of each computing node; the management node is also used to take over the target node if an abnormality is detected in the target node during the calculation process of each computing node, and use idle resources or backup resources to perform disaster recovery task scheduling.
[0015] According to another aspect of the present disclosure, an electronic device is provided, characterized in that it includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned distributed data processing method based on intensive computing by executing the executable instructions.
[0016] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the distributed data processing method based on intensive computing is implemented.
[0017] According to another aspect of the present disclosure, a computer program product is provided, which includes a computer program or computer instructions, and the computer program or the computer instructions are loaded and executed by a processor to enable a computer to implement the above-mentioned distributed data processing method based on intensive computing.
[0018] In the embodiment of the present disclosure, the management node obtains the data to be processed according to the computing demand; groups the data to be processed according to the preset grouping rules; distributes the multiple data groups obtained after grouping to the corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; during the calculation process of each computing node, if the target node is detected to be abnormal, the target node is taken over, and the idle resources or backup resources are used to perform disaster recovery task scheduling. The present disclosure deeply analyzes the business characteristics and combines the balancing algorithm to generate independent computing partitions. Based on the computing needs, it fully utilizes the characteristics of the distributed system to improve the computing efficiency. Through the intelligent routing strategy and the fault disaster recovery strategy, the reliability of the data processing system is effectively improved, and the billing system that can flexibly respond to various business scenarios and realize efficient and stable billing processing can be realized, and highly stable intensive computing can be realized.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0021] Figure 1 An architectural diagram of a communication system in an embodiment of the present disclosure is shown.
[0022] Figure 2 An architectural diagram of a distributed data processing system based on intensive computing in an embodiment of the present disclosure is shown.
[0023] Figure 3 A schematic diagram of the structure of an intensive computing model in an embodiment of the present disclosure is shown.
[0024] Figure 4 A schematic diagram of a dense computing framework deployment structure in an embodiment of the present disclosure is shown.
[0025] Figure 5 A flow chart of a distributed data processing method based on intensive computing provided in an embodiment of the present disclosure is shown.
[0026] Figure 6 A flow chart of another distributed data processing method based on intensive computing provided in an embodiment of the present disclosure is shown.
[0027] Figure 7 A flow chart of another distributed data processing method based on intensive computing provided in an embodiment of the present disclosure is shown.
[0028] Figure 8 A flowchart showing an example of a distributed data processing method based on intensive computing provided by an embodiment of the present disclosure is shown.
[0029] Fig. 9 A schematic diagram of the structure of dynamic expansion of computing nodes provided in an embodiment of the present disclosure is shown.
[0030] Fig.10 An interactive diagram of a computing node dynamic expansion execution method provided in an embodiment of the present disclosure is shown.
[0031] Fig.11 A schematic diagram of the structure of the computing node disaster recovery scheduling provided by the embodiment of the present disclosure is shown.
[0032] Fig.12An interactive diagram of a computing node disaster recovery scheduling execution method provided in an embodiment of the present disclosure is shown.
[0033] Fig.13 A schematic diagram of the structure of a distributed data processing device based on intensive computing provided by an embodiment of the present disclosure is shown.
[0034] Fig.14 A schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0036] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0037] Figure 1 A schematic diagram showing an exemplary system architecture that can be applied to the audio recognition method of the embodiments of the present disclosure.
[0038] like Figure 1 As shown, the system architecture may include a terminal device 110 , a network 120 and a server 130 .
[0039] The network 120 is a medium for providing a communication link between the terminal device 110 and the server 130 , and may be a wired network or a wireless network.
[0040] The user may use the terminal device 110 to interact with the server 130 through the network 120 to receive or send messages.
[0041] The terminal device 110 may be any electronic device with an audio acquisition function, including but not limited to a smart phone, a tablet computer, a display screen, and a desktop computer.
[0042] The client of the application program that can be installed on the terminal device 110 is the same, or the client of the same type of application program based on different operating systems. Based on the different terminal platforms, the specific form of the client of the application program can also be different, for example, the application program client can be a mobile client, a PC client, etc.
[0043] Exemplarily, the terminal device 110 is installed with various communication client applications, such as music applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. The communication client applications can collect audio data generated by users and upload the audio data to the server 130.
[0044] The server 130 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal device 110. The background management server may analyze and process the received request data (such as audio data uploaded by the user) to obtain processing results (such as recognition results of audio data, illegal audio, etc.).
[0045] Optionally, server 130 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0046] Those skilled in the art will know that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration, and any number of terminal devices, networks and servers may be provided according to actual needs, and the embodiments of the present disclosure do not limit this.
[0047] Figure 2 FIG. 1 shows an architecture diagram of a distributed data processing system based on intensive computing in an embodiment of the present disclosure. Figure 2 As shown, the overall architecture of the distributed data processing system disclosed in the present invention includes a storage layer, a framework application layer, a computing layer, a cache layer, and an operation layer.
[0048] The operation layer includes configuration interface, collection and distribution module, data cache access module, etc. The configuration interface is used to configure various parameters, rules, consumption protocols, etc. The collection and distribution module includes data collection module, data grouping module and data distribution model. The data collection module is used to collect and distribute data from distributed databases (such as Figure 2The distributed database 1~n in the system collects the data to be processed; the data grouping module is used to group the data to be processed; the data distribution module is used to send the grouped data to the corresponding computing node; the data cache access module can be a SQL executor. The operation layer can provide a capability layer for connecting the computing framework with the external system.
[0049] The cache layer mainly provides data cache space for the container or server where the computing node is located. It is used to store the packet data to be calculated, computing rules and protocols, etc. The cache layer includes memory cache and hard disk switching.
[0050] The computing layer mainly includes the CPU, GPU, etc. of the container or server where the computing node is located.
[0051] The framework application layer includes transaction management module, balanced scheduling module, partition management module, monitoring module, disaster recovery management module, etc., which are mainly used for overall task scheduling, computing node monitoring, dynamic balancing of multiple computing nodes, and disaster recovery response.
[0052] The storage layer is used to store transaction files, configuration files, log files, models, and algorithms.
[0053] The implementation method of the system is as follows: the partition logic, fault recovery, routing strategy, calculation rules and other configurations are completed through the operation layer, and the obtained configuration files are stored in the storage layer; the operation layer communicates with each distributed database according to the computing needs, collects the data to be processed, and distributes the data to be processed to the data cache module of the cache layer according to the preset grouping rules and scheduling strategies; the computing nodes extract the corresponding data to perform calculations according to the configured computing rules, algorithms, consumption protocols, etc.; the framework application layer is the management layer of the computer framework disaster recovery response, event management, node balanced scheduling, and node monitoring; the logs and transaction information generated in the entire computing execution process generate corresponding files and cache them in the storage layer.
[0054] It should be noted that the number of computing nodes can be dynamically adjusted according to computing needs. When the computing needs are large, computing nodes can be added to expand the capacity; when the computing needs are small, computing nodes can be reduced to reduce the capacity.
[0055] In one embodiment, the distributed data processing system based on intensive computing according to the embodiment of the present disclosure may include a management node, a monitoring node, and multiple computing nodes.
[0056] The management node is used to obtain the data to be processed according to the computing requirements; group the data to be processed according to the preset grouping rules; and distribute the multiple data groups obtained after grouping to the corresponding computing nodes; Computing nodes are used to perform calculations on corresponding data groups and output calculation results to corresponding distributed databases; The monitoring node is used to monitor the resource usage of each computing node in real time during the computing process of each computing node, and output the node status of each computing node; The management node is also used to take over the target node if an abnormality is detected in the target node during the computing process of each computing node, and use idle resources or backup resources to perform disaster recovery task scheduling.
[0057] The collection and distribution module, the disaster recovery management module, the balanced scheduling module, etc. can all be used as part of the management node to perform some functions of the management node. In one embodiment, the management node can include the above-mentioned data collection module, data grouping module and data distribution module.
[0058] Figure 3 FIG. 2 is a schematic diagram showing a structure of an intensive computing model in an embodiment of the present disclosure. Figure 3 As shown, the intensive computing model disclosed in the present invention includes a configuration center, a collection and distribution module, a data cache module, a computing node, a monitoring module, a balanced scheduling module, a disaster recovery management module and a transaction storage module.
[0059] like Figure 3 As shown, the configuration center can be the aforementioned configuration module, which can provide the configuration capabilities of data collection, data distribution, calculation rules, balanced scheduling and other rules.
[0060] The collection and distribution module includes a data collection module, a data grouping module and a data distribution module, wherein the data collection module collects the data to be processed through a distributed database; the data grouping module groups the data and files to be processed according to preset grouping rules; and the data distribution module distributes the grouped data to the corresponding computing nodes according to the calculation rules.
[0061] Data cache module, that is Figure 3 The cache service in is mainly deployed on computing nodes, using the memory or hard disk of containers or servers to cache grouped data, files, computing rule configuration files, etc. to be processed.
[0062] Compute nodes can be application containers or server CPU, GPU, and hard disk caches to perform intensive data computing.
[0063] The monitoring module outputs the load and node status of the computing node by monitoring the usage of the CPU, GPU storage resources, etc. of the container or server where each computing node is located in real time.
[0064] The balanced scheduling module adjusts the scheduling rules in real time based on the load conditions of each computing node monitored by the monitoring module to achieve balanced distribution of computing tasks to multiple computing nodes.
[0065] The disaster recovery management module takes over abnormal computing nodes in real time based on the node status of each computing node monitored by the monitoring module, and implements disaster recovery scheduling through backup resources or idle resources.
[0066] The configuration storage module is deployed in the storage layer to store configuration data, which includes but is not limited to configuration information such as computing rules, consumption protocols, scheduling strategies, data grouping rules, and data distribution strategies.
[0067] The transaction storage module is deployed in the storage layer to store log data, file data generated by the data processing system, etc.
[0068] Figure 4 A schematic diagram of a dense computing framework deployment structure in an embodiment of the present disclosure is shown. Figure 4 As shown, in an intensive computing framework provided by the present disclosure, a distributed data processing system includes a distributed database, an operation layer, a cache layer, a computing layer, a framework application layer and a storage layer.
[0069] The distributed database can be an application system database, such as a MySQL database, which is deployed in a distributed manner to store business data, files, etc.
[0070] The operation layer can be distributedly deployed in the management node Master and the management system. The operation layer includes the configuration management module, configuration server, collection and distribution node, and file transfer server (such as Hadoop).
[0071] The cache layer is distributed and deployed in various resource pools and containers, including the configuration center cache (such as Redis), data cache server, and manifest file storage server (such as Hadoop).
[0072] The computing layer is distributed and deployed in various cloud computing centers, such as Figure 4 The billing node in .
[0073] The framework application layer is distributed and deployed in the cloud computing management layer, including the status monitoring Zookeeper, the message server Rocketmq and Master, etc.
[0074] The storage layer is centrally deployed in the resource pool where the Master is located, including data cache servers, inventory file servers, etc.
[0075] like Figure 4As shown in the figure, the configuration management module obtains entity data (i.e., data to be processed) from the distributed database Mysql according to computing requirements, and caches the entity data in the configuration center cache Redis. The collection and distribution node downloads the route from the configuration center cache Redis, and transmits the call list file to the billing node through the file transfer server. The billing node stores the list file in the list file storage. The billing node downloads the information, route, and Checkpoint data from the configuration center cache, and uploads the calculated Checkpoint data to the configuration center cache.
[0076] Status monitoring monitors the node status of each billing node in real time, and interacts with the Master on the node status and shard status of the billing node.
[0077] When abnormal billing nodes or unbalanced billing nodes are detected, the Master notifies the cache to update the REST request and load the cache data. The Master sends the grouping and sharding migration and routing update messages to the collection and distribution nodes through the message server to achieve disaster recovery and balance.
[0078] In the disclosed implementation mode, a new intensive computing framework is proposed, which is suitable for data processing systems with large-scale, high-concurrency, frequent and complex operations such as billing. Through the framework design of group computing, the computing performance on the same computing node will be effectively improved by more than 10%, and the number of fault-tolerant calculations can be effectively reduced. Under the same computing resources, the concurrent data processing volume can be effectively improved; the system scheduling module uses Zookeeper to realize parallel expansion using distributed cluster computing modules. Through the parallel expansion mechanism and the backup call host, a highly reliable and efficient disaster-tolerant intensive computing system is realized. During production, the distribution node sends the call list to the corresponding billing node for processing according to the partition routing rules. Since each partition is independent and unrelated, each billing node can give full play to its performance advantages within its own load capacity.
[0079] Based on this, the solution provided by the embodiment of the present application involves technologies such as intensive computing and cloud computing, and is a software program applied to computers. The management node of the present application obtains the data to be processed according to the computing needs; groups the data to be processed according to the preset grouping rules; distributes the multiple data groups obtained after grouping to the corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; during the calculation process of each computing node, if the target node is detected to be abnormal, the target node is taken over, and the idle resources or backup resources are used to perform disaster recovery task scheduling. The present application deeply analyzes the business characteristics and generates independent computing partitions in combination with the balancing algorithm. Based on the computing needs, it makes full use of the characteristics of the distributed system to improve the computing efficiency. Through the intelligent routing strategy and the fault disaster recovery strategy, the reliability of the data processing system is effectively improved, and the billing system that can flexibly respond to various business scenarios and realize efficient and stable billing processing can be realized, and highly stable intensive computing can be realized. It is specifically explained through the following embodiments: The embodiments of the present disclosure provide a distributed data processing method based on intensive computing. The method can be executed by any system with computing processing capabilities, such as a management node, or a monitoring node, or the interaction between a management node and a monitoring node.
[0080] Figure 5 FIG. 1 is a flow chart of a distributed data processing method based on intensive computing provided by an embodiment of the present disclosure. Figure 5 As shown, the distributed data processing method based on intensive computing provided by the embodiment of the present disclosure is applied to a management node, wherein the method comprises the following steps: S502: Obtain data to be processed according to computing requirements.
[0081] In one embodiment, computing requirements may include big data processing, artificial intelligence model training, graphics rendering, etc. The computing requirements may be configured by the user through the configuration interface of the operation layer. Intensive computing can be applied to big data processing in the fields of weather forecasting, communication cost calculation, etc., and can also be applied to artificial intelligence model training in the fields of face recognition, speech recognition, etc.
[0082] For example, intensive computing can be applied to user call fee calculation, traffic billing, etc.
[0083] The data to be processed may be stored in a distributed database. The data to be processed may be parameters that need to be determined in order to obtain calculation results. For example, the data to be processed may include user identification, user call duration, traffic usage, files, etc.
[0084] It should be noted that the computing requirements of different application fields correspond to different types of data to be processed, and this disclosure does not make specific limitations on this.
[0085] In one embodiment, before obtaining the data to be processed according to computing requirements in S502, the method further includes: configuring at least one of data collection rules, data grouping rules, data distribution rules, computing rules, balanced scheduling rules, and consumption protocols.
[0086] The configuration of the relevant parameters of the computing framework and the input of computing requirements can be completed in the configuration interface of the above operation layer. Parameter configuration includes but is not limited to the relevant parameters of the above data collection rules, data grouping rules, data distribution rules, calculation rules, balanced scheduling rules, consumption agreements, etc.
[0087] S504: Group the data to be processed according to a preset grouping rule.
[0088] In one embodiment, the preset grouping rules can be configured through a configuration interface of the operation layer, and the obtained grouping rule file is stored in the storage layer, so that the management node directly calls the corresponding grouping rule.
[0089] Grouping rules can be used to group data with the same attributes or characteristics into one data group. For example, call duration used to calculate user charges can be grouped into one data group, and traffic usage used to calculate user traffic charges can be grouped into another data group.
[0090] The grouping rules can also be used to group data with the same data processing method into a data group. For example, data used for cluster analysis can be divided into cluster data groups.
[0091] The grouping rules can be configured according to actual circumstances, and this disclosure does not make any specific limitations on this.
[0092] S506: Distribute the multiple data groups obtained after grouping to corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database.
[0093] In one embodiment, a data set may correspond to one computing node or multiple computing nodes. For example, the call duration and traffic usage of the same user may be sent to a computing node so that the computing node can obtain the communication fee of the user. A training set for training a neural network model may also be sent to multiple computing nodes, and each computing node is trained separately to obtain a trained neural network model.
[0094] The calculation results may include the above-mentioned communication costs, the structure of the neural network model, and the model parameters, etc., which are not specifically limited in this disclosure.
[0095] S508: During the calculation process of each computing node, if it is detected that the target node is abnormal, the target node is taken over and the idle resources or backup resources are used to perform disaster recovery task scheduling.
[0096] In one embodiment, the above-mentioned monitoring module can be used to monitor the container / server CPU, GPU and / or storage resource usage of each computing node in real time, output the load status of each computing node, and thus determine the usage status of each computing node.
[0097] The usage status of the computing node includes normal scheduling, abnormal scheduling, unbalanced load, etc. The above-mentioned target node is a computing node with abnormal scheduling, for example, when the target node is down or powered off, the scheduling abnormality occurs, that is, the target node can no longer participate in the computing task.
[0098] In one embodiment, idle resources may be unused computing resources in the distributed system, such as newly added computing nodes in the distributed system, or unused CPUs, GPUs, and / or storage resources of other computing nodes in the distributed system. Backup resources may be spare CPUs, GPUs, and / or storage resources in the distributed system.
[0099] The above-mentioned takeover target node can be understood as follows: when the main scheduling host goes down, if there is a backup scheduling host, the backup scheduling host will elect a backup scheduling host, and the successfully elected backup scheduling host will automatically switch to the main scheduling mode and take over the resources of the down main scheduling host. If there is no backup scheduling host in the distributed system, other main scheduling hosts will obtain the resources of the down main scheduling host for load balancing and take over the resources of the down main scheduling host.
[0100] In the embodiment of the present disclosure, the management node obtains the data to be processed according to the computing demand; groups the data to be processed according to the preset grouping rules; distributes the multiple data groups obtained after grouping to the corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; during the calculation process of each computing node, if the target node is detected to be abnormal, the target node is taken over, and the idle resources or backup resources are used to perform disaster recovery task scheduling. The present disclosure deeply analyzes the business characteristics and combines the balancing algorithm to generate independent computing partitions. Based on the computing needs, it fully utilizes the characteristics of the distributed system to improve the computing efficiency. Through the intelligent routing strategy and the fault disaster recovery strategy, the reliability of the data processing system is effectively improved, and the billing system that can flexibly respond to various business scenarios and realize efficient and stable billing processing can be realized, and highly stable intensive computing can be realized.
[0101] Figure 6 FIG. 2 shows another flow chart of a distributed data processing method based on intensive computing provided in an embodiment of the present disclosure. Figure 6 As shown, in one embodiment, the above S508 takes over the target node and uses idle resources or backup resources to perform disaster recovery task scheduling, including: S602, monitoring currently registered idle resources or backup resources; S604, receiving a disaster recovery resource selection message sent by the monitoring node, where the disaster recovery resource selection message includes a selected target idle resource or target backup resource; S606, read the configuration parameters and shard information according to the target node, send the configuration parameters and shard information to the target idle resource or the target backup resource, and perform shard migration; S608: Send a disaster recovery scheduling announcement to the monitoring node and the collection and distribution node.
[0102] The target idle resource or the target backup resource may be understood as a replacement computing node for the target node.
[0103] After selecting the target idle resources or target backup resources, the management node can transfer the corresponding resources to the target idle resources or target backup resources for processing based on the load conditions of the target idle resources or target backup resources and the average load conditions of the cluster, so as to reduce the load pressure of the distributed system and improve the comprehensive scheduling capability of the cluster.
[0104] By reading the configuration parameters and sharding information of the target node, the target idle resources or target backup resources are configured accordingly, and sharding migration is performed. After sharding is completed, the target idle resources or target backup resources send a message to the management node to report the completion of the local sharding migration operation. The management node sends a notification to the monitoring node and the acquisition and distribution node to load the local route, so that the target idle resources or target backup resources can perform the computing tasks of the target node.
[0105] In the embodiment of the present disclosure, there is no need to wait for the response of the collection and distribution module. If the route is not updated successfully, it will be rejected by the computing node and automatically corrected. By actively notifying the management node, the probability of rejection can be reduced.
[0106] In one embodiment, before the above S508 takes over the target node and uses idle resources or backup resources to perform disaster recovery task scheduling, the method also includes: initiating a disconnection instruction to the monitoring node to disconnect the target node from the monitoring node; receiving a message sent by the monitoring node to disconnect from the target node; triggering a reconnection message to the target node to determine and trigger the fault information of the target node.
[0107] It should be noted that the situations in which the target node and the monitoring node are disconnected include when the management node detects an abnormality in the computing node and initiates the takeover mechanism, and the connection is disconnected when the management node sends a disconnect instruction to the monitoring node. It may also include the situation in which the computing node is disconnected from the monitoring node due to a failure.
[0108] When the management node receives a message from the monitoring node that it is disconnected from the target node, it can verify the fault of the target node by re-triggering a connection message with the target node. For example, the fault information of the target node can be a status monitoring server failure, a target node downtime, etc.
[0109] In the disclosed embodiment, the monitoring node can determine and trigger the fault information of the target node by triggering a reconnection message to the target node, thereby processing the target node in a timely manner.
[0110] Figure 7 A flow chart of another distributed data processing method based on intensive computing provided in an embodiment of the present disclosure is shown. Figure 5 Based on the embodiment, after S508, S510 is added to limit the situation of balanced task scheduling. Figure 7 As shown, in one embodiment, the distributed data processing method based on intensive computing provided by the present disclosure includes S502 to S510, wherein: S510: If it is detected that load imbalance occurs on multiple computing nodes, the computing nodes are expanded and balanced task scheduling is performed.
[0111] In one embodiment, the expansion of computing nodes in the above S510 includes: broadcasting expansion requirements to idle computing nodes so that the idle computing nodes register with the status monitoring server and return registration messages; triggering balanced task scheduling based on the operating status of the registered idle computing nodes and multiple computing nodes.
[0112] When it is detected that multiple computing nodes are unbalanced in load, the management node can initiate a new node demand and broadcast to each idle computing node, so that the idle computing node registers with the status monitoring server. The idle computing node or the status monitoring server returns the registration information to the management node. The registration information may include the node identification and node usage status of the idle node, so that the idle computing node can perform disaster recovery task scheduling. The status monitoring server can be Zookeeper, etc.
[0113] It should be noted that the process of adding new nodes can be carried out when an abnormality occurs in the basic computing node, or when computing resources are insufficient, the node expansion can be carried out by adding new billing nodes.
[0114] In one embodiment, the execution balance task scheduling in the above S510 includes: triggering computing shard migration according to the grouping of computing nodes; and adding idle computing nodes to the routing table when a migration completion message is received.
[0115] When the newly added computing node completes sharding, it sends a message to the management node to report the completion of the local shard migration operation. The management node sends a migration completion message to the configuration center, monitoring node, and collection and distribution node, loads the local route, adds the idle computing node to the routing table, and executes the corresponding computing task.
[0116] In the embodiment of the present disclosure, there is no need to wait for the response of the collection and distribution module. If the route is not updated successfully, it will be rejected by the computing node and automatically corrected. By actively notifying the management node, the probability of rejection can be reduced.
[0117] In order to deepen the understanding of the distributed data processing method based on intensive computing in the present disclosure, the following takes computing demand as an example for billing, and combines the attached Figure 8-Figure 12 Provide detailed explanation.
[0118] Figure 8 FIG. 1 is a flow chart showing an example of a distributed data processing method based on intensive computing provided by an embodiment of the present disclosure. Figure 8 As shown, the distributed data processing method based on intensive computing in this example includes the following steps: S801. Configure cloud computing requirements, enter calculation rules and consumption agreements. The configuration of billing framework related parameters and the entry of calculation requirements can be completed through the configuration interface.
[0119] S802: Complete the connection with the application system and the distributed database. The computing framework is connected with the application system and the distributed database.
[0120] S803: Extracting data to be processed based on computing requirements. The data acquisition module acquires the data to be processed and caches it in the data cache module.
[0121] S804, grouping the cached data to be processed and distributing them to corresponding computing nodes. The data grouping module groups the cached data to be processed according to the data grouping rule, and according to the grouping, the data distribution module distributes the data groups to be processed to corresponding computing nodes.
[0122] S805, the computing node performs data computing. The computing node computes the corresponding data group according to the computing rules, consumption protocol, and algorithm.
[0123] S806: The framework application monitors the running status of each computing node in real time. The framework application real-time monitoring module and the transaction processing module monitor the status of each computing node in real time and record relevant operation logs.
[0124] S807, the framework application starts balanced task scheduling as needed. When it is detected that the computing node load is unbalanced, the balanced scheduling module performs balanced task scheduling to ensure that the load of each computing node remains in a relatively stable state.
[0125] S808, the framework application triggers the disaster recovery task scheduling on demand. When a computing node is detected to be abnormal, the disaster recovery management module takes over the abnormal computing node and uses idle resources and backup resources to perform disaster recovery scheduling.
[0126] S809, the calculation results of the computing nodes are output to the distributed database. The calculation results output by the computing nodes are distributed to the corresponding distributed database by the intelligent routing module and the data distribution module.
[0127] It should be noted that the above S807 and S808 can be judged whether to be executed according to actual needs, which is not necessary, and accordingly, the execution order is not limited.
[0128] Fig. 9 FIG. 2 is a schematic diagram showing a structure of dynamic expansion of computing nodes provided in an embodiment of the present disclosure. Fig. 9 As shown, in the active scheduling cluster, it is started in the active mode, such as Fig. 9 The active scheduling 1~2 in the standby scheduling cluster is started in standby mode, such as Fig. 9 The backup schedulers 1 and 2 in the above table are registered in the Zookeeper status monitoring server.
[0129] During the scheduling process, Zookeeper maintains the data group queue and scheduling relationship table, the monitoring area and scheduling relationship table, and the thread ID and data group queue relationship table. Among them, the data group queue and scheduling relationship table includes queue name, belonging scheduling ID, queue belonging status, etc.; the monitoring area and scheduling relationship table is used to record the corresponding relationship between the monitoring area and the belonging scheduling ID, and the thread ID and data group queue relationship table is used to record the corresponding relationship between the queue name and the scheduling thread ID.
[0130] When adding a new scheduling host, you can manually modify the cluster master scheduling scale stored on the Zookeeper node and start the master scheduling host, such as adding a new master scheduling 3. Each of the existing master scheduling 1~2 uses the same load balancing algorithm to calculate the queues that need to be vacated, such as Fig. 9 Queue 3 and Queue 6 in .
[0131] The master scheduler 1~2 notifies the corresponding thread to end and create a temporary node in the Zookeeper node after the current transaction is completed.
[0132] The newly added node (active scheduling 3) waits for other active scheduling queues to be vacated, takes over the queues with idle status in the queue and scheduling relationship table, and derives the corresponding working thread.
[0133] It should be noted that after the computing demand is started, in addition to the operation of the basic computing nodes, when the computing node resources are insufficient, it is necessary to expand by adding new billing nodes.
[0134] Fig.10 The interactive diagram of the computing node dynamic expansion execution method provided in the embodiment of the present disclosure is shown. Fig.10 As shown in the figure, the billing node dynamically expands the execution process, including: The management node Master initiates the demand for adding new nodes and broadcasts it to all idle billing nodes; The idle billing node registers with the status monitoring server (such as Zookeeper) and returns the registration message to the management node.
[0135] The management node notifies the data balancer to perform data balancing based on the running status of the registered computing nodes, triggering the balancing task scheduling.
[0136] The data balancing process performs shard balancing calculations and sends new node messages to the management node.
[0137] The management node triggers the migration of computing shards according to the computing grouping situation. The management node sends a message to the newly added billing node to notify the newly added billing node to perform the shard migration operation.
[0138] The newly added billing node performs the sharding operation and sends a message to the management node to report that the local shard migration operation is complete.
[0139] The management node sends a message to the collection and distribution node and the configuration center, notifying the node to load the local route and add the newly added billing node to the routing table. There is no need to wait for the collection and distribution response. If the route is not updated successfully, it will be rejected by the billing node and automatically corrected. The management node actively notifies to reduce the probability of rejection.
[0140] Fig.11 FIG. 2 shows a schematic diagram of the structure of the computing node disaster recovery scheduling provided by the embodiment of the present disclosure. Fig.11As shown, in the active scheduling cluster, active scheduling 1~3 are enabled in active mode, and in the standby scheduling cluster, standby scheduling 1~2 are enabled in standby mode. When active scheduling 3 goes down, if there is a standby scheduling, the standby scheduling is switched to active scheduling mode, and the resources of the down active scheduling 3 are taken over. For example, standby scheduling 1 takes over the resources of active scheduling 3. If there is no standby scheduling, other active scheduling obtains the resources of the down active scheduling for load balancing and takes over the resources of the down active scheduling. For example, when active scheduling 3 goes down, active scheduling 1 and active scheduling 2 obtain the resources of active scheduling 3, and queues 1~queues 6 are load balanced and allocated to active scheduling 1 and active scheduling 2.
[0141] Fig.12 The interactive diagram of the computing node disaster recovery scheduling execution method provided in the embodiment of the present disclosure is shown. When a billing node is abnormal, the management node can take over the faulty node and implement disaster recovery task scheduling by adding a new billing node or backup resources.
[0142] like Fig.12 As shown, the computing node disaster recovery scheduling execution method includes the following steps: When the management node detects a faulty billing node, it starts the takeover mechanism and sends a disconnection command to the status monitoring server (such as Zookeeper) to disconnect the faulty billing node from the status monitoring server, or the billing node is disconnected from the status monitoring server due to a fault.
[0143] The status monitoring server sends a disconnection message to the management node to disconnect from the billing node.
[0144] The management node sends a confirmation request to the faulty billing node, that is, triggers the connection message again to verify the fault situation.
[0145] The faulty billing node returns a confirmation reply.
[0146] The management node triggers an alarm and sends a fault message.
[0147] The management node detects the currently registered available computing nodes and backup nodes, and starts the disaster recovery task scheduling mechanism.
[0148] The status monitoring server selects the billing node to be migrated (also known as the disaster recovery resource) and pushes the relevant information of the billing node to the management node.
[0149] The management node reads the configuration parameters and shard information through the ID of the faulty billing node. The management node notifies the data balancing process of data balancing, and the data balancing process performs balancing calculations, and the management node returns a shard migration message.
[0150] The management node performs shard migration to the incoming billing node. The management node sends a message to the incoming billing node to notify the incoming billing node to perform the shard migration operation. The incoming billing node performs the shard migration operation and sends a message to the management node to report that the shard migration operation is completed.
[0151] The management node sends a notice to the status monitoring server and the collection and distribution node, notifying the node to load the local route, and the collection and distribution node loads the local routing table.
[0152] Based on the same inventive concept, the embodiment of the present disclosure also provides a distributed data processing device based on intensive computing, as described in the following embodiment. Since the principle of solving the problem in the embodiment of the device is similar to that in the above method embodiment, the implementation of the embodiment of the device can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0153] Fig.13 FIG. 1 is a schematic diagram showing a structure of a distributed data processing device based on intensive computing provided by an embodiment of the present disclosure. Fig.13 As shown, the distributed data processing device based on intensive computing of this embodiment is applied to a management node, and the device includes a data acquisition module 1310, a data grouping module 1320, a data distribution module 1330 and a disaster recovery scheduling module 1340; wherein: The data acquisition module 1310 is used to acquire the data to be processed according to the computing requirements; The data grouping module 1320 is used to group the data to be processed according to a preset grouping rule; The data distribution module 1330 is used to distribute the multiple data groups obtained after grouping to corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; The disaster recovery scheduling module 1340 is used to take over the target node and perform disaster recovery task scheduling using idle resources or backup resources if an abnormality of the target node is detected during the computing process of each computing node.
[0154] In one embodiment, the disaster recovery scheduling module 1340 is also used to monitor currently registered idle resources or backup resources; receive a disaster recovery resource selection message sent by a monitoring node, the disaster recovery resource selection message includes a selected target idle resource or target backup resource; read configuration parameters and shard information according to the target node, send configuration parameters and shard information to the target idle resource or target backup resource, and execute shard migration; and issue a disaster recovery scheduling announcement to the monitoring node and the collection and distribution node.
[0155] In one embodiment, the management node is also used to initiate a disconnection instruction to the monitoring node before taking over the target node and using idle resources or backup resources to perform disaster recovery task scheduling, so as to disconnect the target node from the monitoring node; receive a message sent by the monitoring node to disconnect from the target node; trigger a reconnection message to the target node, and determine and trigger the fault information of the target node.
[0156] In one embodiment, the device further includes a balancing management module which is not shown in the accompanying drawings. The balancing management module is used to expand the computing nodes and perform balanced task scheduling if load imbalance is detected among multiple computing nodes.
[0157] In one embodiment, the balancing management module is used to broadcast expansion requirements to idle computing nodes so that the idle computing nodes register with the status monitoring server and return registration messages; trigger balancing task scheduling based on the operating status of the registered idle computing nodes and multiple computing nodes.
[0158] In one embodiment, the balancing management module is further used to trigger computing shard migration according to the grouping of computing nodes; when a migration completion message is received, the idle computing nodes are added to the routing table.
[0159] It should be noted that the device also includes a configuration module not shown in the accompanying drawings, and the configuration module is used to configure at least one of data collection rules, data grouping rules, data distribution rules, calculation rules, balanced scheduling rules, and consumption protocols.
[0160] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0161] Refer to the following Fig.14 1400 according to this embodiment of the present disclosure is described. Fig.14 The electronic device 1400 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0162] like Fig.14 As shown, the electronic device 1400 is in the form of a general computing device. The components of the electronic device 1400 may include but are not limited to: at least one processing unit 1410, at least one storage unit 1420, and a bus 1430 connecting different system components (including the storage unit 1420 and the processing unit 1410).
[0163] The storage unit stores program codes, which can be executed by the processing unit 1410, so that the processing unit 1410 executes the steps described in the above “exemplary method” section of this specification according to various exemplary embodiments of the present disclosure.
[0164] For example, the processing unit 1410 may execute the following steps: Figure 5 The method embodiment in the embodiment includes the following steps: the management node obtains the data to be processed according to the computing requirements; the data to be processed is grouped according to the preset grouping rules; the multiple data groups obtained after grouping are distributed to the corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; during the calculation process of each computing node, if the target node is detected to be abnormal, the target node is taken over and the idle resources or backup resources are used to perform disaster recovery task scheduling.
[0165] The storage unit 1420 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 14201 and / or a cache storage unit 14202 , and may further include a read-only storage unit (ROM) 14203 .
[0166] The storage unit 1420 may also include a program / utility 14204 having a set (at least one) of program modules 14205, such program modules 14205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0167] Bus 1430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0168] The electronic device 1400 may also communicate with one or more external devices 1440 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1400, and / or any device that enables the electronic device 1400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1450. Furthermore, the electronic device 1400 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 1460. Fig.14As shown, the network adapter 1460 communicates with other modules of the electronic device 1400 via the bus 1430. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 1400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0169] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0170] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. In an exemplary embodiment of the present disclosure, a computer program product is also provided, which includes a computer program or a computer instruction, and the computer program or the computer instruction is loaded and executed by a processor to enable the computer to implement the steps of the method disclosed in the above embodiment.
[0171] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0172] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0173] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0174] In specific implementation, the program code for performing the operation of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0175] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0176] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0177] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the example implementation modes described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation mode of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation mode of the present disclosure.
[0178] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A distributed data processing method based on intensive computing, applied to a management node, characterized in that: The method comprises: Obtain the data to be processed according to computing requirements; Grouping the data to be processed according to a preset grouping rule; Distributing the multiple data groups obtained after grouping to corresponding computing nodes, so that each computing node performs calculations on the corresponding data group and outputs the calculation results to the corresponding distributed database; During the calculation process of each of the computing nodes, if an abnormality of a target node is detected, the target node is taken over and the idle resources or backup resources are used to perform disaster recovery task scheduling.
2. The method according to claim 1, characterized in that The taking over of the target node and using idle resources or backup resources to perform disaster recovery task scheduling includes: Monitor currently registered idle resources or backup resources; Receiving a disaster recovery resource selection message sent by a monitoring node, wherein the disaster recovery resource selection message includes a selected target idle resource or a target backup resource; Reading configuration parameters and shard information according to the target node, sending the configuration parameters and shard information to the target idle resource or the target backup resource, and performing shard migration; A disaster recovery scheduling announcement is issued to the monitoring node and the collection and distribution node.
3. The method according to claim 1, characterized in that Before taking over the target node and using idle resources or backup resources to perform disaster recovery task scheduling, the method further includes: Initiate a disconnection instruction to the monitoring node so that the target node is disconnected from the monitoring node; Receiving a message sent by the monitoring node to disconnect from the target node; A reconnection message is triggered to the target node, and fault information of the target node is determined and triggered.
4. The method according to claim 1, characterized in that: The method further includes: if it is monitored that multiple computing nodes have load imbalance, the computing nodes are expanded and balanced task scheduling is performed.
5. The method according to claim 4, characterized in that The step of expanding the computing node includes: Broadcasting the expansion requirement to the idle computing node, so that the idle computing node registers with the status monitoring server and returns a registration message; According to the registered idle computing nodes and the running status of the plurality of computing nodes, balanced task scheduling is triggered.
6. The method according to claim 5, characterized in that The execution balancing task scheduling includes: Trigger computing shard migration based on the grouping of computing nodes; When the migration completion message is received, the idle computing node is added to the routing table.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: At least one of the data collection rules, data grouping rules, data distribution rules, calculation rules, balanced scheduling rules, and consumption protocols is configured.
8. A distributed data processing device based on intensive computing, applied to a management node, characterized in that: The device comprises: A data acquisition module is used to acquire the data to be processed according to the computing requirements; A data grouping module, used for grouping the data to be processed according to preset grouping rules; A data distribution module is used to distribute the multiple data groups obtained after grouping to corresponding computing nodes, so that each computing node calculates the corresponding data group and outputs the calculation results to the corresponding distributed database; The disaster recovery scheduling module is used to take over the target node and perform disaster recovery task scheduling using idle resources or backup resources if an abnormality of the target node is detected during the computing process of each computing node.
9. A distributed data processing system based on intensive computing, characterized in that: It includes management nodes, multiple computing nodes, and monitoring nodes, among which: The management node is used to obtain the data to be processed according to the computing requirements; group the data to be processed according to the preset grouping rules; and distribute the multiple data groups obtained after grouping to the corresponding computing nodes; The computing node is used to perform computing on the corresponding data group and output the computing result to the corresponding distributed database; The monitoring node is used to monitor the resource usage of each computing node in real time during the computing process of each computing node, and output the node status of each computing node; The management node is also used to take over the target node if an abnormality is detected in the target node during the calculation process of each of the computing nodes, and use idle resources or backup resources to perform disaster recovery task scheduling.
10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the distributed data processing method based on intensive computing described in any one of claims 1 to 7 by executing the executable instructions.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the distributed data processing method based on intensive computing as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Distributed type dynamic cache expanding method and system supporting load balancing
CN102244685A
Disaster recovery system, disaster recovery processing method, monitoring node and backup cluster
CN110377459A
Distributed cache system and deployment method thereof
CN114172917A
Distributed cluster based on backup disaster recovery system and construction method
CN115878384A
Load balancing method and system, computer storage medium, and electronic device
WO2023207189A1
Cited By
Method and device for processing distributed data
CN119557111A
A method and device for processing distributed data
CN119557111B
Distributed storage system capacity expansion and contraction method and device, equipment and medium
CN120848812A
