Data screening and statistical method, device, electronic equipment and storage medium

By classifying and summarizing the data areas to be filtered and counted in the data table, the problem of low data statistics efficiency in the existing technology is solved, the overall data and its composition are quickly obtained, and the efficiency of data statistics is improved.

CN109325218BActive Publication Date: 2024-09-06ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201710649820.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-08-01
Publication Date
2024-09-06
Estimated Expiration
2037-08-01

AI Technical Summary

Technical Problem

The existing technology is inefficient in data statistics. Especially when there are many data to be filtered or filtering conditions, the filtering conditions need to be changed frequently, which results in time-consuming, labor-intensive and low efficiency.

Method used

By obtaining the data area to be filtered and counted in the data table, receiving user filtering instructions, classifying and summarizing the content in the fields specified by the user, generating classified statistical results for each type of content, and displaying them on the filtering panel in a specified manner.

Benefits of technology

It realizes the rapid and direct display of classified statistical results of various types of content in different fields, lowers the threshold of data analysis, saves time and manpower, and improves the efficiency of data statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109325218B
    Figure CN109325218B
Patent Text Reader

Abstract

The embodiment of the present invention provides a data screening and statistics method, device, electronic device and storage medium. The method includes: obtaining a data area to be screened and counted in a data table; the data area contains multiple rows and multiple fields of content, and the content has multiple different types; receiving a user screening instruction, the user screening instruction is used to screen the fields specified by the user to view in the data area; according to the user screening instruction, obtaining all the content contained in the user-specified viewing field in the data area; classifying and summarizing all the content to obtain classified statistical results of each type of content, the classified statistical results include each type of content and the numerical values ​​corresponding to each type of content; displaying the statistical results on the screening panel in a specified manner. It is convenient for users to obtain statistical results in the simplest way, lower the threshold for data analysis, save time and manpower, and improve statistical efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data screening and statistical method, device, electronic equipment and storage medium. Background Art

[0002] In the field of data processing technology, "screening" is widely used as a basic means.

[0003] When users use the filtering function, in addition to filtering out data that meets the specified conditions for viewing, processing, and analysis, they sometimes also need to understand and count the overall data and its composition.

[0004] At present, the technical solution adopted by users to understand and count the overall situation and composition of statistical data is to set a set of filtering conditions, check how many records meet the set of filtering conditions, get a count, then change the filtering conditions, check again, get another count, and repeat this process many times.

[0005] For example Figure 1 As shown in the figure, the data table is a comprehensive information statistical table of employees of a certain unit. When the manager needs to count the number of people in each department through this statistical table, the method used is: count the department types of the unit; filter and count according to different departments. Specifically: the manager needs to count the department types of the unit first, and filter one by one according to the department type. First, the manager sets the filtering condition to "Department = Product Department"; the data table receives the filtering condition, obtains all the information of the product department in the unit in the data table and counts the number of records to obtain a count, such as Figure 2 As shown; then the manager changes the filter condition to "Department = Development Department", the data table receives the filter condition, obtains all the information of the Development Department in the unit in the data table and counts the number of records to get a count; similarly, the manager changes the filter condition to "Department = Quality Department", the data table receives the filter condition, obtains all the information of the Quality Department in the unit in the data table and counts the number of records to get a count. In short, when there are many types of departments or many filter conditions, this method is time-consuming and labor-intensive, and inefficient. Summary of the invention

[0006] The purpose of the embodiments of the present invention is to provide a data screening and statistics method, device, electronic device and storage medium to improve data statistics efficiency. The specific technical solution is as follows:

[0007] In a first aspect, an embodiment of the present invention provides a data screening and statistical method, comprising:

[0008] Obtaining a data area to be filtered and counted in a data table; the data area contains content of multiple rows and multiple fields, and the content has multiple different types;

[0009] Receiving a user filtering instruction, wherein the user filtering instruction is used to filter the fields specified by the user to be viewed in the data area;

[0010] According to the user screening instruction, all contents contained in the field specified by the user to be viewed are obtained in the data area;

[0011] Classifying and summarizing all the contents to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content;

[0012] The statistical results are displayed on the screening panel in a specified manner.

[0013] Optionally, obtaining the data area to be filtered and counted in the data table includes:

[0014] Receive a user's instruction to search for a target data table, wherein the instruction to search for the target data table is used to search for the target data table to be screened and counted within a specified range;

[0015] According to the user's instruction to search for the target data table, searching for the target data table within the specified range;

[0016] The data area in the target data table is displayed, and the data area in the displayed target data table is used as the data area to be filtered and counted in the data table.

[0017] Optionally, before receiving the user filtering instruction, the method further includes: receiving a user filtering condition, where the user filtering condition is used to eliminate data areas in the target data table that do not meet the user filtering condition.

[0018] Optionally, the content is classified and summarized to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content, specifically including:

[0019] All contents contained in the fields specified by the user to be viewed in the data area are used as a screening data set;

[0020] Acquire a result data set, wherein the result data set is used to store different types of comparison contents and values ​​corresponding to the comparison contents;

[0021] Step A, selecting one content that has not been counted from the screening data set each time, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result;

[0022] Step B, processing the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result;

[0023] Step C, calculating the sum of the values ​​corresponding to all the comparison contents existing in the result data set according to the processed values;

[0024] When the sum of the values ​​is equal to the total number of contents in the screening data set, the comparison contents in the result data set and the values ​​corresponding to the comparison contents are used as the classification statistics results of the various types of contents.

[0025] Optionally, selecting one content that has not been counted from the screening data set each time, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result includes:

[0026] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0027] When there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set;

[0028] The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes:

[0029] When the judgment result is that there is no comparison content identical to the uncounted content in the result data set, the uncounted content is added to the result data set to form a newly added comparison content, and the value corresponding to the newly added comparison content is 1.

[0030] Optionally, selecting one content that has not been counted from the screening data set each time, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result includes:

[0031] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0032] When there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set;

[0033] The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes:

[0034] When the judgment result is that the result data set contains the same comparison content as the content that has not been counted, the value corresponding to the comparison content corresponding to the content that has not been counted in the result data set is increased by 1.

[0035] Optionally, after calculating the sum of the values ​​corresponding to all the comparison contents in the result data set according to the processed values, the method further includes:

[0036] When the sum of the numerical values ​​is less than the total number of contents in the filtered data set, return to execute steps A, B and C until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and use the comparison contents in the result data set and the numerical values ​​corresponding to the comparison contents as the classification statistical results of the various types of contents.

[0037] Optionally, the designated manner includes a direct display format of directly displaying the statistical results and a sorted display format of sorting the statistical results according to numerical values.

[0038] Optionally, after displaying the statistical results on the screening panel in a specified manner, the method further includes: generating text from the statistical results and exporting the text.

[0039] In a second aspect, an embodiment of the present invention provides a data statistics device, including:

[0040] A data region acquisition module is used to acquire a data region to be filtered and counted in a data table; the data region contains content of multiple rows and multiple fields, and the content has multiple different types;

[0041] A filtering instruction receiving module, used for receiving a user filtering instruction, wherein the user filtering instruction is used for filtering the fields specified by the user to be viewed in the data area;

[0042] A content acquisition module, used to acquire all the contents contained in the field specified by the user to be viewed in the data area according to the user screening instruction;

[0043] A content classification module, used to classify and summarize all the content to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content;

[0044] The statistical result display module is used to display the statistical results on the screening panel in a specified manner.

[0045] Optionally, the data area acquisition module includes:

[0046] A search instruction receiving module, used for receiving a user's instruction for searching a target data table, wherein the instruction for searching a target data table is used for searching a target data table to be screened and counted within a specified range;

[0047] A search module, configured to search for the target data table within the specified range according to the user's instruction to search for the target data table;

[0048] The display module is used to display the data area in the target data table, and use the displayed data area in the target data table as the data area to be screened and counted in the data table.

[0049] Optionally, the device further comprises:

[0050] The user filtering condition receiving module is used to receive user filtering conditions before receiving user filtering instructions, and the user filtering conditions are used to eliminate data areas in the target data table that do not meet the user filtering conditions.

[0051] Optionally, the content classification module includes:

[0052] A screening data set acquisition module, used to take all the contents contained in the fields specified by the user to be viewed in the data area as the screening data set;

[0053] A data set acquisition module, used to acquire a result data set, wherein the result data set is used to store different types of comparison contents and values ​​corresponding to the comparison contents;

[0054] A judgment result acquisition module is used to select one uncounted content from the screening data set each time, judge whether there is a comparison content that is the same as the uncounted content in the result data set, and obtain a judgment result; a value processing module is used to process the value corresponding to the comparison content in the result data set according to the judgment result;

[0055] A numerical summing module, used to calculate the sum of the numerical values ​​corresponding to all the comparison contents existing in the result data set according to the processed numerical values;

[0056] The first content classification submodule is used to use the comparison content in the result data set and the values ​​corresponding to the comparison content as the classification statistics results of the various types of content when the sum of the values ​​is equal to the total number of content in the screening data set.

[0057] Optionally, the judgment result acquisition module includes:

[0058] A first comparison module is used to select one uncounted content from the screening data set each time, and compare the uncounted content with all the comparison contents in the result data set;

[0059] A first judgment result acquisition submodule, when there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set;

[0060] The numerical processing module comprises:

[0061] The first numerical processing submodule is used to add the uncounted content to the result data set to form newly added comparative content when the judgment result is that there is no comparative content identical to the uncounted content in the result data set, and the numerical value corresponding to the newly added comparative content is 1.

[0062] Optionally, the judgment result acquisition module includes:

[0063] A first comparison module is used to select one uncounted content from the screening data set each time, and compare the uncounted content with all the comparison contents in the result data set;

[0064] The second judgment result acquisition submodule, when there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set;

[0065] The numerical processing module comprises:

[0066] The second numerical processing submodule is used to add 1 to the numerical value corresponding to the comparative content corresponding to the uncounted content in the result data set when the judgment result is that the result data set contains the same comparative content as the uncounted content.

[0067] Optionally, the content classification module further includes:

[0068] The second content classification submodule is used to return to execute steps A, B and C when the sum of the numerical values ​​is less than the total number of contents in the filtered data set, until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and then use the comparison content in the result data set and the numerical values ​​corresponding to the comparison content as the classification statistical results of the various types of content.

[0069] Optionally, the designated manner includes a direct display format of directly displaying the statistical results and a sorted display format of sorting the statistical results according to numerical values.

[0070] Optionally, after displaying the statistical results on the screening panel in a specified manner, the device further includes:

[0071] The text export module is used to generate text from the statistical results and export the text.

[0072] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0073] Memory, used to store computer programs;

[0074] The processor is used to implement any one of the method steps of the first aspect of the embodiment of the present invention when executing the program stored in the memory.

[0075] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to execute any one of the method steps of the first aspect of the embodiment of the present invention.

[0076] The embodiments of the present invention provide a data screening and statistical method, device, electronic device and storage medium, which obtain a data area to be screened and counted in a data table; the data area contains content of multiple rows and multiple fields, and the content has multiple different types; a user screening instruction is received, and the user screening instruction is used to screen the fields specified by the user to view in the data area; according to the user screening instruction, all the content contained in the fields specified by the user to view is obtained in the data area; all the content is classified and summarized to obtain classified statistical results of each type of content, and the classified statistical results include each type of content and the numerical values ​​corresponding to each type of content; the statistical results are displayed on the screening panel in a specified manner.

[0077] By classifying and summarizing the contents in the fields specified by the user, different contents and corresponding values ​​can be displayed. The classified statistical results of various types of content under different fields can be directly and quickly displayed in the filter panel of the data table. Users do not need to perform repeated operations to understand the overall data and its composition, thereby lowering the threshold for data analysis, saving time and manpower, and improving data statistical efficiency.

[0078] Of course, it is not necessary to achieve all of the advantages described above at the same time to implement any product or method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0080] Figure 1 A comprehensive statistical table of information on employees of a certain unit of prior art;

[0081] Figure 2 It is a statistical table of all information of the product department in the existing technology;

[0082] Figure 3 A schematic diagram of a flow chart of a data screening and statistical method according to an embodiment of the present invention;

[0083] Figure 4 Another schematic diagram of a data screening and statistical method according to an embodiment of the present invention;

[0084] Figure 5 A display form of the statistical results displayed on the screening panel of the embodiment of the present invention;

[0085] Figure 6 Another display form of the statistical results on the screening panel of the embodiment of the present invention;

[0086] Figure 7 A schematic diagram of a screening and statistical device according to an embodiment of the present invention;

[0087] Figure 8 Schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0088] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0089] In the prior art, in order to understand and count the overall data and its composition, a one-by-one screening method is generally adopted. First, a set of screening conditions is set, and the number of records that meet the screening conditions is counted. Then, the screening conditions are changed one by one and statistics are performed.

[0090] However, when there is a large amount of data to be screened and counted, or when there are many screening conditions, the method of screening and counting one by one will be inefficient, time-consuming and labor-intensive.

[0091] Based on the above reasons, in order to solve the problems of complex operation, time-consuming and labor-intensive, and low data statistical efficiency in the prior art, the present invention provides a data screening and statistical method, which obtains the data area to be screened and counted in the data table, and classifies and summarizes all the content contained in the field specified by the user according to the user's screening instructions, so as to obtain various types of content and the numerical values ​​corresponding to the said various types of content.

[0092] By classifying and summarizing the contents in the fields specified by the user, different contents and corresponding values ​​can be displayed. The classified statistical results of various types of content under different fields can be directly and quickly displayed in the filter panel of the data table. Users do not need to perform repeated operations to understand the overall data and its composition, thereby lowering the threshold for data analysis, saving time and manpower, and improving data statistical efficiency.

[0093] It should be noted that a data screening and statistical method provided by an embodiment of the present invention can be applied to electronic devices, including desktop computers, portable computers, smart mobile terminals, mobile terminals, servers, etc., without limitation herein. Any device that can implement the embodiment of the present invention belongs to the protection scope of the embodiment of the present invention.

[0094] The embodiments of the present invention provide a data screening and statistics method, device, electronic device and storage medium, which are described in detail below.

[0095] See also Figure 3 , Figure 3 A flow chart of a data screening and statistical method according to an embodiment of the present invention includes the following steps:

[0096] S301, obtaining a data area to be filtered and counted in a data table; the data area contains content of multiple rows and multiple fields, and the content has multiple different types.

[0097] The content contained in the data area can be numerical text content, text content, or symbolic text content, and there is no restriction here. Before filtering and counting the data area to be filtered and counted in the data table, you first need to obtain the data area to be filtered and counted. The obtained data area to be filtered and counted may have multiple rows or only one row, multiple fields or only one field. The field means column. The content in each field may belong to one type or may have multiple different types, such as Figure 1 In the "Gender" field, there are two different types of content, namely "Male" and "Female", and in the "Department" field, there are three different types of content, namely "Product Department", "Development Department" and "Quality Department".

[0098] When the number of rows, fields or content types in the data area to be filtered is 1, it is obviously unnecessary to perform classification and statistical operations on it. The overall data and its composition can be directly obtained through the data area itself.

[0099] Here, by limiting the number of rows, fields or content types in the data area to be filtered, subsequent classification and statistical operations on the data area are avoided when the number of rows, fields or content types in the data area to be filtered is 1, which simplifies the operation steps and improves the efficiency of data processing.

[0100] S302, receiving a user filtering instruction, wherein the user filtering instruction is used to filter the fields specified by the user to be viewed in the data area;

[0101] Since the acquired data area contains the contents of multiple fields, before performing filtering and statistics, the user needs to specify which field's contents are to be statistically summarized. The process of the user selecting a field is the process of giving a filtering instruction, that is, the filtering instruction is the instruction for the user to select which field's contents to perform subsequent filtering, statistics and summarization.

[0102] The user can give a filter instruction by selecting the filter drop-down arrow at the specified field tag, or by right-clicking the specified field tag to get the selection menu and selecting Open Filter Panel from the selection menu. The above two methods are simple and convenient to give filter instructions, and they conform to the user's normal operating habits, which can improve the user's operating experience.

[0103] S303, according to the user's filtering instruction, obtaining all the contents contained in the field specified by the user to be viewed in the data area;

[0104] S304, classifying and summarizing all the contents to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content;

[0105] After obtaining all the contents contained in the field specified by the user to be viewed in the data area, all the above contents are used as a screening data set, and then a result data set for storing different types of comparison contents and numerical values ​​corresponding to the comparison contents is obtained, and the contents in the screening data set are selected in turn for comparison with the comparison contents in the result data set, and the numerical values ​​corresponding to the comparison contents in the result data set are processed to obtain various types of contents and numerical values ​​corresponding to various types of contents as the results of classification statistics.

[0106] By classifying and summarizing the content, we can obtain various types of content and the corresponding values ​​​​of each type of content. When users need to understand the overall data and its composition, they do not need to set filtering conditions one by one for statistics, which improves the efficiency of data filtering and statistics.

[0107] S305: Display the statistical results on a screening panel in a specified manner.

[0108] Step S305 may optionally include: when at least one of the numerical values ​​corresponding to the various types of content is greater than or equal to 1, displaying the statistical result on the filter panel in a specified manner.

[0109] When at least one of the numerical values ​​corresponding to the various types of content is equal to 1, the statistical result is displayed on the filter panel in a specified manner.

[0110] In the classification statistics of various types of content obtained in S304, for a specific type of content, the corresponding value may be 1 or may not be 1. When the corresponding values ​​of various types of content are all 1, a technical solution of displaying the statistical results on the filter panel is adopted, so that the user can quickly understand the overall data and its composition.

[0111] When at least one of the numerical values ​​corresponding to the various types of content is greater than 1, the statistical result is displayed on the filter panel in a specified manner.

[0112] When at least one of the numerical values ​​corresponding to each type of content is greater than 1, the statistical results will be displayed on the filter panel. Since the classified statistical results include the various types of content and the numerical values ​​corresponding to each type of content, users can directly and quickly understand the overall data and its composition, saving time and manpower and improving data statistical efficiency.

[0113] Optionally, in a specific implementation, obtaining the data area to be filtered and counted in the data table includes:

[0114] Receive a user's instruction to search for a target data table, wherein the instruction to search for the target data table is used to search for the target data table to be screened and counted within a specified range;

[0115] Before screening and counting a data table stored in a computer, first, it is necessary to search in the computer according to the data table related information provided by the customer, such as the name of the data table and the creation time. The present invention does not limit the specific content of the data table related information.

[0116] According to the user's instruction to search for the target data table, searching for the target data table within the specified range;

[0117] The designated range mentioned here may be the computer desktop or other storage disks of the computer.

[0118] The data area in the target data table is displayed, and the data area in the displayed target data table is used as the data area to be filtered and counted in the data table.

[0119] like Figure 4 As shown, optionally, in a specific implementation, the data screening statistical method includes:

[0120] S401, obtaining a data area to be filtered and counted in a data table; the data area contains content of multiple rows and multiple fields, and the content has multiple different types;

[0121] S402, receiving a user filtering condition, wherein the user filtering condition is used to eliminate data areas in the target data table that do not meet the user filtering condition.

[0122] After obtaining all the data areas in the target data table, the user may only need to know the composition of the data that meets a certain filtering condition. At this time, the data areas that do not meet the filtering condition can be eliminated according to the user's filtering condition. The user filtering condition here can be a time limit condition, an age limit condition, or a size limit condition. Figure 1 For example, after obtaining the employee information statistics table, if the user only needs to know the distribution of employees in each department with performance scores above 80 points, the data area that does not meet the filter condition can be eliminated according to the user's filter condition "Performance ≥ 80". After the above operation, when the staff needs to know the situation of employees in the product department with performance scores above 80 points, there is no need to perform a secondary screening after the system has filtered out all the employee information of the product department, but directly obtain the employee information of the product department with performance scores above 80 points, which improves the operation efficiency. Before statistics are performed on the fields specified by the user, the data areas that do not meet the filter conditions are first eliminated according to the user's filter conditions, so as to avoid the user from performing a secondary screening on the filtered and statistical data, which can improve the efficiency of data processing.

[0123] S403, receiving a user filtering instruction, wherein the user filtering instruction is used to filter the fields specified by the user to be viewed in the data area;

[0124] S404, according to the user screening instruction, obtaining in the data area all the contents contained in the field specified by the user to be viewed;

[0125] S405, classifying and summarizing all the contents to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content;

[0126] S406: Display the statistical results on the screening panel in a specified manner.

[0127] The above S401 and Figure 3 The same as S301 in, S403-S406 Figure 3 S302-S305 in are the same. Therefore, Figure 4 All embodiments in the Figure 3 , and all can achieve the same or similar beneficial effects, which will not be repeated here.

[0128] After obtaining the data area to be filtered, first filter the data that the user does not care about or does not need to know according to the user's filtering conditions, and then classify and summarize the contents in the fields specified by the user to view. This can intuitively obtain the overall and distribution of data that the user cares about and meets the filtering conditions, avoiding the user's secondary filtering of the filtering statistical results. The operation is simple, time-saving and labor-saving, and the data processing efficiency is high.

[0129] Optionally, in a specific implementation, all content is classified and summarized to obtain classification statistics of each type of content, and the classification statistics include each type of content and a value corresponding to each type of content, specifically including:

[0130] All contents contained in the fields specified by the user to be viewed in the data area are used as a screening data set;

[0131] Acquire a result data set, wherein the result data set is used to store different types of comparison contents and values ​​corresponding to the comparison contents;

[0132] Before classifying and summarizing all the content, a blank data set is first obtained as the result data set. In the subsequent classification and summarization process, it is used to store different types of comparison content and the values ​​corresponding to the comparison content. Initially, the result data set contains 0 comparison content, and the text value corresponding to the comparison content is also 0.

[0133] The filtering data set mentioned here refers to all the contents contained in the fields specified by the user to be viewed, which are obtained in the data area according to the user filtering instruction after receiving the user filtering instruction.

[0134] By classifying and summarizing all the content contained in the field specified by the user to view, various types of content and the corresponding values ​​of each type of content can be obtained, so that the user can intuitively understand the composition of the content in the specified field and the distribution of each type of content.

[0135] Step A, each time selecting one content that has not been counted from the screening data set, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result;

[0136] When selecting uncounted content from the filtered data set, you can select one uncounted content in turn from top to bottom according to the position of the content in the filtered data set, and compare it with the comparison content, or you can select one uncounted content in turn from bottom to top, and compare it with the comparison content.

[0137] Selecting the contents in the screening data set in sequence according to the above order can effectively avoid the occurrence of missed content selection. At the same time, it can increase the speed of selecting content and thus quickly obtain the judgment result.

[0138] Step B, processing the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result;

[0139] Step C, calculating the sum of the values ​​corresponding to all the comparison contents existing in the result data set according to the processed values;

[0140] When the sum of the values ​​is equal to the total number of contents in the screening data set, the comparison contents in the result data set and the values ​​corresponding to the comparison contents are used as the classification statistics results of each type of content.

[0141] By comparing the contents in the result data set and the filtered data set, and processing the numerical values ​​corresponding to the contents in the result data set, when the sum of the numerical values ​​corresponding to all the compared contents existing in the result data set is equal to the total number of contents in the filtered data set, the classified statistical results of each type of content can be obtained, which can save time and improve the efficiency of data statistics.

[0142] Optionally, in a specific implementation, each time one content that has not been counted is selected from the screening data set, and it is determined whether there is a comparison content that is the same as the content that has not been counted in the result data set, and a determination result is obtained, including:

[0143] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0144] When there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set;

[0145] According to the judgment result, the numerical values ​​corresponding to the comparison contents in the result data set are processed, including:

[0146] When the judgment result is that there is no comparison content identical to the uncounted content in the result data set, the uncounted content is added to the result data set to form a newly added comparison content, and the value corresponding to the newly added comparison content is 1.

[0147] When there is no content in the result data set that is identical to the content selected in the filter data set, it means that this type of content is selected from the filter data set for the first time. At this time, it is necessary to add a new comparison content that is identical to the selected content in the result data set to count the type of content in the filter data set. The value corresponding to the newly added comparison content is 1, indicating that the content selected from the filter data set this time has been included in the statistical results.

[0148] By adding comparison content to the result data set, it is possible to avoid missing content in the filtered data set when there is no content in the result data set that is identical to the content selected in the filtered data set, thereby ensuring that the statistical results contain all types of content in the fields specified by the user.

[0149] Optionally, in a specific implementation, each time one content that has not been counted is selected from the screening data set, and it is determined whether there is a comparison content that is the same as the content that has not been counted in the result data set, and a determination result is obtained, including:

[0150] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0151] When there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set;

[0152] The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes:

[0153] When the judgment result is that the result data set contains the same comparison content as the content that has not been counted, the value corresponding to the comparison content corresponding to the content that has not been counted in the result data set is increased by 1.

[0154] When there is content in the result data set that is identical to the content selected in the filtered data set, it means that this type of content is not the first time to be selected from the filtered data set. At this time, it is only necessary to add 1 to the numerical value corresponding to the comparison content corresponding to the content that has not been counted in the result data set, indicating that the content selected from the filtered data set this time has been included in the statistical results.

[0155] By adding 1 to the numerical value corresponding to the comparison content corresponding to the content that has not been counted in the result data set, the accuracy of the numerical value corresponding to each type of content in the statistical result can be guaranteed.

[0156] Optionally, in a specific implementation, after calculating the sum of the values ​​corresponding to all the comparison contents in the result data set according to the processed values, the method further includes:

[0157] When the sum of the numerical values ​​is less than the total number of contents in the filtered data set, return to execute steps A, B and C until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and use the comparison contents in the result data set and the numerical values ​​corresponding to the comparison contents as the classification statistical results of the various types of contents.

[0158] After processing the numerical values ​​corresponding to the comparison contents in the result data set, in order to avoid missing selections when counting the contents in the screening data set, it is necessary to calculate the sum of the numerical values ​​corresponding to all the comparison contents in the result data set. If the sum of the numerical values ​​is less than the total number of contents in the screening data set, it means that there are contents in the screening data set that have not been counted. At this time, it is necessary to return to the step of selecting one content that has not been counted from the screening data set, and process the numerical values ​​corresponding to the comparison contents in the result data set, and then calculate the sum of the numerical values ​​corresponding to all the comparison contents that already exist in the result data set until the sum of the numerical values ​​is equal to the total number of contents in the screening data set. At this time, it means that all the contents in the screening data set have been counted, and all the comparison contents in the result data set and the numerical values ​​corresponding to the comparison contents are the classified statistical results of each type of content.

[0159] By comparing the sum of the values ​​corresponding to all the compared contents in the result data set with the total number of contents in the filtered data set, we can avoid missing items when counting the contents in the filtered data set, ensure that all the contents in the filtered data set are counted, and ensure the correctness of the classification statistical results.

[0160] Optionally, in a specific implementation, all content is classified and summarized to obtain classification statistics of each type of content, and the classification statistics include each type of content and a value corresponding to each type of content, specifically including:

[0161] All contents contained in the fields specified by the user to be viewed in the data area are used as a screening data set;

[0162] Obtaining a result data set, wherein the result data set is used to store different types of comparison contents, values ​​corresponding to the comparison contents, and a block diagram representing the values ​​of the comparison contents;

[0163] Before classifying and summarizing all the contents, a blank data set is first obtained as the result data set. In the subsequent classification and summarization process, it is used to store different types of comparison contents, the values ​​corresponding to the comparison contents, and the box diagrams representing the comparison content values. Each box diagram contains a number of grids equal to the values ​​corresponding to each type of comparison content. Initially, the comparison content is empty and the box diagram contains 0 grids.

[0164] Step A, each time selecting one content that has not been counted from the screening data set, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result;

[0165] Step B, processing the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result;

[0166] Step C, calculating the sum of the values ​​corresponding to all the comparison contents existing in the result data set according to the processed values;

[0167] When the sum of the values ​​is equal to the total number of contents in the screening data set, different types of comparison contents in the result data set, the values ​​corresponding to the comparison contents, and the box diagram representing the comparison content values ​​are used as the classification statistics of each type of contents.

[0168] By classifying and summarizing all the content contained in the field specified by the user to view, we can obtain various types of content and the corresponding values ​​of each type of content and box diagrams representing the values ​​of each type of comparative content. In the result data set, a box diagram showing the comparative content values ​​is added to facilitate intuitive understanding of the composition of the content in the specified field and the distribution of each type of content.

[0169] Optionally, in a specific implementation, one content that has not been counted is selected from the screening data set each time, and it is determined whether there is a comparison content that is the same as the content that has not been counted in the result data set, and a determination result is obtained, including:

[0170] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0171] When there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set;

[0172] According to the judgment result, the numerical values ​​corresponding to the comparison contents in the result data set are processed, including:

[0173] When the judgment result is that there is no comparison content identical to the uncounted content in the result data set, the uncounted content is added to the result data set to form newly added comparison content, and the value corresponding to the newly added comparison content is 1, indicating that the box diagram of the newly added comparison content value contains 1 grid.

[0174] By adding comparison content to the result data set, it is possible to avoid missing content in the filtered data set when there is no content in the result data set that is identical to the content selected in the filtered data set, thereby ensuring that the statistical results contain all types of content in the fields specified by the user.

[0175] Optionally, in a specific implementation, one content that has not been counted is selected from the screening data set each time, and it is determined whether there is a comparison content that is the same as the content that has not been counted in the result data set, and a determination result is obtained, including:

[0176] Each time, one content that has not been counted is selected from the screening data set, and the content that has not been counted is compared with all the comparison contents in the result data set;

[0177] When there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set;

[0178] The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes:

[0179] When the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set, the value corresponding to the comparison content corresponding to the content that has not been counted in the result data set is increased by 1, and 1 grid is added to the box diagram representing the comparison content value corresponding to the content that has not been counted in the result data set.

[0180] By adding 1 to the numerical value corresponding to the comparison content corresponding to the content that has not been counted in the result data set, and adding 1 grid to the box diagram representing the numerical value of the comparison content corresponding to the content that has not been counted in the result data set, the accuracy of the numerical value corresponding to each type of content in the statistical result can be ensured. Optionally, in a specific implementation, the specified method includes a direct display form that directly displays according to the statistical result and a sorted display form that sorts according to the numerical value size in the statistical result.

[0181] After obtaining the classified statistical results of each type of content, selection information for displaying the statistical results will appear on the filter panel, including the display method of the numerical value and the form of the statistical results. The numerical value can be displayed in the form of original values ​​or in the form of percentages, wherein the percentage is the conversion of each value of the statistical data into the percentage of the value in the total. The statistical results can be displayed in the form of only numbers or only graphics (the graphics here can be bar charts, or sectors with different angles and patterns with different shades of color, and the specific form of the graphics is not limited in the embodiments of the present invention). Of course, numbers and graphics can also be displayed at the same time. In the embodiments of the present invention, there is no restriction on the display method of the numerical value and the form of the statistical results. When the user chooses to display the statistical results in the form of original values ​​and graphics, the following will be displayed on the filter panel. Figure 5 The final statistical results shown in the figure are as follows. When the user chooses to display the statistical results only in percentage form, the filter panel will display the following Figure 6 The final statistical results are shown.

[0182] By sorting the statistical results and directly displaying the number or percentage of the total number of each type of content, users can quickly understand the distribution of each type of content in the overall data.

[0183] Optionally, in a specific implementation, the arrangement order of the statistical results includes: sorting by the size of the numerical values ​​corresponding to each comparison content in the statistical results.

[0184] When sorting the statistical results, you can sort them in the order of small to large values, or in the order of large to small values. Sorting the statistical results by value helps users quickly find the content type with the largest or smallest number among all types of content.

[0185] Optionally, in a specific implementation, after displaying the statistical results on the filter panel in a specified manner, the method further includes: generating text from the statistical results and exporting the text.

[0186] When generating text from statistical results and exporting the text, first, a request information for generating text from statistical results and exporting the text is superimposed in the electronic spreadsheet; when the user needs to export the statistical results, through a preset action, which can be clicking the right button of the mouse, etc., which is not limited in this embodiment, the user issues an instruction to generate text from statistical results and export the text. After receiving the instruction, the format of the exported text and the location where the text needs to be saved are superimposed in the electronic spreadsheet, and the statistical results are generated according to the specified format and the text is saved to the specified location to be saved. The exported text format can be a worksheet, a workbook, or an html webpage, a picture, a microblog, a circle of friends, and other self-media, which is not limited in this embodiment.

[0187] After obtaining and displaying the filtering statistical results, the user can only see the statistical results on the filtering panel, but cannot view and use the above statistical results in other applications or self-media. In an embodiment of the present invention, by generating text from the statistical results and exporting the text, the statistical results can be exported into texts of different formats according to customer needs, thereby facilitating the user's use of the statistical results.

[0188] In the specific implementation process, the various embodiments of the present invention can be implemented separately or in combination; those skilled in the art can determine according to the actual situation and are not limited here.

[0189] Corresponding to the above method embodiment, the present invention also provides a data screening and statistics device, see Figure 7 , Figure 7 The schematic diagram of the data statistics device according to an embodiment of the present invention includes:

[0190] A data region acquisition module is used to acquire a data region to be filtered and counted in a data table; the data region contains content of multiple rows and multiple fields, and the content has multiple different types;

[0191] A filtering instruction receiving module, used for receiving a user filtering instruction, wherein the user filtering instruction is used for filtering the fields specified by the user to be viewed in the data area;

[0192] A content acquisition module, used to acquire all the contents contained in the field specified by the user to be viewed in the data area according to the user screening instruction;

[0193] A content classification module, used to classify and summarize all the content to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and a value corresponding to each type of content;

[0194] The statistical result display module is used to display the statistical results on the screening panel in a specified manner.

[0195] Optionally, in a specific implementation, the data area acquisition module includes:

[0196] A search instruction receiving module, used for receiving a user's instruction for searching a target data table, wherein the instruction for searching a target data table is used for searching a target data table to be screened and counted within a specified range;

[0197] A search module, configured to search for the target data table within the specified range according to the user's instruction to search for the target data table;

[0198] The display module is used to display the data area in the target data table, and use the displayed data area in the target data table as the data area to be screened and counted in the data table.

[0199] Optionally, in a specific implementation, the data screening and statistics device further includes:

[0200] The user filtering condition receiving module is used to receive user filtering conditions before receiving user filtering instructions, and the user filtering conditions are used to eliminate data areas in the target data table that do not meet the user filtering conditions.

[0201] Optionally, in a specific implementation, the content classification module includes:

[0202] A screening data set acquisition module, used to take all the contents contained in the fields specified by the user to be viewed in the data area as the screening data set;

[0203] a data set acquisition module, used to acquire a result data set, wherein the result data set is used to store different types of comparison contents and numerical values ​​corresponding to the comparison contents; a judgment result acquisition module, used to select one uncounted content from the screening data set each time, judge whether there is a comparison content identical to the uncounted content in the result data set, and obtain a judgment result; a numerical value processing module, used to process the numerical value corresponding to the comparison content in the result data set according to the judgment result;

[0204] A numerical summing module, used to calculate the sum of the numerical values ​​corresponding to all the comparison contents existing in the result data set according to the processed numerical values;

[0205] The first content classification submodule is used to use the comparison content in the result data set and the values ​​corresponding to the comparison content as the classification statistics results of the various types of content when the sum of the values ​​is equal to the total number of content in the screening data set.

[0206] Optionally, in a specific implementation, the judgment result acquisition module includes:

[0207] A first comparison module is used to select one uncounted content from the screening data set each time, and compare the uncounted content with all the comparison contents in the result data set;

[0208] A first judgment result acquisition submodule, when there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set;

[0209] Numerical processing modules, including:

[0210] The first numerical processing submodule is used to add the uncounted content to the result data set to form newly added comparative content when the judgment result is that there is no comparative content identical to the uncounted content in the result data set, and the numerical value corresponding to the newly added comparative content is 1.

[0211] Optionally, in a specific implementation, the judgment result acquisition module includes:

[0212] A first comparison module is used to select one uncounted content from the screening data set each time, and compare the uncounted content with all the comparison contents in the result data set;

[0213] The second judgment result acquisition submodule, when there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set;

[0214] Optionally, in a specific implementation, the numerical processing module includes:

[0215] The second numerical processing submodule is used to add 1 to the numerical value corresponding to the comparative content corresponding to the uncounted content in the result data set when the judgment result is that the result data set contains the same comparative content as the uncounted content.

[0216] The content classification module also includes:

[0217] The second content classification submodule is used to return to execute steps A, B and C when the sum of the numerical values ​​is less than the total number of contents in the filtered data set, until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and then use the comparison content in the result data set and the numerical values ​​corresponding to the comparison content as the classification statistical results of the various types of content.

[0218] Optionally, in a specific implementation, after displaying the statistical results on the screening panel in a specified manner, the device further includes:

[0219] The text export module is used to generate text from the statistical results and export the text.

[0220] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment. The embodiments of the present invention can select some or all of the modules therein according to actual needs to achieve the purpose of the scheme of the present embodiment. Those skilled in the art can understand and implement it without paying creative work.

[0221] The embodiment of the present invention further provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.

[0222] Memory 803, used for storing computer programs;

[0223] The processor 801 is used to execute the program stored in the memory 803, and implements the following steps:

[0224] A data area to be filtered and counted is obtained in a data table; the data area contains content of multiple rows and multiple fields, and the content has multiple different types.

[0225] A user filtering instruction is received, where the user filtering instruction is used to filter the fields in the data area that the user specifies to view.

[0226] According to the user screening instruction, all contents contained in the field specified by the user to be viewed are obtained in the data area.

[0227] All the contents are classified and summarized to obtain classification statistics results of each type of content, wherein the classification statistics results include each type of content and a numerical value corresponding to each type of content.

[0228] The statistical results are displayed on the screening panel in a specified manner.

[0229] Of course, the processor 801 can also execute any of the above-mentioned data screening and statistical methods when running the program stored in the memory 803.

[0230] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0231] The communication interface is used for communication between the above electronic device and other devices.

[0232] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0233] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0234] In this embodiment, all content is classified and summarized to obtain classified statistical results of each type of content, and displayed on the filter panel. Users can directly and quickly understand the overall data and its composition, saving time and manpower and improving data statistical efficiency.

[0235] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any data screening and statistical method of the embodiment of the present invention are implemented.

[0236] In this embodiment, the program in the storage medium is executed to classify and summarize all the contents, obtain the classified statistical results of each type of content, and display them on the filter panel. The user can directly and quickly understand the overall data and its composition, saving time and manpower and improving data statistical efficiency.

[0237] As for the electronic device and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0238] 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 sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0239] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0240] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A data screening statistical method, characterized in that: include: Get the data area to be filtered and counted in the data table; The data area contains multiple rows and multiple fields of content, and the content has multiple different types; wherein the field is a column in the data area; Receive a user filtering instruction, the user filtering instruction is used to filter the fields specified by the user in the data area, the user filtering instruction is generated by the user selecting a filter drop-down arrow at a specified field identifier, or by the user obtaining a selection menu at the specified field identifier and selecting to open a filter panel from the selection menu; According to the user filtering instruction, all contents contained in the field specified by the user to be viewed are obtained in the data area; wherein the all contents are all contents contained in the column where the field specified to be viewed is located in the data area; Classifying and summarizing all the contents to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and the quantity or percentage corresponding to each type of content in all the contents; wherein the types of content included in the classification statistics are all different; Displaying the statistical results on the screening panel in a specified manner; The above-mentioned classification and aggregation of all the contents to obtain classification statistics of each type of content include: Using all the contents as a screening data set, obtaining a result data set for storing different types of comparison contents and numerical values ​​corresponding to the comparison contents, comparing the comparison contents in the result data set with the contents in the screening data set, and processing the numerical values ​​corresponding to the comparison contents in the result data set to obtain classification statistics results of each type of content; wherein the sum of the numerical values ​​corresponding to all the comparison contents existing in the result data set is equal to the total number of contents in the screening data set.

2. The method according to claim 1, characterized in that The step of obtaining the data area to be screened and counted in the data table includes: Receive a user's instruction to search for a target data table, wherein the instruction to search for the target data table is used to search for the target data table to be screened and counted within a specified range; According to the user's instruction to search for the target data table, searching for the target data table within the specified range; The data area in the target data table is displayed, and the data area in the displayed target data table is used as the data area to be filtered and counted in the data table.

3. The method according to claim 1, characterized in that Before receiving the user screening instruction, the method further includes: receiving a user filtering condition, wherein the user filtering condition is used to eliminate data areas in the data table that do not meet the user filtering condition.

4. The method according to claim 1, characterized in that: The method uses all the contents as a screening data set, obtains a result data set for storing different types of comparison contents and numerical values ​​corresponding to the comparison contents, compares the comparison contents in the result data set with the contents in the screening data set, and processes the numerical values ​​corresponding to the comparison contents in the result data set to obtain classification statistics results of each type of content, specifically including: All contents contained in the fields specified by the user to be viewed in the data area are used as a screening data set; Acquire a result data set, wherein the result data set is used to store different types of comparison contents and values ​​corresponding to the comparison contents; Step A, selecting one content that has not been counted from the screening data set each time, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result; Step B, processing the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result; Step C, calculating the sum of the values ​​corresponding to all the comparison contents existing in the result data set according to the processed values; When the sum of the values ​​is equal to the total number of contents in the screening data set, the comparison contents in the result data set and the values ​​corresponding to the comparison contents are used as the classification statistics results of the various types of contents.

5. The method according to claim 4, characterized in that The step of selecting one content that has not been counted from the screening data set, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result includes: Selecting one content that has not been counted from the screening data set, and comparing the content that has not been counted with all the comparison contents in the result data set; When there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set; The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes: When the judgment result is that there is no comparison content identical to the uncounted content in the result data set, the uncounted content is added to the result data set to form a newly added comparison content, and the value corresponding to the newly added comparison content is 1.

6. The method according to claim 4, characterized in that The step of selecting one content that has not been counted from the screening data set, determining whether there is a comparison content that is the same as the content that has not been counted in the result data set, and obtaining a determination result includes: Selecting one content that has not been counted from the screening data set, and comparing the content that has not been counted with all the comparison contents in the result data set; When there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set; The processing of the numerical values ​​corresponding to the comparison contents in the result data set according to the judgment result includes: When the judgment result is that the result data set contains the same comparison content as the content that has not been counted, the value corresponding to the comparison content corresponding to the content that has not been counted in the result data set is increased by 1.

7. The method according to claim 4, characterized in that After the step of calculating the sum of the values ​​corresponding to all the comparison contents in the result data set according to the processed values, the method further includes: When the sum of the numerical values ​​is less than the total number of contents in the filtered data set, return to execute steps A, B and C until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and use the comparison contents in the result data set and the numerical values ​​corresponding to the comparison contents as the classification statistical results of the various types of contents.

8. The method according to claim 1, characterized in that The designated manner includes a direct display mode of directly displaying according to the statistical results and a sorted display mode of sorting according to the numerical values ​​in the statistical results.

9. The method according to claim 1, characterized in that: After displaying the statistical results on the screening panel in a specified manner, the method further includes: generating text from the statistical results and exporting the text.

10. A data statistics device, characterized in that: include: A data area acquisition module is used to obtain the data area to be filtered and counted in the data table; The data area contains multiple rows and multiple fields of content, and the content has multiple different types; wherein the field is a column in the data area; A filtering instruction receiving module, used for receiving a user filtering instruction, wherein the user filtering instruction is used for filtering the fields specified by the user in the data area for viewing, and the user filtering instruction is generated by the user selecting a filtering drop-down arrow at a specified field identifier, or by the user obtaining a selection menu at a specified field identifier and selecting to open a filtering panel from the selection menu; A content acquisition module, used to acquire all the content contained in the field specified by the user to be viewed in the data area according to the user screening instruction; wherein the content is all the content contained in the column where the field specified to be viewed is located in the data area; A content classification module, used to classify and summarize all the content to obtain classification statistics of each type of content, wherein the classification statistics include each type of content and the number or percentage corresponding to each type of content in all the content; wherein the types of content included in the classification statistics are all different; A statistical result display module, used to display the statistical results on the screening panel in a specified manner; The content classification module is specifically used to use all the content as a screening data set, obtain a result data set for storing different types of comparison content and numerical values ​​corresponding to the comparison content, compare the comparison content in the result data set with the content in the screening data set, and process the numerical values ​​corresponding to the comparison content in the result data set to obtain classification statistics results of each type of content; wherein the sum of the numerical values ​​corresponding to all the comparison content existing in the result data set is equal to the total number of content in the screening data set.

11. The device according to claim 10, characterized in that The data area acquisition module includes: A search instruction receiving module, used for receiving a user's instruction for searching a target data table, wherein the instruction for searching a target data table is used for searching a target data table to be screened and counted within a specified range; A search module, configured to search for the target data table within the specified range according to the user's instruction to search for the target data table; The display module is used to display the data area in the target data table, and use the displayed data area in the target data table as the data area to be screened and counted in the data table.

12. The device according to claim 10, characterized in that The device also includes: The user filtering condition receiving module is used to receive user filtering conditions before receiving the user filtering instruction, and the user filtering conditions are used to eliminate the data area in the data table that does not meet the user filtering conditions.

13. The device according to claim 10, characterized in that The content classification module includes: A screening data set acquisition module, used to take all the contents contained in the fields specified by the user to be viewed in the data area as the screening data set; A data set acquisition module, used to acquire a result data set, wherein the result data set is used to store different types of comparison contents and values ​​corresponding to the comparison contents; A judgment result acquisition module is used to select one uncounted content from the screening data set each time, judge whether there is a comparison content that is the same as the uncounted content in the result data set, and obtain a judgment result; a value processing module is used to process the value corresponding to the comparison content in the result data set according to the judgment result; A numerical summing module, used to calculate the sum of the numerical values ​​corresponding to all the comparison contents existing in the result data set according to the processed numerical values; The first content classification submodule is used to use the comparison content in the result data set and the values ​​corresponding to the comparison content as the classification statistics results of the various types of content when the sum of the values ​​is equal to the total number of content in the screening data set.

14. The device according to claim 13, characterized in that The judgment result acquisition module includes: A first comparison module, configured to select one content that has not been counted from the screening data set, and compare the content that has not been counted with all the comparison contents in the result data set; A first judgment result acquisition submodule, when there is no comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is no comparison content identical to the content that has not been counted in the result data set; The numerical processing module comprises: The first numerical processing submodule is used to add the uncounted content to the result data set to form newly added comparative content when the judgment result is that there is no comparative content identical to the uncounted content in the result data set, and the numerical value corresponding to the newly added comparative content is 1.

15. The device according to claim 13, characterized in that The judgment result acquisition module includes: A first comparison module, configured to select one content that has not been counted from the screening data set, and compare the content that has not been counted with all the comparison contents in the result data set; The second judgment result acquisition submodule, when there is a comparison content identical to the content that has not been counted in the result data set, the judgment result is that there is a comparison content identical to the content that has not been counted in the result data set; The numerical processing module comprises: The second numerical processing submodule is used to add 1 to the numerical value corresponding to the comparative content corresponding to the uncounted content in the result data set when the judgment result is that the result data set contains the same comparative content as the uncounted content.

16. The device according to claim 13, characterized in that The content classification module also includes: The second content classification submodule is used to return to execute steps A, B and C when the sum of the numerical values ​​is less than the total number of contents in the filtered data set, until the sum of the numerical values ​​is equal to the total number of contents in the filtered data set, and then use the comparison content in the result data set and the numerical values ​​corresponding to the comparison content as the classification statistical results of the various types of content.

17. The device according to claim 10, characterized in that The designated manner includes a direct display mode of directly displaying according to the statistical results and a sorted display mode of sorting according to the numerical values ​​in the statistical results.

18. The device according to claim 10, characterized in that After displaying the statistical results on the screening panel in a specified manner, the device further includes: The text export module is used to generate text from the statistical results and export the text.

19. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 9 when executing a program stored in a memory.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 9 are implemented.