Method, device and equipment for processing business data and computer readable medium

By building a business database and using business relationships to filter and output business data, it solves the problem of difficulty in writing scripts to adapt to multiple data formats, improves business data processing efficiency and ensures data security.

CN118606325APending Publication Date: 2024-09-06CHINA CONSTRUCTION BANK +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410944151.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In the existing technology, business data analysis results are mostly output by writing scripts, which is difficult to apply to business data in multiple different formats, resulting in low efficiency in processing business data.

Method used

Determine data flow by utilizing business relationships between multiple data sources, associate original data tables to build a business database, respond to business data report requests, filter and output business data based on user permissions and filtering conditions, and use object storage components to push business data reports.

Benefits of technology

It improves the efficiency of processing business data from multiple data sources, ensures data security, and is suitable for multiple data formats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606325A
    Figure CN118606325A
Patent Text Reader

Abstract

The invention discloses a business data processing method, device and equipment and a computer readable medium, and relates to the technical field of big data. A specific embodiment of the method comprises the following steps: determining a data stream of a business relationship by utilizing the business relationship among a plurality of data sources, and associating original data tables of the plurality of data sources to construct a business database; according to the user identifier in the business data report construction request, determining that the business data query authority exists, and configuring report indexes and business data screening conditions based on the business data query authority; according to a service data range of a service data report in the service data report request, screening service data of the service data report request in a service database according to a service data screening condition, and configuring report indexes and the service data of the service data report request according to a query service authority; and constructing and outputting a business data report. According to the embodiment, the business data processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method, device, equipment and computer-readable medium for processing business data. Background Art

[0002] As the business areas increase, business data increases, and the amount of data also increases. After the business data is analyzed, a variety of business data analysis results are output.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: business data analysis results are mostly output through scripting. Since business data comes from multiple business fields, scripting is difficult to apply to business data in various formats, resulting in low efficiency in processing business data. Summary of the invention

[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and computer-readable medium for processing business data, which can improve the efficiency of processing business data.

[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for processing business data is provided, comprising:

[0006] Determine the data flow of the business relationship by using the business relationship between the multiple data sources, and associate the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources;

[0007] In response to a request to construct a business data report, determining that the user has permission to query business data according to a user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the permission to query business data;

[0008] According to the business data scope of the business data report in the business data report request, the business data for constructing the business data report request is filtered out in the business database according to the business data filtering conditions, and the business data for constructing the business data report request is constructed and output according to the report indicators configured in the query business authority and the business data for constructing the business data report request.

[0009] The method of using the business relationship between the multiple data sources to determine the data flow of the business relationship, and associating the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources includes:

[0010] Acquire a business relationship between multiple data sources based on the business operation identifier, and determine a data flow of the business relationship based on input business data of the business relationship and output business data of the business relationship;

[0011] The fields in the original data tables of the plurality of data sources are associated according to the data flow of the business relationship, and a business database for processing the business data in the data sources is constructed based on the associated fields in the original data tables.

[0012] The step of constructing a business database for processing business data in the data source based on the associated fields in the original data table includes:

[0013] storing the associated fields in the original data table in a front-end database, cleaning the associated fields in the original data table in the front-end database and converting the format, and sending the data in the converted format;

[0014] In the operational data storage database, the data after the conversion format is obtained as a business database for processing the business data in the data source, and the business database is updated at a preset period.

[0015] The step of responding to the request for building a business data report, determining that the user has the authority to query business data according to the user identifier in the request for building a business data report, and configuring report indicators and business data screening conditions based on the query business authority, includes:

[0016] In response to a request for building a business data report, obtaining a queryable business data table according to a user identifier in the request for building a business data report, and determining an operation authority of the business data in the queryable business data table corresponding to the user identifier;

[0017] The report indicators and the business data screening conditions are configured according to the fields of the queryable business data table.

[0018] The method further comprises: filtering out the business data for constructing the business data report request according to the business data scope of the business data report in the business data report request according to the business data screening condition in the business database, and constructing and outputting the business data report according to the query business authority configuration report indicator and the business data for constructing the business data report request, including:

[0019] According to the business data report identifier and the data range identifier in the business data report request, identify the business data range of the business data report, and filter out the business data of the business data report request according to the business data range and the business data filtering condition in the business database;

[0020] After configuring the report indicators according to the query business authority, the business data of the business data report construction request is filled in, and the business data report is constructed and output.

[0021] The filtering out the business data for the request to construct a business data report according to the business data range and the business data filtering condition in the business database includes:

[0022] Filter out business scope data according to the business data scope in the business database according to the business data filtering condition;

[0023] After cleaning the business scope data at the data warehouse layer, business association is performed to construct a summary data table;

[0024] Extract the business scope data corresponding to the query business authority configuration report indicator in the summary data table, use the corresponding business scope data as the business data for the request to construct a business data report, and push the business data for the request to construct a business data report according to the business data screening conditions.

[0025] The step of configuring report indicators according to the query business authority and the business data of the business data report construction request, and constructing and outputting a business data report includes:

[0026] Constructing a business data report according to the query business authority configuration report indicators and the business data of the business data report construction request;

[0027] A link to the business data report is established by using an object storage component, and the link to the business data report is pushed when the business data report is displayed.

[0028] According to a second aspect of an embodiment of the present invention, there is provided a device for processing service data, including:

[0029] A construction module, used to determine the data flow of the business relationship by using the business relationship between the multiple data sources, and to associate the original data tables of the multiple data sources according to the data flow of the business relationship, so as to construct a business database for processing the business data in the data sources;

[0030] A configuration module, configured to respond to a request for building a business data report, determine that the user has the authority to query business data according to the user identifier in the request for building a business data report, and configure report indicators and business data screening conditions based on the authority to query business data;

[0031] The output module is used to filter out the business data requested for building the business data report according to the business data scope of the business data report in the business data report request and according to the business data filtering conditions in the business database, and to configure the report indicators and the business data requested for building the business data report according to the query business authority, to build and output the business data report.

[0032] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for processing service data, including:

[0033] one or more processors;

[0034] a storage device for storing one or more programs,

[0035] When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.

[0036] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.

[0037] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the program is executed by a processor, the method as described above provided by an embodiment of the present invention is implemented.

[0038] One embodiment of the above invention has the following advantages or beneficial effects: using the business relationship between multiple data sources to determine the data flow of the business relationship, and according to the data flow of the business relationship, associating the original data tables of multiple data sources to construct a business database for processing business data in the data source; in response to a request to construct a business data report, determining the authority to query business data according to the user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the query business authority; according to the business data range of the business data report in the business data report request, filtering out the business data of the request to construct the business data report according to the business data screening conditions in the business database, and configuring report indicators and business data of the request to construct the business data report according to the query business authority, constructing and outputting a business data report. Data in multiple data sources with business relationships are stored in the business database. After the request to construct a business data report is verified, the business data report can be constructed and output, thereby improving the efficiency of processing business data in multiple data sources while ensuring data security.

[0039] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0041] Figure 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention;

[0042] Figure 2 is a schematic diagram of a process of associating original data tables of a plurality of data sources according to a data flow of a business relationship according to an embodiment of the present invention;

[0043] Figure 3 is a schematic diagram of a process for constructing a business database for processing business data in a data source according to an embodiment of the present invention;

[0044] Figure 4 It is a schematic diagram of a process for configuring report indicators and business data screening conditions based on query business permissions according to an embodiment of the present invention;

[0045] Figure 5 is a schematic diagram of a process of constructing and outputting a business data report according to an embodiment of the present invention;

[0046] Figure 6 is a schematic diagram of a process for filtering business data for building a business data report request according to an embodiment of the present invention;

[0047] Figure 7 is a schematic diagram of a process of building and pushing a business data report according to an embodiment of the present invention;

[0048] Figure 8 is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention;

[0049] Fig. 9 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0050] Fig.10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0052] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0053] Currently, business data analysis results are mostly output by writing scripts. As an example, after setting up a data source on a client, a user writes a script to output business data analysis results.

[0054] Writing scripts has a high technical threshold for ordinary users, and it is not compatible with business data from multiple data sources. The diversity of data sources, such as event business data, may come from different data sources. The structure of the tables in the data source is different. At this time, simply writing scripts is difficult to meet user needs.

[0055] In summary, since business data comes from multiple business fields, it is difficult to apply scripting to business data in a variety of different formats, resulting in low efficiency in processing business data.

[0056] In order to solve the low efficiency of processing business data, the following technical solution in the embodiment of the present invention can be adopted.

[0057] See also Figure 1 , Figure 1 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention. In a business database, business data is filtered out according to report indicators and filtering conditions to construct a business data report. Figure 1 As shown in 100, the following steps are specifically included.

[0058] S101. Determine the data flow of the business relationship by using the business relationship among multiple data sources, and associate the original data tables of the multiple data sources according to the data flow of the business relationship to build a business database for processing the business data in the data sources.

[0059] In the embodiment of the present invention, the data source is the source for obtaining the original business data. As an example, each business department corresponds to a data source. The deposit and withdrawal business department corresponds to data source 1; the loan business department corresponds to data source 2; and the wealth management business department corresponds to data source 3.

[0060] The business relationship between multiple data sources is used to determine the data flow of the business relationship. As an example, the business relationship includes that the deposit and withdrawal business department needs to send the balance to the loan business department.

[0061] When a business relationship is generated, a corresponding data flow of the business relationship appears. According to the data flow of the business relationship, the original data tables of multiple data sources are associated to build a business database for processing the business data in the data source.

[0062] See also Figure 2 That is 200, Figure 2 This is a schematic diagram of a process of associating original data tables of multiple data sources according to a data flow of a business relationship according to an embodiment of the present invention, which specifically includes the following steps.

[0063] S201. Obtain a business relationship between multiple data sources based on a business operation identifier, and determine a data flow of the business relationship based on input business data of the business relationship and output business data of the business relationship.

[0064] In an embodiment of the present invention, the business operation for the business data may be marked with a business operation identifier. As an example, the business operation identifier includes a loan business identifier.

[0065] The business relationship between multiple data sources is obtained based on the business operation identifier. In the process of performing business operations according to the business operation identifier, multiple data sources need to be involved. As an example, for the loan business, data source 1, data source 2 and data source 3 are involved in sequence, and the business relationship between multiple data sources includes: first operate the business data in data source 1, then operate the business data in data source 2, and finally operate the business data in data source 3.

[0066] Based on the input business data of the business relationship and the output business data of the business relationship, the data flow of the business relationship is determined. The input business data of the business relationship represents the input of business data into the data source. The output business data of the business relationship represents the acquisition of business data from the data source to determine the data flow of the business relationship.

[0067] S202: Correlate fields in original data tables of multiple data sources according to data flows of business relationships, and build a business database for processing business data in data sources based on the correlated fields in the original data tables.

[0068] The business relationship involves fields in the original data table of the data source, and the fields in the original data tables of multiple data sources can be associated according to the data flow of the business relationship. As an example, a JOIN operation is used to associate the fields in the original data tables of multiple data sources according to the data flow of the business relationship.

[0069] A business database for processing business data in a data source is built based on the associated fields in the original data table. The associated fields in the original data table are stored in the business database.

[0070] See also Figure 3 That is 300, Figure 3The present invention is a flowchart of constructing a business database for processing business data in a data source according to an embodiment of the present invention, which specifically includes the following steps.

[0071] S301, storing the associated fields in the original data table in the front-end database, cleaning the associated fields in the original data table in the front-end database and converting the format, and sending the data in the converted format.

[0072] In an embodiment of the present invention, a business database can be established by using a front-end database and an operation data storage database. The purpose of storing the associated fields in the original data table in the front-end database is to clean and convert the data. As an example, the front-end database includes a mysql database or an oracle database.

[0073] Clean the data to remove errors, duplications, and incomplete records to ensure data quality. Convert the data into the format required by the business database, including data type conversion, encoding conversion, etc. As an example, in the front-end database, convert the associated fields in different original data tables into a unified format to speed up data processing.

[0074] In the front-end database, the associated fields in the original data table are cleaned and converted into formats, and the converted data is sent.

[0075] S302: In the operation data storage database, the data after the conversion is obtained as a business database for processing the business data in the data source, and the business database is updated at a preset period.

[0076] The data in the operational data storage database is obtained from the front-end database. The operational data storage database can be used as a short-term storage and quick access point for the data after the format conversion.

[0077] In the operational data storage database, the data in the converted format can be directly obtained. Then, the obtained data in the converted format is used as a business database for processing the business data in the data source, and the business database is updated at a preset period. As an example, the business database is updated in a data increment manner at a preset period to ensure the update efficiency of the business database.

[0078] exist Figure 3 In the embodiment, a front-end database and an operation data storage database are used to establish and update a business database to improve the validity of business data in the business database.

[0079] S102: In response to a request for building a business data report, determine that the user has permission to query business data according to a user identifier in the request for building a business data report, so as to configure report indicators and business data screening conditions based on the permission to query business data.

[0080] In an embodiment of the present invention, a user sends a request for building a business data report through a user terminal. The user terminal can be accessed through a browser and can also be set in a terminal. As an example, the user terminal includes an application (APP).

[0081] In response to the request to build a business data report, the user ID in the request to build a business data report is used to determine whether the user has the permission to query business data. Only when the user has the permission to query business data can the report indicators and business data screening conditions be configured to build a business data report. If the user does not have the permission to query business data, it means that the user corresponding to the user ID does not have the permission to query business data, and therefore does not have the permission to build a business data report.

[0082] See also Figure 4 That is 400, Figure 4 The flowchart of configuring report indicators and business data screening conditions based on query business rights according to an embodiment of the present invention includes the following steps.

[0083] S401 , in response to a request for building a business data report, obtaining a queryable business data table according to a user identifier in the request for building a business data report, and determining an operation authority of business data in the queryable business data table corresponding to the user identifier.

[0084] A request for building a business data report is received, and a queryable business data table is obtained according to a user identifier in the request for building a business data report. The queryable business data table is a business data table for which the user has the right to query data.

[0085] As an example, according to the user ID in the request for building a business data report, the queryable business data table is known through the user authority control component. The user authority control component can obtain the queryable business data table based on the user ID. As an example, the user authority control component is implemented through Java and redis database. Using the user authority control component, the time for querying the queryable business data table is shortened.

[0086] After obtaining the queryable business data table according to the user ID in the request for building a business data report, it is possible to determine the operation authority of the business data in the queryable business data table corresponding to the user ID, that is, the user has the operation authority to query the business data in the queryable business data table.

[0087] As an example, the business data tables that can be queried corresponding to the user ID are Table 1 and Table 2. The user has the operation authority for the business data in Table 1 and Table 2. Since Table 3 is not a business data table that can be queried corresponding to the user ID, the user does not have the operation authority for the business data in Table 3.

[0088] S402: Configure report indicators and business data screening conditions according to the fields of the queryable business data table.

[0089] After determining the queryable business data table, configure the report indicators and business data filtering conditions based on the fields of the queryable business data table. As an example, the fields of the queryable business data table are displayed, and the report indicators are configured in the fields of the queryable business data table based on the user instructions. Determine the business data filtering conditions based on the business data filtering parameters in the user instructions. For example, the business data filtering parameters include: city A; department aa; the business data filtering conditions include: select business data involving city A and department aa.

[0090] exist Figure 4 In the embodiment, the business data table that can be queried is obtained according to the user identifier in the request for building a business data report, so as to limit the user's authority to operate the business data and ensure the security of the business data.

[0091] S103. According to the business data scope of the business data report in the business data report request, the business data for constructing the business data report request is filtered out in the business database according to the business data filtering conditions, and the report indicators and the business data for constructing the business data report request are configured according to the query business authority to construct and output the business data report.

[0092] The business data report request includes the business data scope of the business data report, which can be used as a basis for filtering business data. The business data for building the business data report request is filtered out in the business database according to the business data filtering conditions, and the report indicators and the business data for building the business data report request are configured according to the query business authority, and the business data report is built and output.

[0093] See also Figure 5 That is 500, Figure 5 The flowchart of constructing and outputting a business data report according to an embodiment of the present invention includes the following steps.

[0094] S501. Identify the business data range of the business data report according to the business data report identifier and the data range identifier in the business data report request, and filter out the business data for constructing the business data report request in the business database according to the business data range and the business data filtering condition.

[0095] The business data report request includes the business data report identifier and the data range identifier. The business data report identifier is used to obtain the business data report. The data range identifier is used to identify the business data range. As an example, if the data range identifier includes Hebei Province and the lower-level cities of Hebei Province, the business data range is determined to be: Hebei Province and the lower-level cities of Hebei Province.

[0096] Then, according to the business data range, the business data requested for building the business data report is filtered out in the business database according to the business data filtering conditions.

[0097] See also Figure 6 That is 600, Figure 6 The present invention is a flowchart of filtering out business data for requesting to construct a business data report according to an embodiment of the present invention. The flowchart specifically includes the following steps.

[0098] S601. Filter out business scope data in a business database according to a business data filter condition based on a business data scope.

[0099] After the business data scope is determined, the business scope data can be filtered out in the business database according to the business data filtering conditions based on the business data scope.

[0100] S602: After cleaning the business scope data at the data warehouse layer, business association is performed to construct a summary data table.

[0101] In order to improve the validity of business scope data, the data warehouse layer needs to clean the business scope data. As an example, cleaning includes removing empty data and aggregating into detailed fact data.

[0102] The cleaned business scope data is business-associated to construct a summary data table. As an example, the cleaned business scope data is business-associated based on the subject data to construct a summary data table. For example, the subject data includes one or more of matters, behaviors, and operations.

[0103] S603: extract the business scope data corresponding to the query business authority configuration report indicator in the summary data table, use the corresponding business scope data as the business data for constructing the business data report request, and push the business data for constructing the business data report request according to the business data screening conditions.

[0104] In order to obtain the business data for building a business data report request, the business scope data corresponding to the query business authority configuration report indicator is extracted from the summary data table, and the corresponding business scope data is used as the business data for building a business data report request.

[0105] In order to shorten the time for building a business data report, the business data requested for building a business data report can be pushed according to the business data screening conditions.

[0106] exist Figure 6 In the embodiment, the business data screening condition is used to screen out the business data for building the business data report request.

[0107] S502: After configuring report indicators according to the query business authority, fill in the business data requested for building a business data report, build and output the business data report.

[0108] After configuring the report indicators according to the query business authority, the report indicators are used as indicators of the business data report, and the business data for constructing the business data report request is filled in the business data table according to the indicators to obtain and output the business data report.

[0109] See also Figure 7 That is 700, Figure 7 The flowchart of constructing and pushing a business data report according to an embodiment of the present invention includes the following steps.

[0110] S701. Build a business data report according to the business data of the query business authority configuration report indicators and the business data of the business data report construction request.

[0111] The business authority configuration report indicators are used as indicators of the business data report, and the business data of the business data report construction request is filled with the indicators of the business data report to realize the construction of the business data report.

[0112] S702: Establish a link to the business data report using the object storage component, and push the link to the business data report when the business data report is displayed.

[0113] After building a business data report, in order to provide timely feedback on the business data report, you can use the object storage component to establish a link to the business data report, and push the link to the business data report when the business data report is displayed. The business data report can be obtained through the link to the business data report. In order to improve the security of the link, you can set the download permission and / or expiration time of the link to the business data report.

[0114] exist Figure 7 In the embodiment, the business data report is output by pushing a link of the business data report to improve the security of the business data report.

[0115] In the above-mentioned embodiment of the present invention, the business relationship between multiple data sources is used to determine the data flow of the business relationship, and the original data tables of multiple data sources are associated according to the data flow of the business relationship to construct a business database for processing business data in the data source; in response to a request to construct a business data report, the permission to query business data is determined according to the user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the query business permission; according to the business data range of the business data report in the business data report request, the business data of the request to construct the business data report is filtered out according to the business data screening conditions in the business database, and the report indicators and the business data of the request to construct the business data report are configured according to the query business permission, and the business data report is constructed and output. The data in multiple data sources with business relationships are stored in the business database. After the request to construct a business data report is verified, the business data report can be constructed and output, thereby improving the efficiency of processing business data in multiple data sources while ensuring data security.

[0116] See also Figure 8 , Figure 8 is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention. The device for processing business data can implement a method for processing business data, such as Figure 8 As shown in 800, the device for processing business data specifically includes:

[0117] A construction module 801 is used to determine the data flow of the business relationship by using the business relationship between multiple data sources, and to associate the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources;

[0118] Configuration module 802, for responding to a request for building a business data report, determining that the user has the authority to query business data according to the user identifier in the request for building a business data report, so as to configure report indicators and business data screening conditions based on the authority to query business data;

[0119] The output module 803 is used to filter out the business data of the business data report request according to the business data scope of the business data report in the business data report request, based on the business data filtering conditions in the business database, and to construct and output the business data report according to the query business authority configuration report indicators and the business data of the business data report request.

[0120] A method for processing business data, characterized by comprising:

[0121] Determine the data flow of the business relationship by using the business relationship between the multiple data sources, and associate the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources;

[0122] In response to a request to construct a business data report, determining that the user has permission to query business data according to a user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the permission to query business data;

[0123] According to the business data scope of the business data report in the business data report request, the business data for constructing the business data report request is filtered out in the business database according to the business data filtering conditions, and the business data for constructing the business data report request is constructed and output according to the report indicators configured in the query business authority and the business data for constructing the business data report request.

[0124] In one embodiment of the present invention, the construction module 801 is specifically used to obtain the business relationship between multiple data sources based on the business operation identifier, and determine the data flow of the business relationship based on the input business data of the business relationship and the output business data of the business relationship;

[0125] The fields in the original data tables of the plurality of data sources are associated according to the data flow of the business relationship, and a business database for processing the business data in the data sources is constructed based on the associated fields in the original data tables.

[0126] In one embodiment of the present invention, the construction module 801 is specifically used to store the associated fields in the original data table in the front-end database, clean the associated fields in the original data table in the front-end database and then convert the format, and send the data in the converted format;

[0127] In the operational data storage database, the data after the conversion format is obtained as a business database for processing the business data in the data source, and the business database is updated at a preset period.

[0128] In one embodiment of the present invention, the configuration module 802 is specifically configured to respond to a request for constructing a business data report, obtain a queryable business data table according to a user identifier in the request for constructing a business data report, and determine the operation authority of the business data in the queryable business data table corresponding to the user identifier;

[0129] The report indicators and the business data screening conditions are configured according to the fields of the queryable business data table.

[0130] In one embodiment of the present invention, the output module 803 is specifically used to identify the business data range of the business data report according to the business data report identifier and the data range identifier in the business data report request, and filter out the business data of the business data report request according to the business data range and the business data filtering condition in the business database;

[0131] After configuring the report indicators according to the query business authority, the business data of the business data report construction request is filled in, and the business data report is constructed and output.

[0132] In one embodiment of the present invention, the output module 803 is specifically used to filter out the business scope data according to the business data filtering condition in the business database according to the business data range;

[0133] After cleaning the business scope data at the data warehouse layer, business association is performed to construct a summary data table;

[0134] Extract the business scope data corresponding to the query business authority configuration report indicator in the summary data table, use the corresponding business scope data as the business data for the request to construct a business data report, and push the business data for the request to construct a business data report according to the business data screening conditions.

[0135] In one embodiment of the present invention, the output module 803 is specifically used to construct a business data report according to the query business authority configuration report index and the business data of the business data report construction request;

[0136] A link to the business data report is established by using an object storage component, and the link to the business data report is pushed when the business data report is displayed.

[0137] Fig. 9 An exemplary system architecture 900 is shown to which the method for processing business data or the apparatus for processing business data according to the embodiments of the present invention can be applied.

[0138] like Fig. 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, network 904 and server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0139] The user can use the terminal devices 901, 902, 903 to interact with the server 905 through the network 904 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0140] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0141] The server 905 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 901, 902, and 903. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0142] It should be noted that the method for processing business data provided in the embodiment of the present invention is generally executed by the server 905 , and accordingly, the device for processing business data is generally set in the server 905 .

[0143] It should be understood that Fig. 9 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0144] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for processing business data provided by the embodiment of the present invention is implemented.

[0145] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 1000 of a terminal device suitable for implementing an embodiment of the present invention. Fig.10 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0146] like Fig.10As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0147] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0148] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the present invention are executed.

[0149] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an 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 above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0150] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0151] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, they may be described as: a processor includes a construction module, a configuration module and an output module. The names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the construction module may also be described as "used to determine the data flow of the business relationship by utilizing the business relationship between multiple data sources, and to associate the original data tables of multiple data sources according to the data flow of the business relationship, so as to construct a business database for processing the business data in the data source".

[0152] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0153] Determine the data flow of the business relationship by using the business relationship between the multiple data sources, and associate the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources;

[0154] In response to a request to construct a business data report, determining that the user has permission to query business data according to a user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the permission to query business data;

[0155] According to the business data scope of the business data report in the business data report request, the business data for constructing the business data report request is filtered out in the business database according to the business data filtering conditions, and the business data for constructing the business data report request is constructed and output according to the report indicators configured in the query business authority and the business data for constructing the business data report request.

[0156] According to the technical solution of the embodiment of the present invention, the business relationship between multiple data sources is used to determine the data flow of the business relationship, and the original data tables of multiple data sources are associated according to the data flow of the business relationship to construct a business database for processing business data in the data source; in response to a request to construct a business data report, the user identifier in the request to construct a business data report is determined to have the authority to query business data, so as to configure report indicators and business data screening conditions based on the query business authority; according to the business data range of the business data report in the business data report request, the business data of the request to construct the business data report is filtered out according to the business data screening conditions in the business database, and the report indicators and the business data of the request to construct the business data report are configured according to the query business authority, and the business data report is constructed and output. The data in multiple data sources with business relationships are stored in the business database. After the request to construct a business data report is verified, the business data report can be constructed and output, thereby improving the efficiency of processing business data in multiple data sources while ensuring data security.

[0157] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0158] It should be noted that in the technical solution of the present invention, the collection, analysis, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Necessary measures should be taken for user personal information to prevent illegal access to such personal information data, ensure that persons who have access to personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. Once these user personal information data are no longer needed, the risks should be minimized by limiting or even prohibiting data collection and / or deleting data.

[0159] When applicable, including in certain relevant applications, protect user privacy by de-identifying data, such as by removing specific identifiers (e.g., date of birth, etc.) when applicable, controlling the amount or specificity of data stored (e.g., collecting location data at a city level rather than at a specific address level), controlling how data is stored, and / or other de-identification methods.

Claims

1. A method for processing business data, characterized in that: include: Determine the data flow of the business relationship by using the business relationship between the multiple data sources, and associate the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources; In response to a request to construct a business data report, determining that the user has permission to query business data according to a user identifier in the request to construct a business data report, so as to configure report indicators and business data screening conditions based on the permission to query business data; According to the business data scope of the business data report in the business data report request, the business data for constructing the business data report request is filtered out in the business database according to the business data filtering conditions, and the business data for constructing the business data report request is constructed and output according to the report indicators configured in the query business authority and the business data for constructing the business data report request.

2. The method for processing business data according to claim 1, characterized in that: The method of using the business relationship between the multiple data sources to determine the data flow of the business relationship, and associating the original data tables of the multiple data sources according to the data flow of the business relationship to construct a business database for processing the business data in the data sources includes: Acquire a business relationship between multiple data sources based on the business operation identifier, and determine a data flow of the business relationship based on input business data of the business relationship and output business data of the business relationship; The fields in the original data tables of the plurality of data sources are associated according to the data flow of the business relationship, and a business database for processing the business data in the data sources is constructed based on the associated fields in the original data tables.

3. The method for processing business data according to claim 2, characterized in that: The step of constructing a business database for processing business data in the data source based on the associated fields in the original data table includes: storing the associated fields in the original data table in a front-end database, cleaning the associated fields in the original data table in the front-end database and converting the format, and sending the data in the converted format; In the operational data storage database, the data after the conversion format is obtained as a business database for processing the business data in the data source, and the business database is updated at a preset period.

4. The method for processing business data according to claim 1, characterized in that: The step of responding to the request for building a business data report, determining that the user has the authority to query business data according to the user identifier in the request for building a business data report, and configuring report indicators and business data screening conditions based on the query business authority, includes: In response to a request for building a business data report, obtaining a queryable business data table according to a user identifier in the request for building a business data report, and determining an operation authority of the business data in the queryable business data table corresponding to the user identifier; The report indicators and the business data screening conditions are configured according to the fields of the queryable business data table.

5. The method for processing business data according to claim 1, characterized in that: The method further comprises: filtering out the business data for constructing the business data report request according to the business data scope of the business data report in the business data report request according to the business data screening condition in the business database, and constructing and outputting the business data report according to the query business authority configuration report indicator and the business data for constructing the business data report request, including: According to the business data report identifier and the data range identifier in the business data report request, identify the business data range of the business data report, and filter out the business data of the business data report request according to the business data range and the business data filtering condition in the business database; After configuring the report indicators according to the query business authority, the business data of the business data report construction request is filled in, and the business data report is constructed and output.

6. The method for processing business data according to claim 4, characterized in that: The filtering out the business data for the request to construct a business data report according to the business data range and the business data filtering condition in the business database includes: Filter out business scope data according to the business data range in the business database according to the business data filtering condition; After cleaning the business scope data at the data warehouse layer, business association is performed to construct a summary data table; Extract the business scope data corresponding to the query business authority configuration report indicator in the summary data table, use the corresponding business scope data as the business data for the request to construct a business data report, and push the business data for the request to construct a business data report according to the business data screening conditions.

7. The method for processing business data according to claim 1, characterized in that: The step of configuring report indicators according to the query business authority and the business data of the business data report construction request, and constructing and outputting a business data report includes: Constructing a business data report according to the query business authority configuration report indicators and the business data of the business data report construction request; A link to the business data report is established by using an object storage component, and the link to the business data report is pushed when the business data report is displayed.

8. A device for processing business data, characterized in that: include: A construction module, used to determine the data flow of the business relationship by using the business relationship between the multiple data sources, and to associate the original data tables of the multiple data sources according to the data flow of the business relationship, so as to construct a business database for processing the business data in the data sources; A configuration module, configured to respond to a request for building a business data report, determine that the user has the authority to query business data according to the user identifier in the request for building a business data report, and configure report indicators and business data screening conditions based on the authority to query business data; The output module is used to filter out the business data requested for building the business data report according to the business data scope of the business data report in the business data report request and according to the business data filtering conditions in the business database, and to configure the report indicators and the business data requested for building the business data report according to the query business authority, to build and output the business data report.

9. An electronic device for processing business data, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Authority control method and system, electronic equipment and computer readable storage medium

    CN110162994A

  • Artificial intelligence-based report generation method and device, electronic equipment and medium

    CN113722324A

  • Enterprise data authority control method and system based on business granularity

    CN115906179A

  • Business system report generation method and device, equipment and storage medium

    CN116611411A