CN117808585A - Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access - Google Patents

Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access Download PDF

Info

Publication number
CN117808585A
CN117808585A CN202311726129.6A CN202311726129A CN117808585A CN 117808585 A CN117808585 A CN 117808585A CN 202311726129 A CN202311726129 A CN 202311726129A CN 117808585 A CN117808585 A CN 117808585A
Authority
CN
China
Prior art keywords
preprocessing
transaction
configuration
channel
class
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
CN202311726129.6A
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.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp 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 China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202311726129.6A priority Critical patent/CN117808585A/en
Publication of CN117808585A publication Critical patent/CN117808585A/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a risk monitoring method and a risk monitoring system for transaction preprocessing componentization configuration access, and relates to the field of computer systems. If the newly accessed channel transaction needs to be accessed to the stock realization class, only the preprocessing configuration table is required to be configured, and the code is not required to be modified, so that the channel transaction can be accessed quickly; for the newly added preprocessing logic, a realization class is required to be newly added to realize a preprocessing interface, and a preprocessing configuration table is configured, so that the wind control screening main process is not invaded, and other stock transactions are not influenced; aiming at the transaction of the same channel, a combination mode of a plurality of realization classes is supported, and field processing is supported to be executed according to a designated sequence; for the preprocessing implementation class with problems in production, quick offline can be realized by modifying preprocessing configuration without modifying codes.

Description

Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access
Technical Field
The invention relates to the field of computer systems, in particular to a risk monitoring method and a risk monitoring system for transaction preprocessing componentized configuration access.
Background
The real-time risk monitoring system transmits a message through channel transaction, converts the transaction message into an air control factor, combines the air control factor into a service rule, and combines the rule into a rule set according to different service scenes to be used as a logic condition for real-time transaction analysis. Meanwhile, basic data or third party data are collected through calculation, the risk estimation of the transaction is calculated in real time by taking the basic data or the third party data as a reference value when a channel initiates financial transaction, and finally, a risk level preset strategy is executed through a channel layer, so that high risk transaction is effectively avoided.
Aiming at different channel transactions, part of factors need to be specially processed by a real-time risk monitoring system, such as calculation and collection of basic data or third party data. At present, the processing is firstly judged according to channel codes, transaction codes and the like, and then relevant processing logic is added, so that the method not only breaks against the switching principle of a design mode, but also invades a business main flow, has higher influence, and can cause overlong method and low code readability.
Before real-time risk monitoring screening is carried out on different channel transactions, if special treatment is needed for the channel transactions, new logic modification is added continuously through if-else in one method, and the opening and closing principle is violated, so that the method is overlong, the readability is low, the business main flow is invaded, and the influence is high. However, the prior art solves the problem of different implementation classes of different logic through factory design modes, but transaction may be a combination of multiple implementation classes for different channels, and dependency of execution sequence may exist.
Therefore, there is a need for a scheme for supporting multi-channel transaction preprocessing modular configuration access real-time risk monitoring that can solve the above-mentioned problems.
Disclosure of Invention
Aiming at the requirements set forth in the background art, the embodiment of the invention provides a risk monitoring method and a risk monitoring system for transaction preprocessing componentization configuration access, which are used for solving the problem of real-time risk monitoring preprocessing of multi-channel transaction access, componentization packaging channel transaction customizing logic through a factory mode, componentization management of introducing realization types through a strategy mode, hot plug, reduction of invasion of newly added business to a main process, prevention of influence of insufficient influence analysis on stock transaction screening, support of a combination mode of a plurality of realization types, support of field processing according to a designated sequence, and fixation of a development template, and reduction of repeated development caused by understanding deviation of a design or developer.
A risk monitoring method for transaction preprocessing componentized configuration access comprises the following specific steps:
step 1, defining a pretreatment interface and a pretreatment method;
the preprocessing function of various data is realized through the preprocessing interface; the preprocessing interface comprises a preprocessing method for preprocessing various data;
furthermore, the preprocessing interface is an abstract interface, the preprocessing method is an abstract method, a fixed development template is adopted, the real execution is carried out in an implementation class, the implementation class realizes the preprocessing method, and processing logic can be customized according to each channel transaction, such as acquiring certain third party data, calculating certain data according to certain logic, and the like;
step 2, defining an implementation class according to actual requirements, implementing a preprocessing interface and implementing a preprocessing method;
defining an implementation class, namely associating the preprocessing interfaces, wherein the implementation class is used for realizing a preprocessing method appointed in the preprocessing interfaces; specifically, a specification is defined in the preprocessing interface, and a class is implemented to determine how the specification operates, wherein the specification is a preprocessing method;
step 3, preprocessing configuration is set and divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and the implementation class name, configuration type, channel code, transaction code, execution sequence and the like are configured according to the requirement;
the three dimensions are defined according to business scenes, such as mobile banking account transfer transaction, mobile banking loan transaction and ATM cash-out transaction, the channel code is mobile banking, and the transaction code is account transfer, loan and cash-out respectively. The implementation class, the configuration type and the execution sequence are technical definitions, the implementation class corresponds to specific implementation logic, the configuration type is the configuration for identifying which dimension the configuration is, and the execution sequence is that a certain channel transaction possibly contains a plurality of implementation classes, and the implementation class processing sequence is required, so that the execution sequence is used for controlling.
Step 4, defining factory class, reading preprocessing configuration information when the service is started, and storing the preprocessing configuration information into corresponding maps according to three configuration types;
the three configuration types refer to channel dimension, transaction dimension and all transaction dimensions;
and 5, when the service is started, the preprocessing configuration information of three dimensions is assembled into a treeSet according to the accessed channel transaction, the configuration information is traversed according to the execution sequence, and all the implementation examples required by realizing the class name assembly channel transaction are assembled.
Further: when the transaction requests for wind control, all configured implementation examples are obtained according to channel transaction, and the preprocessing method is executed in sequence.
Further: a risk monitoring system for transaction preprocessing componentized configuration access comprises a logic module, a configuration module and an operation module;
the logic module is used for defining a preprocessing interface and a preprocessing method, defining an implementation class according to actual requirements, and realizing the preprocessing interface and the preprocessing method;
the configuration module is used for setting preprocessing configuration, and is divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and configuring realization class names, configuration types, channel codes, transaction codes and execution sequences according to requirements;
and the operation module is used for assembling the preprocessing configuration information of three dimensions into a treeSet according to the accessed channel transaction, traversing the configuration information according to the execution sequence, and assembling all the realization instances required by the channel transaction according to the realization class names.
Further: the terminal device may include: the system comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the terminal device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the deep learning model training method as described in the previous embodiment.
Further: a storage medium storing a computer program which, when executed by a processor, performs the steps of the method described above.
Further: a computer program product comprising a computer program which, when executed by a processor, performs the method described above.
The invention has the beneficial effects that: if the newly accessed channel transaction needs to be accessed to the stock realization class, only the preprocessing configuration table is required to be configured, and the code is not required to be modified, so that the channel transaction can be accessed quickly; for the newly added preprocessing logic, a realization class is required to be newly added to realize a preprocessing interface, and a preprocessing configuration table is configured, so that the wind control screening main process is not invaded, and other stock transactions are not influenced; aiming at the transaction of the same channel, a combination mode of a plurality of realization classes is supported, and field processing is supported to be executed according to a designated sequence; for the preprocessing implementation class with problems in production, quick offline can be realized by modifying preprocessing configuration without modifying codes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flow chart of the method of the invention.
Fig. 2 shows a schematic diagram of the composition of the system of the present invention.
Fig. 3 shows a schematic diagram of the composition of the terminal device of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention, and it should be understood that the drawings in the present invention are for the purpose of illustration and description only and are not intended to limit the scope of the present invention. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments of the invention are only some, but not all, embodiments of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
It should be noted that the term "comprising" will be used in embodiments of the invention to indicate the presence of the features stated hereafter, but not to exclude the addition of other features. It should also be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. In the description of the present invention, it should also be noted that the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
The present invention is described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the method of the present invention comprises the following specific steps:
step 1, defining a pretreatment interface and a pretreatment method;
the preprocessing function of various data is realized through the preprocessing interface; the preprocessing interface comprises a preprocessing method for preprocessing various data;
the preprocessing interface is an abstract interface, the preprocessing method is an abstract method, a fixed development template is adopted, the real execution is carried out in an implementation class, the implementation class realizes the preprocessing method, processing logic can be customized according to each channel transaction, such as acquiring certain third party data, calculating certain data according to certain logic, and the like;
step 2, defining an implementation class according to actual requirements, implementing a preprocessing interface and implementing a preprocessing method;
defining an implementation class, namely associating the preprocessing interfaces, wherein the implementation class is used for realizing a preprocessing method appointed in the preprocessing interfaces; specifically, a specification is defined in the preprocessing interface, and a class is implemented to determine how the specification operates, wherein the specification is a preprocessing method;
step 3, preprocessing configuration is set and divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and the implementation class name, configuration type, channel code, transaction code, execution sequence and the like are configured according to the requirement;
the three dimensions are defined according to business scenes, such as mobile banking account transfer transaction, mobile banking loan transaction and ATM cash-out transaction, the channel code is mobile banking, and the transaction code is account transfer, loan and cash-out respectively. The implementation class, the configuration type and the execution sequence are technical definitions, the implementation class corresponds to specific implementation logic, the configuration type is the configuration for identifying which dimension the configuration is, and the execution sequence is that a certain channel transaction possibly contains a plurality of implementation classes, and the implementation class processing sequence is required, so that the implementation class processing sequence is used for controlling;
step 4, defining factory class, reading preprocessing configuration information when the service is started, and storing the preprocessing configuration information into corresponding maps according to three configuration types;
the three configuration types refer to channel dimension, transaction dimension and all transaction dimensions;
and 5, when the service is started, the preprocessing configuration information of three dimensions is assembled into a treeSet according to the accessed channel transaction, the configuration information is traversed according to the execution sequence, and all the implementation examples required by realizing the class name assembly channel transaction are assembled.
Further, treeSet is ordered set, character strings are ordered, the preprocessing configuration information of three dimensions is assembled into one TreeSet, and the configuration information can be traversed according to the execution order by utilizing the ordered rule of TreeSet, and after ordered ordering, all implementation examples required by realizing class name assembly channel transaction are realized.
Further: when the transaction requests for wind control, all configured implementation examples are obtained according to channel transaction, and the preprocessing method is executed in sequence.
Further: if the newly accessed channel transaction needs to be accessed to the stock realization class, only the preprocessing configuration table is required to be configured, and the code is not required to be modified.
Further: for the newly added preprocessing logic, an implementation class is required to be newly added to realize a preprocessing interface, and a preprocessing configuration table is configured, so that the wind control screening main process is not invaded, and other stock transactions are not influenced.
Further: for the preprocessing implementation class with problems in production, quick offline can be realized by modifying preprocessing configuration without modifying codes.
As shown in fig. 2, the system of the present invention includes a logic module, a configuration module, and an operation module;
the logic module is used for defining a preprocessing interface and a preprocessing method, defining an implementation class according to actual requirements, and realizing the preprocessing interface and the preprocessing method;
the configuration module is used for setting preprocessing configuration, and is divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and configuring realization class names, configuration types, channel codes, transaction codes and execution sequences according to requirements;
and the operation module is used for assembling the preprocessing configuration information of three dimensions into a treeSet according to the accessed channel transaction, traversing the configuration information according to the execution sequence, and assembling all the realization instances required by the channel transaction according to the realization class names.
As shown in fig. 3, the terminal device 6 may include: processor 601, storage medium 602, and bus 603, storage medium 602 storing machine-readable instructions executable by processor 601, when the terminal device is running, the processor 601 communicates with storage medium 602 via bus 603, and processor 601 executes the machine-readable instructions to perform the steps of the deep learning model training method as described in the previous embodiments. The specific implementation manner and the technical effect are similar, and are not repeated here.
For ease of illustration, only one processor is described in the above terminal device. It should be noted, however, that in some embodiments, the terminal device of the present invention may also include multiple processors, and thus, the steps performed by one processor described in the present invention may also be performed jointly by multiple processors or separately.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily appreciate variations or alternatives within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (8)

1. The risk monitoring method for the transaction preprocessing componentized configuration access is characterized by comprising the following specific steps:
step 1, defining a pretreatment interface and a pretreatment method;
step 2, defining an implementation class according to actual requirements, implementing a preprocessing interface and implementing a preprocessing method;
step 3, preprocessing configuration is set and divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and the realization class name, configuration type, channel code, transaction code and execution sequence are configured according to the requirement;
step 4, defining factory class, reading preprocessing configuration information when the service is started, and storing the preprocessing configuration information into corresponding maps according to three configuration types;
and 5, when the service is started, the preprocessing configuration information of three dimensions is assembled into a treeSet according to the accessed channel transaction, the configuration information is traversed according to the execution sequence, and all the implementation examples required by realizing the class name assembly channel transaction are assembled.
2. The method according to claim 1, wherein the preprocessing function for each type of data is implemented through the preprocessing interface; the preprocessing interface comprises a preprocessing method for preprocessing various data.
3. The method of claim 1, wherein when the transaction requests for the pneumatic control, all configured implementation instances are fetched for the channel-based transaction, and the preprocessing method is sequentially performed.
4. The method of claim 1, wherein the pre-processing configuration information of three dimensions is assembled into a treeSet, and the configuration information can be traversed according to the execution order by utilizing the ordered rule of the treeSet, and after ordered ordering, all implementation instances required for realizing class name assembly channel transactions are assembled.
5. A risk monitoring system for transaction preprocessing componentized configuration access, comprising: logic module, configuration module and operation module;
the logic module is used for defining a preprocessing interface and a preprocessing method, defining an implementation class according to actual requirements, and realizing the preprocessing interface and the preprocessing method;
the configuration module is used for setting preprocessing configuration, and is divided into three dimensions, namely channel dimension, transaction dimension and all transaction dimensions, and configuring realization class names, configuration types, channel codes, transaction codes and execution sequences according to requirements;
and the operation module is used for assembling the preprocessing configuration information of three dimensions into a treeSet according to the accessed channel transaction, traversing the configuration information according to the execution sequence, and assembling all the realization instances required by the channel transaction according to the realization class names.
6. A terminal device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the terminal device is operating, the processor executing the machine-readable instructions to perform the steps of the method of any of claims 1 to 4 when executed.
7. A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1 to 4.
8. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-4.
CN202311726129.6A 2023-12-15 2023-12-15 Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access Pending CN117808585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311726129.6A CN117808585A (en) 2023-12-15 2023-12-15 Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311726129.6A CN117808585A (en) 2023-12-15 2023-12-15 Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access

Publications (1)

Publication Number Publication Date
CN117808585A true CN117808585A (en) 2024-04-02

Family

ID=90434212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311726129.6A Pending CN117808585A (en) 2023-12-15 2023-12-15 Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access

Country Status (1)

Country Link
CN (1) CN117808585A (en)

Similar Documents

Publication Publication Date Title
CN108171260B (en) Picture identification method and system
CN108920135B (en) User-defined service generation method and device, computer equipment and storage medium
CN109710528B (en) Test script generation method, device, equipment and medium
CN109947924B (en) Dialogue system training data construction method and device, electronic equipment and storage medium
CN110458595A (en) Rules process method, electronic device and the computer equipment of configurableization
CN110503564A (en) Save case processing method, system, equipment and storage medium from damage based on big data
CN110909775A (en) Data processing method and device and electronic equipment
CN111105786A (en) Multi-sampling-rate voice recognition method, device, system and storage medium
CN112149419A (en) Method, device and system for normalized automatic naming of fields
CN110780879B (en) Decision execution method, device, equipment and medium based on intelligent compiling technology
CN112363465B (en) Expert rule set training method, trainer and industrial equipment early warning system
CN113806594A (en) Business data processing method, device, equipment and storage medium based on decision tree
CN111242779B (en) Financial data characteristic selection and prediction method, device, equipment and storage medium
CN117009873A (en) Method for generating payment risk identification model, and method and device for payment risk identification
CN117808585A (en) Risk monitoring method, system, terminal equipment, storage medium and product for transaction preprocessing componentization configuration access
CN110442858A (en) A kind of question sentence entity recognition method, device, computer equipment and storage medium
CN115237931A (en) Method and system for updating sub-service processing result of service arrangement
CN113093702B (en) Fault data prediction method and device, electronic equipment and storage medium
CN115167896A (en) Method and device for updating software version, storage medium and electronic equipment
CN114511314A (en) Payment account management method and device, computer equipment and storage medium
CN112631719A (en) Data prediction model calling method, device, equipment and storage medium
CN111666754A (en) Entity identification method and system based on electronic disease text and computer equipment
CN115238805B (en) Training method of abnormal data recognition model and related equipment
CN116611903B (en) Big data processing method based on digital financial service, server and storage medium
US20030236765A1 (en) Determining a characteristic function from a matrix with enrichment and compression

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