One-stop data processing system based on data

By setting up multiple request channels and cache area management strategies in the data center, the problem of low processing efficiency of the data processing system when the load is heavy is solved, and the data processing rate is stable and the external request processing is normal under high load conditions. maintain.

CN118550895APending Publication Date: 2024-08-27STATE GRID ANHUI ELECTRIC POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410676196.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing data processing systems are difficult to guarantee the data processing rate when the load is heavy, and affect the processing efficiency of external requests.

Method used

A one-stop data processing system based on the data center is designed. By setting up multiple public request channels and core request channels in the data center, the monitoring module monitors the system load and data accumulation, pauses or adjusts request processing, and Ensure the stability of data processing rate; adopt cache area and cache area management strategies to group and batch process requests to reduce database load.

Benefits of technology

When the load on the data center is heavy, it can quickly switch working states to ensure the data processing rate, ensure request processing for authorized applications, pause external request processing, reduce system load, and improve data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550895A
    Figure CN118550895A
Patent Text Reader

Abstract

The invention relates to a one-stop data processing system based on a data medium station in the field of data processing systems, which comprises the data medium station, a data acquisition end and an application end are connected to the data medium station, and the data application end and the data medium station are directly provided with a plurality of public request channels and core request channels. The application end comprises an external application end and a main application end connected with the core request channel; a data processing terminal is arranged in the data medium station, and the data medium station comprises a comprehensive database, a data acquisition module, a monitoring module and an access management module; when the load of the data medium station is large and the amount of data to be processed is large, the working state of the data medium station can be rapidly switched, the data processing rate of the data medium station is guaranteed, authorized main application requests can still be processed at the moment, request processing of an external application end is paused, and only batch processing is conducted on the requests regularly, so that when the data medium station processes data in a centralized mode, the data processing efficiency is greatly improved. And the processing of the request of the application end can still be normally maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a one-stop data processing system based on a data middle platform, and in particular to a one-stop data processing system based on a data middle platform applied in the field of data processing systems. Background Art

[0002] The data center is a centralized data management platform that helps enterprises integrate, manage and optimize data resources to support more efficient data analysis and business decision-making. The emergence of the data center solves some problems in traditional data management methods, such as data silos and data inconsistency. Through the data center, enterprises can integrate data from scattered systems and businesses into a central platform for unified management, scheduling and use.

[0003] A one-stop data processing system refers to a comprehensive platform that integrates multiple data processing functions and tools. Users can complete multiple operations such as data collection, cleaning, storage, analysis and visualization in one system.

[0004] In order to solve the problem of low data processing efficiency of data processing systems, a certain data processing system in the market adopts a read-write cache design and has a certain market share.

[0005] The specification of Chinese invention patent CN116880776B discloses a data processing system for storing data, the system includes: a first preset disk, a second preset disk, a processor and a memory storing a computer program, the cache speeds of the first preset disk and the second preset disk are in different preset ranges, and the cache speed of the first preset disk is greater than the cache speed of the second preset disk, the first preset disk includes a plurality of preset storage areas, the first preset disk stores key data information of the second preset disk, and the key data information includes the identification and storage path of the second preset disk. The invention provides a new data processing system for storing data, which can improve the read and write efficiency while protecting the integrity and security of data; it can reduce the number of data refreshes, thereby reducing the IO load.

[0006] When the existing data processing system has a large internal data processing volume, the system load is large, which is easy to affect the processing of external requests. The increase in external requests will further increase the system load, thereby affecting the data processing efficiency of the system. The current data processing system is not easy to guarantee the data processing rate when the load is large, and it can also guarantee the normal processing of external requests. Summary of the invention

[0007] In view of the above-mentioned prior art, the technical problem to be solved by the present invention is that it is difficult for the current data processing system to ensure the data processing rate when the load is large, and also to ensure the normal processing of external requests.

[0008] To solve the above problems, the present invention provides a one-stop data processing system based on a data middle platform, including a data middle platform, to which a data acquisition end and an application end are connected, and the data application end and the data middle platform are directly provided with a plurality of public request channels and a core request channel, and the application end includes an external application end and a main application end connected to the core request channel;

[0009] The data processing terminal is set in the data center, and the data center includes: a comprehensive database, a data acquisition module, a monitoring module and an access management module; the data acquisition module is set with a data cleaning unit;

[0010] The comprehensive database includes back-end database, core database, front-end database and buffer;

[0011] The buffer includes a first buffer area matching a common request channel and a second buffer area matching a core request;

[0012] The back-end database is used for temporary storage of data collected by the data collection module, and the back-end database clears the data processed by the data processing module in real time; the core database is used for storage of data processed by the data processing module;

[0013] The front-end database is used to store desensitized data from the core database;

[0014] The comprehensive database is connected to a data management module, which is used for data retrieval, data update, data cleaning and data synchronization of the data in the comprehensive database;

[0015] The access management module is connected to the access permission management module, the request filtering unit and the request channel management unit; the functions of the request channel management unit include: grouping of requests in the request channel and switching of the request channel;

[0016] The monitoring module is used to monitor the request volume of the request channel, the working status of the data processing module, the storage status of the comprehensive database and the overall load of the data center; when the monitoring module detects that the accumulated data in the back-end database exceeds the set value or the overall load of the data center is greater than the set value, the public request channel suspends request processing.

[0017] In the above-mentioned one-stop data processing system based on the data middle platform, it is possible to collect data and store the processed data in a centralized manner for retrieval by the application end. When the data processing pressure of the data middle platform is high, the processing of some channel requests can be suspended to ensure the normal data processing rate of the data middle platform.

[0018] As a further improvement of the present application, the data processing module retrieves the data in the back-end database for processing when working, and the processing methods include: data conversion, data analysis, data desensitization, data integration and data visualization; the data in the core database are all processed by data conversion, and the data in the front-end database are all processed by data desensitization.

[0019] As a further improvement of the present application, when the public request channel suspends request processing, the access management module adjusts the upper limit of the request processing rate of the core request channel to a set value.

[0020] As a further improvement of the present application, the public request channel is a leaky bucket channel, and the core request channel is a token channel. When the public request channel suspends request processing, requests are accumulated in the public request channel. When the accumulated request amount reaches a set value, accumulation is stopped. When the public request channel suspends request processing, batch request processing is performed on the accumulated requests at set intervals.

[0021] As a further improvement and supplement to the present application, when the public request channel performs batch request processing, the channel management module reads the target data of the request, groups the request according to the target data, and classifies the requests pointing to the same target data into a request group; the data middle station writes the target data of each request group into the first cache area, the request group reads the data in the cache area, and after all requests in the request group are processed, the batch request processing is stopped and the first cache area is cleared.

[0022] As a further improvement to the present application, while the request group reads data from the cache, the public request channel simultaneously receives and accumulates new requests. When a new request has the same target data as any request group, the request is merged into the corresponding request group.

[0023] As another improvement of the present application, the data requested to be read in the core request channel is stored in the second cache area, and the second cache area is cleared at regular time intervals. When requesting to read data in the core request channel, the second cache area is first searched to see whether there is a template database. If there is no target data, the core database is read.

[0024] As another improvement of the present application, the permission management module is used to associate permissions with external application terminals, and the authorized external application terminals can send sexual requests through the core request channel.

[0025] As another improvement of the present application, the data management module regularly updates the data of the front-end database based on the core database. When updating the data, the data management module desensitizes the data before writing it into the front-end database.

[0026] As another improvement of the present application, the functions of the data cleaning unit include: excluding unqualified data, removing unnecessary redundant, duplicate and abnormal data, and verifying data integrity.

[0027] To sum up, this solution can quickly switch the working status of the data middle platform when the data middle platform is heavily loaded and has a lot of data to be processed, thereby ensuring the data processing rate of the data middle platform. At this time, the authorized main application request can still be processed, and the request processing of the external application end is suspended and only batch processed regularly, so that when the data middle platform centrally processes data, it can still maintain normal processing of application-end requests. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 This is a system block diagram of the first and second implementation modes of this application;

[0029] Figure 2 This is a working process diagram of the data center processing data in the first and second implementation modes of this application;

[0030] Figure 3 This is a workflow diagram for the second implementation mode of this application;

[0031] Figure 4 This is a working diagram of batch request processing in the second implementation mode of the present application. DETAILED DESCRIPTION

[0032] The following describes two implementation modes of the present application in detail with reference to the accompanying drawings.

[0033] The first implementation method:

[0034] Figure 1-2 It is shown that a one-stop data processing system based on a data middle platform includes a data middle platform, a data collection end and an application end are connected to the data middle platform, the data collection end includes multiple data sources, the data application end and the data middle platform are directly provided with multiple public request channels and core request channels, and the application end includes an external application end and a main application end connected to the core request channel;

[0035] The data processing terminal is set in the data center, and the data center includes: a comprehensive database, a data acquisition module, a monitoring module and an access management module; the data acquisition module is connected to multiple data sources through a data transmission channel, and the data acquisition module can retrieve data from multiple data sources. The data acquisition module is set with a data cleaning unit, and the functions of the data cleaning unit include: excluding data that does not meet the requirements, removing unnecessary redundant, repeated and abnormal data, and verifying data integrity;

[0036] The comprehensive database includes back-end database, core database, front-end database and buffer;

[0037] The buffer includes a first buffer area matching a common request channel and a second buffer area matching a core request;

[0038] The back-end database is used for temporary storage of data collected by the data collection module. The back-end database clears the data processed by the data processing module in real time. After the data processing module reads and processes the data in the back-end database, it stores the processed data in the core database, and clears the corresponding data in the back-end database. The core database is used for storage of data processed by the data processing module.

[0039] The front-end database is used to store desensitized data from the core database; some of the data specified in the core database can be loaded into the front-end database after data desensitization or data encryption;

[0040] A data management module is connected to the comprehensive database, and is used for data retrieval, data update, data cleaning and data synchronization of the data in the comprehensive database; the data management module regularly updates the front-end database according to the core database, and when updating the data, the data management module desensitizes the data before writing it into the front-end database; the data management module can clean up the cached data in the buffer as required.

[0041] When the data processing module is working, it retrieves the data in the back-end database for processing. The processing methods include: data conversion, data analysis, data desensitization, data integration and data visualization. The data in the core database are all processed by data conversion to a unified set format to ensure the uniformity of the data format in the core database, which is convenient for data analysis and data visualization. The data in the front-end database are all processed by data desensitization to ensure that the data in the front-end database does not contain confidential information, sensitive information and unsafe information.

[0042] The access management module is connected to the access permission management module, the request filtering unit and the request channel management unit; the functions of the request channel management unit include: grouping of requests within the request channel and switching of the request channel; the permission management module is used to associate permissions with external applications, and authorized external applications can send requests through the core request channel.

[0043] The monitoring module is used to monitor the request volume of the request channel, the working status of the data processing module, the storage status of the comprehensive database and the overall load of the data center;

[0044] In this embodiment, after the data is collected by the data collection module, the data is stored in the back-end database. The data processing module retrieves the data in the back-end database to perform the set processing work. The processed data is stored in the core database. The core database regularly updates the designated desensitized data to the front-end database. The core database can be read by the authorized application end, and the front-end database can be read by the unauthorized external application end.

[0045] This implementation can realize the centralized storage of collected data and processed data for easy retrieval by the application end. When the data processing pressure of the data center is high, some channel request processing can be suspended to ensure the normal data processing rate of the data center.

[0046] Second implementation method:

[0047] Figure 3-4 It is shown that when the monitoring module detects that the accumulated data in the backend database exceeds the maximum setting value or the overall load of the data center is greater than the maximum setting value, the public request channel suspends request processing. When the accumulated data in the backend database and the overall load of the data center are both less than or equal to the minimum setting value, the public request channel is resumed.

[0048] When the public request channel suspends request processing, the access management module adjusts the upper limit of the request processing rate of the core request channel to a set value.

[0049] The public request channel is a leaky bucket channel, and the core request channel is a token channel. When the public request channel suspends request processing, requests are accumulated in the public request channel. When the accumulated request amount reaches the set value, the accumulation stops. When the public request channel suspends request processing, batch request processing is performed on the accumulated requests at set intervals.

[0050] When the public request channel performs batch request processing, the channel management module reads the target data of the requests, groups them according to the target data of the requests, and classifies the requests pointing to the same target data into a request group; the data center writes the target data of each request group into the first cache area, and the request group reads the data in the cache area. After all requests in the request group are processed, the batch request processing is stopped and the first cache area is cleared.

[0051] While the request group reads data from the cache, the public request channel simultaneously receives and accumulates new requests. When a new request has the same target data as any request group, the request can be merged into the corresponding request group.

[0052] The data requested to be read in the core request channel is stored in the second cache area, and the second cache area is cleaned at regular time intervals. When requesting to read data in the core request channel, first search whether there is a template database in the second cache area. If there is no target data, then read the core database.

[0053] This implementation method can achieve that when the amount of data to be processed accumulated in the data center exceeds the set value or the data center load is large, the request processing work of the public request channel can be suspended, and the upper limit of the request processing rate of the core request channel can be adjusted to ensure the efficiency of the data center for internal data processing, and all requests can be read through the cache area to reduce the database read and write load, and ensure that the data processing module is not easy to process data in the database. The rate is reduced due to the large database pressure. The first cache area is cleaned after receiving the batch request processing, and the second cache area is cleaned regularly to ensure that the cache area is not easy to accumulate a lot of useless data;

[0054] In summary, when the data middle platform is heavily loaded and has a lot of data to be processed, the working state of the data middle platform can be quickly switched to ensure the data processing rate of the data middle platform. At this time, the authorized main application request can still be processed, and the request processing of the external application end is suspended and only batch processed regularly, so that when the data middle platform centrally processes data, it can still maintain the processing of application-end requests normally.

[0055] In view of current practical needs, the above-mentioned implementation mode adopted in this application is not limited to the scope of protection. Various changes made within the knowledge scope of technical personnel in this field without departing from the concept of this application still fall within the scope of protection of the present invention.

Claims

1. A one-stop data processing system based on the data center. Features: It includes a data middle platform, to which a data collection end and an application end are connected, and the data application end and the data middle platform are directly provided with a plurality of public request channels and a core request channel, and the application end includes an external application end and a main application end connected to the core request channel; The data center includes: a comprehensive database, a data acquisition module, a monitoring module and an access management module; a data cleaning unit is provided in the data acquisition module; The comprehensive database includes a back-end database, a core database, a front-end database and a buffer zone; The buffer includes a first buffer area matching a common request channel and a second buffer area matching a core request; The back-end database is used for temporary storage of data collected by the data collection module, and the back-end database clears the data processed by the data processing module in real time; the core database is used for storage of data processed by the data processing module; The front-end database is used to store desensitized data from the core database; The comprehensive database is connected to a data management module, which is used for data retrieval, data update, data cleaning and data synchronization of the data in the comprehensive database; The access management module is connected to an access rights management module, a request filtering unit and a request channel management unit; the functions of the request channel management unit include: grouping requests in the request channel and switching the request channel; The monitoring module is used to monitor the request volume of the request channel, the working status of the data processing module, the storage status of the comprehensive database and the overall load of the data center; when the monitoring module detects that the accumulated data in the back-end database exceeds the set value or the overall load of the data center is greater than the set value, the public request channel suspends request processing.

2. According to claim 1, a one-stop data processing system based on a data center, Features: When the data processing module is working, it retrieves the data in the back-end database for processing, and the processing methods include: data conversion, data analysis, data desensitization, data integration and data visualization; the data in the core database are all processed by data conversion, and the data in the front-end database are all processed by data desensitization.

3. According to claim 2, a one-stop data processing system based on a data center, Features: When the public request channel suspends request processing, the access management module adjusts the upper limit of the request processing rate of the core request channel to a set value.

4. According to claim 3, a one-stop data processing system based on a data center, Features: The public request channel is a leaky bucket channel, and the core request channel is a token channel. When the public request channel suspends request processing, requests are accumulated in the public request channel. When the accumulated request amount reaches a set value, the accumulation is stopped. When the public request channel suspends request processing, batch request processing is performed on the accumulated requests at set intervals.

5. According to claim 4, a one-stop data processing system based on a data center, Features: When the public request channel performs batch request processing, the channel management module reads the target data of the request, groups the requested target data according to the target data, and classifies the requests pointing to the same target data into one request group; The data center writes the target data of each request group into the first cache area, and the request group reads the data in the cache area. After all requests in the request group are processed, the batch request processing is stopped and the first cache area is cleared.

6. A one-stop data processing system based on a data center according to claim 5, Features: While the request group reads data from the buffer area, the public request channel simultaneously receives and accumulates new requests. When a new request has the same target data as any request group, the request is merged into the corresponding request group.

7. A one-stop data processing system based on a data middle platform according to claim 6, Features: The data requested to be read in the core request channel is stored in the second cache area, and the second cache area is cleaned at regular time intervals. When requesting to read data in the core request channel, first search whether there is a template database in the second cache area, and if there is no target data, read the core database.

8. A one-stop data processing system based on a data middle platform according to claim 7, Features: The authority management module is used to associate authority with external application terminals, and the authorized external application terminals can send sexual requests through the core request channel.

9. A one-stop data processing system based on a data middle platform according to claim 8, Features: The data management module regularly updates the front-end database based on the core database. When updating the data, the data management module desensitizes the data before writing it into the front-end database.

10. A one-stop data processing system based on a data middle platform according to claim 9, Features: The functions of the data cleaning unit include: eliminating data that does not meet the requirements, removing unnecessary redundant, repeated and abnormal data, and verifying data integrity.