Method, device, equipment and computer-readable storage medium for generating data briefing
By extracting fact units from tabular data and determining topics, and generating data briefings, the problem of information without topics in the prior art is solved, and the user experience and readability of reports is improved.
Patent Information
- Application Number
- CN202210219201.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-08
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-03-08
AI Technical Summary
In the prior art, the method based on manual data extraction results in the spread of generated information without topics and the report cannot be formed, resulting in the difficulty of reading by relevant staff and poor user experience.
By extracting fact units, including subspace and focus from the tabular data to be analyzed, determine the topic of the data briefing, and generate data briefings based on the topic and fact units, avoiding the time-consuming extraction of information manually and improving the subjectivity and ability of information Reading.
It realizes automated data extraction and report generation, improves user experience, avoids the problem of manual information extraction time, and solves the problem of information dispersion without topics.
Smart Images

Figure CN114741497B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and in particular, relates to a method, device, equipment and computer-readable storage medium for generating a data brief. Background Art
[0002] In daily life, there is often a need to collect statistics of various data and report them to relevant staff to provide feedback on business operation status or provide reference for decision-making. In related technologies, when facing this demand, key information is usually extracted from the data to be counted manually, and then the extracted information is fed back to relevant staff.
[0003] However, when the methods provided by related technologies are used, the information generated based on the data to be counted is usually scattered and has no theme, and cannot be formed into a report for relevant staff to read, which easily leads to problems such as difficulty in reading for relevant staff and poor user experience.
[0004] Therefore, how to improve the user experience of relevant staff when reading reports is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and computer-readable storage medium for generating a data brief, which can improve the user experience of relevant staff when reading reports.
[0006] In a first aspect, an embodiment of the present application provides a method for generating a data briefing, the method comprising:
[0007] Extracting fact units from the tabular data to be analyzed, the fact units including subspaces and focuses;
[0008] Determine the topic of the data brief to be generated based on the subspaces and foci contained in the factual unit;
[0009] Generate data briefs based on themes and factual units.
[0010] Optionally, extract fact units from the tabular data to be analyzed, including:
[0011] Traverse all dimension members of the tabular data and generate subspaces of the dimension members;
[0012] Determine the importance of the subspace, and select a target subspace that meets the importance threshold condition according to the importance of the subspace and a preset importance threshold condition;
[0013] The grouping structure of the target subspace in a preset dimension is determined, and the fact unit is determined according to the grouping structure.
[0014] Optionally, the method further includes:
[0015] Calculate the score of the fact unit according to the importance and significance of the subspace;
[0016] Based on the scores of the factual units, preferred factual units are selected from the factual units.
[0017] Optionally, the score of the fact unit is calculated based on the importance and significance of the subspace, including:
[0018] Perform weighted summation according to the importance, significance, and preset weights to obtain a weighted summation result;
[0019] The weighted sum result is used as the score of the fact unit.
[0020] Optionally, before extracting fact units from the tabular data to be analyzed, the method further includes:
[0021] Get the tabular data to be analyzed;
[0022] Determine the dimensions, indicators, basic attributes of dimensions, basic attributes of indicators, periods, and period formats of tabular data.
[0023] Optionally, generate data briefs based on themes and factual units, including:
[0024] According to the subspace and focus, the fact units are classified to obtain the classification results;
[0025] Based on the classification results, a set of fact units of the specified topic is generated;
[0026] Sorting the fact unit set, and selecting a preset number of fact units according to the sorting result;
[0027] Generate data briefings based on a preset number of fact units.
[0028] Optionally, generate a data brief based on a preset number of fact units, including:
[0029] Generate description information of each fact unit for a preset number of fact units;
[0030] Generate a data brief based on the description information.
[0031] In a second aspect, an embodiment of the present application provides a device for generating a data brief, the device comprising:
[0032] An extraction module, used for extracting fact units from the tabular data to be analyzed, wherein the fact units include subspaces and focuses;
[0033] A determination module, for determining a topic of a data brief to be generated according to the subspace and focus contained in the fact unit;
[0034] The generation module is used to generate data briefings based on themes and factual units.
[0035] Optionally, an extraction module to:
[0036] Traverse all dimension members of the tabular data and generate subspaces of the dimension members;
[0037] Determine the importance of the subspace, and select a target subspace that meets the importance threshold condition according to the importance of the subspace and a preset importance threshold condition;
[0038] The grouping structure of the target subspace in a preset dimension is determined, and the fact unit is determined according to the grouping structure.
[0039] Optionally, the device further comprises:
[0040] A calculation module, used for calculating the score of the fact unit according to the importance and significance of the subspace;
[0041] The selection module is used to select preferred fact units from the fact units according to the scores of the fact units.
[0042] Optional, compute module for:
[0043] Perform weighted summation according to the importance, significance, and preset weights to obtain a weighted summation result;
[0044] The weighted sum result is used as the score of the fact unit.
[0045] Optionally, the device further comprises:
[0046] The acquisition module is used to obtain the tabular data to be analyzed;
[0047] The information determination module is used to determine the dimensions, indicators, basic attributes of the dimensions, basic attributes of the indicators, periods and the format of the periods of the tabular data.
[0048] Optionally, generate modules, including:
[0049] The classification unit is used to classify the fact units according to the subspace and the focus to obtain the classification results;
[0050] A set generation unit, used to generate a set of fact units of a specified topic according to the classification results;
[0051] A sorting unit, used to sort the fact unit set and select a preset number of fact units according to the sorting result;
[0052] The report generating unit is used for generating a data brief report according to a preset number of fact units.
[0053] Optionally, a report generation unit for:
[0054] Generate description information of each fact unit for a preset number of fact units;
[0055] Generate a data brief based on the description information.
[0056] In a third aspect, an embodiment of the present application provides a device for generating a data briefing, the device comprising:
[0057] a processor and a memory storing computer program instructions;
[0058] When the processor executes the computer program instructions, the method for generating a data summary as described in any one of the first aspects above is implemented.
[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the method for generating a data brief as described in any one of the first aspects above is implemented.
[0060] The method, device, equipment and computer-readable storage medium for generating data briefs of the embodiments of the present application can extract fact units from the tabular data to be analyzed, and the fact units include subspaces and focuses; determine the subject of the data brief to be generated based on the subspaces and focuses contained in the fact units; generate the data brief based on the subject and the fact units. In this way, compared with the related art, on the one hand, since it does not rely on manual extraction when obtaining key information of the tabular data to be analyzed, it can avoid the problem of time-consuming manual information extraction in the related art. On the other hand, in the present application, it can determine the subject of the data brief to be generated based on the subspaces and focuses contained in the fact units; and then generate the data brief based on the subject and the fact units. In this way, the generated information in the related art is scattered without a subject, and it is impossible to form a report for the relevant staff to read, which makes it difficult for the relevant staff to read and the user experience is poor. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0062] Figure 1It is a flowchart of a method for generating a data brief provided by an embodiment of the present application;
[0063] Figure 2 It is a flowchart of a method for extracting fact units from tabular data to be analyzed provided by an embodiment of the present application;
[0064] Figure 3 It is a flowchart of a method for calculating fact unit scores and selecting preferred fact units provided by an embodiment of the present application;
[0065] Figure 4 It is a flowchart of a method for generating a data briefing based on a subject and a fact unit provided by an embodiment of the present application;
[0066] Figure 5 It is a structural schematic diagram of a device for generating a data brief provided by an embodiment of the present application;
[0067] Figure 6 It is a structural diagram of a device for generating a data brief provided in one embodiment of the present application. DETAILED DESCRIPTION
[0068] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0069] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0070] In daily life, there is often a need to collect statistics of various data and report them to relevant staff to provide feedback on business operation status or provide reference for decision-making. In related technologies, when facing this demand, key information is usually extracted from the data to be counted manually, and then the extracted information is fed back to relevant staff.
[0071] However, when the methods provided by related technologies are used, the information generated based on the data to be counted is usually scattered and has no theme, and cannot be formed into a report for relevant staff to read, which easily leads to problems such as difficulty in reading for relevant staff and poor user experience.
[0072] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and computer-readable storage medium for generating a data briefing. The method for generating a data briefing provided by the embodiments of the present application is first introduced below.
[0073] Figure 1 FIG. 1 is a flow chart showing a method for generating a data brief provided by an embodiment of the present application. Figure 1 As shown, the method includes the following steps S001 to S003:
[0074] S001. Extract fact units from tabular data to be analyzed, where the fact units include subspaces and focuses.
[0075] In one embodiment, before executing S001, data preparation work can also be performed. Specifically, tabular data can be imported first, and then a basic description of the imported tabular data can be performed, which can also be understood as a simple definition of the tabular data, or a definition of the basic structure of the tabular data, for example, specifying which columns are dimensions (for example, region, organization, customer, etc.), the basic attributes contained in the dimensions (for example, climate, field, gender), which columns are indicators (sales volume, sales), the basic attributes contained in the indicators (amount, unit, display method), which columns are periods, and the format and granularity of the periods.
[0076] Among them, the tabular data to be analyzed can be understood as the target data for which a data briefing needs to be generated.
[0077] The fact unit includes text information used to describe a chart. For example, in this application, a piece of text information used to describe a chart can be called a fact unit.
[0078] In an optional implementation, in addition to the subspace and focus, the fact unit may also include tabular data, the period, indicator, dimension, dimension member, subspace importance, expanded dimension, fact type, significance and other information elements of the tabular data.
[0079] Among them, subspace refers to a subset of data after specifying members on a specific dimension; focus refers to the specific member assigned a specific type of fact; period refers to the column used to represent time in tabular data; indicator refers to the numerical column other than period and dimension in tabular data; dimension refers to some enumeration type text columns other than period; dimension members represent specific members that make up the dimension; subspace importance is used to indicate the proportion of all data rows occupied by the subspace; expanded dimension refers to the grouping structure of the subspace on other dimensions; fact type is used to characterize the type information embodied in tabular data; significance is used to indicate the measure of significance of a specific type of fact.
[0080] The following is a further explanation of the various information elements involved in the above fact units with reference to examples.
[0081] For example, suppose there is a table of data as shown in Table 1 below:
[0082] Table 1
[0083]
[0084]
[0085] According to the contents shown in Table 1 above, it can be seen that the time columns of "1995" and "1996" in Table 1 are periods; the dimensions include text columns of enumeration types such as "province", "pollution source" and "department"; correspondingly, dimension members can include specific members that constitute the dimensions, for example, "coal", "natural gas" and "commercial sector" shown in Table 1 above; indicators include numerical columns such as "carbon dioxide", "sulfur dioxide" and "nitrogen monoxide" in addition to periods and dimensions.
[0086] Since the subspace refers to a data subset after specifying members on a specific dimension, assuming that the specific dimension is "province" and the specified member is "Hebei Province", the subspace includes {province = Hebei Province}. Continuing with this example, the focus includes {sector: industrial sector}.
[0087] like Figure 2 As shown, in this application, fact units can be extracted from the tabular data to be analyzed in the following manner:
[0088] S201, traverse all dimension members of the tabular data and generate a subspace of the dimension members.
[0089] In practical applications, all dimension members of tabular data can be traversed, and then the subspaces of dimension members can be enumerated by slicing and dividing the data table with different dimensions.
[0090] S202: Determine the importance of the subspace, and select a target subspace that meets the importance threshold condition according to the importance of the subspace and a preset importance threshold condition.
[0091] Optionally, considering that in the subsequent processing process, it is not actually necessary to operate on the subspaces of all dimensional members, therefore, in order to ensure the data processing efficiency, therefore, in the embodiment of the present application, the importance of the subspace can be determined, and based on the importance of the subspace and the preset importance threshold condition, the target subspace that meets the importance threshold condition is selected, so that only the target subspace can be processed subsequently, thereby improving the data processing efficiency.
[0092] The importance of the subspace can be determined based on the ratio of the number of valid rows in the subspace to the number of rows in the entire data set. For example, assuming that the entire data set {*} has 10,000 rows, and for the filtering condition {dimension = A}, the number of valid rows in the subspace is only 100 rows, then the importance of the subspace is 0.01 (100 / 10000 = 0.01).
[0093] Continuing with the above example, assuming that the preset importance threshold condition is: the importance of the subspace is greater than 0.01, then in this application, the BUC algorithm can be used to select the target subspace with an importance greater than 0.01 according to the importance of each subspace.
[0094] S203: Determine the grouping structure of the target subspace in a preset dimension, and determine the fact unit according to the grouping structure.
[0095] With respect to the target subspace obtained in step S202, the present application can further determine the grouping structure of the target subspace in the preset dimension, and determine the fact unit based on the grouping structure. Among them, determining the grouping structure of the target subspace in the preset dimension can also be understood as expanding the dimension on the preset dimension. It should be noted that the preset dimension described in the present application can be any remaining dimension, and there is no limitation on this. In an optional embodiment, while expanding the dimension on the preset dimension, the aggregate value of any indicator can also be calculated.
[0096] For example, as shown in Table 2 below, assuming that the subspace is {Province = Hebei Province}, the columns where "Period" and "Pollution Source" are located represent the aggregated columns, the column where "Department" is located represents the expanded dimension, and the column where "Carbon Dioxide, Sulfur Dioxide and Nitrogen Monoxide" is located represents the aggregated value of the indicator in the expanded dimension.
[0097] Table 2
[0098] period province Pollution Sources department carbon dioxide Sulfur dioxide Nitric Oxide Aggregated Hebei Province Aggregated Industrial sector 12 tons 24 tons 35 tons Aggregated Hebei Province Aggregated Business sector 2 tons 4 tons 5 tons ... ... .... ... ... ... ...
[0099] According to the contents shown in Table 2 above, a preset fact type check can be performed. For example, for carbon dioxide, it can be found that the proportion type fact: the proportion of the industrial sector is 75%, that is, the type of output of this type of fact is: proportion type; the focus is: industrial sector, and the significance is: 0.75 (12 / (12+2)=0.75).
[0100] The preset fact type check may be as shown in Table 3 below:
[0101] Table 3:
[0102]
[0103]
[0104] It should be noted that the fact type check listed in the above Table 3 is only an exemplary description of the embodiment of the present application and does not impose any limitation on the embodiment of the present application.
[0105] In an optional implementation, considering that the user's attention is limited and may not be able to focus on all fact units, in an embodiment of the present application, after obtaining the fact unit, the fact unit may be further evaluated (scored) so as to provide the user with the information that deserves the most attention.
[0106] When evaluating fact units, it is taken into consideration that in actual applications, the more important a subspace is, the more important the fact it represents is; the more significant the characteristics of a fact type are, the more important the fact it represents is. Therefore, in an embodiment of the present application, fact units can be scored based on the importance of the subspace and the significance of the fact type.
[0107] Specifically, Figure 3 As shown, in the present application, step 301 can be executed to calculate the score of the fact unit according to the importance and significance of the subspace; then, step 302 can be executed to select a preferred fact unit from the fact units according to the score of the fact unit.
[0108] Among them, the score of the fact unit is calculated according to the importance and significance of the subspace, which can be achieved by the following steps: weighted summation is performed according to the importance, significance, and preset weights to obtain a weighted summation result; and the weighted summation result is used as the score of the fact unit.
[0109] For example, in one implementation, the score of a fact unit may be determined according to the following calculation method:
[0110] The score of fact unit = weight 1 * importance of subspace + weight 2 * significance;
[0111] Among them, weight 1 and weight 2 can be determined based on actual experience, and this application does not limit this.
[0112] S002. Determine the subject of the data brief to be generated based on the subspace and focus contained in the fact unit.
[0113] In the present application, the topic can be determined according to the information elements in the fact unit, and considering that the subspace and focus are usually the most important information elements in a fact unit, the topic of the data brief to be generated can be determined according to the subspace and focus contained in the fact unit. Optionally, in one embodiment, the subspace and focus can be directly used to represent a specific topic.
[0114] In practical applications, the theme of the data briefing to be generated can be determined by "topic extraction". For example, using the above example, assuming the period is: 1995-2015; the subspace is: {province = Hebei Province}; the expanded dimension is: "department"; the indicator includes ["carbon dioxide"]; the type is: proportion; the focus is: {department: industrial sector}; the significance level is: {0.75}, then according to this part of the content, the following fact description content can be obtained: In Hebei Province from 1995 to 2015, the carbon dioxide emissions of the industrial sector accounted for 75% of the total.
[0115] Among them, in the factual description content, the subject "Hebei Province" is the main part of the description. At the same time, the highlighted "industrial sector" as the subject of the second half of the sentence is equally important. Therefore, in the embodiment of the present application, it can be considered that the above content has two themes: {Province = Hebei Province}, {Department: Industrial Sector}.
[0116] In an optional embodiment, information elements with the same subspace or focus may be integrated according to the theme to form an information set around a certain theme.
[0117] S003. Generate data briefings based on themes and factual units.
[0118] like Figure 4 As described, in the embodiment of the present application, a data briefing may be generated according to the subject and fact units according to the following steps S401 to S404.
[0119] S401. Classify fact units according to subspaces and focuses to obtain classification results.
[0120] In the present application, all fact units can be classified according to subspaces and focuses, and finally several fact unit sets about specific topics are formed.
[0121] S402: Generate a fact unit set of a specified topic based on the classification result.
[0122] S403 sorts the fact unit set and selects a preset number of fact units according to the sorting result.
[0123] In order to ensure the readability of the data report, after obtaining the fact unit set, the fact units can be further deleted. For example, 10 fact units can be used as the upper limit of the data briefing, and the redundant fact units can be deleted to ensure the readability of the subsequently generated data briefing.
[0124] At the same time, the scores of the factual units contained in each topic are sorted, a preset number of factual units are taken (for example, the top 10 factual units are taken), and then the scores of the remaining factual units are averaged, and the average is used as the final score of the report; and the reports are sorted from high to low according to their final scores to form a final report list.
[0125] S404 generates a data briefing according to a preset number of fact units.
[0126] The step of generating a data brief report according to a preset number of fact units includes: generating description information of each fact unit for the preset number of fact units; and generating a data brief report according to the description information.
[0127] In one embodiment, description information (or personalized description) of each fact unit can be generated according to a preset number of fact units. Specifically, the fact units can be automatically organized into a natural language text according to the characteristics of information organization of the fact units.
[0128] After obtaining the description information, you can further generate chart information for all fact units. Then, through pre-made layout templates and style templates, you can automatically generate visualization pages and finally generate data briefings.
[0129] The format of the data brief may be, for example, PDF or Word, which is not limited in this application.
[0130] By adopting the method for generating data briefs provided in the embodiment of the present application, fact units can be extracted from the tabular data to be analyzed, and the fact units include subspaces and focuses; the subject of the data brief to be generated is determined based on the subspaces and focuses contained in the fact units; and the data brief is generated based on the subject and the fact units. In this way, compared with the related art, on the one hand, since it does not rely on manual extraction when obtaining key information of the tabular data to be analyzed, the problem of long time consumption based on manual information extraction in the related art can be avoided. On the other hand, in the present application, the subject of the data brief to be generated can be determined based on the subspaces and focuses contained in the fact units; and then the data brief is generated based on the subject and the fact units. In this way, the problem that the generated information in the related art is scattered without a subject and cannot form a report for the relevant staff to read, which makes it difficult for the relevant staff to read and the user experience is poor, can be solved.
[0131] Figure 5 FIG. 1 is a schematic diagram showing the structure of a device for generating a data summary provided in an embodiment of the present application. Figure 5 As shown, it includes an extraction module 501, a determination module 502 and a generation module 503, wherein the functions of each module are as follows:
[0132] An extraction module 501 is used to extract fact units from the tabular data to be analyzed, where the fact units include subspaces and focuses;
[0133] A determination module 502, for determining a theme of a data briefing to be generated according to the subspace and focus contained in the fact unit;
[0134] The generating module 503 is used to generate a data briefing according to the subject and fact units.
[0135] Optionally, the extraction module 501 is used to:
[0136] Traverse all dimension members of the tabular data and generate subspaces of the dimension members;
[0137] Determine the importance of the subspace, and select a target subspace that meets the importance threshold condition according to the importance of the subspace and a preset importance threshold condition;
[0138] The grouping structure of the target subspace in a preset dimension is determined, and the fact unit is determined according to the grouping structure.
[0139] Optionally, the device further comprises:
[0140] A calculation module, used for calculating the score of the fact unit according to the importance and significance of the subspace;
[0141] The selection module is used to select preferred fact units from the fact units according to the scores of the fact units.
[0142] Optional, compute module for:
[0143] Perform weighted summation according to the importance, significance, and preset weights to obtain a weighted summation result;
[0144] The weighted sum result is used as the score of the fact unit.
[0145] Optionally, the device further comprises:
[0146] The acquisition module is used to obtain the tabular data to be analyzed;
[0147] The information determination module is used to determine the dimensions, indicators, basic attributes of the dimensions, basic attributes of the indicators, periods and the format of the periods of the tabular data.
[0148] Optionally, the generating module 503 includes:
[0149] The classification unit is used to classify the fact units according to the subspace and the focus to obtain the classification results;
[0150] A set generation unit, used to generate a set of fact units of a specified topic according to the classification results;
[0151] A sorting unit, used to sort the fact unit set and select a preset number of fact units according to the sorting result;
[0152] The report generating unit is used for generating a data brief report according to a preset number of fact units.
[0153] Optionally, a report generation unit for:
[0154] Generate description information of each fact unit for a preset number of fact units;
[0155] Generate a data brief based on the description information.
[0156] The device for generating data briefs using the embodiment of the present application can extract fact units from the tabular data to be analyzed through the extraction module, and the fact units include subspaces and focuses; then, the determination module determines the theme of the data brief to be generated based on the subspaces and focuses contained in the fact units; finally, the generation module generates the data brief based on the theme and the fact units. In this way, compared with the related art, on the one hand, since it does not rely on manual extraction when obtaining key information of the tabular data to be analyzed, the problem of long time consumption based on manual information extraction in the related art can be avoided. On the other hand, in the present application, the theme of the data brief to be generated can be determined based on the subspaces and focuses contained in the fact units; and then, the data brief is generated based on the theme and the fact units. In this way, the problem that the generated information in the related art is scattered without a theme and cannot form a report for the relevant staff to read, which makes it difficult for the relevant staff to read and the user experience is poor.
[0157] Figure 6 A schematic diagram of the structure of a device for generating a data brief provided in an embodiment of the present application is shown.
[0158] The device for generating a data summary may include a processor 601 and a memory 602 storing computer program instructions.
[0159] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0160] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 602 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 602 may be inside or outside the device that generates the data brief. In a particular embodiment, the memory 602 may be a non-volatile solid-state memory.
[0161] In one embodiment, the memory 602 may be a read-only memory (ROM). In one embodiment, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0162] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any one of the methods for generating a data summary in the above embodiments.
[0163] In one example, the device for generating a data summary may further include a communication interface 603 and a bus 610. Figure 6 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.
[0164] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0165] Bus 610 includes hardware, software or both, and the parts of the equipment generating data brief are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0166] In addition, in combination with the method for generating a data brief in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the methods for generating a data brief in the above embodiment is implemented.
[0167] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0168] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0169] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0170] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0171] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for generating a data briefing, characterized in that: include: Extracting a fact unit from the tabular data to be analyzed, wherein the fact unit includes a subspace and a focus; The subspace is a data subset of dimension members in the dimension of the table-type data, and the focus is a member assigned a type fact of the table-type data; Determining a topic of a data brief to be generated according to the subspace and the focus contained in the fact unit; A data brief is generated based on the subject and the fact unit.
2. The method according to claim 1, characterized in that: Extract fact units from the tabular data to be analyzed, including: Traversing all dimension members of the tabular data to generate a subspace of the dimension members; Determining the importance of the subspace, and selecting a target subspace that meets the importance threshold condition according to the importance of the subspace and a preset importance threshold condition; A grouping structure of the target subspace in a preset dimension is determined, and the fact unit is determined according to the grouping structure.
3. The method according to claim 2, characterized in that The method further comprises: Calculating the score of the fact unit according to the importance and significance of the subspace; A preferred fact unit is selected from the fact units according to the scores of the fact units.
4. The method according to claim 3, characterized in that Calculating the score of the fact unit according to the importance and significance of the subspace includes: Performing weighted summation according to the importance, significance, and preset weights to obtain a weighted summation result; The weighted sum result is used as the score of the fact unit.
5. The method according to claim 2, characterized in that: Before extracting fact units from the tabular data to be analyzed, the method further includes: Obtaining the tabular data to be analyzed; The dimensions, indicators, basic attributes of the dimensions, basic attributes of the indicators, periods, and the format of the periods of the tabular data are determined.
6. The method according to claim 1, characterized in that Based on the themes and factual units, a data brief is generated, including: Classifying the fact unit according to the subspace and the focus to obtain a classification result; Generating a fact unit set of a specified topic according to the classification result; Sorting the fact unit set, and selecting a preset number of fact units according to the sorting result; The data summary is generated according to the preset number of fact units.
7. The method according to claim 6, characterized in that Generating the data brief report according to the preset number of fact units includes: Generating description information of each fact unit for the preset number of fact units; The data brief is generated according to the description information.
8. A device for generating a data briefing, characterized in that: The device comprises: An extraction module is used to extract fact units from the tabular data to be analyzed, wherein the fact units include a subspace and a focus; the subspace is a data subset of dimension members in a dimension of the tabular data, and the focus is a member assigned a type fact of the tabular data; A determination module, configured to determine a subject of a data briefing to be generated according to the subspace and the focus contained in the fact unit; A generating module is used to generate a data briefing according to the subject and the fact unit.
9. A device for generating a data briefing, characterized in that: The device for generating a data brief includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for generating a data summary according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for generating a data summary according to any one of claims 1 to 7 is implemented.
