[go: up one dir, main page]

CN115113862A - A method, device, electronic device and storage medium for creating a derived index - Google Patents

A method, device, electronic device and storage medium for creating a derived index Download PDF

Info

Publication number
CN115113862A
CN115113862A CN202210753919.2A CN202210753919A CN115113862A CN 115113862 A CN115113862 A CN 115113862A CN 202210753919 A CN202210753919 A CN 202210753919A CN 115113862 A CN115113862 A CN 115113862A
Authority
CN
China
Prior art keywords
indicator
derived
configuration
index
creation interface
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.)
Pending
Application number
CN202210753919.2A
Other languages
Chinese (zh)
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210753919.2A priority Critical patent/CN115113862A/en
Publication of CN115113862A publication Critical patent/CN115113862A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for creating a derived index, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to a derivative index creating instruction sent by a client, and displaying an index creating interface, wherein the index creating interface displays an index calculation logic configuration area, an index basic information setting area and a plurality of visual program controls; responding to an index configuration operation acted on the index creation interface, and determining the configuration of the derived index, wherein the index configuration operation at least comprises a logic operation setting operation of a visual program control selected in the index calculation logic configuration area and a basic information setting operation performed in the index basic information setting area; and in response to a saving operation acting on the index creation interface, saving the configuration of the derived index to generate a derived index. The invention solves the problems that the current index has poor flexibility and is difficult to flexibly process more complex index data statistical logic.

Description

一种派生指标创建方法、装置、电子设备及存储介质A method, device, electronic device and storage medium for creating a derived index

技术领域technical field

本发明涉及数据处理技术领域,具体涉及一种派生指标创建方法、装置、电子设备及存储介质。The invention relates to the technical field of data processing, in particular to a method, device, electronic device and storage medium for creating a derived index.

背景技术Background technique

目前基于数据统计的逻辑通常是通过系统预设的规则进行点选,其中的各个指标通常是系统默认统计,一般指标主要分为两个大的类型,包括数值型和计数型,其中数值型,即通过业务逻辑直接计算得到的金额、数量等,计数型又分为唯一计数和不唯一计数,是通过对某个字段里的码值进行计数得到,传统指标功能较为单一,灵活性较差,难以灵活的处理更为复杂的指标数据统计逻辑,当需要应用到复杂的指标数据统计逻辑中时,需要专业的人员进行程序设计,不方便使用,而且对专业要求较高。At present, the logic based on data statistics is usually selected through the rules preset by the system. Each indicator is usually the default statistics of the system. Generally, indicators are mainly divided into two major types, including numerical type and count type. Among them, numerical type, That is, the amount, quantity, etc. directly calculated by business logic. The count type is divided into unique count and non-unique count. It is obtained by counting the code value in a certain field. The traditional indicator function is relatively simple and the flexibility is poor. It is difficult to flexibly handle more complex indicator data statistical logic. When it needs to be applied to complex indicator data statistical logic, professional personnel are required to carry out program design, which is inconvenient to use, and has high professional requirements.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于克服上述技术不足,提供一种派生指标创建方法、装置、电子设备及存储介质,解决现有技术中指标灵活性差、难以灵活处理更为复杂的指标数据统计逻辑的技术问题。The purpose of the present invention is to overcome the above technical deficiencies, and to provide a method, device, electronic device and storage medium for creating a derived index, so as to solve the technical problem of poor index flexibility and difficulty in flexibly handling more complex index data statistical logic in the prior art.

为达到上述技术目的,本发明采取了以下技术方案:In order to achieve the above-mentioned technical purpose, the present invention has adopted the following technical solutions:

第一方面,本发明提供一种派生指标创建方法,包括:In a first aspect, the present invention provides a method for creating a derived index, including:

响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件;In response to the derived indicator creation instruction sent by the client, an indicator creation interface is displayed, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls;

响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作;In response to an indicator configuration operation acting on the indicator creation interface, the configuration of the derived indicator is determined, wherein the indicator configuration operation at least includes the logic operation setting of the visual program control selected in the indicator calculation logic configuration area operations and basic information setting operations performed in the indicator basic information setting area;

响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。In response to a save operation acting on the indicator creation interface, the configuration of the derived indicator is saved to generate a derived indicator.

在一些实施例中,所述逻辑运算设置操作包括选取操作和拖拽操作,所述响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,包括:In some embodiments, the logical operation setting operation includes a selection operation and a dragging operation, and the determining the configuration of the derived indicator in response to an indicator configuration operation acting on the indicator creation interface includes:

基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件;Based on the selection operation acting on the indicator creation interface, the visualization program control selected by the user is displayed in the indicator calculation logic configuration area;

基于作用于指标创建界面上的拖拽操作,对所述选取的可视化程序控件进行组合,以实现派生指标的逻辑运算配置;Based on the drag-and-drop operation acting on the indicator creation interface, the selected visual program controls are combined to realize the logical operation configuration of the derived indicator;

基于作用于所述指标基本信息设置区域的基本信息设置操作,对所述派生指标的基本信息进行配置。The basic information of the derived indicator is configured based on the basic information setting operation acting on the indicator basic information setting area.

在一些实施例中,所述可视化程序控件至少包括原子指标类型可视化程序控件、函数类型可视化程序控件以及运算符类型可视化程序控件。In some embodiments, the visualizer controls include at least an atomic indicator type visualizer control, a function type visualizer control, and an operator type visualizer control.

在一些实施例中,所述基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件,包括:In some embodiments, the visualization program controls selected by the user are displayed in the indicator calculation logic configuration area based on the selection operation acting on the indicator creation interface, including:

基于作用于指标创建界面上的选取操作,选取若干个原子指标类型可视化程序控件后,展示于所述指标计算逻辑配置区域中;以及Based on the selection operation acting on the indicator creation interface, after selecting a number of atomic indicator type visualization program controls, they are displayed in the indicator calculation logic configuration area; and

基于作用于指标创建界面上的选取操作,选取若干个函数类型可视化程序控件对选取的函数类型可视化程序控件进行参数配置后,展示于所述指标计算逻辑配置区域中;和/或Based on the selection operation acting on the indicator creation interface, select several function type visualization program controls to perform parameter configuration on the selected function type visualization program controls, and then display them in the indicator calculation logic configuration area; and/or

基于作用于指标创建界面上的选取操作,选取若干个运算符类型可视化程序控件后,展示于所述指标计算逻辑配置区域中。Based on the selection operations acting on the indicator creation interface, after selecting several operator type visualization program controls, they are displayed in the indicator calculation logic configuration area.

在一些实施例中,所述响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标,包括:In some embodiments, in response to a save operation acting on the indicator creation interface, saving the configuration of the derived indicator to generate the derived indicator includes:

响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验;In response to the saving operation acting on the indicator creation interface, verifying the configuration of the derived indicator;

当所述派生指标的配置校验通过时,将所述派生指标的配置保存,以生成派生指标,否则,生成配置失败信息并显示于所述指标创建界面上。When the configuration verification of the derived indicator passes, the configuration of the derived indicator is saved to generate a derived indicator, otherwise, configuration failure information is generated and displayed on the indicator creation interface.

在一些实施例中,所述响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验,包括:In some embodiments, the verifying the configuration of the derived indicator in response to the saving operation acting on the indicator creation interface includes:

响应于作用于所述指标创建界面上的保存操作,采用预设的指标校验控件对所述派生指标的配置进行校验,其中,所述指标校验控件配置有指标校验规则,所述指标检验规则用于进行所述派生指标的配置的逻辑运算校验。In response to the saving operation acting on the indicator creation interface, a preset indicator verification control is used to verify the configuration of the derived indicator, wherein the indicator verification control is configured with indicator verification rules, and the The index verification rule is used to perform logical operation verification of the configuration of the derived index.

在一些实施例中,所述响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标之后,还包括:In some embodiments, in response to the saving operation acting on the indicator creation interface, after saving the configuration of the derived indicator to generate the derived indicator, the method further includes:

根据所述派生指标对应的元数据,生成与所述派生指标对应的索引信息。According to the metadata corresponding to the derived index, index information corresponding to the derived index is generated.

第二方面,本发明还提供一种派生指标创建装置,包括:In a second aspect, the present invention also provides a device for creating a derived index, including:

界面展示模块,用于响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件;an interface display module, configured to display an indicator creation interface in response to a derived indicator creation instruction sent by the client, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls;

指标配置模块,用于响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作;an indicator configuration module, configured to determine the configuration of the derived indicator in response to an indicator configuration operation acting on the indicator creation interface, wherein the indicator configuration operation at least includes visualization of selection in the indicator calculation logic configuration area The logic operation setting operation of the program control and the basic information setting operation performed in the basic information setting area of the indicator;

指标生成模块,用于响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。The indicator generation module is configured to save the configuration of the derived indicator in response to the saving operation acting on the indicator creation interface, so as to generate the derived indicator.

第三方面,本发明还提供一种电子设备,包括:处理器和存储器;In a third aspect, the present invention also provides an electronic device, comprising: a processor and a memory;

所述存储器上存储有可被所述处理器执行的计算机程序;a computer program executable by the processor is stored on the memory;

所述处理器执行所述计算机程序时实现如上所述的派生指标创建方法中的步骤。When the processor executes the computer program, the steps in the above-described method for creating a derived indicator are implemented.

第四方面,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上所述的派生指标创建方法中的步骤。In a fourth aspect, the present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to achieve Steps in the method of creating the derived indicator as described above.

本发明提供的派生指标创建方法、装置、电子设备及存储介质,通过向用户提供具有多种可视化程序控件的指标创建界面,使用户可在指标创建界面上操作,利用可视化程序控件来对自己所需的派生指标进行逻辑运算配置和基本信息配置,操作简单,开发周期短,提高了派生指标的开发效率以及创建的易用性,而且使得派生指标的灵活性更强,能够灵活处理更为复杂的指标数据统计逻辑,利用效率更高,而且让业务方可以减少对数据开发的依赖。The method, device, electronic device and storage medium for creating a derived indicator provided by the present invention provide the user with an indicator creating interface with various visual program controls, so that the user can operate on the indicator creating interface, and use the visual program controls to perform operations on their own Logical operation configuration and basic information configuration of the required derived indicators, simple operation, short development cycle, improved development efficiency and ease of creation of derived indicators, and more flexible derived indicators, which can flexibly handle more complex The statistical logic of indicator data is more efficient and allows business parties to reduce their dependence on data development.

附图说明Description of drawings

图1是本发明提供的派生指标创建平台的一实施例的系统架构图;1 is a system architecture diagram of an embodiment of a derived index creation platform provided by the present invention;

图2是本发明提供的派生指标创建方法的一实施例的流程图;2 is a flowchart of an embodiment of a method for creating a derived index provided by the present invention;

图3是本发明提供的派生指标创建方法中,步骤S200的一实施例的流程图;3 is a flowchart of an embodiment of step S200 in the method for creating a derived index provided by the present invention;

图4是本发明提供的派生指标创建方法中,步骤S300的一实施例的流程图;4 is a flowchart of an embodiment of step S300 in the method for creating a derived index provided by the present invention;

图5是本发明提供的派生指标创建装置的功能模块示意图;Fig. 5 is the functional module schematic diagram of the derived index creation device provided by the present invention;

图6是本发明提供的电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of the hardware structure of the electronic device provided by the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本发明实施例的技术方案可以应用于IT技术领域、人力资源服务领域、供应链领域、金融领域等领域中需要执行大量重复且固定的操作的场景中,通过指标创建界面向上述领域中的用户提供具备不同功能的多个可视化程序控件,用户可以根据具体的需求在指标创建界面上选择具备相应功能的可视化程序控件,根据用户对可视化程序控件的设置和组合即可为用户创建适应用户需求的用于执行大量重复且固定的指标数据统计逻辑的派生指标,不需要用户掌握太多的开发知识即可完成对派生指标的创建,缩短了派生指标的开发周期和开发难度,使用户能够快速开发出想要开发的派生指标,而且用户可根据需求,创建出灵活性强、可以灵活处理复杂的指标数据统计逻辑的派生指标。The technical solutions of the embodiments of the present invention can be applied to scenarios in which a large number of repetitive and fixed operations need to be performed in the fields of IT technology, human resources service, supply chain, and finance. Provides multiple visual program controls with different functions. Users can select a visual program control with corresponding functions on the indicator creation interface according to specific needs. Derivative indicators used to execute a large number of repetitive and fixed indicator data statistical logic, the creation of derived indicators can be completed without the need for users to master too much development knowledge, which shortens the development cycle and development difficulty of derived indicators, and enables users to develop quickly. Users can create derived indicators that they want to develop, and users can create derived indicators that are highly flexible and can flexibly handle complex statistical logic of indicator data according to their needs.

参见图1,图1是本发明实施例提供的一种派生指标创建平台的系统架构的示意图,如图所示,派生指标创建平台可包括派生指标创建服务器101和显示终端102,其中,派生指标创建服务器101为该派生指标创建平台的“后端设备”,派生指标创建服务器101可以有一个或多个,其可以用于给显示终端102提供支持和服务。派生指标创建服务器101中保存有多个具备不同功能的应用程序控件,这多个具备不同功能的应用程序控件可以以可视化的形式在显示终端102中显示。显示终端102为该派生指标创建平台的“前端设备”,其可以用于向用户显示指标创建界面。显示终端102可以与用户交互,获取用户在可指标创建界面上的用户操作,并将用户操作以直接或间接的方式反馈给派生指标创建服务器101。具体地,显示终端102可以为手机、电脑、平板电脑等设备。派生指标创建平台可以为客户端/服务器(client/server,C/S)架构的平台,此时,显示终端102为安装该派生指标创建平台对应的客户端。派生指标创建平台也可以为浏览器/服务器(browser/server,B/S)架构的平台,此时,显示终端102为安装有可以浏览该派生指标创建平台的浏览器。Referring to FIG. 1, FIG. 1 is a schematic diagram of a system architecture of a derived indicator creation platform provided by an embodiment of the present invention. As shown in the figure, the derived indicator creation platform may include a derived indicator creation server 101 and a display terminal 102, wherein the derived indicator The creation server 101 creates a “back-end device” of the platform for the derived indicator, and there may be one or more derived indicator creation servers 101 , which may be used to provide support and services to the display terminal 102 . The derived index creation server 101 stores multiple application controls with different functions, and the multiple application controls with different functions can be displayed on the display terminal 102 in a visual form. The display terminal 102 is the "front-end device" of the derived indicator creation platform, which can be used to display the indicator creation interface to the user. The display terminal 102 can interact with the user, obtain the user's user operation on the indexable index creation interface, and feed back the user operation to the derived index creation server 101 in a direct or indirect manner. Specifically, the display terminal 102 may be a mobile phone, a computer, a tablet computer or the like. The derived indicator creation platform may be a client/server (client/server, C/S) architecture platform. In this case, the display terminal 102 is to install a client corresponding to the derived indicator creation platform. The derived indicator creation platform may also be a browser/server (browser/server, B/S) architecture platform. In this case, the display terminal 102 is a browser installed with which the derived indicator creation platform can be browsed.

请参阅图2,图2是发明实施例提供的一种派生指标创建方法的流程示意图,该方法可以实现在上述图1所示的派生指标创建服务器上,如图所示,该方法包括步骤S100至步骤S300。Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for creating a derived indicator according to an embodiment of the invention. The method can be implemented on the server for creating a derived indicator shown in FIG. 1. As shown in the figure, the method includes step S100. Go to step S300.

S100、响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件。S100. In response to the derived indicator creation instruction sent by the client, display an indicator creation interface, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls.

本实施例中,所述派生指标创建指令用于创建派生指标,派生指标是在原子指标上进行加减乘除或者修饰词的限定而得到的指标。派生指标可应用于需要进行指标数据统计逻辑计算的场合,例如IT技术、人力资源服务、供应链、金融等等。In this embodiment, the derived index creation instruction is used to create a derived index, and the derived index is an index obtained by performing addition, subtraction, multiplication and division on the atomic index or the limitation of modifiers. Derived indicators can be applied to situations that require statistical and logical calculation of indicator data, such as IT technology, human resource services, supply chain, finance, and so on.

客户端用于根据服务器的控制提供一可视化的界面,服务端根据可视化的界面上接收到的内容实现派生指标创建。其中,客户端可以为一显示终端,可提供一登录界面,用户通过自己的账号等登录信息登录成功后,通过客户端向服务器发送派生指标创建指令,该派生指标创建指令可以包括用于请求打开指标创建界面的指令,服务器响应于该指令,在客户端展示该指标创建界面。The client is used to provide a visual interface according to the control of the server, and the server realizes the creation of derived indicators according to the content received on the visual interface. The client can be a display terminal, which can provide a login interface. After the user successfully logs in through his own account and other login information, the client sends a derived indicator creation instruction to the server. The derived indicator creation instruction may include a request to open the The command of the indicator creation interface, the server responds to the command and displays the indicator creation interface on the client side.

指标创建界面具有指标计算逻辑配置区域以及指标基本信息设置区域,其中,指标计算逻辑配置区域用于供用户进行派生指标的计算逻辑配置,例如对区域内的原子指标以及运算符进行组合,以生成一运算逻辑,该运算逻辑可以进行逻辑计算,指标基本信息设置区域用于设置派生指标的基本信息,例如指标口径、指标类似、所述业务条线等基本信息。另外,指标创建界面显示着多个可视化程序控件,用户点击或选择其中一个可视化程序控件后,指标创建界面还可以显示该可视化程序控件能够提供的各个功能对应的子程序控件,例如子程序控件为转到可视化程序控件的参数配置页面的操作的子程序控件。The indicator creation interface has an indicator calculation logic configuration area and an indicator basic information setting area. The indicator calculation logic configuration area is used for users to configure the calculation logic of derived indicators, such as combining atomic indicators and operators in the area to generate An operation logic, the operation logic can perform logical calculation, and the basic information setting area of the indicator is used to set the basic information of the derived indicator, such as basic information such as indicator caliber, indicator similarity, and the business line. In addition, the indicator creation interface displays multiple visualization program controls. After the user clicks or selects one of the visualization program controls, the indicator creation interface can also display subprogram controls corresponding to each function that the visualization program control can provide. For example, the subprogram control is Go to the action subroutine control of the parameter configuration page of the visualizer control.

S200、响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作。S200. In response to an indicator configuration operation acting on the indicator creation interface, determine the configuration of the derived indicator, wherein the indicator configuration operation at least includes the logic of the visualization program control selected in the indicator calculation logic configuration area The operation setting operation and the basic information setting operation performed in the indicator basic information setting area.

本实施例中,用户在指标创建界面上的指标配置操作可以为用户通过鼠标、键盘等间接作用于指标创建界面上的操作;用户在指标创建界面上的指标配置操作也可以为用户通过手指、触屏笔等直接作用于指标创建界面上的操作。指标配置操作可包括用户选取指标创建界面上的可视化程序控件的操作、在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作。In this embodiment, the user's indicator configuration operation on the indicator creation interface may be an operation that the user indirectly acts on the indicator creation interface through a mouse, a keyboard, etc.; the user's indicator configuration operation on the indicator creation interface may also be performed by the user through fingers, The touch screen pen directly acts on the operations on the indicator creation interface. The indicator configuration operation may include an operation by the user to select a visual program control on the indicator creation interface, a logical operation setting operation of the visual program control selected in the indicator calculation logic configuration area, and basic information in the indicator basic information setting area. Set the action.

S300、响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。S300. In response to the save operation acting on the indicator creation interface, save the configuration of the derived indicator to generate a derived indicator.

本实施例中,用户在指标创建界面上保存操作指用户对派生指标配置完成后,在指标创建界面上对派生指标的配置进行保存的操作。示例性的,在指标创建界面上具有一“保存”按钮,当用户配置完成后,点击所述“保存”按钮,即可实现派生指标配置的保存,从而生成所需的派生指标。In this embodiment, the user's saving operation on the indicator creation interface refers to the operation of saving the configuration of the derived indicator on the indicator creation interface after the user completes the configuration of the derived indicator. Exemplarily, there is a "save" button on the indicator creation interface. After the user's configuration is completed, click the "save" button to save the configuration of the derived indicator, thereby generating the desired derived indicator.

本发明实施例通过向用户提供具有多种可视化程序控件的指标创建界面,使用户可在指标创建界面上操作,利用可视化程序控件来对自己所需的派生指标进行逻辑运算配置和基本信息配置,操作简单,开发周期短,提高了派生指标的开发效率以及创建的易用性,而且使得派生指标的灵活性更强,能够灵活处理更为复杂的指标数据统计逻辑,利用效率更高,而且让业务方可以减少对数据开发的依赖。The embodiment of the present invention provides the user with an index creation interface with multiple visual program controls, so that the user can operate on the index creation interface, and use the visualized program control to perform logical operation configuration and basic information configuration for the derived index required by himself, The operation is simple and the development cycle is short, which improves the development efficiency and ease of use of derived indicators, and makes the derived indicators more flexible, able to flexibly handle more complex indicator data statistical logic, higher utilization efficiency, and make the derived indicators more flexible. Business parties can reduce their reliance on data development.

在一些实施例中,请参阅图3,所述逻辑运算设置操作包括选取操作和拖拽操作,所述响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,包括:In some embodiments, referring to FIG. 3 , the logical operation setting operation includes a selection operation and a dragging operation, and the configuration of the derived indicator is determined in response to an indicator configuration operation acting on the indicator creation interface, include:

S210、基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件;S210, based on the selection operation acting on the indicator creation interface, display the visual program control selected by the user in the indicator calculation logic configuration area;

S220、基于作用于指标创建界面上的拖拽操作,对所述选取的可视化程序控件进行组合,以实现派生指标的逻辑运算配置;S220, based on the drag-and-drop operation acting on the index creation interface, combine the selected visual program controls to realize the logical operation configuration of the derived index;

S230、基于作用于所述指标基本信息设置区域的基本信息设置操作,对所述派生指标的基本信息进行配置。S230. Configure the basic information of the derived indicator based on the basic information setting operation acting on the indicator basic information setting area.

本实施例中,用户首先在可视化界面上选取所需的可视化程序控件,具体可通过点击指标创建界面上的可视化程序控件,在点击后,可视化程序控件的名称会显示在指标计算逻辑配置区域内,然后用户可通过在指标计算逻辑配置区域对选取的可视化程序控件进行拖拽,使各个可视化程序控件根据用户需求进行组合并出现在合适的位置,按照用户的需求来执行逻辑计算,从而得到满足用户需求的派生指标的配置,而且由于创建规则简单清晰,而且采用的是可视化的指标创建,增加了派生指标创建的易用性,另外,用户只需通过对各个可视化程序控件进行逻辑运算组合即可快速得到所需的派生指标,简单方便。In this embodiment, the user first selects the desired visualization program control on the visualization interface. Specifically, the visualization program control on the interface can be created by clicking on the indicator. After clicking, the name of the visualization program control will be displayed in the indicator calculation logic configuration area. , and then the user can drag and drop the selected visual program controls in the indicator calculation logic configuration area, so that each visual program control can be combined according to the user's needs and appear in the appropriate position, and the logic calculation can be performed according to the user's needs, so as to meet the requirements The configuration of derived indicators required by users, and because the creation rules are simple and clear, and the use of visual indicator creation increases the ease of use of derived indicators. The required derived indicators can be obtained quickly, which is simple and convenient.

当配置完成后,用户可通过直接在指标创建界面的指标基本信息设置区域内的输入操作,来实现对派生指标的基本信息输入,例如录入指标口径、指标类似、所属业务条线等基本信息,简单方便。After the configuration is complete, the user can input the basic information of the derived indicator by directly inputting the basic information of the indicator in the indicator basic information setting area of the indicator creation interface, such as inputting basic information such as indicator caliber, similar indicator, and business line to which it belongs. easy and convenient.

在一些实施例中,所述可视化程序控件至少包括原子指标类型可视化程序控件、函数类型可视化程序控件以及运算符类型可视化程序控件。In some embodiments, the visualizer controls include at least an atomic indicator type visualizer control, a function type visualizer control, and an operator type visualizer control.

本实施例中,为了增加派生指标的计算能力,可通过多种不同类型的可视化程序控件组合得到所需的派生指标。其中,原子指标类型可视化程序控件为多种不同的原子指标,例如数值型指标、计数型指标等等。每个原子指标在派生指标创建平台的后台中均配置有维度信息,例如机构、渠道、产品类型、财富等级等等,在选取多个不同的原子指标时,派生指标创建平台会检验原子指标之间的维度是否有交集,以便进行合并计算操作。In this embodiment, in order to increase the computing capability of the derived index, the desired derived index can be obtained by combining a variety of different types of visualization program controls. Among them, the atomic indicator type visualization program controls are various atomic indicators, such as numerical indicators, count indicators, and so on. Each atomic indicator is configured with dimension information in the background of the derived indicator creation platform, such as institution, channel, product type, wealth level, etc. When multiple different atomic indicators are selected, the derived indicator creation platform will check the atomic indicators. Whether there is an intersection of the dimensions between them, so that the merge calculation operation can be performed.

函数类型可视化程序控件用于对各个原子指标之间的计算规则进行设定,函数类型可视化程序控件用于实现数据统计计算的标准,其中函数类型可视化程度控件包括但不限于平均值函数、最大值函数、最小值函数、中位数函数、固定值函数、时间偏移函数、条件过滤函数等等。The function type visualization program control is used to set the calculation rules between various atomic indicators, and the function type visualization program control is used to realize the standard of data statistical calculation. The function type visualization degree control includes but is not limited to the average function, the maximum value function, minimum function, median function, fixed value function, time offset function, conditional filter function, etc.

运算符类型可视化程序控件为对原子指标进行四则运算的控件,运算符类型可视化程序控件包括但不限于加号、减号、乘号、除号、括号等等。The operator type visualization program control is a control that performs four arithmetic operations on atomic indicators, and the operator type visualization program control includes but is not limited to plus sign, minus sign, multiplication sign, division sign, parentheses and so on.

本发明实施例通过将原子指标与运算函数或运算符进行组合,进而可以根据需求快速的得到所述的派生指标的配置,达到快速创建派生指标的目的,灵活性强,可以灵活的处理更为复杂的指标数据统计逻辑。In the embodiment of the present invention, by combining the atomic index with the operation function or operator, the configuration of the derived index can be quickly obtained according to the requirements, so as to achieve the purpose of quickly creating the derived index. Complex indicator data statistics logic.

在一些实施例中,所述步骤S210包括:In some embodiments, the step S210 includes:

基于作用于指标创建界面上的选取操作,选取若干个原子指标类型可视化程序控件后,展示于所述指标计算逻辑配置区域中;以及Based on the selection operation acting on the indicator creation interface, after selecting a number of atomic indicator type visualization program controls, they are displayed in the indicator calculation logic configuration area; and

基于作用于指标创建界面上的选取操作,选取若干个函数类型可视化程序控件对选取的函数类型可视化程序控件进行参数配置后,展示于所述指标计算逻辑配置区域中;和/或Based on the selection operation acting on the indicator creation interface, select several function type visualization program controls to perform parameter configuration on the selected function type visualization program controls, and then display them in the indicator calculation logic configuration area; and/or

基于作用于指标创建界面上的选取操作,选取若干个运算符类型可视化程序控件后,展示于所述指标计算逻辑配置区域中。Based on the selection operations acting on the indicator creation interface, after selecting several operator type visualization program controls, they are displayed in the indicator calculation logic configuration area.

本实施例中,用户首先在指标创建界面上点击指标控件,选择需要计算的派生指标后,派生指标名称显示在指标计算逻辑配置区域,然后用户点击运算符或者函数,运算符以及函数同样出现在指标计算逻辑配置区域,指标计算逻辑配置区域的选择的各项控件均基于先后顺序出现,需要拖动“+”号到正确的位置,依照四则运算规则进行计算。In this embodiment, the user first clicks the indicator control on the indicator creation interface, and after selecting the derived indicator to be calculated, the name of the derived indicator is displayed in the indicator calculation logic configuration area, and then the user clicks the operator or function, and the operator and function also appear in the In the index calculation logic configuration area, the selected controls in the index calculation logic configuration area appear based on the order of precedence. You need to drag the "+" sign to the correct position, and calculate according to the four operation rules.

在选取函数时,需要对函数进行参数配置。具体的,最大值函数、最小值函数、平均值函数、中位数函数在选定的维度码值范围内求相应的值,例如选定支行作为分析维度,则会求在所有分行范围内的普金金额的最大值、最小值、平均值以及中位数。固定值函数是一个特殊的函数,可以锁定某一个原子指标的金额使他不收过滤条件的影响,例如想计算普金金额分行占全行的比例,则可以分母设置成普金金额的固定值,分子是普金金额(普金金额/固定值[普金金额]),则在查看指标的时候,上海分行和深圳分行的用户,可以分别看到上海分行和深圳分行的普金金额占全行的比例。天剑过滤函数可以为指标筛选过滤条件,例如只关心上海分行的普金金额,则可以使设置筛选条件为上海分行汇总。时间偏移函数可以为指标制定查询的时间,支持动态的N天前、N周前、N月前,或者固定的日期;例如想知道普金金额30天前的金额,则可以配置30天前的偏移量;或者想知道2021年12月31日的值,则可以设定固定的日期为2021-12-31;通过时间偏移可以计算例如同比、相对固定日期的增长情况等指标。通过围绕场景设计的条件过滤、时间偏移计算函数功能,大大拓展了派生指标的能力,使派生指标可以在更大范围内进行应用。When selecting a function, you need to configure parameters for the function. Specifically, the maximum value function, the minimum value function, the average value function, and the median function are calculated within the selected dimension code value range. The maximum, minimum, average and median of the Putin amount. The fixed value function is a special function that can lock the amount of a certain atomic indicator so that it will not be affected by the filter conditions. For example, if you want to calculate the proportion of the bank's total amount of money, you can set the denominator to the fixed value of the money amount. , and the numerator is the amount of the deposit (the amount of the deposit/fixed value [the amount of the deposit]), then when viewing the indicator, the users of the Shanghai branch and the Shenzhen branch can see that the deposit amount of the Shanghai branch and the Shenzhen branch accounts for the total amount of the deposit. ratio of rows. The Tianjian filter function can filter the filter conditions for the index. For example, if you only care about the deposit amount of the Shanghai branch, you can set the filter condition to be the summary of the Shanghai branch. The time offset function can specify the query time for the indicator, and supports dynamic N days ago, N weeks ago, N months ago, or fixed dates; for example, if you want to know the amount of the deposit amount 30 days ago, you can configure 30 days ago. If you want to know the value of December 31, 2021, you can set a fixed date as 2021-12-31; through the time offset, indicators such as year-on-year growth and relative fixed date growth can be calculated. Through the condition filtering and time offset calculation functions designed around the scene, the ability of derived indicators has been greatly expanded, so that derived indicators can be applied in a wider range.

在一些实施例中,请参阅图4,所述步骤S300包括:In some embodiments, referring to FIG. 4 , the step S300 includes:

S310、响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验;S310, in response to the saving operation acting on the indicator creation interface, verifying the configuration of the derived indicator;

S320、当所述派生指标的配置校验通过时,将所述派生指标的配置保存,以生成派生指标,否则,生成配置失败信息并显示于所述指标创建界面上。S320. When the configuration verification of the derived indicator passes, save the configuration of the derived indicator to generate a derived indicator, otherwise, generate configuration failure information and display it on the indicator creation interface.

本实施例中,为保证用户对派生指标的配置的合理性,在进行派生指标的配置保存时需要先对派生指标的配置进行校验,从而避免派生指标因配置不合理而无法使用。当派生指标的配置合理时,则直接将派生指标保存。当派生指标的配置不合理时,则生成配置失败信息并显示,其中,配置失败信息包括提示配置失败的信息以及配置失败的原因信息。示例性的,当校验通过时,可通过一弹窗显示指标创建成功,校验通过后的派生指标可以在指标地图、指标图谱、指标看板等场合中应用。当校验失败时,可通过一弹窗提示校验失败,并在弹窗上显示校验失败的原因。In this embodiment, in order to ensure the rationality of the user's configuration of the derived indicators, it is necessary to verify the configuration of the derived indicators before saving the configuration of the derived indicators, so as to prevent the derived indicators from being unusable due to unreasonable configuration. When the configuration of the derived indicators is reasonable, the derived indicators are directly saved. When the configuration of the derived indicator is unreasonable, configuration failure information is generated and displayed, wherein the configuration failure information includes information indicating that the configuration fails and information about the reason for the configuration failure. Exemplarily, when the verification is passed, a pop-up window may be used to display that the indicator has been created successfully, and the derived indicator after the verification is passed can be applied in the indicator map, indicator map, indicator board and other occasions. When the verification fails, a pop-up window will prompt the verification failure, and the reason for the verification failure will be displayed on the pop-up window.

在一些实施例中,所述步骤S310包括:In some embodiments, the step S310 includes:

响应于作用于所述指标创建界面上的保存操作,采用预设的指标校验控件对所述派生指标的配置进行校验,其中,所述指标校验控件配置有指标校验规则,所述指标检验规则用于进行所述派生指标的配置的逻辑运算校验。In response to the saving operation acting on the indicator creation interface, a preset indicator verification control is used to verify the configuration of the derived indicator, wherein the indicator verification control is configured with indicator verification rules, and the The index verification rule is used to perform logical operation verification of the configuration of the derived index.

本实施例中,派生指标创建平台预设有配置有指标校验规则的指标校验控件,当用户点击“保存”按钮时,所述指标校验控件采用指标校验规则对派生指标的配置进行校验,例如校验是否有不成对的括号、是否有不被运算符连接的派生指标等等,由于本发明实施例不允许手动输入运算符,因此,可以规避其他不合法输入的情况,进而节省校验的时间和内容,加快校验效率。In this embodiment, the derived indicator creation platform is preset with an indicator verification control configured with indicator verification rules. When the user clicks the "Save" button, the indicator verification control uses the indicator verification rules to configure the derived indicators. Check, for example, check whether there are unpaired parentheses, whether there are derived indicators that are not connected by operators, etc. Since the embodiment of the present invention does not allow manual input of operators, other illegal input situations can be avoided, and further Save the time and content of verification and speed up verification efficiency.

在一些实施例中,为了方便进行创建的派生指标的查找,该派生指标创建方法还包括:In some embodiments, in order to facilitate the search of the created derived index, the derived index creation method further includes:

根据所述派生指标对应的元数据,生成与所述派生指标对应的索引信息。According to the metadata corresponding to the derived index, index information corresponding to the derived index is generated.

本实施例中,当派生指标保存后,可对派生指标设置索引,从而在应用阶段可直接利用索引查找到所需的派生指标。在具体实施时,可以利用派生指标创建平台中指标对应的元数据来设置索引信息,进而方便用户的查找。在应用时,示例性的,用户首先查询派生指标对应的元数据,然后获取派生指标事先生成的索引信息,然后根据所述索引信息生成SQL查询语句后,通过所述SQL查询语句查询到所需的派生指标。In this embodiment, after the derived index is saved, an index can be set for the derived index, so that the index can be directly used to find the desired derived index in the application stage. During specific implementation, the metadata corresponding to the index in the derived index creation platform can be used to set the index information, so as to facilitate the user's search. In application, for example, the user first queries the metadata corresponding to the derived indicator, then obtains the index information generated by the derived indicator in advance, and then generates a SQL query statement according to the index information, and then queries the required data through the SQL query statement. derived indicators.

本发明实施例通过指标派生功能,可大大提升指标的利用效率,让业务方可以减少对数据开发的依赖;通过可视化的指标创建技术,增加了指标创建的易用性,而且创建规则简单清晰;此外,围绕场景设计的条件过滤、时间偏移计算函数功能,大大拓展了指标派生的能力,使指标派生可以在更大范围内进行应用。Through the index derivation function, the embodiment of the present invention can greatly improve the utilization efficiency of the index, so that the business party can reduce the dependence on data development; through the visual index creation technology, the ease of use of the index creation is increased, and the creation rules are simple and clear; In addition, the condition filtering and time offset calculation functions designed around the scene greatly expand the ability of index derivation, so that index derivation can be applied in a wider range.

本发明另一实施例提供一种派生指标创建装置,请参阅图5,该派生指标创建装置包括界面展示模块11、指标配置模块12和指标生成模块13。Another embodiment of the present invention provides an apparatus for creating a derived indicator. Please refer to FIG. 5 . The apparatus for creating a derived indicator includes an interface display module 11 , an indicator configuration module 12 and an indicator generation module 13 .

界面展示模块11用于响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件;The interface display module 11 is configured to display an indicator creation interface in response to a derived indicator creation instruction sent by the client, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls;

指标配置模块12用于响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作;The indicator configuration module 12 is configured to determine the configuration of the derived indicator in response to an indicator configuration operation acting on the indicator creation interface, wherein the indicator configuration operation at least includes visualization of selection in the indicator calculation logic configuration area The logic operation setting operation of the program control and the basic information setting operation performed in the basic information setting area of the indicator;

指标生成模块13用于响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。The indicator generating module 13 is configured to save the configuration of the derived indicator in response to the saving operation acting on the indicator creation interface, so as to generate the derived indicator.

本发明实施例通过向用户提供具有多种可视化程序控件的指标创建界面,使用户可在指标创建界面上操作,利用可视化程序控件来对自己所需的派生指标进行逻辑运算配置和基本信息配置,操作简单,开发周期短,提高了派生指标的开发效率以及创建的易用性,而且使得派生指标的灵活性更强,能够灵活处理更为复杂的指标数据统计逻辑,利用效率更高,而且让业务方可以减少对数据开发的依赖。The embodiment of the present invention provides the user with an index creation interface with multiple visual program controls, so that the user can operate on the index creation interface, and use the visualized program control to perform logical operation configuration and basic information configuration for the derived index required by himself, The operation is simple and the development cycle is short, which improves the development efficiency and ease of use of derived indicators, and makes the derived indicators more flexible, able to flexibly handle more complex indicator data statistical logic, higher utilization efficiency, and make the derived indicators more flexible. Business parties can reduce their reliance on data development.

需要说明的是,本发明所称的模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述派生指标创建的执行过程,各模块的具体实施方式请参考上述对应的方法实施例,此处不再赘述。It should be noted that the module referred to in the present invention refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the creation of the derived index than the program. For the specific implementation of each module, please refer to the corresponding method above. Examples are not repeated here.

在一些实施例中,所述逻辑运算设置操作包括选取操作和拖拽操作,指标配置模块12包括选取单元、拖拽单元以及基本信息设置单元。In some embodiments, the logic operation setting operation includes a selection operation and a drag operation, and the index configuration module 12 includes a selection unit, a drag unit, and a basic information setting unit.

选取单元用于基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件。The selection unit is configured to display the visual program control selected by the user in the indicator calculation logic configuration area based on the selection operation acting on the indicator creation interface.

拖拽单元用于基于作用于指标创建界面上的拖拽操作,对所述选取的可视化程序控件进行组合,以实现派生指标的逻辑运算配置。The drag-and-drop unit is configured to combine the selected visual program controls based on the drag-and-drop operation acting on the indicator creation interface, so as to realize the logical operation configuration of the derived indicator.

基本信息设置单元用于基于作用于所述指标基本信息设置区域的基本信息设置操作,对所述派生指标的基本信息进行配置。The basic information setting unit is configured to configure the basic information of the derived indicator based on the basic information setting operation acting on the indicator basic information setting area.

在一些实施例中,所述可视化程序控件至少包括原子指标类型可视化程序控件、函数类型可视化程序控件以及运算符类型可视化程序控件。In some embodiments, the visualizer controls include at least an atomic indicator type visualizer control, a function type visualizer control, and an operator type visualizer control.

在一些实施例中,所述选取单元包括指标展示单元,函数展示单元以及运算符展示单元。In some embodiments, the selection unit includes an indicator display unit, a function display unit and an operator display unit.

指标展示单元用于基于作用于指标创建界面上的选取操作,选取若干个原子指标类型可视化程序控件后,展示于所述指标计算逻辑配置区域中。The indicator display unit is used for selecting a number of atomic indicator type visualization program controls based on the selection operation acting on the indicator creation interface, and displaying them in the indicator calculation logic configuration area.

函数展示单元用于基于作用于指标创建界面上的选取操作,选取若干个函数类型可视化程序控件对选取的函数类型可视化程序控件进行参数配置后,展示于所述指标计算逻辑配置区域中。The function display unit is used for selecting a number of function type visualization program controls based on the selection operation acting on the indicator creation interface, after configuring the parameters of the selected function type visualization program controls, and displaying them in the indicator calculation logic configuration area.

运算符展示单元用于基于作用于指标创建界面上的选取操作,选取若干个运算符类型可视化程序控件后,展示于所述指标计算逻辑配置区域中。The operator display unit is used for selecting a number of operator type visualization program controls based on the selection operation acting on the indicator creation interface, and displaying them in the indicator calculation logic configuration area.

在一些实施例中,所述指标生成模块13包括校验单元和保存单元。In some embodiments, the indicator generating module 13 includes a checking unit and a saving unit.

校验单元用于响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验。The verification unit is configured to verify the configuration of the derived indicator in response to the saving operation acting on the indicator creation interface.

保存单元用于当所述派生指标的配置校验通过时,将所述派生指标的配置保存,以生成派生指标,否则,生成配置失败信息并显示于所述指标创建界面上。The saving unit is configured to save the configuration of the derived index when the configuration verification of the derived index is passed, so as to generate a derived index, otherwise, generate configuration failure information and display it on the index creation interface.

在一些实施例中,校验单元具体用于响应于作用于所述指标创建界面上的保存操作,采用预设的指标校验控件对所述派生指标的配置进行校验,其中,所述指标校验控件配置有指标校验规则,所述指标检验规则用于进行所述派生指标的配置的逻辑运算校验。In some embodiments, the verification unit is specifically configured to use a preset indicator verification control to verify the configuration of the derived indicator in response to a save operation acting on the indicator creation interface, wherein the indicator The verification control is configured with an indicator verification rule, and the indicator verification rule is used to perform logical operation verification of the configuration of the derived indicator.

在一些实施例中,该派生指标创建装置还包括索引生成模块,用于根据所述派生指标对应的元数据,生成与所述派生指标对应的索引信息。In some embodiments, the apparatus for creating a derived indicator further includes an index generation module configured to generate index information corresponding to the derived indicator according to metadata corresponding to the derived indicator.

本发明另一实施例提供一种电子设备,如图6所示,电子设备10包括:Another embodiment of the present invention provides an electronic device. As shown in FIG. 6 , the electronic device 10 includes:

一个或多个处理器110以及存储器120,图4中以一个处理器110为例进行介绍,处理器110和存储器120可以通过总线或者其他方式连接,图6中以通过总线连接为例。One or more processors 110 and the memory 120 are described by taking one processor 110 as an example in FIG. 4 . The processor 110 and the memory 120 may be connected by a bus or in other ways. In FIG. 6 , the connection by a bus is taken as an example.

处理器110用于完成电子设备10的各种控制逻辑,其可以为通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)、单片机、ARM(Acorn RISCMachine)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。还有,处理器110还可以是任何传统处理器、微处理器或状态机。处理器110也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP和/或任何其它这种配置。The processor 110 is used to complete various control logics of the electronic device 10, which can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM ( Acorn RISCMachine) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Also, the processor 110 may be any conventional processor, microprocessor or state machine. The processor 110 may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a DSP, and/or any other such configuration.

存储器120作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的派生指标创建方法对应的程序指令。处理器110通过运行存储在存储器120中的非易失性软件程序、指令以及单元,从而执行电子设备10的各种功能应用以及数据处理,即实现上述方法实施例中的派生指标创建方法。The memory 120, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as programs corresponding to the method for creating a derived index in the embodiment of the present invention instruction. The processor 110 executes various functional applications and data processing of the electronic device 10 by running the non-volatile software programs, instructions and units stored in the memory 120 , that is, to implement the method for creating derived indicators in the above method embodiments.

存储器120可以包括存储程序区和存储数据区,其中,存储程序区可存储操作平台、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备10使用所创建的数据等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器120可选包括相对于处理器110远程设置的存储器,这些远程存储器可以通过网络连接至电子设备10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store an operating platform, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device 10 and the like. Additionally, memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 120 may optionally include memory located remotely from processor 110, which may be connected to electronic device 10 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

一个或者多个单元存储在存储器120中,当被一个或者多个处理器110执行时,执行上述任意方法实施例中的派生指标创建方法,例如,执行以上描述的图2中的方法步骤S100至步骤S300。One or more units are stored in the memory 120, and when executed by one or more processors 110, execute the derived index creation method in any of the above method embodiments, for example, execute the above-described method steps S100 to 2 in FIG. Step S300.

本发明另一实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图2中的方法步骤S100至步骤S300。Another embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, the computer-executable instructions being executed by one or more processors, for example, executing the above-described FIG. 2 The method in step S100 to step S300.

作为示例,计算机可读存储介质能够包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦ROM(EEPROM)或闪速存储器。易失性存储器能够包括作为外部高速缓存存储器的随机存取存储器(RAM)。通过说明而非限制,RAM可以以诸如同步RAM(SRAM)、动态RAM、(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、Synchlink DRAM(SLDRAM)以及直接Rambus(兰巴斯)RAM(DRRAM)之类的许多形式得到。本文中所描述的操作环境的所公开的存储器组件或存储器旨在包括这些和/或任何其他适合类型的存储器中的一个或多个。As examples, the computer-readable storage medium can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM may be configured in a variety of formats such as Synchronous RAM (SRAM), Dynamic RAM, (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus (Lambas) RAM (DRRAM) and many other forms. The disclosed memory components or memories of the operating environments described herein are intended to include one or more of these and/or any other suitable types of memory.

综上所述,本发明提供的派生指标创建方法、装置、电子设备及存储介质,通过向用户提供具有多种可视化程序控件的指标创建界面,使用户可在指标创建界面上操作,利用可视化程序控件来对自己所需的派生指标进行逻辑运算配置和基本信息配置,操作简单,开发周期短,提高了派生指标的开发效率以及创建的易用性,而且使得派生指标的灵活性更强,能够灵活处理更为复杂的指标数据统计逻辑,利用效率更高,而且让业务方可以减少对数据开发的依赖。To sum up, the method, device, electronic device and storage medium for creating a derived indicator provided by the present invention provide the user with an indicator creating interface with a variety of visual program controls, so that the user can operate on the indicator creating interface and utilize the visualization program. It is easy to operate and has a short development cycle, which improves the development efficiency and ease of use of derived indicators, and makes the derived indicators more flexible and able to Flexible processing of more complex indicator data statistics logic, higher utilization efficiency, and allows business parties to reduce their dependence on data development.

以上所述本发明的具体实施方式,并不构成对本发明保护范围的限定。任何根据本发明的技术构思所做出的各种其他相应的改变与变形,均应包含在本发明权利要求的保护范围内。The specific embodiments of the present invention described above do not limit the protection scope of the present invention. Any other corresponding changes and modifications made according to the technical concept of the present invention shall be included in the protection scope of the claims of the present invention.

Claims (10)

1.一种派生指标创建方法,其特征在于,包括:1. A method for creating a derived index, comprising: 响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件;In response to the derived indicator creation instruction sent by the client, an indicator creation interface is displayed, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls; 响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作;In response to an indicator configuration operation acting on the indicator creation interface, the configuration of the derived indicator is determined, wherein the indicator configuration operation at least includes the logic operation setting of the visual program control selected in the indicator calculation logic configuration area operations and basic information setting operations performed in the indicator basic information setting area; 响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。In response to a save operation acting on the indicator creation interface, the configuration of the derived indicator is saved to generate a derived indicator. 2.根据权利要求1所述的派生指标创建方法,其特征在于,所述逻辑运算设置操作包括选取操作和拖拽操作,所述响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,包括:2 . The method for creating a derived indicator according to claim 1 , wherein the logical operation setting operation includes a selection operation and a dragging operation, and the determination is made in response to an indicator configuration operation acting on the indicator creation interface. 3 . The configuration of the derived indicator includes: 基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件;Based on the selection operation acting on the indicator creation interface, the visualization program control selected by the user is displayed in the indicator calculation logic configuration area; 基于作用于指标创建界面上的拖拽操作,对所述选取的可视化程序控件进行组合,以实现派生指标的逻辑运算配置;Based on the drag-and-drop operation acting on the indicator creation interface, the selected visual program controls are combined to realize the logical operation configuration of the derived indicator; 基于作用于所述指标基本信息设置区域的基本信息设置操作,对所述派生指标的基本信息进行配置。The basic information of the derived indicator is configured based on the basic information setting operation acting on the indicator basic information setting area. 3.根据权利要求2所述的派生指标创建方法,其特征在于,所述可视化程序控件至少包括原子指标类型可视化程序控件、函数类型可视化程序控件以及运算符类型可视化程序控件。3 . The method for creating a derived indicator according to claim 2 , wherein the visualization program controls at least include atomic indicator type visualization program controls, function type visualization program controls, and operator type visualization program controls. 4 . 4.根据权利要求3所述的派生指标创建方法,其特征在于,所述基于作用于指标创建界面上的选取操作,在所述指标计算逻辑配置区域展示用户选取的可视化程序控件,包括:4. The method for creating a derived indicator according to claim 3, wherein, based on the selection operation acting on the indicator creation interface, the visualization program control selected by the user is displayed in the indicator calculation logic configuration area, comprising: 基于作用于指标创建界面上的选取操作,选取若干个原子指标类型可视化程序控件后,展示于所述指标计算逻辑配置区域中;以及Based on the selection operation acting on the indicator creation interface, after selecting a number of atomic indicator type visualization program controls, they are displayed in the indicator calculation logic configuration area; and 基于作用于指标创建界面上的选取操作,选取若干个函数类型可视化程序控件对选取的函数类型可视化程序控件进行参数配置后,展示于所述指标计算逻辑配置区域中;和/或Based on the selection operation acting on the indicator creation interface, select several function type visualization program controls to perform parameter configuration on the selected function type visualization program controls, and then display them in the indicator calculation logic configuration area; and/or 基于作用于指标创建界面上的选取操作,选取若干个运算符类型可视化程序控件后,展示于所述指标计算逻辑配置区域中。Based on the selection operations acting on the indicator creation interface, after selecting several operator type visualization program controls, they are displayed in the indicator calculation logic configuration area. 5.根据权利要求1所述的派生指标创建方法,其特征在于,所述响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标,包括:5 . The method for creating a derived indicator according to claim 1 , wherein, in response to a save operation acting on the indicator creation interface, the configuration of the derived indicator is saved to generate the derived indicator, comprising: 6 . 响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验;In response to the saving operation acting on the indicator creation interface, verifying the configuration of the derived indicator; 当所述派生指标的配置校验通过时,将所述派生指标的配置保存,以生成派生指标,否则,生成配置失败信息并显示于所述指标创建界面上。When the configuration verification of the derived indicator passes, the configuration of the derived indicator is saved to generate a derived indicator, otherwise, configuration failure information is generated and displayed on the indicator creation interface. 6.根据权利要求5所述的派生指标创建方法,其特征在于,所述响应于作用于所述指标创建界面上的保存操作,对所述派生指标的配置进行校验,包括:6 . The method for creating a derived indicator according to claim 5 , wherein, in response to a save operation acting on the indicator creation interface, verifying the configuration of the derived indicator comprises: 6 . 响应于作用于所述指标创建界面上的保存操作,采用预设的指标校验控件对所述派生指标的配置进行校验,其中,所述指标校验控件配置有指标校验规则,所述指标检验规则用于进行所述派生指标的配置的逻辑运算校验。In response to the saving operation acting on the indicator creation interface, a preset indicator verification control is used to verify the configuration of the derived indicator, wherein the indicator verification control is configured with indicator verification rules, and the The index verification rule is used to perform logical operation verification of the configuration of the derived index. 7.根据权利要求1所述的派生指标创建方法,其特征在于,所述响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标之后,还包括:7. The method for creating a derived indicator according to claim 1, wherein the configuration of the derived indicator is saved in response to a saving operation acting on the indicator creation interface, so that after generating the derived indicator, the include: 根据所述派生指标对应的元数据,生成与所述派生指标对应的索引信息。According to the metadata corresponding to the derived index, index information corresponding to the derived index is generated. 8.一种派生指标创建装置,其特征在于,包括:8. A device for creating a derived index, comprising: 界面展示模块,用于响应于客户端发送的派生指标创建指令,展示指标创建界面,其中,所述指标创建界面显示有指标计算逻辑配置区域、指标基本信息设置区域以及多个可视化程序控件;an interface display module, configured to display an indicator creation interface in response to a derived indicator creation instruction sent by the client, wherein the indicator creation interface displays an indicator calculation logic configuration area, an indicator basic information setting area, and a plurality of visualization program controls; 指标配置模块,用于响应于作用于所述指标创建界面上的指标配置操作,确定所述派生指标的配置,其中,所述指标配置操作至少包括在所述指标计算逻辑配置区域进行选取的可视化程序控件的逻辑运算设置操作以及在所述指标基本信息设置区域进行的基本信息设置操作;an indicator configuration module, configured to determine the configuration of the derived indicator in response to an indicator configuration operation acting on the indicator creation interface, wherein the indicator configuration operation at least includes visualization of selection in the indicator calculation logic configuration area The logic operation setting operation of the program control and the basic information setting operation performed in the basic information setting area of the indicator; 指标生成模块,用于响应于作用于所述指标创建界面上的保存操作,将所述派生指标的配置保存,以生成派生指标。The indicator generation module is configured to save the configuration of the derived indicator in response to the saving operation acting on the indicator creation interface, so as to generate the derived indicator. 9.一种电子设备,其特征在于,包括:处理器和存储器;9. An electronic device, comprising: a processor and a memory; 所述存储器上存储有可被所述处理器执行的计算机程序;a computer program executable by the processor is stored on the memory; 所述处理器执行所述计算机程序时实现如权利要求1-7任意一项所述的派生指标创建方法中的步骤。When the processor executes the computer program, the steps in the method for creating a derived indicator according to any one of claims 1-7 are implemented. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1-7任意一项所述的派生指标创建方法中的步骤。10. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the claim Steps in the derived indicator creation method described in any one of requirements 1-7.
CN202210753919.2A 2022-06-28 2022-06-28 A method, device, electronic device and storage medium for creating a derived index Pending CN115113862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210753919.2A CN115113862A (en) 2022-06-28 2022-06-28 A method, device, electronic device and storage medium for creating a derived index

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210753919.2A CN115113862A (en) 2022-06-28 2022-06-28 A method, device, electronic device and storage medium for creating a derived index

Publications (1)

Publication Number Publication Date
CN115113862A true CN115113862A (en) 2022-09-27

Family

ID=83330989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210753919.2A Pending CN115113862A (en) 2022-06-28 2022-06-28 A method, device, electronic device and storage medium for creating a derived index

Country Status (1)

Country Link
CN (1) CN115113862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116777297A (en) * 2023-07-10 2023-09-19 三峡科技有限责任公司 Machine room evaluation index configuration method and system based on IDC equipment monitoring data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598914A (en) * 2015-10-15 2017-04-26 北京国双科技有限公司 Data processing method and device
WO2020233080A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Client development method and apparatus, and computer device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598914A (en) * 2015-10-15 2017-04-26 北京国双科技有限公司 Data processing method and device
WO2020233080A1 (en) * 2019-05-22 2020-11-26 深圳壹账通智能科技有限公司 Client development method and apparatus, and computer device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116777297A (en) * 2023-07-10 2023-09-19 三峡科技有限责任公司 Machine room evaluation index configuration method and system based on IDC equipment monitoring data
CN116777297B (en) * 2023-07-10 2024-03-05 三峡科技有限责任公司 Machine room evaluation index configuration method and system based on IDC equipment monitoring data

Similar Documents

Publication Publication Date Title
WO2019109485A1 (en) Echarts tool-based chart making method, apparatus and device, and medium
US11023462B2 (en) Single input graphical user interface control element and method
WO2020253059A1 (en) Method and apparatus for implementing multi-stage linkage drop-down box, and computer device
CN105653644A (en) Page constructor and page construction method
CN112667612A (en) Data quality checking method and device, electronic equipment and storage medium
CN110837366A (en) Form generation method, electronic device and computer-readable storage medium
US20230004362A1 (en) Code execution and data processing pipeline
CN107369090A (en) Open an account generation method, equipment and the computer-readable recording medium of the page
WO2019019702A1 (en) Algorithm generation method and device, terminal device and storage medium
JP2018520452A (en) Techniques for constructing generic programs using controls
CN108681589A (en) Structured query language instruction generation method based on index system and device
CN109960560A (en) A kind of index processing method and system
CN110780970A (en) Data screening method, apparatus, device, and computer-readable storage medium
CN111639057A (en) Log message processing method and device, computer equipment and storage medium
CN115113862A (en) A method, device, electronic device and storage medium for creating a derived index
CN115759018A (en) Report generating method, device, computer equipment and storage medium
CN115455741A (en) Modeling method and device for construction machinery and equipment
CN109766093B (en) Method and device for collaborative real-time editing, electronic equipment and storage medium
CN113918149A (en) Interface development method, apparatus, computer equipment and storage medium
CN116301735A (en) Method, device and storage medium for organizing software elements into software data links
CN116700700A (en) A graphical algorithm programming tool
CN108595552A (en) Data cube dissemination method, device, electronic equipment and storage medium
CN114840251A (en) Script processing method, terminal, storage medium and program product
CN115268734A (en) Quotation generation method, device, device and storage medium based on quotation tool
CN115455056A (en) Information retrieval method, device, equipment and storage medium

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