CN116739397B - Dynamic management method for new energy indexes - Google Patents

Dynamic management method for new energy indexes Download PDF

Info

Publication number
CN116739397B
CN116739397B CN202310007162.7A CN202310007162A CN116739397B CN 116739397 B CN116739397 B CN 116739397B CN 202310007162 A CN202310007162 A CN 202310007162A CN 116739397 B CN116739397 B CN 116739397B
Authority
CN
China
Prior art keywords
index
management
calculation formula
configuration information
index management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310007162.7A
Other languages
Chinese (zh)
Other versions
CN116739397A (en
Inventor
赵鹏
何丹丹
李端开
凌宇龙
苏洋
王聚博
龚春鸣
龚震
曹正良
孙明涛
王金鹏
杨晓伟
宿凤明
万江洪
萨仁高娃
王慧洁
吴玮
张容铨
程颖
吴凯毅
孙硕
赵迦勒
刘时飞
赵闻音
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Power Investment Group Science and Technology Research Institute Co Ltd
Original Assignee
State Power Investment Group Science and Technology Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Power Investment Group Science and Technology Research Institute Co Ltd filed Critical State Power Investment Group Science and Technology Research Institute Co Ltd
Priority to CN202310007162.7A priority Critical patent/CN116739397B/en
Publication of CN116739397A publication Critical patent/CN116739397A/en
Application granted granted Critical
Publication of CN116739397B publication Critical patent/CN116739397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • Primary Health Care (AREA)
  • Computing Systems (AREA)
  • Automation & Control Theory (AREA)
  • Game Theory and Decision Science (AREA)
  • Public Health (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

In the dynamic management method, the dynamic management device and the storage medium for the new energy index, an index management request is received, wherein the index management request comprises an index management type and index management information, then the index management request is authenticated, and the index is managed based on the index management type and the index management information when the index management request passes the authentication. The application realizes the dynamic expansion and maintenance of the index based on the index management type and the index management information, supports the dynamic expansion of other system indexes, reduces the maintenance cost of the index and improves the maintenance efficiency of the index.

Description

Dynamic management method for new energy indexes
Technical Field
The application relates to the technical field of new energy evaluation, in particular to a dynamic management method, a dynamic management system and a storage medium for new energy indexes.
Background
Along with the continuous development of new energy projects, the data analysis of the new energy projects depends on corresponding indexes, so that the requirements on the accuracy and maintainability of the indexes are higher and higher.
In the related art, the index is maintained by a mode of background table establishment. For example, because the business requirement establishes the index related to the project, the index mainly comprises project basic information such as project codes, project names, places and the like, project operation information such as average business income of the project and the like, then the ETL tool is used for extracting data of the business system into a plurality of bins to form ODS layer original table data, and then an offline code is developed to process the data according to an index calculation formula to form a DW layer index table. When the calculation mode of the index changes, the offline development code needs to be adjusted, and because the fields in the code are database table fields, a user familiar with a database background table needs to make field comparison according to the index. Meanwhile, as the index is not solidified, the change of the index cannot be synchronized to other related systems, so that the maintenance cost of the index is increased, and the maintenance efficiency of the index is reduced.
Disclosure of Invention
The application provides a dynamic management method, a dynamic management system and a storage medium for new energy indexes, which are used for solving the technical problems in the related technology.
An embodiment of a first aspect of the present application provides a method for dynamically managing a new energy index, including:
receiving an index management request, wherein the index management request comprises an index management type and index management information;
Authenticating the index management request;
And responding to the index management request to pass authentication, and managing the index based on the index management type and the index management information.
An embodiment of a second aspect of the present application provides a dynamic management device for new energy indexes, including:
the receiving module is used for receiving an index management request, wherein the index management request comprises an index management type and index management information;
The authentication module is used for authenticating the index management request;
and the management module is used for responding to the index management request and managing the index based on the index management type and the index management information through authentication.
The embodiment of the third aspect of the application provides a computer storage medium, wherein the computer storage medium stores computer executable instructions; the computer executable instructions, when executed by a processor, are capable of implementing the method as described in the first aspect above.
An embodiment of the fourth aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is capable of implementing the method according to the first aspect.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
In the dynamic management method, the dynamic management device and the storage medium for the new energy index, an index management request is received, wherein the index management request comprises an index management type and index management information, then the index management request is authenticated, and the index is managed based on the index management type and the index management information when the index management request passes the authentication. The application realizes the dynamic expansion and maintenance of the index based on the index management type and the index management information, supports the dynamic expansion of other system indexes, reduces the maintenance cost of the index and improves the maintenance efficiency of the index.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for dynamically managing new energy indexes according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a dynamic management device for new energy indexes according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting the application.
The following describes a dynamic management method and device for new energy indexes according to an embodiment of the present application with reference to the accompanying drawings.
Example 1
Fig. 1 is a flow chart of a dynamic management method of new energy indexes according to an embodiment of the present application, as shown in fig. 1, may include:
step 101, receiving an index management request.
In the embodiment of the application, the index management request comprises an index management type and index management information.
And, in an embodiment of the present application, the above-mentioned index management type may include at least one of the following:
Newly adding index configuration information;
modifying index configuration information;
deleting the index configuration information;
Importing index data;
And modifying index data.
Further, in the embodiment of the present application, the index management information may include a name and a calculation formula of the index.
And, in an embodiment of the present application, the uniqueness of the item is determined in the form of three encodings: the country record code, the group company code and the center inner code are used for ensuring the uniqueness of index data, facilitating the de-duplication of summarized project indexes and forming a new energy project index library.
Further, in the embodiment of the present application, the index management request after the user configuration index is acquired based on the interface may be provided.
Step 102, authenticating the index management request.
In an embodiment of the present application, the method for authenticating an index management request may include:
acquiring a current user permission table, and if the user permission table has the permission of the index management type, passing authentication through an index management request; otherwise, the index management request fails authentication.
For example, in the embodiment of the present application, assuming that the index management type in the index management request is the new index configuration information, the current user permission table is obtained, whether the current user has the permission of the new index configuration information is checked, and if the current user has the permission of the new index configuration information, the index management request passes authentication; otherwise, the index management request fails authentication.
And, in an embodiment of the present application, the index management request may be authenticated through DataTargetController classes.
And 103, responding to the index management request to pass authentication, and managing the index based on the index management type and the index management information.
In the embodiment of the present application, when the index management types are different, the method of managing the index based on the index management type and the index management information is also different.
Specifically, in an embodiment of the present application, when the index management type is newly added with the index configuration information, the method for managing the index based on the index management type and the index management information may include: judging whether the new index in the index management information relates to an index calculation formula or not; if the new index does not relate to the index calculation formula, directly storing index management information of the new index into a database, and outputting the new index successfully; if the new index relates to the index calculation formula, carrying out validity check on the index calculation formula, if the check is passed, calculating an index value corresponding to the new index based on the index calculation formula, updating the index value of the new index into a database, calling a subsystem interface to automatically synchronize index management information to a subsystem, and outputting the successful operation; if the verification is not passed, the output operation fails.
In an embodiment of the present application, the method for verifying validity of the index calculation formula may include: carrying out validity check on the index in the index calculation formula, and if the index variables in the index calculation formula are all existing indexes, passing the validity check; otherwise, the index calculation formula fails the validity check.
In the embodiment of the application, the method for managing the index based on the index management type and the index management information can perform corresponding processing through different types of functions. Specifically, in the embodiment of the application, whether the newly added index in the index management information relates to an index calculation formula is judged through DATATARGETSERVICE types, if the newly added index does not relate to the index calculation formula, the index management information of the newly added index is directly stored in a database, an operation result is returned to DataTargetController types, and DataTargetController types are successfully output; if the new index relates to an index calculation formula, the index management information is sent to ComputeByExprTools classes, the index calculation formula is checked for validity through ComputeByExprTools classes, if the check is passed, the index value corresponding to the new index is calculated based on the index calculation formula, the index value of the new index is returned to DATATARGETSERVICE classes, DATATARGETSERVICE classes update the index value of the new index into a database, a subsystem interface is called to automatically synchronize the index management information to a subsystem, an operation result is returned to DataTargetController classes, and DataTargetController classes output operation is successful; if the verification is not passed, returning the operation result to DataTargetController class, and outputting the operation failure of DataTargetController class. Based on the method, the indexes are managed through different types of functions, so that the management method is more flexible, if the method is modified later, the corresponding type of functions can be directly modified without modifying other places, and the management is convenient for users.
Further, in an embodiment of the present application, when the index management type is index configuration information modification, the method of managing the index based on the index management type and the index management information may include: judging whether the modified index in the index management information relates to an index calculation formula or not; if the modification index does not relate to the index calculation formula, directly modifying the index configuration information of the modification index, storing the index configuration information into a database, and outputting the operation success; if the modification index relates to the index calculation formula, carrying out validity check on the index calculation formula, if the check is passed, calculating an index value corresponding to the modification index based on the index calculation formula, updating the index value of the modification index into a database, calling a subsystem interface to automatically synchronize index configuration information to a subsystem, and outputting successful operation; if the verification is not passed, the output operation fails.
And in an embodiment of the present application, when the index management type is the modification of the index configuration information, the method for managing the index based on the index management type and the index management information, and performing corresponding processing through different types of functions includes: judging whether the modified index in the index management information relates to an index calculation formula or not through DATATARGETSERVICE types; if the modification index does not relate to the index calculation formula, directly modifying index configuration information of the modification index, storing the index configuration information into a database, returning an operation result to DataTargetController class, and outputting the operation result to DataTargetController class successfully; if the modification index relates to an index calculation formula, the index management information is sent to ComputeByExprTools classes, the index calculation formula is checked for validity through ComputeByExprTools classes, if the check is passed, the index value corresponding to the modification index is calculated based on the index calculation formula, the index value of the modification index is returned to DATATARGETSERVICE classes, DATATARGETSERVICE classes update the index value of the modification index to a database, a subsystem interface is called to automatically synchronize the index configuration information to a subsystem, an operation result is returned to DataTargetController classes, and DataTargetController classes output operation is successful; if the verification is not passed, returning the operation result to DataTargetController class, and outputting the operation failure of DataTargetController class.
Further, in an embodiment of the present application, when the index management type is the index configuration information deletion, the method for managing the index based on the index management type and the index management information may include: judging whether the deletion index in the index management information relates to other index calculation formulas or not; if the deletion index does not relate to other index calculation formulas, directly deleting the index configuration information corresponding to the deletion index, and outputting the operation success; if the deletion index relates to other index calculation formulas, outputting index configuration information related to deletion.
In the embodiment of the present application, when the deletion index relates to other index calculation formulas, that is, the deletion index is needed in the calculation formulas corresponding to other indexes, if the deletion is directly deleted, the corresponding index will have an error, based on which the related index configuration information needs to be deleted first.
In an embodiment of the present application, when the index management type is the deletion of the index configuration information, the method for managing the index based on the index management type and the index management information, and the corresponding processing procedure performed by different types of functions includes: judging whether the deletion index in the index management information relates to other index calculation formulas or not through DATATARGETSERVICE types; if the deletion index does not relate to other index calculation formulas, directly deleting index configuration information corresponding to the deletion index, returning an operation result to DataTargetController types, and outputting the operation result to DataTargetController types successfully; if the deletion index relates to other index calculation formulas, returning the operation result to DataTargetController class, and outputting index configuration information to be deleted from DataTargetController class.
Further, in an embodiment of the present application, when the index management type is index data import, the index management request further includes an import file, and the method for managing the index based on the index management type and the index management information may include: analyzing the imported file, and obtaining index management information in the analyzed imported file; judging whether the index in the index management information relates to an index calculation formula or not; if the index does not relate to the index calculation formula, directly updating index data corresponding to the index to a database, and outputting the data successfully; if the index relates to an index calculation formula, carrying out validity check on index data corresponding to the index, if the check is passed, updating the corresponding index value based on the index data and the related index calculation formula, updating the updated index value into a database, and outputting the successful operation; if the verification is not passed, the output operation fails.
In an embodiment of the present application, when the index management type is index data input, the method for managing the index based on the index management type and the index management information, and performing corresponding processing through different types of functions includes: analyzing the imported file through DataTargetController types, and acquiring index management information in the analyzed imported file; judging whether the index in the index management information relates to an index calculation formula or not through DataTargetController types; if the index does not relate to the index calculation formula, directly updating index data corresponding to the index to a database, returning an operation result to DataTargetController types, and outputting the operation result to DataTargetController types successfully; if the index relates to an index calculation formula, the index management information is sent to ComputeByExprTools types, the validity of index data corresponding to the index is checked through ComputeByExprTools types, if the verification is passed, the corresponding index value is updated based on the index data and the related index calculation formula, the updated index value is returned to DATACFGTARGETSERVICE types, DATACFGTARGETSERVICE types update the updated index value to a database, the operation result is returned to DataTargetController types, and DataTargetController types output operation is successful; if the verification is not passed, the ComputeByExprTools class returns the operation result to the DATACFGTARGETSERVICE class, the DATACFGTARGETSERVICE class returns the operation result to the DataTargetController class, and the DataTargetController class fails to output the operation.
Further, in an embodiment of the present application, when the index management type is index data modification, the method for managing the index based on the index management type and the index management information may include: judging whether an index corresponding to modified index data in the index management information relates to an index calculation formula or not; if the index does not relate to the index calculation formula, directly modifying and storing index data corresponding to the index into a database, and outputting the index data to be successfully operated; if the index relates to the index calculation formula, carrying out validity check on the modified index data, if the verification is passed, updating the corresponding index value based on the modified index data and the related index calculation formula, updating the index value modified and updated by the index data corresponding to the index into a database, and outputting the successful operation; if the verification is not passed, the output operation fails.
In an embodiment of the present application, when the index management type is index data modification, the method for managing the index based on the index management type and the index management information, and performing corresponding processing through different types of functions includes: judging whether the index corresponding to the modified index data in the index management information relates to an index calculation formula or not through DATATARGETSERVICE types; if the index does not relate to the index calculation formula, the DATATARGETSERVICE class directly modifies and stores index data corresponding to the index into a database, returns an operation result to the DataTargetController class, and outputs the operation to the DataTargetController class successfully; if the index relates to the index calculation formula, the index calculation formula and index modification data are sent to ComputeByExprTools classes, validity verification is carried out on the modified index data through ComputeByExprTools classes, if the verification is passed, the index value corresponding to the update of the modified index data and the related index calculation formula is updated based on the modified index data, the updated index value is returned to DATATARGETSERVICE classes, DATATARGETSERVICE classes update the index value corresponding to the index data modified and updated to the database, the operation result is returned to DataTargetController classes, and the DataTargetController classes output operation is successful; if the verification is not passed, returning the operation result to DataTargetController class, and outputting the operation failure of DataTargetController class.
It should be noted that, in the embodiment of the present application, the method for managing the index may support automatic call of other systems through the interface, so as to implement unified management of the index.
In summary, in the method for dynamically managing a new energy index provided by the present application, an index management request is received, where the index management request includes an index management type and index management information, then the index management request is authenticated, and if the index management request passes the authentication, the index is managed based on the index management type and the index management information. The application realizes the dynamic expansion and maintenance of the index based on the index management type and the index management information, supports the dynamic expansion of other system indexes, reduces the maintenance cost of the index and improves the maintenance efficiency of the index.
Example two
Fig. 2 is a schematic structural diagram of a dynamic management device for new energy indexes according to an embodiment of the present application, and as shown in fig. 2, the device may include:
A receiving module 201, configured to receive an index management request, where the index management request includes an index management type and index management information;
an authentication module 202, configured to authenticate the index management request;
And the management module 203 is configured to manage the index based on the index management type and the index management information if the index management request passes authentication.
In summary, in the dynamic management device for new energy indexes provided by the present application, an index management request is received, where the index management request includes an index management type and index management information, then the index management request is authenticated, and the index is managed based on the index management type and the index management information in response to the index management request passing the authentication. The application realizes the dynamic expansion and maintenance of the index based on the index management type and the index management information, supports the dynamic expansion of other system indexes, reduces the maintenance cost of the index and improves the maintenance efficiency of the index.
In order to implement the above-described embodiments, the present disclosure also proposes a computer storage medium.
The computer storage medium provided by the embodiment of the disclosure stores an executable program; the executable program, when executed by a processor, is capable of implementing the method as shown in fig. 1.
In order to implement the above-mentioned embodiments, the present disclosure also proposes a computer device.
The embodiment of the disclosure provides a computer device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor; the processor, when executing the program, is capable of implementing the method as shown in any one of fig. 1.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (6)

1. A dynamic management method for new energy indexes, the method comprising:
Receiving an index management request, wherein the index management request comprises an index management type and index management information, and the index management type comprises at least one of the following: newly adding index configuration information; modifying index configuration information; deleting the index configuration information; importing index data; modifying index data;
Authenticating the index management request;
responding to the index management request to pass authentication, and managing the index based on the index management type and the index management information;
When the index management type is newly added as index configuration information, the managing the index based on the index management type and the index management information includes:
judging whether the newly added index in the index management information relates to an index calculation formula or not;
if the new index does not relate to the index calculation formula, directly storing the index management information of the new index into a database, and outputting the new index successfully;
If the new index relates to an index calculation formula, carrying out validity check on the index calculation formula, if the verification is passed, calculating an index value corresponding to the new index based on the index calculation formula, updating the index value of the new index into a database, calling a subsystem interface to automatically synchronize the index configuration information to a subsystem, and outputting the successful operation; if the verification is not passed, the output operation fails;
When the index management type is index configuration information modification, the managing the index based on the index management type and the index management information includes:
Judging whether the modified index in the index management information relates to an index calculation formula or not;
If the modification index does not relate to the index calculation formula, directly modifying the index configuration information of the modification index, storing the index configuration information into a database, and outputting the index configuration information to be successfully operated;
If the modification index relates to an index calculation formula, carrying out validity check on the index calculation formula, if the verification is passed, calculating an index value corresponding to the modification index based on the index calculation formula, updating the index value of the modification index into a database, calling a subsystem interface to automatically synchronize the index configuration information to a subsystem, and outputting the successful operation; if the verification is not passed, the output operation fails;
when the index management type is index data import, the index management request also comprises an import file; the managing the index based on the index management type and the index management information includes:
analyzing the imported file, and obtaining index management information in the analyzed imported file;
Judging whether the index in the index management information relates to an index calculation formula or not;
if the index does not relate to the index calculation formula, directly updating index data corresponding to the index to a database, and outputting the data successfully;
if the index relates to an index calculation formula, carrying out validity check on index data corresponding to the index, if the check is passed, updating a corresponding index value based on the index data and the related index calculation formula, updating the updated index value into a database, and outputting successful operation; if the verification is not passed, the output operation fails.
2. The method of claim 1, wherein authenticating the index management request comprises:
And acquiring a current user permission table, and if the user permission table has the permission of the index management type, passing the authentication by the index management request.
3. The method of claim 1, wherein when the index management type is an index configuration information deletion, the managing the index based on the index management type and the index management information comprises:
judging whether the deletion index in the index management information relates to other index calculation formulas or not;
if the deletion index does not relate to other index calculation formulas, directly deleting the index configuration information corresponding to the deletion index, and outputting the operation success;
and if the deletion index relates to other index calculation formulas, outputting index configuration information related to deletion.
4. A dynamic management device for new energy indexes, the device comprising:
The system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an index management request, the index management request comprises an index management type and index management information, and the index management type comprises at least one of the following: newly adding index configuration information; modifying index configuration information; deleting the index configuration information; importing index data; modifying index data;
The authentication module is used for authenticating the index management request;
the management module is used for responding to the index management request and managing the index based on the index management type and the index management information through authentication;
When the index management type is newly added as index configuration information, the managing the index based on the index management type and the index management information includes:
judging whether the newly added index in the index management information relates to an index calculation formula or not;
if the new index does not relate to the index calculation formula, directly storing the index management information of the new index into a database, and outputting the new index successfully;
If the new index relates to an index calculation formula, carrying out validity check on the index calculation formula, if the verification is passed, calculating an index value corresponding to the new index based on the index calculation formula, updating the index value of the new index into a database, calling a subsystem interface to automatically synchronize the index configuration information to a subsystem, and outputting the successful operation; if the verification is not passed, the output operation fails;
When the index management type is index configuration information modification, the managing the index based on the index management type and the index management information includes:
Judging whether the modified index in the index management information relates to an index calculation formula or not;
If the modification index does not relate to the index calculation formula, directly modifying the index configuration information of the modification index, storing the index configuration information into a database, and outputting the index configuration information to be successfully operated;
If the modification index relates to an index calculation formula, carrying out validity check on the index calculation formula, if the verification is passed, calculating an index value corresponding to the modification index based on the index calculation formula, updating the index value of the modification index into a database, calling a subsystem interface to automatically synchronize the index configuration information to a subsystem, and outputting the successful operation; if the verification is not passed, the output operation fails;
when the index management type is index data import, the index management request also comprises an import file; the managing the index based on the index management type and the index management information includes:
analyzing the imported file, and obtaining index management information in the analyzed imported file;
Judging whether the index in the index management information relates to an index calculation formula or not;
if the index does not relate to the index calculation formula, directly updating index data corresponding to the index to a database, and outputting the data successfully;
if the index relates to an index calculation formula, carrying out validity check on index data corresponding to the index, if the check is passed, updating a corresponding index value based on the index data and the related index calculation formula, updating the updated index value into a database, and outputting successful operation; if the verification is not passed, the output operation fails.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor being capable of implementing the method of any one of claims 1-3 when executing the program.
6. A computer storage medium, wherein the computer storage medium stores computer-executable instructions; the computer executable instructions, when executed by a processor, are capable of implementing the method of any of claims 1-3.
CN202310007162.7A 2023-01-03 2023-01-03 Dynamic management method for new energy indexes Active CN116739397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310007162.7A CN116739397B (en) 2023-01-03 2023-01-03 Dynamic management method for new energy indexes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310007162.7A CN116739397B (en) 2023-01-03 2023-01-03 Dynamic management method for new energy indexes

Publications (2)

Publication Number Publication Date
CN116739397A CN116739397A (en) 2023-09-12
CN116739397B true CN116739397B (en) 2024-06-07

Family

ID=87910259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310007162.7A Active CN116739397B (en) 2023-01-03 2023-01-03 Dynamic management method for new energy indexes

Country Status (1)

Country Link
CN (1) CN116739397B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010600A (en) * 2021-02-02 2021-06-22 腾讯科技(深圳)有限公司 Data management system, method, related device and medium based on block chain
CN113641677A (en) * 2021-08-24 2021-11-12 京东科技控股股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114726556A (en) * 2022-06-09 2022-07-08 北京航天驭星科技有限公司 WAF management method, device, system, electronic equipment and readable medium
CN115358542A (en) * 2022-08-01 2022-11-18 上海驻云信息科技有限公司 Project and index management monitoring method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010600A (en) * 2021-02-02 2021-06-22 腾讯科技(深圳)有限公司 Data management system, method, related device and medium based on block chain
CN113641677A (en) * 2021-08-24 2021-11-12 京东科技控股股份有限公司 Data processing method and device, electronic equipment and storage medium
CN114726556A (en) * 2022-06-09 2022-07-08 北京航天驭星科技有限公司 WAF management method, device, system, electronic equipment and readable medium
CN115358542A (en) * 2022-08-01 2022-11-18 上海驻云信息科技有限公司 Project and index management monitoring method and device

Also Published As

Publication number Publication date
CN116739397A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
KR101999409B1 (en) Formatting data by example
CN108427684B (en) Data query method and device and computing equipment
EP3014479A2 (en) Omega names: name generation and derivation
CN110555015B (en) Database entity management method and device, electronic equipment and storage medium
CN103514223A (en) Data synchronism method and system of database
CN114564500A (en) Method and system for implementing structured data storage and query in block chain system
CN112395339B (en) Intersystem data admission verification method, device, computer equipment and storage medium
CN116070294B (en) Authority management method, system, device, server and storage medium
CN116739397B (en) Dynamic management method for new energy indexes
CN112800066A (en) Index management method, related device and storage medium
CN109614442B (en) Data table maintenance method and device for data synchronization, storage medium and electronic equipment
CN116069725A (en) File migration method, device, apparatus, medium and program product
CN115269548A (en) Method and system for generating data warehouse development model and related equipment
CN111400243B (en) Development management system based on pipeline service and file storage method and device
CN116107801A (en) Transaction processing method and related product
CN113468446A (en) Method, system and equipment for supporting identification of third-party two-dimensional code data
CN112597119A (en) Method and device for generating processing log and storage medium
CN111737964A (en) Form dynamic processing method, equipment and medium
CN115934670B (en) Method and device for verifying copy placement strategy of HDFS (Hadoop distributed File System) multi-machine room
CN112148710B (en) Micro-service library separation method, system and medium
CN114900531B (en) Data synchronization method, device and system
CN113626423B (en) Log management method, device and system of business database
CN111079199B (en) Enterprise credit data screenshot tamper-proofing method based on block chain technology
CN117971278A (en) Multi-version management method, server and storage medium of multi-tenant SaaS system
CN118349245A (en) User version upgrading method, system and storage medium for SaaS system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant