[go: up one dir, main page]

CN110619116A - Data processing method, device, terminal and storage medium - Google Patents

Data processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN110619116A
CN110619116A CN201910814069.0A CN201910814069A CN110619116A CN 110619116 A CN110619116 A CN 110619116A CN 201910814069 A CN201910814069 A CN 201910814069A CN 110619116 A CN110619116 A CN 110619116A
Authority
CN
China
Prior art keywords
scorecard
data
option
information
cell
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
CN201910814069.0A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910814069.0A priority Critical patent/CN110619116A/en
Publication of CN110619116A publication Critical patent/CN110619116A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations

Landscapes

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

Abstract

本发明实施例提供了一种数据处理方法、装置、终端及存储介质,其中,该方法包括:从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。采用本发明,使得终端能够展示评分卡,并可以对该展示的评分卡直接进行编辑,可以有效地提升对评分卡的编辑效率。

An embodiment of the present invention provides a data processing method, device, terminal, and storage medium, wherein the method includes: obtaining the first scorecard data of the scorecard from the server, and displaying the scorecard data on the display page according to the first scorecard data drawing and displaying the scorecard; the first scorecard data includes table header information and table body information; responding to the editing operation on the scorecard, editing the scorecard to obtain the first scorecard corresponding to the scorecard Two scorecard data; the second scorecard data is the data obtained after editing the scorecard; the second scorecard data is sent to the server, so that the server can use the second scorecard data Included scoring rules for scoring. By adopting the present invention, the terminal can display the score card and directly edit the displayed score card, which can effectively improve the editing efficiency of the score card.

Description

一种数据处理方法、装置、终端及存储介质A data processing method, device, terminal and storage medium

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种数据处理方法、装置、终端及存储介质。The present invention relates to the field of computer technology, in particular to a data processing method, device, terminal and storage medium.

背景技术Background technique

评分卡作为一种以分数形式来衡量风险几率的手段,通常可以设有多个评分规则。评分卡根据其功能的不同可以分为申请评分卡、行为评分卡和催收评分卡等类别的评分卡。不同类别的评分卡上包括的评分规则也存在一定差异。通常来说,当相关人员需要编辑评分卡时,可以从服务器调出该评分卡对应的代码逻辑,并在理解该评分规则对应的代码逻辑后通过对该代码逻辑进行编辑以实现对该评分卡的编辑过程。然而,上述编辑方式较为浪费时间,导致对评分卡的编辑效率极低。As a means of measuring risk probability in the form of scores, the scorecard can usually have multiple scoring rules. Scorecards can be divided into application scorecards, behavior scorecards and collection scorecards according to their functions. There are also some differences in the scoring rules included on the scorecards of different categories. Generally speaking, when relevant personnel need to edit the scorecard, they can call out the code logic corresponding to the scorecard from the server, and edit the code logic to realize the scorecard after understanding the code logic corresponding to the scoring rule. editing process. However, the above-mentioned editing method is relatively time-consuming, resulting in extremely low editing efficiency of the scorecard.

发明内容Contents of the invention

本发明实施例提供了一种数据处理方法、装置、终端及存储介质,使得终端能够展示评分卡,并可以对该展示的评分卡直接进行编辑,可以有效地提升对评分卡的编辑效率。Embodiments of the present invention provide a data processing method, device, terminal, and storage medium, so that the terminal can display a scorecard and directly edit the displayed scorecard, which can effectively improve the editing efficiency of the scorecard.

第一方面,本发明实施例提供了一种数据处理方法,包括:In a first aspect, an embodiment of the present invention provides a data processing method, including:

从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;Obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and body information; The body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each cell corresponding to each scoring rule includes all The condition cell where the judgment condition is located and the score cell where the score is located;

响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;In response to the editing operation of the scorecard, the scorecard is edited to obtain second scorecard data corresponding to the scorecard; the second scorecard data is data obtained after editing the scorecard;

将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。Sending the second scorecard data to the server, so that the server performs scoring using the scoring rules included in the second scorecard data.

可选地,所述从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡,包括:Optionally, the obtaining first scorecard data of the scorecard from the server, and drawing and displaying the scorecard on a display page according to the first scorecard data includes:

从所述服务器获取评分卡的第一评分卡数据,所述第一评分卡数据分为第一信息组和第二信息组;所述第一信息组保存了所述表头信息,所述第二信息组保存了所述表体信息;Obtain the first score card data of the score card from the server, the first score card data is divided into a first information group and a second information group; the first information group saves the header information, the second information group The second information group saves the body information;

分别对所述第一信息组和所述第二信息组进行遍历,以在显示页面上绘制并展示所述评分卡,所述评分卡包括根据所述表头信息得到的表头以及根据所述表体信息得到的表体。respectively traversing the first information group and the second information group to draw and display the scorecard on the display page, the scorecard including the header obtained according to the header information and the The table body obtained from table body information.

可选地,所述第二信息组的类型为二维数组,对所述第二信息组进行遍历的方式为双重遍历;所述单元格的信息包括行信息、列信息、跨行的信息和跨列的信息。Optionally, the type of the second information group is a two-dimensional array, and the way of traversing the second information group is double traversal; the information of the cell includes row information, column information, cross-row information, and cross-row information. column information.

可选地,所述响应对所述评分卡的编辑操作,对所述评分卡进行编辑,包括:Optionally, editing the scorecard in response to the editing operation on the scorecard includes:

当检测到对所述评分卡的表体中的目标条件单元格的触控操作时,显示第一下拉菜单,所述第一下拉菜单包括以下任意一项或多项:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项、粘贴选项;When a touch operation to the target condition cell in the table body of the scorecard is detected, a first drop-down menu is displayed, and the first drop-down menu includes any one or more of the following: configuration condition options, Add conditional row options, delete conditional row options, clear conditional row options, copy options, paste options;

当检测到对所述第一下拉菜单中的目标选项的触控操作时,按照所述目标选项所指示的方式对所述目标条件单元格进行处理。When a touch operation on a target option in the first drop-down menu is detected, the target condition cell is processed in a manner indicated by the target option.

可选地,所述评分卡中的每个单元格对应设有可编辑组件,以用于使相应单元格处于可编辑状态,所述响应对所述评分卡的编辑操作,对所述评分卡进行编辑,包括:Optionally, each cell in the scorecard is correspondingly provided with an editable component for making the corresponding cell in an editable state, and in response to an editing operation on the scorecard, the scorecard Make edits, including:

当检测到对所述评分卡的表体中的目标分值单元格的触控操作时,显示第二下拉菜单,所述第二下拉菜单包括输入值选项、选择常量选项、选择变量选项、选择参数选项、选择方法选项;When a touch operation to the target score cell in the table body of the scorecard is detected, a second drop-down menu is displayed, and the second drop-down menu includes an input value option, a selection constant option, a selection variable option, a selection Parameter options, selection method options;

当检测到对所述第二下拉菜单中的指定选项的触控操作时,按照所述指定选项所指示的方式为所述目标分值单元格设置分值。When a touch operation on a specified option in the second pull-down menu is detected, set a score for the target score cell in a manner indicated by the specified option.

可选地,所述显示页面还包括工作菜单,所述工作菜单包括以下任意一个或多个:添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项;Optionally, the display page further includes a work menu, and the work menu includes any one or more of the following: add a row option, inject constant option, inject variable option, inject parameter option, and injected data option;

所述添加一行选项,用于在被触控时在所述评分卡的末尾新增一行单元格;其中,新增的一行单元格的列数与表头的列数相同;The option of adding a row is used to add a row of cells at the end of the scorecard when being touched; wherein, the number of columns of the newly added row of cells is the same as that of the table header;

所述注入常量选项,用于在被触控时展示常量配置界面,以实现为所述评分卡预先配置常量的功能;The injection constant option is used to display a constant configuration interface when touched, so as to realize the function of pre-configuring constants for the scorecard;

所述注入变量选项,用于在被触控时展示变量配置界面,以实现所述评分卡预先配置变量的功能;The variable injection option is used to display a variable configuration interface when touched, so as to realize the function of pre-configuring variables of the scorecard;

所述注入参数选项,用于在被触控时展示参数配置界面,以实现所述评分卡预先配置参数的功能;The injection parameter option is used to display a parameter configuration interface when touched, so as to realize the function of pre-configuring parameters of the scorecard;

所述已注入数据选项,用于在被触控时展示已配置数据界面,所述已配置数据界面包括为所述评分卡已配置的数据;所述已配置的数据包括以下任意一项或多项:已设置的常量、已设置的变量、已设置的参数。The injected data option is used to display a configured data interface when touched, and the configured data interface includes the configured data for the scorecard; the configured data includes any one or more of the following Item: set constant, set variable, set parameter.

可选地,所述从服务器获取评分卡的第一评分卡数据前,所述方法还包括:Optionally, before obtaining the first scorecard data of the scorecard from the server, the method further includes:

创建评分卡;create scorecards;

对所述评分卡进行遍历,得到所述评分卡的第一评分卡数据,并将所述第一评分卡数据发送至服务器,以便所述服务器利用所述第一评分卡数据包括的评分规则进行评分。Traversing the scorecard to obtain the first scorecard data of the scorecard, and sending the first scorecard data to the server, so that the server can use the scoring rules included in the first scorecard data to perform score.

第二方面,本发明实施例提供了一种数据处理装置,包括:In a second aspect, an embodiment of the present invention provides a data processing device, including:

获取模块,用于从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;The acquisition module is used to obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and Table body information; the table body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each scoring rule corresponds to Each cell includes a condition cell where the judgment condition is located and a score cell where the score is located;

处理模块,用于响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;A processing module, configured to edit the scorecard in response to an editing operation on the scorecard to obtain second scorecard data corresponding to the scorecard; the second scorecard data is the edited scorecard data obtained after

通信模块,用于将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。A communication module, configured to send the second scorecard data to the server, so that the server can perform scoring using the scoring rules included in the second scorecard data.

第三方面,本发明实施例提供了一种终端,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如第一方面所述的方法。In a third aspect, an embodiment of the present invention provides a terminal, including a processor, an input device, an output device, and a memory, and the processor, input device, output device, and memory are connected to each other, wherein the memory is used to store computer program, the computer program includes program instructions, and the processor is configured to invoke the program instructions to execute the method as described in the first aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现如第一方面所述的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method as described in the first aspect.

综上所述,终端可以从服务器获取评分卡的第一评分卡数据,并根据该第一评分卡数据在显示页面上绘制并展示该评分卡,终端还可以响应对该评分卡的编辑操作,对该评分卡进行编辑,得到该评分卡对应的第二评分卡数据,并可以将该第二评分卡数据发送至该服务器,以便该服务器利用该第二评分卡数据包括的评分规则进行评分。本发明使得终端能够展示评分卡,并对该展示的评分卡直接进行编辑,无需如现有技术中的需调出该评分卡对应的代码逻辑,并对该代码逻辑进行编辑从而实现对评分卡的编辑过程,采用本发明能够有效地提升对评分卡的编辑效率。To sum up, the terminal can obtain the first scorecard data of the scorecard from the server, draw and display the scorecard on the display page according to the first scorecard data, and the terminal can also respond to the editing operation of the scorecard, The scorecard is edited to obtain the second scorecard data corresponding to the scorecard, and the second scorecard data can be sent to the server, so that the server can perform scoring using the scoring rules included in the second scorecard data. The present invention enables the terminal to display the scorecard and directly edit the displayed scorecard without calling out the code logic corresponding to the scorecard as in the prior art and editing the code logic to realize the scorecard The editing process of the scorecard can be effectively improved by adopting the present invention.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例提供的一种数据处理方法的流程示意图;Fig. 1 is a schematic flow chart of a data processing method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种包括评分卡的显示页面的示意图;FIG. 2 is a schematic diagram of a display page including a scorecard provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种数据处理方法的流程示意图;FIG. 3 is a schematic flowchart of another data processing method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种包括初始表头和初始表体的显示页面的示意图;Fig. 4 is a schematic diagram of a display page including an initial header and an initial body provided by an embodiment of the present invention;

图5是本发明实施例提供的一种包括评分卡相关组件的显示页面的示意图;FIG. 5 is a schematic diagram of a display page including scorecard-related components provided by an embodiment of the present invention;

图6是本发明实施例提供的一种数据处理系统的网络架构示意图;FIG. 6 is a schematic diagram of a network architecture of a data processing system provided by an embodiment of the present invention;

图7是本发明实施例提供的一种数据处理装置的结构示意图;Fig. 7 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;

图8是本发明实施例提供的一种终端的结构示意图。Fig. 8 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

请参阅图1,为本发明实施例提供的一种数据处理方法的流程示意图。该方法可以应用于终端。该终端包括但不限于智能手机、平板电脑、笔记本电脑、台式电脑等智能终端。具体地,该方法可以包括以下步骤:Please refer to FIG. 1 , which is a schematic flowchart of a data processing method provided by an embodiment of the present invention. This method can be applied to terminals. The terminal includes, but is not limited to, smart terminals such as smartphones, tablet computers, notebook computers, and desktop computers. Specifically, the method may include the following steps:

S101、从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡。S101. Acquire first scorecard data of a scorecard from a server, and draw and display the scorecard on a display page according to the first scorecard data.

其中,该第一评分卡数据包括表头信息和表体信息。该表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息。各单元格的信息可以包括行信息、列信息,还可以包括跨行的信息和跨列的信息。每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括该判断条件所在的条件单元格以及该分值所在的分值单元格。例如,该评分规则包括评分规则1,该评分规则1包括判断条件1、判断条件2以及对应的分值。判断条件1为年龄、判断条件2为小于或等于30岁、分值为12分。Wherein, the first scorecard data includes header information and body information. The table body information includes at least one scoring rule and information about each cell corresponding to each scoring rule. The information of each cell may include row information, column information, and may also include cross-row information and cross-column information. Each scoring rule includes at least one judgment condition and a corresponding score, and each cell corresponding to each scoring rule includes a condition cell where the judgment condition is located and a score cell where the score is located. For example, the scoring rule includes scoring rule 1, and the scoring rule 1 includes judging condition 1, judging condition 2 and corresponding scores. Judgment condition 1 is age, judgment condition 2 is less than or equal to 30 years old, and the score is 12 points.

在一个实施例中,终端从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡,可以包括:终端从所述服务器获取评分卡的第一评分卡数据,所述第一评分卡数据分为第一信息组和第二信息组;所述第一信息组保存了所述表头信息,所述第二信息组保存了所述表体信息;终端分别对所述第一信息组和所述第二信息组进行遍历,以在显示页面上绘制并展示所述评分卡,所述评分卡包括根据所述表头信息得到的表头以及根据所述表体信息得到的表体。在一个实施例中,上述信息组,如第一信息组和第二信息组,还可以称为数组,具体可以是指存储了相同类型的多个元素的结构。本发明实施例通过对两个数组进行遍历,能够准确有效地在显示页面上绘制并展示表格形式的该评分卡。In an embodiment, the terminal acquires the first scorecard data of the scorecard from the server, and draws and displays the scorecard on the display page according to the first scorecard data, which may include: the terminal acquires the score from the server The first score card data of the card, the first score card data is divided into the first information group and the second information group; the first information group saves the header information, and the second information group saves the The table body information; the terminal respectively traverses the first information group and the second information group to draw and display the scorecard on the display page, and the scorecard includes the scorecard obtained according to the header information A table header and a table body obtained according to the table body information. In an embodiment, the above information groups, such as the first information group and the second information group, may also be referred to as an array, and specifically may refer to a structure storing multiple elements of the same type. The embodiment of the present invention can accurately and effectively draw and display the scorecard in tabular form on the display page by traversing the two arrays.

在一个实施例中,该第二信息组的类型可以为二维数组,所述对所述第二信息组进行遍历的方式为双重遍历。本发明实施例通过对为二维数组的第二信息组进行双重遍历,能够有效地提升绘制并展示评分卡的效率。In an embodiment, the type of the second information group may be a two-dimensional array, and the manner of traversing the second information group is double traversal. The embodiment of the present invention can effectively improve the efficiency of drawing and displaying the scorecard by performing double traversal on the second information group which is a two-dimensional array.

S102、响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据。S102. In response to an editing operation on the scorecard, edit the scorecard to obtain second scorecard data corresponding to the scorecard.

S103、将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。S103. Send the second scorecard data to the server, so that the server performs scoring by using the scoring rules included in the second scorecard data.

其中,该第二评分卡数据为对该评分卡编辑后得到的数据。相应地,该第二评分卡数据可以包括对该评分卡编辑后得到的表头信息和表体信息。Wherein, the second scorecard data is data obtained after editing the scorecard. Correspondingly, the second scorecard data may include header information and body information obtained after editing the scorecard.

其中,对所述评分卡进行编辑操作可以包括对所述评分卡的表头的编辑操作和/或对所述评分卡的表体的编辑操作。Wherein, editing the scorecard may include editing the header of the scorecard and/or editing the body of the scorecard.

在一个实施例中,对该评分卡的表头的编辑操作,可以包括以下至少一项:删除条件列的操作、添加条件列的操作、对该表头中各单元格包括的信息的编辑操作。In one embodiment, the editing operation of the header of the scorecard may include at least one of the following: an operation of deleting a conditional column, an operation of adding a conditional column, and an editing operation of the information contained in each cell in the header .

在一个实施例中,对该评分卡的表体的编辑操作,可以包括以下至少一项:为该评分卡添加行、为该评分卡配置用于设置判断规则的变量列表、为该评分卡配置用于设置判断规则的常量列表、为该评分卡配置用于设置判断规则的参数列表、为该评分卡配置用于设置分值的变量列表、为该评分卡配置用于设置分值的常量列表、为该评分卡配置用于设置分值的参数列表、为该评分卡配置用于设置分值的方法列表、为该评分卡设置对分值列包括的各分值的计算方式(如求和)、对该评分卡的表体中的条件单元格的编辑操作、对该评分卡的表体中的分值单元格的编辑操作。In one embodiment, the editing operation of the table body of the scorecard may include at least one of the following: adding a row to the scorecard, configuring a variable list for setting judgment rules for the scorecard, configuring A list of constants for setting judgment rules, a list of parameters for setting judgment rules for the scorecard, a list of variables for setting scores for the scorecard, a list of constants for setting scores for the scorecard , Configure the parameter list for setting the score for the scorecard, configure the method list for setting the score for the scorecard, set the calculation method for each score included in the score column for the scorecard (such as summing ), edit operations on the condition cell in the body of the scorecard, and edit operations on the score cell in the body of the scorecard.

在一个实施例中,终端响应对所述评分卡的编辑操作,对所述评分卡进行编辑,包括:当检测到对所述评分卡的表体中的目标条件单元格的触控操作时,终端显示第一下拉菜单,所述第一下拉菜单包括以下任意一项或多项:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项、粘贴选项;当检测到对所述第一下拉菜单中的目标选项的触控操作时,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理。该触控操作包括但不限于鼠标的点击操作,或手指的点击操作等操作。In one embodiment, the terminal edits the scorecard in response to the editing operation on the scorecard, including: when detecting a touch operation on the target condition cell in the table body of the scorecard, The terminal displays the first drop-down menu, and the first drop-down menu includes any one or more of the following: configure conditional options, add conditional line options, delete conditional line options, clear conditional line options, copy options, paste options; when When detecting a touch operation on a target option in the first drop-down menu, the terminal processes the target condition cell in a manner indicated by the target option. The touch operation includes, but is not limited to, a click operation of a mouse, or a click operation of a finger.

参见图2,为本发明实施例提供的一种包括评分卡的显示页面的示意图。该评分卡的第一行为表头、第二行直到最后一行为表体,表头的前面3个单元格包括的信息为“请选择参数或变量”,表头的最后1个单元格包括的信息为“分值”。表体包括各条评分规则对应的各单元格。该表体的各条件单元格包括的信息为“请选择参数或变量”,图2的表体的各分值单元格包括的信息为“请选择类型”。在图2中,当检测到对某一条件单元格的触控操作,如鼠标右击操作时,终端能够显示如图2所示的第一下拉菜单,该第一下拉菜单包括:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项和粘贴选项,当检测到对该第一下拉菜单中的目标选项的触控操作时,终端按照该目标选项所指示的方式对该条件单元格进行处理。Referring to FIG. 2 , it is a schematic diagram of a display page including a scorecard provided by an embodiment of the present invention. The first line of the scorecard is the header, the second until the last line is the body, the first 3 cells of the header contain the information "Please select a parameter or variable", and the last cell of the header includes the The information is "point value". The table body includes each cell corresponding to each scoring rule. The information contained in each condition cell of the table body is "please select a parameter or variable", and the information contained in each score cell of the table body in Fig. 2 is "please select a type". In FIG. 2, when a touch operation on a certain conditional cell is detected, such as a mouse right-click operation, the terminal can display the first drop-down menu as shown in FIG. 2, the first drop-down menu includes: configuration Conditional options, add conditional row options, delete conditional row options, clear conditional row options, copy options, and paste options. When detecting a touch operation on the target option in the first drop-down menu, the terminal will The conditional cell is processed in the manner indicated.

其中,图2所示的评分卡仅为本发明的一种示例,不构成对本发明的限制。例如,图2的表体的各条件单元格包括的初始信息以及各分值单元格包括的初始信息还可以替换为其它信息或为空。并且,表体的各条件单元格包括的信息后续可以替换为相应的判断条件。表体的各分值单元格包括的信息后续还可以替换为相应的分值。Wherein, the scorecard shown in FIG. 2 is only an example of the present invention, and does not constitute a limitation to the present invention. For example, the initial information included in each conditional cell and each score cell of the table body in FIG. 2 may be replaced with other information or left blank. Moreover, the information contained in each condition cell of the table body can be replaced with corresponding judgment conditions later. The information contained in each score cell of the table body can be replaced with the corresponding score later.

在一个实施例中,所述目标选项为配置条件选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端显示文本输入框,并将在所述文本输入框输入的对象确定为所述目标条件单元格的判断条件。所述对象为变量、常量或参数。可选地,终端可以将所述输入的对象填充至所述目标单元格。可选地,终端当检测到对所述文本输入框对应的确认按钮的点击操作时,触发所述将在所述文本输入框输入的对象确定为所述目标条件单元格的判断条件的步骤。In one embodiment, the target option is a configuration condition option, and the terminal processes the target condition cell in the manner indicated by the target option, including: displaying a text input box on the terminal, and inputting The object entered in the box is determined as the judgment condition of the target condition cell. The objects are variables, constants or parameters. Optionally, the terminal may fill the input object into the target cell. Optionally, when the terminal detects a click operation on the confirmation button corresponding to the text input box, the step of determining the object input in the text input box as the judgment condition of the target condition cell is triggered.

在一个实施例中,所述目标选项为配置条件选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端显示判断条件选择菜单,所述判断条件选择菜单包括以下至少一项:选择变量选项、选择常量选项、选择参数选项;当检测到针对所述判断条件选择菜单中的第一选项的触控操作时,终端按照所述第一选项所指示的方式对所述目标条件单元格进行处理。In one embodiment, the target option is a configuration condition option, and the terminal processes the target condition cell in the manner indicated by the target option, including: the terminal displays a judgment condition selection menu, and the judgment condition selection menu Including at least one of the following: selecting a variable option, selecting a constant option, and selecting a parameter option; when a touch operation is detected for the first option in the selection menu for the judgment condition, the terminal follows the method indicated by the first option The target condition cell is processed.

在一个实施例中,所述第一选项为选择变量选项,所述按照所述第一选项所指示的方式对所述目标条件单元格进行处理,包括:终端显示用于设置判断条件的变量列表,响应对所述用于设置判断条件的变量列表中的任一变量的选择操作,将选择的变量确定为所述目标条件单元格的判断条件。In one embodiment, the first option is to select a variable option, and the processing of the target condition cell according to the manner indicated by the first option includes: displaying a list of variables used to set the judgment condition by the terminal , in response to a selection operation on any variable in the variable list for setting the judgment condition, determine the selected variable as the judgment condition of the target condition cell.

在一个实施例中,所述第一选项为选择常量选项,终端按照所述第一选项所指示的方式对所述目标条件单元格进行处理,包括:终端显示用于设置判断条件的常量列表,响应对所述用于设置判断条件的常量列表中的任一常量的选择操作,将选择的常量确定为所述目标条件单元格的判断条件。In one embodiment, the first option is to select a constant option, and the terminal processes the target condition cell in the manner indicated by the first option, including: the terminal displays a list of constants for setting judgment conditions, In response to a selection operation on any constant in the list of constants for setting the judgment condition, the selected constant is determined as the judgment condition of the target condition cell.

在一个实施例中,所述第一选项为选择参数选项,终端按照所述第一选项所指示的方式对所述目标条件单元格进行处理,包括:终端显示用于设置判断条件的参数列表,响应对所述用于设置判断条件的参数列表中的任一参数的选择操作,将选择的参数确定为所述目标条件单元格的判断条件。In one embodiment, the first option is to select a parameter option, and the terminal processes the target condition cell according to the manner indicated by the first option, including: the terminal displays a parameter list for setting the judgment condition, In response to a selection operation on any parameter in the parameter list for setting a judgment condition, the selected parameter is determined as the judgment condition of the target condition cell.

在一个实施例中,所述目标选项为添加条件行选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端在所述目标条件单元格上方或下方插入一个条件单元格。In one embodiment, the target option is an option to add a conditional row, and the terminal processes the target condition cell in the manner indicated by the target option, including: inserting the terminal above or below the target condition cell A conditional cell.

在一个实施例中,所述目标选项为删除条件行选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端删除所述目标条件单元格,或删除所述目标条件单元格所在的行。In one embodiment, the target option is the delete condition row option, and the terminal processes the target condition cell in the manner indicated by the target option, including: the terminal deletes the target condition cell, or deletes the The row where the target condition cell is located.

在一个实施例中,所述目标选项为清空条件行选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端删除所述目标条件单元格包括的信息,如判断条件。In one embodiment, the target option is an option to clear the conditional row, and the terminal processes the target condition cell in the manner indicated by the target option, including: the terminal deletes the information included in the target condition cell, Such as judgment conditions.

在一个实施例中,所述目标选项为复制选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端复制所述目标条件单元格包括的信息,如判断条件。In one embodiment, the target option is a copy option, and the terminal processes the target condition cell in the manner indicated by the target option, including: the terminal copies the information included in the target condition cell, such as judging condition.

在一个实施例中,所述目标选项为粘贴选项,终端按照所述目标选项所指示的方式对所述目标条件单元格进行处理,包括:终端将复制的信息粘贴至所述目标条件单元格。In one embodiment, the target option is a paste option, and the terminal processes the target condition cell according to the manner indicated by the target option, including: the terminal pastes the copied information to the target condition cell.

在一个实施例中,当检测到对所述评分卡的表体中的目标分值单元格的触控操作时,显示第二下拉菜单,所述第二下拉菜单包括输入值选项、选择常量选项、选择变量选项、选择参数选项、选择方法选项;当检测到对所述第二下拉菜单中的指定选项的触控操作时,按照所述指定选项所指示的方式为所述目标分值单元格设置分值。该分值可以为数值或表达式。其中,所述目标分值单元格为所述表体中的任一分值单元格。In one embodiment, when a touch operation to the target score cell in the table body of the scorecard is detected, a second drop-down menu is displayed, and the second drop-down menu includes an input value option and a constant selection option , select a variable option, select a parameter option, and select a method option; when detecting a touch operation on a specified option in the second drop-down menu, set the value for the target score cell in the manner indicated by the specified option Set points. The score can be a number or an expression. Wherein, the target score cell is any score cell in the table body.

在一个实施例中,所述指定选项为输入值选项,所述按照所述指定选项所指示的方式为所述目标分值单元格设置分值,包括:显示文本输入框,获取在该文本输入框输入的分值。In one embodiment, the specified option is an input value option, and setting the score for the target score cell in the manner indicated by the specified option includes: displaying a text input box, obtaining Points entered in the box.

在一个实施例中,所述指定选项为选择常量选项,所述按照所述指定选项所指示的方式为所述目标分值单元格设置分值,包括:显示用于设置分值的常量列表,响应对所述常量列表中的任一常量的选择操作,将选择的常量确定为所述目标分值单元格的分值或确定为所述分值包括的常量。In one embodiment, the specified option is to select a constant option, and setting the score for the target score cell in the manner indicated by the specified option includes: displaying a constant list for setting the score, In response to a selection operation on any constant in the constant list, the selected constant is determined as the score of the target score cell or as a constant included in the score.

在一个实施例中,所述指定选项为选择变量选项,所述按照所述指定选项所指示的方式为所述目标分值单元格设置分值,包括:显示用于设置分值的变量列表,响应对所述变量列表中的任一变量的选择操作,将选择的变量确定为所述目标分值单元格的变量或确定为所述分值包括的变量。In one embodiment, the specified option is to select a variable option, and setting the score for the target score cell in the manner indicated by the specified option includes: displaying a variable list for setting the score, In response to a selection operation on any variable in the variable list, the selected variable is determined as a variable of the target score cell or as a variable included in the score.

在一个实施例中,所述指定选项为选择参数选项,所述按照所述指定选项所指示的方式为所述目标分值单元格设置分值,包括:显示用于设置分值的参数列表,响应对所述参数列表中的任一参数的选择操作,将选择的参数确定为所述目标分值单元格的参数或确定为所述分值包括的参数。In one embodiment, the specified option is to select a parameter option, and setting the score for the target score cell in the manner indicated by the specified option includes: displaying a parameter list for setting the score, In response to a selection operation on any parameter in the parameter list, the selected parameter is determined as a parameter of the target score cell or as a parameter included in the score.

在一个实施例中,所述指定选项为选择方法选项,所述按照所述指定选项所指示的方式为所述目标分值单元格设置分值,包括:显示用于设置分值的方法列表,响应对所述方法列表中的任一方法的选择操作,将选择的方法确定为所述目标分值单元格的方法或确定为所述分值包括的方法。可选地,该方法可以为函数。In one embodiment, the specified option is a selection method option, and setting the score for the target score cell in the manner indicated by the specified option includes: displaying a list of methods for setting the score, In response to a selection operation on any method in the method list, the selected method is determined as the method of the target score cell or as the method included in the score. Optionally, the method can be a function.

在一个实施例中,前述用于设置判断条件的常量列表和用于设置分值的常量列表可以相同或不同,前述用于设置判断条件的变量列表和用于设置分值的变量列表可以相同或不同,前述用于设置判断条件的参数列表和用于设置分值的参数列表可以相同或不同。In one embodiment, the aforementioned constant list for setting the judgment condition and the constant list for setting the score can be the same or different, and the aforementioned variable list for setting the judgment condition and the variable list for setting the score can be the same or Differently, the aforementioned parameter list for setting the judgment condition and the parameter list for setting the score may be the same or different.

可见,图1所示的实施例中,终端可以从服务器获取评分卡的第一评分卡数据,并根据该第一评分卡数据在显示页面上绘制并展示该评分卡,终端还可以响应对该评分卡的编辑操作,对该评分卡进行编辑,得到该评分卡对应的第二评分卡数据,并将该第二评分卡数据发送至该服务器,以便该服务器利用该第二评分卡数据包括的评分规则进行评分。本发明使得终端能够展示评分卡,并对该展示的评分卡直接进行编辑,无需如现有技术中的需调出该评分卡对应的代码逻辑,并对该代码逻辑进行编辑从而实现对评分卡的编辑过程,采用本发明能够有效地提升对评分卡的编辑效率。It can be seen that in the embodiment shown in Figure 1, the terminal can obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data, and the terminal can also respond to the The editing operation of the scorecard is to edit the scorecard to obtain the second scorecard data corresponding to the scorecard, and send the second scorecard data to the server, so that the server can use the information included in the second scorecard data. scoring rules. The present invention enables the terminal to display the scorecard and directly edit the displayed scorecard without calling out the code logic corresponding to the scorecard as in the prior art and editing the code logic to realize the scorecard The editing process of the scorecard can be effectively improved by adopting the present invention.

请参与图3,为本发明实施例提供的一种数据处理方法的流程示意图。该方法可以应用于终端。具体地,该方法可以包括以下步骤:Please refer to FIG. 3 , which is a schematic flowchart of a data processing method provided by an embodiment of the present invention. This method can be applied to terminals. Specifically, the method may include the following steps:

S301、创建评分卡;S301. Create a scorecard;

S302、对所述评分卡进行遍历,得到所述评分卡的第一评分卡数据,并将所述第一评分卡数据发送至服务器,以便所述服务器利用所述第一评分卡数据包括的评分规则进行评分。S302. Traverse the scorecard to obtain the first scorecard data of the scorecard, and send the first scorecard data to the server, so that the server can use the score included in the first scorecard data Rules are scored.

本发明实施例中,终端可以创建评分卡,并对该评分卡进行遍历,得到该评分卡的第一评分卡数据,并将该第一评分卡数据发送至服务器,以便该服务器利用该第一评分卡数据包括的评分规则进行评分。In the embodiment of the present invention, the terminal can create a scorecard, traverse the scorecard, obtain the first scorecard data of the scorecard, and send the first scorecard data to the server, so that the server can use the first scorecard Scorecard data includes scoring rules for scoring.

在一个实施例中,终端创建评分卡,可以包括:终端在该显示页面上绘制并展示该评分卡的初始表头;终端基于该评分卡的初始表头创建该评分卡的表头以及该评分卡的表体。可选地,该显示页面可以为评分卡编辑页面。其中,初始表头是指未被编辑的表头,初始表头是指未被编辑的表体。在一个实施例中,终端能够从服务器获取评分卡的初始表头的信息,以便根据该初始表头的信息在该显示页面上绘制并展示该评分卡的初始表头。In one embodiment, the terminal creates the scorecard, which may include: the terminal draws and displays the initial header of the scorecard on the display page; the terminal creates the header of the scorecard and the scorecard based on the initial header of the scorecard The body of the card. Optionally, the display page may be a scorecard editing page. Wherein, the initial header refers to an unedited header, and the initial header refers to an unedited body. In one embodiment, the terminal can acquire the information of the initial header of the scorecard from the server, so as to draw and display the initial header of the scorecard on the display page according to the information of the initial header.

在一个实施例中,终端能够响应对该评分卡的初始表头的编辑操作,对该评分卡的初始表头进行编辑得到该评分卡的表头;终端还能够基于该初始表头或该表头创建初始表体,并响应对该评分卡的初始表体的编辑操作,对该评分卡的初始表体进行编辑,得到该评分卡的表体。In one embodiment, the terminal can respond to the edit operation of the initial header of the scorecard, and edit the initial header of the scorecard to obtain the header of the scorecard; the terminal can also obtain the header of the scorecard based on the initial header or the table The head creates an initial body, and in response to an edit operation of the initial body of the scorecard, edits the initial body of the scorecard to obtain the body of the scorecard.

在一个实施例中,对该评分卡的初始表头的编辑操作,可以包括以下至少一项:删除条件列的操作、添加条件列的操作、对初始表头中各单元格包括的信息的编辑操作。相应地,后续对该评分卡的表头的编辑操作以及对该评分卡编辑后得到的表头的编辑操作也可以参照上述操作,本发明实施例在此不做赘述。In one embodiment, the editing operation of the initial header of the scorecard may include at least one of the following: an operation of deleting a conditional column, an operation of adding a conditional column, and editing information contained in each cell in the initial header operate. Correspondingly, the subsequent editing operation of the header of the scorecard and the editing operation of the header obtained after editing the scorecard can also refer to the above operations, which will not be described in detail here in the embodiment of the present invention.

例如,参见图4,图4所示的显示页面包括初始表头和初始表体。当检测到对该评分卡的初始表头的触控操作时,终端可以在选择的列下方弹出工具栏。该工具栏包括以下选项:插入条件列,删除当前条件列。当检测到对“插入条件列”的选择操作时,终端还可以在该工具栏后弹出一个二级菜单。该二级菜单可以包括:前和后两个选项。当检测到对“前”的选择操作时,在该选择的列的前面增加一列。当检测到对“后”的选择操作时,在该选择的列后面增加一列。可选地,当检测到对“删除当前条件列”的选择操作时,终端可以删除该选择的列。For example, referring to FIG. 4, the display page shown in FIG. 4 includes an initial table header and an initial table body. When detecting a touch operation on the initial header of the scorecard, the terminal may pop up a toolbar under the selected column. The toolbar includes the following options: Insert Condition Column, Delete Current Condition Column. When detecting the selection operation of "Insert Condition Column", the terminal can also pop up a secondary menu behind the toolbar. The secondary menu may include two options: front and back. When a selection operation on "previous" is detected, a column is added in front of the selected column. When a selection operation on "behind" is detected, a column is added after the selected column. Optionally, when detecting a selection operation of "delete the current conditional column", the terminal may delete the selected column.

在一个实施例中,对该评分卡的初始表体的编辑操作,可以包括以下至少一项:为该评分卡添加行、为该评分卡配置用于设置判断规则的变量列表、为该评分卡配置用于设置判断规则的常量列表、为该评分卡配置用于设置判断规则的参数列表、为该评分卡配置用于设置分值的变量列表、为该评分卡配置用于设置分值的常量列表、为该评分卡配置用于设置分值的参数列表、为该评分卡配置用于设置分值的方法列表、为该评分卡设置对分值列包括的各分值的计算方式(如求和)、对该评分卡的初始表体中的条件单元格的编辑操作、对该评分卡的初始表体中的分值单元格的编辑操作。相应地,后续对该评分卡的表体的编辑操作以及对该评分卡编辑后得到的表体的编辑操作也可以参照上述操作,本发明实施例在此不做赘述。In one embodiment, the editing operation of the initial table body of the scorecard may include at least one of the following: adding rows to the scorecard, configuring a variable list for setting judgment rules for the scorecard, Configure a list of constants for setting judgment rules, configure a list of parameters for setting judgment rules for the scorecard, configure a list of variables for setting scores for the scorecard, configure constants for setting scores for the scorecard list, configure the parameter list for setting the score for the scorecard, configure the method list for setting the score for the scorecard, set the calculation method for each score included in the score column for the scorecard (such as calculating and ), edit operations on the condition cell in the initial body of the scorecard, edit operations on the score cell in the initial body of the scorecard. Correspondingly, the subsequent editing operations of the table body of the scorecard and the editing operation of the table body obtained after editing the scorecard can also refer to the above-mentioned operations, and the embodiments of the present invention will not repeat them here.

在一个实施例中,上述显示页面还可以包括工作菜单,该工作菜单包括以下任意一个或多个:添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项。其中,该添加一行选项,用于在被触控时在该评分卡的末尾新增一行单元格;其中,新增的一行单元格的列数与表头的列数相同;该注入常量选项,用于在被触控时展示常量配置界面,以实现为该评分卡预先配置常量的功能;该注入变量选项,用于在被触控时展示变量配置界面,以实现该评分卡预先配置变量的功能;该注入参数选项,用于在被触控时展示参数配置界面,以实现该评分卡预先配置参数的功能;该已注入数据选项,用于在被触控时展示已配置数据界面,该已配置数据界面包括为该评分卡已配置的数据;该已配置的数据包括以下任意一项或多项:已设置的常量、已设置的变量、已设置的参数。可选地,上述工作菜单还可以包括保存选项,该保存选项当被触发时用于保存评分卡数据,如第一评分卡数据、第二评分卡数据。可选地,上述显示页面还可以包括前述计算方式。例如,参见图5,图5所示的显示页面包括初始表头、添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项和保存选项,还包括计算方式:求和。In an embodiment, the above display page may further include a work menu, which includes any one or more of the following: add a row option, inject constant option, inject variable option, inject parameter option, and injected data option. Among them, the option to add a row is used to add a row of cells at the end of the scorecard when it is touched; the number of columns in the newly added row of cells is the same as the number of columns in the table header; the inject constant option, It is used to display the constant configuration interface when it is touched, so as to realize the function of pre-configuring constants for the scorecard; the injection variable option is used to display the variable configuration interface when it is touched, so as to realize the pre-configured variables of the scorecard function; the injected parameter option is used to display the parameter configuration interface when touched, so as to realize the function of pre-configured parameters of the scorecard; the injected data option is used to display the configured data interface when touched, the The configured data interface includes configured data for the scorecard; the configured data includes any one or more of the following: set constants, set variables, and set parameters. Optionally, the above work menu may also include a save option, which is used to save scorecard data when triggered, such as the first scorecard data and the second scorecard data. Optionally, the above display page may also include the above calculation method. For example, referring to Fig. 5, the display page shown in Fig. 5 includes an initial header, an option to add a row, an option to inject constants, an option to inject variables, an option to inject parameters, an option to inject data, and a save option, as well as a calculation method: summation.

在一个实施例中,终端响应对该注入常量选项的触控操作,展示常量配置界面,终端在该常量配置界面配置用于设置判断条件的常量列表和/或用于设置分值的常量列表。终端响应对该注入变量选项的触控操作,展示变量配置界面,终端在该变量配置界面配置用于设置判断条件的变量列表和/或用于设置分值的变量列表。终端响应对该注入参数选项的触控操作,展示参数配置界面,终端在该参数配置界面配置用于设置判断条件的参数列表和/或用于设置分值的参数列表。In one embodiment, the terminal displays a constant configuration interface in response to a touch operation on the inject constant option, and the terminal configures a constant list for setting judgment conditions and/or a constant list for setting scores on the constant configuration interface. The terminal displays a variable configuration interface in response to a touch operation on the injection variable option, and the terminal configures a variable list for setting judgment conditions and/or a variable list for setting score values on the variable configuration interface. The terminal displays a parameter configuration interface in response to a touch operation on the injection parameter option, and the terminal configures a parameter list for setting judgment conditions and/or a parameter list for setting score values on the parameter configuration interface.

S303、从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;S303. Obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and body information ;

S304、响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;S304. In response to the editing operation on the scorecard, edit the scorecard to obtain second scorecard data corresponding to the scorecard; the second scorecard data is obtained after editing the scorecard data;

S305、将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。S305. Send the second scorecard data to the server, so that the server performs scoring by using the scoring rules included in the second scorecard data.

其中,步骤S303-S305可参见图1实施例中的步骤S101-S103,本发明实施例在此不做赘述。For steps S303-S305, reference may be made to steps S101-S103 in the embodiment of FIG. 1 , and details are not described here in this embodiment of the present invention.

可见,图3所示的实施例中,终端能够创建评分卡,并得到评分卡的第一评分卡数据发送至服务器,以便服务器能够利用该第一评分卡数据进行评分,本发明使得终端能够在前端创建评分卡,有效地提升了对评分卡的编辑效率。It can be seen that in the embodiment shown in FIG. 3, the terminal can create a scorecard, and obtain the first scorecard data of the scorecard and send it to the server, so that the server can use the first scorecard data for scoring. The present invention enables the terminal to The front-end creates scorecards, which effectively improves the efficiency of editing scorecards.

请参阅图6,为本发明实施例提供的一种数据处理系统的网络架构示意图。该数据处理系统可以包括终端10和服务器20。终端10能够和服务器20建立通信。Please refer to FIG. 6 , which is a schematic diagram of a network architecture of a data processing system provided by an embodiment of the present invention. The data processing system may include a terminal 10 and a server 20 . The terminal 10 can establish communication with the server 20 .

本发明实施例中,终端10能够执行步骤S101,以根据从服务器20获取的第一评分卡数据绘制并展示评分卡,并可以执行步骤S102和步骤S103对该评分卡进行编辑,得到第二评分卡数据发送至服务器20,以便服务器20能够利用该第二评分卡数据进行评分,如征信评分。本发明实施例使得终端能够展示评分卡,并对该展示的评分卡直接进行编辑,有效地提升了对评分卡的编辑效率。In the embodiment of the present invention, the terminal 10 can execute step S101 to draw and display the scorecard according to the first scorecard data obtained from the server 20, and can execute steps S102 and S103 to edit the scorecard to obtain the second score The card data is sent to the server 20, so that the server 20 can use the second score card data for scoring, such as credit score. The embodiment of the present invention enables the terminal to display the scorecard and directly edit the displayed scorecard, which effectively improves the editing efficiency of the scorecard.

请参阅图7,为本发明实施例提供的一种数据处理装置的结构示意图。该装置可以应用于终端。具体地,该装置可以包括:Please refer to FIG. 7 , which is a schematic structural diagram of a data processing device provided by an embodiment of the present invention. The device can be applied to a terminal. Specifically, the device may include:

获取模块701,用于从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;The obtaining module 701 is used to obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and table body information; the table body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each scoring rule corresponds to Each cell includes the condition cell where the judgment condition is located and the score cell where the score is located;

处理模块702,用于响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;The processing module 702 is configured to edit the scorecard in response to the editing operation on the scorecard to obtain second scorecard data corresponding to the scorecard; the second scorecard data is the The data obtained after editing;

通信模块703,用于将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。The communication module 703 is configured to send the second scorecard data to the server, so that the server performs scoring by using the scoring rules included in the second scorecard data.

在一种可选的实施方式中,获取模块701,具体用于从所述服务器获取评分卡的第一评分卡数据,所述第一评分卡数据分为第一信息组和第二信息组;所述第一信息组保存了所述表头信息,所述第二信息组保存了所述表体信息;分别对所述第一信息组和所述第二信息组进行遍历,以在显示页面上绘制并展示所述评分卡,所述评分卡包括根据所述表头信息得到的表头以及根据所述表体信息得到的表体。In an optional implementation manner, the acquiring module 701 is specifically configured to acquire first scorecard data of the scorecard from the server, the first scorecard data being divided into a first information group and a second information group; The first information group saves the header information, and the second information group saves the body information; respectively traverse the first information group and the second information group to display the page Draw and display the scorecard on the screen, and the scorecard includes a header obtained according to the header information and a body obtained according to the body information.

在一种可选的实施方式中,所述第二信息组的类型为二维数组,对所述第二信息组进行遍历的方式为双重遍历;所述单元格的信息包括行信息、列信息、跨行的信息和跨列的信息。In an optional implementation manner, the type of the second information group is a two-dimensional array, and the way of traversing the second information group is double traversal; the information of the cell includes row information, column information , information across rows, and information across columns.

在一种可选的实施方式中,处理模块702响应对所述评分卡的编辑操作,对所述评分卡进行编辑,具体为当检测到对所述评分卡的表体中的目标条件单元格的触控操作时,显示第一下拉菜单,所述第一下拉菜单包括以下任意一项或多项:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项、粘贴选项;当检测到对所述第一下拉菜单中的目标选项的触控操作时,按照所述目标选项所指示的方式对所述目标条件单元格进行处理。In an optional implementation manner, the processing module 702 edits the scorecard in response to the editing operation on the scorecard, specifically when detecting that the target condition cell in the table body of the scorecard When the touch operation is performed, the first drop-down menu is displayed, and the first drop-down menu includes any one or more of the following: configure conditional options, add conditional row options, delete conditional row options, clear conditional row options, copy options . Pasting an option; when a touch operation on a target option in the first drop-down menu is detected, process the target condition cell in a manner indicated by the target option.

在一种可选的实施方式中,所述评分卡中的每个单元格对应设有可编辑组件,以用于使相应单元格处于可编辑状态。In an optional implementation manner, each cell in the scorecard is correspondingly provided with an editable component for making the corresponding cell in an editable state.

在一种可选的实施方式中,处理模块702响应对所述评分卡的编辑操作,对所述评分卡进行编辑,具体为当检测到对所述评分卡的表体中的目标分值单元格的触控操作时,显示第二下拉菜单,所述第二下拉菜单包括输入值选项、选择常量选项、选择变量选项、选择参数选项、选择方法选项;当检测到对所述第二下拉菜单中的指定选项的触控操作时,按照所述指定选项所指示的方式为所述目标分值单元格设置分值。In an optional implementation manner, the processing module 702 edits the scorecard in response to the editing operation on the scorecard, specifically when detecting that the target score unit in the table body of the scorecard During the touch operation of the cell, a second drop-down menu is displayed, and the second drop-down menu includes input value options, selection constant options, selection variable options, selection parameter options, and selection method options; When the touch operation of the specified option in , set the score value for the target score cell in the manner indicated by the specified option.

在一种可选的实施方式中,所述显示页面还包括工作菜单,所述工作菜单包括以下任意一个或多个:添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项;所述添加一行选项,用于在被触控时在所述评分卡的末尾新增一行单元格;其中,新增的一行单元格的列数与表头的列数相同;所述注入常量选项,用于在被触控时展示常量配置界面,以实现为所述评分卡预先配置常量的功能;所述注入变量选项,用于在被触控时展示变量配置界面,以实现所述评分卡预先配置变量的功能;所述注入参数选项,用于在被触控时展示参数配置界面,以实现所述评分卡预先配置参数的功能;所述已注入数据选项,用于在被触控时展示已配置数据界面,所述已配置数据界面包括为所述评分卡已配置的数据;所述已配置的数据包括以下任意一项或多项:已设置的常量、已设置的变量、已设置的参数。In an optional implementation manner, the display page further includes a work menu, and the work menu includes any one or more of the following: add a row option, inject constant option, inject variable option, inject parameter option, injected data option; the option to add a row is used to add a new row of cells at the end of the scorecard when being touched; wherein, the number of columns of the newly added row of cells is the same as the number of columns of the header; the injection The constant option is used to display a constant configuration interface when being touched, so as to realize the function of pre-configuring constants for the scorecard; the injection variable option is used to display a variable configuration interface when being touched, to realize the described The function of pre-configured variables of the score card; the injection parameter option is used to display the parameter configuration interface when touched, so as to realize the function of the pre-configured parameters of the score card; the injected data option is used to display the parameter configuration interface when touched Time-controlled display of the configured data interface, the configured data interface includes configured data for the scorecard; the configured data includes any one or more of the following: set constants, set variables, parameters that have been set.

在一种可选的实施方式中,处理模块702,还用于在获取模块701从服务器获取评分卡的第一评分卡数据前,创建评分卡;对所述评分卡进行遍历,得到所述评分卡的第一评分卡数据,并通过通信模块703将所述第一评分卡数据发送至服务器,以便所述服务器利用所述第一评分卡数据包括的评分规则进行评分。In an optional implementation manner, the processing module 702 is further configured to create a scorecard before the obtaining module 701 acquires the first scorecard data of the scorecard from the server; traverse the scorecard to obtain the score The first scorecard data of the card, and send the first scorecard data to the server through the communication module 703, so that the server can use the scoring rules included in the first scorecard data to perform scoring.

可见,图7所示的实施例中,终端可以从服务器获取评分卡的第一评分卡数据,并根据该第一评分卡数据在显示页面上绘制并展示该评分卡,终端能够响应对该评分卡的编辑操作,对该评分卡进行编辑,得到该评分卡对应的第二评分卡数据,并将该第二评分卡数据发送至该服务器,以便该服务器利用该第二评分卡数据包括的评分规则进行评分。本发明使得终端能够展示评分卡,并对该展示的评分卡直接进行编辑,无需如现有技术中的需调出该评分卡对应的代码逻辑,并对该代码逻辑进行编辑从而实现对评分卡的编辑过程,采用本发明能够有效地提升对评分卡的编辑效率。It can be seen that in the embodiment shown in FIG. 7, the terminal can obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data, and the terminal can respond to the scorecard. The editing operation of the scorecard is to edit the scorecard to obtain the second scorecard data corresponding to the scorecard, and send the second scorecard data to the server so that the server can use the score included in the second scorecard data Rules are scored. The present invention enables the terminal to display the scorecard and directly edit the displayed scorecard without calling out the code logic corresponding to the scorecard as in the prior art and editing the code logic to realize the scorecard The editing process of the scorecard can be effectively improved by adopting the present invention.

请参阅图8,为本发明实施例提供的一种终端的结构示意图。其中,本实施例中所描述的终端可以包括:处理器1000、一个或多个输入设备2000、一个或多个输出设备3000,存储器4000。处理器1000。该一个或多个输入设备2000、一个或多个输出设备3000,存储器4000之间可以通过总线或其它方式连接。输入设备2000包括但不限于触摸屏、录音器、传感器等设备。输出设备3000包括但不限于显示屏、扬声器等设备。在一个实施例中,该触摸屏和显示屏还可以替换为触摸显示屏。输入设备2000和输出设备3000还可以包括标准的有线或无线通信接口。Please refer to FIG. 8 , which is a schematic structural diagram of a terminal provided by an embodiment of the present invention. Wherein, the terminal described in this embodiment may include: a processor 1000 , one or more input devices 2000 , one or more output devices 3000 , and a memory 4000 . Processor 1000. The one or more input devices 2000, one or more output devices 3000, and the memory 4000 may be connected through a bus or in other ways. The input device 2000 includes but not limited to touch screen, recorder, sensor and other devices. The output device 3000 includes but not limited to display screen, speaker and other devices. In one embodiment, the touch screen and the display screen can also be replaced by a touch display screen. The input device 2000 and the output device 3000 may also include standard wired or wireless communication interfaces.

处理器1000可以是中央处理模块(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 1000 may be a central processing module (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) , off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

存储器4000可以是高速RAM存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。存储器4000用于存储一组程序代码,处理器1000、输入设备2000和输出设备3000可以调用存储器4000中存储的程序代码。具体地:The memory 4000 can be a high-speed RAM memory, or a non-volatile memory, such as a disk memory. The memory 4000 is used to store a set of program codes, and the processor 1000 , the input device 2000 and the output device 3000 can call the program codes stored in the memory 4000 . specifically:

处理器1000,用于从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;通过输出设备3000将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。Processor 1000, configured to acquire first scorecard data of the scorecard from a server, and draw and display the scorecard on a display page according to the first scorecard data; the first scorecard data includes header information and table body information; the table body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each scoring rule corresponds to Each cell includes the condition cell where the judgment condition is located and the score cell where the score is located; in response to the editing operation on the score card, edit the score card to obtain the corresponding The second scorecard data; the second scorecard data is the data obtained after editing the scorecard; the second scorecard data is sent to the server through the output device 3000, so that the server can use the scoring according to the scoring rules included in the second scorecard data.

可选地,处理器1000,从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡,具体为从所述服务器获取评分卡的第一评分卡数据,所述第一评分卡数据分为第一信息组和第二信息组;所述第一信息组保存了所述表头信息,所述第二信息组保存了所述表体信息;分别对所述第一信息组和所述第二信息组进行遍历,以通过输出设备3000在显示页面上绘制并展示所述评分卡,所述评分卡包括根据所述表头信息得到的表头以及根据所述表体信息得到的表体。Optionally, the processor 1000 acquires the first scorecard data of the scorecard from the server, and draws and displays the scorecard on the display page according to the first scorecard data, specifically acquiring the scorecard from the server The first scorecard data, the first scorecard data is divided into the first information group and the second information group; the first information group saves the header information, and the second information group saves the Table body information: respectively traversing the first information group and the second information group to draw and display the scorecard on the display page through the output device 3000, the scorecard includes The obtained table header and the table body obtained according to the table body information.

可选地,所述第二信息组的类型为二维数组,对所述第二信息组进行遍历的方式为双重遍历;所述单元格的信息包括行信息、列信息、跨行的信息和跨列的信息。Optionally, the type of the second information group is a two-dimensional array, and the way of traversing the second information group is double traversal; the information of the cell includes row information, column information, cross-row information, and cross-row information. column information.

可选地,处理器1000响应对所述评分卡的编辑操作,对所述评分卡进行编辑,具体为当通过输入设备2000检测到对所述评分卡的表体中的目标条件单元格的触控操作时,显示第一下拉菜单,所述第一下拉菜单包括以下任意一项或多项:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项、粘贴选项;当通过输入设备2000检测到对所述第一下拉菜单中的目标选项的触控操作时,按照所述目标选项所指示的方式对所述目标条件单元格进行处理。Optionally, the processor 1000 edits the scorecard in response to an editing operation on the scorecard, specifically when the input device 2000 detects a touch on the target condition cell in the table body of the scorecard When the control operation is performed, the first drop-down menu is displayed, and the first drop-down menu includes any one or more of the following: configure conditional options, add conditional row options, delete conditional row options, clear conditional row options, copy options, paste Options: when a touch operation on a target option in the first pull-down menu is detected through the input device 2000, the target condition cell is processed in the manner indicated by the target option.

可选地,所述评分卡中的每个单元格对应设有可编辑组件,以用于使相应单元格处于可编辑状态。Optionally, each cell in the scorecard is correspondingly provided with an editable component for making the corresponding cell in an editable state.

可选地,处理器1000响应对所述评分卡的编辑操作,对所述评分卡进行编辑,具体为当通过输入设备2000检测到对所述评分卡的表体中的目标分值单元格的触控操作时,通过输出设备3000显示第二下拉菜单,所述第二下拉菜单包括输入值选项、选择常量选项、选择变量选项、选择参数选项、选择方法选项;当通过输入设备2000检测到对所述第二下拉菜单中的指定选项的触控操作时,按照所述指定选项所指示的方式为所述目标分值单元格设置分值。Optionally, the processor 1000 edits the scorecard in response to the editing operation on the scorecard, specifically when the input device 2000 detects that the target score cell in the table body of the scorecard During touch operation, the second pull-down menu is displayed through the output device 3000, and the second pull-down menu includes input value options, selection constant options, selection variable options, selection parameter options, and selection method options; When the specified option in the second pull-down menu is touched, the score value is set for the target score cell in the manner indicated by the specified option.

可选地,所述显示页面还包括工作菜单,所述工作菜单包括以下任意一个或多个:添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项;所述添加一行选项,用于在被触控时在所述评分卡的末尾新增一行单元格;其中,新增的一行单元格的列数与表头的列数相同;所述注入常量选项,用于在被触控时展示常量配置界面,以实现为所述评分卡预先配置常量的功能;所述注入变量选项,用于在被触控时展示变量配置界面,以实现所述评分卡预先配置变量的功能;所述注入参数选项,用于在被触控时展示参数配置界面,以实现所述评分卡预先配置参数的功能;所述已注入数据选项,用于在被触控时展示已配置数据界面,所述已配置数据界面包括为所述评分卡已配置的数据;所述已配置的数据包括以下任意一项或多项:已设置的常量、已设置的变量、已设置的参数。Optionally, the display page further includes a work menu, and the work menu includes any one or more of the following: add a row option, inject constant option, inject variable option, inject parameter option, injected data option; option, which is used to add a row of cells at the end of the scorecard when being touched; wherein, the number of columns of the newly added row of cells is the same as the number of columns of the header; the injection constant option is used to add a row of cells at the end of the scorecard displaying a constant configuration interface when being touched, so as to realize the function of preconfiguring constants for the scorecard; Function; the injection parameter option is used to display the parameter configuration interface when being touched, so as to realize the function of pre-configured parameters of the scorecard; the injected data option is used to display the configured data when being touched Interface, the configured data interface includes configured data for the scorecard; the configured data includes any one or more of the following: set constants, set variables, and set parameters.

可选地,处理器1000,还用于从服务器获取评分卡的第一评分卡数据前,创建评分卡;对所述评分卡进行遍历,得到所述评分卡的第一评分卡数据,并通过输出设备3000将所述第一评分卡数据发送至服务器,以便所述服务器利用所述第一评分卡数据包括的评分规则进行评分。Optionally, the processor 1000 is further configured to create a scorecard before obtaining the first scorecard data of the scorecard from the server; traverse the scorecard to obtain the first scorecard data of the scorecard, and pass The output device 3000 sends the first scorecard data to the server, so that the server performs scoring using the scoring rules included in the first scorecard data.

具体实现中,本申请实施例中所描述的处理器1000、输入设备2000、输出设备3000可执行图1和图3实施例所描述的实现方式,也可执行本申请实施例所描述的实现方式,在此不再赘述。In a specific implementation, the processor 1000, the input device 2000, and the output device 3000 described in the embodiment of this application can execute the implementation described in the embodiment of Figure 1 and Figure 3, and can also execute the implementation described in the embodiment of the application , which will not be repeated here.

在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以是两个或两个以上模块集成在一个模块中。上述集成的模块既可以采样硬件的形式实现,也可以采样软件功能模块的形式实现。Each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of sampling hardware or in the form of sampling software function modules.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的介质为计算机可读存储介质,该计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the medium is a computer-readable storage medium, which can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM). )Wait.

以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the application, and of course it cannot limit the scope of rights of the application. Those of ordinary skill in the art can understand the whole or part of the process of realizing the above embodiments, and according to the rights of the application The equivalent changes required still belong to the scope covered by the invention.

Claims (10)

1.一种数据处理方法,其特征在于,包括:1. A data processing method, characterized in that, comprising: 从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;Obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and body information; The body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each cell corresponding to each scoring rule includes all The condition cell where the judgment condition is located and the score cell where the score is located; 响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;In response to the editing operation of the scorecard, the scorecard is edited to obtain second scorecard data corresponding to the scorecard; the second scorecard data is data obtained after editing the scorecard; 将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。Sending the second scorecard data to the server, so that the server performs scoring using the scoring rules included in the second scorecard data. 2.根据权利要求1所述的方法,其特征在于,所述从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡,包括:2. The method according to claim 1, wherein the first scorecard data of the scorecard is obtained from the server, and the scorecard is drawn and displayed on a display page according to the first scorecard data, include: 从所述服务器获取评分卡的第一评分卡数据,所述第一评分卡数据分为第一信息组和第二信息组;所述第一信息组保存了所述表头信息,所述第二信息组保存了所述表体信息;Obtain the first score card data of the score card from the server, the first score card data is divided into a first information group and a second information group; the first information group saves the header information, the second information group The second information group saves the body information; 分别对所述第一信息组和所述第二信息组进行遍历,以在显示页面上绘制并展示所述评分卡,所述评分卡包括根据所述表头信息得到的表头以及根据所述表体信息得到的表体。respectively traversing the first information group and the second information group to draw and display the scorecard on the display page, the scorecard including the header obtained according to the header information and the The table body obtained from table body information. 3.根据权利要求1或2所述的方法,其特征在于,3. The method according to claim 1 or 2, characterized in that, 所述第二信息组的类型为二维数组,对所述第二信息组进行遍历的方式为双重遍历;The type of the second information group is a two-dimensional array, and the way of traversing the second information group is double traversal; 所述单元格的信息包括行信息、列信息、跨行的信息和跨列的信息。The cell information includes row information, column information, row-crossing information, and column-crossing information. 4.根据权利要求1所述的方法,其特征在于,所述响应对所述评分卡的编辑操作,对所述评分卡进行编辑,包括:4. The method according to claim 1, wherein the editing operation of the scorecard in response to editing the scorecard comprises: 当检测到对所述评分卡的表体中的目标条件单元格的触控操作时,显示第一下拉菜单,所述第一下拉菜单包括以下任意一项或多项:配置条件选项、添加条件行选项、删除条件行选项、清空条件行选项、复制选项、粘贴选项;When a touch operation to the target condition cell in the table body of the scorecard is detected, a first drop-down menu is displayed, and the first drop-down menu includes any one or more of the following: configuration condition options, Add conditional row options, delete conditional row options, clear conditional row options, copy options, paste options; 当检测到对所述第一下拉菜单中的目标选项的触控操作时,按照所述目标选项所指示的方式对所述目标条件单元格进行处理。When a touch operation on a target option in the first drop-down menu is detected, the target condition cell is processed in a manner indicated by the target option. 5.根据权利要求1所述的方法,其特征在于,所述评分卡中的每个单元格对应设有可编辑组件,以用于使相应单元格处于可编辑状态,所述响应对所述评分卡的编辑操作,对所述评分卡进行编辑,包括:5. The method according to claim 1, wherein each cell in the scorecard is correspondingly provided with an editable component, so that the corresponding cell is in an editable state, and the response to the Scorecard editing operations, editing the scorecard, including: 当检测到对所述评分卡的表体中的目标分值单元格的触控操作时,显示第二下拉菜单,所述第二下拉菜单包括输入值选项、选择常量选项、选择变量选项、选择参数选项、选择方法选项;When a touch operation to the target score cell in the table body of the scorecard is detected, a second drop-down menu is displayed, and the second drop-down menu includes an input value option, a selection constant option, a selection variable option, a selection Parameter options, selection method options; 当检测到对所述第二下拉菜单中的指定选项的触控操作时,按照所述指定选项所指示的方式为所述目标分值单元格设置分值。When a touch operation on a specified option in the second pull-down menu is detected, set a score for the target score cell in a manner indicated by the specified option. 6.根据权利要求1所述的方法,其特征在于,所述显示页面还包括工作菜单,所述工作菜单包括以下任意一个或多个:添加一行选项、注入常量选项、注入变量选项、注入参数选项、已注入数据选项;6. The method according to claim 1, wherein the display page further includes a work menu, and the work menu includes any one or more of the following: add a row option, inject constant option, inject variable option, inject parameter options, injected data options; 所述添加一行选项,用于在被触控时在所述评分卡的末尾新增一行单元格;其中,新增的一行单元格的列数与表头的列数相同;The option of adding a row is used to add a row of cells at the end of the scorecard when being touched; wherein, the number of columns of the newly added row of cells is the same as that of the table header; 所述注入常量选项,用于在被触控时展示常量配置界面,以实现为所述评分卡预先配置常量的功能;The injection constant option is used to display a constant configuration interface when touched, so as to realize the function of pre-configuring constants for the scorecard; 所述注入变量选项,用于在被触控时展示变量配置界面,以实现所述评分卡预先配置变量的功能;The variable injection option is used to display a variable configuration interface when touched, so as to realize the function of pre-configuring variables of the scorecard; 所述注入参数选项,用于在被触控时展示参数配置界面,以实现所述评分卡预先配置参数的功能;The injection parameter option is used to display a parameter configuration interface when touched, so as to realize the function of pre-configuring parameters of the scorecard; 所述已注入数据选项,用于在被触控时展示已配置数据界面,所述已配置数据界面包括为所述评分卡已配置的数据;所述已配置的数据包括以下任意一项或多项:已设置的常量、已设置的变量、已设置的参数。The injected data option is used to display a configured data interface when touched, and the configured data interface includes the configured data for the scorecard; the configured data includes any one or more of the following Item: set constant, set variable, set parameter. 7.根据权利要求1所述的方法,其特征在于,所述从服务器获取评分卡的第一评分卡数据前,所述方法还包括:7. The method according to claim 1, wherein, before the first scorecard data obtained from the server, the method also includes: 创建评分卡;create scorecards; 对所述评分卡进行遍历,得到所述评分卡的第一评分卡数据,并将所述第一评分卡数据发送至服务器,以便所述服务器利用所述第一评分卡数据包括的评分规则进行评分。Traversing the scorecard to obtain the first scorecard data of the scorecard, and sending the first scorecard data to the server, so that the server can use the scoring rules included in the first scorecard data to perform score. 8.一种数据处理装置,其特征在于,包括:8. A data processing device, characterized in that it comprises: 获取模块,用于从服务器获取评分卡的第一评分卡数据,并根据所述第一评分卡数据在显示页面上绘制并展示所述评分卡;所述第一评分卡数据包括表头信息和表体信息;所述表体信息包括至少一条评分规则以及每条评分规则对应的各单元格的信息;其中,每条评分规则包括至少一个判断条件以及对应的分值,每条评分规则对应的各单元格包括所述判断条件所在的条件单元格以及所述分值所在的分值单元格;The acquisition module is used to obtain the first scorecard data of the scorecard from the server, and draw and display the scorecard on the display page according to the first scorecard data; the first scorecard data includes header information and Table body information; the table body information includes at least one scoring rule and the information of each cell corresponding to each scoring rule; wherein, each scoring rule includes at least one judgment condition and a corresponding score, and each scoring rule corresponds to Each cell includes a condition cell where the judgment condition is located and a score cell where the score is located; 处理模块,用于响应对所述评分卡的编辑操作,对所述评分卡进行编辑,得到所述评分卡对应的第二评分卡数据;所述第二评分卡数据为对所述评分卡编辑后得到的数据;A processing module, configured to edit the scorecard in response to an editing operation on the scorecard to obtain second scorecard data corresponding to the scorecard; the second scorecard data is the edited scorecard data obtained after 通信模块,用于将所述第二评分卡数据发送至所述服务器,以便所述服务器利用所述第二评分卡数据包括的评分规则进行评分。A communication module, configured to send the second scorecard data to the server, so that the server can perform scoring using the scoring rules included in the second scorecard data. 9.一种终端,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1-7任一项所述的方法。9. A terminal, characterized in that it includes a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used to store computer programs, and the The computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行以实现如权利要求1-7任一项所述的方法。10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1-7.
CN201910814069.0A 2019-08-30 2019-08-30 Data processing method, device, terminal and storage medium Pending CN110619116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910814069.0A CN110619116A (en) 2019-08-30 2019-08-30 Data processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910814069.0A CN110619116A (en) 2019-08-30 2019-08-30 Data processing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110619116A true CN110619116A (en) 2019-12-27

Family

ID=68922541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910814069.0A Pending CN110619116A (en) 2019-08-30 2019-08-30 Data processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110619116A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131510A (en) * 2020-09-29 2020-12-25 深圳市皓丽智能科技有限公司 Real-time scoring method, system, equipment and storage medium
CN114004689A (en) * 2021-11-03 2022-02-01 艾体威尔电子技术(北京)有限公司 Bank account checking data browsing system
CN115719181A (en) * 2022-11-24 2023-02-28 中电金信软件有限公司 Data quality analysis method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651575A (en) * 2016-12-30 2017-05-10 中国建设银行股份有限公司 Data processing method and device
CN107122220A (en) * 2017-04-12 2017-09-01 上海前隆金融信息服务有限公司 Construction method/system, business management method/system and the equipment of regulation engine
CN107992458A (en) * 2016-10-26 2018-05-04 腾讯科技(北京)有限公司 The generation method and device of form rule

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992458A (en) * 2016-10-26 2018-05-04 腾讯科技(北京)有限公司 The generation method and device of form rule
CN106651575A (en) * 2016-12-30 2017-05-10 中国建设银行股份有限公司 Data processing method and device
CN107122220A (en) * 2017-04-12 2017-09-01 上海前隆金融信息服务有限公司 Construction method/system, business management method/system and the equipment of regulation engine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131510A (en) * 2020-09-29 2020-12-25 深圳市皓丽智能科技有限公司 Real-time scoring method, system, equipment and storage medium
CN114004689A (en) * 2021-11-03 2022-02-01 艾体威尔电子技术(北京)有限公司 Bank account checking data browsing system
CN114004689B (en) * 2021-11-03 2024-12-31 艾体威尔电子技术(北京)有限公司 Bank reconciliation data browsing system
CN115719181A (en) * 2022-11-24 2023-02-28 中电金信软件有限公司 Data quality analysis method and device
CN115719181B (en) * 2022-11-24 2023-08-01 中电金信软件有限公司 Data quality analysis method and device

Similar Documents

Publication Publication Date Title
WO2020233053A1 (en) Method, apparatus, device, and storage medium for making test page script
CN110619116A (en) Data processing method, device, terminal and storage medium
US11567635B2 (en) Online collaborative document processing method and device
CN104407787A (en) Terminal
CN107066188A (en) A kind of method and terminal for sending screenshot picture
CN110119299A (en) Information display method and equipment
CN105824459A (en) Text reproducing and pasting method and mobile terminal
CN118605936A (en) A code comment generation method and related device
CN117520699A (en) Webpage understanding method, device, equipment and storage medium based on man-machine interaction
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN105677800A (en) Method and device for processing errors during webpage accessing
WO2024193545A1 (en) Information processing method and apparatus
CN107272989A (en) Using startup method, device and terminal device
CN111832268A (en) Information interaction method, readable storage medium and electronic device
CN116909454A (en) Image generation method, device, electronic equipment and storage medium
WO2023231860A1 (en) Input method and apparatus, and device and storage medium
CN114360536A (en) Voice data processing method, device, electronic device and storage medium
CN112966484A (en) Chart typesetting method and device, electronic equipment and readable storage medium
US11928147B2 (en) Slide storage method and apparatus
CN110597505A (en) A data processing method, device, terminal and storage medium
CN111897661A (en) Method and device for copying cell contents in spreadsheet and electronic equipment
CN111859871A (en) Data processing method, apparatus, device, and computer-readable storage medium
CN111666733B (en) Method and device for processing cells in document
CN103488643A (en) Method and device for browsing cloud massive data
US20170220231A1 (en) Mobile Terminal, and Mobile Terminal Webpage Window Processing Method and Electronic Device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191227

WD01 Invention patent application deemed withdrawn after publication