Automatic index updating method and device, electronic equipment and storage medium

By automatically detecting the update of the indicator database and updating the data of the target performance node, the problem of untimely, out-of-synchronization and low efficiency of the business system after the indicator database is updated in performance management is solved, and the timeliness, synchronization and accuracy of data updates are improved.

CN120216519APending Publication Date: 2025-06-27BEISEN CLOUD COMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510290547.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-12
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In performance management, after the indicator library is updated, the business system needs to manually synchronize the update, resulting in untimely, out-of-synchronization, low efficiency, and prone to errors, reducing the accuracy of the data.

Method used

When detecting the update of the indicator database, the indicator item and the target performance node to which the data item belongs are automatically determined, and the target performance node that references the indicator item is found based on the indicator name, compare the difference results between the current data and the updated data, and update the data of the target performance node according to the preset difference threshold.

Benefits of technology

Improves the timeliness, synchronization and accuracy of data updates, and reduces the errors and inefficiency of manual updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120216519A_ABST
    Figure CN120216519A_ABST
Patent Text Reader

Abstract

The invention provides an automatic index updating method and device, electronic equipment and a storage medium. When it is detected that any data item in an index database is updated, an index item to which the data item belongs is determined, and an index name of the index item and updated index data are obtained; searching a target performance node of the reference index item through a preset index mode based on the index name; comparing the current data of the target performance node with the updated index data to obtain a difference result; and updating the current data of the target performance node based on the size of the difference result relative to a preset difference threshold value. According to the invention, the timeliness, synchronism and accuracy of data updating are greatly improved.
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, device, electronic device and storage medium for automatically updating indicators. Background Art

[0002] Currently, in performance management, an indicator library refers to a database for managing and storing various performance indicators. When the indicator library is updated, some business systems that reference the data in the indicator library need to be updated synchronously. For example, when a certain indicator (such as the calculation method of commodity sales) changes, it needs to be updated synchronously in the employee target assessment items of performance appraisal. However, every time the HR updates the indicator library, all employees need to be notified to update manually, and only through manual update can the latest content be obtained. This brings inconvenience to the actual business, not only the update is out of sync, the update is not timely, the update efficiency is low, but also manual update is prone to errors, resulting in a decrease in the accuracy of the updated data. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a method, device, electronic device and storage medium for automatically updating indicators to improve the timeliness, synchronization and accuracy of data update.

[0004] In the first aspect, a method for automatically updating indicators is provided, which is applied to a performance management system. The method includes:

[0005] When any data item in the indicator database is detected to be updated, determine the indicator item to which the data item belongs, and obtain the indicator name and updated indicator data of the indicator item;

[0006] Based on the indicator name, find the target performance node that references the indicator item by means of a preset index;

[0007] Compare the current data of the target performance node with the updated indicator data to obtain a difference result;

[0008] Based on the size of the difference result relative to a preset difference threshold, update the current data of the target performance node.

[0009] Optionally, finding the target performance node that references the indicator item by means of a preset index based on the indicator name includes:

[0010] In the pre-constructed association table of the indicator database and the performance database, find the target performance module associated with the indicator name by means of a preset index;

[0011] In the pre - constructed association graph, starting from the target performance module as the search origin, search for the target performance nodes that reference the metric items. Each performance module includes multiple performance nodes. The association graph is constructed with all the performance modules, the performance nodes under the performance modules, and the metric items in the performance management system as nodes, and the association relationships between them as edges.

[0012] Optionally, the data type of the current data of the target performance node is the same as that of the updated metric data. The data types include numerical type and text type. Compare the current data of the target performance node with the updated metric data, and the obtained difference results include:

[0013] When the data type of the updated metric data is numerical type, calculate the difference between the current data of the target performance node and the updated metric data. The difference is an absolute difference or a relative difference, and determine the absolute difference or the relative difference as the difference result.

[0014] When the data type of the updated metric data is text type, calculate the similarity between the current data of the target performance node and the updated metric data based on the edit - distance algorithm, and determine the similarity as the difference result.

[0015] Optionally, based on the magnitude of the difference result relative to the preset difference threshold, updating the current data of the target performance node includes:

[0016] When the data type is numerical type, if the difference between the current data of the target performance node and the updated metric data is less than the preset difference, then check the reason for the difference based on the preset error - checking procedure. If the reason for the difference is one of the items in the preset difference - reason table, then do not update.

[0017] If the difference is greater than the preset difference and the reason for the difference is the update reason of the metric library, then update the current data of the target performance node; otherwise, give an alarm.

[0018] Optionally, based on the magnitude of the difference result relative to the preset difference threshold, updating the current data of the target performance node includes:

[0019] When the data type is text type, if the similarity between the current data of the target performance node and the updated metric data is greater than the preset similarity threshold, then check the formal differences and update the current data of the target performance node based on the formal differences. The formal differences at least include format differences and spelling differences.

[0020] If the similarity is less than the preset similarity threshold, then determine the reason for the difference and update the current data of the target performance node based on the reason for the difference. The reason for the difference is one of the following: semantic change, content supplement, content deletion.

[0021] Optionally, when the current data of the target performance node needs to be updated, the method further includes:

[0022] Determine the data status of the current data of the target price performance node, where the data status includes not in effect, in effect, and completed;

[0023] If the data status is not in effect or in effect, then update;

[0024] If the data status is completed, then do not update, and only record the reason for the difference.

[0025] Optionally, the metric database is built based on a distributed network architecture, the distributed network architecture includes multiple processing nodes, the metrics in the metric database are partitioned according to metric attributes, and each partition is stored in a different processing node. The method further includes:

[0026] When detecting an update of any data item in the metric database, determine the partition to which the data item belongs;

[0027] Send the metric name corresponding to the data item and the updated metric data to the processing node where the data item is located for an update operation.

[0028] In a second aspect, there is provided a metric automatic update device, which is applied to a performance management system. The device includes:

[0029] An acquisition unit, configured to determine the metric item to which the data item belongs and acquire the metric name and the updated metric data of the metric item when detecting an update of any data item in the metric database;

[0030] A search unit, configured to determine a metric index based on the metric name and search for the target performance node that references the metric item based on the metric index;

[0031] A comparison unit, configured to compare the current data of the target performance node with the updated metric data to obtain a difference result;

[0032] An update unit, configured to update the current data of the target performance node based on the magnitude of the difference result relative to a preset difference threshold.

[0033] In a third aspect, there is provided an electronic device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0034] The memory is used to store a computer program;

[0035] When the processor is configured to execute the program stored on the memory, it implements the method steps of any one of the first aspects.

[0036] Fourthly, a computer-readable storage medium is provided. A computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in any one of the first aspects are implemented.

[0037] An index automatic update method, device, electronic device and storage medium provided by the present invention adopt the following steps: when any data item in an index database is detected to be updated, determine the index item to which the data item belongs, and obtain the index name of the index item and the updated index data; find the target performance node referring to the index item by means of a preset index based on the index name; compare the current data of the target performance node with the updated index data to obtain a difference result; update the current data of the target performance node based on the magnitude of the difference result relative to a preset difference threshold. The present invention greatly improves the timeliness, synchronization and accuracy of data update.

[0038] To make the above objects, features and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given in conjunction with the accompanying drawings and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0040] Figure 1 The flowchart of the index automatic update method provided by the embodiments of the present invention is shown;

[0041] Figure 2 The structural schematic diagram of an index automatic update device provided by the embodiments of the present invention is shown;

[0042] Figure 3 The structural schematic diagram of an electronic device provided by the embodiments of the present invention is shown. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Usually, the components of the embodiments of the present invention described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0044] At present, in performance management, an indicator library refers to a database that manages and stores various performance indicators. When the indicator library is updated, some business systems that reference the data in the indicator library need to be updated synchronously. For example, when a certain indicator (such as the calculation method of commodity sales) changes, it needs to be updated synchronously in the employee target assessment items of performance appraisal. However, every time the HR updates the indicator library, all employees need to be notified to update manually, and the latest content can only be obtained through manual update, which brings inconvenience to the actual business. Not only is the update out of sync, but also the update is not timely, the update efficiency is low, and manual update is prone to errors, resulting in a decrease in the accuracy of the updated data.

[0045] Based on this, the embodiments of the present invention provide a method and device for automatic indicator update, which will be described below through embodiments.

[0046] The embodiments of the present invention provide a method for automatic indicator update, which is applied to a performance management system, as Figure 1 shown, the method includes the following steps:

[0047] Step S101: When any data item in the indicator database is detected to be updated, determine the indicator item to which the data item belongs, and obtain the indicator name of the indicator item and the updated indicator data.

[0048] In this step, when the data in the indicator database is updated, an update log will be generated to record the information of each update, including the update time, update content, update operation type, etc. In a feasible implementation, the data items in the indicator database can be detected whether they are updated by regularly querying the update log. The period can be, for example, querying once every ten minutes or once every half hour, or once a day, and can be set according to specific requirements.

[0049] In the embodiments of the present invention, the indicator database is constructed according to the indicators set in performance management. In some examples, these indicators are, for example, sales volume, sales growth rate, customer satisfaction, etc. These indicators are stored in the form of a data table as shown in Table 1 below:

[0050] Table 1:

[0051]

[0052]

[0053] In Table 1, each row corresponds to an indicator item, and an indicator item consists of multiple data items. For example, the I001 indicator item consists of multiple data items such as indicator name, indicator classification, indicator measurement, indicator scoring method, calculation method, etc. For example, when the scoring method in the second row changes, according to this table, it can be determined that the corresponding indicator item is I001, and then the indicator name and the specific updated indicator data can be determined.

[0054] Step S102: Based on the indicator name, find the target performance node that references the indicator item through a preset indexing method.

[0055] In this step, the number of target performance nodes may be one or multiple.

[0056] In a feasible implementation manner, finding the target performance node that references the indicator item based on the indicator name through a preset indexing method includes:

[0057] Step S102A: In the association table between the pre-constructed indicator database and the performance database, find the target performance module associated with the indicator name through a preset indexing method.

[0058] In a feasible implementation manner, the hash indexing method can be used to find the target performance module. First, create a hash table (i.e., the association table between the indicator database and the performance database). The hash table includes several entries, and each entry includes a key (indicator name) and a value (a list of performance modules associated with the indicator name). When looking up data, calculate the hash value of the key through the hash function, and quickly locate the corresponding value through the calculated hash value, so as to find the target performance module associated with the indicator name.

[0059] The target performance module is, for example, a performance activity module, a target plan module, or a issued performance template module; each performance module includes multiple performance nodes. For example, the target plan module includes employee target nodes, organizational target nodes, etc. Therefore, in order to more accurately know which specific node references this indicator item, step S102B is used to further find the target performance node.

[0060] Step S102B: In the pre-constructed association graph, starting from the target performance module as the search starting point, search for the target performance node that references the metric item.

[0061] Among them, the association graph is constructed with all performance modules, performance nodes under the performance modules, and metric items in the performance management system as nodes, and the association relationships between them as edges.

[0062] Starting the search from the target performance module found initially as the search starting point can improve the search efficiency and help quickly find the target performance node associated with the updated metric item. And through the further search method, it can be accurate to find the specific target performance node that references this metric item.

[0063] Step S103: Compare the current data of the target performance node with the updated metric data to obtain a difference result.

[0064] In the embodiment of the present invention, since the data referenced by the target performance node is from the metric library, the data types of the current data of the target performance node and the updated metric data are the same, and the data types include numerical type and text type.

[0065] In a feasible implementation manner, comparing the current data of the target performance node with the updated metric data to obtain a difference result includes:

[0066] Step S103A: When the data type of the updated metric data is numerical, calculate the difference between the current data of the target performance node and the updated metric data, and the difference is an absolute difference or a relative difference, and determine the absolute difference or the relative difference as the difference result.

[0067] In an example, for example, the updated metric data is the amount of sales. For example, before the update it was 100,000, and after the update it was 110,000, then the absolute difference is |11 - 10|. The relative difference is calculated by dividing the absolute difference between the two by the average of the two.

[0068] Step S103B: When the data type of the updated metric data is text, calculate the similarity between the current data of the target performance node and the updated metric data based on the edit distance algorithm, and determine the similarity as the difference result.

[0069] In an example, for example, the metric name has changed, then the similarity between the two can be calculated based on the edit distance algorithm. Specifically, first preprocess the data, such as data cleaning, removing stop words, punctuation marks, unifying case, etc. Then use the bag of words model, TF-IDF or word embedding (such as Word2Vec, GloVe) to convert the text into vector form, and then calculate the similarity between the two vectors.

[0070] Step S104: Update the current data of the target performance node based on the magnitude of the difference result relative to a preset difference threshold.

[0071] By comparing the difference result with the preset difference threshold, the degree of difference change is determined, and whether to update is determined based on the degree of difference change, thereby ensuring the accuracy of data update.

[0072] In a feasible implementation manner, updating the current data of the target performance node based on the magnitude of the difference result relative to the preset difference threshold includes:

[0073] Step S104A1: When the data type is numerical, if the difference between the current data of the target performance node and the updated index data is less than the preset difference, then the cause of the difference is investigated based on a preset error checking procedure. If the cause of the difference is one of the items in the preset difference cause table, then no update is performed.

[0074] If the difference between the current data of the target performance node and the updated index data is less than the preset difference, it indicates that it is within the acceptable error range. Therefore, the cause of this difference needs to be analyzed.

[0075] Specifically, according to the cause items in the preset difference cause table, the cause of the difference can be investigated item by item through the preset error checking procedure.

[0076] The preset difference cause table includes, for example, fine-tuning of the index library calculation rules, minor errors in data input, and data rounding. If it is determined to belong to one of them, it indicates an allowable error cause, and no update is required.

[0077] Step S104A2: If the difference is greater than the preset difference and the cause of the difference is the reason for index library update, then update the current data of the target performance node; otherwise, give an alarm.

[0078] If it is greater than the preset difference, it indicates that it exceeds the acceptable error, and the difference is indeed caused by the reason for index library update. Then, an update can be performed. If the difference is not caused by the reason for index library update, it may be that an error occurs during data reference and dissemination. Therefore, it is necessary to trigger the error alarm mechanism to give an alarm in order to notify relevant personnel in a timely manner for data error correction processing, and record the error information and processing process in the error handling log.

[0079] Among them, when updating data, the data updated in the index database can be synchronized to the performance node that references this index with the help of a database trigger or a professional data synchronization tool.

[0080] In another feasible implementation manner, updating the current data of the target performance node based on the magnitude of the difference result relative to the preset difference threshold includes:

[0081] Step S104B1: When the data type is text, if the similarity between the current data of the target performance node and the updated indicator data is greater than the preset similarity threshold, check the formal differences and update the current data of the target performance node based on the formal differences; the formal differences include at least format differences and spelling differences.

[0082] In this step, if the similarity between the current data of the target performance node and the updated indicator data is greater than the preset similarity threshold, it indicates that they are basically the same semantically. Then, further check the differences in format and spelling. If there are formal differences, format adjustment or spelling correction can be performed. If not, no update is required.

[0083] Step S104B2: If the similarity is less than the preset similarity threshold, determine the reason for the difference and update the current data of the target performance node based on the reason for the difference. The reason for the difference is one of the following: semantic change, content addition, content deletion.

[0084] In this step, the way to determine the reason for the difference can also be to check item by item through a preset error troubleshooting procedure according to the preset table of reasons for differences.

[0085] For example, if the reason for the difference is content deletion, the corresponding data in the target performance node can be deleted accordingly, rather than replacing the entire data. This way of updating data based on the reason for the difference is more targeted in the update operation, rather than blindly replacing the entire data, which can reduce the amount of data to be updated.

[0086] The present invention greatly improves the timeliness, synchronization, and accuracy of data update by, when detecting that the data of the indicator data has been updated, searching for the performance nodes associated with the updated indicator and automatically updating the data by comparing the data differences between the two.

[0087] Based on the above embodiments, when the current data of the target performance node needs to be updated, for example, when updating numerical data or when text data needs to be updated, the method further includes:

[0088] Determine the data status of the current data of the target price performance node. The data status includes not yet effective, in effect, and completed.

[0089] In the embodiments of the present invention, not yet effective means that the data has not been officially applied or activated. For example, an employee's goal may have just been set and not yet started.

[0090] In effect means that the data is being used or has taken effect. For example, an employee's goal is being executed.

[0091] Completed indicates that the task or project related to the data has been completed. For example, an employee's goal has been achieved.

[0092] If the data status is ineffective or in progress, update it.

[0093] If the data status is completed, do not update it, but only record the reason for the difference.

[0094] If the data status is completed, then although the target performance node references the metric data, there is no need to update it again, thus maintaining the accuracy and immutability of historical data.

[0095] Based on the above embodiments, the metric database adopts a distributed metric database, such as Apache Cassandra, MongoDB, or Amazon DynamoDB, etc. The data in the database is distributed on multiple servers in a distributed network architecture, and the distributed network architecture includes multiple processing nodes. Specifically, the metrics in the metric database are partitioned according to metric attributes (such as metric name, metric type), and each partition is stored in a different processing node. In a feasible implementation, a distributed coordination service such as ZooKeeper or Etcd can be used to manage the partition allocation and the status of processing nodes to ensure the balanced distribution and high availability of data.

[0096] In a feasible implementation, a hash partitioning algorithm can be used for data partitioning. Assume that the hash function H(key) = key % N is used, where key is the metric name or identifier, and N is the number of nodes. Then the data will be assigned to the node corresponding to H(key).

[0097] Partitioning the metric database reduces the complexity of data association. Each partition can be processed on different server processing nodes, improving the parallel processing ability.

[0098] The method further includes:

[0099] Step S105: When any data item in the metric database is updated, determine the partition to which the data item belongs.

[0100] Step S106: Send the metric name corresponding to the data item and the updated metric data to the processing node where the data item is located for an update operation.

[0101] In this step, for example, when the data in the metric database is updated, then the update operations of steps S102 - S104 are executed on the corresponding processing node.

[0102] When updating the index database, by distributing the update operations to multiple processing nodes for simultaneous execution, not only the update speed is increased, but also multiple update operations can be processed in parallel.

[0103] Based on the same inventive concept, an index automatic update device is provided, which is applied to a performance management system. As Figure 2 shown, the device includes:

[0104] An acquisition unit 201, configured to determine the index item to which a data item belongs when detecting an update of any data item in the index database, and acquire the index name of the index item and the updated index data;

[0105] A search unit 202, configured to determine an index index based on the index name, and search for a target performance node that references the index item based on the index index;

[0106] A comparison unit 203, configured to compare the current data of the target performance node with the updated index data to obtain a difference result;

[0107] An update unit 204, configured to update the current data of the target performance node based on the magnitude of the difference result relative to a preset difference threshold.

[0108] In some embodiments, the search unit is specifically configured to:

[0109] In a pre-built association table of the index database and the performance database, search for a target performance module associated with the index item corresponding to the index index based on the index index;

[0110] In a pre-built association graph, using the target performance module as the search starting point, search for the target performance node that references the index item, where each performance module includes multiple performance nodes, and the association graph is constructed with all performance modules, performance nodes under the performance modules, and index items in the performance management system as nodes and the association relationships between them as edges.

[0111] Among them, the data types of the current data of the target performance node and the updated index data are the same, and the data types include numerical type and text type; the comparison unit is specifically configured to:

[0112] When the data type of the updated index data is numerical, calculate the difference between the current data of the target performance node and the updated index data, where the difference is an absolute difference or a relative difference, and determine the absolute difference or the relative difference as the difference result;

[0113] When the data type of the updated index data is text, calculate the similarity between the current data of the target performance node and the updated index data based on the edit distance algorithm, and determine the similarity as the difference result.

[0114] In some embodiments, the updating unit is specifically configured to:

[0115] When the data type is numerical, if the difference between the current data of the target performance node and the updated index data is less than a preset difference, then the difference cause is investigated based on a preset error checking program. If the difference cause is one of the items in the preset difference cause table, no update is performed;

[0116] If the difference is greater than the preset difference and the difference cause is the reason for updating the index database, then the current data of the target performance node is updated; otherwise, an alarm is given.

[0117] In some embodiments, the updating unit is specifically configured to:

[0118] When the data type is text, if the similarity between the current data of the target performance node and the updated index data is greater than a preset similarity threshold, then the formal differences are checked, and the current data of the target performance node is updated based on the formal differences; the formal differences at least include format differences and spelling differences;

[0119] If the similarity is less than the preset similarity threshold, then the difference cause is determined, and the current data of the target performance node is updated based on the difference cause. The difference cause is one of the following: semantic change, content supplement, and content deletion.

[0120] In some embodiments, when the current data of the target performance node needs to be updated, the device further includes:

[0121] The first determination unit is configured to determine the data status of the current data of the target price performance node. The data status includes not yet effective, in effect, and completed; if the data status is not yet effective or in effect, then an update is performed; if the data status is completed, no update is performed, and only the difference cause is recorded.

[0122] In some embodiments, the index database is constructed based on a distributed network architecture. The distributed network architecture includes multiple processing nodes. The indexes in the index database are partitioned according to index attributes, and each partition is stored in a different processing node. The device further includes:

[0123] The second determination unit is configured to determine the partition to which the data item belongs when detecting an update of any data item in the index database;

[0124] The sending unit is configured to send the index name corresponding to the data item and the updated index data to the processing node where the data item is located for an update operation.

[0125] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Figure 3As shown, it includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304. Among them, the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304.

[0126] The memory 303 is used to store computer programs;

[0127] When the processor 301 is used to execute the program stored on the memory 303, it implements the steps of the method for automatically updating indicators.

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

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

[0130] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0131] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0132] The computer program product for automatically updating indicators provided by the embodiments of the present invention includes a computer-readable storage medium storing program codes. The instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments, and details will not be elaborated here.

[0133] The device for automatically updating indicators provided in the embodiments of the present invention may be specific hardware on the device, or software or firmware installed on the device, etc. For the device provided in the embodiments of the present invention, its implementation principle and the technical effects produced are the same as those of the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the device embodiments, reference may be made to the corresponding content in the foregoing method embodiments. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the foregoing-described systems, devices, and units can all refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0134] In the embodiments provided by the present invention, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another 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 displayed or discussed coupling or direct coupling or communication connection to each other can be through some communication interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0135] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0136] In addition, the functional units in the embodiments provided by the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0137] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they 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 a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0138] It should be noted that: similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.

[0139] Finally, it should be noted that: the above-mentioned embodiments are only specific implementation manners of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A method for automatically updating an indicator, characterized in that: Applied to a performance management system, the method comprises: When it is detected that any data item in the indicator database is updated, the indicator item to which the data item belongs is determined, and the indicator name and updated indicator data of the indicator item are obtained; Based on the indicator name, searching for the target performance node of the referenced indicator item by a preset index method; Comparing the current data of the target performance node with the updated indicator data to obtain a difference result; Based on the size of the difference result relative to a preset difference threshold, the current data of the target performance node is updated.

2. The method according to claim 1, characterized in that The step of searching for a target performance node that references an indicator item based on the indicator name by a preset index method includes: In the association table of the pre-built indicator database and the performance database, the target performance module associated with the indicator name is searched based on the preset index method; In the pre-constructed association graph, the target performance module is used as the search starting point to search for the target performance node that references the indicator item, wherein each performance module includes multiple performance nodes, and the association graph is constructed with all performance modules, performance nodes under the performance modules, and indicator items in the performance management system as nodes, and with the mutual association relationships as edges.

3. The method according to claim 1, characterized in that The current data of the target performance node and the updated indicator data have the same data type, and the data type includes a numeric type and a text type; the current data of the target performance node is compared with the updated indicator data to obtain a difference result including: When the data type of the updated indicator data is a numerical type, the difference between the current data of the target performance node and the updated indicator data is calculated, the difference being an absolute difference or a relative difference, and the absolute difference or the relative difference is determined as a difference result; When the data type of the updated indicator data is text type, the similarity between the current data of the target performance node and the updated indicator data is calculated based on the edit distance algorithm, and the similarity is determined as the difference result.

4. The method according to claim 3, characterized in that The updating of the current data of the target performance node based on the size of the difference result relative to the preset difference threshold includes: When the data type is numeric, if the difference between the current data of the target performance node and the updated indicator data is less than the preset difference, the cause of the difference is checked based on the preset error checking program. If the cause of the difference is an item in the preset difference cause table, it is not updated; If the difference is greater than the preset difference and the reason for the difference is due to the update of the indicator library, the current data of the target performance node is updated, otherwise an alarm is issued.

5. The method according to claim 3, characterized in that: The updating of the current data of the target performance node based on the size of the difference result relative to the preset difference threshold includes: When the data type is text type, if the similarity between the current data of the target performance node and the updated indicator data is greater than a preset similarity threshold, then the format difference is checked, and the current data of the target performance node is updated based on the format difference; the format difference includes at least format difference and spelling difference; If the similarity is less than a preset similarity threshold, the reason for the difference is determined, and the current data of the target performance node is updated based on the reason for the difference, where the reason for the difference is one of the following: semantic change, content supplement, or content deletion.

6. The method according to claim 4 or 5, characterized in that: When the current data of the target performance node needs to be updated, the method further includes: Determine the data status of the current data of the target price performance node, where the data status includes not effective, effective, and completed; If the data status is not effective or effective, update it; If the data status is completed, it will not be updated, and only the reason for the difference will be recorded.

7. The method according to claim 1, characterized in that The indicator database is constructed based on a distributed network architecture, the distributed network architecture includes multiple processing nodes, the indicators in the indicator database are partitioned according to indicator attributes, and each partition is stored in a different processing node. The method also includes: When an update of any data item in the indicator database is detected, determining the partition to which the data item belongs; The indicator name corresponding to the data item and the updated indicator data are sent to the processing node where the data item is located for update operation.

8. An automatic indicator updating device, characterized in that: Applied to a performance management system, the device comprises: An acquisition unit, configured to, when detecting that any data item in the indicator database is updated, determine the indicator item to which the data item belongs, and acquire the indicator name and updated indicator data of the indicator item; A search unit, used to determine an indicator index based on the indicator name, and search for a target performance node that references the indicator item based on the indicator index; A comparison unit, used to compare the current data of the target performance node with the updated indicator data to obtain a difference result; An updating unit is used to update the current data of the target performance node based on the size of the difference result relative to a preset difference threshold.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to implement the method steps described in any one of claims 1-7 when executing the program stored in the memory.

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