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
card
scoring
option
score
data
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

The embodiment of the invention provides a data processing method, a data processing device, a terminal and a storage medium, wherein the method comprises the following steps: acquiring first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; responding to the editing operation of the rating card, editing the rating card, and obtaining second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card; and sending the second grading card data to the server so that the server can grade by using a grading rule included in the second grading card data. By adopting the method and the device, the terminal can display the scoring card and can directly edit the displayed scoring card, so that the editing efficiency of the scoring card can be effectively improved.

Description

Data processing method, device, terminal and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, a terminal, and a storage medium.
Background
The scoring card is a means for measuring risk probability in a score form, and a plurality of scoring rules can be provided. The scoring cards can be classified into application scoring cards, behavior scoring cards, collection scoring cards and other types of scoring cards according to different functions of the scoring cards. There is also some difference in the scoring rules included on the different categories of scoring cards. Generally speaking, when a relevant person needs to edit a rating card, a code logic corresponding to the rating card may be called from a server, and after understanding the code logic corresponding to the rating rule, the code logic may be edited to implement an editing process for the rating card. However, the above editing method is time consuming, resulting in a very low editing efficiency for the score card.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device, a terminal and a storage medium, so that the terminal can display scoring cards and can directly edit the displayed scoring cards, and the editing efficiency of the scoring cards can be effectively improved.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
acquiring first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located;
responding to the editing operation of the rating card, editing the rating card, and obtaining second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card;
and sending the second grading card data to the server so that the server can grade by using a grading rule included in the second grading card data.
Optionally, the obtaining, from the server, first score card data of a score card, and drawing and displaying the score card on a display page according to the first score card data includes:
acquiring first scoring card data of a scoring card from the server, wherein the first scoring card data is divided into a first information group and a second information group; the first information group stores the header information, and the second information group stores the body information;
and traversing the first information group and the second information group respectively to draw and display the scoring card on a display page, wherein the scoring card comprises a header obtained according to the header information and a body obtained according to the body information.
Optionally, the type of the second information group is a two-dimensional array, and the traversing manner of the second information group is double traversing; the information of the cells comprises row information, column information, information crossing rows and information crossing columns.
Optionally, the editing the rating card in response to the editing operation on the rating card includes:
when the touch operation on the target condition cells in the table body of the score card is detected, displaying a first pull-down menu, wherein the first pull-down menu comprises any one or more of the following items: configuring a condition option, adding a condition line option, deleting a condition line option, clearing a condition line option, copying an option and pasting an option;
and when the touch operation on a target option in the first pull-down menu is detected, processing the target condition cell according to the mode indicated by the target option.
Optionally, each cell in the score card is correspondingly provided with an editable component for enabling the corresponding cell to be in an editable state, and the editing of the score card is performed in response to the editing operation on the score card, including:
when touch operation on a target score cell in a table body of the score card is detected, displaying a second pull-down menu, wherein the second pull-down menu comprises an input value option, a constant selection option, a variable selection option, a parameter selection option and a method selection option;
when touch operation on a designated option in the second pull-down menu is detected, setting a score for the target score cell in a manner indicated by the designated option.
Optionally, the display page further includes a work menu, and the work menu includes any one or more of: adding a row option, an injection constant option, an injection variable option, an injection parameter option, and an injected data option;
the adding one-line option is used for adding one line of cells at the tail of the scoring card when the scoring card is touched; the number of the newly added rows of unit cells is the same as that of the columns of the header;
the injection constant option is used for displaying a constant configuration interface when being touched so as to realize the function of pre-configuring constants for the score card;
the injection variable option is used for displaying a variable configuration interface when being touched so as to realize the function of pre-configuring the variables by the scoring card;
the injection parameter option is used for displaying a parameter configuration interface when being touched so as to realize the function of pre-configuring parameters of the scoring card;
the injected data option is used for displaying a configured data interface when being touched, and the configured data interface comprises data configured for the scoring card; the configured data includes any one or more of: a set constant, a set variable, a set parameter.
Optionally, before the obtaining the first score card data of the score card from the server, the method further includes:
creating a scoring card;
traversing the scoring card to obtain first scoring card data of the scoring card, and sending the first scoring card data to a server so that the server can score by using a scoring rule included in the first scoring card data.
In a second aspect, an embodiment of the present invention provides a data processing apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located;
the processing module is used for responding to the editing operation of the scoring card and editing the scoring card to obtain second scoring card data corresponding to the scoring card; the second scoring card data is obtained by editing the scoring card;
and the communication module is used for sending the second scoring card data to the server so that the server can score by using the scoring rules included in the second scoring card 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, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the method according to the first aspect.
In summary, the terminal may obtain first rating card data of the rating card from the server, draw and display the rating card on the display page according to the first rating card data, and the terminal may further respond to the editing operation on the rating card to edit the rating card to obtain second rating card data corresponding to the rating card, and may send the second rating card data to the server, so that the server scores by using a rating rule included in the second rating card data. The invention enables the terminal to display the scoring card and directly edit the displayed scoring card without calling out the code logic corresponding to the scoring card as in the prior art and editing the code logic so as to realize the editing process of the scoring card.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display page including a scorecard according to an embodiment of the present invention;
FIG. 3 is a flow chart of another data processing method provided by the embodiment of the invention;
FIG. 4 is a schematic diagram of a display page including an initial header and an initial body according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a display page including score card related components provided by an embodiment of the present invention;
FIG. 6 is a block diagram of a network architecture of a data processing system according to an embodiment of the present invention;
FIG. 7 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
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.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention. The method can be applied to a terminal. The terminal includes, but is not limited to, smart terminals such as smart phones, tablet computers, notebook computers, desktop computers, and the like. Specifically, the method may comprise the steps of:
s101, obtaining first scoring card data of scoring cards from a server, and drawing and displaying the scoring cards on a display page according to the first scoring card data.
The first scoring card data comprises header information and body information. The form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule. The information of each cell may include row information and column information, and may further include information across rows and information across columns. Each scoring rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each scoring rule comprises a condition cell where the judgment condition is located and a score cell where the score is located. For example, the scoring rule includes a scoring rule 1, and the scoring rule 1 includes a judgment condition 1, a judgment condition 2, and a corresponding score. The judgment condition 1 is age, the judgment condition 2 is less than or equal to 30 years, and the score is 12.
In one embodiment, the terminal acquires first rating card data of a rating card from a server, and draws and displays the rating card on a display page according to the first rating card data, which may include: the terminal acquires first scoring card data of the scoring card from the server, wherein the first scoring card data is divided into a first information group and a second information group; the first information group stores the header information, and the second information group stores the body information; and the terminal respectively traverses the first information group and the second information group so as to draw and display the scoring card on a display page, wherein the scoring card comprises a header obtained according to the header information and a body obtained according to the body information. In an embodiment, the 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 a plurality of elements of the same type. According to the embodiment of the invention, the scoring card in the form of the table can be accurately and effectively drawn and displayed on the display page by traversing the two arrays.
In one embodiment, the type of the second information group may be a two-dimensional array, and the traversing of the second information group is a double traversal. According to the embodiment of the invention, the efficiency of drawing and displaying the score cards can be effectively improved by performing double traversal on the second information group which is the two-dimensional array.
And S102, responding to the editing operation of the rating card, and editing the rating card to obtain second rating card data corresponding to the rating card.
S103, sending the second grading card data to the server so that the server can grade by using the grading rule included in the second grading card data.
And the second scoring card data is obtained by editing the scoring card. Accordingly, the second scorecard data may include header information and body information obtained by editing the scorecard.
The editing operation on the scoring card can comprise an editing operation on a header of the scoring card and/or an editing operation on a body of the scoring card.
In one embodiment, the editing operation on the header of the score card may include at least one of: deleting the condition column, adding the condition column, and editing the information included in each cell in the header.
In one embodiment, the editing operation on the body of the score card may include at least one of: adding rows to the rating card, configuring a variable list for setting a judgment rule for the rating card, configuring a constant list for setting a judgment rule for the rating card, configuring a parameter list for setting a judgment rule for the rating card, configuring a variable list for setting a score for the rating card, configuring a constant list for setting a score for the rating card, configuring a parameter list for setting a score for the rating card, configuring a method list for setting a score for the rating card, configuring a calculation manner (such as summation) for each score included in a score column for the rating card, editing a condition cell in a table body of the rating card, and editing a score cell in a table body of the rating card.
In one embodiment, the terminal edits the rating card in response to the editing operation on the rating card, and the editing operation comprises the following steps: when the touch operation on the target condition cells in the table body of the score card is detected, the terminal displays a first pull-down menu, wherein the first pull-down menu comprises any one or more of the following items: configuring a condition option, adding a condition line option, deleting a condition line option, clearing a condition line option, copying an option and pasting an option; and when the touch operation on the target option in the first pull-down menu is detected, the terminal processes the target condition cell according to the mode indicated by the target option. The touch operation includes, but is not limited to, a click operation of a mouse, a click operation of a finger, and the like.
Referring to fig. 2, a schematic diagram of a display page including a score card according to an embodiment of the present invention is provided. The first row of the scoring card is a table head, the second row of the scoring card is a table body until the last row of the scoring card is a table body, the first 3 cells of the table head comprise information of 'please select parameters or variables', and the last 1 cell of the table head comprises information of 'scoring'. The table body comprises each cell corresponding to each scoring rule. Each condition cell of the table body includes information "please select a parameter or a variable", and each score cell of the table body of fig. 2 includes information "please select a type". In fig. 2, when a touch operation on a conditional cell is detected, such as a right-click operation of a mouse, the terminal can display a first pull-down menu as shown in fig. 2, where the first pull-down menu includes: configuring a condition option, adding a condition row option, deleting a condition row option, clearing a condition row option, copying an option and pasting an option, and when the touch operation on the target option in the first pull-down menu is detected, the terminal processes the condition cell in a mode indicated by the target option.
The scoring card shown in fig. 2 is only an example of the present invention, and is not meant to limit the present invention. For example, the initial information included in each condition cell and the initial information included in each score cell of the table body of fig. 2 may be replaced with other information or be null. And the information included in each condition cell of the table body can be replaced with the corresponding judgment condition subsequently. The information included in each score cell of the table body can be replaced with the corresponding score subsequently.
In one embodiment, the target option is a configuration condition option, and the terminal processes the target condition cell according to a mode indicated by the target option, including: and the terminal displays a text input box and determines an object input in the text input box as a judgment condition of the target condition cell. The object is a variable, a constant or a parameter. Optionally, the terminal may fill the input object into the target cell. Optionally, when the terminal detects a click operation on a confirmation button corresponding to the text input box, the terminal triggers the step of determining the object input in the text input box as the judgment condition of the target condition cell.
In one embodiment, the target option is a configuration condition option, and the terminal processes the target condition cell according to a mode indicated by the target option, including: the terminal displays a judgment condition selection menu, wherein the judgment condition selection menu comprises at least one of the following items: selecting a variable option, a constant option and a parameter option; and when the touch operation aiming at the first option in the judgment condition selection menu is detected, the terminal processes the target condition cell according to the mode indicated by the first option.
In one embodiment, the first option is a selection variable option, and the processing the target condition cell in the manner indicated by the first option includes: and the terminal displays a variable list for setting a judgment condition, responds to the selection operation of any variable in the variable list for setting the judgment condition and determines the selected variable as the judgment condition of the target condition cell.
In one embodiment, the first option is a constant option, and the processing of the target conditional cell by the terminal according to the manner indicated by the first option includes: and the terminal displays a constant list for setting a judgment condition, responds to the selection operation of any constant in the constant list for setting the judgment condition, and determines the selected constant as the judgment condition of the target condition cell.
In one embodiment, the first option is a selection parameter option, and the processing of the target condition cell by the terminal according to the manner indicated by the first option includes: and the terminal displays a parameter list for setting a judgment condition, responds to the selection operation of any parameter in the parameter list for setting the judgment condition, and determines the selected parameter as the judgment condition of the target condition cell.
In one embodiment, the target option is an add condition row option, and the terminal processes the target condition cell according to a mode indicated by the target option, including: and the terminal inserts a condition cell above or below the target condition cell.
In one embodiment, the target option is a delete condition line option, and the terminal processes the target condition cell according to a mode indicated by the target option, including: and the terminal deletes the target condition cell or deletes the row of the target condition cell.
In one embodiment, the target option is an emptying condition line option, and the terminal processes the target condition cell according to a mode indicated by the target option, including: and the terminal deletes the information included in the target condition cell, such as the judgment condition.
In one embodiment, the target option is a copy option, and the processing of the target condition cell by the terminal according to the manner indicated by the target option includes: and the terminal copies the information included in the target condition cell, such as the judgment condition.
In one embodiment, the target option is a paste option, and the processing of the target condition cell by the terminal according to the mode indicated by the target option includes: and the terminal pastes the copied information to the target condition cell.
In one embodiment, when touch operation on a target score cell in a table body of the score card is detected, displaying a second pull-down menu, wherein the second pull-down menu comprises an input value option, a constant option, a variable option, a parameter option and a method option; when touch operation on a designated option in the second pull-down menu is detected, setting a score for the target score cell in a manner indicated by the designated option. The score may be a numerical value or an expression. And the target score unit cell is any score unit cell in the table body.
In one embodiment, the specifying option is an input value option, and the setting a score for the target score cell in a manner indicated by the specifying option includes: and displaying the text input box, and acquiring the score input in the text input box.
In one embodiment, the selecting a constant option as the designated option, and the setting a score for the target score cell in the manner indicated by the designated option includes: displaying a constant list for setting the score, and determining the selected constant as the score of the target score unit cell or as the constant included in the score in response to the selection operation of any constant in the constant list.
In one embodiment, the specifying an option is a selection variable option, and the setting a score for the target score cell in a manner indicated by the specifying an option includes: and displaying a variable list for setting the score, and determining the selected variable as the variable of the target score unit cell or the variable included in the score in response to a selection operation of any variable in the variable list.
In one embodiment, the specifying an option is a selection parameter option, and the setting a score for the target score cell in a manner indicated by the specifying an option includes: and displaying a parameter list for setting the score, and determining the selected parameter as the parameter of the target score unit or the parameter included in the score in response to the selection operation of any parameter in the parameter list.
In one embodiment, the specifying option is a selection method option, and the setting of the score for the target score cell in the manner indicated by the specifying option includes: displaying a method list for setting a score, and determining a selected method as a method of the target score cell or a method included in the score in response to a selection operation of any method in the method list. Alternatively, the method may be a function.
In one embodiment, the constant list for setting the judgment condition and the constant list for setting the score may be the same or different, the variable list for setting the judgment condition and the variable list for setting the score may be the same or different, and the parameter list for setting the judgment condition and the parameter list for setting the score may be the same or different.
As can be seen, in the embodiment shown in fig. 1, the terminal may obtain first rating card data of a rating card from the server, draw and display the rating card on the display page according to the first rating card data, and the terminal may further respond to an editing operation on the rating card, edit the rating card, obtain second rating card data corresponding to the rating card, and send the second rating card data to the server, so that the server performs rating using a rating rule included in the second rating card data. The invention enables the terminal to display the scoring card and directly edit the displayed scoring card without calling out the code logic corresponding to the scoring card as in the prior art and editing the code logic so as to realize the editing process of the scoring card.
Please refer to fig. 3, which is a flowchart illustrating a data processing method according to an embodiment of the present invention. The method can be applied to a terminal. Specifically, the method may comprise the steps of:
s301, creating a scoring card;
s302, traversing the scoring card to obtain first scoring card data of the scoring card, and sending the first scoring card data to a server so that the server can score by using a scoring rule included in the first scoring card data.
In the embodiment of the invention, the terminal can create the scoring card, traverse the scoring card to obtain the first scoring card data of the scoring card, and send the first scoring card data to the server, so that the server scores by using the scoring rule included in the first scoring card data.
In one embodiment, the terminal creates a score card, which may include: the terminal draws and displays the initial header of the scoring card on the display page; and the terminal creates a header of the scoring card and a body of the scoring card based on the initial header of the scoring card. Alternatively, the display page may be a score card editing page. The initial header refers to an unedited header, and the initial header refers to an unedited table body. In one embodiment, the terminal can obtain information of an initial header of the rating card from the server so as to draw and display the initial header of the rating card on the display page according to the information of the initial header.
In one embodiment, the terminal can respond to the editing operation on the initial header of the rating card and edit the initial header of the rating card to obtain the header of the rating card; the terminal can also create an initial form body based on the initial form head or the form head, and respond to the editing operation of the initial form body of the scoring card to edit the initial form body of the scoring card to obtain the form body of the scoring card.
In one embodiment, the editing operation on the initial header of the rating card may include at least one of: deleting the condition column, adding the condition column, and editing the information included in each cell in the initial header. Correspondingly, the following editing operation on the header of the rating card and the editing operation on the header obtained after editing the rating card may also refer to the above operations, which is not described herein again in the embodiments of the present invention.
For example, referring to FIG. 4, the display page shown in FIG. 4 includes an initial header and an initial body. When a touch operation on the initial header of the rating card is detected, the terminal can pop up a toolbar below the selected column. The toolbar includes the following options: and inserting a condition column and deleting the current condition column. When the selection operation of the 'insert condition column' is detected, the terminal can also pop up a secondary menu behind the toolbar. The secondary menu may include: the first and last two options. When a selection operation for "previous" is detected, a column is added in front of the selected column. When a select operation to "after" is detected, a column is added after the selected column. Alternatively, when a selection operation of "delete current condition column" is detected, the terminal may delete the selected column.
In one embodiment, the editing operation on the initial form of the score card may include at least one of: adding rows to the rating card, configuring a variable list for setting a judgment rule for the rating card, configuring a constant list for setting a judgment rule for the rating card, configuring a parameter list for setting a judgment rule for the rating card, configuring a variable list for setting a score for the rating card, configuring a constant list for setting a score for the rating card, configuring a parameter list for setting a score for the rating card, configuring a method list for setting a score for the rating card, configuring a calculation manner (such as summation) for each score included in the score list for the rating card, editing a condition cell in an initial table body of the rating card, and editing a score cell in the initial table body of the rating card. Correspondingly, the following editing operation on the table body of the rating card and the editing operation on the table body obtained after editing the rating card can also refer to the above operations, and the embodiment of the present invention is not described herein again.
In one embodiment, the display page may further include a work menu, and the work menu includes any one or more of the following: add one row option, inject constant option, inject variable option, inject parameter option, injected data option. The method comprises the steps that a row of options are added, and a row of cells are newly added at the tail of a score card when the score card is touched; the number of the newly added rows of unit cells is the same as that of the columns of the header; the injection constant option is used for displaying a constant configuration interface when being touched so as to realize the function of pre-configuring the constants for the score card; the injection variable option is used for displaying a variable configuration interface when being touched so as to realize the function of pre-configuring the variables by the scoring card; the injection parameter option is used for displaying a parameter configuration interface when being touched so as to realize the function of pre-configuring parameters of the scoring card; the injected data option is used for displaying a configured data interface when being touched, and the configured data interface comprises data configured for the scoring card; the configured data includes any one or more of: a set constant, a set variable, a set parameter. Optionally, the work menu may further include a save option, and the save option is used for saving the scorecard data when being triggered, such as the first scorecard data and the second scorecard data. Optionally, the display page may further include the foregoing calculation manner. For example, referring to fig. 5, the display page shown in fig. 5 includes an initial header, an add-one-row option, an inject constant option, an inject variable option, an inject parameter option, an injected data option, and a save option, and further includes a calculation mode: and (6) summing.
In one embodiment, the terminal responds to the touch operation on the constant injection option, presents a constant configuration interface, and configures a constant list for setting the judgment condition and/or a constant list for setting the score on the constant configuration interface. And the terminal responds to the touch operation of the injected variable option and displays a variable configuration interface, and the terminal configures a variable list for setting a judgment condition and/or a variable list for setting a score on the variable configuration interface. And the terminal responds to the touch operation of the injection parameter option, displays a parameter configuration interface, and configures a parameter list for setting a judgment condition and/or a parameter list for setting a score on the parameter configuration interface.
S303, obtaining first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information;
s304, responding to the editing operation of the rating card, editing the rating card, and obtaining second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card;
s305, sending the second scoring card data to the server so that the server can score according to scoring rules included in the second scoring card data.
Steps S303 to S305 can refer to steps S101 to S103 in the embodiment of fig. 1, and the embodiment of the present invention is not described herein again.
Therefore, in the embodiment shown in fig. 3, the terminal can create the rating card and obtain the first rating card data of the rating card and send the first rating card data to the server, so that the server can perform rating by using the first rating card data.
Please refer to fig. 6, which is a schematic diagram of a network architecture of a data processing system according to an embodiment of the present invention. The data processing system may include a terminal 10 and a server 20. The terminal 10 is capable of establishing communication with the server 20.
In this embodiment of the present invention, the terminal 10 can execute step S101 to draw and display the rating card according to the first rating card data acquired from the server 20, and can execute step S102 and step S103 to edit the rating card to obtain second rating card data, and send the second rating card data to the server 20, so that the server 20 can perform rating, such as credit rating, by using the second rating card data. The embodiment of the invention enables the terminal to display the scoring cards and directly edit the displayed scoring cards, thereby effectively improving the editing efficiency of the scoring cards.
Fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention. The apparatus can be applied to a terminal. Specifically, the apparatus may include:
the obtaining module 701 is used for obtaining first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located;
the processing module 702 is configured to respond to an editing operation on the rating card, and edit the rating card to obtain second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card;
the communication module 703 is configured to send the second card scoring data to the server, so that the server scores according to a scoring rule included in the second card scoring data.
In an optional implementation manner, the obtaining module 701 is specifically configured to obtain first scoring card data of a scoring card from the server, where the first scoring card data is divided into a first information group and a second information group; the first information group stores the header information, and the second information group stores the body information; and traversing the first information group and the second information group respectively to draw and display the scoring card on a display page, wherein the scoring card comprises 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 traversing manner of the second information group is double traversing; the information of the cells comprises row information, column information, information crossing rows and information crossing columns.
In an alternative embodiment, the processing module 702 edits the score card in response to an editing operation on the score card, specifically, displays a first pull-down menu when a touch operation on a target condition cell in a table body of the score card is detected, where the first pull-down menu includes any one or more of the following items: configuring a condition option, adding a condition line option, deleting a condition line option, clearing a condition line option, copying an option and pasting an option; and when the touch operation on a target option in the first pull-down menu is detected, processing the target condition cell according to the mode indicated by the target option.
In an alternative embodiment, each cell in the score card is provided with an editable component correspondingly, so that the corresponding cell is in an editable state.
In an optional implementation manner, the processing module 702 edits the score card in response to an editing operation on the score card, specifically, when a touch operation on a target score cell in a table body of the score card is detected, displays a second pull-down menu, where the second pull-down menu includes an input value option, a constant selection option, a variable selection option, a parameter selection option, and a method selection option; when touch operation on a designated option in the second pull-down menu is detected, setting a score for the target score cell in a manner indicated by the designated option.
In an optional embodiment, the display page further comprises a work menu, the work menu comprising any one or more of: adding a row option, an injection constant option, an injection variable option, an injection parameter option, and an injected data option; the adding one-line option is used for adding one line of cells at the tail of the scoring card when the scoring card is touched; the number of the newly added rows of unit cells is the same as that of the columns of the header; the injection constant option is used for displaying a constant configuration interface when being touched so as to realize the function of pre-configuring constants for the score card; the injection variable option is used for displaying a variable configuration interface when being touched so as to realize the function of pre-configuring the variables by the scoring card; the injection parameter option is used for displaying a parameter configuration interface when being touched so as to realize the function of pre-configuring parameters of the scoring card; the injected data option is used for displaying a configured data interface when being touched, and the configured data interface comprises data configured for the scoring card; the configured data includes any one or more of: a set constant, a set variable, a set parameter.
In an optional embodiment, the processing module 702 is further configured to create a score card before the obtaining module 701 obtains the first score card data of the score card from the server; traversing the scoring card to obtain first scoring card data of the scoring card, and sending the first scoring card data to a server through a communication module 703, so that the server scores by using a scoring rule included in the first scoring card data.
As can be seen, in the embodiment shown in fig. 7, the terminal may obtain first rating card data of a rating card from the server, and draw and display the rating card on the display page according to the first rating card data, and the terminal may respond to an editing operation on the rating card, edit the rating card, obtain second rating card data corresponding to the rating card, and send the second rating card data to the server, so that the server performs rating using a rating rule included in the second rating card data. The invention enables the terminal to display the scoring card and directly edit the displayed scoring card without calling out the code logic corresponding to the scoring card as in the prior art and editing the code logic so as to realize the editing process of the scoring card.
Fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention. 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. A processor 1000. The one or more input devices 2000, the one or more output devices 3000, and the memory 4000 may be connected by a bus or other means. Input devices 2000 include, but are not limited to, touch screens, sound recorders, sensors, and the like. Output devices 3000 include, but are not limited to, a display screen, speakers, etc. In one embodiment, the touch screen and display screen may also be replaced with a touch display screen. Input device 2000 and output device 3000 may also include standard wired or wireless communication interfaces.
The Processor 1000 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 4000 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic 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 may call the program codes stored in the memory 4000. Specifically, the method comprises the following steps:
the processor 1000 is configured to obtain first rating card data of a rating card from a server, and draw and display the rating card on a display page according to the first rating card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located; responding to the editing operation of the rating card, editing the rating card, and obtaining second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card; and sending the second scoring card data to the server through an output device 3000, so that the server scores according to a scoring rule included in the second scoring card data.
Optionally, the processor 1000 obtains first rating card data of a rating card from a server, and draws and displays the rating card on a display page according to the first rating card data, specifically, obtains the first rating card data of the rating card from the server, where the first rating card data is divided into a first information group and a second information group; the first information group stores the header information, and the second information group stores the body information; and traversing the first information group and the second information group respectively to draw and display the scoring card on a display page through an output device 3000, wherein the scoring card comprises a header obtained according to the header information and a body obtained according to the body information.
Optionally, the type of the second information group is a two-dimensional array, and the traversing manner of the second information group is double traversing; the information of the cells comprises row information, column information, information crossing rows and information crossing columns.
Optionally, the processor 1000 edits the rating card in response to an editing operation on the rating card, specifically, displays a first drop-down menu when a touch operation on a target condition cell in a table body of the rating card is detected through the input device 2000, where the first drop-down menu includes any one or more of the following items: configuring a condition option, adding a condition line option, deleting a condition line option, clearing a condition line option, copying an option and pasting an option; 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 a manner indicated by the target option.
Optionally, each cell in the score card is correspondingly provided with an editable component for enabling the corresponding cell to be in an editable state.
Optionally, the processor 1000 edits the score card in response to an editing operation on the score card, specifically, displays a second pull-down menu through the output device 3000 when a touch operation on a target score cell in a table body of the score card is detected through the input device 2000, where the second pull-down menu includes an input value option, a constant selection option, a variable selection option, a parameter selection option, and a method selection option; when a touch operation on a designated option in the second pull-down menu is detected through the input device 2000, a score is set for the target score cell in a manner indicated by the designated option.
Optionally, the display page further includes a work menu, and the work menu includes any one or more of: adding a row option, an injection constant option, an injection variable option, an injection parameter option, and an injected data option; the adding one-line option is used for adding one line of cells at the tail of the scoring card when the scoring card is touched; the number of the newly added rows of unit cells is the same as that of the columns of the header; the injection constant option is used for displaying a constant configuration interface when being touched so as to realize the function of pre-configuring constants for the score card; the injection variable option is used for displaying a variable configuration interface when being touched so as to realize the function of pre-configuring the variables by the scoring card; the injection parameter option is used for displaying a parameter configuration interface when being touched so as to realize the function of pre-configuring parameters of the scoring card; the injected data option is used for displaying a configured data interface when being touched, and the configured data interface comprises data configured for the scoring card; the configured data includes any one or more of: a set constant, a set variable, a set parameter.
Optionally, the processor 1000 is further configured to create a score card before acquiring the first score card data of the score card from the server; traversing the scoring card to obtain first scoring card data of the scoring card, and sending the first scoring card data to a server through an output device 3000, so that the server scores by using a scoring rule included in the first scoring card data.
In a specific implementation, the processor 1000, the input device 2000, and the output device 3000 described in this embodiment of the present application may execute the implementation described in the embodiment of fig. 1 and fig. 3, and may also execute the implementation described in this embodiment of the present application, which is not described herein again.
The functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a form of sampling hardware, and can also be realized in a form of sampling software functional modules.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The medium is a computer-readable storage medium, which may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A data processing method, comprising:
acquiring first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located;
responding to the editing operation of the rating card, editing the rating card, and obtaining second rating card data corresponding to the rating card; the second scoring card data is obtained by editing the scoring card;
and sending the second grading card data to the server so that the server can grade by using a grading rule included in the second grading card data.
2. The method of claim 1, wherein the obtaining of first rating card data of a rating card from a server and drawing and displaying the rating card on a display page according to the first rating card data comprises:
acquiring first scoring card data of a scoring card from the server, wherein the first scoring card data is divided into a first information group and a second information group; the first information group stores the header information, and the second information group stores the body information;
and traversing the first information group and the second information group respectively to draw and display the scoring card on a display page, wherein the scoring card comprises a header obtained according to the header information and a body obtained according to the body information.
3. The method according to claim 1 or 2,
the type of the second information group is a two-dimensional array, and the traversing mode of the second information group is double traversing;
the information of the cells comprises row information, column information, information crossing rows and information crossing columns.
4. The method of claim 1, wherein editing the rating card in response to the editing operation on the rating card comprises:
when the touch operation on the target condition cells in the table body of the score card is detected, displaying a first pull-down menu, wherein the first pull-down menu comprises any one or more of the following items: configuring a condition option, adding a condition line option, deleting a condition line option, clearing a condition line option, copying an option and pasting an option;
and when the touch operation on a target option in the first pull-down menu is detected, processing the target condition cell according to the mode indicated by the target option.
5. The method of claim 1, wherein each cell in the score card is provided with an editable component for enabling the corresponding cell to be in an editable state, and the editing of the score card is performed in response to the editing operation on the score card, and comprises the following steps:
when touch operation on a target score cell in a table body of the score card is detected, displaying a second pull-down menu, wherein the second pull-down menu comprises an input value option, a constant selection option, a variable selection option, a parameter selection option and a method selection option;
when touch operation on a designated option in the second pull-down menu is detected, setting a score for the target score cell in a manner indicated by the designated option.
6. The method of claim 1, wherein the display page further comprises a work menu, wherein the work menu comprises any one or more of: adding a row option, an injection constant option, an injection variable option, an injection parameter option, and an injected data option;
the adding one-line option is used for adding one line of cells at the tail of the scoring card when the scoring card is touched; the number of the newly added rows of unit cells is the same as that of the columns of the header;
the injection constant option is used for displaying a constant configuration interface when being touched so as to realize the function of pre-configuring constants for the score card;
the injection variable option is used for displaying a variable configuration interface when being touched so as to realize the function of pre-configuring the variables by the scoring card;
the injection parameter option is used for displaying a parameter configuration interface when being touched so as to realize the function of pre-configuring parameters of the scoring card;
the injected data option is used for displaying a configured data interface when being touched, and the configured data interface comprises data configured for the scoring card; the configured data includes any one or more of: a set constant, a set variable, a set parameter.
7. The method of claim 1, wherein before obtaining the first scorecard data for a scorecard from a server, the method further comprises:
creating a scoring card;
traversing the scoring card to obtain first scoring card data of the scoring card, and sending the first scoring card data to a server so that the server can score by using a scoring rule included in the first scoring card data.
8. A data processing apparatus, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring first scoring card data of a scoring card from a server, and drawing and displaying the scoring card on a display page according to the first scoring card data; the first scoring card data comprises header information and body information; the form body information comprises at least one scoring rule and information of each cell corresponding to each scoring rule; each grading rule comprises at least one judgment condition and a corresponding score, and each cell corresponding to each grading rule comprises a condition cell where the judgment condition is located and a score cell where the score is located;
the processing module is used for responding to the editing operation of the scoring card and editing the scoring card to obtain second scoring card data corresponding to the scoring card; the second scoring card data is obtained by editing the scoring card;
and the communication module is used for sending the second scoring card data to the server so that the server can score by using the scoring rules included in the second scoring card data.
9. A terminal, comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which 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 (2)

* 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
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 (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
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
CN106610774B (en) Webpage table editing method and device
CN104360990A (en) Content editing method
CN104407787A (en) Terminal
CN105827510A (en) Push message processing method for mobile terminal, and mobile terminal
DE102013103616A1 (en) Touch screen text input
CN105631393A (en) Information recognition method and device
CN106027785A (en) Voice processing method and terminal
CN103324674B (en) Web page contents choosing method and device
CN107066188A (en) A kind of method and terminal for sending screenshot picture
CN105335039A (en) Method and device for moving object among pages of editable document
CN107066269A (en) A kind of split screen processing method and processing device of terminal
CN110619116A (en) Data processing method, device, terminal and storage medium
US20220113847A1 (en) Online collaborative document processing method and device
CN104820548A (en) Screenshot method and device
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN105204714A (en) Method for switching application interface and terminal
CN112818937B (en) Excel file identification method and device, electronic equipment and readable storage medium
CN111260759B (en) Path determination method and device
CN113031871A (en) Data adding and aggregating method and device, electronic equipment and readable storage medium
CN111931708A (en) Form generation method and device
CN114663902B (en) Document image processing method, device, equipment and medium
CN114519153B (en) Webpage history record display method, device, equipment and storage medium
CN112417830A (en) Document page management method and device, electronic equipment and storage medium
CN110378566A (en) Information checking method, equipment, storage medium and device
CN112632930B (en) Table data control method and 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