Big data processing method and system based on streaming computing
Through the method based on streaming computing, multiple field data required by the database client are obtained and calculated in batches, which solves the computational burden problem of the database server when processing large amounts of data and improves service quality.
Patent Information
- Application Number
- CN202410747942.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-01
AI Technical Summary
When the database client needs to obtain a large amount of data and calculate multiple fields, it will bring a large computing burden to the database server and affect the quality of service.
Adopt a method based on streaming computing to receive the data acquisition request from the database client, parse the request and determine whether calculation is needed. If necessary, obtain and calculate the data of each field in batches, and use the calculation software to process the data independently from the client and the server. processing to reduce the computing pressure on the server.
It effectively reduces the computing burden on the database server and improves service quality, especially when processing large amounts of data, avoiding overload on the server.
Smart Images

Figure CN118733672A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data, and specifically, to a big data processing method and system based on streaming computing. Background Art
[0002] With the development of Internet technology and the continuous expansion of the Internet, the amount of data on the Internet is also increasing, and this data usually needs to be stored in a database.
[0003] There are multiple fields in a piece of data stored in a database. The so-called field is basically the same as the column and is often used interchangeably. However, database columns are generally called columns, while the term field is usually used to connect calculated fields. In related technologies, most databases support field calculations. For example, the arithmetic sum of data values in multiple columns can be calculated; for another example, concatenation can connect multiple values together to form a single value. In some databases, the Concat() function can be used to concatenate two columns.
[0004] When the amount of data stored in the database is relatively large, if the database client needs to perform field calculations while obtaining data, it will bring a relatively large burden to the database server, which will affect the service quality of the database server. Figure 1 It is a schematic diagram of a processing method for big data calculation in a database according to related technologies, such as Figure 1 As shown, a database generally includes a database server and a database client, and users obtain data from the database server through the database client. The database server provides services for multiple database clients, stores data in the database server, and also has a processing module to parse the data requests of the database clients. If a database client needs to obtain a large amount of data, and this data needs to be calculated for multiple fields, this will bring a relatively large computing burden to the processing module. At this time, the access of other database clients to the database server will be affected, thereby affecting the service quality of the database server. Summary of the invention
[0005] The embodiments of the present application provide a big data processing method and system based on streaming computing, so as to at least solve the problem that the service quality of the database server is affected when the database client obtains a large amount of data that requires calculation of fields.
[0006] According to one aspect of the present application, a big data processing method based on streaming computing is provided, comprising: receiving a first data acquisition request from a database client, wherein the first data acquisition request is used to acquire data from a database server; parsing the first data acquisition request, and determining whether the data acquired by the first data acquisition request includes first data; wherein the first data is data that needs to be calculated to be obtained, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data stored therein; in the case of including the first data, sending a second data acquisition request to the database server, wherein the second data acquisition request is used to separately acquire each column used to calculate the first data; receiving each column returned by the database server for calculating the first data, and calculating each column to obtain the first data; and sending the calculated first data to the database client as a response to the first data acquisition request.
[0007] Furthermore, the steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
[0008] Further, sending a second data acquisition request to the database server when the first data is included includes: when the first data is included, determining the number of data items included in the first data acquisition request; when the number of data items is greater than a threshold, sending the second data acquisition request to the database server; when the number of data items is less than or equal to the threshold, sending the first data acquisition request to the database server.
[0009] Furthermore, after sending the first data acquisition request to the database server, the method also includes: receiving data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server for multiple columns; and sending the data returned by the database server to the database client.
[0010] According to another aspect of the present application, a big data processing system based on streaming computing is also provided, including: a first receiving module, used to receive a first data acquisition request from a database client, wherein the first data acquisition request is used to acquire data from a database server; a judgment module, used to parse the first data acquisition request, and determine whether the data acquired by the first data acquisition request includes first data; wherein the first data is data that needs to be calculated to be obtained, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data it stores; a first sending module, used to send a second data acquisition request to the database server when including the first data, wherein the second data acquisition request is used to separately acquire each column used to calculate the first data; a calculation module, used to receive each column returned by the database server for calculating the first data, and calculate each column to obtain the first data; a second sending module, used to send the calculated first data to the database client as a response to the first data acquisition request.
[0011] Furthermore, the steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
[0012] Furthermore, the first sending module is used to: when the first data is included, determine the number of data items included in the first data acquisition request; when the number of data items is greater than a threshold, send the second data acquisition request to the database server; when the number of data items is less than or equal to the threshold, send the first data acquisition request to the database server.
[0013] Furthermore, it also includes: a second receiving module, used to receive data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server for multiple columns; a third sending module, used to send the data returned by the database server to the database client.
[0014] According to another aspect of the present application, a server is also provided, comprising a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above-mentioned method steps.
[0015] According to another aspect of the present application, a readable storage medium is provided, on which computer instructions are stored, wherein the computer instructions implement the above method steps when executed by a processor.
[0016] In an embodiment of the present application, a first data acquisition request is received from a database client, wherein the first data acquisition request is used to acquire data from a database server; the first data acquisition request is parsed, and it is determined whether the data acquired by the first data acquisition request includes the first data; wherein the first data is data that needs to be calculated to be obtained, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data stored by the database server; in the case of including the first data, a second data acquisition request is sent to the database server, wherein the second data acquisition request is used to respectively acquire each column used to calculate the first data; each column returned by the database server for calculating the first data is received, and each column is calculated to obtain the first data; the calculated first data is sent to the database client as a response to the first data acquisition request. This application solves the problem of affecting the service quality of the database server when the database client acquires a large amount of data that needs to be calculated on the fields, thereby reducing the calculation burden of the database server and improving the service quality of the database server to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a schematic diagram of a processing method for computing big data in a database according to the related art;
[0019] Figure 2 is a flowchart of a big data processing method based on streaming computing according to an embodiment of the present application; and,
[0020] Figure 3 It is a schematic diagram of the workflow of computing software for big data processing according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0023] In order to solve the problems existing in the related art, a large database processing method based on streaming computing is provided in the following implementation. The method can be used in various databases. Generally speaking, a database includes a database server and a database client.
[0024] Figure 2 is a flow chart of a big data processing method based on streaming computing according to an embodiment of the present application, such as Figure 2 As shown below, Figure 2 Describe the steps involved.
[0025] Step S202: receiving a first data acquisition request from a database client, wherein the first data acquisition request is used to acquire data from a database server.
[0026] Step S204, parse the first data acquisition request and determine whether the data acquired by the first data acquisition request includes first data; wherein the first data is data that needs to be calculated, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data stored therein.
[0027] For the purpose of illustration, an example can be provided here. In this example, the database is used to save students' grades, including the student ID, Chinese grades, mathematics grades, physical education grades, calligraphy grades, painting grades, and music grades. For example, the student with the student ID 001 has the grades of 60, 61, 62, 63, 64, and 65 respectively; then 001606162636465 constitutes a piece of data, and all Chinese grades are a column of data. If the request initiated by the database client is to obtain the student's average score, it is necessary to obtain the data of the Chinese grades, mathematics grades, physical education grades, calligraphy grades, painting grades, and music grades for calculation, and the average grade can be understood as the first data. In the following implementation method, the meanings of "column" and "field" are the same for the database server.
[0028] The calculation here may include concatenation calculation, mathematical calculation, etc. Usually, the data acquisition request sent by the database client includes an SQL statement. By parsing the SQL statement, it is possible to obtain whether the data acquired by the data acquisition request includes the first data. For example, the concatenation field connects multiple field values together (appends one value to another value) to form a single value. In the SELECT statement in SQL, a special operator can be used to concatenate two columns. Another example is arithmetic calculations such as addition, subtraction, multiplication, and division of multiple fields.
[0029] Step S206: When including the first data, sending a second data acquisition request to the database server, wherein the second data acquisition request is used to respectively acquire each column used to calculate the first data.
[0030] Step S208: receiving each column used to calculate the first data returned by the database server, and calculating each column to obtain the first data.
[0031] In this step, as an optional implementation, the database server adds a time tag to the data of multiple columns of each data, wherein the time tag is added according to the time when the database server reads the data. After each data is time-tagged, all the read data are sent to the computing software in the order of the time tags in the form of data stream, and the computing software uses data stream computing when computing multiple columns to obtain the first data. Through this optional implementation, stream computing and big data are combined, so that computing efficiency can be further improved.
[0032] There are many ways of stream computing. For example, the stream computing method may include the following steps: the database server (i.e., the source end) writes the source end data (i.e., each piece of data read) to the target end (i.e., the computing software) to generate a numbered message in the target end, wherein the number corresponds to the message one-to-one and the number increases monotonically; the target end deduplicates the number and reads the message corresponding to the number according to the deduplicated number. After the step of writing the source end data to the target end to generate a numbered message in the target end, it also includes: obtaining the first number corresponding to the current read action and the second number corresponding to the previous read action; when the first number is greater than the second number, reading the message corresponding to the first number. When the first number is less than or equal to the second number, ignoring the first number and executing the next read action.
[0033] Of course, other methods of stream computing can also be used, which will not be described here one by one.
[0034] Step S210: sending the calculated first data as a response to the first data acquisition request to the database client.
[0035] In the above steps, the calculation of multiple columns originally performed on the database client is transferred to the database server, thereby reducing the pressure on the database server. Through the above steps, the problem of affecting the service quality of the database server when the database client obtains a large amount of data that requires calculation of fields is solved, thereby reducing the calculation burden of the database server and improving the service quality of the database server to a certain extent.
[0036] It should be noted that the steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
[0037] Figure 3 is a schematic diagram of the workflow of the computing software for big data processing according to an embodiment of the present application, such as Figure 3 As shown, in Figure 3 The database server is used to store data, and the processing module of the database server is used to calculate multiple columns of data, and send the acquired or calculated data after the data is acquired. The calculation software is connected between the database client and the database server, and can be understood as a database agent. The calculation software intercepts all data requests sent by the database client, and obtains data or calculates data through the first analysis module and the second analysis module.
[0038] It should be noted that if the amount of the first data is not large, the calculation can be completed by the database server, that is, sending a second data acquisition request to the database server when the first data is included includes: when the first data is included, determining the number of data items included in the first data acquisition request; when the number of data items is greater than a threshold, sending the second data acquisition request to the database server; when the number of data items is less than or equal to the threshold, sending the first data acquisition request to the database server.
[0039] from Figure 3 It can be seen from the computing software shown that the computing software may include two modules, a first analysis module and a second analysis module, wherein the first analysis module is used to obtain the data of each column and perform calculations; and the second analysis module is used to directly send the first data request to the database server, and send the data returned by the database server to the database client. At this time, the calculation of multiple columns is performed by the database server.
[0040] In another embodiment that can be added, the first occupancy rate of the computing resources (for example, CPU and / or memory) of the computer where the computing software is located and the second occupancy rate of the computing resources of the computer where the server service is located can also be determined. When the first occupancy rate exceeds the second threshold and the first occupancy rate is greater than the second occupancy rate, the computing software will forward all received data acquisition requests to the database service. In this case, the computing software will no longer perform calculations on multiple columns.
[0041] This implementation can avoid the computing software becoming the bottleneck of the system. In another implementation, multiple computing software can be distributed on different computers, and different computing software can be elected according to their computing capabilities. The computing software with the strongest computing capability is elected as the main computing software, and the other computing software is elected as the slave computing software. The main computing software forwards the received data acquisition request to different computing software for processing according to the occupancy rate of the computing resources of the slave computing software, thus forming a distributed computing of computing software, thereby improving the processing capacity of the entire system.
[0042] After sending a first data acquisition request to the database server, the method further includes: receiving data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server for multiple columns; and sending the data returned by the database server to the database client.
[0043] In a database, students' grades are stored, including their student ID, Chinese grades, math grades, physical education grades, calligraphy grades, painting grades, and music grades. The database client initiates a data acquisition request and needs to obtain the total score of each of the top ten students. This data acquisition request is only used to obtain ten pieces of data. At this time, it is more efficient to directly forward the data acquisition request to the database server, so the data acquisition request can be directly forwarded to the database server for execution. If the database client initiates a data acquisition request, the data acquisition request needs to obtain the total score of each student of all students in the school. At this time, the data acquisition request is used to obtain tens of thousands of data. At this time, it is better for the calculation software to perform the calculation.
[0044] As an optional implementation, the setting of the threshold value for the number of data items can be dynamic. For example, the occupancy rate of the computing resources of the computer where the database server is located is obtained, and as the occupancy rate of the computing resources increases, the threshold value is reduced. In this way, the service quality of the database server can be guaranteed to the greatest extent.
[0045] The above implementation can be applied to various types of databases, for example, can be applied to a database established using the following method.
[0046] Example 1
[0047] The C / C++ programming language is used to generate the table record structure of the customer table and the root node table. Among them, the data table is an object in the database, which includes the customer table and the system table, and the root node table is a system table. In the data table, each row of data is a table record. Each table record contains the data types of multiple fields. The C / C++ programming language is used to uniformly encapsulate the data types of the multiple fields of the table record to form a table record structure corresponding to the C / C++ standard format, so that the external development application based on the C / C++ programming language can reuse the table record structure multiple times in the process of calling the database, thereby improving operation efficiency and facilitating user understanding.
[0048] All data are loaded into the memory and a balanced binary tree AVL index is established. The database uses the IPC shared memory provided by the Unix, Linux or Windows system to load data, so that all application processes can access the data at the same time, increasing the number of concurrent accesses in the data access process. ] The process of establishing the AVL tree index occurs during the initialization process of the database system. After all the configuration data is loaded, the AVL tree is expanded by a pre-order traversal (DLR) based on the AVL tree, that is, the root node of the AVL tree is first accessed, and then the left subtree and the right subtree are traversed in sequence. When traversing the left and right subtrees, the root node is still accessed first, then the left subtree is traversed, and finally the right subtree is traversed. According to the results of the traversal, the data domain and pointer domain information in the AVL tree index node are obtained.
[0049] Optionally, the AVL tree node pointer obtained above is converted into an offset, and the offset is converted to form a node string. The memory table block is preset with a table structure information area, an AVL node information area and a data block area. The AVL tree node string obtained after the above conversion is stored in the AVL node information area in the memory table block.
[0050] Optionally, when querying customer table data by AVL indexing, the keywords in the query condition can be compared with the data domain information of each root node according to the AVL node information. When the matching condition is not met, the left node or right node position is continued to be selected for querying. Finally, according to the successfully matched data node, the real data block position of the corresponding data block area can be quickly found, the required query data is obtained and returned to the application process. Through the above optional implementation, due to the establishment of AVL tree index, the data block can be quickly searched and the time complexity can be stabilized within a certain range, which greatly improves the response speed of the database and the system performance.
[0051] The application programming interface (API) based on the C / C++ language version is used to interact with the application and obtain interaction information. When the application interacts with the database, the application first needs to establish a connection with the target database, and then send an object operation request based on the database to the database. The interaction information is the object operation instruction carried in the request.
[0052] For example, if the application needs to change the customer address in the data table, it needs to run a C / C++ program statement to modify the customer address in the application and submit it to the database for transaction processing. The submission method is implemented through the standard application programming interface API based on the C / C++ language version. By placing the command into a standardized standard API function, the database executes the application's command, which can adapt to the needs of different C / C++ application calls and improve the maintainability and scalability of the database system.
[0053] According to the interactive information and the table record structure, the data is directly operated and a result set is returned. The database service process executes the transaction processing statement in the received interactive information. If the transaction processing is successful, the service process returns a correct data message to the application through the network. If the transaction processing is unsuccessful, an error message is transmitted.
[0054] Example 2
[0055] Initialize the field index information and root node table of the customer table; record the KEY value and version value of the customer table into the root node table, and make the root node table the first flow node accessed by the application.
[0056] Initializing the field index information and root node table of the memory database occurs during the initialization of the entire system when the database starts running. In the IPC (Inter-Process Communication) communication mode, each IPC object has a unique name, which is the KEY value mentioned above, also known as the key value. By obtaining the KEY value of the customer table, the process can identify the customer table that needs to be called. When each new customer table is created and stored, a new shared memory object will be created, a key value will be specified, and then the shared memory IPC identifier ID will be returned. After the new table is created, the memory KEY value of the new table is registered in the root node table. Then, the next time the business process queries the root node table, the KEY value of the new table can be found from the root node table, and the real memory table block can be found according to the KEY value, thereby obtaining the data in the new table. The database maintains a system root node table. The initialization of the root node table is the process of obtaining and recording the KEY values corresponding to the table names or other table attribute values of all customer tables and recording the version value of each table (such as the record row size). The root node table is the first flow node when the application process accesses the shared memory client table, and is the entry point for all client table queries.
[0057] For example, when an application calls customer table data of a database located in memory, the database obtains the customer table name or other table attribute value on which data operations need to be performed from the access request information based on the customer table, matches the KEY value corresponding to the customer table name or other attribute value in the root node table, finds the memory table block location where the customer table is located based on the KEY value, and accesses the real memory table.
[0058] Initialization of the field index information of the customer table refers to initializing the fields defined in the table, recording the starting and ending positions of each field in the object, and saving the field type and attributes. The field types include primary index, matching index, etc., and the table space size, maximum supported record number, total record number, and version information of the customer table must also be recorded.
[0059] Create primary key indexes for each table and load all configuration data into the database area in memory.
[0060] In this embodiment, an electronic device is provided, including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to execute the method in the above embodiment.
[0061] The above program can be run in the processor, or it can also be stored in the memory (or computer-readable medium), which includes permanent and non-permanent, removable and non-removable media. Information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0062] These computer programs can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in one or more blocks can be implemented by different modules corresponding to different steps.
[0063] Such a device or system is provided in this embodiment. The system is called a big data processing system based on streaming computing, and includes: a first receiving module, used to receive a first data acquisition request from a database client, wherein the first data acquisition request is used to obtain data from a database server; a judgment module, used to parse the first data acquisition request and determine whether the data acquired by the first data acquisition request includes the first data; wherein the first data is data that needs to be calculated to obtain, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data it stores; a first sending module, used to send a second data acquisition request to the database server when including the first data, wherein the second data acquisition request is used to obtain each column used to calculate the first data respectively; a calculation module, used to receive each column returned by the database server for calculating the first data, and calculate each column to obtain the first data; a second sending module, used to send the calculated first data to the database client as a response to the first data acquisition request.
[0064] The system or device is used to implement the functions of the method in the above-mentioned embodiment. Each module in the system or device corresponds to each step in the method, which has been explained in the method and will not be repeated here.
[0065] Optionally, the steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
[0066] Optionally, the first sending module is used to: when the first data is included, determine the number of data included in the first data acquisition request; when the number of data is greater than a threshold, send the second data acquisition request to the database server; when the number of data is less than or equal to the threshold, send the first data acquisition request to the database server.
[0067] Optionally, it also includes: a second receiving module, used to receive data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server for multiple columns; a third sending module, used to send the data returned by the database server to the database client.
[0068] The above implementation solves the problem that the service quality of the database server is affected when the database client obtains a large amount of data that requires calculation of fields, thereby reducing the calculation burden of the database server and improving the service quality of the database server to a certain extent.
[0069] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A big data processing method based on streaming computing, characterized in that: include: Receiving a first data acquisition request from a database client, wherein the first data acquisition request is used to acquire data from a database server; Parsing the first data acquisition request, and determining whether the data acquired by the first data acquisition request includes first data; wherein the first data is data that needs to be calculated to be obtained, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data stored therein; In the case of including the first data, sending a second data acquisition request to the database server, wherein the second data acquisition request is used to respectively acquire each column used to calculate the first data; receiving each column for calculating the first data returned by the database server, and calculating each column to obtain the first data; The calculated first data is sent to the database client as a response to the first data acquisition request.
2. The method according to claim 1, characterized in that The steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
3. The method according to claim 1, characterized in that Sending a second data acquisition request to the database server in the case of including the first data includes: In the case where the first data is included, determining the number of data items included in the first data acquisition request; When the number of the data is greater than a threshold, sending the second data acquisition request to the database server; When the number of the data is less than or equal to the threshold, a first data acquisition request is sent to the database server.
4. The method according to claim 3, characterized in that After sending the first data acquisition request to the database server, the method further includes: Receiving data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server on multiple columns; The data returned by the database server is sent to the database client.
5. A big data processing system based on streaming computing, characterized in that: include: A first receiving module, configured to receive a first data acquisition request from a database client, wherein the first data acquisition request is used to acquire data from a database server; a judgment module, configured to parse the first data acquisition request and judge whether the data acquired by the first data acquisition request includes first data; wherein the first data is data that needs to be calculated to be obtained, and the calculation is a logical and / or mathematical calculation performed by the database server on at least two columns of the data stored therein; A first sending module, configured to send a second data acquisition request to the database server in the case of including the first data, wherein the second data acquisition request is used to respectively acquire each column used to calculate the first data; a calculation module, configured to receive each column for calculating the first data returned by the database server, and calculate each column to obtain the first data; The second sending module is used to send the calculated first data to the database client as a response to the first data acquisition request.
6. The system according to claim 5, characterized in that The steps in the method are executed by computing software, wherein the computing software is independent of the database client and the database server, and the database server is connected to the database client through the computing software.
7. The system according to claim 5, characterized in that The first sending module is used for: In the case where the first data is included, determining the number of data items included in the first data acquisition request; When the number of the data is greater than a threshold, sending the second data acquisition request to the database server; When the number of the data is less than or equal to the threshold, a first data acquisition request is sent to the database server.
8. The system according to claim 7, characterized in that Also includes: A second receiving module is used to receive data returned by the database server in response to the first data acquisition request, wherein the returned data includes the first data, and the first data is calculated by the database server on multiple columns; The third sending module is used to send the data returned by the database server to the database client.
9. A server comprising a memory and a processor; wherein: The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps described in any one of claims 1 to 4.
10. A readable storage medium having computer instructions stored thereon, wherein: When the computer instructions are executed by a processor, the method steps described in any one of claims 1 to 4 are implemented.
