Report generation methods, apparatus, equipment, and readable storage media

By generating extended information groups and configuring status based on similarity and retention rates, reports are automatically generated, solving the problem of low accuracy caused by manual writing and improving the accuracy and efficiency of report generation.

CN117875276BActive Publication Date: 2026-11-17CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311705528.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2026-11-17
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

In existing technologies, reports written by humans suffer from low accuracy.

Method used

Extended information groups are generated by acquiring multiple basic information. The extended information is configured to be retained or deleted based on the similarity between the extended information and the basic information and preset similarity conditions. The retention rate of each preset type is calculated. The target type is determined based on the retention rate and preset retention rate conditions, and a report is generated.

Benefits of technology

This improved the accuracy and efficiency of report generation, reducing the need for manual judgment and writing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117875276B_ABST
    Figure CN117875276B_ABST
Patent Text Reader

Abstract

This invention provides a report generation method, apparatus, device, and readable storage medium, comprising: acquiring multiple basic information for generating a report, and generating extended information groups corresponding to each basic information; configuring the extended information in each extended information group to a preset state based on the similarity between the extended information and the corresponding basic information and a preset similarity condition; determining the retention rate of each preset type based on the number of extended information in a retained state in each preset type; determining a target type that meets the preset retention rate condition among the multiple preset types based on the retention rate and the preset retention rate condition, and generating a report based on the extended information of the target type. This invention can configure information to a preset state based on similarity and statistically analyze the retention rates of different types, enabling the selection of more accurate information for report generation and improving the accuracy of report generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a report generation method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] In some scenarios, it's necessary to write corresponding reports based on certain basic information. For example, when a customer complains, a complaint ticket will appear in the customer management system, and a report needs to be written based on the content of the complaint ticket.

[0003] Currently, obtaining corresponding reports based on some basic information is done manually, by which human judgment is made on what information to use and in what manner to write the report.

[0004] The current approach involves human reporting, which relies on subjective judgments of relevant personnel and is based on subjective opinions. This approach is prone to errors and has low accuracy. Summary of the Invention

[0005] This invention provides a report generation method, apparatus, electronic device, and readable storage medium to solve the problem of low accuracy caused by manual report writing in the prior art.

[0006] In a first aspect, embodiments of the present invention provide a report generation method, including:

[0007] The system acquires multiple basic information pieces for generating a report and generates an extended information group corresponding to each basic information piece; each extended information group includes multiple preset types of extended information.

[0008] Based on the similarity between the extended information and the corresponding basic information and a preset similarity condition, the extended information in each extended information group is configured to a preset state; the preset state is either a retained state or a deleted state.

[0009] The retention rate of each preset type is determined based on the number of extended information items in a retained state in each preset type.

[0010] Based on the retention rate and the preset retention rate conditions, a target type that meets the preset retention rate conditions is determined from the various preset types, and a report is generated based on the extended information of the target type.

[0011] In a second aspect, embodiments of the present invention provide a report generation apparatus, comprising:

[0012] The information acquisition module is used to acquire multiple basic information for generating a report and generate an extended information group corresponding to each basic information; each extended information group includes multiple preset types of extended information.

[0013] The similarity calculation module is used to configure the extended information in each extended information group to a preset state based on the similarity between the extended information and the corresponding basic information and a preset similarity condition; the preset state is either a retention state or a deletion state.

[0014] The type statistics module is used to determine the retention rate of each preset type based on the number of extended information items in the retention state in each preset type.

[0015] The report generation module is used to determine the target type that meets the preset retention rate conditions from among the multiple preset types based on the retention rate and preset retention rate conditions, and to generate a report based on the extended information of the target type.

[0016] Thirdly, embodiments of the present invention provide 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 through the communication bus;

[0017] Memory, used to store computer programs;

[0018] When a processor executes a program stored in memory, it implements the steps in the report generation method described in the first aspect above.

[0019] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the report generation method described in the first aspect above.

[0020] Compared with prior art, the present invention has the following advantages:

[0021] In this embodiment of the invention, multiple basic information pieces are acquired for report generation, and extended information groups corresponding to each basic information piece are generated. Based on the similarity between the extended information and the corresponding basic information, and a preset similarity condition, the extended information in each extended information group is configured to a preset state. Based on the number of extended information pieces in a retained state in each preset type, a retention rate for each preset type is determined. Based on the retention rate and the preset retention rate condition, a target type that meets the preset retention rate condition is determined among multiple preset types, and a report is generated based on the extended information of the target type. This method enables the configuration of extended information states based on similarity, automatically selecting more accurate information from multiple preset types to generate reports without requiring manual judgment and writing, thereby improving the efficiency and accuracy of report generation.

[0022] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0024] Figure 1 A flowchart illustrating the steps of a report generation method provided in an embodiment of the present invention;

[0025] Figure 2 A flowchart illustrating the steps of another report generation method provided in an embodiment of the present invention;

[0026] Figure 3 A flowchart for report generation provided in an embodiment of the present invention;

[0027] Figure 4 A flowchart for parameter adjustment provided in an embodiment of the present invention;

[0028] Figure 5 A block diagram of a report generation apparatus provided in an embodiment of the present invention;

[0029] Figure 6 A block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0030] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the invention and to fully convey the scope of the invention to those skilled in the art.

[0031] Figure 1 This invention provides a report generation method, comprising:

[0032] Step 101: Obtain multiple basic information for generating the report, and generate an extended information group corresponding to each basic information; each extended information group includes multiple preset types of extended information;

[0033] In this embodiment of the disclosure, the basic information used to generate the report can refer to various types of information. In the case of a customer complaint, a customer may file a complaint due to some issues, and a complaint work order can be generated in the customer management system based on the complaint.

[0034] For complaint tickets, a report template can be generated first. Different report templates can be preset for different tickets, without limitation. Taking a complaint ticket as an example, the template can include the user's reported problem, basic user information, verification of the complaint, final processing result, etc. After obtaining the template, you can enter the report generation page, which is in Hyper Text Markup Language (HTML) format. Basic information related to the complaint ticket can be obtained through the customer management system or other systems that store relevant data. Basic information can include, for example, the customer's name, the date of the complaint, the issue raised, etc. When there are multiple complaint tickets regarding the same issue, there will be multiple sets of basic information that can be obtained.

[0035] Based on each piece of basic information, an extended information group is generated corresponding to each piece of basic information. An extended information group is a combination of multiple extended information items. Extended information includes the content of the basic information, as well as other information. This other information can be similar to or related to the basic information, or it can include conjunctions, etc. The content of the other information is not limited here. The extended information items within an extended information group are different from each other, and each extended information group includes multiple preset types of extended information. The preset types of extended information can refer to information with different components, such as different other information items, resulting in different types of extended information. For example, extended information with specific information A is type one, and extended information with specific information B is type two. The form and content of the preset types are not specifically limited here. An extended information group is generated corresponding to each piece of basic information. For example, the first basic information might correspond to the first extended information group, which includes three preset types of extended information, such as first subtype extended information, second subtype extended information, and third subtype extended information.

[0036] Step 102: Based on the similarity between the extended information and the corresponding basic information and a preset similarity condition, configure the extended information in each extended information group to a preset state; the preset state is either a retained state or a deleted state.

[0037] In this embodiment of the disclosure, since the extended information is obtained based on the basic information, there is a certain degree of similarity between the extended information and the basic information. However, when calculating the similarity between the extended information and the basic information, the similarity is calculated between the extended information and the corresponding basic information. The corresponding basic information is the basic information used to generate this extended information.

[0038] For a given set of basic information, a corresponding group of extended information is identified. Then, the similarity between the extended information in this group and the basic information is calculated. Based on the number of pre-defined extended types within the extended information group, a corresponding number of similarity results can be obtained. For example, the extended information group may include three types of extended information: a first type, a second type, and a third type. The similarity between the first type of extended information and its corresponding basic information could be 0.7, the second type could be 0.85, and the third type could be 0.6.

[0039] Based on the similarity between extended information and basic information, and the preset similarity conditions, if the similarity between extended information and basic information meets the preset similarity conditions, the extended information is configured to be retained; if the similarity between extended information and basic information does not meet the preset similarity conditions, the extended information is configured to be deleted.

[0040] The preset similarity condition can be a threshold condition, a ranking condition, or other content-related conditions. For example, a preset similarity condition could mean that a value greater than a preset similarity threshold is considered to meet the preset similarity condition, while a value less than or equal to the threshold is considered not to meet it. A preset similarity condition could also mean ranking first or second within a group of extended information. If the similarity between an extended piece of information and the basic information in that group is first or second in the similarity ranking of all extended pieces of information in that group, then the preset similarity condition is considered to be met. No specific restrictions are placed on the preset similarity condition here.

[0041] As shown in Table 1 below:

[0042] 1 Data 001 delete 2023 / 1 / 1 2 Data 002 delete 2023 / 1 / 1 3 Data 003 reserve 2023 / 1 / 1 4 Data 001 delete 2023 / 1 / 1 5 Data 002 reserve 2023 / 1 / 1 6 Data 003 delete 2023 / 1 / 1

[0043] Table 1

[0044] Data 001, 002, and 003, numbered 1-3, can be three preset types of extended information groups generated from one basic information. These three preset types of extended information groups are data 001, data 002, and data 003. Similarly, data 001, 002, and 003, numbered 4-6, can also be three preset types of extended information generated from one basic information. Therefore, the preset types are the same across different extended information groups, even though the specific content of the extended information may differ. For example, extended information A: Zhang San complains about slow internet speed; extended information B: Zhang San complains about router equipment failure. Extended information A and extended information B differ in content, but their structure and format are the same.

[0045] Step 103: Determine the retention rate of each preset type based on the number of extended information items in the retained state in each preset type;

[0046] In this embodiment, different extended information groups contain the same multiple preset types of extended information. After calculating the similarity between the extended information in different extended information groups and the corresponding basic information, a preset state is configured for each extended information in each extended information group. Although the preset types are the same in each extended information group, extended information of the same type can be either retained or deleted. Therefore, the retention rate of each preset type of extended information can be different.

[0047] As shown in Table 2 below:

[0048] 1 Data 001 delete 2023 / 1 / 1 2 Data 002 delete 2023 / 1 / 1 3 Data 003 reserve 2023 / 1 / 1 4 Data 001 delete 2023 / 1 / 1 5 Data 002 reserve 2023 / 1 / 1 6 Data 003 delete 2023 / 1 / 1 7 Data 001 delete 2023 / 1 / 2 8 Data 002 delete 2023 / 1 / 2 9 Data 003 reserve 2023 / 1 / 2

[0049] Table 2

[0050] The system can statistically analyze the extended information of each preset type that is in a retained state. As shown in the table above, data of type 001 was configured to be deleted three times, so for data in the range of 1-9, the retention rate of this type is 0; data of type 002 was configured to be deleted twice and retained once, so the retention rate is 33.3%; data of type 003 was configured to be retained twice and deleted once, so the retention rate is 66.6%.

[0051] Understandably, retention rates may change as more data becomes available.

[0052] Step 104: Based on the retention rate and the preset retention rate condition, determine the target type that meets the preset retention rate condition from the multiple preset types, and generate a report based on the extended information of the target type.

[0053] In this embodiment of the disclosure, after determining the retention rate of each preset type under a certain amount of data, a target type that meets the preset retention rate condition is determined from multiple preset types based on the retention rate of each preset type and the preset retention rate condition. The preset retention rate condition can be similar to the preset similarity condition, and is not specifically limited here.

[0054] For example, the preset retention rate condition can be a threshold. When the retention rate of a preset type reaches the threshold, it can be considered a target type that meets the preset retention rate condition. Once the target type is determined, the corresponding extended information can be obtained, and a report can be generated based on the corresponding extended information. The method for generating a report based on the corresponding extended information can be to add the extended information to the previously selected report template by replacing placeholders.

[0055] For example, placeholder param1 corresponds to province information, placeholder param2 corresponds to operator information, placeholder param3 corresponds to person's name information, and placeholder param4 corresponds to complaint information.

[0056] The report template can be:

[0057] User Complaint Handling Center: ${param1}${param4}

[0058] Upon receiving the complaint forwarded by the ${param1}${param4} User Complaint Handling Center regarding user ${param2}'s complaint about "${param3}", our company took it very seriously and immediately investigated and processed it. The processing results are reported as follows.

[0059] Add it to the previously selected report template using placeholder replacement, as shown below:

[0060] User Complaint Handling Center of a Certain Operator in a Certain Province:

[0061] Upon receiving a complaint forwarded by the user complaint handling center of a certain operator in a certain province regarding a user named Zhang San's complaint that "recharged phone credit has not been credited to his account," our company took it very seriously and immediately investigated and handled the matter. The handling results are reported as follows.

[0062] In summary, in this embodiment of the invention, multiple basic information pieces are acquired for report generation, and extended information groups are generated corresponding to each basic information piece. Based on the similarity between the extended information and the corresponding basic information, and a preset similarity condition, the extended information in each extended information group is configured to a preset state. The retention rate for each preset type is determined based on the number of extended information pieces in a retained state within each preset type. Based on the retention rate and the preset retention rate condition, a target type that meets the preset retention rate condition is determined from among multiple preset types, and a report is generated based on the extended information of the target type. This allows for configuring the state of extended information based on similarity, automatically selecting more accurate information from multiple preset types to generate reports without requiring manual judgment and writing, thereby improving the efficiency and accuracy of report generation.

[0063] like Figure 2 As shown, Figure 2This is a flowchart of another report generation method provided in this embodiment.

[0064] Step 201: Obtain multiple basic information for generating the report, and generate an extended information group corresponding to each basic information; each extended information group includes multiple preset types of extended information;

[0065] Step 202: Based on the similarity between the extended information and the corresponding basic information and a preset similarity condition, configure the extended information in each extended information group to a preset state; the preset state is either a retained state or a deleted state.

[0066] Step 203: Determine the retention rate of each preset type based on the number of extended information items in the retained state in each preset type;

[0067] Step 204: Based on the retention rate and the preset retention rate condition, determine the target type that meets the preset retention rate condition from the multiple preset types, and generate a report based on the extended information of the target type.

[0068] The specific embodiments of steps 201-304 can be found above. Figure 1 The details of the embodiments will not be repeated here.

[0069] Optionally, step 201 may include step 2011:

[0070] Step 2011: Based on each of the basic information, generate a corresponding type of extended information through each of the multiple preset text parameters to obtain an extended information group containing multiple types of extended information;

[0071] The basic information includes multiple sub-basic information, and the preset text parameters are used to configure the positional relationship between the sub-basic information.

[0072] In this embodiment of the disclosure, the basic information may include multiple sub-basic information. For example, multiple basic information can be obtained for different complaint work orders, and one basic information can correspond to one work order. Based on each work order, a series of related information can be obtained, and these related information are the sub-basic information used to constitute the basic information of that work order. For example, if work order A records "On January 1, 2023, user Zhang San complained that the internet speed was too slow", the obtained sub-basic information includes the time: January 1, 2023, user: Zhang San, and problem: slow internet speed. The basic information includes these three pieces of information.

[0073] Understandably, different sub-basic information can be stored in different systems. We can first obtain partial sub-basic information from one system, and then use that partial information to obtain the remaining sub-basic information from other systems. As mentioned earlier, the report generation can be displayed on a single report generation page. The already obtained partial sub-basic information can be retained as global parameters in a hidden control on the page for subsequent collection of the remaining sub-basic information from other systems. For example, as shown below, "Province," "Operator," "Zhang San," and "Recharged Phone Credit Not Received" are some of the already obtained partial sub-basic information. Therefore, the report generation page would be configured as follows:

[0074] <input name="param1"value="某省"style="display:none;">

[0075] <input name="param2"value="某运营商"style="display:none;">

[0076] <input name="param3"value="张三"style="display:none;">

[0077] <input name="param4"value="充值话费未到账"style="display:none;">

[0078] Pre-defined text parameters can be obtained in advance. These parameters configure the position of basic information within extended information, and each parameter configures the basic information differently. Based on a single piece of basic information, extended information of a specific type can be generated using one of the multiple pre-defined text parameters. For example, two different pre-defined text parameters can generate "Zhang San complained about slow internet in 2023" and "In 2023, Zhang San complained about slow internet." Based on multiple pre-defined text parameters, a group of extended information containing various pre-defined types can be obtained for this basic information. It's understood that, in addition to configuring the positional relationships between basic information, pre-defined text parameters can also be configured to add extra information such as words or sentences to the extended information; this is not limited here.

[0079] Optionally, the basic information includes multiple sub-basic information; step 202 may include steps 2021-3023:

[0080] Step 2021: Calculate the similarity between the extended information and each of the sub-basic information to obtain a similarity parameter set for the extended information;

[0081] Step 2022: Calculate the similarity between each similarity in the similarity parameter group and its corresponding weight value to obtain the similarity between the extended information and the corresponding basic information.

[0082] Step 2023: Based on the preset similarity conditions, configure the extended information in the extended information group that meets the preset similarity conditions as a retained state, and configure the extended information that does not meet the preset similarity conditions as a deleted state.

[0083] In this embodiment, an extended piece of information is generated based on a basic piece of information. The basic piece of information includes multiple sub-basic pieces of information. The similarity between the extended information and each sub-basic piece of information in the basic information is calculated to obtain a similarity parameter set. The number of similarity parameter results included in the similarity parameter set is consistent with the number of sub-basic pieces of information in the basic information. Each sub-basic piece of information has a corresponding similarity result.

[0084] Then, a weighted calculation is performed based on each similarity in the similarity parameter group and its corresponding weight value. The weight value corresponding to each similarity is different. When determining the weight value corresponding to the similarity, it can be determined according to the importance of the sub-basic information. For example, the weight value corresponding to basic information such as user name and complaint content can be higher.

[0085] Based on the similarity weighted result of the similarity parameter group corresponding to the extended information, the extended information is configured to either be retained or deleted. The specific configuration process based on the similarity weighted result and preset similarity conditions will not be elaborated here.

[0086] By implementing embodiments of this disclosure, a similarity parameter set for the extended information is obtained by calculating the similarity between the extended information and each sub-basic information; each similarity in the similarity parameter set is combined with its corresponding weight value to calculate the similarity between the extended information and the corresponding basic information. This allows for more accurate calculation of the similarity of the extended information based on the importance of different sub-basic information and different weight values, further improving the accuracy of report generation.

[0087] Optionally, after step 202, steps 205-206 are also included:

[0088] Step 205: Obtain the correction operation for the preset state, update the number of extended information in the retained state in each preset type, and the retention rate of each preset type;

[0089] Step 206: Adjust the preset retention rate threshold according to the number of correction operations.

[0090] In this embodiment of the disclosure, after configuring the extended information to have a retention state or a deletion state, the retention state or deletion state can be corrected. When the retention state is corrected to the deletion state, or the deletion state is corrected to the retention state, the retention rate will change.

[0091] Therefore, during the correction process, the number of extended information items in the retained state in each preset type can be updated in real time, and the retention rate of each preset type can be updated accordingly.

[0092] Furthermore, correction operations can be performed manually, which can be considered a form of manual evaluation, assessing and correcting the results of machine recognition. The more correction operations performed, the greater the need to satisfy the preset retention rate threshold.

[0093] Optionally, step 206 may include sub-steps 2061-2062:

[0094] Sub-step 2061: When the correction operation is the first operation, the preset retention rate threshold is lowered according to the number of times the first operation is performed; the first operation is the operation of correcting the deletion state to the retention state.

[0095] Sub-step 2062: When the correction operation is the second operation, the preset retention rate threshold is increased according to the number of times the second operation is performed; the second operation is the operation of correcting the retention state to the deletion state.

[0096] In this embodiment of the disclosure, the correction operation can be a first operation, which corrects the deletion state to a retention state; or it can be a second operation, which corrects the retention state to a deletion state.

[0097] The change from deletion to retention indicates that the manual evaluation deemed the configured state of this extended information unsuitable for actual needs, and therefore, this extended information should be retained. Based on the number of times the first operation was performed, the preset retention rate threshold is lowered. Lowering the preset retention rate threshold makes this preset type more easily identified as the target type, thus increasing the likelihood that reports will be generated using extended information of this target type.

[0098] This could involve counting the number of times the first operation is performed. When the number of first operations reaches a first preset value, the preset retention rate threshold is reduced by a certain amount. When the number of first operations reaches a second preset value, the preset retention rate threshold is reduced by another certain amount. It's understandable that the first and second preset values ​​can be different, the magnitude of the first reduction can be different from the second reduction, and the magnitude of subsequent reductions can also be different for reaching the third, fourth, and so on preset values.

[0099] For example, the number of operations and the threshold reduction can be determined by summing the Fibonacci sequence. When extended information configured for deletion is corrected to retention status 7 times consecutively, the threshold will automatically decrease by 1%. If it is corrected to retention status 15 times consecutively, the threshold will automatically decrease by 2%. If retention is selected 24 times consecutively (step size incremented by 1), the threshold will automatically decrease by 4%, until the preset retention rate threshold is 0%. Alternatively, the threshold can decrease by 1% when the first operation count reaches 7 times; by 3% when the first operation count reaches 14 times; and by 5% when the first operation count reaches 21 times. This allows the threshold reduction to accelerate as the number of operations increases exponentially.

[0100] As shown in the table below:

[0101] Optionally, multiple preset types may have the same initial preset retention rate threshold; step 206 may include sub-steps 2063-2064:

[0102] Sub-step 2063: Based on the extended information targeted by the correction operation, determine the preset type corresponding to the extended information and use it as the preset type to be adjusted; there is at least one preset type to be adjusted;

[0103] Sub-step 2064: Adjust the initial preset retention rate threshold of the preset type to be adjusted according to the number of correction operations.

[0104] In this embodiment of the disclosure, multiple preset types have the same initial preset retention rate threshold, that is, the preset retention rate of each preset type is the same at the beginning.

[0105] Correction operations are used to correct the retention or deletion status of specific extended information. Therefore, each correction operation targets only one extended information, and each extended information has its own preset type. When correcting the preset status of extended information, only the initial preset retention rate threshold for the corresponding preset type needs to be adjusted; the initial preset retention rate thresholds for other preset types are not adjusted. When extended information of other preset types is also corrected, the initial preset retention rate thresholds for the corresponding preset types can be adjusted. The method for adjusting the initial preset retention rate threshold of the preset type to be adjusted, based on the number of correction operations, can be referred to the above content and will not be repeated here. Tables 3 and 4 are shown below; Table 3 shows the data before correction, and Table 4 shows the data after correction.

[0106]

[0107] Table 3: Before Correction

[0108]

[0109] Table 4: Corrected

[0110] The preset data type is 001. Before correction, data 001 was retained 9 times consecutively. After correction, the last 4 retained states of data 001 were changed to deleted states. Therefore, the initial preset retention rate threshold for this preset data type can be increased by 1%. See Table 5 below:

[0111]

[0112] Table 5

[0113] As shown in the table above, after configuring data 001-003 to a preset state based on similarity, humans can evaluate the data. Evaluations can be either approval (no correction) or correction. When the human evaluation is approval (no correction), the credibility increases, indicating that the current preset retention rate threshold is normal and no optimization or adjustment is needed. When the human evaluation is correction, the credibility decreases, indicating that the current preset retention rate threshold is too low and optimization or adjustment is needed, such as increasing it.

[0114] By implementing embodiments of this disclosure, a preset type corresponding to the extended information is determined based on the extended information targeted by the correction operation, and this preset type is used as the preset type to be adjusted. The initial preset retention rate threshold for the preset type to be adjusted is adjusted based on the number of correction operations. This allows for adjustment of only the initial preset retention rate threshold corresponding to the preset type based on the type of the corrected extended information, enabling accurate adjustment of the initial preset retention rate threshold for each preset type. This makes the determination of the target type more accurate and better meets actual needs, further improving the accuracy of report generation.

[0115] Optionally, step 204 may include sub-steps 2041-2044:

[0116] Sub-step 2041: Based on the preset retention rate condition and the retention rates of the multiple preset types, determine at least two preset types that meet the preset retention rate condition;

[0117] Sub-step 2042: Select a preset percentage of extended information from the various preset types of extended information;

[0118] Sub-step 2043: In the extended information of the preset percentage, based on the preset retention rate condition and the retention rates of the multiple preset types, determine the preset type that meets the preset retention rate condition;

[0119] Sub-step 2044: If there is still more than one preset type that meets the preset retention rate threshold, proceed to the step of selecting the preset percentage of extended information until it is determined that there is only one preset type that meets the preset retention rate threshold.

[0120] In this embodiment of the disclosure, multiple preset retention rates and preset retention rate conditions are matched. There may be one or more preset types that can meet the preset retention rate conditions. When there is only one preset type that can meet the preset retention rate conditions, it can be directly used as the target type, which will not be elaborated here.

[0121] When there are more than one (at least two) preset types that can meet the preset retention rate conditions, further filtering is required. Preset percentages of extended information can be selected from the original extended information library, which consists of extended information for multiple preset types. These preset percentages can be 30%, 50%, 70%, etc. For example, see Table 6 below:

[0122]

[0123]

[0124] Table 6

[0125] The content in the table above represents the original extended information database, which consists of various preset types of extended information, including extended information ranging from 1 to 12. Selecting a preset percentage, such as 50% of the extended information, can be done by selecting extended information ranging from 1 to 6, 7 to 12, or 4 to 9; there are no restrictions. It is understood that the table above is only an example of percentage selection; the actual number of extended information items is greater than the data volume in the table.

[0126] Then, in the selected preset percentage extended information, the retention rate corresponding to various preset types is calculated. The method of calculating the retention rate here is similar to the above content, except that the retention rate is calculated in different data ranges, which will not be repeated here.

[0127] Based on the preset retention rate conditions and the retention rates of multiple preset types, determine the preset types that meet the preset retention rate conditions. If there are still more than one preset type that meets the preset retention rate threshold, continue to select the extended information of the preset percentage, and continue to count the retention rate within the data range of these extended information, and continue to determine the preset types that meet the preset retention rate threshold until there is only one preset type that meets the preset retention rate threshold.

[0128] It is understandable that you can continue to select the extended information of the preset percentage. Even if the value of the preset percentage remains unchanged, you can select different parts of the extended information. For example, in the table above, you can select the extended information in the range of 1 to 6, or the extended information in the range of 7 to 12, or the extended information in the range of 4 to 9.

[0129] Implementing the embodiments of this disclosure involves determining at least two preset types that meet the preset retention rate conditions based on preset retention rate conditions and retention rates of multiple preset types; selecting extended information of a preset percentage from the extended information of multiple preset types; determining the preset type that meets the preset retention rate conditions based on the preset retention rate conditions and retention rates of multiple preset types from the extended information of the preset percentage; if there are still more than one preset type that meets the preset retention rate threshold, proceeding to the step of selecting extended information of the preset percentage, until only one preset type meets the preset retention rate threshold. This allows for the continuous determination of a unique target type from multiple preset types, and based on the above filtering process, it is possible to select a target type that meets the preset retention rate conditions across different preset percentage ranges of extended information, making the determination of the target type more accurate and further improving the accuracy of report generation.

[0130] Optionally, sub-step 2042 may include steps 20421-30423:

[0131] Step 20421: Select extended information corresponding to different percentages from the various preset types of extended information;

[0132] Step 20422: Calculate the state fluctuation parameters corresponding to the different percentages of extended information based on the preset states of the extended information corresponding to the different percentages; the state fluctuation parameters are used to represent the differences in the preset states of the extended information corresponding to the different percentages.

[0133] Step 20423: Based on the magnitude of the state fluctuation parameter corresponding to the different percentages, determine the percentage corresponding to the smallest state fluctuation parameter and use it as the preset percentage.

[0134] In this embodiment of the disclosure, in the original extended information database composed of various preset types of extended information, multiple percentages of extended information can be selected first. Referring again to Table 5, 25% of the data (extended information numbers 10 to 12) can be selected, and 50% of the data (extended information numbers 7 to 12) can be selected. It is understood that this example uses only a small amount of data and may not yield a highly effective retention rate. In actual operation, a larger data volume, such as 200 extended information items, is sufficient to obtain the corresponding retention rate.

[0135] Based on the preset states of the extended information corresponding to different percentages, calculate the state fluctuation parameters corresponding to different percentages. The calculation process can be as follows: taking 300 extended information items as an example, each group of 3 extended information items forms a group of extended information items for the basic information, resulting in 100 groups of extended information items. When each group of 3 extended information items forms a group, the preset states of these 3 extended information items can be different, with 8 possible preset states for 3 extended information items. See Table 7 below:

[0136]

[0137]

[0138] Table 7

[0139] Data 001-003 represent three extended information items of three preset types within an extended information group. As shown in combination 1, data 001 indicates a deleted state, data 002 indicates a retained state, and data 003 indicates a deleted state. The extended information group consisting of data 001-003 belongs to one of these eight combinations. Therefore, 100 extended information groups will result in 100 results belonging to one of these eight combinations, as shown in Table 8 below.

[0140] 4 2 4 6 4 6 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 7 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 1 4 4 4 4 4 4 4 4 4 1 7 8 6 1 4 4 4 4 4 4 4 4 4 4 4 1 4 4 4 1 2 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

[0141] Table 8

[0142] Table 8 includes the preset state combinations for each of the 100 extended information groups. Taking the first "4" in the top left corner as an example, it means that the preset state for data 001-003 (numbered 1-3) is combination 1 in Table 6, i.e., data 001 is deleted, data 002 is retained, and data 003 is deleted. The selected percentage of extended information can be found in Table 7. For example, if 50% of the extended information is selected, and 50% of the extended information is located at the end, then it corresponds to the preset states in the bottom two rows of Table 7. The state fluctuation parameter is calculated based on these two rows of preset states. This can be done by adding the numbers in each cell and dividing by the total number of cells to get the average of the number of combinations in these two rows, and then subtracting the average from the most frequent combination. Taking these two rows as an example, the sum of the 25 combinations is 195, divided by 50, the average is 3.9, and the most frequent combination is 4. Therefore, the state fluctuation parameter is 4 minus 3.9, which is 0.1.

[0143] Based on a similar approach, state fluctuation parameters are calculated according to different percentages of extended information. Then, based on the magnitude of the state fluctuation parameters, the percentage corresponding to the smallest state fluctuation parameter is selected and used as the preset percentage.

[0144] In implementing embodiments of this disclosure, extended information corresponding to different percentages is selected from the various preset types of extended information; based on the preset states of the extended information corresponding to different percentages, state fluctuation parameters are calculated; the state fluctuation parameters are used to represent the differences in the preset states of the extended information corresponding to different percentages; based on the magnitude of the state fluctuation parameters corresponding to different percentages, the percentage corresponding to the smallest state fluctuation parameter is determined and used as the preset percentage. When selecting a target type from multiple preset types that meet preset retention rate conditions based on percentage-based extended information, the state fluctuation parameters enable the selection of extended information with better data stability, further improving the accuracy of selecting extended information for the target type and increasing the accuracy of report generation.

[0145] Optionally, the multiple pieces of basic information have different timestamps; step 204 may include sub-steps 2045-2048:

[0146] Sub-step 2045: In response to user operation, determine target filtering parameters from a plurality of preset filtering parameters; the plurality of filtering parameters include similarity parameters and timestamp parameters;

[0147] Sub-step 2046: When the target filtering parameter is a similarity parameter, select an extension information from the extension information of the target type based on the similarity between the extended information of the target type and the corresponding basic information.

[0148] Sub-step 2047: When the target filtering parameter is a timestamp parameter, select the target extended information corresponding to the basic information that meets the preset timestamp condition from the extended information belonging to the target type, based on the timestamp of the basic information.

[0149] Sub-step 2048: Generate a report based on the target extended information.

[0150] In this embodiment of the disclosure, after determining the target type, it is necessary to select one piece of extended information from the extended information belonging to the target type to generate a report. This selection can be made using multiple preset filtering parameters, including similarity parameters, timestamp parameters, and other filtering parameters, which are not limited here.

[0151] It can be in response to user actions, selecting a target filtering parameter from multiple preset filtering parameters. When the target filtering parameter is a similarity parameter, then based on the similarity between the extended information of the target type and the corresponding basic information, an extended piece of information is selected from the extended information of the target type. The similarity calculation is similar to the similarity calculation described above, and will not be repeated here. The target extended information is selected based on the similarity between the extended information of the target type and the corresponding basic information.

[0152] Because the sources of multiple pieces of basic information are different, such as different complaint work orders, and complaint work orders are a series of work orders generated at different times, multiple pieces of basic information have different timestamps.

[0153] When the target filtering parameter is a timestamp parameter, the target extended information corresponding to the basic information that meets the preset timestamp conditions is selected from the extended information belonging to the target type, based on the timestamp of the basic information. This can be the earliest, latest, or intermediate timestamp of the basic information. Selecting the earliest timestamp will retrieve the very first basic information, which may be the most complete. Selecting the latest timestamp will provide the most recent and up-to-date information. The specific content of the preset timestamp conditions can be freely configured according to actual needs and is not restricted here.

[0154] After obtaining target extended information through target filtering parameters, a report can be generated based on this information. This can involve binding the current template and target extended information, converting it into an HTML file, and saving it to the database server. The report can be viewed by opening the HTML file with a web browser, browser plugin, or document processing software. Alternatively, the static HTML file can be read and converted to PDF format. A unique identification code can be generated based on the document content and attached to the document to verify its authenticity. Finally, the document is archived and saved to the server. Users can download and use the document based on their permissions, and the downloader's account, timestamp, and other information are recorded.

[0155] In implementing embodiments of this disclosure, in response to user operation, a target filtering parameter is determined from a plurality of preset filtering parameters; the plurality of filtering parameters include a similarity parameter and a timestamp parameter; when the target filtering parameter is a similarity parameter, target extended information is selected from the extended information of the target type based on the similarity between the extended information of the target type and the corresponding basic information; when the target filtering parameter is a timestamp parameter, target extended information corresponding to the basic information that meets the preset timestamp condition is selected from the extended information belonging to the target type based on the timestamp of the basic information; a report is generated based on the target extended information. This avoids the need to use all extended information belonging to the target type, reduces the redundancy of the report, and can select an extended information that meets the requirements from all extended information belonging to the target type, based on which a more accurate report can be generated.

[0156] Understandably, in scenarios where reports are generated based on complaint tickets, there can be different complaint themes, such as fee issues, internet speed issues, or package subscription issues. The applicable parameters, thresholds, or conditions can be different for each theme, such as preset retention rate thresholds or preset similarity conditions. After determining the relevant parameters, thresholds, or conditions through the above steps, multiple themes can be tested to see if a highly usable report can be generated. If a certain number of themes cannot generate a highly usable report, the relevant parameters, thresholds, or conditions can be adjusted using the same steps.

[0157] Additionally, when generating reports on specific topics, if the usability of reports for that topic is low and they cannot be used as valid reports, it may be because the filtered extended information is not being used. In this case, the relevant parameters, thresholds, or conditions in the above method steps can be modified to determine the usability of the report. If modifying a specific parameter causes a significant change in the report's usability, that parameter should be adjusted accordingly.

[0158] Figure 3 This is a flowchart of the report generation process provided by the present invention. For example... Figure 3 As shown, step 301 involves selecting the work order for which a report needs to be generated and choosing the corresponding template; step 302 involves collecting first basic information, such as user name and complaint date; step 303 involves collecting second basic information, such as the specific complaint details; step 304 involves generating extended information based on the first and second basic information; step 305 involves performing text analysis on the extended information, such as similarity analysis; step 306 involves filtering the extended information, such as determining the target type and target extended information; step 307 involves obtaining the results of automatic filtering; step 308 involves manual filtering, which involves evaluating and correcting the results of automatic filtering; step 309 involves determining the final filtering results, such as the target type and target extended information; and step 310 involves generating a report based on the filtering results. In addition, in step 311, when collecting basic information, there may be an abnormal situation where the collection fails. Based on this, abnormal handling is performed, such as re-acquiring the information. In step 312, after abnormal handling, information prompts are given on the processing results. In step 313, when automatically filtering results and manually filtering, the parameters involved, such as preset threshold conditions and preset similarity conditions, are configured.

[0159] Figure 4This is a flowchart of parameter adjustment during the screening process provided by the present invention. Step 401: Obtain extended information; Step 402: Obtain basic information; Step 403: Calculate similarity; Step 404: Determine how to configure the preset state for the extended information; Step 405: Automatically filter the results, i.e., extended information configured to be retained and extended information configured to be deleted; Step 406: Manually evaluate the screening results, such as whether to perform a correction operation; Step 407: Approval, no correction operation performed, credibility increases; Step 408: Determine whether the credibility reaches a threshold; Step 409: If the threshold is reached, no further adjustment of parameters during the screening process, such as a preset retention rate threshold, is required; Step 410: If a correction operation is performed, credibility decreases; Step 411: If the credibility threshold is not reached or a correction operation is performed, continue adjusting the parameters, and then return to Step 405 for screening.

[0160] Figure 5 This is a schematic diagram of a report generation device provided in an embodiment of the present invention. The device includes:

[0161] The information acquisition module 501 is used to acquire multiple basic information for generating a report and generate an extended information group corresponding to each basic information; each extended information group includes multiple preset types of extended information.

[0162] The similarity calculation module 502 is used to configure the extended information in each extended information group to a preset state based on the similarity between the extended information and the corresponding basic information and a preset similarity condition; the preset state is either a retention state or a deletion state.

[0163] The type statistics module 503 is used to determine the retention rate of each preset type based on the number of extended information in the retention state in each preset type;

[0164] The report generation module 504 is used to determine the target type that meets the preset retention rate conditions from among the multiple preset types based on the retention rate and preset retention rate conditions, and to generate a report based on the extended information of the target type.

[0165] Optional, the information acquisition module includes:

[0166] The information generation submodule is used to generate a corresponding type of extended information based on each of the basic information and through each of the multiple preset text parameters, so as to obtain an extended information group containing multiple types of extended information.

[0167] The basic information includes multiple sub-basic information, and the preset text parameters are used to configure the positional relationship between the sub-basic information.

[0168] Optionally, the device also includes:

[0169] The correction module is used to obtain the correction operation for the preset state, update the number of extended information in the retained state in each preset type, and the retention rate of each preset type;

[0170] The retention rate adjustment module is used to adjust the preset retention rate threshold based on the number of correction operations.

[0171] Optional retention rate adjustment module, including:

[0172] The first retention adjustment submodule is used to lower the preset retention rate threshold according to the number of times the correction operation is the first operation; the first operation is the operation of correcting the deletion state to the retention state.

[0173] The second retention adjustment submodule is used to increase the preset retention rate threshold according to the number of times the correction operation is the second operation; the second operation is the operation of correcting the retention state to the deletion state.

[0174] Optional retention rate adjustment module, including:

[0175] The type adjustment submodule is used to determine the preset type corresponding to the extended information based on the extended information targeted by the correction operation and use it as the preset type to be adjusted; there is at least one preset type to be adjusted;

[0176] The initial adjustment submodule is used to adjust the initial preset retention rate threshold of the preset type to be adjusted based on the number of correction operations.

[0177] Optionally, the basic information includes multiple sub-basic information; the similarity calculation module includes:

[0178] The similarity group submodule is used to calculate the similarity between the extended information and each of the sub-basic information to obtain a similarity parameter group about the extended information;

[0179] The group calculation submodule is used to calculate the similarity between each similarity in the similarity parameter group and its corresponding weight value to obtain the similarity between the extended information and the corresponding basic information.

[0180] Optional, the report generation module includes:

[0181] A multi-type submodule is used to determine at least two preset types that meet the preset retention rate conditions based on the preset retention rate conditions and the retention rates of the multiple preset types;

[0182] The percentage selection submodule is used to select a preset percentage of extended information from the various preset types of extended information;

[0183] The percentage statistics submodule is used to determine the preset type that meets the preset retention rate condition based on the preset retention rate condition and multiple preset types of retention rates from the extended information of the preset percentage.

[0184] The loop submodule is used to proceed to the step of selecting the extended information of the preset percentage when there is still more than one preset type that meets the preset retention rate threshold, until it is determined that there is only one preset type that meets the preset retention rate threshold.

[0185] Optional, percentage selection submodules include:

[0186] The multi-percentage unit is used to select extended information corresponding to different percentages from the various preset types of extended information;

[0187] A state fluctuation unit is used to calculate state fluctuation parameters corresponding to different percentages based on preset states of extended information corresponding to different percentages; the state fluctuation parameters are used to represent the differences in preset states of extended information corresponding to different percentages.

[0188] The preset selection unit is used to determine the percentage corresponding to the smallest state fluctuation parameter based on the magnitude of the state fluctuation parameter corresponding to the different percentages, and use it as the preset percentage.

[0189] Optionally, the multiple pieces of basic information have different timestamps; the report generation module includes:

[0190] The filtering parameter submodule is used to respond to user operations and determine the target filtering parameter from a plurality of preset filtering parameters; the plurality of filtering parameters include similarity parameters and timestamp parameters;

[0191] The similarity filtering submodule is used to select target extended information from the target type's extended information based on the similarity between the extended information and the corresponding basic information when the target filtering parameter is a similarity parameter.

[0192] The timestamp filtering submodule is used to select target extended information corresponding to the basic information that meets the preset timestamp conditions from the extended information belonging to the target type, based on the timestamp of the basic information when the target filtering parameter is a timestamp parameter.

[0193] The target report generation submodule is used to generate a report based on the target extended information.

[0194] In summary, in this embodiment of the invention, multiple basic information pieces are acquired for report generation, and extended information groups are generated corresponding to each basic information piece. Based on the similarity between the extended information and the corresponding basic information, and a preset similarity condition, the extended information in each extended information group is configured to a preset state. The retention rate for each preset type is determined based on the number of extended information pieces in a retained state within each preset type. Based on the retention rate and the preset retention rate condition, a target type that meets the preset retention rate condition is determined from among multiple preset types, and a report is generated based on the extended information of the target type. This allows for configuring the state of extended information based on similarity, automatically selecting more accurate information from multiple preset types to generate reports without requiring manual judgment and writing, thereby improving the efficiency and accuracy of report generation.

[0195] The invention also provides an electronic device, see [link to invention]. Figure 6 It includes: a processor 801, a memory 802, and a computer program 8021 stored in the memory and executable on the processor. When the processor executes the program, it implements the report generation method of the foregoing embodiments.

[0196] The present invention also provides a readable storage medium that, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform the report generation method of the foregoing embodiments.

[0197] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0198] It should be noted that all information and data obtained in the embodiments of the present invention were obtained with the authorization of the information / data holder.

[0199] The algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other equipment. Various general-purpose devices can also be used in conjunction with the teachings herein. The required structure for constructing such devices is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0200] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0201] Similarly, it should be understood that, in order to simplify the invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0202] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0203] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the sorting device according to the present invention. The present invention can also be implemented as a device or apparatus program for performing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0204] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0205] The user information (including but not limited to user device information, user personal information, etc.) and related data involved in this invention are all information authorized by the user or by the parties.

[0206] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0207] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

[0208] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A report generation method, characterized in that, The method includes: The system acquires multiple basic information pieces for generating a report and generates an extended information group corresponding to each basic information piece; each extended information group includes multiple preset types of extended information. Based on the similarity between the extended information and the corresponding basic information and a preset similarity condition, the extended information in each extended information group is configured to a preset state; the preset state is either a retained state or a deleted state. The retention rate of each preset type is determined based on the number of extended information items in a retained state in each preset type. Based on the retention rate and the preset retention rate condition, a target type that meets the preset retention rate condition is determined from the multiple preset types, and a report is generated based on the extended information of the target type; The step of determining the target type that satisfies the preset retention rate condition from among the multiple preset types based on the retention rate and the preset retention rate condition includes: Based on the preset retention rate condition and the retention rates of the multiple preset types, at least two preset types that meet the preset retention rate condition are determined; the preset retention rate condition is a preset retention rate threshold. Among the various preset types of extended information, select extended information corresponding to different percentages; Based on the preset states of the extended information corresponding to the different percentages, calculate the state fluctuation parameters corresponding to the different percentages; the state fluctuation parameters are used to represent the differences in the preset states of the extended information corresponding to the different percentages. Based on the magnitude of the state fluctuation parameter corresponding to the different percentages, determine the percentage corresponding to the smallest state fluctuation parameter and use it as the preset percentage; In the extended information of the preset percentage, based on the preset retention rate condition and the retention rate of multiple preset types, the preset type that meets the preset retention rate condition is determined; If there is still more than one preset type that meets the preset retention rate threshold, proceed to the step of selecting extended information corresponding to different percentages until it is determined that there is only one preset type that meets the preset retention rate threshold.

2. The method according to claim 1, characterized in that, The steps for generating the extended information group corresponding to each basic information include: Based on each of the aforementioned basic information, a corresponding type of extended information is generated through each of the multiple preset text parameters to obtain an extended information group containing multiple types of extended information. The basic information includes multiple sub-basic information, and the preset text parameters are used to configure the positional relationship between the sub-basic information.

3. The method according to claim 1, characterized in that, After the step of configuring the extended information in each of the extended information groups to a preset state, the method further includes: Obtain the correction operation for the preset state, update the number of extended information in the retained state in each preset type, and the retention rate of each preset type; The preset retention rate threshold is adjusted based on the number of correction operations performed.

4. The method according to claim 3, characterized in that, The step of adjusting the preset retention rate threshold based on the number of correction operations includes: When the correction operation is the first operation, the preset retention rate threshold is lowered according to the number of times the first operation is performed; the first operation is the operation of correcting the deletion state to the retention state. When the correction operation is the second operation, the preset retention rate threshold is increased according to the number of times the second operation is performed; the second operation is the operation of correcting the retention status to the deletion status.

5. The method according to claim 3, characterized in that, The various preset types have the same initial preset retention rate threshold; The step of adjusting the preset retention rate threshold based on the number of correction operations includes: Based on the extended information targeted by the correction operation, a preset type corresponding to the extended information is determined and used as the preset type to be adjusted; there is at least one preset type to be adjusted. The initial preset retention rate threshold of the preset type to be adjusted is adjusted based on the number of correction operations.

6. The method according to claim 1, characterized in that, The basic information includes multiple sub-basic information; the step of configuring the extended information to a preset state based on the similarity between the extended information and the corresponding basic information includes: The similarity between the extended information and each of the sub-basic information is calculated to obtain a similarity parameter set for the extended information. Each similarity in the similarity parameter group is combined with its corresponding weight value to calculate the similarity between the extended information and the corresponding basic information.

7. The method according to claim 1, characterized in that, The various basic information items have different timestamps; The steps for generating a report based on the extended information of the target type include: In response to user operation, a target filtering parameter is determined from a set of preset filtering parameters; the set of filtering parameters includes a similarity parameter and a timestamp parameter. When the target filtering parameter is a similarity parameter, the target extension information is selected from the target type extension information based on the similarity between the target type extension information and the corresponding basic information. When the target filtering parameter is a timestamp parameter, the target extended information corresponding to the basic information that meets the preset timestamp condition is selected from the extended information belonging to the target type based on the timestamp of the basic information. A report is generated based on the target extended information.

8. A report generation device, characterized in that, The device includes: The information acquisition module is used to acquire multiple basic information for generating a report and generate an extended information group corresponding to each basic information; each extended information group includes multiple preset types of extended information. The similarity calculation module is used to configure the extended information in each extended information group to a preset state based on the similarity between the extended information and the corresponding basic information and a preset similarity condition; the preset state is either a retention state or a deletion state. The type statistics module is used to determine the retention rate of each preset type based on the number of extended information items in the retention state in each preset type. The report generation module is used to determine a target type that meets the preset retention rate condition from among multiple preset types based on the retention rate and a preset retention rate condition, and to generate a report based on the extended information of the target type; it is also used to determine at least two preset types that meet the preset retention rate condition based on the preset retention rate condition and the retention rates of the multiple preset types; the preset retention rate condition is a preset retention rate threshold; select extended information corresponding to different percentages from the extended information of the multiple preset types; calculate the state fluctuation parameter corresponding to the different percentages based on the preset states of the extended information corresponding to the different percentages; the state fluctuation parameter is used to represent the difference in the preset states of the extended information corresponding to the different percentages; determine the percentage corresponding to the smallest state fluctuation parameter based on the magnitude of the state fluctuation parameter corresponding to the different percentages and use it as the preset percentage; determine the preset type that meets the preset retention rate condition from the extended information of the preset percentage based on the preset retention rate condition and the retention rates of the multiple preset types; if there is still more than one preset type that meets the preset retention rate threshold, proceed to the step of selecting extended information corresponding to different percentages, until it is determined that there is only one preset type that meets the preset retention rate threshold.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the report generation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein the computer programs, when executed by a processor, implement the report generation method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Extensible Word report automatically-generating method based on dynamic web page

    CN101976235A

  • Text matching method and text matching system

    CN111695349A