CN112817574A - Variable data processing method, variable data processing device, electronic device, and storage medium - Google Patents

Variable data processing method, variable data processing device, electronic device, and storage medium Download PDF

Info

Publication number
CN112817574A
CN112817574A CN202110049716.0A CN202110049716A CN112817574A CN 112817574 A CN112817574 A CN 112817574A CN 202110049716 A CN202110049716 A CN 202110049716A CN 112817574 A CN112817574 A CN 112817574A
Authority
CN
China
Prior art keywords
variable
data
processing
variable data
result
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
CN202110049716.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.)
Inner Mongolia Mengshang Consumer Finance Co ltd
Original Assignee
Inner Mongolia Mengshang Consumer Finance 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 Inner Mongolia Mengshang Consumer Finance Co ltd filed Critical Inner Mongolia Mengshang Consumer Finance Co ltd
Priority to CN202110049716.0A priority Critical patent/CN112817574A/en
Publication of CN112817574A publication Critical patent/CN112817574A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/313Logic programming, e.g. PROLOG programming language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/37Compiler construction; Parser generation
    • 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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computing Systems (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a variable data processing method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: when a variable processing request is received on a variable platform system, acquiring a plurality of variable data of a target product in a target application scene; loading a variable processing script corresponding to the variable data; acquiring basic service data depended on by processing the variable data according to the variable processing script; and processing the variable data and the basic service data according to the variable processing script to obtain a variable result. In the embodiment of the invention, by means of outputting the variable result through the variable processing script, the production can be rapidly developed, deployed and released, and the requirement of the wind control decision service can be rapidly responded.

Description

Variable data processing method, variable data processing device, electronic device, and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a variable data processing method, a variable data processing device, electronic equipment and a storage medium.
Background
Today, the financial industry is rapidly developed, and the open innovation and the safety control become the subject of the development of the current financial industry. Science and technology finance is an important component of the national science and technology innovation system and the financial system. The data is the basic raw material provided for wind control decision-making, the strategy is a specific form product of risk wind control, the variable data is the middle part, and the variable data is the summary description after further derivation and classification based on various data. The number of key variable data depended on by a complete wind control strategy can be hundreds or thousands, and the number of the variable data pool at the bottom layer is far larger than the number.
Due to the large number of variable data requirements, the iteration is also required to be rapid. However, the actual variable data and the processing logic at the early stage are scattered in different business systems, so that the variable development test and the production speed of release cannot meet the requirements of business personnel making a wind control decision.
Disclosure of Invention
In view of the above problems, embodiments of the present invention have been made to provide a variable data processing method and a corresponding variable data processing apparatus, electronic device, storage medium that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a variable data processing method, which is applied to a variable platform system, and the method includes:
when a variable processing request is received on the variable platform system, acquiring a plurality of variable data of a target product in a target application scene;
loading a variable processing script corresponding to the variable data;
acquiring basic service data depended on by processing the variable data according to the variable processing script;
and processing the variable data and the basic service data according to the variable processing script to obtain a variable result.
Optionally, before the loading the variable processing script corresponding to the variable data, the method further includes:
and performing polymerization duplicate removal processing on the variable data to obtain the polymerized duplicate-removed variable data.
Optionally, after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method further includes:
and when the variable result is abnormal, assigning the variable result as a first specified numerical value.
Optionally, after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method further includes:
and when the data type of the variable result is different from the target data type, assigning the variable result to be a second specified numerical value.
Optionally, the method further comprises:
receiving a modification request, modifying the mapping relation between the product and application scenes and the variable data, or modifying the variable processing script.
Optionally, the method further comprises:
monitoring the processing process of the variable data, wherein the monitored content at least comprises code logic operation time consumption, exception statistics, program exception alarm and traffic distribution statistics.
Optionally, the method further comprises:
and integrating the variable result and sending the integrated variable result to an external service system.
The embodiment of the invention also discloses a variable platform system, which comprises:
the variable data acquisition module is used for receiving the variable processing request and acquiring a plurality of variable data of the target product in a target application scene;
the variable processing script acquisition module is used for loading a variable processing script corresponding to the variable data;
the basic service data acquisition module is used for acquiring basic service data depended on by processing the variable data according to the variable processing script;
and the variable processing module is used for processing the variable data and the basic service data according to the variable processing script to obtain a variable result.
Optionally, the system further comprises: and the aggregation module is used for carrying out aggregation duplicate removal processing on the variable data to obtain the aggregated duplicate removed variable data.
Optionally, the system further comprises: and the first reassignment module is used for assigning the variable result to a first designated numerical value when the variable result is abnormal.
Optionally, the system further comprises: and the second reassignment module is used for assigning the variable result to a second designated numerical value when the data type of the variable result is different from the target data type.
Optionally, the system further comprises: and the modification module is used for receiving a modification request, modifying the mapping relation between the product and the application scene and the variable data, or modifying the variable processing script.
Optionally, the system further comprises: and the monitoring module is used for monitoring the processing process of the variable data, wherein the monitored content at least comprises code logic operation time consumption, exception statistics, program exception alarm and traffic distribution statistics.
Optionally, the system further comprises: and the integration module is used for integrating the variable result and sending the integrated variable result to an external service system.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the variable data processing method are realized.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the variable data processing method are realized.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when a variable processing request is received on a variable platform system, a plurality of variable data of a target product in a target application scene are obtained, and a variable processing script corresponding to the variable data is loaded, so that basic service data depended by the processing variable data can be obtained according to the variable processing script, and then the variable data and the basic service data are processed according to the variable processing script to obtain a variable result. In the embodiment of the invention, by means of outputting the variable result through the variable processing script, the production can be rapidly developed, deployed and released, and the requirement of the wind control decision service can be rapidly responded.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a method of processing variable data in accordance with the present invention;
FIG. 2 is a schematic diagram of a variable platform system of the present invention;
FIG. 3 is a flow chart of the steps of a variable data process of the present invention;
FIG. 4 is a block diagram of an embodiment of a variable platform system according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
First, technical terms related to the embodiments of the present invention are described.
(0) Variable data, the descriptive values of the individual dimensions on which the wind control decisions depend.
(1) Batch production: large data volume.
(2) Variable processing script: the business logic code of the processing variable data comprises the processing business logic of the variable and the business data or data set on which the processing variable depends;
(3) a variable platform system: an application system for managing and outputting variable results;
(4) data set: the application module is used for managing and inquiring a data source of the external service data specially managed in the variable platform system;
(5) a variable processing script engine: an interpreter of computer programming language, such as jsp, javascript, etc. for building a website, has a function of interpreting and executing a program text of a user and translating it into a machine code that can be executed by a computer to perform a series of functions.
(6) qlExpress: the open-source lightweight class java grammar rule engine is used as an embedded rule engine in a business system. The business rule is easy to define without losing flexibility. Business personnel can define the business rules. The method supports standard JAVA syntax, and can also support custom operation symbols, operation symbol reloading, function definition, macro definition, data delay loading and the like.
(7) Groovy: a dynamic language similar to Java (even an upgraded version of Java but with the features of a scripting language) runs in a Java virtual machine. When running the Groovy script, it is compiled into Java class bytecode, and then this Java bytecode class is executed by the JVM virtual machine.
In practical applications, a financial institution generally needs to make a wind control decision in other wind control scenarios such as selling products, and the wind control decision needs variable data from many sources, for example, some variable data are from APP (application program), some variable data are from web pages, some variable data are from applets, and some variable data may be from other external systems.
At present, no standardized processing system for variable data of a wind control decision exists in the market, but a variable platform system is designed in the embodiment of the invention, so that variable results can be output for processing the variable data of the wind control decision under different application scenes of different products.
On the basis of the variable platform system, the embodiment of the invention discloses a scheme for quick logic processing and implementation of variable data, which is applied to different application scenes of different products, and can meet the requirements of quick development, deployment and application to production and quick response of risk strategies of wind control services. The variable data are processed based on the dynamic variable processing script, the configuration degree is high, the connection is reliable, the maintenance and management are convenient, the use is safe, and the monitoring of the variable operation process is comprehensive.
Referring to fig. 1, a flowchart of steps of an embodiment of a variable data processing method according to the present invention is shown, and is applied to a variable platform system, where the embodiment of the present invention may specifically include the following steps:
step 101, when receiving a variable processing request on the variable platform system, acquiring a plurality of variable data of a target product in a target application scene.
The product refers to a financial product issued by a financial institution, such as a loan product, and the application scenario refers to a policy node under different products. For example, the application scenario of the product includes a user credit scenario of the loan product, or a user cash scenario of the loan product, and so on.
The variable data is a descriptive value of a single dimension on which the wind control decision depends, and may be, for example, a quota, credit card information, a photograph, a sex, an age, an asset, a location, and the like. Of course, the variable data are only used as examples, and in a specific application process, the variable data may be adjusted according to actual requirements to better implement a wind control decision, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, a variable platform system is designed, and the variable platform system is an application system for managing and outputting variable results of variable data. Specifically, the framework of the variable platform system can refer to fig. 2, the variable platform system can manage the definition and processing logic of all variable data, simultaneously manage the reading entry of the basic service data of each service system, standardize the variable processing mechanism uniformly, optimize the environment of variable debugging, make a rapid online flow, and achieve the goals of light weight and configuration of variable development and production deployment by introducing a dynamic variable processing script.
In the embodiment of the invention, a pre-planned business process workflow initiates scheduling, a variable processing request is sent to a variable platform system, the variable platform system determines an application scene of a product corresponding to the request after receiving the variable processing request, the application scene is used as a target application scene of a target product, and then a plurality of variable data corresponding to the target product and the target application scene are obtained. For example, in a user credit scenario of a certain loan product, 100 pieces of variable data need to be acquired, and in a user cash-out scenario of the loan product, 150 pieces of variable data need to be acquired.
And 102, loading a variable processing script corresponding to the variable data.
The variable processing script is a business logic code for processing variable data, and may be bound with the variable data in advance, including processing business logic of the variable and basic business data or data sets on which the processing variable data depends. It should be noted that the variable processing script is a dynamic script, and the variable processing script can be flexibly adjusted according to actual requirements, so as to adjust the processing mode of the dependent variable data, and further flexibly define the variable data in a diversified manner.
In the embodiment of the invention, after the variable data are obtained, the variable platform system can be used for inquiring the variable processing script bound with the variable data, and then the variable processing script is loaded for processing the variable data.
And 103, acquiring basic service data depended on for processing the variable data according to the variable processing script.
In a specific implementation, when processing variable data, basic service data needs to be relied on, where the basic service data may be data acquired from an external system, for example, client credit investigation data acquired from an external credit investigation company, and specifically, the credit investigation data may be divided into: and basic service data such as rating classification, fraud classification, credit classification, multi-head loan classification, blacklist classification, user portrait classification and the like can be acquired from companies or organizations interfaced with the variable platform system. Of course, besides credit investigation type data, other data may be acquired as basic service data to participate in processing of variable data, which is not limited in the embodiment of the present invention.
It should be noted that besides the basic service data acquired by the external system, the historical data may also be previous historical data, and specifically, the historical data may include variable data of a previous processing, variable results derived after the processing, and the like.
In the embodiment of the invention, the external data is inquired through the data set module of the variable platform system, so as to obtain the basic service data depended on in the variable logic processing process, for example, the core service system service interface can be called through the dubbo protocol to inquire the user quota data.
In the embodiment of the invention, the embedded point variable data of the user login operation and the like are processed and operated by streaming calculation, the variable result is stored in the hbase database, the data set service is called by the variable processing script, the hbase database is inquired, the variable result is obtained, and the variable result is used as the variable data to participate in the variable processing.
And 104, processing the variable data and the basic service data according to the variable processing script to obtain a variable result.
In the embodiment of the invention, after the variable data and the basic service data are obtained, the variable data and the basic service data can be processed through the variable processing script, so that a variable result is obtained, and then the variable result can be provided to the service personnel of the wind control decision.
In the variable data processing method, when a variable processing request is received on a variable platform system, a plurality of variable data of a target product in a target application scene are obtained, and a variable processing script corresponding to the variable data is loaded, so that basic service data depended by the processing variable data can be obtained according to the variable processing script, and then the variable data and the basic service data are processed according to the variable processing script to obtain a variable result. In the embodiment of the invention, by means of outputting the variable result through the variable processing script, the production can be rapidly developed, deployed and released, and the requirement of the wind control decision service can be rapidly responded.
In a preferred embodiment of the present invention, before the step 102, before loading the variable processing script corresponding to the variable data, the method may further include:
and performing polymerization duplicate removal processing on the variable data to obtain the polymerized duplicate-removed variable data.
In a specific implementation, before processing, the embodiment of the present invention may perform aggregation deduplication processing, such as content selection, analysis, classification, and the like, on variable data to obtain aggregated variable data, where the aggregated variable data is processed by a variable processing script, and since one variable processing script may process multiple variable data at the same time to output multiple variable results, processing is performed based on the aggregated variable data, the execution frequency of the variable processing script may be reduced, thereby improving the processing efficiency of the variable data.
In a preferred embodiment of the present invention, in the step 104, after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method may further include:
and when the variable result is abnormal, assigning the variable result as a first specified numerical value.
In the embodiment of the present invention, the variable result may be further processed, and specifically, when the variable result is abnormal, the variable result may be assigned as the first specified numerical value. As one example, the first specified value may be-9997, and the variable result is assigned-9997 if the variable result is abnormal, e.g., null.
In a preferred embodiment of the present invention, in the step 104, after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method further includes:
and when the data type of the variable result is different from the target data type, assigning the variable result to be a second specified numerical value.
In the embodiment of the present invention, the variable result may be further processed, and specifically, when the data type of the variable result is different from the target data type, the variable result may be assigned to a second specified value. As an example, the second specified value may be-9996, and if the target data type of the variable result is a number greater than 0, but the variable result output by the variable processing script is a letter, the data type of the variable result is different from the target data type, and the variable result may be reassigned to-9996.
Of course, in addition to assigning the variable result to the specified value, other specified values may be assigned to the variable result having an exception or different from the target data type according to the actual requirement, which is not required to be limited in the embodiment of the present invention.
In a preferred embodiment of the present invention, the method may further include:
monitoring the processing process of the variable data, wherein the monitored content at least comprises code logic operation time consumption, exception statistics, program exception alarm and traffic distribution statistics.
In the embodiment of the present invention, during the variable processing of variable data, precise monitoring may be performed, and specifically, the monitoring content may include: the running of the code logic is time-consuming, abnormal statistics, program abnormal alarm, traffic distribution statistics and the like.
In a preferred embodiment of the present invention, the method may further include:
receiving a modification request, modifying the mapping relation between the product and application scenes and the variable data, or modifying the variable processing script.
In the related scheme, processing logic of variable data does not have a unified standard, so that in the current method for processing the variable data of the wind control decision, generally, business personnel of a financial institution temporarily propose required variable data based on a project, and then development personnel temporarily develop and deploy according to specific project requirements proposed by the business personnel. Specifically, the qlExpress or groovy scripting language is used for replacing java hard codes, and the effects of dynamically modifying, configuring and rapidly deploying online in the variable processing process are achieved.
In the embodiment of the present invention, the mapping relationship between the product and the application scenario and the variable data may be modified, for example, in a user credit granting scenario of a loan product, 100 variable data needs to be obtained originally, and after modification, 110 variable data needs to be obtained instead, or 90 variable data needs to be obtained instead. Of course, in addition to modifying the mapping relationship between the product and application scenarios and the variable data, the variable processing script may also be modified, for example, the basic service data required by the variable processing script for processing the variable data may be modified.
In the embodiment of the invention, the aim of dynamic configuration of the variable application scene is fulfilled by managing the wind control decision points of the product and the process, dynamically modifying the mapping relation between the product, the wind control decision points (application scene) and variable data, or modifying a variable processing script.
In a preferred embodiment of the present invention, the method further comprises:
and integrating the variable result and sending the integrated variable result to an external service system.
In the embodiment of the invention, the variable results output by the variable processing scripts are integrated, and the integrated variable processing results are returned to an external service system or stored in a variable platform system.
In summary, in the embodiment of the present invention, variable data for a wind control decision of a decision point mapping relationship of a product is configured by using a product and a process policy node as dimensions, and a java class name and a method name applied to variable data processing are stored. And circularly traversing all variable data to be processed, acquiring the class and method of each variable data configuration, acquiring java hard code execution results in a dynamic proxy and reflection mode, finally inducing and integrating to obtain variable results, and returning the variable results to service personnel or external services of the wind control decision.
In order to make the embodiment of the present invention better understood by those skilled in the art, the following description is made by using a specific example, and referring to fig. 3, the specific variable process flow is the most core and critical part of the variable process flow of the embodiment of the present invention, and may include:
(1) the node 00 is a starting node, and the loop chain is initially set to be the node 00- >01- >02- >03- >04- >05- >06- >07, which is a sequential structure. The node receives an external call request, such as a variable processing request, and a variable processing flow starting state.
(2) After receiving the variable processing request, the 01 node queries a certain application scenario of a certain product to obtain required variable data (variable mapping relation data). For example, in a credit granting scenario for a user of a loan product, 100 variables are required for the query.
(3) And on the basis of the 01 node, the 02 node inquires the bound variable processing script of the acquired variable data set. Because one variable processing script can simultaneously process a plurality of variable data to output a plurality of variable results, the node performs the aggregation and deduplication operation on the variable data of the request, thereby reducing the execution times of the variable processing script.
(4) And the 03 node acquires the implementation logic code content of the variable processing script according to the variable processing script after the aggregation and the de-duplication.
(5) And the 04 node executes the strategy engine, acquires the variable processing script to be executed, and selectively executes the qlExpress engine or the groovy engine according to the script engine attribute realized by the variable processing script.
(6) And the 05 node inquires the data set, acquires basic service data such as the quota variable which is relied on in the variable logic processing process, and calls a core service system service interface through a dubbo protocol to inquire the user quota data. And processing and operating the behavior type buried point data of the user login operation on the APP through stream type calculation, and storing the variable result into the hbase data. And then calling a data set service through the variable processing script, inquiring the hbase database and acquiring a variable result.
(7) The 06 node further processes the variable results. Specifically, if the variable result is abnormal, e.g., null, the variable result is assigned a value of-9997; if the variable result is expected to be a number greater than 0, but the output result of the variable processing script is a letter, the variable result is reassigned to-9996;
(8) and the 07 node outputs all variable results of the variable processing request at this time and stores the variable results.
In the embodiment of the invention, a product is taken as a dimension to be processed, a strategy node is taken as a dividing processing batch risk variable, client data is collected in a short time under the application scene, stock data (the stock data comprises previously processed variable data, a variable result derived after processing based on the variable data, basic service data and the like) is processed through calculation, classification, sorting and comparison, variable results with different values are processed according to service definition and are sent to a strategy engine service, in the process, the variable processing script is responsible for the value logic of the variable data, an external application interface and a data set are called through internal logic to obtain the required data, a final variable result is calculated and output through the obtained data, and finally, the variable results of all the variable processing scripts are integrated and returned to the external service.
Under the scene of meeting the business requirements, the dynamic management of the variable use scene, the centralized management of the external data source and the scripted variable processing logic are realized, and the aims of quick online and deployment are fulfilled. On the basis, the variable data processing process is accurately monitored, and specifically, time consumed by code logic operation, exception statistics, program exception alarm, traffic distribution statistics and the like in the processing process can be monitored.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a variable platform system according to an embodiment of the present invention is shown, where the embodiment of the present invention may specifically include the following modules:
the variable data acquisition module 401 is configured to acquire a plurality of variable data of a target product in a target application scene when the variable platform system receives a variable processing request;
a variable processing script obtaining module 402, configured to load a variable processing script corresponding to the variable data;
a basic service data obtaining module 403, configured to obtain, according to the variable processing script, basic service data on which processing of the variable data depends;
and the variable processing module 404 is configured to process the variable data and the basic service data according to the variable processing script to obtain a variable result.
In a preferred embodiment of the present invention, the system may further include: and the aggregation module is used for carrying out aggregation duplicate removal processing on the variable data to obtain the aggregated duplicate removed variable data.
In a preferred embodiment of the present invention, the system may further include: and the first reassignment module is used for assigning the variable result to a first designated numerical value when the variable result is abnormal.
In a preferred embodiment of the present invention, the system may further include: and the second reassignment module is used for assigning the variable result to a second designated numerical value when the data type of the variable result is different from the target data type.
In a preferred embodiment of the present invention, the system may further include: and the modification module is used for receiving a modification request, modifying the mapping relation between the product and the application scene and the variable data, or modifying the variable processing script.
In a preferred embodiment of the present invention, the system may further include: and the monitoring module is used for monitoring the processing process of the variable data, wherein the monitored content at least comprises code logic operation time consumption, exception statistics, program exception alarm and traffic distribution statistics.
In a preferred embodiment of the present invention, the system may further include: and the integration module is used for integrating the variable result and sending the integrated variable result to an external service system.
To sum up, in the embodiment of the present invention, a variable processing request is received, a plurality of variable data of a target product in a target application scenario are obtained, and a variable processing script corresponding to the variable data is loaded, so that basic service data on which the processing variable data depends can be obtained according to the variable processing script, and then the variable data and the basic service data are processed according to the variable processing script, so as to obtain a variable result. In the embodiment of the invention, by means of outputting the variable result through the variable processing script, the production can be rapidly developed, deployed and released, and the requirement of the wind control decision service can be rapidly responded.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the variable data processing method embodiment are realized.
The embodiment of the invention discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiment of the variable data processing method are realized.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The present invention provides a method for processing variable data, a device for processing variable data, an electronic device and a storage medium, which are introduced in detail, and the principle and the implementation of the present invention are explained herein by applying specific examples, and the explanation of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A variable data processing method is applied to a variable platform system, and comprises the following steps:
when a variable processing request is received on a variable platform system, acquiring a plurality of variable data of a target product in a target application scene;
loading a variable processing script corresponding to the variable data;
acquiring basic service data depended on by processing the variable data according to the variable processing script;
and processing the variable data and the basic service data according to the variable processing script to obtain a variable result.
2. The method according to claim 1, further comprising, before the loading the variable processing script corresponding to the variable data:
and performing polymerization duplicate removal processing on the variable data to obtain the polymerized duplicate-removed variable data.
3. The method according to claim 1, wherein after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method further comprises:
and when the variable result is abnormal, assigning the variable result as a first specified numerical value.
4. The method according to claim 1, wherein after the processing the variable data and the basic service data according to the variable processing script to obtain a variable result, the method further comprises:
and when the data type of the variable result is different from the target data type, assigning the variable result to be a second specified numerical value.
5. The method of claim 1, further comprising:
receiving a modification request, modifying the mapping relation between the product and application scenes and the variable data, or modifying the variable processing script.
6. The method of any of claims 1 to 5, further comprising:
monitoring the processing process of the variable data, wherein the monitored content at least comprises code logic operation time consumption, exception statistics, program exception alarm and traffic distribution statistics.
7. The method of claim 1, further comprising:
and integrating the variable result and sending the integrated variable result to an external service system.
8. A variable platform system, the system comprising:
the variable data acquisition module is used for acquiring a plurality of variable data of a target product in a target application scene when the variable platform system receives a variable processing request;
the variable processing script acquisition module is used for loading a variable processing script corresponding to the variable data;
the basic service data acquisition module is used for acquiring basic service data depended on by processing the variable data according to the variable processing script;
and the variable processing module is used for processing the variable data and the basic service data according to the variable processing script to obtain a variable result.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the variable data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the variable data processing method according to any one of claims 1 to 7.
CN202110049716.0A 2021-01-14 2021-01-14 Variable data processing method, variable data processing device, electronic device, and storage medium Pending CN112817574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110049716.0A CN112817574A (en) 2021-01-14 2021-01-14 Variable data processing method, variable data processing device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110049716.0A CN112817574A (en) 2021-01-14 2021-01-14 Variable data processing method, variable data processing device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN112817574A true CN112817574A (en) 2021-05-18

Family

ID=75869507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110049716.0A Pending CN112817574A (en) 2021-01-14 2021-01-14 Variable data processing method, variable data processing device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112817574A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140208294A1 (en) * 2013-01-18 2014-07-24 Unisys Corporation Domain scripting language framework for service and system integration
CN109857373A (en) * 2018-12-18 2019-06-07 平安科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium
CN111913994A (en) * 2020-08-12 2020-11-10 武汉众邦银行股份有限公司 Client risk data monitoring method based on inline data and external data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140208294A1 (en) * 2013-01-18 2014-07-24 Unisys Corporation Domain scripting language framework for service and system integration
CN109857373A (en) * 2018-12-18 2019-06-07 平安科技(深圳)有限公司 Business data processing method, device, computer equipment and storage medium
CN111913994A (en) * 2020-08-12 2020-11-10 武汉众邦银行股份有限公司 Client risk data monitoring method based on inline data and external data

Similar Documents

Publication Publication Date Title
CN109189750B (en) Operation method, data analysis system and the storage medium of data analysis workflow
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
US9135071B2 (en) Selecting processing techniques for a data flow task
CN110597531B (en) Distributed module upgrading method and device and storage medium
CN111241073A (en) Data quality inspection method and device
GB2587432A (en) System and method for software architecture redesign
CN112767135A (en) Rule engine configuration method and device, storage medium and computer equipment
CN112799782A (en) Model generation system, method, electronic device, and storage medium
CN104376397B (en) A kind of data real-time analysis method and device
CN111339136A (en) Data checking method and device, electronic equipment and storage medium
CN113052696B (en) Financial business task processing method, device, computer equipment and storage medium
CN111352846A (en) Test system number making method, device, equipment and storage medium
CN104765787B (en) Salt file association relationship analysis method and system in software systems
US20210342900A1 (en) Methods for customized rule engines for automated medical bill review and devices thereof
CN112817574A (en) Variable data processing method, variable data processing device, electronic device, and storage medium
CN111538491B (en) Data event processing method, device, equipment and storage medium
US10397312B2 (en) Automated server deployment platform
CN112799797A (en) Task management method and device
CN111381974A (en) Method for optimizing Drools response time in large-scale high-concurrency scene
CN116501365B (en) Resource calling method, device and equipment based on algorithm platform
CN113360368B (en) Method and device for testing software performance
CN114841267B (en) Real-time prediction method, device, electronic equipment and computer program product
US9436523B1 (en) Holistic non-invasive evaluation of an asynchronous distributed software process
CN117724815A (en) Task processing method and device, storage medium and processor
CN116880926A (en) Information processing method, device, equipment and storage medium

Legal Events

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