Market operation simulation case comparison analysis method, system, equipment and storage medium

By establishing a data set and comparative analysis template in the power market operation deduction system and dynamically configuring the comparison analysis template, the problem of the case comparison function's dependence on the data structure in the existing technology is solved, and flexible market operation deduction case comparison is achieved. analysis, improving the flexibility and accuracy of analysis.

CN113919880BActive Publication Date: 2024-10-18CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111227935.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-21
Publication Date
2024-10-18
Estimated Expiration
2041-10-21

AI Technical Summary

Technical Problem

The case comparison function of the existing power market operation deduction system relies on data structure and cannot flexibly adapt to changes in market models and rules, making it difficult to achieve comparative analysis of market operation deduction cases in flexible scenarios during the power market reform process.

Method used

By establishing data sets and comparative analysis templates in the market operation deduction business database, constructing and retrieving data sets based on the subject dimension and cycle dimension, and dynamically configuring the comparison analysis template, we can achieve comparative analysis of market operation deduction cases in different scenarios. Avoid relying on specific data structures.

Benefits of technology

It achieves the flexibility and accuracy of comparison and analysis of market operation deduction cases in different scenarios, simplifies the operation process, and improves the practicality and efficiency of analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919880B_ABST
    Figure CN113919880B_ABST
Patent Text Reader

Abstract

The present invention discloses a market operation deduction case comparison and analysis method, system, device and storage medium, including: based on a market operation deduction business database, establishing a plurality of data sets according to the market operation deduction case comparison and analysis requirements; establishing a comparison and analysis template according to the data set to form a comparison and analysis template list; selecting a comparison and analysis template from the comparison and analysis template list according to the analysis requirements of different scenarios, performing data retrieval from the market operation deduction business database according to the data set corresponding to the selected comparison and analysis template, using the result of the data retrieval as the comparison and analysis result of the market operation deduction case, and completing the market operation deduction case comparison and analysis. The method, system, device and storage medium can realize the comparison and analysis of market operation deduction cases in different scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electric power market, and relates to a market operation deduction case comparison and analysis method, system, equipment and storage medium. Background Art

[0002] The operation of the power market is a long-term dynamic evolution process, which is jointly affected by multiple factors such as the grid structure, supply and demand situation, and external environment. It is difficult to predict the operation effect of the market through theoretical analysis alone. Therefore, it is necessary to deduce and verify the operation effect of the market through experimental simulation before the market is officially operated. In order to verify and analyze the market operation effect under a specific mode, it is necessary to store the results of each market operation simulation, and analyze the impact of specific market parameter changes on market operation results by comparing and analyzing the operation simulation results under various scenarios.

[0003] Common data comparison and analysis often develops comparison template configuration tools for specific data structures, and then defines comparison templates based on the template configuration tools according to the comparison and analysis requirements to achieve comparison and analysis of similar data in different scenarios. In this way, the comparison template configuration tool depends on the data structure. Once the data structure changes, the template configuration tool needs to be adjusted and maintained accordingly. At present, my country's power market reform is constantly advancing, and the market model and rules are in constant change and development. Therefore, the content and format of the case data of market operation simulation are also gradually changing. In order to adapt to these changes, the case comparison function of the market operation simulation system should not be subject to the data structure of the market operation simulation business, but should be implemented based on configuration means. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a market operation simulation case comparison and analysis method, system, device and storage medium, which can realize comparative analysis of market operation simulation cases in different scenarios.

[0005] In order to achieve the above object, the present invention adopts the following technical scheme:

[0006] In one aspect, the present invention provides a market operation deduction case comparison and analysis method, comprising:

[0007] According to the analysis requirements of the market operation deduction case, select a comparative analysis template from the comparative analysis template list, perform data retrieval in the market operation deduction business database based on the data set corresponding to the comparative analysis template, use the result of the data retrieval as the comparative analysis result of the market operation deduction case, and complete the comparative analysis of the market operation deduction case.

[0008] The market operation deduction case comparison and analysis method of the present invention is further improved in that:

[0009] Before selecting a comparative analysis template from a comparative analysis template list according to the analysis requirements of the market operation deduction case, the method further includes:

[0010] Establish a market operation simulation business database, determine the data items that need to be compared according to the market operation simulation case comparison and analysis requirements in different scenarios, and establish several data sets based on the subject dimension and cycle dimension of the data items;

[0011] Several comparative analysis templates are established according to each data set to form a comparative analysis template list.

[0012] After establishing a plurality of data sets based on the main dimension and the period dimension of the data item, the method further includes: saving basic information of the data sets and structural information of the data sets.

[0013] The basic information of the data set includes the name of the data set, the data extraction SQL statement and the subsequent input parameters contained in the SQL statement, wherein the structural information of the data set is extracted from the data extraction SQL statement.

[0014] After establishing several data sets based on the main dimension and cycle dimension of the data items, it also includes: executing the set SQL statement in the market operation simulation business database to search, judging whether there is a syntax error in the SQL statement and whether the search result meets expectations; when there is a syntax error in the set SQL statement or the search result does not meet expectations, modifying the data set until the syntax of the SQL statement is correct and the search result meets expectations.

[0015] The specific process of establishing several comparative analysis templates based on various data sets is as follows:

[0016] Determine the tables, graphs, pie charts and associated calculation relationships between the data that need to be displayed in the comparative analysis template to be established, and determine the data sources and screening conditions of the graphics and cells in the comparative analysis template to be established based on the data set to form a comparative analysis template.

[0017] The specific process of performing data retrieval in the market operation deduction business database based on the data set corresponding to the comparative analysis template is as follows:

[0018] Determine the corresponding data set according to the comparative analysis template, then pass the dynamic parameters into the sql statement of the data set, execute the sql statement in the market operation simulation business database, obtain the data retrieval results, and display the data retrieval results in a preset display method.

[0019] In a second aspect of the present invention, the present invention provides a market operation deduction case comparison and analysis system, comprising:

[0020] The comparative analysis module is used to select a comparative analysis template from the comparative analysis template list according to the analysis requirements of the market operation deduction case, perform data retrieval in the market operation deduction business database based on the data set corresponding to the comparative analysis template, and use the result of the data retrieval as the comparative analysis result of the market operation deduction case to complete the comparative analysis of the market operation deduction case.

[0021] In a third aspect of the present invention, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the market operation simulation case comparison and analysis method when executing the computer program.

[0022] In a fourth aspect of the present invention, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the market operation simulation case comparison and analysis method are implemented.

[0023] The present invention has the following beneficial effects:

[0024] The market operation deduction case comparison and analysis method, system, device and storage medium described in the present invention introduce a data set during specific operation, flexibly configure and dynamically query the comparison and analysis template based on the structure of the data set, and then retrieve data from the market operation deduction business database to achieve comparison and analysis of market operation deduction cases in different scenarios, thereby avoiding the dependence of the case comparison and analysis implementation process on business data results. The operation is convenient, simple and highly practical.

[0025] Furthermore, by judging whether there are syntax errors in the SQL statement and whether the search results meet expectations, the setting of the data set is made more accurate and effective. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0027] Figure 1 is a flow chart of the method of the present invention;

[0028] Figure 2 This is a schematic diagram of the interface for the data set definition function in Example 1;

[0029] Figure 3 This is a schematic diagram of the interface of the data set test function in Example 1;

[0030] Figure 4 A schematic diagram of the interface for defining functions for cell data in a comparative analysis template;

[0031] Figure 5 A schematic diagram of the interface for the curve definition function in the comparative analysis template;

[0032] Figure 6 Schematic diagram of the interface for data comparison and analysis in Example 1;

[0033] Figure 7 It is a system structure diagram of the present invention.

[0034] Among them, 1 is the establishment module, 2 is the drawing module, and 3 is the comparison and analysis module. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

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

[0037] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0038] Embodiment 1

[0039] refer to Figure 1 The market operation deduction case comparison and analysis method of the present invention comprises the following steps:

[0040] 1) Based on the market operation simulation business database, several data sets are established according to the market operation simulation case comparison and analysis requirements;

[0041] The specific process of establishing several data sets based on the market operation deduction case comparison and analysis needs is as follows:

[0042] 11) Define the data set;

[0043] The data set is the data basis for comparative analysis of market operation deduction cases. In specific operations, the data items that need to be compared are first determined according to the comparative analysis requirements of market operation deduction cases in different scenarios, and then the data set and the structural information of the data set are determined based on the main dimensions and periodic dimensions of the data items. Then, the data extraction method of the data set is set based on the data set and the structural information of the data set, wherein the source and extraction method of the data in the data set are determined based on the configuration function of the data set. The data set configuration function can configure the connection parameters of the market operation deduction business database and connect to the market operation deduction business database, and retrieve the required data from the data table of the market operation deduction business database through SQL statements to form a data structure corresponding to the data set.

[0044] Since it is necessary to conduct market operation simulation data comparison and analysis of multiple scenarios, the scenario ID of the market operation simulation and the corresponding time range of the simulation need to be set as indefinite parameters when defining the data set. Only when the comparison and analysis screen is displayed can the specific parameter value be selected through the interface to form a complete search condition for the data set for dynamic data retrieval. Therefore, the configuration function of the data set processes the parameters that need to be passed in afterwards. When the parameters need to be used for search and filtering in the SQL statement, the #*# parameter name#*# method is used to replace it. Therefore, before the case comparison analysis needs to execute the SQL statement, the special characters #*# are used to filter out special parameters, and the parameter values ​​obtained from the interface are replaced to form an executable SQL statement, and then the SQL statement is executed.

[0045] 12) Save the data set;

[0046] The basic information of the data set and the structural information of the data set are saved, wherein the basic information of the data set includes the name of the data set, the data extraction SQL statement and the subsequent input parameters contained in the SQL statement. The structural information is extracted from the data extraction SQL statement, that is, the names of the fields corresponding to the query results of the SQL statement.

[0047] 13) Test the data set;

[0048] In order to meet the needs of market operation deduction data comparison and analysis, the definition of some data sets may be more complex. In order to avoid syntax errors or logical errors in the SQL statements defined in the data sets leading to errors in the comparison and analysis results, the data sets need to be tested. The specific process is as follows:

[0049] Execute the set SQL statement to search the market operation simulation business database, obtain the search results, verify whether there are syntax errors in the set SQL statement and whether the search results meet expectations. When there are syntax errors in the set SQL statement or the search results do not meet expectations, modify the data set until the syntax of the set SQL statement is correct and the search results meet expectations.

[0050] Since there may be parameters passed in afterwards in the definition of the data set, when testing the data set, before setting the SQL statement, special parameters are first filtered out according to the #*# special characters, a pop-up box is displayed to prompt for dynamic parameter values, and the dynamic parameter values ​​are replaced in the SQL statement before executing the SQL statement.

[0051] 2) Establishing a comparative analysis template according to the data set to form a comparative analysis template list;

[0052] The specific operations of step 2) are:

[0053] 21) Setting the format of the comparison analysis template;

[0054] The format of the comparison analysis template is set based on the comparison analysis template configuration function, that is, a new empty template is created in the comparison analysis template configuration function, and then the tables, curve graphs, pie charts and the associated calculation relationships between the data to be displayed in the empty template are set. At the same time, the Excel or CSV templates to be displayed can also be defined in advance based on Excel, and then the Excel or CSV templates can be imported into the empty template through the comparison analysis template configuration function.

[0055] 22) Setting data for comparison analysis template;

[0056] The internal settings of the template data are based on the data set. Specifically, for the data of a single cell, first select the data set to be defined from the data set list, and then use the template configuration function to automatically load the various data attributes of the data set according to the definition information of the data set, and then select a data attribute to display. At the same time, the template configuration function supports processing operations on the original data taken from the data set, such as multiplying by the set coefficient, summing, averaging and extreme values ​​of series values, etc.

[0057] For graphs such as curves and pie charts, data definition also requires first determining the corresponding data set. Since the graph may involve the display of multiple series of data, it is necessary to set the data classification items for curve drawing and the data attributes required for graph drawing and set the data processing and calculation method. The definition of graphic data can also be based on multiple cells, similar to the image definition in Excel, which only requires setting the data series division and the cells corresponding to the data values.

[0058] When defining the comparison analysis template, it is necessary to process the dynamically passed parameters in the data set definition. The values ​​of the dynamically passed parameters can be fixed in the template, or they can be set to be dynamically acquired in the interface. When setting the parameters to be dynamically acquired, the data source of the parameters needs to be further defined. For example, the deduction case comes from the case record table, and the unit name comes from the unit definition table. The definition information of these dynamically passed parameters will be recorded in the template definition information together with the comparison analysis template. Therefore, on the comparison analysis browsing interface based on the template, the corresponding dynamic parameter input or selection box can be automatically loaded according to the required dynamically passed parameter information record.

[0059] The present invention compares and analyzes data from different market operation scenarios. Case_id is a dynamic input parameter that is required for case data comparison and analysis. Therefore, case_id is treated as a special variable in the function design. The case name in the case information table is used as an alternative by default, and the selection of two cases is supported at the same time to form a comparative analysis between the two cases.

[0060] 3) Select a comparative analysis template from the comparative analysis template list according to the analysis requirements of different scenarios, use the data set corresponding to the selected comparative analysis template to perform data retrieval from the market operation deduction business database, use the result of the data retrieval as the comparative analysis result of the market operation deduction case, and complete the comparative analysis of the market operation deduction case;

[0061] The specific operation process of step 3) is:

[0062] 31) Loading of comparison analysis template;

[0063] When conducting data comparison and analysis of multi-scenario market operation simulations, first load the defined comparison and analysis template to the comparison and analysis interface. When opening the data comparison and analysis display interface, select the comparison and analysis template to be loaded from the list of defined comparison and analysis templates, and load the comparison and analysis template into the current interface. When loading, in addition to loading the format and data definition of the comparison and analysis template, it is also necessary to load multiple case selection input boxes according to the default settings to conduct data comparison and analysis of different cases, and generate a dynamic parameter input or selection box according to the dynamic parameter definition of the comparison and analysis template. Initialize the optional range of the dynamic parameter according to the data source defined by the dynamic parameter and the screening parameter, such as the names of all units and power generation types in the system, to facilitate the setting of dynamic parameters during comparison and analysis.

[0064] 32) Comparative analysis;

[0065] Determine the data set to be loaded based on the data content defined in the comparison and analysis template, pass the dynamic parameters obtained from the interface into the sql statement of the data set, and then execute the sql statement in the market operation and deduction business database to retrieve the data of the data set, and then perform parameter multiplication, summation, averaging and other pre-processing on the data according to the display data items defined in the comparison and analysis template. When the data retrieval result is not unique, insert a row after the current data grid to display all retrieval results. If the retrieval result is a curve, it is necessary to draw the curve according to the series and style defined in the comparison and analysis template.

[0066] 33) Result export

[0067] Based on the data retrieved from the data comparison and analysis interface, the retrieved data is exported to the local file system in the form of an Excel file.

[0068] Embodiment 2

[0069] This embodiment needs to analyze the market bidding situation of thermal power generating units, so the bidding power and clearing power price data of thermal power generating units in the market operation simulation cases corresponding to different scenarios are compared and analyzed. The specific implementation steps are as follows:

[0070] 1) Dataset definition

[0071] Assume that the unit registration table and the unit bidding result storage table structure are as shown in Table 1 and Table 2:

[0072] Table 1

[0073]

[0074] Table 2

[0075]

[0076] First, you need to define a dataset based on the dataset definition function. The data extraction logic corresponding to the dataset is:

[0077] Selectu_r.unit_caption,u_r.rated_cap,u_c.Data_time,u_c.clear_output,u_c.clear_price from Unit_clear_resultu_c,sta_unit_regu_r where u_c.unit_tagphy=u_r.unit_tagphy and u_r.Gn_type='#*#gn_type#*#'and u_r.case_id='#*#case_id#*#'and u_c.data_time>=to_date('#*#start_time#*#','yyyyMMdd_hh24miss')and u_c.data_time<=to_date('#*#end_time#*#','yyyyMMdd_hh24miss').

[0078] According to the above extraction logic, the structure of the data set is shown in Table 3:

[0079] Table 3

[0080]

[0081] The definition screen of the dataset unit_clear_result_gntype is as follows Figure 2 As shown, to confirm whether the definition is correct, use the data set test function to check whether the data results are correct. From the data extraction logic defined in the data set, it can be seen that the parameters that need to be dynamically passed in in the data set include case_id, gn_type, start_time and end_time. Enter the corresponding dynamic parameters in the test screen, and then click the query button to view the retrieval results of the data set for confirmation.

[0082] 2) Data template definition

[0083] The winning results of thermal power units under different simulation scenarios are displayed through tables and line graphs. A comparison analysis template named "Comparison analysis of winning results of thermal power units" is defined, and then the comparison analysis template is defined based on the "unit_clear_result_gntype" data, such as Figure 3 , Figure 4 and Figure 5As shown, the data sets, data items and processing methods of each cell in the comparison analysis template and each data series on the curve are defined, wherein the definition of each cell in the comparison analysis template is mainly used to define the source data set, data items and processing methods of the data, and the curve definition also defines the classification data items of the curve and the data items corresponding to each series.

[0084] For data sets with dynamic input parameters, additional settings need to be made for the dynamic input parameters. Since the comparison and analysis is of the winning bid results of thermal power units, in the definition of the comparison and analysis template, gn_type can be directly set to the fixed value "thermal power". Since start_time, end_time and case_id need to be compared for the operation results of different times and scenarios, they need to be passed in through the interface in the comparison and analysis browsing screen. Among them, start_time and end_time are time parameters, and case_id is set as a special parameter, so there is no need to define the data source. When the comparison and analysis template is saved, the setting information of the dynamic input parameters will be associated and saved.

[0085] 3) Data comparison and analysis

[0086] Open the comparison analysis browsing interface, select the comparison analysis template that defines "Comparison analysis of winning bid results of units" from the multiple comparison analysis templates that have been defined, load the comparison analysis template into the interface, and set the corresponding dynamic parameter input controls according to the dynamic input parameter configuration corresponding to the data set selected in the comparison analysis template, such as Figure 6 shown.

[0087] Since comparative analysis is performed on data from different market operation scenarios, case_id is treated as a special variable. By default, the case name in the case information table is used as an alternative, and the selection of two cases is supported at the same time to form a comparative analysis between the two cases.

[0088] Embodiment 3

[0089] refer to Figure 7 The market operation deduction case comparison and analysis system of the present invention includes:

[0090] Establishing module 1, which is used to establish several data sets based on the market operation deduction business database and the market operation deduction case comparison and analysis requirements;

[0091] A drawing module 2 is used to establish a comparative analysis template according to the data set to form a comparative analysis template list;

[0092] The comparative analysis module 3 is used to select a comparative analysis template from the comparative analysis template list according to the market operation simulation case to be compared and analyzed, use the data set corresponding to the selected comparative analysis template to perform data retrieval from the market operation simulation business database, and use the result of the data retrieval as the comparative analysis result of the market operation simulation case to complete the comparative analysis of the market operation simulation case.

[0093] Embodiment 4

[0094] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the market operation deduction case comparison and analysis method are implemented. The memory may include a memory, such as a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk memory, etc. The processor, the network interface, and the memory are interconnected through an internal bus. The internal bus may be an industrial standard architecture bus, a peripheral component interconnection standard bus, an extended industrial standard structure bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory is used to store programs. Specifically, the program may include a program code, and the program code includes computer operation instructions. The memory may include a memory and a non-volatile memory, and provide instructions and data to the processor.

[0095] Embodiment 5

[0096] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the market operation deduction case comparison and analysis method are implemented. Specifically, the computer-readable storage medium includes, but is not limited to, for example, a volatile memory and / or a non-volatile memory. The volatile memory may include a random access memory (RAM) and / or a cache memory, etc. The non-volatile memory may include a read-only memory (ROM), a hard disk, a flash memory, an optical disk, a magnetic disk, etc.

[0097] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0098] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0099] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0100] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0101] 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, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A market operation deduction case comparison and analysis method, characterized in that: include: According to the analysis requirements of the market operation deduction case, a comparative analysis template is selected from the comparative analysis template list, and data is searched in the market operation deduction business database based on the data set corresponding to the comparative analysis template. The result of the data search is used as the comparative analysis result of the market operation deduction case to complete the comparative analysis of the market operation deduction case; Before selecting a comparative analysis template from a comparative analysis template list according to the analysis requirements of the market operation deduction case, the method further includes: Establish a market operation simulation business database, determine the data items that need to be compared according to the market operation simulation case comparison and analysis requirements in different scenarios, and establish several data sets based on the subject dimension and cycle dimension of the data items; Establish several comparative analysis templates according to each data set to form a comparative analysis template list; After establishing a plurality of data sets based on the subject dimension and the period dimension of the data item, the method further includes: Execute the set SQL statement in the market operation simulation business database to search, determine whether there are syntax errors in the SQL statement and whether the search results meet expectations. When there are syntax errors in the set SQL statement or the search results do not meet expectations, modify the data set until the syntax of the SQL statement is correct and the search results meet expectations.

2. The market operation deduction case comparison and analysis method according to claim 1 is characterized in that: After establishing a plurality of data sets based on the main dimension and the period dimension of the data item, the method further includes: saving basic information of the data sets and structural information of the data sets.

3. The market operation deduction case comparison and analysis method according to claim 2 is characterized in that: The basic information of the data set includes the name of the data set, the data extraction SQL statement and the subsequent input parameters contained in the SQL statement, wherein the structural information of the data set is extracted from the data extraction SQL statement.

4. The market operation deduction case comparison and analysis method according to claim 1 is characterized in that: The specific process of establishing several comparative analysis templates based on various data sets is as follows: Determine the tables, graphs, pie charts and associated calculation relationships between the data that need to be displayed in the comparative analysis template to be established, and determine the data sources and screening conditions of the graphics and cells in the comparative analysis template to be established based on the data set to form a comparative analysis template.

5. The market operation deduction case comparison and analysis method according to claim 1 is characterized in that: The specific process of performing data retrieval in the market operation deduction business database based on the data set corresponding to the comparative analysis template is as follows: Determine the corresponding data set according to the comparative analysis template, then pass the dynamic parameters into the sql statement of the data set, execute the sql statement in the market operation simulation business database, obtain the data retrieval results, and display the data retrieval results in a preset display method.

6. A market operation deduction case comparison and analysis system, characterized in that: include: A comparative analysis module (3) is used to select a comparative analysis template from the comparative analysis template list according to the analysis requirements of the market operation deduction case, perform data retrieval in the market operation deduction business database based on the data set corresponding to the comparative analysis template, use the result of the data retrieval as the comparative analysis result of the market operation deduction case, and complete the comparative analysis of the market operation deduction case; Before selecting a comparative analysis template from a comparative analysis template list according to the analysis requirements of the market operation deduction case, the method further includes: Establish a market operation simulation business database, determine the data items that need to be compared according to the market operation simulation case comparison and analysis requirements in different scenarios, and establish several data sets based on the subject dimension and cycle dimension of the data items; Establish several comparative analysis templates according to each data set to form a comparative analysis template list; After establishing a plurality of data sets based on the subject dimension and the period dimension of the data item, the method further includes: Execute the set SQL statement in the market operation simulation business database to search, determine whether there are syntax errors in the SQL statement and whether the search results meet expectations. When there are syntax errors in the set SQL statement or the search results do not meet expectations, modify the data set until the syntax of the SQL statement is correct and the search results meet expectations.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the market operation simulation case comparison and analysis method as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the market operation simulation case comparison and analysis method as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Job analytic system

    JP2000285128A