Data processing method and device, electronic equipment and storage medium
By configuring the target summary template according to project attributes during data summary, and directly extracting summary data from subsystem data, the problems of low data summary efficiency and poor maintainability are solved, and efficient data summary and maintenance are achieved.
Patent Information
- Application Number
- CN202410920046.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-18
AI Technical Summary
In the subsystems associated with the overall system, data aggregation is inefficient and not conducive to data maintenance.
When receiving data summary instructions, the items to be deployed are determined based on project attributes, and the default data summary template is configured based on the template configuration information to generate a target summary template, thereby directly extracting target summary data from the business detail data of the subsystem.
It reduces the workload in the data aggregation process, improves the efficiency of data aggregation, and improves the maintainability of subsystem data.
Smart Images

Figure CN118796913A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of all industries, business changes are becoming faster and faster, and the logic of business detail data interaction between systems is becoming more and more complex.
[0003] At present, when aggregating and maintaining data in at least one subsystem associated with the overall system, it is usually necessary to perform information statistics on the data information of each subsystem separately. However, such a data aggregation method has the problem of low data processing efficiency and is not conducive to the overall system's data maintenance of the business data of the associated subsystems.
[0004] In order to solve the above problems, the data aggregation method needs to be improved. Summary of the invention
[0005] The present invention provides a data processing method, device, electronic device and storage medium to solve the problems of low data aggregation efficiency and poor data maintenance effect for the business detail data of subsystems associated with the overall system when aggregating the business detail data of the subsystems.
[0006] In a first aspect, an embodiment of the present invention provides a data processing method, including:
[0007] Upon receiving the data aggregation instruction, determining at least one item to be deployed according to the project attributes contained in the data aggregation instruction;
[0008] Based on the template configuration information corresponding to each item to be deployed, the default data summary template is configured to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed;
[0009] Get the target summary data corresponding to each item to be summarized and display it.
[0010] In a second aspect, an embodiment of the present invention further provides a data processing device, including:
[0011] A to-be-deployed item determination module, configured to, upon receiving a data aggregation instruction, determine at least one to-be-deployed item according to project attributes contained in the data aggregation instruction;
[0012] A target summary template determination module, configured to perform template configuration on a default data summary template based on template configuration information corresponding to each item to be deployed, to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed;
[0013] The summary module is used to obtain the target summary data corresponding to each item to be summarized and display it.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the data processing method described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method described in any embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements a data processing method as described in any one of the embodiments of the present invention.
[0020] The technical solution of the embodiment of the present invention is to determine at least one item to be deployed according to the project attributes contained in the data summary instruction when receiving the data summary instruction; configure the default data summary template based on the template configuration information corresponding to each item to be deployed to obtain the target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; obtain the target summary data corresponding to each item to be summarized, and display it. In this technical solution, at least one item to be deployed is determined according to the data summary requirements, and the project deployment information corresponding to each item to be deployed is called to generate the corresponding item to be deployed, so as to configure the default data summary template based on the obtained item to be deployed. At this time, the items to be summarized corresponding to the data summary requirements have been deployed in the target summary template, and then the target summary data corresponding to each item to be summarized can be directly extracted from the business detail data of the acquired subsystem; wherein the items to be summarized correspond to the items to be deployed. That is to say, by configuring the default data summary template, when there is no need to separately count the business detail data of each subsystem, the data extraction and summary can be automatically realized according to the configured items to be summarized, thereby reducing the workload in the data summary process and improving the data summary efficiency. At the same time, the method of realizing data summary based on template configuration of the data summary template can improve the data maintainability of the data summary of each subsystem.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a data processing method provided according to Embodiment 1 of the present invention;
[0024] Figure 2 is a flowchart of a specific example of a data processing method provided according to the first embodiment of the present invention;
[0025] Figure 3 is a flow chart of a data processing method provided according to Embodiment 2 of the present invention;
[0026] Figure 4is a structural schematic diagram of a data processing device provided according to Embodiment 3 of the present invention;
[0027] Figure 5 It is a structural schematic diagram of an electronic device for implementing the data processing method of an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention. The acquisition, transmission, storage, use, and processing of data in the technical scheme of this application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, certain software, components, or models that already exist in the industry may be mentioned. They should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical scheme of this application, but it does not mean that the applicant has or will necessarily use the scheme.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0030] Embodiment 1
[0031] Figure 1 A flowchart of a data processing method is provided for the first embodiment of the present invention. This embodiment can be applied to updating a preset default data summary template according to data summary requirements to obtain a target summary template, and then obtaining target summary data corresponding to each summary item from the business detail data uploaded by the subsystem according to the summary items in the target summary template. The method can be executed by a data processing device, which can be implemented in the form of hardware and / or software, and can be configured in a computing device that can execute the data processing method.
[0032] like Figure 1 As shown, the method includes:
[0033] S110. When a data aggregation instruction is received, determine at least one item to be deployed according to project attributes included in the data aggregation instruction.
[0034] Among them, the data aggregation instruction can be understood as an instruction for obtaining the business detail data of the subsystem associated with the overall system and aggregating the acquired business detail data. Project attributes refer to the data category attributes corresponding to the business detail data. In the present technical scheme, in order to facilitate the aggregation of the business detail data of each subsystem associated with the overall system, a default data aggregation template can be set in advance, so as to obtain a target aggregation template by updating the template information in the default data aggregation template, thereby realizing data aggregation of the business detail data of the subsystem based on the target aggregation template, wherein the items to be deployed in the present technical scheme refer to the configuration items deployed on the target aggregation template according to the project attributes of the business detail data of the subsystem.
[0035] In the prior art, since there can be multiple subsystems associated with the overall system, when querying or updating the business detail data of each subsystem, it is often necessary to customize the data summary of each subsystem. However, such data aggregation method is not flexible enough, the data statistical aggregation efficiency is low, and it is not conducive to the overall system's maintenance of the business detail data of each subsystem.
[0036] Based on this, in the present technical solution, when aggregating the business detail data of each subsystem, a target summary template can be pre-built, and when it is necessary to summarize the business detail data of a certain subsystem, the template update operation can be directly performed on the target summary template, and then the business detail data of the subsystem can be summarized according to the updated target summary template, thereby simplifying the process of statistically summarizing data for each subsystem separately, improving the convenience of data summarization, and reducing the difficulty of data management and maintenance of each subsystem.
[0037] Optionally, determining at least one item to be deployed based on project attributes contained in the data summary instruction includes: parsing the data summary instruction to obtain a target summary requirement corresponding to the total system; performing keyword detection on the project attribute information contained in the target summary requirement to obtain at least one item to be deployed.
[0038] The target summary requirement refers to the summary requirement when the overall system collects statistics on the business detail data of the subsystem. For example, the target summary requirement may be to summarize the sales data of Category A products in the subsystem.
[0039] For example, the overall system needs to count the sales of Class A products of the subsystem. Generally speaking, the overall system's division of product granularity is relatively rough, while the subsystem's classification of each type of product is more detailed. For example, Class A1, A2, and A3 products in the subsystem all belong to Class A products of the overall system. Therefore, when the overall system counts the sales data of Class A products of the subsystem, it needs to summarize the sales data of all products in the subsystem that are subordinate to Class A products. Based on this, when summarizing the sales data of Class A products, the overall system can generate corresponding data summary instructions, and obtain target summary requirements by parsing the data summary instructions, and then obtain at least one item to be deployed by performing keyword detection on the project attribute information in the target summary requirement, so as to configure the default data summary template based on each item to be deployed to obtain the target summary template.
[0040] Specifically, the default data summary template includes Class A product category items, and the corresponding project attributes are determined according to at least one product category item belonging to Class A products in the subsystem, and to-be-deployed items corresponding to each project attribute are generated, that is, A1 products, A2 products and A3 products, and the default data summary template is updated based on each to-be-deployed item to obtain a target summary template, so as to summarize the product sales data belonging to Class A products in the subsystem based on the target summary template.
[0041] S120: Perform template configuration on the default data summary template based on the template configuration information corresponding to each item to be deployed, to obtain a target summary template.
[0042] The default data summary template refers to a data summary template pre-set in the overall system, and the default data summary template is an editable and configurable template. The template configuration information can be understood as background configuration information used to generate items to be deployed. The template configuration information can be a code program, or it can be configuration information generated by configuring a pre-set information editing page.
[0043] For example, configuration items can be added to the default data summary template by customization, and configuration items existing in the default data summary template can be deleted or updated, so as to obtain a target summary template after updating the default data summary template.
[0044] In a specific example, Figure 2As shown, based on the trigger control in the target display interface, the newly added table model (i.e., the default data summary template) is called, and at least one to-be-deployed item corresponding to the subsystem is determined according to the data summary instruction. Among them, each to-be-deployed item needs to be generated by inputting the corresponding template configuration information in the background operation page. Specifically, in the target display page, the actual database table information and the actual database column information (i.e., the template configuration information) corresponding to the to-be-deployed item are edited to obtain the to-be-deployed item that can be deployed in the default data summary table, and then the default data summary template is updated based on the generated to-be-deployed items to obtain the target summary template.
[0045] S130: Obtain target summary data corresponding to each item to be summarized, and display it.
[0046] In the technical solution, the target summary template includes at least one item to be summarized, each item to be summarized corresponds to the item to be deployed. The item to be summarized refers to the item to be deployed that has been deployed in the target summary template, and is used to distinguish it from the item to be deployed that has not been deployed in the default data summary template.
[0047] The target summary data refers to the data corresponding to the items to be summarized in the business detail data of the subsystem.
[0048] Based on the above example, at least one item to be summarized is included in the target summary template. The business detail data of the subsystem can be summarized by obtaining the business detail data corresponding to the subsystem and extracting the target summary data corresponding to the item to be summarized from the business detail data. Furthermore, in order to conveniently display the subsystem data summary results to the user, the summary data of the subsystem can be displayed, such as generating an EXCEL table based on the target summary data for display, or rendering the target summary data to obtain a statistical chart corresponding to the target summary data for display, etc.
[0049] Optionally, target summary data corresponding to each item to be summarized is obtained, including: obtaining business detail data uploaded by at least one subsystem associated with the overall system; for each subsystem, performing entity extraction on the business detail data of the current subsystem to obtain at least one business attribute item; according to the item to be summarized, determining a target attribute item from at least one business attribute item, and extracting data from the business detail data corresponding to the target attribute item to obtain target summary data corresponding to the item to be summarized.
[0050] Among them, the business attribute item is the entity object corresponding to the data category corresponding to the business detail data, such as product category, region, gender, age, and product characteristics. The target attribute item refers to the attribute item corresponding to the item to be summarized in the business attribute item corresponding to the business detail data of the subsystem. For example, if the item to be summarized is the product category, the target attribute item is the product category item in the business detail data of the subsystem.
[0051] Among them, at least one entity extraction method can be used when extracting entities from the business detail data of the subsystem, for example, an entity extraction method based on preset rules, an entity extraction method based on statistical machine learning, and an entity extraction method based on deep learning of neural networks.
[0052] Exemplarily, the business detail data uploaded by the subsystem includes A1 products, A2 products, A3 products and B products, and the gender, age and sales area of the sales users corresponding to each type of product are divided more finely. When the main system summarizes the business detail data of the subsystem, it only needs to summarize and count the sales data of the business detail data belonging to Class A products and the purchasing users belonging to Region 1. Then, the items to be summarized in the target summary template include Class A products and Region 1. Specifically, entity extraction is performed on the business detail data of the subsystem based on at least one entity extraction method to obtain at least one business attribute item, and a target attribute item is determined from the at least one business attribute item according to the item to be summarized. Furthermore, the sales data of the products belonging to Class A and the purchasing users in Region 1 are extracted from the business detail data of the subsystem (that is, the target summary data corresponding to the target attribute item), and the target summary data is displayed.
[0053] The technical solution of the embodiment of the present invention is to determine at least one item to be deployed according to the project attributes contained in the data summary instruction when receiving the data summary instruction; configure the default data summary template based on the template configuration information corresponding to each item to be deployed to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; obtain the target summary data corresponding to each item to be summarized, and display it. In this technical solution, at least one item to be deployed is determined according to the data summary requirements, and the project deployment information corresponding to each item to be deployed is called to generate the corresponding item to be deployed, so as to configure the default data summary template based on the obtained item to be deployed. At this time, the items to be summarized corresponding to the data summary requirements have been deployed in the target summary template, and then the target summary data corresponding to each item to be summarized can be directly extracted from the business detail data of the acquired subsystem, wherein the items to be summarized correspond to the items to be deployed. That is to say, by configuring the default data summary template, when there is no need to separately count the business detail data of each subsystem, the data extraction and summary can be automatically realized according to the configured items to be summarized, thereby reducing the workload in the data summary process and improving the data summary efficiency. At the same time, the method of realizing data summary based on template configuration of the data summary template can improve the data maintainability of the data summary of each subsystem.
[0054] Embodiment 2
[0055] Figure 3 A flowchart of a data processing method provided in Embodiment 2 of the present invention, optionally, a default data summary template is configured based on template configuration information corresponding to each item to be deployed, and the target summary template is obtained and refined.
[0056] like Figure 3 As shown, the method includes:
[0057] S210: When a data aggregation instruction is received, determine at least one item to be deployed according to the project attributes included in the data aggregation instruction.
[0058] S220 . For each item to be deployed, input the project deployment information corresponding to the current item to be deployed in the editing control of the preset information configuration interface.
[0059] The project deployment information includes at least one of database column description, database column name, data type, visibility attribute, primary key information and page layout information.
[0060] S230: Generate a to-be-configured item corresponding to the current to-be-deployed item according to the project deployment information.
[0061] In a specific example, when deploying each item to be deployed in the default data summary template, it is necessary to define the public abstract table and public abstract column corresponding to the item to be deployed according to the project deployment information corresponding to the item to be deployed, including database column description, database column name, data type, visibility attribute, primary key information, page layout information, etc. Among them, the table model name is the name of the item to be deployed displayed on the front end of the page, the table model description is the description information of the item to be deployed displayed on the front end of the page, the database table name is the table name used to store the item to be deployed, the database view name is the view name of the actual view of the item to be deployed, the table attribute can be used to describe the operation attribute of the item to be deployed, such as whether it is a read-only attribute, the table storage path is used to characterize the storage path of the item to be deployed in the server, the data start row refers to the row number where the data to be deployed starts and ends when it is imported, and the deployment location information and deployment size information of the item to be deployed in the default data summary template, etc.
[0062] It can be understood that when the configuration items to be deployed are actually deployed, other deployment methods can also be obtained based on program coding. The deployment method of the deployment items in this technical solution is only used as an example. The deployment method of the specific configuration items is not limited in this technical solution, as long as the deployment items can be configured in the default data summary template to generate the target summary template.
[0063] S240: Perform template configuration on the default data summary template based on all items to be configured to obtain a target summary template.
[0064] S250: Obtain target summary data corresponding to each item to be summarized, and display it.
[0065] In actual applications, when it is detected that the to-be-triggered control in the target summary template is triggered, a corresponding template update operation is performed according to the to-be-triggered configuration item corresponding to the to-be-triggered control and the control function corresponding to the to-be-triggered control.
[0066] The control to be triggered refers to a functional control on the target summary template. For example, the control to be triggered may be a modification control, a query control, a deletion control, or a data import control.
[0067] In this technical solution, the business detail data uploaded by the subsystem can be summarized and counted through the target summary template, and different data summary requirements for the business detail data of the subsystem can be applied directly by updating the items to be summarized on the target summary template. Based on this, in order to facilitate the realization of different data summary requirements, corresponding to-be-triggered controls can be set in the target summary template to implement the corresponding control function when the to-be-triggered control is detected to be triggered.
[0068] Exemplarily, when it is necessary to delete the item to be summarized in the target summary template, the delete control corresponding to the item to be summarized is directly triggered to update the target summary template. For example, the items to be summarized in the original target summary template include product category, sales area and gender of the purchasing user. According to the updated data summary requirements, it is not necessary to count the gender of the purchasing user. At this time, by triggering the delete control corresponding to "gender of the purchasing user", the item to be summarized can be deleted, and the business detail data corresponding to the item to be summarized in the subsystem will no longer be counted.
[0069] In a specific example, see again Figure 2 In this technical solution, the target summary template can be updated by operating the actual table data (i.e., the items to be summarized) in the target summary template. Specifically, during the update process, it is determined whether batch operations are required for the items to be summarized. If so, the to-be-triggered controls corresponding to each item to be summarized are triggered respectively, so as to perform batch data maintenance for each item to be summarized based on the target summary template; if not, the target summary template can be updated by triggering the to-be-triggered controls corresponding to a certain item to be summarized separately, and then the target summary data corresponding to the remaining items to be summarized are obtained based on the updated target summary template, so as to view the actual data table.
[0070] The advantage of this setting is that the template update operation of the target summary template can be directly performed to dynamically obtain the corresponding target summary data according to the data aggregation needs, without the need to re-statistic the business detail data in each subsystem one by one, thereby reducing the workload of data aggregation and improving the efficiency and accuracy of data aggregation. At the same time, by directly updating the template of the target summary template, the difficulty of maintaining and managing the business data of the subsystem can be reduced.
[0071] Optionally, when it is detected that the data import control is triggered, the target business detail data is determined from the business detail data, and a task to be imported corresponding to the target business detail data is generated; the task to be imported is asynchronously imported to display the import progress based on the task manager in the display interface.
[0072] In actual applications, since the amount of business detail data in the subsystem may be very large, the system performance of the current server may be affected when importing the business detail data. Based on this, in this technical solution, for the subsystem with business detail data whose data volume is greater than the preset data volume, task encapsulation processing can be performed before the subsystem uploads the business detail data to obtain the task to be imported, and the task to be imported can be asynchronously imported into the server, and the task import progress of the task to be imported can be monitored through the task manager of the server's display interface until the task to be imported is completely imported successfully, and then data query is performed directly based on the task manager to obtain the target summary data corresponding to the subsystem in the future.
[0073] The technical solution of the embodiment of the present invention is to determine at least one item to be deployed according to the project attributes contained in the data summary instruction when receiving the data summary instruction; configure the default data summary template based on the template configuration information corresponding to each item to be deployed to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; obtain the target summary data corresponding to each item to be summarized, and display it. In this technical solution, at least one item to be deployed is determined according to the data summary requirements, and the project deployment information corresponding to each item to be deployed is called to generate the corresponding item to be deployed, so as to configure the default data summary template based on the obtained item to be deployed. At this time, the items to be summarized corresponding to the data summary requirements have been deployed in the target summary template, and then the target summary data corresponding to each item to be summarized can be directly extracted from the business detail data of the acquired subsystem, wherein the items to be summarized correspond to the items to be deployed. That is to say, by configuring the default data summary template, when there is no need to separately count the business detail data of each subsystem, the data extraction and summary can be automatically realized according to the configured items to be summarized, thereby reducing the workload in the data summary process and improving the data summary efficiency. At the same time, the method of realizing data summary based on template configuration of the data summary template can improve the data maintainability of the data summary of each subsystem.
[0074] Embodiment 3
[0075] Figure 4 This is a schematic diagram of the structure of a data processing device provided in Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a to-be-deployed item determination module 310 , a target summary template determination module 320 and a summary module 330 .
[0076] The to-be-deployed item determination module 310 is used to determine at least one to-be-deployed item according to the project attributes contained in the data summary instruction when receiving the data summary instruction;
[0077] The target summary template determination module 320 is used to configure the default data summary template based on the template configuration information corresponding to each item to be deployed, so as to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to an item to be deployed;
[0078] The summarizing module 330 is used to obtain target summary data corresponding to each item to be summarized and display it.
[0079] The technical solution of the embodiment of the present invention is to determine at least one item to be deployed according to the project attributes contained in the data summary instruction when receiving the data summary instruction; configure the default data summary template based on the template configuration information corresponding to each item to be deployed to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; obtain the target summary data corresponding to each item to be summarized, and display it. In this technical solution, at least one item to be deployed is determined according to the data summary requirements, and the project deployment information corresponding to each item to be deployed is called to generate the corresponding item to be deployed, so as to configure the default data summary template based on the obtained item to be deployed. At this time, the items to be summarized corresponding to the data summary requirements have been deployed in the target summary template, and then the target summary data corresponding to each item to be summarized can be directly extracted from the business detail data of the acquired subsystem, wherein the items to be summarized correspond to the items to be deployed. That is to say, by configuring the default data summary template, when there is no need to separately count the business detail data of each subsystem, the data extraction and summary can be automatically realized according to the configured items to be summarized, thereby reducing the workload in the data summary process and improving the data summary efficiency. At the same time, the method of realizing data summary based on template configuration of the data summary template can improve the data maintainability of the data summary of each subsystem.
[0080] Optionally, the module for determining items to be deployed includes: a demand determination unit for parsing the data general instruction to obtain a target summary demand corresponding to the general system;
[0081] The to-be-deployed item determination unit is used to perform keyword detection on the project attribute information included in the target summary requirement to obtain at least one to-be-deployed item.
[0082] Optionally, the target summary template determination module includes: a deployment information determination unit, which is used to input project deployment information corresponding to the current item to be deployed in an editing control of a preset information configuration interface for each item to be deployed; wherein the project deployment information includes at least one of a database column description, a database column name, a data type, a visibility attribute, a primary key information, and a page layout information;
[0083] A to-be-configured item determination unit, used to generate a to-be-configured item corresponding to the current to-be-deployed item according to the project deployment information;
[0084] The target summary template determination unit is used to perform template configuration on the default data summary template based on all the items to be configured to obtain the target summary template.
[0085] Optionally, the target summary template determination module is also used to perform corresponding template update operations according to the to-be-triggered control corresponding to the to-be-triggered control and the control function corresponding to the to-be-triggered control when it is detected that the to-be-triggered control in the target summary template is triggered; wherein the to-be-triggered control includes at least one of a modification control, a query control, a deletion control or a data import control.
[0086] Optionally, the target summary template determination module is also used to determine the target business detail data from the business detail data when it detects that the data import control is triggered, and generate a task to be imported corresponding to the target business detail data; and perform an asynchronous import operation on the task to be imported to display the import progress based on the task manager in the display interface.
[0087] Optionally, the summary module includes: a detailed data acquisition unit, used to acquire business detailed data uploaded by at least one subsystem associated with the overall system;
[0088] A business attribute item determination unit is used to extract entity from the business detail data of the current subsystem for each subsystem to obtain at least one business attribute item;
[0089] The summary data determination unit is used to determine a target attribute item from at least one business attribute item according to the item to be summarized, and extract the business detail data corresponding to the target attribute item to obtain the target summary data corresponding to the item to be summarized.
[0090] The data processing device provided in the embodiment of the present invention can execute the data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0091] Embodiment 4
[0092] Figure 5 A schematic diagram of the structure of an electronic device 10 of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0093] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0094] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0095] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a data processing method.
[0096] In some embodiments, the data processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data processing method in any other appropriate manner (e.g., by means of firmware).
[0097] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0098] The computer program for implementing the data processing method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0099] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0100] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0101] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0102] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0103] Embodiment 5
[0104] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method provided in any embodiment of the present application.
[0105] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0106] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0107] 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 can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A data processing method, It is characterized in that include: Upon receiving the data aggregation instruction, determining at least one item to be deployed according to the project attributes contained in the data aggregation instruction; Based on the template configuration information corresponding to each item to be deployed, the default data summary template is configured to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; Get the target summary data corresponding to each item to be summarized and display it.
2. The method according to claim 1, It is characterized in that The determining at least one item to be deployed according to the project attributes included in the data aggregation instruction includes: Parsing the data general instruction to obtain the target summary requirements corresponding to the overall system; Keyword detection is performed on the project attribute information included in the target summary requirement to obtain at least one item to be deployed.
3. The method according to claim 1, It is characterized in that The step of configuring the default data summary template based on the template configuration information corresponding to each item to be deployed to obtain a target summary template includes: For each item to be deployed, input the project deployment information corresponding to the current item to be deployed in the editing control of the preset information configuration interface; wherein the project deployment information includes at least one of database column description, database column name, data type, visibility attribute, primary key information and page layout information; Generate a to-be-configured item corresponding to the current to-be-deployed item according to the project deployment information; The default data summary template is configured based on all the items to be configured to obtain a target summary template.
4. The method according to claim 3, It is characterized in that Also includes: When it is detected that the to-be-triggered control in the target summary template is triggered, a corresponding template update operation is performed according to the to-be-triggered item corresponding to the to-be-triggered control and the control function corresponding to the to-be-triggered control; wherein the to-be-triggered control includes at least one of a modification control, a query control, a deletion control or a data import control.
5. The method according to claim 3, It is characterized in that Also includes: When it is detected that the data import control is triggered, target business detail data is determined from the business detail data, and a task to be imported corresponding to the target business detail data is generated; An asynchronous import operation is performed on the task to be imported, so as to display the import progress based on the task manager in the display interface.
6. The method according to claim 1, It is characterized in that The step of obtaining target summary data corresponding to each item to be summarized includes: Obtaining business detail data uploaded by at least one subsystem associated with the overall system; For each subsystem, perform entity extraction on the business detail data of the current subsystem to obtain at least one business attribute item; According to the item to be summarized, a target attribute item is determined from at least one of the business attribute items, and business detail data corresponding to the target attribute item is extracted to obtain target summary data corresponding to the item to be summarized.
7. A data processing device, It is characterized in that include: A to-be-deployed item determination module, configured to, upon receiving a data aggregation instruction, determine at least one to-be-deployed item according to project attributes contained in the data aggregation instruction; A target summary template determination module, configured to perform template configuration on a default data summary template based on template configuration information corresponding to each item to be deployed, to obtain a target summary template; wherein the target summary template includes at least one item to be summarized, and each item to be summarized corresponds to the item to be deployed; The summary module is used to obtain the target summary data corresponding to each item to be summarized and display it.
8. The device according to claim 7, It is characterized in that The module for determining items to be deployed includes: A demand determination unit, used to parse the data general instruction to obtain a target summary demand corresponding to the overall system; The to-be-deployed item determination unit is configured to perform keyword detection on the project attribute information included in the target summary requirement to obtain at least one to-be-deployed item.
9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the data processing method according to any one of claims 1 to 6.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data processing method according to any one of claims 1 to 6 when executed.
Citation Information
Patent Citations
Data batch processing method and device
CN103927314A
Data summarization method and device and terminal equipment
CN114168599A
Data summarization processing method and device, electronic equipment and storage medium
CN117542465A
Document summary display method and device, medium and equipment
CN118069708A
