Virtual indicator data processing method and system
Through full-function configuration templates and custom processing, combined with indicator similarity analysis and engine matching, the problem of insufficient flexibility in virtual indicator configuration is solved, and efficient and personalized data processing is achieved.
Patent Information
- Application Number
- CN202510685833.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2045-05-27
AI Technical Summary
In the prior art, the configuration and processing of virtual indicators are insufficient, and it is difficult to meet personalized needs, data calculation efficiency is inefficient, and repeated calculations and resource waste are serious.
Through the server, the full-function configuration template is called, combined with function selection and customized selection, customize the configuration elements of virtual indicators, calculate the similarity of indicators and perform structured processing, match real-time and periodic engines, optimize data interfaces, and realize flexible configuration and efficient data processing.
It improves the flexibility of virtual indicator configuration and data processing efficiency, meets personalized needs, reduces duplicate calculations, optimizes resource utilization, and ensures the accuracy and efficiency of data processing.
Smart Images

Figure CN120198032B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a virtual indicator data processing method and system. Background Art
[0002] In the field of enterprise digital management and project evaluation, virtual indicators play a key role as an important tool for measuring business performance, resource allocation and operational status. For example, in the energy industry, virtual indicators such as the operating efficiency of battery swap stations and the energy storage utilization rate of storage stations are the core basis for evaluating the company's operating level and making decisions. However, with the complexity and diversification of business scenarios, the configuration and processing of virtual indicators face many challenges. Different business departments have significantly different functional requirements for virtual indicators. Traditional single data processing methods are difficult to meet personalized needs. In addition, the indicator configuration process is cumbersome and the data calculation efficiency is low, which seriously restricts the company's ability to quickly analyze and respond to business data.
[0003] In the existing technology, the data update method for virtual indicators of each unit is usually to set fixed periodic updates or real-time updates, that is, all indicator data required by the unit are updated periodically or all are updated in real time, resulting in a lack of diversity in the timeliness of virtual indicator data updates. At the same time, the data correlation between different virtual indicators is not effectively utilized, there will be repeated calculations, low data processing efficiency, and a waste of computing and storage resources.
[0004] Therefore, how to adopt corresponding update methods according to the functional requirements corresponding to virtual indicators, improve the flexibility of virtual indicator configuration, make it easier for users to use and improve data processing efficiency has become an urgent problem to be solved. Summary of the Invention
[0005] The present invention provides a virtual indicator data processing method and system, which can adopt corresponding update methods according to the functional requirements corresponding to the virtual indicators, improve the flexibility of virtual indicator configuration, facilitate user use and improve data processing efficiency.
[0006] A first aspect of the present invention provides a method for processing virtual indicator data, comprising:
[0007] After the configuration end sends a configuration request for the virtual indicator, the server calls the full-function configuration template and feeds it back to the configuration end for interaction, obtaining a functional first configuration template;
[0008] The server retrieves the configuration elements of the virtual indicator in the first configuration template, and performs customized processing on the configuration elements based on the configuration end, wherein the configuration elements include input elements, calculation elements, and output elements;
[0009] The server determines the corresponding real-time engine and periodic engine based on the properties of the virtual indicator;
[0010] After the configuration end determines the configuration elements of each virtual indicator, it builds the data interface for the real-time engine and the periodic engine, establishes the information extraction table and removes duplicates, and obtains the configured virtual indicator based on the information extraction table.
[0011] Optionally, in a possible implementation of the first aspect, after the configuration end sends a configuration request for a virtual indicator, the server calls a full-function configuration template and feeds it back to the configuration end for interaction, thereby obtaining a functional first configuration template, including:
[0012] If the server determines that the configuration terminal selects the functional selection mode, it generates a function selection module, and determines a corresponding first configuration template based on the function selection module, each function selection module having a preset virtual indicator;
[0013] If the server determines that the configuration end selects the customized selection mode, the server directly displays the virtual indicators and obtains a functional first configuration template based on the virtual indicators respectively selected by the configuration end.
[0014] Optionally, in a possible implementation of the first aspect, the method further includes:
[0015] If it is determined that the configuration end selects a function selection module and then applies for custom processing, the virtual indicator corresponding to the function selection module is copied to generate an interactive slot template;
[0016] If it is determined that the user deletes the virtual indicator in the interactive slot, it is deleted from the first configuration template;
[0017] If it is determined that the user creates a new interaction slot in the interaction slot template, the full-function configuration template is called based on the newly created interaction slot and the corresponding virtual indicator is selected to fill in the newly created interaction slot to obtain the first configuration template.
[0018] Optionally, in a possible implementation of the first aspect, the server retrieves the configuration element of the virtual indicator in the first configuration template, and customizes the configuration element based on the configuration end, including:
[0019] The server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on the configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence;
[0020] Traverse the virtual indicators in the indicator sequence in sequence and perform structured processing according to the processing structure of the configuration element to obtain multiple structure sub-slots, each of which corresponds to an input element, calculation element or output element;
[0021] The configuration end determines the information of the structural subslot of each virtual indicator. The server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end to obtain the configuration element of each virtual indicator.
[0022] Optionally, in a possible implementation of the first aspect, the server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence, including:
[0023] The server calculates the number of configuration elements with the same virtual indicators for any two to obtain a first number, calculates the number of configuration elements with different virtual indicators for any two to obtain a second number, and obtains the total number based on the sum of the first number and the second number;
[0024] Calculate the ratio of the first quantity to the total quantity to obtain the index similarity;
[0025] Based on the indicator similarity, all virtual indicators are divided into multiple indicator subsets and then sorted to obtain the indicator sequence.
[0026] Optionally, in a possible implementation of the first aspect, dividing all virtual indicators into multiple indicator subsets based on indicator similarity and then sorting them to obtain an indicator sequence includes:
[0027] Determine the first virtual indicator with the highest similarity for each virtual indicator and greater than or equal to a preset similarity value; if two virtual indicators are each other's first virtual indicators, classify the two virtual indicators into a first indicator subset and mark the indicator subset with similarity;
[0028] If it is determined that the virtual indicator in the first indicator subset is also the first virtual indicator of other virtual indicators, and the similarity is greater than or equal to the preset similarity value, then the other virtual indicators are classified into the corresponding first indicator subset;
[0029] If the similarity between the virtual indicator and other virtual indicators is less than the preset similarity value, the virtual indicator is classified into the second indicator subset;
[0030] Based on the annotation similarity, all first indicator subsets are sorted in descending order to obtain a first sequence, and the second indicator subset is sorted after the first sequence to obtain an indicator sequence.
[0031] Optionally, in a possible implementation of the first aspect, sequentially traversing the virtual indicators in the indicator sequence and performing structured processing according to the processing structure of the configuration element to obtain multiple structure subslots, each structure subslot corresponding to an input element, a calculation element, or an output element, includes:
[0032] Construct the input area, calculation area and output area in sequence;
[0033] Construct and fill slots corresponding to each input element, calculation element or output element in the input area, calculation area and output area;
[0034] Slots are connected in sequence based on the relationship between input elements, calculation elements or output elements to obtain structural subslots.
[0035] Optionally, in a possible implementation of the first aspect, the configuration end determines information about a structural subslot of each virtual indicator, and the server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end, to obtain a configuration element for each virtual indicator, including:
[0036] If it is determined that the configuration end adjusts the initial information of the structure subslot of the virtual indicator, the adjustment information is determined;
[0037] Retrieving a structural subslot of a subsequent virtual indicator in the indicator sequence order, adjusting the subslot accordingly based on the adjustment information, and highlighting the adjusted information in a preset format;
[0038] If it is determined that the user is sure about the highlighted adjustment information, it is saved.
[0039] Optionally, in a possible implementation of the first aspect, after determining the configuration elements of each virtual indicator, the configuration end establishes a data interface for the real-time engine and the periodic engine, creates an information extraction table, and then removes duplicates, and obtains the configured virtual indicator based on the information extraction table, including:
[0040] The configuration end establishes the corresponding data interface for each structural sub-slot in turn, and counts the correspondence between all structural sub-slots and data interfaces to generate an initial information extraction table;
[0041] If it is determined that multiple sub-slots correspond to the same data interface, a slot association group is obtained, and duplicate data interfaces are removed and then set corresponding to the slot association group;
[0042] Retrieve the real-time tag or periodic tag corresponding to each sub-slot to generate comprehensive extraction information and store it in the extraction period slot to obtain an information extraction table;
[0043] The server extracts the data transmitted in the data interface according to the independent extraction information or the comprehensive extraction information corresponding to each data interface in the information extraction table and inputs the data into the structural subslot to obtain the virtual indicator.
[0044] A second aspect of the present invention provides a virtual indicator data processing system, comprising:
[0045] The interaction module is used to enable the server to call the full-function configuration template and feed it back to the configuration end for interaction after the configuration end sends a configuration request for the virtual indicator, so as to obtain a functional first configuration template;
[0046] A calling module, configured to enable the server to call configuration elements of the virtual indicator in the first configuration template, and perform customized processing on the configuration elements based on the configuration end, wherein the configuration elements include input elements, calculation elements, and output elements;
[0047] A determination module, configured to enable the server to determine the corresponding real-time engine and periodic engine according to the attributes of the virtual indicator;
[0048] The extraction module is used to enable the configuration end to determine the configuration elements of each virtual indicator, build a data interface for the real-time engine and the periodic engine, establish an information extraction table and then remove duplicates, and obtain the configured virtual indicator based on the information extraction table.
[0049] According to a third aspect of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the method of the first aspect of the present invention and various possible designs of the first aspect.
[0050] The beneficial effects of the present invention are as follows:
[0051] 1. The present invention can adopt corresponding update methods according to the functional requirements corresponding to the virtual indicators, improve the flexibility of the virtual indicator configuration, and improve data processing efficiency while facilitating user use. First of all, the diverse flexibility of the configuration mode of the present invention meets personalized needs. By combining the full-function configuration template with a variety of selection methods, the flexible configuration of virtual indicators is achieved. The server provides a full-function configuration template containing a variety of functional sub-templates. Users can choose a functional selection method or a customized selection method according to their needs. In addition, the present invention also supports customized processing based on functional selection. By copying virtual indicators to generate interactive slot templates, users can flexibly add, delete or modify indicator content. Among them, users can delete redundant indicators in interactive slots, or create new slots and select indicators from the full-function configuration template to fill them, so that the first configuration template fully meets personalized needs, effectively solves the problem of insufficient flexibility of traditional configuration methods, and meets the complex and diverse business scenario needs of enterprises.
[0052] 2. The present invention can perform similarity analysis on virtual indicators and perform structured processing to improve data processing efficiency. Among them, the present invention significantly improves data processing efficiency by calculating the similarity of configuration elements of virtual indicators and performing structured processing. The server first calculates the number of identical and different configuration elements between virtual indicators, and then obtains the indicator similarity. The virtual indicators with high similarity are classified into different subsets and sorted to form an indicator sequence. Subsequently, the indicator sequence is traversed in sequence, and the virtual indicators are constructed into input, calculation, and output areas according to input elements, calculation elements, and output elements. Corresponding slot filling elements are constructed in each area, and the slots are connected based on the element relationship to form a structural sub-slot. The structured processing method not only clearly presents the internal structure of the virtual indicator, but also uses the indicator similarity to reduce duplicate data retrieval. After the configuration end determines the structural sub-slot information, the server can perform parallel processing on subsequent similar virtual indicators according to the indicator sequence order, such as reusing the same configuration element interface to avoid repeated configuration, greatly improving data processing efficiency and reducing system resource consumption.
[0053] 3. The present invention can intelligently match real-time engines and periodic engines based on virtual indicator attributes, and optimize data interfaces to ensure efficient data processing. Among them, the present invention can match appropriate processing engines for virtual indicators based on their data update frequency, real-time requirements and other attributes. A real-time engine is used for virtual indicators with high real-time requirements to ensure timely data update and calculation. A periodic engine is used for periodically updated indicators to process them efficiently according to a preset cycle. In terms of data interface construction, the configuration end establishes a corresponding data interface for each structural sub-slot, generates an initial information extraction table based on statistical correspondences, removes duplicate data interfaces and sets corresponding slot association groups, optimizes data transmission paths, and at the same time, retrieves the real-time or periodic tags of the sub-slots to generate comprehensive extraction information and store it in the extraction period slot. The information extraction table is improved, and the server accurately extracts data based on the information extraction table and inputs it into the structural sub-slots to ensure that the virtual indicators run according to the configuration requirements, so as to ensure the accuracy and efficiency of data processing, meet the diverse needs of enterprises for virtual indicator processing, and provide reliable data support for business decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 The present invention provides a flowchart of a method for processing virtual indicator data;
[0055] Figure 2 A schematic diagram of a structural sub-slot is provided for the present invention;
[0056] Figure 3 The present invention provides a structural schematic diagram of a virtual indicator data processing system. DETAILED DESCRIPTION
[0057] The following specific embodiments are used to describe the technical solution of the present invention in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0058] like Figure 1 As shown, the present invention provides a flowchart of a virtual indicator data processing method, the virtual indicator data processing method comprising:
[0059] S1: After the configuration end sends a configuration request for a virtual indicator, the server calls the full-function configuration template and feeds it back to the configuration end for interaction to obtain a functional first configuration template.
[0060] It can be understood that when the configuration end sends a configuration request about virtual indicators to the server, the server will respond and call its own full-function configuration template. The full-function configuration template contains a variety of possible virtual indicator configuration options and related function settings. The server will feed back the template to the configuration end so that the configuration end can interact with the server. Through interaction, the configuration end can select and adjust the content in the template according to its own needs, and finally obtain a first configuration template that meets specific functional requirements, so that the corresponding virtual indicators can be configured in a targeted manner in the future.
[0061] Among them, the configuration end is the information terminal of the person who configures the indicator information, such as a mobile phone or a computer. The virtual indicator is a digital measurement tool, which is similar to the actual collected data indicators. It is a description of the model instance and has the characteristics of data indicators, such as data quality, data attribute extension, data events, etc., including the storage characteristics of data, which are used to evaluate indicators related to enterprises or projects. The configuration request is the request operation information for data configuration of the virtual indicator. The full-function configuration template is a configuration template that contains indicators corresponding to all functions. The first configuration template is the configuration template selected by the configuration end that meets the required functions.
[0062] It is not difficult to understand that the function configuration template contains sub-templates corresponding to multiple functions, such as the function configuration template corresponding to the battery swap station and the function configuration template corresponding to the storage station. Since the required functions are different, the corresponding indicators are also different. The full-function configuration template can be displayed to the configuration end so that the configuration end can interactively select and obtain the first configuration template, so that the virtual indicators that meet the functions can be quickly determined later, and data configuration can be performed to improve data processing efficiency.
[0063] In some embodiments, a specific implementation of step S1 (after the configuration end sends a configuration request for a virtual indicator, the server calls a full-function configuration template and feeds it back to the configuration end for interaction to obtain a functional first configuration template) includes:
[0064] S11 , if the server determines that the configuration terminal selects the functional selection mode, it generates a function selection module, and determines a corresponding first configuration template based on the function selection module, each function selection module having a preset virtual indicator.
[0065] It should be noted that the full-function configuration template has function selection modules corresponding to each function, and also has customized configuration templates to meet the configuration needs of different users. Among them, when it is determined that the configuration end has selected the functional selection method, the function selection module can be generated according to the selection interaction information of the configuration end to determine the corresponding first configuration template, and each function selection module has pre-set some virtual indicators to facilitate the subsequent configuration end to perform quick configuration.
[0066] It is understandable that the virtual indicators are combined according to a certain functional logic. The configuration end can select from these function selection modules, and the server determines the corresponding first configuration template according to the function selection module selected by the configuration end.
[0067] For example, when the configuration end selects a function selection module related to the substation, the server will generate a first configuration template containing substation-related virtual indicators based on the virtual indicators preset in the module. This method provides the configuration end with a way to quickly select commonly used function virtual indicators, thereby improving configuration efficiency.
[0068] S12: If the server determines that the configuration terminal selects a customized selection mode, the server directly displays the virtual indicators and obtains a functional first configuration template based on the virtual indicators selected by the configuration terminal.
[0069] It is understood that when the server determines that the configuration client has selected the customized selection method, the server will directly display the virtual indicators to the configuration client. Unlike the functional selection method, the customized selection method gives the configuration client greater autonomy. The configuration client can select the displayed virtual indicators based on its specific needs. The server will generate a functional first configuration template based on these virtual indicators selected by the configuration client. This method is suitable for situations where the configuration client has special, non-standard functional requirements for virtual indicators. It can more accurately meet the configuration client's personalized needs, ensuring that the generated first configuration template meets the configuration client's expectations and actual application scenarios.
[0070] In some embodiments, the method further comprises:
[0071] A1: If it is determined that the configuration end selects a function selection module and then applies for custom processing, the virtual indicator corresponding to the function selection module is copied to generate an interactive slot template.
[0072] It is understandable that when the configuration end selects a function selection module and then applies for custom processing, the server can copy the virtual indicator corresponding to the function selection module to generate an interactive slot template to provide a new operation space for the subsequent configuration end.
[0073] Among them, the interactive slot template is a slot template that can be interactively configured by the configuration end. The interactive slot template allows the configuration end to further personalize the virtual indicators. By copying the virtual indicators to generate the interactive slot template, the configuration end is provided with the possibility of making more detailed adjustments based on the function selection module, meeting the configuration end's diverse needs for virtual indicator configuration and making the configuration more flexible.
[0074] A2: If it is determined that the user deletes the virtual indicator in the interaction slot, delete it from the first configuration template.
[0075] It is understandable that when it is determined that the user has deleted the virtual indicator in the interaction slot, in order to ensure the consistency between the first configuration template and the user operation, the server deletes the virtual indicator from the first configuration template. This operation ensures the accuracy of the first configuration template and reflects the user's latest configuration intention. Deleting the virtual indicator in the interaction slot may be an adjustment made by the user based on actual needs. The server executes the deletion operation to update the first configuration template in real time, avoiding the existence of invalid or unnecessary virtual indicators in the configuration template, thereby improving the quality and practicality of the configuration template.
[0076] A3: If it is determined that the user creates a new interaction slot in the interaction slot template, the full-function configuration template is called based on the newly created interaction slot and the corresponding virtual indicator is selected to fill in the newly created interaction slot to obtain the first configuration template.
[0077] It can be understood that if it is determined that the user has created a new interaction slot in the interaction slot template, the server calls the full-function configuration template based on the newly created interaction slot, and selects the corresponding virtual indicators from the full-function configuration template to fill in the newly created interaction slot, and finally obtains the first configuration template. The creation of a new interaction slot is an operation in which the user expands the configuration according to actual conditions. The server calls the full-function configuration template to select virtual indicators to fill, enriching the content of the first configuration template so that the configuration end can flexibly expand the interaction slot and add appropriate virtual indicators according to its own needs, thereby enhancing the scalability of the configuration, ensuring that the first configuration template can better meet the user's usage needs in different scenarios, and improving the completeness and accuracy of the virtual indicator configuration.
[0078] Among them, the newly created interaction slot is a newly constructed information interaction slot.
[0079] S2. The server retrieves the configuration elements of the virtual indicator in the first configuration template, and performs customized processing on the configuration elements based on the configuration end. The configuration elements include input elements, calculation elements, and output elements.
[0080] It can be understood that the server first retrieves the configuration elements of the virtual indicator from the first configuration template. These configuration elements cover input elements, calculation elements and output elements, which are the components of the virtual indicator. Then, these configuration elements are customized based on the configuration end to meet the specific computing needs of different users.
[0081] Among them, the configuration element is the indicator element included in the calculation corresponding to the virtual indicator in the first configuration template, the input element is the input-level element for determining the virtual indicator, the calculation element is the element corresponding to the calculation method for determining the virtual indicator, such as addition, subtraction and other operation elements, and the output element is the information element corresponding to the output of the virtual indicator.
[0082] In some embodiments, a specific implementation of step S2 (the server retrieves the configuration elements of the virtual indicator in the first configuration template and performs customized processing on the configuration elements based on the configuration end) includes:
[0083] S21, the server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on the configuration elements of each virtual indicator, and obtains an indicator sequence based on the indicator similarity sorting.
[0084] It is understandable that after the elements of the virtual indicators are configured, the same element data may be called between different virtual indicators when different indicators are subsequently calculated. For example, when obtaining the stored electric energy of the substation, element data such as electric energy and electricity consumption may be called. At the same time, when calculating photovoltaic power consumption, electric energy and electricity consumption will also be called. Therefore, the configuration elements between different virtual indicators have the same possibility. Therefore, in the subsequent calculation and processing, multiple virtual indicators can be processed or sorted at the same time, so as to reduce the data retrieval path and improve data processing efficiency. Furthermore, the indicator similarity calculation can be performed on the configuration elements of each virtual indicator to obtain an indicator sequence, which is convenient for improving the processing efficiency of subsequent data.
[0085] Among them, indicator similarity is the similarity of configuration elements between different virtual indicators, and indicator sequence is the sequence obtained by sorting virtual indicators according to indicator similarity. The indicator sequence arranges similar virtual indicators together, providing a clear processing order for subsequent processing.
[0086] In some embodiments, a specific implementation of step S21 (the server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on the configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence) includes:
[0087] S211, the server calculates the number of configuration elements with exactly the same two virtual indicators to obtain a first number, calculates the number of configuration elements with different two virtual indicators to obtain a second number, and obtains the total number according to the sum of the first number and the second number.
[0088] It can be understood that the server performs a detailed comparative analysis on the configuration elements of any two virtual indicators, determines the number of completely identical configuration elements in the two virtual indicators, and records it as the first number. At the same time, it calculates the number of different configuration elements of the two virtual indicators to obtain the second number. Then, the first number is added to the second number to obtain the total number, which represents the total number of configuration elements of the two virtual indicators.
[0089] The first number is the number of configuration elements that are completely identical between any two virtual indicators, the second number is the number of different configuration elements between the two virtual indicators, and the total number is the sum of the first number and the second number.
[0090] Through the above implementation, the server can accurately quantify the similarities and differences in configuration elements between two virtual indicators, so as to enhance the accuracy of subsequent calculation of indicator similarity.
[0091] S212: Calculate the ratio of the first quantity to the total quantity to obtain an index similarity.
[0092] It is understandable that the server calculates the ratio of the first number to the total number, and the result obtained is the indicator similarity, wherein the indicator similarity is a value between 0 and 1, which intuitively reflects the similarity between the two virtual indicators in terms of configuration elements.
[0093] For example, if the indicator similarity of two virtual indicators is 0.8, it means that 80% of their configuration elements are the same and the similarity is high. By calculating the indicator similarity, the server can quantitatively evaluate the similarity relationship between all virtual indicators so as to subsequently classify and sort the virtual indicators.
[0094] S213: Based on the indicator similarity, all virtual indicators are divided into multiple indicator subsets and then sorted to obtain an indicator sequence.
[0095] It can be understood that the server first divides all virtual indicators into multiple indicator subsets based on indicator similarity. Specifically, virtual indicators with higher similarity are grouped into a subset, so that the virtual indicators in each subset have higher similarity in configuration elements. Then, these indicator subsets are sorted to finally obtain an ordered indicator sequence. Through this classification and sorting method, the server can organize complex virtual indicators according to similarity, so that the configuration end can have a clearer understanding of the relationship between different virtual indicators, which is convenient for subsequent configuration and management operations.
[0096] Among them, the indicator subset is the sub-category set corresponding to the virtual indicator, and the indicator sequence is the sequence obtained by sorting the indicator subset.
[0097] In some embodiments, a specific implementation of step S213 (dividing all virtual indicators into multiple indicator subsets based on indicator similarity and then sorting them to obtain an indicator sequence) includes:
[0098] S2131, determining the first virtual indicator with the highest similarity for each virtual indicator and greater than or equal to a preset similarity value; if two virtual indicators are each other's first virtual indicators, classify the two virtual indicators into a first indicator subset, and mark the indicator subset with similarity.
[0099] It is understandable that the server first determines the first virtual indicator with the highest similarity for each virtual indicator and is greater than or equal to the preset similarity value. The preset similarity value is a pre-set standard value for measuring the similarity of indicators. If there are two virtual indicators that are each other's first virtual indicators, that is, the similarity between them is relatively the highest among all virtual indicators and reaches the preset similarity value, then the two virtual indicators are classified into a first indicator subset, and the indicator subset is marked with the similarity between the virtual indicators it contains. In this way, virtual indicators with high similarity can be grouped together, which facilitates the subsequent unified management and configuration of similar virtual indicators. At the same time, marking the similarity can intuitively reflect the degree of similarity of the virtual indicators in the indicator subset, providing a reference for subsequent sorting.
[0100] Among them, the preset similarity value is a pre-set similarity value, such as 50%, 80%, etc. The first virtual indicator is a virtual indicator related to the virtual indicator and has the highest virtual indicator similarity and is greater than or equal to the preset similarity value. For example, when the virtual indicators are A, B, C, and D, the server calculates the virtual indicator similarity between any two virtual indicators respectively, and the similarities of the three virtual indicators related to A are 90%, 85%, and 50% respectively, and the preset similarity value is 80%, then it can be determined that the similarity between virtual indicator B and virtual indicator A is 90%, so that virtual indicator B can be used as the first virtual indicator, and the first indicator subset is the set containing the first virtual indicator.
[0101] S2132: If it is determined that the virtual indicator in the first indicator subset is also the first virtual indicator of other virtual indicators, and the similarity is greater than or equal to the preset similarity value, the other virtual indicators are classified into the corresponding first indicator subset.
[0102] It can be understood that after determining part of the first indicator subset, it is possible to further determine whether the virtual indicator in the first indicator subset is also the first virtual indicator of other virtual indicators, and the similarity between them is greater than or equal to the preset similarity value. When this condition is met, the other virtual indicators are classified into the corresponding first indicator subset, thereby expanding the scope of the first indicator subset, ensuring that virtual indicators with similar characteristics can be classified into appropriate subsets, making the first indicator subset more complete and accurate.
[0103] Through the above implementation, similar virtual indicators can be classified more comprehensively, which improves the accuracy and completeness of virtual indicator classification and helps to better manage and configure virtual indicators.
[0104] S2133: If it is determined that the similarities between the virtual indicator and other virtual indicators are less than a preset similarity value, the virtual indicator is classified into the second indicator subset.
[0105] It can be understood that when the similarity between a virtual indicator and all other virtual indicators is less than the preset similarity value, the virtual indicator is classified into the second indicator subset. This second indicator subset contains virtual indicators with lower similarity with other virtual indicators. By classifying these virtual indicators separately, their differences from other similar virtual indicators can be clearly distinguished, which facilitates targeted processing and configuration of different types of virtual indicators, making the management of virtual indicators more detailed and effective.
[0106] S2134 , sorting all first indicator subsets in descending order based on the annotation similarity to obtain a first sequence, and arranging the second indicator subset after the first sequence to obtain an indicator sequence.
[0107] It can be understood that after completing the classification of virtual indicators, all first indicator subsets can be sorted in descending order according to the marked similarity, that is, the first indicator subsets are arranged in order from high to low similarity to obtain the first sequence, and then the second indicator subsets are arranged behind the first sequence to finally obtain the complete indicator sequence.
[0108] Through the above implementation, the first indicator subset containing virtual indicators with higher similarity can be arranged in front, and the second indicator subset containing lower similarity can be arranged in the back, forming an ordered indicator sequence. The indicator sequence provides a clear arrangement order for subsequent structured processing of the configuration elements of the virtual indicators, making it convenient for the configuration end to operate and manage the virtual indicators according to the indicator sequence, thereby improving the efficiency and accuracy of the virtual indicator configuration.
[0109] S22, traverse the virtual indicators in the indicator sequence in sequence and perform structured processing according to the processing structure of the configuration element to obtain multiple structure sub-slots, each structure sub-slot corresponds to an input element, calculation element or output element.
[0110] It can be understood that the virtual indicators after similarity sorting are structured, and the virtual indicators are converted into multiple structural sub-slots according to the processing structure of the configuration elements, and the correspondence between each structural sub-slot and the input element, calculation element or output element is clarified, so that the subsequent configuration end can configure the virtual indicators.
[0111] The processing result is the analysis structure of the configuration element corresponding to the virtual indicator, and the structure sub-slot is the corresponding element node slot in the processing structure tree.
[0112] Through this structured processing, complex virtual indicators are split into relatively independent and clear sub-parts, so that each configuration element has a corresponding specific location and representation, which facilitates the subsequent detailed setting and management of each configuration element, and also provides a clearer operation object for the configuration end to customize the processing of configuration elements.
[0113] In some embodiments, a specific implementation of step S22 (the step of sequentially traversing the virtual indicators in the indicator sequence and performing structured processing according to the processing structure of the configuration element to obtain multiple structure subslots, each structure subslot corresponding to an input element, a computation element, or an output element) includes:
[0114] S221, construct the input area, calculation area and output area in sequence.
[0115] It is understandable that if Figure 2 As shown, the server constructs the input area, calculation area and output area in sequence. These three areas are divided according to the configuration elements of the virtual indicators (input elements, calculation elements and output elements).
[0116] Among them, the input area is the area used to process the input data of the virtual indicator, the calculation area is the element area responsible for performing corresponding calculation operations on the input data, and the output area is the element area used to output the calculation results.
[0117] Through the above implementation, the input area, calculation area and output area are constructed in sequence, providing a framework for the subsequent structured processing of the configuration elements of the virtual indicator, so that the different functional parts of the virtual indicator are clearly divided, which facilitates targeted operation and management of each part.
[0118] S222: construct and fill slots corresponding to each input element, calculation element, or output element in the input area, calculation area, and output area.
[0119] It can be understood that after constructing the input area, calculation area and output area, slots corresponding to each input element, calculation element or output element are constructed in these areas and filled. Each slot corresponds to a specific configuration element. By constructing slots and filling corresponding configuration elements, each configuration element has a specific position and representation in the corresponding area.
[0120] For example, in the input area, each input element has a corresponding slot to receive input data. In the calculation area, the slot corresponding to the calculation element is used to perform calculation operations. In the output area, the slot corresponding to the output element is used to output the calculation results. Such operations make the configuration elements of virtual indicators more intuitive and specific, and provide a clear structure for subsequent processing.
[0121] S223 , based on the relationship between the input elements, the calculation elements, or the output elements, the slots are sequentially connected to obtain structural sub-slots.
[0122] It can be understood that the logical relationship between different configuration elements is taken into consideration, and the configuration elements of the virtual indicator form an organic whole by connecting the slots.
[0123] For example, Figure 2 As shown, after the slot corresponding to the input element receives the input data, the data flows to the slot corresponding to the calculation element for calculation, and the calculation result flows to the slot corresponding to the output element for output. By connecting the slots in sequence to obtain the structural sub-slots, the information transmission path and operation sequence between the configuration elements of the virtual indicator are clarified, making the function implementation of the virtual indicator more orderly and efficient, and providing an accurate structural foundation for the subsequent configuration end to determine the structural sub-slot information of the virtual indicator and the parallel processing of the server.
[0124] S23, the configuration end determines the information of the structural subslot of each virtual indicator, and the server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end to obtain the configuration element of each virtual indicator.
[0125] It should be noted that since different users have corresponding identity tags, such as electricity members and non-members, there may be differences in the data configuration of the same indicator element between members and non-members. For example, the unit price of electricity for members can be discounted, while the electricity prices for members and non-members are different, that is, the data information corresponding to the same element can be different. Therefore, the corresponding interface can be called for data configuration according to the information determined by the configuration end. Conversely, when the configuration elements are the same, the same interface can be called out so that the configuration end can implement fast configuration, and there is no need to re-call the configuration for the same indicator, thereby improving data processing efficiency.
[0126] It can be understood that, first, the configuration end determines the information of the structural sub-slot of each virtual indicator, which includes the specific settings and parameters of each structural sub-slot, etc. Then, the server combines the order of the indicator sequence and the information determined by the configuration end to perform parallel processing on the structural sub-slots of subsequent virtual indicators. The purpose of parallel processing is to maintain the order of the indicator sequence, and according to the configuration information of the previous virtual indicator, to make corresponding adjustments and optimizations to the structural sub-slots of subsequent virtual indicators, so that the configuration elements of all virtual indicators can be coordinated and unified with each other, and finally obtain complete and reasonable configuration elements for each virtual indicator, thereby completing the further refinement and improvement of the virtual indicator configuration.
[0127] In some embodiments, a specific implementation of step S23 (the configuration end determines information about the structural subslot of each virtual indicator, and the server performs parallel processing on the structural subslots of subsequent virtual indicators based on the indicator sequence order and the information determined by the configuration end to obtain the configuration element of each virtual indicator) includes:
[0128] S231: If it is determined that the configuration end adjusts the initial information of the structure subslot of the virtual indicator, the adjustment information is determined.
[0129] It is understandable that when the configuration end adjusts the initial information of the structural sub-slot of the virtual indicator, the server can determine the specific adjustment information. These adjustment information may involve changes in the value range of the input element, modifications to the calculation formula of the calculation element, or adjustments to the display form of the output element, etc., so as to ensure the accuracy of the subsequent adjustment information.
[0130] The initial information is the configured data information in the structure sub-slot, and the adjustment information is the information for adjusting and modifying the structure sub-slot. For example, the unit price of electricity can be adjusted from 0.8 to 0.7.
[0131] S232: Retrieve the structural subslot of the next virtual indicator in the indicator sequence order, adjust it accordingly based on the adjustment information, and highlight the adjusted information in a preset format.
[0132] It is understandable that after determining the adjustment information, the server will call the structural sub-slot of the next virtual indicator, and then make corresponding adjustments to the structural sub-slot based on the previously determined adjustment information. In order to allow users to clearly see these adjustments, the server will highlight the adjusted information in a preset format.
[0133] The preset format is a pre-set display format, which may be changing the font color, adding a background color, or setting a special border style.
[0134] Through the above implementation, the user can intuitively understand the adjustments made to the sub-slots of the virtual indicator structure, which facilitates the evaluation and confirmation of the adjustment results.
[0135] S233: If it is determined that the user is sure about the highlighted adjustment information, save it.
[0136] It is understandable that when the server determines that the user has confirmed the adjustment information, it will save the adjustment information. Saving the adjustment information means that these modifications will be applied to the configuration of the virtual indicator and become part of the final configuration elements, ensuring that the user's adjustment intentions can be accurately recorded and executed, so as to improve the accuracy and effectiveness of the virtual indicator configuration.
[0137] S3: The server determines the corresponding real-time engine and periodic engine based on the attributes of the virtual indicator.
[0138] It is understandable that, since the properties of virtual indicators are different, the corresponding engines are also different. Therefore, a corresponding engine mode can be selected according to the properties of the virtual indicators for the convenience of users.
[0139] Among them, the attributes of virtual indicators may include data update frequency, real-time requirements of data sources, etc. The real-time engine is used to process virtual indicators that need to be updated and calculated in real time, and can respond to data changes in a timely manner and perform corresponding calculations and processing. The periodic engine is suitable for virtual indicators that process and update data according to a certain period. By matching virtual indicators with different attributes with appropriate engines, the efficiency and accuracy of virtual indicator processing can be improved, ensuring that virtual indicators can operate normally as expected.
[0140] S4, after the configuration end determines the configuration elements of each virtual indicator, it builds the data interface for the real-time engine and the periodic engine, establishes the information extraction table and removes duplicates, and obtains the configured virtual indicator based on the information extraction table.
[0141] It can be understood that after the configuration elements of each virtual indicator are determined on the configuration side, a data interface is built for the real-time engine and the periodic engine, an information extraction table is established and deduplication is performed, and finally the configured virtual indicator is obtained based on the information extraction table, so that the virtual indicator can accurately interact with the engine for data, realize effective data extraction and input, and put the virtual indicator into use with the correct configuration to ensure the normal operation of the entire virtual indicator system.
[0142] In some embodiments, the specific implementation of step S4 (after the configuration end determines the configuration elements of each virtual indicator, establishes a data interface between the real-time engine and the periodic engine, creates an information extraction table and then removes duplicates, and obtains the configured virtual indicator based on the information extraction table) includes:
[0143] S41, the configuration end establishes a corresponding data interface for each structural sub-slot in turn, and counts the correspondences between all structural sub-slots and data interfaces to generate an initial information extraction table.
[0144] It can be understood that the configuration end establishes the corresponding data interface for each structural sub-slot in turn. Each structural sub-slot carries input elements, computing elements or output elements. The establishment of data interfaces enables these elements to transmit data with the real-time engine and the periodic engine. At the same time, the configuration end counts the correspondence between all structural sub-slots and data interfaces, and organizes these correspondences to generate an initial information extraction table to facilitate subsequent information extraction.
[0145] Among them, the data interface is an interface for data transmission corresponding to the structural sub-slot, and is associated with each data information. For example, when it is necessary to calculate the user's electricity price, one of the structural sub-slots needs to retrieve electric energy, that is, the structural sub-slot may be connected to the voltage sensor, thereby constructing a corresponding data interface to retrieve the voltage sensor value. At the same time, since the unit price of electricity for electricity members and non-members may be different, the corresponding second structural sub-slot needs to retrieve the corresponding user database, so that a new data interface can be constructed to retrieve the user database through the data interface corresponding to the second structural sub-slot and transmit it to the structural sub-slot in the calculation area for data calculation. The information extraction table is a form containing the correspondence between the structural sub-slots and the data interfaces. For example, the information extraction table is composed of structural sub-slot A corresponding to data interface 1, structural sub-slot B corresponding to data interface 2, etc.
[0146] It is not difficult to understand that the data interface is related to the associated data content, so that the database of the corresponding indicator can be retrieved according to the corresponding data interface to improve data processing efficiency.
[0147] By establishing a data interface and generating an initial information extraction table, a clear structure and data foundation is provided for subsequent data processing and virtual indicator configuration, ensuring the accuracy and orderliness of data transmission.
[0148] S42: If it is determined that multiple sub-slots correspond to the same data interface, a slot association group is obtained, and duplicate data interfaces are removed and then set corresponding to the slot association group.
[0149] It should be noted that when the data required for multiple slot data calculations is the same, the corresponding data interface can send the associated data to multiple indicators for data calculation, and when the call data of multiple data slots in the same indicator are the same, the corresponding multiple identical data interfaces can be deduplicated to obtain a slot association group corresponding to the data interface.
[0150] It can be understood that when it is determined that multiple sub-slots correspond to the same data interface, these sub-slots are classified into slot association groups. This is because there may be data redundancy or duplication when multiple sub-slots correspond to the same data interface. By classifying them into slot association groups, the data interfaces can be managed more effectively. Then, the duplicate data interfaces are deduplicated to remove redundant data interfaces, making the data interfaces more concise and efficient. Finally, the deduplicated data interfaces are set to correspond to the slot association groups to ensure that each slot association group has an accurate and non-duplicate data interface corresponding to it, thereby optimizing the data transmission path and improving data processing efficiency.
[0151] The slot association group is a combination of multiple different sub-slots corresponding to data interfaces.
[0152] S43, calling the real-time tag or periodic tag corresponding to each sub-slot to generate comprehensive extraction information and storing it in the extraction period slot to obtain an information extraction table.
[0153] It can be understood that since different virtual indicators have corresponding periodic labels or real-time labels, the element subslots corresponding to the virtual indicators also have corresponding label information, so that the configuration end can call the real-time label or periodic label corresponding to each subslot. These labels contain time characteristic information related to the subslot. By calling these labels, comprehensive extraction information is generated. The comprehensive extraction information integrates the data characteristics and time characteristics of the subslot. Then, the comprehensive extraction information is stored in the extraction period slot. The extraction period slot provides a specific space for storing the comprehensive extraction information. Finally, through this series of operations, an information extraction table is obtained, in which the information extraction table comprehensively records the relationship between the subslot, data interface, real-time label or periodic label and comprehensive extraction information, providing detailed information support for subsequent data extraction and virtual indicator configuration.
[0154] Among them, the real-time tag is the information tag of the data that needs to be updated in real time, the periodic tag is the information tag of the data that needs to be updated periodically, the comprehensive extraction information is the information of all extracted data corresponding to the sub-slot, the extraction period slot is the slot where the extracted data information is stored, and the information extraction table is a form with comprehensive extraction information.
[0155] S44, the server extracts the data transmitted in the data interface according to the independent extraction information or the comprehensive extraction information corresponding to each data interface in the information extraction table and inputs the data into the structure subslot to obtain a virtual indicator.
[0156] It can be understood that the server extracts the data transmitted in the data interface based on the independent extraction information or comprehensive extraction information corresponding to each data interface in the information extraction table. The independent extraction information and the comprehensive extraction information clarify the specific content and characteristics of the data in the data interface. The server accurately extracts data from the data interface based on this information and inputs the extracted data into the corresponding structural sub-slot. Through this process, the extracted data is accurately input into each structural sub-slot of the virtual indicator to obtain the configured virtual indicator, so that the virtual indicator can operate normally according to the configured elements and interface requirements, completing the configuration and data processing flow of the entire virtual indicator.
[0157] like Figure 3 As shown, the present invention provides a structural diagram of a virtual indicator data processing system, the virtual indicator data processing system comprising:
[0158] The interactive module is used to enable the server to call the full-function configuration template and feed it back to the configuration end for interaction after the configuration end sends a configuration request for the virtual indicator, so as to obtain a functional first configuration template.
[0159] The calling module is used to enable the server to call the configuration elements of the virtual indicators in the first configuration template, and customize the configuration elements based on the configuration end, wherein the configuration elements include input elements, calculation elements and output elements.
[0160] The determination module is used to enable the server to determine the corresponding real-time engine and periodic engine according to the attributes of the virtual indicator.
[0161] The extraction module is used to enable the configuration end to determine the configuration elements of each virtual indicator, build a data interface for the real-time engine and the periodic engine, establish an information extraction table and then remove duplicates, and obtain the configured virtual indicator based on the information extraction table.
[0162] The present invention also provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the methods provided in the various embodiments described above.
[0163] The storage medium may be a computer storage medium or a communication medium. A communication medium includes any medium that facilitates the transfer of a computer program from one location to another. A computer storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an application-specific integrated circuit (ASIC). In addition, the ASIC may be located in a user device. Of course, the processor and the storage medium may also exist as discrete components in a communication device. The storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0164] The present invention also provides a program product, which includes execution instructions stored in a storage medium. At least one processor of a device can read the execution instructions from the storage medium, and at least one processor executes the execution instructions so that the device implements the methods provided in the various embodiments described above.
[0165] In the above-mentioned terminal or server embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A virtual indicator data processing method, characterized in that: include: After the configuration end sends a configuration request for the virtual indicator, the server calls the full-function configuration template and feeds it back to the configuration end for interaction, obtaining a functional first configuration template; The server retrieves the configuration elements of the virtual indicator in the first configuration template and performs customized processing on the configuration elements based on the configuration end. The configuration elements include input elements, calculation elements, and output elements, including: The server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on the configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence; Traverse the virtual indicators in the indicator sequence in sequence and perform structured processing according to the processing structure of the configuration element to obtain multiple structure sub-slots, each of which corresponds to an input element, calculation element or output element; The configuration end determines the information of the structural subslot of each virtual indicator. The server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end to obtain the configuration element of each virtual indicator. The server determines the corresponding real-time engine and periodic engine based on the properties of the virtual indicator; After the configuration end determines the configuration elements of each virtual indicator, it builds the data interface for the real-time engine and the periodic engine, establishes the information extraction table and removes duplicates, and obtains the configured virtual indicator based on the information extraction table.
2. The virtual indicator data processing method according to claim 1, characterized in that: After the configuration end sends a configuration request for a virtual indicator, the server calls a full-function configuration template and feeds it back to the configuration end for interaction, obtaining a functional first configuration template, including: If the server determines that the configuration terminal selects the functional selection mode, it generates a function selection module, and determines a corresponding first configuration template based on the function selection module, each function selection module having a preset virtual indicator; If the server determines that the configuration end selects the customized selection mode, the server directly displays the virtual indicators and obtains a functional first configuration template based on the virtual indicators respectively selected by the configuration end.
3. The virtual indicator data processing method according to claim 2, characterized in that: Also includes: If it is determined that the configuration end selects a function selection module and then applies for custom processing, the virtual indicator corresponding to the function selection module is copied to generate an interactive slot template; If it is determined that the user deletes the virtual indicator in the interactive slot, it is deleted from the first configuration template; If it is determined that the user creates a new interaction slot in the interaction slot template, the full-function configuration template is called based on the newly created interaction slot and the corresponding virtual indicator is selected to fill in the newly created interaction slot to obtain the first configuration template.
4. The virtual indicator data processing method according to claim 1, characterized in that: The server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence, including: The server calculates the number of configuration elements with the same virtual indicators for any two to obtain a first number, calculates the number of configuration elements with different virtual indicators for any two to obtain a second number, and obtains the total number based on the sum of the first number and the second number; Calculate the ratio of the first quantity to the total quantity to obtain the index similarity; Based on the indicator similarity, all virtual indicators are divided into multiple indicator subsets and then sorted to obtain the indicator sequence.
5. The virtual indicator data processing method according to claim 4, characterized in that: The method of dividing all virtual indicators into multiple indicator subsets based on indicator similarity and then sorting them to obtain an indicator sequence includes: Determine the first virtual indicator with the highest similarity for each virtual indicator and greater than or equal to a preset similarity value; if two virtual indicators are each other's first virtual indicators, classify the two virtual indicators into a first indicator subset and mark the indicator subset with similarity; If it is determined that the virtual indicator in the first indicator subset is also the first virtual indicator of other virtual indicators, and the similarity is greater than or equal to the preset similarity value, then the other virtual indicators are classified into the corresponding first indicator subset; If the similarity between the virtual indicator and other virtual indicators is less than the preset similarity value, the virtual indicator is classified into the second indicator subset; Based on the annotation similarity, all first indicator subsets are sorted in descending order to obtain a first sequence, and the second indicator subset is sorted after the first sequence to obtain an indicator sequence.
6. The virtual indicator data processing method according to claim 1, characterized in that: The virtual indicators in the indicator sequence are sequentially traversed and structured according to the processing structure of the configuration element to obtain multiple structural sub-slots, each structural sub-slot corresponding to an input element, a calculation element or an output element, including: Construct the input area, calculation area and output area in sequence; Construct and fill slots corresponding to each input element, calculation element or output element in the input area, calculation area and output area; Slots are connected in sequence based on the relationship between input elements, calculation elements or output elements to obtain structural subslots.
7. The virtual indicator data processing method according to claim 1, characterized in that: The configuration end determines the information of the structural subslot of each virtual indicator. The server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end to obtain the configuration elements of each virtual indicator, including: If it is determined that the configuration end adjusts the initial information of the structure subslot of the virtual indicator, the adjustment information is determined; Retrieving a structural subslot of a subsequent virtual indicator in the indicator sequence order, adjusting the subslot accordingly based on the adjustment information, and highlighting the adjusted information in a preset format; If it is determined that the user is sure about the highlighted adjustment information, it is saved.
8. The virtual indicator data processing method according to claim 6, characterized in that: After determining the configuration elements of each virtual indicator, the configuration end sets up a data interface for the real-time engine and the periodic engine, establishes an information extraction table, and removes duplicates. Based on the information extraction table, the configured virtual indicator is obtained, including: The configuration end establishes the corresponding data interface for each structural sub-slot in turn, and counts the correspondence between all structural sub-slots and data interfaces to generate an initial information extraction table; If it is determined that multiple sub-slots correspond to the same data interface, a slot association group is obtained, and duplicate data interfaces are removed and then set corresponding to the slot association group; Retrieve the real-time tag or periodic tag corresponding to each sub-slot to generate comprehensive extraction information and store it in the extraction period slot to obtain an information extraction table; The server extracts the data transmitted in the data interface according to the independent extraction information or the comprehensive extraction information corresponding to each data interface in the information extraction table and inputs the data into the structural subslot to obtain the virtual indicator.
9. Virtual indicator data processing system, characterized in that: include: The interaction module is used to enable the server to call the full-function configuration template and feed it back to the configuration end for interaction after the configuration end sends a configuration request for the virtual indicator, so as to obtain a functional first configuration template; The retrieval module is used to enable the server to retrieve the configuration elements of the virtual indicators in the first configuration template, and customize the configuration elements based on the configuration end, wherein the configuration elements include input elements, calculation elements, and output elements, including: The server sequentially retrieves virtual indicators in the first configuration template, calculates indicator similarity based on the configuration elements of each virtual indicator, and sorts the indicators based on the indicator similarity to obtain an indicator sequence; Traverse the virtual indicators in the indicator sequence in sequence and perform structured processing according to the processing structure of the configuration element to obtain multiple structure sub-slots, each of which corresponds to an input element, calculation element or output element; The configuration end determines the information of the structural subslot of each virtual indicator. The server processes the structural subslots of subsequent virtual indicators in parallel based on the indicator sequence order and the information determined by the configuration end to obtain the configuration element of each virtual indicator. A determination module, configured to enable the server to determine the corresponding real-time engine and periodic engine according to the attributes of the virtual indicator; The extraction module is used to enable the configuration end to determine the configuration elements of each virtual indicator, build a data interface for the real-time engine and the periodic engine, establish an information extraction table and then remove duplicates, and obtain the configured virtual indicator based on the information extraction table.
Citation Information
Patent Citations
Index data analysis method and device, equipment and storage medium
CN113283675A
Data service construction method and device, electronic equipment and storage medium
CN114547189A