Metadata weight value processing method and device

The metadata weight value is obtained and updated through the automatic evaluation mechanism, which solves the problem of lack of weight value evaluation in the generation of business intelligence reports on the data management platform, and improves the accuracy of weight value and dynamic update capabilities.

CN113987301BActive Publication Date: 2025-05-16BEIJING DEEPZERO TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111283709.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-01
Publication Date
2025-05-16
Estimated Expiration
2041-11-01

AI Technical Summary

Technical Problem

In the prior art, the data management platform's business intelligence report generation lacks weight value evaluation, resulting in the manual evaluation process of metadata weight value being complex and error-prone, and lacks effective solutions.

Method used

By obtaining the pending metadata in each table report, determining its weight value, and updating the weight value to the weight value list, an automatic evaluation mechanism is used instead of manual evaluation to improve the accuracy and dynamic update capabilities of the weight value.

Benefits of technology

It realizes the ability to avoid manual evaluation errors, improve the accuracy of metadata weight values ​​and dynamic update capabilities, and solves the problems of complex and error-prone operations in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113987301B_ABST
    Figure CN113987301B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for processing metadata weight values. The method comprises: obtaining metadata to be processed in each table report; determining the weight value of the metadata to be processed; and updating the weight value to a weight value list. The present invention solves the technical problem that the weight value of metadata is obtained by manual evaluation in the related art, and the operation process is complicated and prone to errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for processing metadata weight values. Background Art

[0002] In the prior art, the generation of data management platform business intelligence (DMPBI) reports does not have weight values ​​to evaluate certain indicators and. In addition, the use of manual evaluation to obtain the weight value of metadata is not only complicated in the operation process, but also prone to errors.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for processing metadata weight values, so as to at least solve the technical problem that in the related art, the metadata weight values ​​are obtained by manual evaluation, and the operation process is complicated and prone to errors.

[0005] According to one aspect of an embodiment of the present invention, a method for processing metadata weight values ​​is provided, including: obtaining metadata to be processed in each table report; determining weight values ​​of the metadata to be processed; and updating the weight values ​​to a weight value list.

[0006] Optionally, obtaining the metadata to be processed in each report includes: obtaining original metadata in each report; and screening the original metadata according to metadata attributes to obtain the metadata to be processed.

[0007] Optionally, determining the weight value of the metadata to be processed includes: obtaining a basic score of the metadata to be processed and a frequency of occurrence in each table report; determining a score of the metadata to be processed based on the basic score and the frequency; determining a metadata basic weight value; and generating a weight value of the metadata to be processed based on the score and the metadata basic weight value.

[0008] Optionally, obtaining the frequency of occurrence of the metadata to be processed in each report includes: obtaining the number of times the metadata to be processed appears in all reports, and obtaining the number of times the metadata to be processed appears in each report.

[0009] Optionally, determining the score of the metadata to be processed based on the basic score and the frequency includes: when the frequency is the number of times the metadata to be processed appears in all reports, obtaining a first score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, obtaining a second score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report.

[0010] Optionally, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated based on the score and the metadata basic weight value, including: obtaining the first weight value of the metadata to be processed based on the first score and the first metadata basic weight value; obtaining the second weight value of the metadata to be processed based on the second score and the second metadata basic weight value; and determining the weight value of the metadata to be processed based on the first weight value and the second weight value.

[0011] Optionally, after updating the weight value to the weight value list, it also includes: obtaining metadata corresponding to the weight value ranking in the weight value list that meets a preset ranking condition; and updating a basic score corresponding to the metadata.

[0012] According to another aspect of an embodiment of the present invention, a device for processing metadata weight values ​​is also provided, including: a first acquisition module, used to obtain the metadata to be processed in each table report; a determination module, used to determine the weight value of the metadata to be processed; and a first update module, used to update the weight value to a weight value list.

[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is run, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for processing metadata weight values.

[0014] According to another aspect of an embodiment of the present invention, a processor is further provided, the processor being used to run a program, wherein the program executes any one of the above-mentioned methods for processing metadata weight values ​​when running.

[0015] In the embodiment of the present invention, the metadata to be processed in each table report is obtained; the weight value of the metadata to be processed is determined; the weight value is updated to the weight value list, and the weight value of the metadata to be processed is automatically generated, and the weight value list is updated using the weight value, thereby avoiding errors caused by manual evaluation, improving the accuracy of the metadata weight value and dynamically updating the weight value list. The technical problem of obtaining the metadata weight value by manual evaluation in the related art, which has a complex operation process and is prone to errors, is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a flowchart of a method for processing metadata weight values ​​according to an embodiment of the present invention;

[0018] Figure 2 is a schematic diagram of a device for processing metadata weight values ​​according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0021] Example 1

[0022] According to an embodiment of the present invention, an embodiment of a method for processing metadata weight values ​​is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0023] Figure 1 is a flowchart of a method for processing metadata weight values ​​according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0024] Step S102, obtaining metadata to be processed in each report;

[0025] In an optional implementation, obtaining the metadata to be processed in each report includes: obtaining original metadata in each report; and screening the original metadata according to metadata attributes to obtain the metadata to be processed.

[0026] The above-mentioned reports are different types of reports supported by the data management platform, and each report contains different metadata configurations; among them, the report is a form for reporting situations to superiors, specifically, using tables, icons and other formats to dynamically display data; the above-mentioned metadata to be processed includes not only basic metadata, but also extended derivative metadata.

[0027] Step S104, determining the weight value of the metadata to be processed;

[0028] In an optional implementation, determining the weight value of the metadata to be processed includes: obtaining a basic score of the metadata to be processed and a frequency of occurrence in each table report; determining a score of the metadata to be processed based on the basic score and the frequency; determining a basic weight value of the metadata; and generating a weight value of the metadata to be processed based on the score and the basic weight value of the metadata.

[0029] It should be noted that the above frequency includes but is not limited to the number of times the metadata to be processed appears in all reports, the number of times the metadata to be processed appears in each report, etc.

[0030] In an optional implementation, obtaining the frequency of occurrence of the metadata to be processed in each report includes: obtaining the number of times the metadata to be processed appears in all reports, and obtaining the number of times the metadata to be processed appears in each report.

[0031] In an optional implementation, the score of the metadata to be processed is determined based on the basic score and the frequency, including: when the frequency is the number of times the metadata to be processed appears in all reports, obtaining a first score for the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, obtaining a second score for the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report.

[0032] In an optional implementation, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated according to the score and the metadata basic weight value, including: obtaining the first weight value of the metadata to be processed according to the first score and the first metadata basic weight value; obtaining the second weight value of the metadata to be processed according to the second score and the second metadata basic weight value; determining the weight value of the metadata to be processed according to the first weight value and the second weight value. The weight value of the metadata to be processed can be accurately calculated through the above implementation.

[0033] Step S106, updating the weight value to the weight value list.

[0034] In an optional implementation, after updating the weight value to the weight value list, the method further includes: obtaining metadata corresponding to the weight value ranking in the weight value list that meets the preset ranking condition; and updating the basic score corresponding to the metadata. The above implementation can dynamically update the basic score corresponding to the metadata according to the order of the weight values ​​in the weight value list.

[0035] Through the above steps, it can be applied to the processing of various reports in the data management platform, and the metadata to be processed in each report can be obtained; the weight value of the metadata to be processed can be determined; the weight value is updated to the weight value list, and the weight value of the metadata to be processed is automatically generated, and the weight value list is updated using the weight value, thereby avoiding errors caused by manual evaluation, improving the accuracy of the metadata weight value and dynamically updating the weight value list. The technical problem of obtaining the metadata weight value by manual evaluation in related technologies, which has a complex operation process and is prone to errors, is solved.

[0036] An optional implementation manner of the present invention is described in detail below.

[0037] Step 1: The scheduled task pulls the DMPBI report configuration every day and obtains the metadata configuration contained in each report configuration. It collects metadata information and caches it.

[0038] For example, report A contains metadata imp, click, cost; report B contains metadata imp, cost, imp_rate; report C contains metadata imp, click, click_rate. "_" represents related metadata, the head is basic metadata, and the tail is extended metadata. The keyword "_" is configurable.

[0039] Step 2: Before statistical scoring, obtain the stop metadata configuration table, and remove metadata information that does not participate in the calculation in the metadata list, such as id, date, etc., according to the specific metadata attributes in the stop metadata.

[0040] Step 3: Get the basic score of the configuration metadata information. The basic score of each metadata may be different. For example, according to the basic score of each metadata: X: 1.0. The basic weight value of formula 1 is Y: 0.8. The basic weight value of formula 2 is Y: 0.5.

[0041] Step 4: Use the calculation formula to calculate the actual frequency information of each metadata.

[0042] Calculation formula 1: Based on the full range statistics of all reports, based on the frequency accumulation, if it occurs once, the cumulative amount is added by 1, then the statistical metadata frequency count storage imp: 3, click: 2, cost: 2, imp_rate: 1, click_rate: 1.

[0043] Calculation formula 2: According to the statistics of metadata and metadata-derived information for each report, the frequency of report A is imp: 1, click: 1, cost: 1; the frequency of report B is imp: 2, cost: 1, imp_rate: 1; the frequency of report C is imp: 1, click: 2, click_rate: 1.

[0044] Step 5: According to the basic score X of the metadata, the scores of each original data are calculated according to Formula 1, Formula 2, and metadata*basic score X of metadata: 1.0.

[0045] Calculation formula 1: imp: 3.0, click: 2.0, cost: 2.0, imp_rate: 1.0, click_rate: 1.0;

[0046] Calculation formula 2: A score is imp: 1.0, click: 1.0, cost: 1.0; B score is imp: 2.0, cost: 1.0, imp_rate: 1.0; C score is imp: 1.0, click: 2.0, click_rate: 1.0.

[0047] Step 6: Summarize and calculate the weight value = metadata score * metadata basic weight value.

[0048] Calculation formula 1: imp: 3.0*0.8=2.4, click: 2.0*0.8=1.6, cost: 2.0*0.8=1.6, imp_rate: 1.0*0.8=0.8, click_rate: 1.0*0.8=0.8;

[0049] Calculation formula 2: A score imp: 1.0*0.5=0.5, click: 1.0*0.5=0.5, cost: 1.0*0.5=0.5; B score imp: 2.0*0.5=1.0, cost: 1.0*0.5=0.5, imp_rate: 1.0*0.5=0.5; C score imp: 1.0*0.5=0.5, click: 2.0*0.5=1.0, click_rate: 1.0*0.5=0.5.

[0050] Step 7: Summarize and calculate the total weight value.

[0051] The attributes of calculation formula 1 and calculation formula 2 are accumulated to generate a unified weight value list.

[0052] Imp: 2.4+0.5+1.0+0.5=4.4; Click: 1.6+0.5++1.0=3.1; Cost: 1.6+0.5+0.5=2.6; imp_rate: 0.8+0.5=1.3; click_rate: 0.8+0.5=1.3; It should be noted that the weight values ​​can be arranged in descending order in the weight value list.

[0053] Step 8. Save the generated weight value to the weight value analysis table. Get the metadata corresponding to the TOP N in the weight value list, and update the metadata base score corresponding to the TOP N + 0.1. For example: X: 1.1.

[0054] Step 9: Query the weight value analysis table to display the latest weight value information in real time, which serves as a basis for automatically generating reports and for business personnel to identify and select indicators and dimensions.

[0055] Step 10: Schedule regularly and repeat steps 1 to 8 to dynamically update the weight value.

[0056] In the above-mentioned embodiment of the present invention, an automatic evaluation weight value engine is used to evaluate the indicators and dimension weight values, thereby realizing a scoring mechanism for the DMPBI report indicator dimension weights, which can recommend indicators and dimensions for generating reports for analysis and identification by business personnel.

[0057] Example 2

[0058] According to another aspect of an embodiment of the present invention, a device for processing metadata weight values ​​is provided. Figure 2 is a schematic diagram of a device for processing metadata weight values ​​according to an embodiment of the present invention. Figure 2 As shown, the metadata weight value processing device includes: a first acquisition module 22, a determination module 24 and a first update module 26. The metadata weight value processing device is described in detail below.

[0059] A first acquisition module 22 is used to acquire metadata to be processed in each report;

[0060] A determination module 24, connected to the first acquisition module 22, for determining a weight value of the metadata to be processed;

[0061] The first updating module 26 is connected to the determining module 24 and is used to update the weight value to the weight value list.

[0062] It should be noted that the above-mentioned modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above-mentioned modules can be located in the same processor; and / or the above-mentioned modules are located in different processors in any combination.

[0063] In the above embodiment, the metadata weight value processing device can automatically generate the weight value of the metadata to be processed, and use the weight value to update the weight value list, thereby avoiding errors caused by manual evaluation, improving the accuracy of the metadata weight value and dynamically updating the weight value list. The technical problem of obtaining the metadata weight value by manual evaluation in the related technology, which has a complex operation process and is prone to errors, is solved.

[0064] It should be noted here that the above-mentioned first acquisition module 22, determination module 24 and first update module 26 correspond to steps S102 to S106 in Example 1, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1.

[0065] Optionally, the first acquisition module 22 includes: a first acquisition unit, configured to acquire original metadata in each report; and a screening unit, configured to screen the original metadata according to metadata attributes to obtain metadata to be processed.

[0066] Optionally, the above-mentioned determination module 24 includes: a second acquisition unit, used to obtain the basic score of the metadata to be processed and the frequency of occurrence in each table report; a first determination unit, used to determine the score of the metadata to be processed based on the basic score and the frequency; a second determination unit, used to determine the metadata basic weight value; a generation unit, used to generate the weight value of the metadata to be processed based on the score and the metadata basic weight value.

[0067] Optionally, the second acquisition unit includes: a first acquisition subunit, used to acquire the number of times the metadata to be processed appears in all reports, and a second acquisition subunit, used to acquire the number of times the metadata to be processed appears in each report.

[0068] Optionally, the first determination unit includes: a first sub-processing unit, used to obtain a first score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports when the frequency is the number of times the metadata to be processed appears in all reports; and a second sub-processing unit, used to obtain a second score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report when the frequency is the number of times the metadata to be processed appears in each report.

[0069] Optionally, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the above-mentioned generation unit includes: a third sub-processing unit, used to obtain a first weight value of the metadata to be processed according to the first score and the first metadata basic weight value; a fourth sub-processing unit, used to obtain a second weight value of the metadata to be processed according to the second score and the second metadata basic weight value; and a fifth sub-processing unit, used to determine the weight value of the metadata to be processed based on the first weight value and the second weight value.

[0070] Optionally, the above-mentioned device also includes: a second acquisition module, used to obtain metadata corresponding to the weight value ranking in the weight value list that meets the preset ranking conditions after updating the weight value to the weight value list; a second update module, used to update the basic score corresponding to the metadata.

[0071] Example 3

[0072] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned metadata weight value processing methods.

[0073] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, and / or located in any one of the mobile terminals in a mobile terminal group, and the computer-readable storage medium includes a stored program.

[0074] Optionally, when the program is running, the device where the computer-readable storage medium is located is controlled to perform the following functions: obtain the metadata to be processed in each table report; determine the weight value of the metadata to be processed; and update the weight value to the weight value list.

[0075] Optionally, obtaining the metadata to be processed in each report includes: obtaining original metadata in each report; and screening the original metadata according to metadata attributes to obtain the metadata to be processed.

[0076] Optionally, determining the weight value of the metadata to be processed includes: obtaining a basic score of the metadata to be processed and a frequency of occurrence in each table report; determining a score of the metadata to be processed based on the basic score and the frequency; determining a basic weight value of the metadata; and generating a weight value of the metadata to be processed based on the score and the basic weight value of the metadata.

[0077] Optionally, obtaining the frequency of occurrence of the metadata to be processed in each report includes: obtaining the number of times the metadata to be processed appears in all reports, and obtaining the number of times the metadata to be processed appears in each report.

[0078] Optionally, the score of the metadata to be processed is determined based on the basic score and the frequency, including: when the frequency is the number of times the metadata to be processed appears in all reports, obtaining a first score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, obtaining a second score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report.

[0079] Optionally, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated based on the score and the metadata basic weight value, including: obtaining a first weight value of the metadata to be processed based on the first score and the first metadata basic weight value; obtaining a second weight value of the metadata to be processed based on the second score and the second metadata basic weight value; and determining the weight value of the metadata to be processed based on the first weight value and the second weight value.

[0080] Optionally, after updating the weight value to the weight value list, it also includes: obtaining metadata corresponding to the weight value ranking in the weight value list that meets the preset ranking condition; and updating the basic score corresponding to the metadata.

[0081] Example 4

[0082] According to another aspect of an embodiment of the present invention, a processor is further provided, the processor being used to run a program, wherein the program executes any one of the above-mentioned methods for processing metadata weight values ​​when running.

[0083] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining metadata to be processed in each table report; determining a weight value of the metadata to be processed; and updating the weight value to a weight value list.

[0084] Optionally, obtaining the metadata to be processed in each report includes: obtaining original metadata in each report; and screening the original metadata according to metadata attributes to obtain the metadata to be processed.

[0085] Optionally, determining the weight value of the metadata to be processed includes: obtaining a basic score of the metadata to be processed and a frequency of occurrence in each table report; determining a score of the metadata to be processed based on the basic score and the frequency; determining a basic weight value of the metadata; and generating a weight value of the metadata to be processed based on the score and the basic weight value of the metadata.

[0086] Optionally, obtaining the frequency of occurrence of the metadata to be processed in each report includes: obtaining the number of times the metadata to be processed appears in all reports, and obtaining the number of times the metadata to be processed appears in each report.

[0087] Optionally, the score of the metadata to be processed is determined based on the basic score and the frequency, including: when the frequency is the number of times the metadata to be processed appears in all reports, obtaining a first score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, obtaining a second score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report.

[0088] Optionally, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated based on the score and the metadata basic weight value, including: obtaining a first weight value of the metadata to be processed based on the first score and the first metadata basic weight value; obtaining a second weight value of the metadata to be processed based on the second score and the second metadata basic weight value; and determining the weight value of the metadata to be processed based on the first weight value and the second weight value.

[0089] Optionally, after updating the weight value to the weight value list, it also includes: obtaining metadata corresponding to the weight value ranking in the weight value list that meets the preset ranking condition; and updating the basic score corresponding to the metadata.

[0090] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: obtaining metadata to be processed in each table report; determining the weight value of the metadata to be processed; and updating the weight value to a weight value list.

[0091] Optionally, obtaining the metadata to be processed in each report includes: obtaining original metadata in each report; and screening the original metadata according to metadata attributes to obtain the metadata to be processed.

[0092] Optionally, determining the weight value of the metadata to be processed includes: obtaining a basic score of the metadata to be processed and a frequency of occurrence in each table report; determining a score of the metadata to be processed based on the basic score and the frequency; determining a basic weight value of the metadata; and generating a weight value of the metadata to be processed based on the score and the basic weight value of the metadata.

[0093] Optionally, obtaining the frequency of occurrence of the metadata to be processed in each report includes: obtaining the number of times the metadata to be processed appears in all reports, and obtaining the number of times the metadata to be processed appears in each report.

[0094] Optionally, the score of the metadata to be processed is determined based on the basic score and the frequency, including: when the frequency is the number of times the metadata to be processed appears in all reports, obtaining a first score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, obtaining a second score of the metadata to be processed based on the basic score and the number of times the metadata to be processed appears in each report.

[0095] Optionally, the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated based on the score and the metadata basic weight value, including: obtaining a first weight value of the metadata to be processed based on the first score and the first metadata basic weight value; obtaining a second weight value of the metadata to be processed based on the second score and the second metadata basic weight value; and determining the weight value of the metadata to be processed based on the first weight value and the second weight value.

[0096] Optionally, after updating the weight value to the weight value list, it also includes: obtaining metadata corresponding to the weight value ranking in the weight value list that meets the preset ranking condition; and updating the basic score corresponding to the metadata.

[0097] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0098] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0099] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0101] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing metadata weight values, characterized in that: include: Get the metadata to be processed in each report; Determining a weight value of the metadata to be processed; Updating the weight value to the weight value list; Determining the weight value of the metadata to be processed includes: obtaining the basic score of the metadata to be processed and the frequency of occurrence in each report; determining the score of the metadata to be processed based on the basic score and the frequency; determining the basic weight value of the metadata; The score of the metadata to be processed is determined according to the basic score and the frequency, including: when the frequency is the number of times the metadata to be processed appears in all reports, a first score of the metadata to be processed is obtained according to the basic score and the number of times the metadata to be processed appears in all reports; when the frequency is the number of times the metadata to be processed appears in each report, a second score of the metadata to be processed is obtained according to the basic score and the number of times the metadata to be processed appears in each report; the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the weight value of the metadata to be processed is generated according to the score and the metadata basic weight value, including: obtaining a first weight value of the metadata to be processed according to the first score and the first metadata basic weight value; obtaining a second weight value of the metadata to be processed according to the second score and the second metadata basic weight value; and determining the weight value of the metadata to be processed according to the first weight value and the second weight value.

2. The method according to claim 1, characterized in that Get the metadata to be processed in each report, including: Get the original metadata in each report; The original metadata is screened according to metadata attributes to obtain the metadata to be processed.

3. The method according to claim 1, characterized in that Obtain the frequency of occurrence of the metadata to be processed in each report, including: The number of times the metadata to be processed appears in all reports is obtained, and the number of times the metadata to be processed appears in each report is obtained.

4. The method according to claim 3, characterized in that After updating the weight value to the weight value list, the method further includes: Obtain metadata corresponding to a weight value ranking in the weight value list that meets a preset ranking condition; The basic score corresponding to the metadata is updated.

5. A metadata weight value processing device, characterized in that: include: The first acquisition module is used to acquire the metadata to be processed in each report; A determination module, used to determine the weight value of the metadata to be processed; A first updating module, used for updating the weight value to a weight value list; The determination module includes: a second acquisition unit, used to acquire the basic score of the metadata to be processed and the frequency of occurrence in each report; a first determination unit, used to determine the score of the metadata to be processed according to the basic score and the frequency; a second determination unit, used to determine the metadata basic weight value; the first determination unit includes: a first sub-processing unit, used to obtain the first score of the metadata to be processed according to the basic score and the frequency when the frequency is the number of times the metadata to be processed appears in all reports; a second sub-processing unit, used to obtain the first score of the metadata to be processed according to the basic score and the frequency when the frequency is the number of times the metadata to be processed appears in each report; a second score of the metadata to be processed is obtained by calculating the number of times the data appears in each report; a generating unit is used to generate a weight value of the metadata to be processed based on the score and the metadata basic weight value; the metadata basic weight value includes a first metadata basic weight value and a second metadata basic weight value, and the generating unit includes: a third sub-processing unit, used to obtain the first weight value of the metadata to be processed based on the first score and the first metadata basic weight value; a fourth sub-processing unit, used to obtain the second weight value of the metadata to be processed based on the second score and the second metadata basic weight value; and a fifth sub-processing unit, used to determine the weight value of the metadata to be processed based on the first weight value and the second weight value.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for processing metadata weight values ​​according to any one of claims 1 to 4.

7. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method for processing metadata weight values ​​described in any one of claims 1 to 4 when running.

Citation Information

Patent Citations

  • Data processing method and device of hyper-converged system, equipment and medium

    CN113360455A